Skip to content

The agent that grows with you

fix(setup): list setup_choose in the metrics schema; drop the new contract comment and doc

alt-glitch65d285c0a6d5
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.ts
index fd210af77e8..ededa92e195 100644
--- a/apps/shared/src/gateway-contract.generated.ts
+++ b/apps/shared/src/gateway-contract.generated.ts
@@ -5656,7 +5656,6 @@ export interface ServerRequestMap {
'preview.read': { params: ReadRangeRequestParams; result: ValueResult }
/** Masked value for a named env var (skills / setup flows). */
secret: { params: SecretRequestParams; result: ValueResult }
- /** The setup_choose tool: one question or picker card in the setup chat; options null = the app's own list; a response without picked is a cancel. */
setup_choose: { params: SetupChooseRequestParams; result: SetupChooseResult }
/** Masked sudo password for the terminal tool. */
sudo: { params: SudoRequestParams; result: ValueResult }
diff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.json
index c90d216008d..b534cdedc9a 100644
--- a/apps/shared/src/gateway-contract.openrpc.json
+++ b/apps/shared/src/gateway-contract.openrpc.json
@@ -39208,7 +39208,7 @@
},
{
"name": "setup_choose",
- "summary": "The setup_choose tool: one question or picker card in the setup chat; options null = the app's own list; a response without picked is a cancel.",
+ "summary": "",
"params": [
{
"name": "params",
diff --git a/hermes_cli/observability/schemas/hermes.shared_metrics.v3.schema.json b/hermes_cli/observability/schemas/hermes.shared_metrics.v3.schema.json
index ab1d04383eb..59e3a557027 100644
--- a/hermes_cli/observability/schemas/hermes.shared_metrics.v3.schema.json
+++ b/hermes_cli/observability/schemas/hermes.shared_metrics.v3.schema.json
@@ -4285,6 +4285,7 @@
"read_window_below",
"search_files",
"session_search",
+ "setup_choose",
"show_tip",
"skill_manage",
"skill_view",
diff --git a/tui_gateway/contracts/server_requests.py b/tui_gateway/contracts/server_requests.py
index 5e3c09fbd0e..c7b10936f8f 100644
--- a/tui_gateway/contracts/server_requests.py
+++ b/tui_gateway/contracts/server_requests.py
@@ -54,9 +54,6 @@ server_request("clarify", params=ClarifyRequestParams, result=ClarifyResult,
doc="The clarify tool: ask the user 1-5 questions.")
-# ── setup_choose ──────────────────────────────────────────────────────────────────────────────
-
-
class SetupChooseKind(WireEnum):
question = "question"
accent = "accent"
@@ -91,9 +88,7 @@ class SetupChooseResult(Result):
intent: dict[str, SetupChooseIntent] | None = None
-server_request("setup_choose", params=SetupChooseRequestParams, result=SetupChooseResult,
- doc="The setup_choose tool: one question or picker card in the setup chat; options null = "
- "the app's own list; a response without picked is a cancel.")
+server_request("setup_choose", params=SetupChooseRequestParams, result=SetupChooseResult)
# ── approval ──────────────────────────────────────────────────────────────────────────────────