@robota-sdk/agent-cli 3.0.0-beta.84 → 3.0.0-beta.85
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/CHANGELOG.md +22 -0
- package/README.md +9 -5
- package/dist/node/bin.js +10 -10
- package/dist/node/bounded-output-Bgx2Cgkx-28em7iHq.js +2 -0
- package/dist/node/bounded-output-Bgx2Cgkx-28em7iHq.js.map +1 -0
- package/dist/node/bounded-output-Bgx2Cgkx-C4ucXwLR.js +2 -0
- package/dist/node/cli-core-DjVnz1-_.js +2891 -0
- package/dist/node/command-executor-d6DdfUTD-3KEnsTnN.js +2 -0
- package/dist/node/command-executor-d6DdfUTD-DhFSDHvb.js +2 -0
- package/dist/node/{command-executor-BdE1zg3q-Br7z38P6.js.map → command-executor-d6DdfUTD-DhFSDHvb.js.map} +1 -1
- package/dist/node/headless.js +1 -1
- package/dist/node/{http-executor-cWzI2svn-TG_TMYKh.js → http-executor-ADn4locH-D-8crzF8.js} +2 -2
- package/dist/node/{http-executor-cWzI2svn-TG_TMYKh.js.map → http-executor-ADn4locH-D-8crzF8.js.map} +1 -1
- package/dist/node/{http-executor-cWzI2svn-Ype0naht.js → http-executor-ADn4locH-uz5KV6N-.js} +1 -1
- package/dist/node/index.d.ts +11 -4
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +353 -352
- package/dist/node/index.js.map +1 -1
- package/dist/node/node-B48couEE.js +14 -0
- package/dist/node/node-B48couEE.js.map +1 -0
- package/dist/node/{node-BhEYLQDQ.js → node-CgLYctGm.js} +5 -5
- package/dist/node/{node-BhEYLQDQ.js.map → node-CgLYctGm.js.map} +1 -1
- package/dist/node/{node-D_fk2mK2.js → node-CpH9vRQt.js} +1 -1
- package/dist/node/{node-B_3rSS2i.js → node-DAOCaE6N.js} +4 -4
- package/dist/node/node-DlLm_kxn.js +14 -0
- package/dist/node/{verdict-decoder-Dk_w2NG9-Bka7Cldj.js → verdict-decoder-Dz_rjoIZ-DA8BKB83.js} +2 -2
- package/dist/node/{verdict-decoder-Dk_w2NG9-Bka7Cldj.js.map → verdict-decoder-Dz_rjoIZ-DA8BKB83.js.map} +1 -1
- package/dist/node/{verdict-decoder-Dk_w2NG9-BKWMtxp8.js → verdict-decoder-Dz_rjoIZ-qM0jJVsB.js} +1 -1
- package/package.json +33 -33
- package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js +0 -2
- package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js.map +0 -1
- package/dist/node/bounded-output-D3cgiOrh-kO7zrx1P.js +0 -2
- package/dist/node/cli-core-BloQpWhd.js +0 -2891
- package/dist/node/command-executor-BdE1zg3q-BGQmze1E.js +0 -2
- package/dist/node/command-executor-BdE1zg3q-Br7z38P6.js +0 -2
- package/dist/node/node-A7RJeEyA.js +0 -14
- package/dist/node/node-A7RJeEyA.js.map +0 -1
- package/dist/node/node-CCe6GM9V.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @robota-sdk/agent-cli
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.85
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- db35dcd: MCP approvals now outlive the process, and an approval takes effect at once. The `robota` CLI keeps
|
|
8
|
+
activation decisions in `~/.robota/mcp-approvals.json` (owner-only) unless the host passes its own
|
|
9
|
+
`mcpApprovalStore`, so an approved server connects at later starts until its definition changes.
|
|
10
|
+
`/mcp approve <server>` now also connects the server in the running session, the way `/mcp reload`
|
|
11
|
+
does, instead of waiting for a restart. A remote server without OAuth therefore connects once
|
|
12
|
+
approved; stdio servers still need a host-supplied authority.
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 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.
|
|
17
|
+
- 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.
|
|
18
|
+
- 4cee6fb: Report unsupported MCP transports at startup and reload instead of silently skipping them,
|
|
19
|
+
and distinguish plugin MCP declaration inspection from a runtime connection.
|
|
20
|
+
- 3ab2eca: - External presets accept every permission mode a session does, `auto` included; `auto` used to fail validation.
|
|
21
|
+
- `createDagFramework({ ports: { costMeta } })` wires cost-metadata management; without it cost operations still report that they are unsupported.
|
|
22
|
+
- `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.
|
|
23
|
+
- The provider `executor` option docs no longer import a `RemoteExecutor` that does not exist, and `IRemoteExecutorConfig` is marked deprecated: nothing implements a remote executor.
|
|
24
|
+
|
|
3
25
|
## 3.0.0-beta.84
|
|
4
26
|
|
|
5
27
|
### 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>`
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
`robota mcp login <server>` in a terminal — and
|
|
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
|