@skrr-ai/cli 0.1.8 → 0.1.10

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 (170) hide show
  1. package/dist/base-command.d.ts +27 -0
  2. package/dist/base-command.js +83 -11
  3. package/dist/commands/agent/message/send.js +1 -1
  4. package/dist/commands/agents/chat.d.ts +1 -1
  5. package/dist/commands/agents/chat.js +1 -1
  6. package/dist/commands/browser/install.d.ts +1 -1
  7. package/dist/commands/browser/install.js +10 -2
  8. package/dist/commands/browser/mcp-config.js +3 -1
  9. package/dist/commands/browser/skill/show.js +1 -1
  10. package/dist/commands/browser/status.js +4 -1
  11. package/dist/commands/browser/uninstall.d.ts +1 -1
  12. package/dist/commands/browser/uninstall.js +10 -2
  13. package/dist/commands/browser.d.ts +1 -1
  14. package/dist/commands/browser.js +3 -3
  15. package/dist/commands/code/index.js +6 -3
  16. package/dist/commands/code/install.d.ts +61 -0
  17. package/dist/commands/code/install.js +247 -0
  18. package/dist/commands/code/oversky-agent.d.ts +2 -1
  19. package/dist/commands/code/oversky-agent.js +12 -8
  20. package/dist/commands/commands.js +1 -1
  21. package/dist/commands/context.js +1 -1
  22. package/dist/commands/create-token.js +1 -1
  23. package/dist/commands/daemon/byok.d.ts +1 -0
  24. package/dist/commands/daemon/byok.js +14 -1
  25. package/dist/commands/daemon/index.js +18 -7
  26. package/dist/commands/daemon/install.d.ts +1 -0
  27. package/dist/commands/daemon/install.js +22 -3
  28. package/dist/commands/daemon/logs.d.ts +1 -0
  29. package/dist/commands/daemon/logs.js +4 -0
  30. package/dist/commands/daemon/start.d.ts +1 -0
  31. package/dist/commands/daemon/start.js +15 -2
  32. package/dist/commands/daemon/status.d.ts +1 -0
  33. package/dist/commands/daemon/status.js +14 -1
  34. package/dist/commands/daemon/stop.d.ts +1 -0
  35. package/dist/commands/daemon/stop.js +14 -1
  36. package/dist/commands/daemon/uninstall.d.ts +1 -0
  37. package/dist/commands/daemon/uninstall.js +15 -2
  38. package/dist/commands/daemon/usage.d.ts +1 -0
  39. package/dist/commands/daemon/usage.js +5 -1
  40. package/dist/commands/doctor.js +2 -2
  41. package/dist/commands/github/allow-tools.d.ts +1 -0
  42. package/dist/commands/github/app/install.d.ts +1 -0
  43. package/dist/commands/github/app/status.d.ts +1 -0
  44. package/dist/commands/github/connect.d.ts +1 -0
  45. package/dist/commands/github/connections.d.ts +1 -0
  46. package/dist/commands/github/disconnect.d.ts +1 -0
  47. package/dist/commands/github/finalize.d.ts +1 -0
  48. package/dist/commands/github/reconnect.d.ts +1 -0
  49. package/dist/commands/github/run.d.ts +1 -0
  50. package/dist/commands/github/tools.d.ts +1 -0
  51. package/dist/commands/goals/create.js +2 -2
  52. package/dist/commands/goals/show.js +5 -0
  53. package/dist/commands/harnesses/list.js +14 -3
  54. package/dist/commands/harnesses/show.js +14 -0
  55. package/dist/commands/instructions/activate.js +1 -1
  56. package/dist/commands/instructions/archive-version.js +1 -1
  57. package/dist/commands/instructions/delete.js +1 -1
  58. package/dist/commands/instructions/diff.js +1 -1
  59. package/dist/commands/instructions/install.js +7 -1
  60. package/dist/commands/instructions/restore.js +1 -1
  61. package/dist/commands/instructions/show.js +17 -1
  62. package/dist/commands/instructions/update.js +1 -1
  63. package/dist/commands/integrations/connections/connect.d.ts +1 -0
  64. package/dist/commands/integrations/connections/disconnect.d.ts +1 -0
  65. package/dist/commands/integrations/connections/finalize.d.ts +1 -0
  66. package/dist/commands/integrations/connections/list.d.ts +1 -0
  67. package/dist/commands/integrations/connections/reconnect.d.ts +1 -0
  68. package/dist/commands/integrations/execute.d.ts +1 -0
  69. package/dist/commands/integrations/search.d.ts +1 -0
  70. package/dist/commands/integrations/toolkits.d.ts +1 -0
  71. package/dist/commands/integrations/tools/allow.d.ts +1 -0
  72. package/dist/commands/integrations/tools/list.d.ts +1 -0
  73. package/dist/commands/list-daemons.d.ts +2 -7
  74. package/dist/commands/list-daemons.js +13 -13
  75. package/dist/commands/login.js +78 -33
  76. package/dist/commands/logout.js +52 -1
  77. package/dist/commands/machines/hosted/start.js +1 -1
  78. package/dist/commands/pair.js +2 -2
  79. package/dist/commands/projects/create.js +6 -1
  80. package/dist/commands/projects/tasks.js +6 -1
  81. package/dist/commands/revoke-daemon.js +6 -2
  82. package/dist/commands/set-capabilities.js +6 -2
  83. package/dist/commands/skills/install.js +1 -1
  84. package/dist/commands/skills/library.js +2 -2
  85. package/dist/commands/spaces/create.js +6 -2
  86. package/dist/commands/tasks/complete.d.ts +1 -1
  87. package/dist/commands/tasks/complete.js +21 -8
  88. package/dist/commands/tasks/create.js +4 -1
  89. package/dist/commands/tasks/current.js +1 -1
  90. package/dist/commands/tasks/delete.d.ts +1 -0
  91. package/dist/commands/tasks/delete.js +9 -0
  92. package/dist/commands/tasks/export.js +5 -1
  93. package/dist/commands/tasks/follow-up.js +2 -1
  94. package/dist/commands/tasks/list.js +5 -1
  95. package/dist/commands/tasks/pr.js +1 -1
  96. package/dist/commands/tasks/show.js +10 -1
  97. package/dist/commands/tasks/triage.js +2 -1
  98. package/dist/commands/tasks/update.js +4 -1
  99. package/dist/commands/tasks/upsert.js +4 -1
  100. package/dist/commands/usage.js +1 -1
  101. package/dist/commands/whoami.js +4 -1
  102. package/dist/lib/agentic-stream.js +21 -1
  103. package/dist/lib/api-fetch.d.ts +1 -1
  104. package/dist/lib/api-fetch.js +1 -1
  105. package/dist/lib/auth-core-init.js +23 -3
  106. package/dist/lib/auth-storage.d.ts +0 -12
  107. package/dist/lib/auth-storage.js +37 -2
  108. package/dist/lib/config.d.ts +43 -3
  109. package/dist/lib/config.js +391 -31
  110. package/dist/lib/created-line.d.ts +22 -0
  111. package/dist/lib/created-line.js +25 -0
  112. package/dist/lib/daemon-binding.d.ts +29 -0
  113. package/dist/lib/daemon-binding.js +63 -0
  114. package/dist/lib/daemon-ref.d.ts +31 -0
  115. package/dist/lib/daemon-ref.js +47 -0
  116. package/dist/lib/daemonBroker.js +1 -1
  117. package/dist/lib/delegated-cli.js +3 -3
  118. package/dist/lib/exec-oversky.d.ts +18 -1
  119. package/dist/lib/exec-oversky.js +21 -4
  120. package/dist/lib/html-text.d.ts +15 -0
  121. package/dist/lib/html-text.js +40 -0
  122. package/dist/lib/keychain.d.ts +43 -0
  123. package/dist/lib/keychain.js +145 -4
  124. package/dist/lib/login.js +3 -3
  125. package/dist/lib/node-adapter.js +1 -1
  126. package/dist/lib/oauthLogin.js +17 -6
  127. package/dist/lib/sky-code-agent.d.ts +1 -1
  128. package/dist/lib/sky-code-agent.js +8 -8
  129. package/dist/lib/sky-code-broker.js +18 -2
  130. package/dist/lib/sky-code-doctor.js +120 -4
  131. package/dist/lib/sky-code-managed.d.ts +12 -0
  132. package/dist/lib/sky-code-managed.js +21 -7
  133. package/dist/lib/sky-code.d.ts +16 -1
  134. package/dist/lib/sky-code.js +110 -7
  135. package/dist/lib/task-execution.js +4 -11
  136. package/dist/lib/tasks.d.ts +1 -0
  137. package/dist/lib/tasks.js +9 -6
  138. package/dist/lib/update-check.js +1 -1
  139. package/dist/lib/usage-discovery.js +1 -1
  140. package/dist/lib/web-url.js +12 -1
  141. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialResolver.d.ts +1 -1
  142. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/credentialResolver.js +2 -2
  143. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.d.ts +1 -0
  144. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/index.js +13 -1
  145. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/kek/linux.js +16 -3
  146. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/legacyStatePreflight.d.ts +0 -9
  147. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/legacyStatePreflight.js +18 -1
  148. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/loginLocalhost.js +3 -3
  149. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/messages.js +3 -3
  150. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/runtime.d.ts +7 -3
  151. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/skyCodeChannels.d.ts +96 -0
  152. package/dist/node_modules/@skrr-ai/auth-core/dist/cjs/skyCodeChannels.js +115 -0
  153. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialResolver.d.ts +1 -1
  154. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/credentialResolver.js +2 -2
  155. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.d.ts +1 -0
  156. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/index.js +1 -0
  157. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/kek/linux.js +16 -3
  158. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/legacyStatePreflight.d.ts +0 -9
  159. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/legacyStatePreflight.js +18 -1
  160. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/loginLocalhost.js +3 -3
  161. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/messages.js +3 -3
  162. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/runtime.d.ts +7 -3
  163. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/skyCodeChannels.d.ts +96 -0
  164. package/dist/node_modules/@skrr-ai/auth-core/dist/esm/skyCodeChannels.js +107 -0
  165. package/dist/node_modules/@skrr-ai/auth-core/package.json +1 -1
  166. package/dist/node_modules/@skrr-ai/data-provider/index.js +4206 -4191
  167. package/dist/node_modules/@skrr-ai/inference-broker/dist/cjs/managed-inference-broker.js +2 -2
  168. package/dist/node_modules/@skrr-ai/inference-broker/dist/esm/managed-inference-broker.js +2 -2
  169. package/oclif.manifest.json +7969 -1397
  170. package/package.json +22 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -82,7 +82,7 @@
82
82
  "warn-if-update-available": {
83
83
  "timeoutInDays": 14,
84
84
  "registry": "https://registry.npmjs.org",
85
- "message": "<%= config.name %> <%= config.version %> is out of date \u2014 <%= latest %> is available. Run `npm update -g @skrr-ai/cli` (or update the skrr app)."
85
+ "message": "<%= config.name %> <%= config.version %> is out of date <%= latest %> is available. Run `npm update -g @skrr-ai/cli` (or update the skrr app)."
86
86
  },
87
87
  "topics": {
88
88
  "convos": {
@@ -149,7 +149,7 @@
149
149
  "description": "Read and set how an agent WRITES (its tone; audio timbre is `voiceId`)"
150
150
  },
151
151
  "tones": {
152
- "description": "The tone library \u2014 presets plus your own, and your account default"
152
+ "description": "The tone library presets plus your own, and your account default"
153
153
  },
154
154
  "tones:policy": {
155
155
  "description": "Workspace tone governance (owner-only writes)"
@@ -182,25 +182,25 @@
182
182
  "description": "Manage durable agent commitment contracts, each with its own check/reflection control loop"
183
183
  },
184
184
  "compass": {
185
- "description": "Author and audit an agent's compass \u2014 what 'good' looks like, its invariants, and its revision history"
185
+ "description": "Author and audit an agent's compass what 'good' looks like, its invariants, and its revision history"
186
186
  },
187
187
  "views": {
188
- "description": "Saved, personalized Task Views \u2014 cross-space queries you can name and share"
188
+ "description": "Saved, personalized Task Views cross-space queries you can name and share"
189
189
  },
190
190
  "tasks:workflow": {
191
- "description": "Drive a task's staged workflow \u2014 start, retry a stage, approve the merge gate, report e2e results"
191
+ "description": "Drive a task's staged workflow start, retry a stage, approve the merge gate, report e2e results"
192
192
  },
193
193
  "tasks:chat": {
194
- "description": "The task's durable discussion surface \u2014 epoch, exchanges, read marks, reopen, repair"
194
+ "description": "The task's durable discussion surface epoch, exchanges, read marks, reopen, repair"
195
195
  },
196
196
  "commitments:analytics": {
197
- "description": "Operator analytics across all commitments \u2014 health, stuck work, governance decisions, replay"
197
+ "description": "Operator analytics across all commitments health, stuck work, governance decisions, replay"
198
198
  },
199
199
  "commitments:endpoints": {
200
200
  "description": "Manage the delivery endpoints commitments report through (create, connect, health, revoke)"
201
201
  },
202
202
  "commitments:pack": {
203
- "description": "Bind and graduate a Commitment Pack (plan \u2192 bind \u2192 preflight \u2192 shadow \u2192 promote)"
203
+ "description": "Bind and graduate a Commitment Pack (plan bind preflight shadow promote)"
204
204
  },
205
205
  "commitments:goals": {
206
206
  "description": "Link and unlink the goals a commitment watches as sensors"
@@ -212,7 +212,7 @@
212
212
  "description": "List, apply, and dismiss a northstar's deterministic portfolio recommendations"
213
213
  },
214
214
  "northstars": {
215
- "description": "Govern the commitment portfolio under a northstar \u2014 review cadence, execution allocation, and management intents"
215
+ "description": "Govern the commitment portfolio under a northstar review cadence, execution allocation, and management intents"
216
216
  },
217
217
  "northstars:governance": {
218
218
  "description": "Read and configure the portfolio governor's analysis mode, execution mode, budgets and guards"
@@ -308,7 +308,7 @@
308
308
  "description": "Compatibility aliases for saved task templates"
309
309
  },
310
310
  "balance": {
311
- "description": "Your hosted usage balance \u2014 the ceiling that refuses a turn (not the x402 wallet)"
311
+ "description": "Your hosted usage balance the ceiling that refuses a turn (not the x402 wallet)"
312
312
  },
313
313
  "chats": {
314
314
  "description": "Manage group chats"
@@ -338,7 +338,7 @@
338
338
  "description": "Manage agent direct messages (1:1 main chat)"
339
339
  },
340
340
  "machines": {
341
- "description": "Manage your machines \u2014 the computers and hosted hosts your harnesses run on"
341
+ "description": "Manage your machines the computers and hosted hosts your harnesses run on"
342
342
  },
343
343
  "memory": {
344
344
  "description": "Manage agent memories"
@@ -350,7 +350,7 @@
350
350
  "description": "Wallet status and payment-aware service discovery (x402)"
351
351
  },
352
352
  "projects": {
353
- "description": "Manage projects \u2014 extensional task containers inside a space"
353
+ "description": "Manage projects extensional task containers inside a space"
354
354
  },
355
355
  "projects:docs": {
356
356
  "description": "Associate wiki pages and files with a project"
@@ -374,13 +374,16 @@
374
374
  "description": "Search the skrr store (agents, skills, teams)"
375
375
  },
376
376
  "daemon": {
377
- "description": "Manage the local skrr daemon (proxies to the `oversky` binary)"
377
+ "description": "Manage the local skrr runtime. Wraps the `skrrd` binary."
378
+ },
379
+ "daemons": {
380
+ "description": "Alias for `skrr daemon` — the same local runtime commands, plural spelling"
378
381
  },
379
382
  "browser": {
380
- "description": "Install, diagnose, and configure Sky Browser across harnesses and runtimes"
383
+ "description": "Install, diagnose, and configure skrr Browser across harnesses and runtimes"
381
384
  },
382
385
  "harnesses": {
383
- "description": "Manage your harnesses \u2014 one row per (machine, provider): your local Claude Code, Codex, Sky Code"
386
+ "description": "Manage your harnesses one row per (machine, provider): your local Claude Code, Codex, skrr Code"
384
387
  },
385
388
  "harnesses:grants": {
386
389
  "description": "Lend a harness to a workspace"
@@ -395,10 +398,10 @@
395
398
  "description": "Use an agent GitHub integration"
396
399
  },
397
400
  "token": {
398
- "description": "Mint and manage CLI tokens for headless machines"
401
+ "description": "Mint and manage CLI tokens for headless machines. The create/list/revoke trio is also reachable as `skrr tokens create|list|revoke`."
399
402
  },
400
403
  "tokens": {
401
- "description": "Manage long-lived CI tokens (create, list, revoke)"
404
+ "description": "Manage long-lived CI tokens — `tokens create`, `tokens list`, `tokens revoke`, the same commands as `create-token` / `list-tokens` / `revoke-token`."
402
405
  },
403
406
  "integrations": {
404
407
  "description": "Invoke integration tools and manage toolkit connections for an agent"
@@ -413,7 +416,7 @@
413
416
  "description": "Version and reconcile persistent CLAUDE.md / AGENTS.md instruction blocks"
414
417
  },
415
418
  "worklog": {
416
- "description": "Record and search what an agent has done \u2014 the write path a locally-run harness previously had no route to"
419
+ "description": "Record and search what an agent has done the write path a locally-run harness previously had no route to"
417
420
  },
418
421
  "workspaces": {
419
422
  "description": "Manage the workspaces available to this machine"