@skrr-ai/cli 0.1.166 → 0.1.167
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/base-command.js +0 -1
- package/dist/commands/activity/scan-older.d.ts +1 -1
- package/dist/commands/activity/scan-older.js +5 -4
- package/dist/commands/agent/message/approve.d.ts +1 -0
- package/dist/commands/agent/message/approve.js +6 -2
- package/dist/commands/agent/message/decline.d.ts +1 -0
- package/dist/commands/agent/message/decline.js +6 -2
- package/dist/commands/agent/message/pending.js +5 -2
- package/dist/commands/agent/message/review.d.ts +13 -0
- package/dist/commands/agent/message/review.js +68 -0
- package/dist/commands/agents/always-on/recovery-close.d.ts +28 -0
- package/dist/commands/agents/always-on/recovery-close.js +60 -0
- package/dist/commands/agents/always-on/recovery-review.d.ts +22 -0
- package/dist/commands/agents/always-on/recovery-review.js +190 -0
- package/dist/commands/apps/installations/compatibility.js +1 -1
- package/dist/commands/apps/installations/list.js +3 -0
- package/dist/commands/apps/installations/show.js +3 -0
- package/dist/commands/duties/show.js +10 -0
- package/dist/commands/goals/key-results/assess.d.ts +2 -3
- package/dist/commands/goals/key-results/assess.js +5 -12
- package/dist/commands/harnesses/removal-references.d.ts +16 -0
- package/dist/commands/harnesses/removal-references.js +61 -0
- package/dist/commands/tasks/actionability.js +8 -3
- package/dist/commands/tasks/complete.js +35 -17
- package/dist/commands/tasks/expectations/assess.d.ts +1 -0
- package/dist/commands/tasks/expectations/assess.js +50 -21
- package/dist/commands/tasks/expectations.js +5 -2
- package/dist/commands/tasks/judge.d.ts +1 -0
- package/dist/commands/tasks/judge.js +17 -2
- package/dist/commands/tasks/result/submit.js +26 -17
- package/dist/commands/tasks/review-queue.js +2 -1
- package/dist/commands/tasks/review.d.ts +1 -0
- package/dist/commands/tasks/review.js +24 -3
- package/dist/commands/tasks/show.d.ts +13 -0
- package/dist/commands/tasks/show.js +41 -3
- package/dist/commands/tasks/updates/add.d.ts +1 -0
- package/dist/commands/tasks/updates/add.js +71 -21
- package/dist/commands/tasks/updates/list.d.ts +4 -0
- package/dist/commands/tasks/updates/list.js +3 -1
- package/dist/commands/tasks/waive.d.ts +1 -0
- package/dist/commands/tasks/waive.js +17 -2
- package/dist/generated/agent-guides.json +20 -20
- package/dist/lib/agent-activity.d.ts +3 -1
- package/dist/lib/agent-activity.js +50 -11
- package/dist/lib/appInstallations.js +1 -1
- package/dist/lib/harnesses.d.ts +24 -0
- package/dist/lib/harnesses.js +4 -0
- package/dist/lib/reference-syntax.d.ts +28 -0
- package/dist/lib/reference-syntax.js +91 -0
- package/dist/lib/runtime-context.js +6 -0
- package/dist/lib/task-closure.d.ts +1 -1
- package/dist/lib/task-closure.js +1 -1
- package/dist/lib/task-operations.d.ts +28 -6
- package/dist/lib/task-operations.js +77 -4
- package/dist/lib/task-preflight.js +8 -3
- package/dist/lib/task-write-attribution.d.ts +183 -19
- package/dist/lib/task-write-attribution.js +270 -39
- package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/daemonWire.js +63 -0
- package/dist/node_modules/@skrr-ai/auth-core/dist/esm/daemonWire.js +71 -0
- package/dist/node_modules/@skrr-ai/data-provider/index.js +11416 -11290
- package/oclif.manifest.json +395 -16
- package/package.json +2 -2
|
@@ -353,6 +353,76 @@ const TOOLS = [
|
|
|
353
353
|
}),
|
|
354
354
|
];
|
|
355
355
|
// ---------------------------------------------------------------------------
|
|
356
|
+
// Local session import (Codex and Claude Code sessions on a person's own machine)
|
|
357
|
+
// ---------------------------------------------------------------------------
|
|
358
|
+
// Every method here is an `rpc:request` method the API calls and the daemon answers (`daemon/src/
|
|
359
|
+
// local-session-import/host.ts`), `experimental` until the feature has shipped, and unvalidated: the
|
|
360
|
+
// daemon validates each payload by hand against the owner and machine it was claimed for, and the
|
|
361
|
+
// shape is still allowed to move. The server refuses to call one the daemon did not announce, and
|
|
362
|
+
// a daemon announces nothing for continuing or forking a session yet.
|
|
363
|
+
const LOCAL_SESSION = [
|
|
364
|
+
toDaemon('daemon:local-session-import:v1', 'Browse, page, inspect and prove a prefix of the Codex and Claude Code sessions on this computer. Read-only; the single call the import catalog and history worker make.', {
|
|
365
|
+
delivery: 'acked',
|
|
366
|
+
carriers: RPC,
|
|
367
|
+
stability: 'experimental',
|
|
368
|
+
capability: 'local_session_import_v1',
|
|
369
|
+
}),
|
|
370
|
+
toDaemon('daemon:local-claude-snapshot:v1', 'Open, page and verify a bounded, connection-pinned read of one Claude Code session.', {
|
|
371
|
+
delivery: 'acked',
|
|
372
|
+
carriers: RPC,
|
|
373
|
+
stability: 'experimental',
|
|
374
|
+
capability: 'local_session_claude_snapshot_v1',
|
|
375
|
+
}),
|
|
376
|
+
toDaemon('daemon:local-codex-snapshot:v1', 'Open, page and verify a bounded, connection-pinned read of one Codex session.', {
|
|
377
|
+
delivery: 'acked',
|
|
378
|
+
carriers: RPC,
|
|
379
|
+
stability: 'experimental',
|
|
380
|
+
capability: 'local_session_codex_snapshot_v1',
|
|
381
|
+
}),
|
|
382
|
+
toDaemon('daemon:local-codex-turn:v1', 'Continue a Codex session in place: a one-shot delivery claimed from the server and journaled before the provider starts. No daemon announces its capability yet.', {
|
|
383
|
+
delivery: 'acked',
|
|
384
|
+
carriers: RPC,
|
|
385
|
+
stability: 'experimental',
|
|
386
|
+
capability: 'local_session_native_turn_v1',
|
|
387
|
+
}),
|
|
388
|
+
toDaemon('daemon:local-claude-turn:v1', 'Continue a Claude Code session in place: a one-shot delivery claimed from the server and journaled before the provider starts. No daemon announces its capability yet.', {
|
|
389
|
+
delivery: 'acked',
|
|
390
|
+
carriers: RPC,
|
|
391
|
+
stability: 'experimental',
|
|
392
|
+
capability: 'local_session_claude_native_turn_v1',
|
|
393
|
+
}),
|
|
394
|
+
toDaemon('daemon:local-session-stop:v1', 'Ask the running native turn this daemon claimed to stop. Gated by the continuing capability of its provider.', {
|
|
395
|
+
delivery: 'acked',
|
|
396
|
+
carriers: RPC,
|
|
397
|
+
stability: 'experimental',
|
|
398
|
+
capability: 'local_session_native_turn_v1',
|
|
399
|
+
}),
|
|
400
|
+
toDaemon('daemon:local-session-fork:v1', "Create an independent native copy of a session with the provider's own fork. No daemon announces its capability yet.", {
|
|
401
|
+
delivery: 'acked',
|
|
402
|
+
carriers: RPC,
|
|
403
|
+
stability: 'experimental',
|
|
404
|
+
capability: 'local_session_fork_v1',
|
|
405
|
+
}),
|
|
406
|
+
toDaemon('daemon:local-session-fork-recovery:v1', 'Read back, without creating anything, the receipt of a fork whose reply was lost.', {
|
|
407
|
+
delivery: 'acked',
|
|
408
|
+
carriers: RPC,
|
|
409
|
+
stability: 'experimental',
|
|
410
|
+
capability: 'local_session_fork_v1',
|
|
411
|
+
}),
|
|
412
|
+
toDaemon('daemon:local-session-start:v1', 'Start a new native session from a pending Chat, journaling the candidate before the first message. No daemon announces its capability yet.', {
|
|
413
|
+
delivery: 'acked',
|
|
414
|
+
carriers: RPC,
|
|
415
|
+
stability: 'experimental',
|
|
416
|
+
capability: 'local_session_pending_start_v1',
|
|
417
|
+
}),
|
|
418
|
+
toDaemon('daemon:local-session-start-recovery:v1', 'Read back what a first start left on this machine, so a lost reply is settled by evidence and never by a resend.', {
|
|
419
|
+
delivery: 'acked',
|
|
420
|
+
carriers: RPC,
|
|
421
|
+
stability: 'experimental',
|
|
422
|
+
capability: 'local_session_start_recovery_v1',
|
|
423
|
+
}),
|
|
424
|
+
];
|
|
425
|
+
// ---------------------------------------------------------------------------
|
|
356
426
|
// Terminals
|
|
357
427
|
// ---------------------------------------------------------------------------
|
|
358
428
|
const TERMINALS = [
|
|
@@ -635,6 +705,7 @@ export const DAEMON_WIRE = Object.freeze([
|
|
|
635
705
|
...CONNECTION,
|
|
636
706
|
...RPC_ENVELOPE,
|
|
637
707
|
...RPC_METHODS,
|
|
708
|
+
...LOCAL_SESSION,
|
|
638
709
|
...SESSIONS,
|
|
639
710
|
...TOOLS,
|
|
640
711
|
...TERMINALS,
|