@robota-sdk/agent-cli 3.0.0-beta.84 → 3.0.0-beta.86

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 (38) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +9 -5
  3. package/dist/node/bin.js +10 -10
  4. package/dist/node/bounded-output-Bgx2Cgkx-28em7iHq.js +2 -0
  5. package/dist/node/bounded-output-Bgx2Cgkx-28em7iHq.js.map +1 -0
  6. package/dist/node/bounded-output-Bgx2Cgkx-C4ucXwLR.js +2 -0
  7. package/dist/node/cli-core-DOdGt9XE.js +2891 -0
  8. package/dist/node/command-executor-d6DdfUTD-3KEnsTnN.js +2 -0
  9. package/dist/node/command-executor-d6DdfUTD-DhFSDHvb.js +2 -0
  10. package/dist/node/{command-executor-BdE1zg3q-Br7z38P6.js.map → command-executor-d6DdfUTD-DhFSDHvb.js.map} +1 -1
  11. package/dist/node/headless.js +1 -1
  12. package/dist/node/{http-executor-cWzI2svn-TG_TMYKh.js → http-executor-ADn4locH-D-8crzF8.js} +2 -2
  13. package/dist/node/{http-executor-cWzI2svn-TG_TMYKh.js.map → http-executor-ADn4locH-D-8crzF8.js.map} +1 -1
  14. package/dist/node/{http-executor-cWzI2svn-Ype0naht.js → http-executor-ADn4locH-uz5KV6N-.js} +1 -1
  15. package/dist/node/index.d.ts +11 -4
  16. package/dist/node/index.d.ts.map +1 -1
  17. package/dist/node/index.js +353 -352
  18. package/dist/node/index.js.map +1 -1
  19. package/dist/node/node-B48couEE.js +14 -0
  20. package/dist/node/node-B48couEE.js.map +1 -0
  21. package/dist/node/{node-D_fk2mK2.js → node-BfqR16CD.js} +1 -1
  22. package/dist/node/{node-BhEYLQDQ.js → node-CgLYctGm.js} +5 -5
  23. package/dist/node/{node-BhEYLQDQ.js.map → node-CgLYctGm.js.map} +1 -1
  24. package/dist/node/{node-B_3rSS2i.js → node-DAOCaE6N.js} +4 -4
  25. package/dist/node/node-DlLm_kxn.js +14 -0
  26. package/dist/node/{verdict-decoder-Dk_w2NG9-Bka7Cldj.js → verdict-decoder-Dz_rjoIZ-DA8BKB83.js} +2 -2
  27. package/dist/node/{verdict-decoder-Dk_w2NG9-Bka7Cldj.js.map → verdict-decoder-Dz_rjoIZ-DA8BKB83.js.map} +1 -1
  28. package/dist/node/{verdict-decoder-Dk_w2NG9-BKWMtxp8.js → verdict-decoder-Dz_rjoIZ-qM0jJVsB.js} +1 -1
  29. package/package.json +33 -33
  30. package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js +0 -2
  31. package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js.map +0 -1
  32. package/dist/node/bounded-output-D3cgiOrh-kO7zrx1P.js +0 -2
  33. package/dist/node/cli-core-BloQpWhd.js +0 -2891
  34. package/dist/node/command-executor-BdE1zg3q-BGQmze1E.js +0 -2
  35. package/dist/node/command-executor-BdE1zg3q-Br7z38P6.js +0 -2
  36. package/dist/node/node-A7RJeEyA.js +0 -14
  37. package/dist/node/node-A7RJeEyA.js.map +0 -1
  38. package/dist/node/node-CCe6GM9V.js +0 -14
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @robota-sdk/agent-cli
2
2
 
3
+ ## 3.0.0-beta.86
4
+
5
+ ### Patch Changes
6
+
7
+ - 44bd221: Allow the desktop CLI to start and reconnect to its workspace daemon on Windows using private storage and a native local control pipe that verifies process ownership.
8
+
9
+ ## 3.0.0-beta.85
10
+
11
+ ### Minor Changes
12
+
13
+ - db35dcd: MCP approvals now outlive the process, and an approval takes effect at once. The `robota` CLI keeps
14
+ activation decisions in `~/.robota/mcp-approvals.json` (owner-only) unless the host passes its own
15
+ `mcpApprovalStore`, so an approved server connects at later starts until its definition changes.
16
+ `/mcp approve <server>` now also connects the server in the running session, the way `/mcp reload`
17
+ does, instead of waiting for a restart. A remote server without OAuth therefore connects once
18
+ approved; stdio servers still need a host-supplied authority.
19
+
20
+ ### Patch Changes
21
+
22
+ - 193a0bc: `${CLAUDE_SKILL_DIR}` in a skill expands to the absolute folder its `SKILL.md` is in; it used to expand to an empty string. A skill's `` !`command` `` gets `CLAUDE_SKILL_DIR` and `CLAUDE_SESSION_ID` in its environment, so the shell expands them there too (`TShellExecFn` takes an optional `env`). Skills from host folders and a trusted project carry the folder, and bundle-plugin skills and commands record theirs. `ICommand` gains `skillDirectory`, and `IContributionSource` an optional `locate()` that names the absolute path of a root-relative one.
23
+ - 3cfd5b9: Words after `--` are the prompt, never a subcommand or a flag. `robota -p -- init` used to run `robota init` (and `eval`, `user-local` or `mcp` likewise ran or refused as those commands), and a prompt spelling `--attach`, `--safe-mode` or `--restricted-workspace` acted as that flag; now each is sent to the model as text. A subcommand or flag given before `--` works as before.
24
+ - 4cee6fb: Report unsupported MCP transports at startup and reload instead of silently skipping them,
25
+ and distinguish plugin MCP declaration inspection from a runtime connection.
26
+ - 3ab2eca: - External presets accept every permission mode a session does, `auto` included; `auto` used to fail validation.
27
+ - `createDagFramework({ ports: { costMeta } })` wires cost-metadata management; without it cost operations still report that they are unsupported.
28
+ - `startCli()` runs the subagent worker when a subagent starts the embedder's entry script again, as the `robota` executable already did; an embedded CLI used to start a second CLI there.
29
+ - The provider `executor` option docs no longer import a `RemoteExecutor` that does not exist, and `IRemoteExecutorConfig` is marked deprecated: nothing implements a remote executor.
30
+
3
31
  ## 3.0.0-beta.84
4
32
 
5
33
  ### Minor Changes
package/README.md CHANGED
@@ -210,11 +210,10 @@ lets the model consult a second model. See [Providers](../../content/guide/provi
210
210
  ### Connect MCP servers, or serve Robota over MCP
211
211
 
212
212
  Declare remote MCP servers under `mcpServers` in a settings file. A declared server is not connected
213
- until you approve it: `/mcp` shows each server's state and `/mcp approve <server>` records your
214
- approval. The `robota` executable keeps approvals in memory only, so they do not carry over to the
215
- next start. A server that uses OAuth also needs a sign-in — `/mcp login <server>` in a session, or
216
- `robota mcp login <server>` in a terminal — and an approved server connects in the running session
217
- once you sign in.
213
+ until you approve it: `/mcp` shows each server's state, and `/mcp approve <server>` connects it in
214
+ the running session and keeps the approval in `~/.robota/mcp-approvals.json` for later starts. A
215
+ server that uses OAuth also needs a sign-in — `/mcp login <server>` in a session, or
216
+ `robota mcp login <server>` in a terminal — and connects once you sign in.
218
217
 
219
218
  ```json
220
219
  {
@@ -316,6 +315,11 @@ Other files the CLI keeps under `~/.robota/`:
316
315
  The package also exports `startCli`, the function the `robota` executable runs, and its options
317
316
  type `IStartCliOptions`. The package is ESM-only: load it with `import`, not `require()`.
318
317
 
318
+ A subagent runs in a child process that starts your entry script again with a worker flag; when
319
+ `startCli()` sees that flag it runs the subagent instead of the CLI, and the returned promise never
320
+ settles (the worker ends the process). So call `startCli()` from the script Node started, and put
321
+ nothing before it that must not run once per subagent.
322
+
319
323
  ## Work on the CLI in this repository
320
324
 
321
325
  ```bash