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

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 +68 -0
  2. package/README.md +226 -1181
  3. package/dist/node/bin.js +22 -22
  4. package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js +2 -0
  5. package/dist/node/bounded-output-D3cgiOrh-C5ywb_Yg.js.map +1 -0
  6. package/dist/node/bounded-output-D3cgiOrh-kO7zrx1P.js +2 -0
  7. package/dist/node/cli-core-BloQpWhd.js +2891 -0
  8. package/dist/node/{command-executor-DV-H2oD6-BfKoGoFw.js → command-executor-BdE1zg3q-BGQmze1E.js} +1 -1
  9. package/dist/node/{command-executor-DV-H2oD6-OKy8pwYH.js → command-executor-BdE1zg3q-Br7z38P6.js} +2 -2
  10. package/dist/node/{command-executor-DV-H2oD6-OKy8pwYH.js.map → command-executor-BdE1zg3q-Br7z38P6.js.map} +1 -1
  11. package/dist/node/headless.js +2 -2
  12. package/dist/node/index.d.ts +255 -99
  13. package/dist/node/index.d.ts.map +1 -1
  14. package/dist/node/index.js +381 -340
  15. package/dist/node/index.js.map +1 -1
  16. package/dist/node/node-A7RJeEyA.js +14 -0
  17. package/dist/node/node-A7RJeEyA.js.map +1 -0
  18. package/dist/node/node-B_3rSS2i.js +67 -0
  19. package/dist/node/node-BhEYLQDQ.js +67 -0
  20. package/dist/node/node-BhEYLQDQ.js.map +1 -0
  21. package/dist/node/node-CCe6GM9V.js +14 -0
  22. package/dist/node/{node-B8BhZ3NW.js → node-D_fk2mK2.js} +1 -1
  23. package/dist/web/assets/index-DSLs7oij.js +309 -0
  24. package/dist/web/assets/index-OqCBtMJ2.css +1 -0
  25. package/dist/web/index.html +2 -2
  26. package/package.json +37 -36
  27. package/dist/node/bounded-output-DpjpS98g-DFgAppgl.js +0 -2
  28. package/dist/node/bounded-output-DpjpS98g-DFgAppgl.js.map +0 -1
  29. package/dist/node/bounded-output-DpjpS98g-DoRuRGhV.js +0 -2
  30. package/dist/node/cli-core-CfQhvbx3.js +0 -2850
  31. package/dist/node/node-CC5tfdMu.js +0 -67
  32. package/dist/node/node-CC5tfdMu.js.map +0 -1
  33. package/dist/node/node-CsbnL0Yf.js +0 -67
  34. package/dist/node/node-DtKU0MUr.js +0 -14
  35. package/dist/node/node-DtKU0MUr.js.map +0 -1
  36. package/dist/node/node-j7KM8r3b.js +0 -14
  37. package/dist/web/assets/index-DbAewVPM.js +0 -244
  38. package/dist/web/assets/index-DzQQd7ql.css +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,73 @@
1
1
  # @robota-sdk/agent-cli
2
2
 
3
+ ## 3.0.0-beta.84
4
+
5
+ ### Minor Changes
6
+
7
+ - e8d70ac: A first run finds a provider, instead of a dead end. `robota --serve` (and the daemon it starts) no
8
+ longer refuses when no provider is configured: it starts in setup mode, and the GUI's conversation area
9
+ shows a "Connect a model provider to start" panel with a "Set up provider" button in place of the
10
+ composer. Answering it configures and swaps in the first provider live, with no restart. A startup
11
+ failure now says why — `robota daemon start --json` and the desktop app's fatal screen report the
12
+ child's own reason instead of a generic "readiness channel closed", and the fatal screen gets a Try
13
+ again button. `trust status --json` and the desktop trust dialog list only sources whose state trust
14
+ would actually change, instead of naming one this platform could not determine; the dialog shows one
15
+ sentence and a collapsed Details section. `robota --serve --open` in an untrusted folder now asks at
16
+ the terminal (trust it, start Restricted, or quit) when someone is there to ask, instead of refusing
17
+ outright.
18
+
19
+ ### Patch Changes
20
+
21
+ - 7e87bb2: A front end with a person in front can ask about an untrusted folder instead of being refused.
22
+ `robota trust status --json` reports the folder's trust state, whether a person can be asked, and
23
+ what trust would load. `robota daemon start --restricted-workspace` starts the daemon Restricted in a
24
+ folder that is not trusted yet, the choice that person made. A daemon reports whether it runs
25
+ Restricted: a Restricted start never reuses one with the project's configuration, and a plain start
26
+ in a folder trusted since never reuses a Restricted one; both refuse and name `robota daemon stop`. `pnpm gui:dev` asks at its terminal: trust the folder, start
27
+ Restricted, or quit.
28
+ - 4f35721: Starting a session from `robota session view` in a folder that is not trusted asks what to do
29
+ instead of failing. The question names the folder and lists what trust would load. The choices are
30
+ `y` to trust the folder and start, `r` to start it Restricted, and `n` to cancel. A Restricted answer
31
+ holds even if the folder was trusted meanwhile. Before, the view showed only "Start failed".
32
+
33
+ - `agent-cli` (patch):
34
+ - A background session started Restricted runs with `--restricted-workspace`.
35
+ - A headless start that asked to run Restricted is no longer refused for want of trust, the same
36
+ as `--safe-mode`.
37
+ - `agent-ui-terminal` (minor): the session view takes `startTrustQuestion`, which returns the
38
+ folder and what trust would load (`ISupervisedStartTrustQuestion`). `onStart` receives the person's
39
+ choice (`TSupervisedStartTrustChoice`).
40
+
41
+ - 4ee9596: Starting a new TUI session in an untrusted repository asks whether to trust the folder. Before, the
42
+ TUI started Restricted without saying so, and the project's settings, hooks, skills and MCP servers
43
+ were silently missing. The question comes before anything from the project is loaded and lists what
44
+ trust would load. A yes records the grant and starts normally. A no starts Restricted and asks again
45
+ next time. If the grant cannot be recorded, it says so and starts Restricted.
46
+
47
+ It is not asked:
48
+
49
+ - when resuming or continuing a session, which stays in the store it was saved in;
50
+ - for setup commands (`init`, `--configure`, `--configure-provider`, `--set-current`);
51
+ - with `--safe-mode`, or after a `/cd` into a Restricted folder;
52
+ - without a terminal;
53
+ - in a directory outside Git.
54
+
55
+ - 12a5b15: CLI fixes from the docs-refresh findings (#3275):
56
+
57
+ - `robota trust revoke` exits 0 when the revoke succeeds.
58
+ - `robota <subcommand> --help` prints that subcommand's help instead of running it, refusing an unknown option, or starting the terminal UI; commands with fuller help of their own (`usage`, `session list|view|attach`) keep printing it, and `robota mcp serve --help` prints to stdout.
59
+ - `robota --help` lists every option the parser accepts (`--goal`, `--goal-max-iterations`, `--provider`, `--set-current`, `--type`, `--base-url`, `--api-key`, `--api-key-env`, `--settings-scope`, `--session-log`, `--serve`, `--restricted-workspace`, `--disable-update-check`), `--effort` lists `none` and `minimal`, and `--bare` is described as what it does: print mode without instruction files or plugins.
60
+ - `robota session start --background --restricted-workspace` starts a background session Restricted, as the headless trust refusal already suggested.
61
+ - `robota "prompt"` opens the terminal UI with the prompt typed in, not yet sent.
62
+
63
+ - 29486da: A lost connection no longer drops a typed message or takes the person out of their session. While the
64
+ transport is not `connected`, the composer keeps its draft and Send explains why it cannot submit
65
+ ("Not connected"). A banner above the conversation — never a full-screen replacement — says "Connection
66
+ lost. Reconnecting…" while retries continue, and once they give up either offers a working Reconnect
67
+ (a host that can restart the runtime) or says how to reopen the page (a browser served by
68
+ `robota --serve --open`). A desktop Reconnect remembers the session the person was in and returns to it
69
+ once the restart's reload reconnects.
70
+
3
71
  ## 3.0.0-beta.83
4
72
 
5
73
  ### Minor Changes