@rosthq/cli 0.7.98 → 0.7.99

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 CHANGED
@@ -43382,6 +43382,49 @@ var agentStatusOutputSchema = external_exports.object({
43382
43382
  runner_available: external_exports.boolean()
43383
43383
  }).strict();
43384
43384
  var agentListFleetInputSchema = external_exports.object({}).strict();
43385
+ var agentLivenessStateSchema = external_exports.enum([
43386
+ "working",
43387
+ "idle_waiting",
43388
+ "resource_starved",
43389
+ "unresponsive",
43390
+ "failed_to_start",
43391
+ "alive_but_silent"
43392
+ ]);
43393
+ var hostResourcePressureSchema = external_exports.enum(["ok", "elevated", "critical"]);
43394
+ var agentLivenessSchema = external_exports.object({
43395
+ state: agentLivenessStateSchema,
43396
+ reasons: external_exports.array(external_exports.string()),
43397
+ resource_pressure: hostResourcePressureSchema.nullable()
43398
+ }).strict();
43399
+ var fleetHostResourceSchema = external_exports.object({
43400
+ reporting: external_exports.boolean(),
43401
+ observed_at: isoDateTime4.nullable(),
43402
+ load_avg_1m: external_exports.number().nullable(),
43403
+ cpu_count: external_exports.number().int().nullable(),
43404
+ memory_total_mb: external_exports.number().nullable(),
43405
+ memory_available_mb: external_exports.number().nullable(),
43406
+ swap_used_mb: external_exports.number().nullable(),
43407
+ swap_total_mb: external_exports.number().nullable(),
43408
+ pressure: hostResourcePressureSchema.nullable()
43409
+ }).strict();
43410
+ var fleetWorkEvidenceSchema = external_exports.object({
43411
+ status: external_exports.enum(["fresh", "stale", "missing", "queued", "blocked"]),
43412
+ label: external_exports.string(),
43413
+ detail: external_exports.string(),
43414
+ href: external_exports.string().nullable(),
43415
+ run_id: uuidSchema14.nullable(),
43416
+ linkable_run: external_exports.boolean(),
43417
+ can_run_now: external_exports.boolean()
43418
+ }).strict();
43419
+ var workProgressStateSchema = external_exports.enum(["not_started", "in_progress", "handed_off", "done", "failed"]);
43420
+ var fleetWorkProgressSchema = external_exports.object({
43421
+ state: workProgressStateSchema,
43422
+ reasons: external_exports.array(external_exports.string()),
43423
+ claimed_state: workProgressStateSchema.nullable(),
43424
+ claim_mismatch: external_exports.boolean(),
43425
+ last_activity_at: isoDateTime4.nullable(),
43426
+ last_durable_activity_at: isoDateTime4.nullable()
43427
+ }).strict();
43385
43428
  var fleetOverviewRowSchema = external_exports.object({
43386
43429
  seat_id: uuidSchema14,
43387
43430
  seat_name: external_exports.string(),
@@ -43394,7 +43437,18 @@ var fleetOverviewRowSchema = external_exports.object({
43394
43437
  turns_7d: external_exports.number().int().nonnegative(),
43395
43438
  top_measurable_status: external_exports.enum(["on", "off", "pending", "none"]),
43396
43439
  open_escalations: external_exports.number().int().nonnegative(),
43397
- spend_usd: external_exports.string()
43440
+ spend_usd: external_exports.string(),
43441
+ // DER-1905: "idle" added — cadence-aware grading now distinguishes an
43442
+ // on-demand agent with nothing pending (idle, neutral) from a scheduled
43443
+ // agent that missed its cron (stale, alarming).
43444
+ health_status: external_exports.enum(["needs_review", "stale", "idle", "setup_gap", "awaiting_data", "awaiting_data_overdue", "healthy"]),
43445
+ health_reasons: external_exports.array(external_exports.string()),
43446
+ work_evidence: fleetWorkEvidenceSchema,
43447
+ liveness: agentLivenessSchema,
43448
+ // runner-lane host-resource meter; null for cloud/mcp_session lanes.
43449
+ host_resource: fleetHostResourceSchema.nullable(),
43450
+ work_progress: fleetWorkProgressSchema,
43451
+ work_progress_conflict: external_exports.boolean()
43398
43452
  }).strict();
43399
43453
  var agentListFleetOutputSchema = external_exports.object({
43400
43454
  agents: external_exports.array(fleetOverviewRowSchema)
@@ -43452,12 +43506,8 @@ var fleetDigestAgentSchema = fleetOverviewRowSchema.extend({
43452
43506
  spend_7d_usd: external_exports.string(),
43453
43507
  spend_30d_usd: external_exports.string(),
43454
43508
  cost_drift_percent: external_exports.number().int().nullable(),
43455
- // DER-1905: "idle" added cadence-aware grading now distinguishes an
43456
- // on-demand agent with nothing pending (idle, neutral) from a scheduled
43457
- // agent that missed its cron (stale, alarming). Purely additive to this
43458
- // enum; no other field on this schema changed.
43459
- health_status: external_exports.enum(["needs_review", "stale", "idle", "setup_gap", "awaiting_data", "awaiting_data_overdue", "healthy"]),
43460
- health_reasons: external_exports.array(external_exports.string()),
43509
+ // DER-1895: health_status/health_reasons now live on the base
43510
+ // fleetOverviewRowSchema above (purely additive there too) not redefined here.
43461
43511
  recent_failed_runs: external_exports.array(fleetDigestRunSchema),
43462
43512
  unresolved_errors: external_exports.array(fleetDigestErrorSchema),
43463
43513
  notification_errors: external_exports.array(fleetDigestNotificationErrorSchema),
@@ -43586,7 +43636,6 @@ var agentWatchRunInputSchema = external_exports.object({
43586
43636
  seat_id: uuidSchema14,
43587
43637
  run_id: uuidSchema14
43588
43638
  }).strict();
43589
- var workProgressStateSchema = external_exports.enum(["not_started", "in_progress", "handed_off", "done", "failed"]);
43590
43639
  var runWatchCurrentStateSchema = external_exports.object({
43591
43640
  state: workProgressStateSchema,
43592
43641
  reasons: external_exports.array(external_exports.string()),
@@ -48472,7 +48521,7 @@ External connectors are being rolled out provider by provider, conservatively (r
48472
48521
  order: 48,
48473
48522
  title: "CLI and MCP installation guide",
48474
48523
  summary: "Install the public CLI, register remote token-backed MCP clients, and find the full command and tool catalog.",
48475
- version: "2026-07-17.2",
48524
+ version: "2026-07-18.1",
48476
48525
  public: true,
48477
48526
  audiences: ["human", "cli", "mcp", "in_app_agent"],
48478
48527
  stages: ["company_setup", "staffing"],
@@ -49076,7 +49125,7 @@ Several rows here are seat-operating commands (\`task.create\`, the \`signal.*\`
49076
49125
  | \`rost_get_current_compass\` | \`compass.get_current\` | Read the active and draft Compass versions and source documents. | Tenant | Call with \`{}\`. |
49077
49126
  | \`rost_list_compass_gaps\` | \`compass.list_gaps\` | List unanswered and answered Compass context gaps. | Tenant | Call with \`{}\` before answering gaps. |
49078
49127
  | \`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>"}\`. |
49079
- | \`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. |
49128
+ | \`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, plus the liveness/health/work-progress axes the web fleet page renders (liveness state, health status, work evidence, host-resource pressure). | Tenant | Call with \`{}\`; counts use the same seat-run association as \`agent.list_runs\`, with sandbox dry runs excluded from real turns. |
49080
49129
  | \`rost_get_dogfood_fleet_health_digest\` | \`agent.fleet_digest\` | Capture the daily dogfood fleet-health digest: live/idle state, 24h/7d turns, spend, recent failed runs, unresolved errors, failed notifications, and next actions. | Tenant | Call with \`{}\`; optional \`window_hours\` bounds recent failed-run evidence, while \`error_limit\` caps linked evidence per seat. |
49081
49130
  | \`rost_system_health\` | \`system.health\` | Read the scoped system-health snapshot across agent runs, unresolved errors, Signals, Cascade setup, work loop, integrations, runners, notifications, and Sync Brief readiness. | Tenant, member, or seat token | Call with \`{}\`; optional \`seat_id\` narrows inside the caller's server-derived scope. |
49082
49131
  | \`rost_get_run_heartbeats\` | \`agent.run_heartbeats\` | Read the per-seat run-heartbeat roll-up (quiet-but-healthy vs stalled) for long-running agent programs. | Tenant | Call with \`{}\`; optional \`seat_ids\` narrows to specific seats. |
@@ -52533,7 +52582,7 @@ var COMMAND_MANIFEST = [
52533
52582
  { "id": "agent.get_run", "namespace": "agent", "action": "get_run", "title": "Get agent run diagnostics", "description": "Return one seat run's diagnostic record: run status, transcript reference, token/cost usage, outcome, and linked product-visible run errors.", "requiredScope": "seat", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "run_id", "flag": "run-id", "type": "string", "required": true }, { "name": "transcript", "flag": "transcript", "type": "boolean", "required": false }], "hasComplexInput": false, "help": "Read one run's diagnostic record, transcript reference, token/cost usage, outcome, and linked product-visible errors." },
52534
52583
  { "id": "agent.go_live", "namespace": "agent", "action": "go_live", "title": "Go live", "description": "Promote a dry-run agent seat to live after the human approval gate.", "requiredScope": "seat", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "charter_version_id", "flag": "charter-version-id", "type": "string", "required": true }], "hasComplexInput": false, "help": "Move an agent live only after dry-run evidence, signed permissions, and a human Steward chain are clear.", "example": { "seat_id": "0190aaaa-aaaa-7aaa-8aaa-aaaaaaaaaaaa", "charter_version_id": "0190cccc-cccc-7ccc-8ccc-cccccccccccc" } },
52535
52584
  { "id": "agent.import_definition", "namespace": "agent", "action": "import_definition", "title": "Import agent definition", "description": "Import a versioned ROST agent definition into a canonical draft Seat and setup state without credentials, placement identifiers, or go-live side effects.", "requiredScope": "tenant", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "definition_json", "flag": "definition-json", "type": "string", "required": true }, { "name": "idempotency_key", "flag": "idempotency-key", "type": "string", "required": false }], "hasComplexInput": false, "help": "Import a strict, versioned ROST agent definition into a canonical draft Seat/setup. The file cannot carry credentials or tenant-local placement ids; tools remain proposal-only until reviewed through setup." },
52536
- { "id": "agent.list_fleet", "namespace": "agent", "action": "list_fleet", "title": "List agent fleet", "description": "Return every agent-occupied seat with lane, live state, last real turn, recent turn counts, top measurable status, open escalations, and 7-day real-run spend.", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [], "hasComplexInput": false, "help": "Read every agent-occupied seat at once: lane, live state, last real turn, 24h/7d turns, measurable status, escalations, and spend." },
52585
+ { "id": "agent.list_fleet", "namespace": "agent", "action": "list_fleet", "title": "List agent fleet", "description": "Return every agent-occupied seat with lane, live state, last real turn, recent turn counts, top measurable status, open escalations, 7-day real-run spend, and the honest liveness/health/work-progress axes the web fleet page renders (liveness, health status, work evidence, work progress, host-resource pressure).", "requiredScope": "tenant", "confirmation": "none", "exposeOverMcp": true, "fields": [], "hasComplexInput": false, "help": "Read every agent-occupied seat at once: lane, live state, last real turn, 24h/7d turns, measurable status, escalations, and spend." },
52537
52586
  { "id": "agent.list_runs", "namespace": "agent", "action": "list_runs", "title": "List agent runs", "description": "Return a seat's agent run history (status, lane, model, cost, per-run tool-call, guard-denied, and guard-held counts) plus the seat's run/tool-call rollup with held-action count.", "requiredScope": "seat", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "limit", "flag": "limit", "type": "integer", "required": false }], "hasComplexInput": false, "help": "Audit a seat's agent run history with per-run tool-call, guard-denied, and guard-held counts (the Trust Card)." },
52538
52587
  { "id": "agent.list_tool_calls", "namespace": "agent", "action": "list_tool_calls", "title": "List agent tool calls", "description": "Return a seat's tool-call ledger (tool name, guard result, manifest clause, outcome) with the held-action count as the hero metric. Pass held_only to return only guard-held calls. Never returns argument summaries or secret material.", "requiredScope": "seat", "confirmation": "none", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "limit", "flag": "limit", "type": "integer", "required": false }, { "name": "held_only", "flag": "held-only", "type": "boolean", "required": false }], "hasComplexInput": false, "help": "Audit a seat's tool-call ledger with each call's guard result; held actions are the hero metric." },
52539
52588
  { "id": "agent.pause", "namespace": "agent", "action": "pause", "title": "Pause agent", "description": "Pause a live agent so it stops scheduled and on-demand runs. Reversible with agent.resume.", "requiredScope": "tenant", "confirmation": "human_required", "exposeOverMcp": true, "fields": [{ "name": "seat_id", "flag": "seat-id", "type": "string", "required": true }, { "name": "reason", "flag": "reason", "type": "string", "required": false }], "hasComplexInput": false, "help": "Pause a live agent so it stops scheduled and on-demand runs; queued work orders are expired and a paused agent refuses to run until resumed. Reversible, unlike agent.decommission." },