Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore: regenerate CLI help golden for serve --access and auth rescope-token

garrytaneab9837b4a50
diff --git a/test/fixtures/goldens/cli/engine-free-db-down.json b/test/fixtures/goldens/cli/engine-free-db-down.json
index b5e9c0dc05..5ff2bc4629 100644
--- a/test/fixtures/goldens/cli/engine-free-db-down.json
+++ b/test/fixtures/goldens/cli/engine-free-db-down.json
@@ -238,7 +238,7 @@
" attach [--harness H] Machine two: adopt a cloned agent workspace.",
" harness [--harness claude-code|codex|opencode|all] [--url U | --port N] [--source ID]",
" [--token-name NAME | --token TOK] [--name MCPNAME] [--project DIR]...",
- " [--no-hooks] [--no-capture] [--force] [--status] [--remove] [--yes] [--json]",
+ " [--no-hooks] [--no-capture] [--force] [--status] [--remove] [--refresh-skills] [--yes] [--json]",
" Wire framework-spawned Claude Code / Codex / opencode",
" sessions to a RUNNING `gbrain serve --http` on this box",
" (#4043): scoped bearer token, user-scope MCP + headless",
@@ -248,6 +248,9 @@
" --source ID: the source the hooks + token bind to",
" (default: sources.default, else the sole populated",
" non-default source, else default).",
+ " --refresh-skills: re-join shared skills under the",
+ " recorded credential so the router adopts the current",
+ " enrollment epoch (no token rotation).",
" (--local is an accepted no-op alias.)",
" cloud-setup-script Print the paste-ready cloud environment setup",
" script (installs the gbrain binary into the",
diff --git a/test/fixtures/goldens/cli/help-and-errors.json b/test/fixtures/goldens/cli/help-and-errors.json
index d1b4e1e786..66407fbcf4 100644
--- a/test/fixtures/goldens/cli/help-and-errors.json
+++ b/test/fixtures/goldens/cli/help-and-errors.json
@@ -187,6 +187,7 @@
" --surface verbs|starter|full Tool surface: the 7 memory verbs, the ~20-op",
" starter set, or every op (default full).",
" On --http this is the per-client CEILING.",
+ " --access read-only|full stdio: list and dispatch only read operations",
" serve --http [--port N] HTTP MCP server with OAuth 2.1",
" --token-ttl N Access token TTL in seconds (default: 3600)",
" --enable-dcr Enable Dynamic Client Registration (DCR clients default to authorization_code)",
@@ -196,7 +197,7 @@
" [--install] [--json] Print the paste-ready command, or --install to run it",
" auth <create|list|revoke|...> Manage legacy tokens + OAuth 2.1 clients",
" auth --help Full subcommand list (register-client,",
- " rescope-client, revoke-client, permissions, test, ...)",
+ " rescope-client, rescope-token, revoke-client, permissions, ...)",
" watch [--json] Push-based context: pipe conversation turns in,",
" volunteered brain pages stream out (#2095)",
" call <tool> '<json>' Raw tool invocation",
@@ -394,6 +395,7 @@
" --surface verbs|starter|full Tool surface: the 7 memory verbs, the ~20-op",
" starter set, or every op (default full).",
" On --http this is the per-client CEILING.",
+ " --access read-only|full stdio: list and dispatch only read operations",
" serve --http [--port N] HTTP MCP server with OAuth 2.1",
" --token-ttl N Access token TTL in seconds (default: 3600)",
" --enable-dcr Enable Dynamic Client Registration (DCR clients default to authorization_code)",
@@ -403,7 +405,7 @@
" [--install] [--json] Print the paste-ready command, or --install to run it",
" auth <create|list|revoke|...> Manage legacy tokens + OAuth 2.1 clients",
" auth --help Full subcommand list (register-client,",
- " rescope-client, revoke-client, permissions, test, ...)",
+ " rescope-client, rescope-token, revoke-client, permissions, ...)",
" watch [--json] Push-based context: pipe conversation turns in,",
" volunteered brain pages stream out (#2095)",
" call <tool> '<json>' Raw tool invocation",
@@ -601,6 +603,7 @@
" --surface verbs|starter|full Tool surface: the 7 memory verbs, the ~20-op",
" starter set, or every op (default full).",
" On --http this is the per-client CEILING.",
+ " --access read-only|full stdio: list and dispatch only read operations",
" serve --http [--port N] HTTP MCP server with OAuth 2.1",
" --token-ttl N Access token TTL in seconds (default: 3600)",
" --enable-dcr Enable Dynamic Client Registration (DCR clients default to authorization_code)",
@@ -610,7 +613,7 @@
" [--install] [--json] Print the paste-ready command, or --install to run it",
" auth <create|list|revoke|...> Manage legacy tokens + OAuth 2.1 clients",
" auth --help Full subcommand list (register-client,",
- " rescope-client, revoke-client, permissions, test, ...)",
+ " rescope-client, rescope-token, revoke-client, permissions, ...)",
" watch [--json] Push-based context: pipe conversation turns in,",
" volunteered brain pages stream out (#2095)",
" call <tool> '<json>' Raw tool invocation",