@skrr-ai/cli 0.1.233 → 0.1.235

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.
@@ -9907,7 +9907,7 @@
9907
9907
  "type": "boolean"
9908
9908
  },
9909
9909
  "jsonl": {
9910
- "description": "Emit one JSON event per line while streaming. Every line is a complete JSON value. When the accepted Run has a source scope, run.accepted and run.detached include inspection.argv for an exact read. When idempotencyKey is present, use it with the original command in the same scope to reopen its reply. Assistant text arrives as `text.delta`, a real delta: `delta` is the characters it adds, and a rewrite that is not an append arrives as `replace`, the new full text. Fold `text.delta` for live progress. On `text.reset`, clear the previous attempt. On a compatible runtime, `run.result` holds the confirmed final reply. (--cumulative restores the older form, where `text` is the whole streamed text so far; it grows with the square of its length.) Read `session.output` for the raw execution stream. A widget the agent wrote (a block of CSS, HTML and JavaScript the apps draw) is its text description in `text.delta` and `run.result`; the `session.output` lane carries the block itself. Inside a `session.output`, `envelopes[].__seq` is the dedupe key and the ordering key — the same envelope is delivered by more than one room, and a re-delivery repeats its `__seq`. A `stream.gap` event means envelopes in that seq range never arrived and replay from the server could not recover them; a hole replay fills, or one that held only invisible envelopes (`service`, `status`), emits nothing. When the persisted message could be checked, `verified` is true and `missing` names what the stream is short of (`text`, `tool`), and the event arrives just before the terminal event; `verified: false` means it could not be checked and the text MAY be short. `run.result` and the persisted message remain authoritative. Tool calls arrive as `tool.started` / `tool.completed`, once per `toolUseId`, on cloud and local-harness runs alike. A `session.notice` with `notice: \"harness-session-reset\"` means the local harness could not resume its previous session and started a new one. `message` states the cause and whether conversation history was restored. `notice: \"model-request-retrying\"` means the model rejected or could not answer a request and the harness is retrying it: `message` names the cause (for example the model rejecting the credentials on this machine, HTTP 403) and the attempt, a few times per retry episode, so a run that looks quiet is not. A `permission.resolved` says how a local harness permission request was decided: `decidedBy` in words, and `basis` — `person` (with `surface`), `mode` (with `mode`), `policy` or `session-grant` — beside the wire `by`. When a platform update restarts the server relaying a turn your machine is still running, the run does not end at that failure: `run.handed_over` (`code: \"AGENT_WORKER_REPLACED\"`, `reason: \"worker_replaced_daemon_running\"`, `waitMs`, `deadlineAt`) says the CLI is waiting, then exactly one terminal event follows — `run.completed` with `repaired: true` and `result` (then `run.result` with `status: \"completed\"`, `repaired: true`, exit 0) when the machine finished; `run.failed` with `handover.outcome: \"machine_failed\"` and the machine's reason when it did not; or `run.failed` with `handover.outcome: \"expired\"` and the original failure when --repair-wait ran out (exit 1 for both). Ctrl-C during the wait emits `run.detached` with `handedOver: true` and exits 130. A confirmed Ctrl-C cancellation emits `run.result` with `status: \"aborted\"` and exits 130. Whenever a run fails, `run.failed` carries `message`, the reason in words as the platform gave it (the same sentence a terminal prints after `Error:`), beside the short `reason`.",
9910
+ "description": "Emit one JSON event per line while streaming. Every line is a complete JSON value. When the accepted Run has a source scope, run.accepted and run.detached include inspection.argv for an exact read. When idempotencyKey is present, use it with the original command in the same scope to reopen its reply. If the start cannot be confirmed, run.admission_unconfirmed includes a read-only admission.argv. Assistant text arrives as `text.delta`, a real delta: `delta` is the characters it adds, and a rewrite that is not an append arrives as `replace`, the new full text. Fold `text.delta` for live progress. On `text.reset`, clear the previous attempt. On a compatible runtime, `run.result` holds the confirmed final reply. (--cumulative restores the older form, where `text` is the whole streamed text so far; it grows with the square of its length.) Read `session.output` for the raw execution stream. A widget the agent wrote (a block of CSS, HTML and JavaScript the apps draw) is its text description in `text.delta` and `run.result`; the `session.output` lane carries the block itself. Inside a `session.output`, `envelopes[].__seq` is the dedupe key and the ordering key — the same envelope is delivered by more than one room, and a re-delivery repeats its `__seq`. A `stream.gap` event means envelopes in that seq range never arrived and replay from the server could not recover them; a hole replay fills, or one that held only invisible envelopes (`service`, `status`), emits nothing. When the persisted message could be checked, `verified` is true and `missing` names what the stream is short of (`text`, `tool`), and the event arrives just before the terminal event; `verified: false` means it could not be checked and the text MAY be short. `run.result` and the persisted message remain authoritative. Tool calls arrive as `tool.started` / `tool.completed`, once per `toolUseId`, on cloud and local-harness runs alike. A `session.notice` with `notice: \"harness-session-reset\"` means the local harness could not resume its previous session and started a new one. `message` states the cause and whether conversation history was restored. `notice: \"model-request-retrying\"` means the model rejected or could not answer a request and the harness is retrying it: `message` names the cause (for example the model rejecting the credentials on this machine, HTTP 403) and the attempt, a few times per retry episode, so a run that looks quiet is not. A `permission.resolved` says how a local harness permission request was decided: `decidedBy` in words, and `basis` — `person` (with `surface`), `mode` (with `mode`), `policy` or `session-grant` — beside the wire `by`. When a platform update restarts the server relaying a turn your machine is still running, the run does not end at that failure: `run.handed_over` (`code: \"AGENT_WORKER_REPLACED\"`, `reason: \"worker_replaced_daemon_running\"`, `waitMs`, `deadlineAt`) says the CLI is waiting, then exactly one terminal event follows — `run.completed` with `repaired: true` and `result` (then `run.result` with `status: \"completed\"`, `repaired: true`, exit 0) when the machine finished; `run.failed` with `handover.outcome: \"machine_failed\"` and the machine's reason when it did not; or `run.failed` with `handover.outcome: \"expired\"` and the original failure when --repair-wait ran out (exit 1 for both). Ctrl-C during the wait emits `run.detached` with `handedOver: true` and exits 130. A confirmed Ctrl-C cancellation emits `run.result` with `status: \"aborted\"` and exits 130. Whenever a run fails, `run.failed` carries `message`, the reason in words as the platform gave it (the same sentence a terminal prints after `Error:`), beside the short `reason`.",
9911
9911
  "name": "jsonl",
9912
9912
  "allowNo": false,
9913
9913
  "type": "boolean"
@@ -9920,11 +9920,21 @@
9920
9920
  },
9921
9921
  "idempotency-key": {
9922
9922
  "description": "Name this start (1-128 characters: letters, numbers, dot, underscore, colon, hyphen). The CLI already names every start and, when the server does not confirm one (a 502, 503 or 504, or a dropped connection), sends the same request again so the server returns the turn it accepted instead of starting a second one. Pass your own key to re-attach to a start from another process: the same key and prompt return the original turn; a different prompt under it is refused.",
9923
+ "exclusive": [
9924
+ "idempotency-key-encoded"
9925
+ ],
9923
9926
  "name": "idempotency-key",
9924
9927
  "hasDynamicHelp": false,
9925
9928
  "multiple": false,
9926
9929
  "type": "option"
9927
9930
  },
9931
+ "idempotency-key-encoded": {
9932
+ "description": "A URL-encoded idempotency key from a Chat reattach command.",
9933
+ "name": "idempotency-key-encoded",
9934
+ "hasDynamicHelp": false,
9935
+ "multiple": false,
9936
+ "type": "option"
9937
+ },
9928
9938
  "after-current": {
9929
9939
  "description": "Send this message for after the agent finishes what it is doing, instead of letting it reach the work in progress. The message is kept on the server at once and starts its own turn when the running one ends. Needs --conversation or --thread-root.",
9930
9940
  "name": "after-current",
@@ -94508,9 +94518,8 @@
94508
94518
  "aliases": [],
94509
94519
  "args": {
94510
94520
  "clientRequestId": {
94511
- "description": "The Chat clientRequestId or --idempotency-key",
94512
- "name": "clientRequestId",
94513
- "required": true
94521
+ "description": "The Chat clientRequestId",
94522
+ "name": "clientRequestId"
94514
94523
  }
94515
94524
  },
94516
94525
  "description": "Check whether a recorded Chat request has an Agent Run",
@@ -94552,6 +94561,22 @@
94552
94561
  "allowNo": false,
94553
94562
  "type": "boolean"
94554
94563
  },
94564
+ "idempotency-key-encoded": {
94565
+ "description": "A URL-encoded Chat request key from a recovery command.",
94566
+ "name": "idempotency-key-encoded",
94567
+ "hasDynamicHelp": false,
94568
+ "multiple": false,
94569
+ "type": "option"
94570
+ },
94571
+ "ignore-workspace": {
94572
+ "description": "Look up the original authorized request without using the selected workspace.",
94573
+ "exclusive": [
94574
+ "workspace"
94575
+ ],
94576
+ "name": "ignore-workspace",
94577
+ "allowNo": false,
94578
+ "type": "boolean"
94579
+ },
94555
94580
  "json": {
94556
94581
  "description": "Output as JSON",
94557
94582
  "name": "json",
@@ -94685,8 +94710,9 @@
94685
94710
  "runs:list": {
94686
94711
  "aliases": [],
94687
94712
  "args": {},
94688
- "description": "List Agent Runs you can discover in Run History.\n\nWhen signed in, select an Agent, a Goal, a Chat or native conversation you own, or Hosted Jobs. Use --from and --to for an absolute date range.\n\nIn a bound Agent session, the session supplies the scope and supports relative ranges with --since.",
94713
+ "description": "List Agent Runs you can discover in Run History.\n\nRun without a selector in a terminal to choose an Agent. The picker uses the selected workspace, --personal, or the Agent’s home workspace when no workspace is selected. For scripts, specify --agent, --goal, --conversation with --source chat or native, or --source hosted_job. Use --from and --to for an absolute date range.\n\nIn a bound Agent session, the session supplies the scope and supports relative ranges with --since.",
94689
94714
  "examples": [
94715
+ "<%= config.bin %> runs list",
94690
94716
  "<%= config.bin %> runs list --agent <agent-id>",
94691
94717
  "<%= config.bin %> runs list --agent <agent-id> --source duty --json",
94692
94718
  "<%= config.bin %> runs list --agent <agent-id> --from 2026-12-01T00:00:00Z --status failed",
@@ -157684,5 +157710,5 @@
157684
157710
  ]
157685
157711
  }
157686
157712
  },
157687
- "version": "0.1.233"
157713
+ "version": "0.1.235"
157688
157714
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.233",
3
+ "version": "0.1.235",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -730,5 +730,5 @@
730
730
  "engines": {
731
731
  "node": ">=20.0.0"
732
732
  },
733
- "gitHead": "f2d75c0afe5dcb8ba4ca556c47282164b5975490"
733
+ "gitHead": "1cf02efa7432a01599824a599a2c596c97b3acfd"
734
734
  }