@rosthq/cli 0.5.9 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +77 -22
- package/dist/index.js.map +2 -2
- package/dist/operations.d.ts +5 -1
- package/dist/operations.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42084,7 +42084,7 @@ Decisions should be recorded as human decisions. Handoffs should attach to seats
|
|
|
42084
42084
|
order: 45,
|
|
42085
42085
|
title: "How agents work",
|
|
42086
42086
|
summary: "How {{brand}} agents operate inside seats, use Charters, report work, and escalate beyond authority.",
|
|
42087
|
-
version: "2026-06-
|
|
42087
|
+
version: "2026-06-20.1",
|
|
42088
42088
|
public: true,
|
|
42089
42089
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
42090
42090
|
stages: ["staffing", "operating_rhythm"],
|
|
@@ -42173,14 +42173,14 @@ Before an agent goes live, the sandbox dry run rehearses this against fake data
|
|
|
42173
42173
|
|
|
42174
42174
|
## What humans should review
|
|
42175
42175
|
|
|
42176
|
-
Review the first dry runs, fleet overview, tool-call audit rows, escalations, and Signal impact. The fleet view at \`/agents\` shows every staffed agent seat at a glance; the agent-native equivalent is \`{{cli}} command agent.list_fleet --json '{}'\` / \`rost_list_agent_fleet\`, which returns lane, live state, last real turn, 24h/7d real turns, top measurable status, open escalations, and 7-day spend. Scheduled agents are checked in rounded five-minute buckets, so a minute-level cron inside the bucket queues one work order for that bucket rather than one order per minute. Sandbox dry runs do not count as real turns. If the agent is repeatedly blocked, revise the Charter or split the seat. If the agent is taking too much judgment, narrow its autonomous scope.`
|
|
42176
|
+
Review the first dry runs, fleet overview, tool-call audit rows, escalations, and Signal impact. The fleet view at \`/agents\` shows every staffed agent seat at a glance; the agent-native equivalent is \`{{cli}} command agent.list_fleet --json '{}'\` / \`rost_list_agent_fleet\`, which returns lane, live state, last real turn, 24h/7d real turns, top measurable status, open escalations, and 7-day spend. Fleet real-turn counts use the same seat-run association as \`agent.list_runs\`, filtered to real runs. Scheduled agents are checked in rounded five-minute buckets, so a minute-level cron inside the bucket queues one work order for that bucket rather than one order per minute. Sandbox dry runs do not count as real turns. If the agent is repeatedly blocked, revise the Charter or split the seat. If the agent is taking too much judgment, narrow its autonomous scope.`
|
|
42177
42177
|
},
|
|
42178
42178
|
{
|
|
42179
42179
|
slug: "tool-access-and-vault",
|
|
42180
42180
|
order: 46,
|
|
42181
42181
|
title: "Tool access and vault",
|
|
42182
42182
|
summary: "How to give agents access to tools without exposing raw credentials or expanding authority by accident.",
|
|
42183
|
-
version: "2026-06-
|
|
42183
|
+
version: "2026-06-20.2",
|
|
42184
42184
|
public: true,
|
|
42185
42185
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
42186
42186
|
stages: ["staffing"],
|
|
@@ -42222,7 +42222,11 @@ Connecting a tool is a human-controlled step. The agent can recommend a tool, ex
|
|
|
42222
42222
|
|
|
42223
42223
|
## Generic REST connector
|
|
42224
42224
|
|
|
42225
|
-
For an API with no dedicated connector, the generic REST tool lets a seat call an HTTP endpoint with a credential you paste through the vault \u2014 no {{brand}}-owned app. It is escalate-by-default: the agent may only call a host a steward has signed onto the allowlist; any other host is refused and escalated, with no request made. The connector sets the Authorization header from the vaulted credential itself \u2014 the agent never sees the token, and the secret is redacted from the response before it reaches the agent, the audit row, or the logs. The token is only ever sent over HTTPS, only to the signed host, and a redirect is never followed \u2014 so an allowlisted endpoint cannot bounce the call (and the token) to another host. A sandbox dry run of a REST tool makes no real request.
|
|
42225
|
+
For an API with no dedicated connector, the generic REST tool lets a seat call an HTTP endpoint with a credential you paste through the vault \u2014 no {{brand}}-owned app. It is escalate-by-default: the agent may only call a host, method, and explicit path prefix a steward has signed onto the allowlist; any other host, method, or path is refused and escalated, with no request made. A path prefix of \`/\` means the steward intentionally approved every path. The connector sets the Authorization header from the vaulted credential itself \u2014 the agent never sees the token, and the secret is redacted from the response before it reaches the agent, the audit row, or the logs. The token is only ever sent over HTTPS, only to the signed host and scoped path, and a redirect is never followed \u2014 so an allowlisted endpoint cannot bounce the call (and the token) to another host. A sandbox dry run of a REST tool makes no real request.
|
|
42226
|
+
|
|
42227
|
+
## Slack post connector
|
|
42228
|
+
|
|
42229
|
+
\`slack.post_message\` reuses the connected Slack workspace credential and the seat's Slack channel binding. A live call posts only to that bound channel, through the server-side guard and vault-bound bot token. If the bound channel is marked sensitive, the handler escalates for human approval instead of posting. A sandbox dry run makes no Slack request and does not open the vault.
|
|
42226
42230
|
|
|
42227
42231
|
## One write-only credential flow across every surface
|
|
42228
42232
|
|
|
@@ -42252,7 +42256,7 @@ There is exactly one way to give a connected tool its credential, and it is the
|
|
|
42252
42256
|
order: 47,
|
|
42253
42257
|
title: "Available tools guide",
|
|
42254
42258
|
summary: "How to think about tool categories available to seats and what each category should be used for.",
|
|
42255
|
-
version: "2026-06-
|
|
42259
|
+
version: "2026-06-20.2",
|
|
42256
42260
|
public: true,
|
|
42257
42261
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
42258
42262
|
stages: ["staffing"],
|
|
@@ -42294,14 +42298,14 @@ Agents should explain the job, the required tool category, the minimum permissio
|
|
|
42294
42298
|
|
|
42295
42299
|
Every tool call passes the server-side guard first: the guard checks the call against the seat's signed permission manifest and records a tool-call audit row for **every** call \u2014 allowed, denied, or escalated. Tool selection is never authorization. Only an allowed call reaches its handler. A connected credential is bound into the handler for the duration of the call only; the secret never appears in the result, the audit summary, logs, or the model's context.
|
|
42296
42300
|
|
|
42297
|
-
External connectors
|
|
42301
|
+
External connectors are being rolled out provider by provider, conservatively (read and draft before send; write behind approval). A selected tool is only a permission until a live handler exists and the seat has the required credential or binding. Today the built-in execution path supports internal status reporting, the generic REST connector when a signed host/method/path allowlist and credential exist, and \`slack.post_message\` for a bound Slack channel. Other provider entries remain configuration-only until their connector ships, so nothing runs silently.`
|
|
42298
42302
|
},
|
|
42299
42303
|
{
|
|
42300
42304
|
slug: "mcp-and-cli-guide",
|
|
42301
42305
|
order: 48,
|
|
42302
42306
|
title: "CLI and MCP installation guide",
|
|
42303
42307
|
summary: "Install the public CLI, register remote token-backed MCP clients, and find the full command and tool catalog.",
|
|
42304
|
-
version: "2026-06-
|
|
42308
|
+
version: "2026-06-20.3",
|
|
42305
42309
|
public: true,
|
|
42306
42310
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
42307
42311
|
stages: ["company_setup", "staffing"],
|
|
@@ -42716,7 +42720,8 @@ These ergonomic wrappers (including the \`{{cli}} agent\` group) require **{{cli
|
|
|
42716
42720
|
| \`{{cli}} settings get|update\` | \`settings.get\`, \`settings.update\` | Read tenant settings; update budget caps. | Tenant | \`{{cli}} settings get --json\` |
|
|
42717
42721
|
| \`{{cli}} member invite|update|remove\` | \`member.invite\`, \`member.update\`, \`member.remove\` | Manage tenant members. | Tenant | \`{{cli}} member invite --email ops@example.com --role member\` |
|
|
42718
42722
|
| \`{{cli}} agent templates|create|setup|tools|dry-run|go-live|status|run-now|get-run|show\` | \`agent_template.list\`, \`agent.create_from_template\`, \`agent.create_custom\`, \`agent_setup.get\`, \`agent_setup.update\`, \`agent.configure_tools\`, \`agent.run_dry_run\`, \`agent.go_live\`, \`agent.status\`, \`agent.run_now\`, \`agent.get_run\`, \`agent.show_markdown\` | Run the full agent setup and operation flow: list templates, create a draft from a template or guided custom answers (with \`--model\` and \`--effort\`), read or answer setup state, connect or decline tools, dry-run, go live, run on demand, read one run's transcript/error diagnostics, and show a markdown readout. Create and go-live stop at human gates; the dry-run is ungated by human approval but requires a signed manifest first. | Tenant and seat | \`{{cli}} agent get-run --seat-id <seat-id> --run-id <run-id> --json\` |
|
|
42719
|
-
| \`{{cli}} tools list\` | \`tool.catalog\` | List the discoverable tool catalog the builder reads (id, scope tiers, credential requirement, access policy
|
|
42723
|
+
| \`{{cli}} tools list\` | \`tool.catalog\` | List the discoverable tool catalog the builder reads (id, scope tiers, credential requirement, access policy, and execution-boundary guidance). | Tenant | \`{{cli}} tools list --json\` |
|
|
42724
|
+
| \`{{cli}} model list\` | \`model.catalog\` | List guided model tiers with recommendations, token prices, cost bands, best-fit work, and model ids for \`--model\`. | Tenant | \`{{cli}} model list --json\` |
|
|
42720
42725
|
| \`{{cli}} compass show\` | \`compass.show_markdown\` | Render the current Compass as a clean markdown card for review. | Tenant | \`{{cli}} compass show --markdown\` |
|
|
42721
42726
|
| \`{{cli}} charter show\` | \`charter.show_markdown\` | Render a seat's Charter as a clean markdown card for review. | Tenant | \`{{cli}} charter show --seat-id <id> --markdown\` |
|
|
42722
42727
|
|
|
@@ -42738,8 +42743,9 @@ These ergonomic wrappers (including the \`{{cli}} agent\` group) require **{{cli
|
|
|
42738
42743
|
This catalog is the canonical machine surface \u2014 the \`rost_*\` tools your MCP client calls. Three different things are called "tools" in {{brand}}; do not confuse them:
|
|
42739
42744
|
|
|
42740
42745
|
1. **The MCP tools below** \u2014 the \`rost_*\` surface your client actually calls to read and act.
|
|
42741
|
-
2. **\`{{cli}} tools list\` / \`tool.catalog\`** (MCP \`rost_list_tool_catalog\`) \u2014 the agent-configuration catalog the builder reads when staffing an agent. It is selectable per agent
|
|
42742
|
-
3.
|
|
42746
|
+
2. **\`{{cli}} tools list\` / \`tool.catalog\`** (MCP \`rost_list_tool_catalog\`) \u2014 the agent-configuration catalog the builder reads when staffing an agent. It is selectable per agent, but selecting a tool is not itself a call; live handlers execute later only behind the signed manifest, guard, credentials, and bindings.
|
|
42747
|
+
3. **\`{{cli}} model list\` / \`model.catalog\`** (MCP \`rost_list_model_catalog\`) \u2014 the guided model-tier catalog the builder reads for recommendations, effort, token prices, cost bands, and model id selection.
|
|
42748
|
+
4. **The "Available tools guide"** (in the sidebar) \u2014 covers tool *categories* and governance, not a callable surface. See the available-tools-guide.
|
|
42743
42749
|
|
|
42744
42750
|
Sections below: Command discovery (2) \xB7 Public reference (3) \xB7 Tenant-admin tools (grouped by domain) \xB7 Seat-scoped operating tools (9) \xB7 MCP operation resources (9).
|
|
42745
42751
|
|
|
@@ -42812,7 +42818,7 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
|
|
|
42812
42818
|
| \`rost_get_current_compass\` | \`compass.get_current\` | Read the active and draft Compass versions and source documents. | Tenant | Call with \`{}\`. |
|
|
42813
42819
|
| \`rost_list_compass_gaps\` | \`compass.list_gaps\` | List unanswered and answered Compass context gaps. | Tenant | Call with \`{}\` before answering gaps. |
|
|
42814
42820
|
| \`rost_get_agent_status\` | \`agent.status\` | Read agent lane, live state, steward chain, dry-run result, Runner availability. | Seat or tenant-admin | Call with \`{"seat_id":"<seat-id>"}\`. |
|
|
42815
|
-
| \`rost_list_agent_fleet\` | \`agent.list_fleet\` | Read every staffed agent seat at once: lane, live state, last real turn, 24h/7d real turns, measurable status, escalations, and 7-day spend. | Tenant | Call with \`{}\`; sandbox dry runs
|
|
42821
|
+
| \`rost_list_agent_fleet\` | \`agent.list_fleet\` | Read every staffed agent seat at once: lane, live state, last real turn, 24h/7d real turns, measurable status, escalations, and 7-day spend. | Tenant | Call with \`{}\`; counts use the same seat-run association as \`agent.list_runs\`, with sandbox dry runs excluded from real turns. |
|
|
42816
42822
|
| \`rost_run_agent_now\` | \`agent.run_now\` | Queue an immediate run for a live staffed agent without changing its saved schedule; cloud lane dispatches to the executor and runner lane queues for the paired runner. | Tenant | Call with \`{"seat_id":"<seat-id>"}\`. |
|
|
42817
42823
|
| \`rost_list_agent_runs\` | \`agent.list_runs\` | Read a seat's agent run history (status, lane, model, cost, per-run tool-call and guard-held counts) plus the seat's run/tool-call rollup including held-action count. | Seat or tenant-admin | Call with \`{"seat_id":"<seat-id>"}\`; pass \`limit\` for a deeper window. |
|
|
42818
42824
|
| \`rost_get_agent_run_diagnostics\` | \`agent.get_run\` | Read one run's diagnostic record: transcript reference, token/cost usage, outcome, and linked product-visible run errors. | Seat or tenant-admin | Call with \`{"seat_id":"<seat-id>","run_id":"<run-id>"}\`. |
|
|
@@ -42874,7 +42880,8 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
|
|
|
42874
42880
|
| \`rost_show_compass_as_markdown\` | \`compass.show_markdown\` | Render the current Compass and its open gaps as a clean markdown card for review. | Tenant | Call with \`{}\`. |
|
|
42875
42881
|
| \`rost_show_charter_as_markdown\` | \`charter.show_markdown\` | Render a seat's active or latest Charter as a clean markdown card for review. | Tenant | Call with \`{"seat_id":"<seat-id>"}\`. |
|
|
42876
42882
|
| \`rost_show_agent_setup_as_markdown\` | \`agent.show_markdown\` | Render a seat's agent setup, model, steward, tools, and Charter as a clean markdown card for review. | Tenant | Call with \`{"seat_id":"<seat-id>"}\`. |
|
|
42877
|
-
| \`rost_list_tool_catalog\` | \`tool.catalog\` | List the discoverable tool catalog the agent builder reads \u2014 id, prescriptive description, scope tiers, credential requirement, access policy
|
|
42883
|
+
| \`rost_list_tool_catalog\` | \`tool.catalog\` | List the discoverable tool catalog the agent builder reads \u2014 id, prescriptive description, scope tiers, credential requirement, access policy, and execution-boundary guidance. | Tenant | Call with \`{}\` or \`{"provider":"google"}\`. |
|
|
42884
|
+
| \`rost_list_model_catalog\` | \`model.catalog\` | List guided model tiers \u2014 recommendations, token prices, cost bands, best-fit work, and model ids for \`--model\`. | Tenant | Call with \`{}\`. |
|
|
42878
42885
|
|
|
42879
42886
|
### Seat-scoped operating tools
|
|
42880
42887
|
|
|
@@ -42932,7 +42939,7 @@ These rows are quick, at-a-glance triage. For deeper auth, tenant, scope, confir
|
|
|
42932
42939
|
order: 49,
|
|
42933
42940
|
title: "Agent reference map",
|
|
42934
42941
|
summary: "Where CLI sessions, MCP clients, and in-app agents should retrieve {{brand}} guidance before recommending setup changes.",
|
|
42935
|
-
version: "2026-06-
|
|
42942
|
+
version: "2026-06-20.2",
|
|
42936
42943
|
public: true,
|
|
42937
42944
|
audiences: ["cli", "mcp", "in_app_agent"],
|
|
42938
42945
|
stages: ["company_setup", "graph_design", "charter_design", "staffing", "operating_rhythm"],
|
|
@@ -42982,7 +42989,8 @@ Never guess a command's JSON shape. Before calling a command that changes state,
|
|
|
42982
42989
|
|
|
42983
42990
|
- List every callable command: {{cli}} command list (CLI) or rost_list_commands (MCP)
|
|
42984
42991
|
- Read one command's exact input/output schema, help pointer, and a worked example: {{cli}} command schema <id> (CLI) or rost_describe_command with {"command_id":"<id>"} (MCP)
|
|
42985
|
-
- List the tool catalog the agent builder reads (id, scope tiers, credential requirement, access policy
|
|
42992
|
+
- List the tool catalog the agent builder reads (id, scope tiers, credential requirement, access policy, and execution-boundary guidance): {{cli}} tools list (CLI) or rost_list_tool_catalog (MCP)
|
|
42993
|
+
- List guided model tiers before choosing --model (recommended default, effort, token prices, cost bands, best-fit work, model id): {{cli}} model list (CLI) or rost_list_model_catalog (MCP)
|
|
42986
42994
|
- Show a Compass, Charter, or agent setup as a markdown card to review with your human: {{cli}} compass show --markdown, {{cli}} charter show --seat-id <id> --markdown, {{cli}} agent show --seat-id <id> --markdown
|
|
42987
42995
|
|
|
42988
42996
|
When a command fails, the error returns a machine-readable code, a message, and a help field naming the exact command to run next. Read the help field and run the command it points at \u2014 do not retry the same call blindly. A failed precondition (for example a manifest not yet signed, a dry run that has not passed, or the inference budget hard cap reached) returns COMMAND_PRECONDITION_FAILED with a help pointer, not an opaque internal error.
|
|
@@ -43025,7 +43033,7 @@ Read the listed guide before recommending or running each workflow. Every workfl
|
|
|
43025
43033
|
- Add an agent through the app (graph or sidebar, visual journey): add-agents-guide.
|
|
43026
43034
|
- Create an agent from a template: stock-agents-guide, then how-agents-work.
|
|
43027
43035
|
- Create a custom agent (operational answers, Charter Builder, configure tools, dry run, go live): custom-agents-guide, then agent-staffing-playbook and tool-access-and-vault.
|
|
43028
|
-
- Build a controlled agent worker directly on the CLI/MCP path (seat, steward, job, boundaries, tools, credentials, model, schedule, dry-run, go-live): agent-builder-guide \u2014 it shows the full setup sequence, the structured model config, the access tiers,
|
|
43036
|
+
- Build a controlled agent worker directly on the CLI/MCP path (seat, steward, job, boundaries, tools, credentials, model, schedule, dry-run, go-live): agent-builder-guide \u2014 it shows the full setup sequence, the structured model config, the model catalog (model.catalog), the access tiers, how to discover tools (tool.catalog), which connector entries have live execution boundaries, and how to show your human a markdown readout (agent.show_markdown).
|
|
43029
43037
|
- Connect an existing or local agent to a seat: stock-agents-guide (connect section), then mcp-and-cli-guide and runner-guide.
|
|
43030
43038
|
- Run the operating loop as a seat (context, tasks, status, escalate): how-agents-work.
|
|
43031
43039
|
- Track goals: cascade-guide. Track measurables: signal-guide. File and resolve issues, tasks, escalations: friction-guide.
|
|
@@ -43731,7 +43739,7 @@ Name the failing surface, collect evidence, recommend the smallest correction, a
|
|
|
43731
43739
|
order: 78,
|
|
43732
43740
|
title: "Security model guide",
|
|
43733
43741
|
summary: "How {{brand}} protects tenant data, credentials, tool calls, and human decisions across web, MCP, CLI, and agents.",
|
|
43734
|
-
version: "2026-06-
|
|
43742
|
+
version: "2026-06-20.1",
|
|
43735
43743
|
public: true,
|
|
43736
43744
|
audiences: ["human", "cli", "mcp", "in_app_agent"],
|
|
43737
43745
|
stages: ["company_setup", "staffing", "operating_rhythm"],
|
|
@@ -43762,6 +43770,8 @@ Name the failing surface, collect evidence, recommend the smallest correction, a
|
|
|
43762
43770
|
- Agents recommend and draft; humans approve durable decisions.
|
|
43763
43771
|
- Accepted knowledge changes by supersession, not silent mutation.
|
|
43764
43772
|
|
|
43773
|
+
The public Privacy Policy and Terms of Service are available at \`/privacy\` and \`/terms\` before sign-in and from the authenticated app chrome.
|
|
43774
|
+
|
|
43765
43775
|
## Agent guidance
|
|
43766
43776
|
|
|
43767
43777
|
Never infer permission from the user's wording or a locally available tool. Check the Charter, manifest, and server response. When in doubt, escalate with the evidence and the narrow question a human must decide.`
|
|
@@ -44063,7 +44073,7 @@ This worked document **omits** \`unanswered_boundaries\` and \`seat_type_recomme
|
|
|
44063
44073
|
order: 43,
|
|
44064
44074
|
title: "Agent builder guide",
|
|
44065
44075
|
summary: "The full agent setup sequence on the CLI/MCP path \u2014 seat, steward, job, boundaries, tools, credentials, model, schedule, dry-run, go-live \u2014 with the structured model config and access tiers.",
|
|
44066
|
-
version: "2026-06-
|
|
44076
|
+
version: "2026-06-20.2",
|
|
44067
44077
|
public: true,
|
|
44068
44078
|
audiences: ["cli", "mcp", "in_app_agent"],
|
|
44069
44079
|
stages: ["staffing"],
|
|
@@ -44074,6 +44084,7 @@ This worked document **omits** \`unanswered_boundaries\` and \`seat_type_recomme
|
|
|
44074
44084
|
"agent_setup.update",
|
|
44075
44085
|
"agent.configure_tools",
|
|
44076
44086
|
"tool.catalog",
|
|
44087
|
+
"model.catalog",
|
|
44077
44088
|
"agent.run_dry_run",
|
|
44078
44089
|
"agent.go_live",
|
|
44079
44090
|
"agent.show_markdown",
|
|
@@ -44109,10 +44120,10 @@ Building teams of controlled agent workers is the product's core differentiator.
|
|
|
44109
44120
|
2. **Steward** \u2014 every agent needs a human steward chain (invariant: no orphan agents). Set \`steward_seat_id\` so the chain resolves to a human; without it the occupancy is blocked.
|
|
44110
44121
|
3. **Job** \u2014 what the seat owns. On \`agent.create_custom\` this is the operational answers (what it owns, what success looks like, what it must never do alone); for a strong contract, submit the full Charter directly via \`charter.update_draft\` (see the charter-authoring deep-dive).
|
|
44111
44122
|
4. **Boundaries** \u2014 the Charter's \`decision_authority\` (can-do / must-ask / never / escalate), \`escalation_rules\`, and \`budget\`. Conservative by default: send/spend/irreversible actions are approval-gated or escalated.
|
|
44112
|
-
5. **Tools** \u2014 pick from the discoverable catalog (\`{{cli}} tools list\`); each tool has a default scope tier and access policy. Connect or decline via \`agent.configure_tools\`.
|
|
44123
|
+
5. **Tools** \u2014 pick from the discoverable catalog (\`{{cli}} tools list\`); each tool has a default scope tier and access policy. Connect or decline via \`agent.configure_tools\`. Selecting a tool records permission; live handlers execute later only behind the signed manifest, server guard, required credential or binding, and connector-specific approval boundary.
|
|
44113
44124
|
6. **Credentials** \u2014 a tool that needs access declares a credential-ingress request (provider, scope, secret name). The secret itself flows through the vault-backed ingress command as a vault ref \u2014 never paste a secret into a builder command.
|
|
44114
44125
|
7. **Operating instructions** \u2014 the runtime composes the agent's context from its Charter; you do not write a system prompt.
|
|
44115
|
-
8. **Model** \u2014 select the structured model config (see below).
|
|
44126
|
+
8. **Model** \u2014 select the structured model config (see below). Read \`{{cli}} model list\` / \`model.catalog\` first when you are unsure; it returns the recommended default, effort, token price estimates, cost band, and best-fit work for each tier. If \`agent.create_custom\` omits \`model_config\`, {{brand}} recommends a tier from the supplied responsibility answers.
|
|
44116
44127
|
9. **Heartbeat** \u2014 set the schedule (\`schedule_cron\`) for a recurring agent; a live scheduled agent must keep a steward chain.
|
|
44117
44128
|
10. **Dry-run** \u2014 \`agent.run_dry_run\` rehearses in sandbox after the manifest is signed; it is ungated by human approval but requires a signed manifest.
|
|
44118
44129
|
11. **Go-live** \u2014 \`agent.go_live\` is \`human_required\`. Prepare everything and surface the go-live to a human; never go live on a human's behalf.
|
|
@@ -44129,6 +44140,8 @@ The agent's model is a structured object, not a bare string:
|
|
|
44129
44140
|
- \`model\` is a model id. Pick by the work the seat does \u2014 a triage tier for cheap, high-volume classification; a balanced tier for most seats; a complex tier for judgment-heavy reasoning; the hardest tier for long-horizon agentic work. The builder offers tier shortcuts (\`triage\`, \`balanced\`, \`complex\`, \`hardest\`) that map to a current Claude id, so you never hardcode a stale one.
|
|
44130
44141
|
- \`effort\` (\`low\` \u2192 \`max\`) trades thoroughness for cost/latency. Low for triage; high or xhigh for the hardest agentic seats.
|
|
44131
44142
|
|
|
44143
|
+
Run \`{{cli}} model list\` (MCP \`rost_list_model_catalog\`) before choosing when cost or reasoning depth is unclear. Balanced is the recommended default. Token prices are catalog estimates per million tokens, and cost bands are planning guidance for relative spend; the billing-grade number is still each run's recorded token usage and \`cost_usd\`. Custom agent creation recommends a tier from responsibility answers when \`model_config\` is omitted.
|
|
44144
|
+
|
|
44132
44145
|
On the CLI, \`{{cli}} agent create --custom --seat-id <id> --model balanced --effort medium \u2026\`, or set it later with \`{{cli}} agent setup answer --seat-id <id> --model complex\`. The model cannot change after the agent is live.
|
|
44133
44146
|
|
|
44134
44147
|
## Access tiers
|
|
@@ -45084,7 +45097,7 @@ function markdownLine(output) {
|
|
|
45084
45097
|
const markdown = asRecord(output).markdown;
|
|
45085
45098
|
return typeof markdown === "string" ? markdown : JSON.stringify(output, null, 2);
|
|
45086
45099
|
}
|
|
45087
|
-
var
|
|
45100
|
+
var CLI_MODEL_TIER_MAP = {
|
|
45088
45101
|
triage: { model: "claude-haiku-4-5", effort: "low" },
|
|
45089
45102
|
balanced: { model: "claude-sonnet-4-6", effort: "medium" },
|
|
45090
45103
|
complex: { model: "claude-opus-4-8", effort: "high" },
|
|
@@ -45094,7 +45107,7 @@ function resolveModelConfig(model, effort) {
|
|
|
45094
45107
|
if (model === void 0) {
|
|
45095
45108
|
return void 0;
|
|
45096
45109
|
}
|
|
45097
|
-
const tier =
|
|
45110
|
+
const tier = CLI_MODEL_TIER_MAP[model];
|
|
45098
45111
|
const resolvedModel = tier ? tier.model : model;
|
|
45099
45112
|
const resolvedEffort = effort ?? tier?.effort;
|
|
45100
45113
|
return {
|
|
@@ -45939,7 +45952,45 @@ ${lines.join("\n")}`;
|
|
|
45939
45952
|
}, toolsUsage(context.binName));
|
|
45940
45953
|
function toolsUsage(bin) {
|
|
45941
45954
|
return `Usage: ${bin} tools list [--provider <name>] [--json]
|
|
45942
|
-
${bin} tools list \u2014 the discoverable tool catalog the builder reads
|
|
45955
|
+
${bin} tools list \u2014 the discoverable tool catalog the builder reads; live handlers execute only behind signed manifests, guards, credentials, and bindings.`;
|
|
45956
|
+
}
|
|
45957
|
+
var modelWrapper = (context, args) => dispatch(context, "model", args, {
|
|
45958
|
+
list: (ctx, rest) => {
|
|
45959
|
+
const parsed = parseFlags(rest);
|
|
45960
|
+
return execute(ctx, parsed, "model.catalog", {}, (output) => {
|
|
45961
|
+
const record2 = asRecord(output);
|
|
45962
|
+
const tiers = asArray(record2.tiers);
|
|
45963
|
+
const header = `# Model tiers
|
|
45964
|
+
|
|
45965
|
+
${field(record2, "note")}
|
|
45966
|
+
`;
|
|
45967
|
+
if (tiers.length === 0) {
|
|
45968
|
+
return `${header}
|
|
45969
|
+
No model tiers are configured.`;
|
|
45970
|
+
}
|
|
45971
|
+
const defaultTier = field(record2, "default_tier");
|
|
45972
|
+
const lines = tiers.map((entry) => {
|
|
45973
|
+
const r = asRecord(entry);
|
|
45974
|
+
const tier = field(r, "tier");
|
|
45975
|
+
const recommended = r.recommended === true || tier === defaultTier ? " recommended" : "";
|
|
45976
|
+
const bestFor = asArray(r.best_for).map(String).join(", ");
|
|
45977
|
+
return [
|
|
45978
|
+
`- \`${tier}\` [${field(r, "provider")}/${field(r, "model")} \xB7 effort ${field(r, "effort")} \xB7 cost ${field(r, "cost_band")}${recommended}]`,
|
|
45979
|
+
` ${field(r, "description")}`,
|
|
45980
|
+
` Best for: ${bestFor}`,
|
|
45981
|
+
` Price: $${field(r, "input_usd_per_million_tokens")}/1M input \xB7 $${field(r, "output_usd_per_million_tokens")}/1M output`,
|
|
45982
|
+
` Cost: ${field(r, "cost_note")}`,
|
|
45983
|
+
` Avoid for: ${field(r, "avoid_for")}`
|
|
45984
|
+
].join("\n");
|
|
45985
|
+
});
|
|
45986
|
+
return `${header}
|
|
45987
|
+
${lines.join("\n")}`;
|
|
45988
|
+
});
|
|
45989
|
+
}
|
|
45990
|
+
}, modelUsage(context.binName));
|
|
45991
|
+
function modelUsage(bin) {
|
|
45992
|
+
return `Usage: ${bin} model list [--json]
|
|
45993
|
+
${bin} model list \u2014 guided model tiers with recommendations, token prices, cost bands, and model ids for --model.`;
|
|
45943
45994
|
}
|
|
45944
45995
|
var compassWrapper = (context, args) => dispatch(context, "compass", args, {
|
|
45945
45996
|
show: (ctx, rest) => {
|
|
@@ -45976,6 +46027,7 @@ var OPERATION_GROUPS = [
|
|
|
45976
46027
|
"member",
|
|
45977
46028
|
"agent",
|
|
45978
46029
|
"tools",
|
|
46030
|
+
"model",
|
|
45979
46031
|
"compass",
|
|
45980
46032
|
"charter"
|
|
45981
46033
|
];
|
|
@@ -45993,6 +46045,7 @@ var wrappers = {
|
|
|
45993
46045
|
member: memberWrapper,
|
|
45994
46046
|
agent: agentWrapper,
|
|
45995
46047
|
tools: toolsWrapper,
|
|
46048
|
+
model: modelWrapper,
|
|
45996
46049
|
compass: compassWrapper,
|
|
45997
46050
|
charter: charterWrapper
|
|
45998
46051
|
};
|
|
@@ -46013,6 +46066,7 @@ var groupUsageBuilders = {
|
|
|
46013
46066
|
member: memberUsage,
|
|
46014
46067
|
agent: agentUsage,
|
|
46015
46068
|
tools: toolsUsage,
|
|
46069
|
+
model: modelUsage,
|
|
46016
46070
|
compass: compassUsage,
|
|
46017
46071
|
charter: charterUsage
|
|
46018
46072
|
};
|
|
@@ -46042,6 +46096,7 @@ function operationUsageLines(bin) {
|
|
|
46042
46096
|
`${bin} member invite|update|remove`,
|
|
46043
46097
|
`${bin} agent templates|create|setup|tools|dry-run|go-live|status|run-now|get-run|show`,
|
|
46044
46098
|
`${bin} tools list`,
|
|
46099
|
+
`${bin} model list`,
|
|
46045
46100
|
`${bin} compass show`,
|
|
46046
46101
|
`${bin} charter show`
|
|
46047
46102
|
];
|