@skrr-ai/cli 0.1.122 → 0.1.124
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/commands/agents/chat.d.ts +7 -0
- package/dist/commands/agents/chat.js +32 -6
- package/dist/commands/agents/delete.d.ts +8 -0
- package/dist/commands/agents/delete.js +16 -0
- package/dist/commands/context.js +7 -0
- package/dist/commands/followups/act.js +3 -0
- package/dist/commands/followups/checkin.js +3 -0
- package/dist/commands/followups/remind.js +3 -0
- package/dist/commands/followups/show.js +1 -1
- package/dist/commands/followups/watch.js +3 -0
- package/dist/commands/search/workspace.js +1 -1
- package/dist/commands/store/gallery-admissions/approve.js +1 -1
- package/dist/commands/store/gallery-admissions/preview.js +1 -1
- package/dist/commands/store/gallery-admissions/refuse.js +1 -1
- package/dist/commands/store/gallery-admissions/show.js +1 -1
- package/dist/lib/agentic-stream.d.ts +46 -0
- package/dist/lib/agentic-stream.js +135 -14
- package/dist/lib/auth-core-init.d.ts +15 -2
- package/dist/lib/auth-core-init.js +47 -6
- package/dist/lib/auth-failure.js +12 -0
- package/dist/lib/command-hygiene.js +30 -1
- package/dist/lib/daemonBrokerRefusal.js +5 -1
- package/dist/lib/exec-runtime-binary.d.ts +9 -0
- package/dist/lib/exec-runtime-binary.js +15 -1
- package/dist/lib/followups.d.ts +13 -0
- package/dist/lib/followups.js +8 -0
- package/dist/lib/keychain.js +41 -4
- package/dist/lib/profile-machine-identity-guard.js +2 -1
- package/dist/lib/runtime-start-verification.js +6 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/cliHandoffWire.d.ts +5 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/cliHandoffWire.js +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialEnvelopeBridge.js +69 -27
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.d.ts +135 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceIdentityBridge.js +440 -83
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKey.d.ts +106 -7
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKey.js +77 -19
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyHandle.d.ts +33 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyHandle.js +77 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyHardware.d.ts +68 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyHardware.js +264 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyServerSupport.d.ts +31 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/deviceKeyServerSupport.js +90 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/dpop.js +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/independentMachineReservation.js +2 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +7 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +110 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/index.d.ts +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/index.js +13 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.d.ts +18 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.js +11 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/macos.d.ts +22 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/macos.js +14 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/masterKekService.d.ts +69 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/masterKekService.js +67 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/liveState.d.ts +154 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/liveState.js +281 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineId.js +6 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/machineUuid.js +8 -5
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.js +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/profileStateDir.js +7 -27
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +24 -16
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/stateFiles.d.ts +31 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/stateFiles.js +89 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/telemetryRedaction.d.ts +3 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/telemetryRedaction.js +41 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/types.d.ts +7 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/cliHandoffWire.d.ts +5 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/cliHandoffWire.js +4 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialEnvelopeBridge.js +122 -38
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.d.ts +135 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceIdentityBridge.js +603 -90
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKey.d.ts +106 -7
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKey.js +131 -27
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyHandle.d.ts +33 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyHandle.js +81 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyHardware.d.ts +68 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyHardware.js +317 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyServerSupport.d.ts +31 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/deviceKeyServerSupport.js +86 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/dpop.js +4 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/independentMachineReservation.js +4 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +7 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +14 -4
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/index.d.ts +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/index.js +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/linux.d.ts +18 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/linux.js +18 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/macos.d.ts +22 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/macos.js +23 -2
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/masterKekService.d.ts +69 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/masterKekService.js +134 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/liveState.d.ts +154 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/liveState.js +386 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/machineId.js +6 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/machineUuid.js +11 -5
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/messages.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/messages.js +1 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/profileStateDir.js +6 -35
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +1 -1
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +45 -16
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/stateFiles.d.ts +31 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/stateFiles.js +73 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/telemetryRedaction.d.ts +3 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/telemetryRedaction.js +40 -3
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/types.d.ts +7 -1
- package/dist/node_modules/@skrr-ai/auth-core/package.json +21 -1
- package/dist/node_modules/@skrr-ai/data-provider/index.js +7349 -7325
- package/oclif.manifest.json +11 -2
- package/package.json +4 -1
package/oclif.manifest.json
CHANGED
|
@@ -7207,8 +7207,17 @@
|
|
|
7207
7207
|
"allowNo": false,
|
|
7208
7208
|
"type": "boolean"
|
|
7209
7209
|
},
|
|
7210
|
+
"incremental": {
|
|
7211
|
+
"dependsOn": [
|
|
7212
|
+
"jsonl"
|
|
7213
|
+
],
|
|
7214
|
+
"description": "With --jsonl, make `text.delta` a real delta: it carries only `delta`, the characters it adds, instead of the whole answer so far, and leaves out the envelopes that `session.output` already carries. A rewrite that is not an append arrives as `replace`, the new full text. `run.result` still holds the whole answer. Without it a long answer written as JSON lines grows with the square of its length.",
|
|
7215
|
+
"name": "incremental",
|
|
7216
|
+
"allowNo": false,
|
|
7217
|
+
"type": "boolean"
|
|
7218
|
+
},
|
|
7210
7219
|
"jsonl": {
|
|
7211
|
-
"description": "Emit one JSON event per line while streaming. Every line is a complete JSON value. Assistant text arrives as `text.delta` whose `text` is the CUMULATIVE answer so far, not a delta — take the last one, or `run.result` at the end. The same text is mirrored inside `session.output` envelopes for consumers that want the raw stream, so folding both doubles the answer: pick ONE lane. 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, which does not see earlier turns of the conversation; `message` says why. 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.",
|
|
7220
|
+
"description": "Emit one JSON event per line while streaming. Every line is a complete JSON value. Assistant text arrives as `text.delta` whose `text` is the CUMULATIVE answer so far, not a delta — take the last one, or `run.result` at the end. Each `text.delta` also carries `delta`, the characters it adds, when it only appends to the one before; with --incremental it carries nothing else of the text (see that flag). The same text is mirrored inside `session.output` envelopes for consumers that want the raw stream, so folding both doubles the answer: pick ONE lane. 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, which does not see earlier turns of the conversation; `message` says why. `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. 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`.",
|
|
7212
7221
|
"name": "jsonl",
|
|
7213
7222
|
"allowNo": false,
|
|
7214
7223
|
"type": "boolean"
|
|
@@ -142575,5 +142584,5 @@
|
|
|
142575
142584
|
]
|
|
142576
142585
|
}
|
|
142577
142586
|
},
|
|
142578
|
-
"version": "0.1.
|
|
142587
|
+
"version": "0.1.124"
|
|
142579
142588
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skrr-ai/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.124",
|
|
4
4
|
"description": "Command-line interface for skrr",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "skrr",
|
|
@@ -636,6 +636,9 @@
|
|
|
636
636
|
"store:admissions": {
|
|
637
637
|
"description": "Review releases and listings awaiting capability-tiered admission (curators)"
|
|
638
638
|
},
|
|
639
|
+
"store:gallery-admissions": {
|
|
640
|
+
"description": "Review frozen Store gallery revisions (curators): inspect the images, then approve or refuse the exact revision"
|
|
641
|
+
},
|
|
639
642
|
"store:artifacts": {
|
|
640
643
|
"description": "Publish and inspect dependency releases of your own skills and actions"
|
|
641
644
|
},
|