From 5cfe5e5e730246948b0c9428ad876b6938590aad Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Mon, 13 Jul 2026 03:26:03 +0300 Subject: feat: add configurable sidebar metadata tokens --- docs/next/website/src/content/docs/agents.mdx | 13 +++++--- .../website/src/content/docs/cli-reference.mdx | 13 +++++--- .../website/src/content/docs/configuration.mdx | 23 +++++++++++++ .../next/website/src/content/docs/integrations.mdx | 13 +++----- docs/next/website/src/content/docs/ja/agents.mdx | 13 +++++--- .../website/src/content/docs/ja/cli-reference.mdx | 13 +++++--- .../website/src/content/docs/ja/configuration.mdx | 23 +++++++++++++ .../website/src/content/docs/ja/integrations.mdx | 13 +++----- .../website/src/content/docs/ja/socket-api.mdx | 38 +++++++++++++-------- docs/next/website/src/content/docs/socket-api.mdx | 39 ++++++++++++++-------- .../next/website/src/content/docs/zh-cn/agents.mdx | 13 +++++--- .../src/content/docs/zh-cn/cli-reference.mdx | 13 +++++--- .../src/content/docs/zh-cn/configuration.mdx | 23 +++++++++++++ .../src/content/docs/zh-cn/integrations.mdx | 13 +++----- .../website/src/content/docs/zh-cn/socket-api.mdx | 38 +++++++++++++-------- docs/next/website/src/data/config-reference.json | 18 ++++++++++ 16 files changed, 229 insertions(+), 90 deletions(-) (limited to 'docs/next/website/src') diff --git a/docs/next/website/src/content/docs/agents.mdx b/docs/next/website/src/content/docs/agents.mdx index df7c4be1..b4c3146d 100644 --- a/docs/next/website/src/content/docs/agents.mdx +++ b/docs/next/website/src/content/docs/agents.mdx @@ -114,17 +114,22 @@ Targets accept terminal IDs, unique agent names, detected or reported agent labe ## Custom status labels -Integrations can report a visual status label without changing semantic state. +Integrations report lifecycle state as semantic state only. Add display customization separately with pane metadata tokens. ```bash herdr pane report-agent w1:p1 \ --source custom:indexer \ --agent docs-bot \ - --state working \ - --custom-status indexing + --state working + +herdr pane report-metadata w1:p1 \ + --source custom:indexer-display \ + --token summary=indexing ``` -`state` controls waits, notifications, and rollups. `custom-status` is only display text. +`state` controls waits, notifications, and rollups. The `summary` token is display-only and can be used as `$summary` in an Agent sidebar row. + +Agent sidebar rows can also opt into `terminal_title` or `terminal_title_stripped`; neither appears in the default rows. The first shows the latest safety-normalized OSC 0/2 terminal title. The second removes one recognized leading activity or spinner glyph and following whitespace. Herdr owns these values on the server; they are ephemeral across a cold restart and remain independent of metadata titles and semantic agent state. Spinner animation can therefore update the raw title without producing a pane update when the stripped text stays the same. ## Start agents from the CLI diff --git a/docs/next/website/src/content/docs/cli-reference.mdx b/docs/next/website/src/content/docs/cli-reference.mdx index 81fe4dce..57db7484 100644 --- a/docs/next/website/src/content/docs/cli-reference.mdx +++ b/docs/next/website/src/content/docs/cli-reference.mdx @@ -120,6 +120,7 @@ herdr workspace create [--cwd PATH] [--label TEXT] [--env KEY=VALUE] [--focus] [ herdr workspace get herdr workspace focus herdr workspace rename