@rosthq/cli 0.7.34 → 0.7.35

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.
@@ -1 +1 @@
1
- {"version":3,"file":"command-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/command-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,SAAS,oBAAoB,EAoO3D,CAAC"}
1
+ {"version":3,"file":"command-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/command-manifest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,eAAO,MAAM,gBAAgB,EAAE,SAAS,oBAAoB,EAqO3D,CAAC"}
package/dist/index.js CHANGED
@@ -38743,6 +38743,35 @@ var agentResumeOutputSchema = external_exports.object({
38743
38743
  agent_id: uuidSchema2,
38744
38744
  status: external_exports.literal("live")
38745
38745
  }).strict();
38746
+ var agentSetupRelaneInputSchema = external_exports.object({
38747
+ seat_id: uuidSchema2,
38748
+ // The target lane. Must differ from the agent's current lane.
38749
+ lane: agentLaneSchema,
38750
+ // Rationale recorded in the append-only event log (required for governance).
38751
+ reason: external_exports.string().trim().min(1).max(500)
38752
+ }).strict();
38753
+ var agentSetupRelaneOutputSchema = external_exports.object({
38754
+ seat_id: uuidSchema2,
38755
+ agent_id: uuidSchema2,
38756
+ from_lane: agentLaneSchema,
38757
+ to_lane: agentLaneSchema,
38758
+ // `live` when the forced rehearsal passed and the agent returned to live on
38759
+ // the new lane; `rehearsal_failed` when the rehearsal failed and the agent is
38760
+ // left paused on the new lane (safe state — it cannot be woken by the
38761
+ // scheduler or an on-demand run until a human intervenes).
38762
+ status: external_exports.enum(["live", "rehearsal_failed"]),
38763
+ // DER-1317: the new lane's substrate readiness. `ready` = claimable now;
38764
+ // `parked` = a runner-lane target with no paired runner — the agent is admitted
38765
+ // live but cannot claim work until a runner pairs (the claim boundary enforces
38766
+ // this independently). mcp_session without a token is a hard gate and refuses
38767
+ // the whole re-lane instead of returning here.
38768
+ substrate: external_exports.enum(["ready", "parked"]),
38769
+ // Queued/claimed work orders expired by the pause step so none can start once
38770
+ // the agent leaves the old lane.
38771
+ cancelled_work_orders: external_exports.number().int().nonnegative(),
38772
+ // The lane-aware rehearsal transcript recorded on the NEW lane.
38773
+ transcript: dryRunTranscriptSchema
38774
+ }).strict();
38746
38775
  var agentCreateCustomInputSchema = external_exports.object({
38747
38776
  seat_id: uuidSchema2,
38748
38777
  // Optional steward placement supplied during the same operational pass; the
@@ -44600,11 +44629,11 @@ Drafting can be assisted by agents. Activation is a human decision. When authori
44600
44629
  order: 40,
44601
44630
  title: "Agent staffing playbook",
44602
44631
  summary: "How to decide whether a seat should be human, agent, or hybrid, and how to go live safely.",
44603
- version: "2026-06-21.2",
44632
+ version: "2026-07-05.1",
44604
44633
  public: true,
44605
44634
  audiences: ["human", "cli", "mcp", "in_app_agent"],
44606
44635
  stages: ["staffing"],
44607
- relatedCommandIds: ["staffing.assign_user", "staffing.assign_agent_dry_run", "agent.go_live", "agent.status", "agent.run_now", "agent.get_run", "agent.list_runs", "agent.list_tool_calls", "mcp_token.create", "agent_template.list", "agent.create_from_template", "agent_setup.start", "agent_setup.get", "agent_setup.update", "agent.update_schedule", "agent.decommission", "agent.create_custom", "agent.configure_tools", "agent.run_dry_run", "confirmation.approve"],
44636
+ relatedCommandIds: ["staffing.assign_user", "staffing.assign_agent_dry_run", "agent.go_live", "agent.status", "agent.run_now", "agent.get_run", "agent.list_runs", "agent.list_tool_calls", "mcp_token.create", "agent_template.list", "agent.create_from_template", "agent_setup.start", "agent_setup.get", "agent_setup.update", "agent.update_schedule", "agent.pause", "agent.resume", "agent_setup.relane", "agent.decommission", "agent.create_custom", "agent.configure_tools", "agent.run_dry_run", "confirmation.approve"],
44608
44637
  legal: {
44609
44638
  publicRisk: "low",
44610
44639
  notes: [
@@ -44667,9 +44696,13 @@ The fleet page and seat page should make readiness inspectable, not implied. A s
44667
44696
 
44668
44697
  After an agent runs, review its completed work as well as its telemetry. Seat pages combine explicit deliverables, work-log evidence, and successful run summaries into a readable output trail with safe evidence links labelled as internal, Linear, GitHub, or external. Held confirmations and escalations remain visible until decided or expired: confirmations can be approved or rejected from the seat page, while escalations link to the Steward queue for the human decision.
44669
44698
 
44699
+ ## Change an agent's lane after go-live
44700
+
44701
+ The lane a live agent runs on \u2014 cloud (the {{brand}}-managed runtime), a paired runner, or an external MCP session \u2014 is otherwise fixed once it goes live. To move a live agent to a different lane, use \`agent_setup.relane\` (owner-only, human-gated, with a required rationale): it pauses the agent, moves it to the new lane, forces a **fresh** dry-run rehearsal on that lane so lane-specific tool executability is honestly re-surfaced, then brings it back live. It honours the same substrate gate as go-live \u2014 a runner target needs a paired runner \u2014 and if the rehearsal fails it leaves the agent paused on the new lane rather than going live, so a failed re-lane never wakes on a schedule. A draft agent's lane is still set directly with \`agent_setup.update\`.
44702
+
44670
44703
  ## When to stop for confirmation
44671
44704
 
44672
- \`agent.create_from_template\`, \`agent.create_custom\`, \`staffing.assign_user\`, \`agent.go_live\`, \`agent.update_schedule\`, and \`mcp_token.create\` are \`human_required\`; \`agent.configure_tools\` and \`credential.ingress\` are \`credential_flow\` (both gate through the vault-backed credential path with human approval; \`agent.configure_tools\` stages the request and only \`credential.ingress\` takes the raw secret, as a vault reference); \`agent.decommission\` is \`dangerous\`. \`agent.run_now\` is not human-gated because it does not expand authority or change the schedule; it only queues an immediate run for an already-live agent. An agent may draft, configure (with vault refs), dry-run, and request an on-demand run; the human approves go-live, credentials, schedule changes, and decommission. \`run_dry_run\` is ungated by human approval, but it is **precondition-gated**: the seat's permission manifest must be signed first (\`charter.sign_manifest\`). Attempting a dry run before sign-off returns a clean \`COMMAND_PRECONDITION_FAILED\` naming \`charter.sign_manifest\`, not a generic failure. Go-live after a passed dry run is \`human_required\`. See the confirmations guide.
44705
+ \`agent.create_from_template\`, \`agent.create_custom\`, \`staffing.assign_user\`, \`agent.go_live\`, \`agent.update_schedule\`, \`agent_setup.relane\`, and \`mcp_token.create\` are \`human_required\`; \`agent.configure_tools\` and \`credential.ingress\` are \`credential_flow\` (both gate through the vault-backed credential path with human approval; \`agent.configure_tools\` stages the request and only \`credential.ingress\` takes the raw secret, as a vault reference); \`agent.decommission\` is \`dangerous\`. \`agent.run_now\` is not human-gated because it does not expand authority or change the schedule; it only queues an immediate run for an already-live agent. An agent may draft, configure (with vault refs), dry-run, and request an on-demand run; the human approves go-live, credentials, schedule changes, and decommission. \`run_dry_run\` is ungated by human approval, but it is **precondition-gated**: the seat's permission manifest must be signed first (\`charter.sign_manifest\`). Attempting a dry run before sign-off returns a clean \`COMMAND_PRECONDITION_FAILED\` naming \`charter.sign_manifest\`, not a generic failure. Go-live after a passed dry run is \`human_required\`. See the confirmations guide.
44673
44706
 
44674
44707
  ## Non-negotiables
44675
44708
 
@@ -45173,7 +45206,7 @@ External connectors are being rolled out provider by provider, conservatively (r
45173
45206
  order: 48,
45174
45207
  title: "CLI and MCP installation guide",
45175
45208
  summary: "Install the public CLI, register remote token-backed MCP clients, and find the full command and tool catalog.",
45176
- version: "2026-07-05.3",
45209
+ version: "2026-07-05.4",
45177
45210
  public: true,
45178
45211
  audiences: ["human", "cli", "mcp", "in_app_agent"],
45179
45212
  stages: ["company_setup", "staffing"],
@@ -45788,6 +45821,7 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
45788
45821
  | \`rost_decommission_agent\` | \`agent.decommission\` | Retire an agent occupancy safely (no-orphan guarded). | Tenant | Call with \`agent_id\`; expect human confirmation. |
45789
45822
  | \`rost_pause_agent\` | \`agent.pause\` | Pause a live agent so it stops scheduled and on-demand runs; reversible. | Tenant | Call with \`seat_id\`; expect human confirmation. |
45790
45823
  | \`rost_resume_agent\` | \`agent.resume\` | Resume a paused agent back to live (no-orphan guarded). | Tenant | Call with \`seat_id\`; expect human confirmation. |
45824
+ | \`rost_re_lane_a_live_agent\` | \`agent_setup.relane\` | Re-lane a live agent (cloud / runner / mcp_session): pause, move to the new lane, force a fresh dry-run rehearsal on that lane, then go live. Owner-only, human-gated, records a rationale; honours the substrate gate (a runner target needs a paired runner); a failed rehearsal leaves the agent paused on the new lane. | Tenant-admin | Call with \`{"seat_id":"<seat-id>","lane":"runner","reason":"Paired a Mac runner"}\`; expect human confirmation. |
45791
45825
  | \`rost_create_custom_agent\` | \`agent.create_custom\` | Create a draft custom agent shell and draft Charter seed from operational answers. | Tenant | Call with \`seat_id\` and operational answers; expect human confirmation. |
45792
45826
  | \`rost_configure_agent_tools\` | \`agent.configure_tools\` | Connect or decline proposed tools and stage credential-ingress requests (vault refs only). | Seat or tenant-admin | Never send raw secrets; expect a credential confirmation. |
45793
45827
  | \`rost_run_agent_dry_run\` | \`agent.run_dry_run\` | Run the sandbox dry run for a draft agent; durable and idempotent per Charter version. | Seat or tenant-admin | Call after the manifest is signed; ungated by human approval, but precondition-gated on a signed manifest. |
@@ -48960,6 +48994,7 @@ function parseSemver(value) {
48960
48994
  // src/generated/command-manifest.ts
48961
48995
  var COMMAND_MANIFEST = [
48962
48996
  { "id": "agent_setup.get", "namespace": "agent_setup", "action": "get", "title": "Get agent setup", "description": "Read the resumable agent-setup state: mode, parent, steward, template, lane, schedule, tool decisions, dry run, and next action.", "requiredScope": "seat", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": false }, { "name": "setup_id", "flag": "setup-id", "type": "string", "required": false }], "hasComplexInput": false, "help": "Read the resumable setup state: mode, parent, steward, lane, schedule, tool decisions, dry-run blockers, and the next action." },
48997
+ { "id": "agent_setup.relane", "namespace": "agent_setup", "action": "relane", "title": "Re-lane a live agent", "description": "Governed re-lane of a live agent: pause, move to the new lane, force a fresh dry-run rehearsal on that lane, then go live. Owner-only and human-gated; records a rationale.", "requiredScope": "tenant_admin", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "lane", "flag": "lane", "type": "enum", "required": true, "enumValues": ["cloud", "mcp_session", "runner"] }, { "name": "reason", "flag": "reason", "type": "string", "required": true }], "hasComplexInput": false, "help": "Re-lane a live agent (cloud / runner / mcp_session): it pauses, moves to the new lane, forces a fresh dry-run rehearsal on that lane, then goes live \u2014 owner-only, human-gated, with a required rationale. A runner target needs a paired runner; a failed rehearsal leaves the agent paused on the new lane." },
48963
48998
  { "id": "agent_setup.start", "namespace": "agent_setup", "action": "start", "title": "Start agent setup", "description": "Start (or resume) a draft agent setup for a seat in template, custom, or existing mode.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "mode", "flag": "mode", "type": "enum", "required": true, "enumValues": ["template", "custom", "existing"] }, { "name": "template_slug", "flag": "template-slug", "type": "string", "required": false }], "hasComplexInput": false, "help": "Start a draft agent setup from a template, custom, or existing mode; the setup resumes from the draft agent and Charter, not a fresh start." },
48964
48999
  { "id": "agent_setup.update", "namespace": "agent_setup", "action": "update", "title": "Update agent setup", "description": "Update the draft agent's parent, steward, lane, schedule, operational answers, and tool decisions.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "parent_seat_id", "flag": "parent-seat-id", "type": "string", "required": false }, { "name": "steward_seat_id", "flag": "steward-seat-id", "type": "string", "required": false }, { "name": "lane", "flag": "lane", "type": "enum", "required": false, "enumValues": ["cloud", "mcp_session", "runner"] }, { "name": "schedule_cron", "flag": "schedule-cron", "type": "string", "required": false }, { "name": "answers", "flag": "answers", "type": "array", "required": false, "itemType": "string" }], "hasComplexInput": true, "help": "Update parent, steward, lane, schedule, answers, or tool decisions on the draft; steward and parent changes keep the no-orphan chain explicit." },
48965
49000
  { "id": "agent_template.list", "namespace": "agent_template", "action": "list", "title": "List agent templates", "description": "List stock agent templates and their responsibilities, default tools, and dry-run rehearsal.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [], "hasComplexInput": false, "help": "List stock agent templates and their default tools and safety boundaries before starting a template setup." },