@skrr-ai/cli 0.1.213 → 0.1.215

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.
Files changed (33) hide show
  1. package/dist/commands/agents/relationship/clear.d.ts +12 -0
  2. package/dist/commands/agents/relationship/clear.js +26 -0
  3. package/dist/commands/agents/relationship/edit.d.ts +15 -0
  4. package/dist/commands/agents/relationship/edit.js +40 -0
  5. package/dist/commands/agents/relationship/show.d.ts +12 -0
  6. package/dist/commands/agents/relationship/show.js +35 -0
  7. package/dist/commands/tasks/ask.d.ts +3 -2
  8. package/dist/commands/tasks/ask.js +4 -3
  9. package/dist/commands/tasks/chat/exchange.d.ts +3 -2
  10. package/dist/commands/tasks/chat/exchange.js +18 -6
  11. package/dist/commands/tasks/chat/rotate.js +5 -2
  12. package/dist/commands/tasks/show.d.ts +6 -1
  13. package/dist/commands/tasks/show.js +19 -5
  14. package/dist/generated/agent-guides.json +20 -20
  15. package/dist/lib/inbound-messages.js +7 -0
  16. package/dist/lib/task-asset-upload.d.ts +7 -0
  17. package/dist/lib/task-asset-upload.js +114 -44
  18. package/dist/lib/task-operations.d.ts +16 -0
  19. package/dist/lib/task-operations.js +39 -0
  20. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/personAskWindow.d.ts +23 -0
  21. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/personAskWindow.js +28 -0
  22. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.d.ts +16 -2
  23. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/refresh.js +110 -15
  24. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/runtime.d.ts +7 -2
  25. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/personAskWindow.d.ts +23 -0
  26. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/personAskWindow.js +23 -0
  27. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.d.ts +16 -2
  28. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/refresh.js +179 -17
  29. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/runtime.d.ts +7 -2
  30. package/dist/node_modules/@skrr-ai/auth-core/package.json +10 -0
  31. package/dist/node_modules/@skrr-ai/data-provider/index.js +10767 -10760
  32. package/oclif.manifest.json +265 -7
  33. package/package.json +2 -2
@@ -17382,6 +17382,246 @@
17382
17382
  "reflect.js"
17383
17383
  ]
17384
17384
  },
17385
+ "agents:relationship:clear": {
17386
+ "aliases": [],
17387
+ "args": {
17388
+ "agentId": {
17389
+ "name": "agentId",
17390
+ "required": true
17391
+ }
17392
+ },
17393
+ "description": "Clear this agent's relationship context. The continuity Duty writes a fresh one after the next material change in the conversation.",
17394
+ "examples": [
17395
+ "<%= config.bin %> agents relationship clear <agent-id>"
17396
+ ],
17397
+ "flags": {
17398
+ "bare": {
17399
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
17400
+ "name": "bare",
17401
+ "allowNo": false,
17402
+ "type": "boolean"
17403
+ },
17404
+ "token": {
17405
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
17406
+ "name": "token",
17407
+ "hasDynamicHelp": false,
17408
+ "multiple": false,
17409
+ "type": "option"
17410
+ },
17411
+ "workspace": {
17412
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
17413
+ "name": "workspace",
17414
+ "hasDynamicHelp": false,
17415
+ "multiple": false,
17416
+ "type": "option"
17417
+ },
17418
+ "profile": {
17419
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
17420
+ "name": "profile",
17421
+ "hasDynamicHelp": false,
17422
+ "multiple": false,
17423
+ "type": "option"
17424
+ },
17425
+ "raw": {
17426
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
17427
+ "name": "raw",
17428
+ "allowNo": false,
17429
+ "type": "boolean"
17430
+ },
17431
+ "json": {
17432
+ "description": "Output JSON",
17433
+ "name": "json",
17434
+ "allowNo": false,
17435
+ "type": "boolean"
17436
+ }
17437
+ },
17438
+ "hasDynamicHelp": false,
17439
+ "hiddenAliases": [],
17440
+ "id": "agents:relationship:clear",
17441
+ "pluginAlias": "@skrr-ai/cli",
17442
+ "pluginName": "@skrr-ai/cli",
17443
+ "pluginType": "core",
17444
+ "strict": true,
17445
+ "enableJsonFlag": false,
17446
+ "autonomousCredentialPolicy": "delegated",
17447
+ "autonomousCredentialFallback": "none",
17448
+ "resolveSpaceFlag": true,
17449
+ "isESM": false,
17450
+ "relativePath": [
17451
+ "dist",
17452
+ "commands",
17453
+ "agents",
17454
+ "relationship",
17455
+ "clear.js"
17456
+ ]
17457
+ },
17458
+ "agents:relationship:edit": {
17459
+ "aliases": [],
17460
+ "args": {
17461
+ "agentId": {
17462
+ "name": "agentId",
17463
+ "required": true
17464
+ }
17465
+ },
17466
+ "description": "Replace this agent's relationship context with what you give here. The whole projection is replaced, so pass every focus and question you want kept.",
17467
+ "examples": [
17468
+ "<%= config.bin %> agents relationship edit <agent-id> --summary \"Alert on unconfirmed developing stories too\" --focus \"NVDA export controls\""
17469
+ ],
17470
+ "flags": {
17471
+ "bare": {
17472
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
17473
+ "name": "bare",
17474
+ "allowNo": false,
17475
+ "type": "boolean"
17476
+ },
17477
+ "token": {
17478
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
17479
+ "name": "token",
17480
+ "hasDynamicHelp": false,
17481
+ "multiple": false,
17482
+ "type": "option"
17483
+ },
17484
+ "workspace": {
17485
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
17486
+ "name": "workspace",
17487
+ "hasDynamicHelp": false,
17488
+ "multiple": false,
17489
+ "type": "option"
17490
+ },
17491
+ "profile": {
17492
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
17493
+ "name": "profile",
17494
+ "hasDynamicHelp": false,
17495
+ "multiple": false,
17496
+ "type": "option"
17497
+ },
17498
+ "raw": {
17499
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
17500
+ "name": "raw",
17501
+ "allowNo": false,
17502
+ "type": "boolean"
17503
+ },
17504
+ "summary": {
17505
+ "description": "What the agent should understand about the work now",
17506
+ "name": "summary",
17507
+ "hasDynamicHelp": false,
17508
+ "multiple": false,
17509
+ "type": "option"
17510
+ },
17511
+ "focus": {
17512
+ "description": "A current focus (repeatable)",
17513
+ "name": "focus",
17514
+ "hasDynamicHelp": false,
17515
+ "multiple": true,
17516
+ "type": "option"
17517
+ },
17518
+ "question": {
17519
+ "description": "An open question (repeatable)",
17520
+ "name": "question",
17521
+ "hasDynamicHelp": false,
17522
+ "multiple": true,
17523
+ "type": "option"
17524
+ },
17525
+ "json": {
17526
+ "description": "Output JSON",
17527
+ "name": "json",
17528
+ "allowNo": false,
17529
+ "type": "boolean"
17530
+ }
17531
+ },
17532
+ "hasDynamicHelp": false,
17533
+ "hiddenAliases": [],
17534
+ "id": "agents:relationship:edit",
17535
+ "pluginAlias": "@skrr-ai/cli",
17536
+ "pluginName": "@skrr-ai/cli",
17537
+ "pluginType": "core",
17538
+ "strict": true,
17539
+ "enableJsonFlag": false,
17540
+ "autonomousCredentialPolicy": "delegated",
17541
+ "autonomousCredentialFallback": "none",
17542
+ "resolveSpaceFlag": true,
17543
+ "isESM": false,
17544
+ "relativePath": [
17545
+ "dist",
17546
+ "commands",
17547
+ "agents",
17548
+ "relationship",
17549
+ "edit.js"
17550
+ ]
17551
+ },
17552
+ "agents:relationship:show": {
17553
+ "aliases": [],
17554
+ "args": {
17555
+ "agentId": {
17556
+ "name": "agentId",
17557
+ "required": true
17558
+ }
17559
+ },
17560
+ "description": "Show the relationship context every Duty turn of this agent is given: a bounded summary kept by the agent's conversation continuity Duty. It can be older than the Duty's own directive; the directive wins where they disagree.",
17561
+ "examples": [
17562
+ "<%= config.bin %> agents relationship show <agent-id>"
17563
+ ],
17564
+ "flags": {
17565
+ "bare": {
17566
+ "description": "Bare mode — ignore keychain/file credential sources. Token must come from env or --token.",
17567
+ "name": "bare",
17568
+ "allowNo": false,
17569
+ "type": "boolean"
17570
+ },
17571
+ "token": {
17572
+ "description": "Bearer token for this invocation (debugging/impersonation). Overrides env and stored creds.",
17573
+ "name": "token",
17574
+ "hasDynamicHelp": false,
17575
+ "multiple": false,
17576
+ "type": "option"
17577
+ },
17578
+ "workspace": {
17579
+ "description": "Workspace ID for workspace-scoped requests (also sets X-Workspace-Id).",
17580
+ "name": "workspace",
17581
+ "hasDynamicHelp": false,
17582
+ "multiple": false,
17583
+ "type": "option"
17584
+ },
17585
+ "profile": {
17586
+ "description": "Which stored session to use. Each profile keeps its own credential and deployment, so signing into one does not sign you out of another. Also OVERSKY_PROFILE. List them with `profiles list`.",
17587
+ "name": "profile",
17588
+ "hasDynamicHelp": false,
17589
+ "multiple": false,
17590
+ "type": "option"
17591
+ },
17592
+ "raw": {
17593
+ "description": "With --json, keep the Mongo storage fields (_id next to id, __v) that the CLI otherwise strips. Also OVERSKY_CLI_RAW=1.",
17594
+ "name": "raw",
17595
+ "allowNo": false,
17596
+ "type": "boolean"
17597
+ },
17598
+ "json": {
17599
+ "description": "Output JSON",
17600
+ "name": "json",
17601
+ "allowNo": false,
17602
+ "type": "boolean"
17603
+ }
17604
+ },
17605
+ "hasDynamicHelp": false,
17606
+ "hiddenAliases": [],
17607
+ "id": "agents:relationship:show",
17608
+ "pluginAlias": "@skrr-ai/cli",
17609
+ "pluginName": "@skrr-ai/cli",
17610
+ "pluginType": "core",
17611
+ "strict": true,
17612
+ "enableJsonFlag": false,
17613
+ "autonomousCredentialPolicy": "delegated",
17614
+ "autonomousCredentialFallback": "none",
17615
+ "resolveSpaceFlag": true,
17616
+ "isESM": false,
17617
+ "relativePath": [
17618
+ "dist",
17619
+ "commands",
17620
+ "agents",
17621
+ "relationship",
17622
+ "show.js"
17623
+ ]
17624
+ },
17385
17625
  "agents:releases:ci-publish": {
17386
17626
  "aliases": [],
17387
17627
  "args": {
@@ -126276,7 +126516,7 @@
126276
126516
  "type": "boolean"
126277
126517
  },
126278
126518
  "expires": {
126279
- "description": "When it stops waiting: an ISO date-time or 30m, 4h, 2d (default and maximum: the workspace's policy)",
126519
+ "description": "When it stops waiting: an ISO date-time or 30m, 4h, 2d (default: it waits until answered, unless the workspace set a longest wait, which is also the maximum)",
126280
126520
  "name": "expires",
126281
126521
  "hasDynamicHelp": false,
126282
126522
  "multiple": false,
@@ -127455,7 +127695,8 @@
127455
127695
  "description": "Close input on, interrupt, or cancel a task chat exchange",
127456
127696
  "examples": [
127457
127697
  "<%= config.bin %> tasks chat exchange task_abc ex_123 --close-input",
127458
- "<%= config.bin %> tasks chat exchange task_abc ex_123 --interrupt --reason \"wrong file\"",
127698
+ "<%= config.bin %> tasks chat exchange task_abc ex_123 --interrupt --text \"stop, wrong file; use src/a.ts\"",
127699
+ "<%= config.bin %> tasks chat exchange task_abc ex_123 --cancel --reason \"wrong file\"",
127459
127700
  "<%= config.bin %> tasks chat exchange task_abc ex_123 --cancel"
127460
127701
  ],
127461
127702
  "flags": {
@@ -127509,7 +127750,7 @@
127509
127750
  "type": "boolean"
127510
127751
  },
127511
127752
  "interrupt": {
127512
- "description": "Stop the current generation; the exchange survives",
127753
+ "description": "Inject --text into the running response",
127513
127754
  "exclusive": [
127514
127755
  "cancel",
127515
127756
  "close-input"
@@ -127528,8 +127769,21 @@
127528
127769
  "allowNo": false,
127529
127770
  "type": "boolean"
127530
127771
  },
127772
+ "text": {
127773
+ "dependsOn": [
127774
+ "interrupt"
127775
+ ],
127776
+ "description": "What to tell the running response (required with --interrupt)",
127777
+ "name": "text",
127778
+ "hasDynamicHelp": false,
127779
+ "multiple": false,
127780
+ "type": "option"
127781
+ },
127531
127782
  "reason": {
127532
- "description": "Why — recorded on the exchange",
127783
+ "dependsOn": [
127784
+ "cancel"
127785
+ ],
127786
+ "description": "Why the exchange is cancelled (--cancel only; the other two record none)",
127533
127787
  "name": "reason",
127534
127788
  "hasDynamicHelp": false,
127535
127789
  "multiple": false,
@@ -127886,7 +128140,7 @@
127886
128140
  "description": "Start a fresh chat epoch (old transcript stays in history)",
127887
128141
  "examples": [
127888
128142
  "<%= config.bin %> tasks chat rotate task_abc123",
127889
- "<%= config.bin %> tasks chat rotate task_abc123 --reason \"context got poisoned\" --yes"
128143
+ "<%= config.bin %> tasks chat rotate task_abc123 --reason deleted_repair --yes"
127890
128144
  ],
127891
128145
  "flags": {
127892
128146
  "bare": {
@@ -127929,10 +128183,14 @@
127929
128183
  "type": "boolean"
127930
128184
  },
127931
128185
  "reason": {
127932
- "description": "Why — recorded with the rotation",
128186
+ "description": "Why it is rotated (the server accepts only these two; default fresh_context)",
127933
128187
  "name": "reason",
127934
128188
  "hasDynamicHelp": false,
127935
128189
  "multiple": false,
128190
+ "options": [
128191
+ "fresh_context",
128192
+ "deleted_repair"
128193
+ ],
127936
128194
  "type": "option"
127937
128195
  },
127938
128196
  "yes": {
@@ -155650,5 +155908,5 @@
155650
155908
  ]
155651
155909
  }
155652
155910
  },
155653
- "version": "0.1.213"
155911
+ "version": "0.1.215"
155654
155912
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.213",
3
+ "version": "0.1.215",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -723,5 +723,5 @@
723
723
  "engines": {
724
724
  "node": ">=20.0.0"
725
725
  },
726
- "gitHead": "336fe85fff5b015847cad0f9a5d5c5a5211da6c3"
726
+ "gitHead": "6e0c4dd9205f27c23a93703ed7f327608d7a30eb"
727
727
  }