@robota-sdk/agent-cli 3.0.0-beta.9 → 3.0.0-beta.90

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 (141) hide show
  1. package/CHANGELOG.md +2678 -0
  2. package/LICENSE +661 -21
  3. package/README.md +521 -170
  4. package/bin/agent.cjs +39 -0
  5. package/dist/node/bin.js +38 -9
  6. package/dist/node/bounded-output-BdWv9SX3-28em7iHq.js +2 -0
  7. package/dist/node/bounded-output-BdWv9SX3-28em7iHq.js.map +1 -0
  8. package/dist/node/bounded-output-BdWv9SX3-C4ucXwLR.js +2 -0
  9. package/dist/node/cli-core-YR-wNxJu.js +2918 -0
  10. package/dist/node/command-executor-D_UBZHxh-CVZipoOV.js +2 -0
  11. package/dist/node/command-executor-D_UBZHxh-CVZipoOV.js.map +1 -0
  12. package/dist/node/command-executor-D_UBZHxh-D7UrdAlN.js +2 -0
  13. package/dist/node/headless.js +4 -0
  14. package/dist/node/http-executor-ADn4locH-D-8crzF8.js +2 -0
  15. package/dist/node/http-executor-ADn4locH-D-8crzF8.js.map +1 -0
  16. package/dist/node/http-executor-ADn4locH-uz5KV6N-.js +2 -0
  17. package/dist/node/index.d.ts +5950 -36
  18. package/dist/node/index.d.ts.map +1 -0
  19. package/dist/node/index.js +2953 -13
  20. package/dist/node/index.js.map +1 -0
  21. package/dist/node/node-B9M9cLfF.js +165 -0
  22. package/dist/node/node-BUERQysz.js +15 -0
  23. package/dist/node/node-BWNobqRD.js +15 -0
  24. package/dist/node/node-BWNobqRD.js.map +1 -0
  25. package/dist/node/node-C1z7m4gZ.js +165 -0
  26. package/dist/node/node-C1z7m4gZ.js.map +1 -0
  27. package/dist/node/node-C4_FOvnk.js +2 -0
  28. package/dist/node/node-C4_FOvnk.js.map +1 -0
  29. package/dist/node/node-CHbqiARC.js +2 -0
  30. package/dist/node/node-DENLEmMT.js +2 -0
  31. package/dist/node/node-DENLEmMT.js.map +1 -0
  32. package/dist/node/rolldown-runtime-C9xYM0wc.js +1 -0
  33. package/dist/node/rolldown-runtime-DK3Fl9T5-BeX3Bzvn.js +2 -0
  34. package/dist/node/rolldown-runtime-DK3Fl9T5-DK3Fl9T5.js +2 -0
  35. package/dist/node/rolldown-runtime-DK3Fl9T5-DK3Fl9T5.js.map +1 -0
  36. package/dist/node/rolldown-runtime-rs7quPpn.js +2 -0
  37. package/dist/node/verdict-decoder-Dz_rjoIZ-DA8BKB83.js +2 -0
  38. package/dist/node/verdict-decoder-Dz_rjoIZ-DA8BKB83.js.map +1 -0
  39. package/dist/node/verdict-decoder-Dz_rjoIZ-qM0jJVsB.js +2 -0
  40. package/dist/web/assets/PretendardVariable.subset.0-BHUkWNFR.woff2 +0 -0
  41. package/dist/web/assets/PretendardVariable.subset.1-C-__qv6_.woff2 +0 -0
  42. package/dist/web/assets/PretendardVariable.subset.10-DzSWztS8.woff2 +0 -0
  43. package/dist/web/assets/PretendardVariable.subset.11-CqVmlKJn.woff2 +0 -0
  44. package/dist/web/assets/PretendardVariable.subset.12-BHuZSgT0.woff2 +0 -0
  45. package/dist/web/assets/PretendardVariable.subset.13-C42mj_j2.woff2 +0 -0
  46. package/dist/web/assets/PretendardVariable.subset.14-Bl512uUX.woff2 +0 -0
  47. package/dist/web/assets/PretendardVariable.subset.15-D04iXIE3.woff2 +0 -0
  48. package/dist/web/assets/PretendardVariable.subset.16-BQUnS2GX.woff2 +0 -0
  49. package/dist/web/assets/PretendardVariable.subset.17-BfZSA-Xc.woff2 +0 -0
  50. package/dist/web/assets/PretendardVariable.subset.18-CwAxMC3C.woff2 +0 -0
  51. package/dist/web/assets/PretendardVariable.subset.19-CJu4Zcdo.woff2 +0 -0
  52. package/dist/web/assets/PretendardVariable.subset.2-dCZkyKLw.woff2 +0 -0
  53. package/dist/web/assets/PretendardVariable.subset.20-Ig1-z3n5.woff2 +0 -0
  54. package/dist/web/assets/PretendardVariable.subset.21-yKPEdLXC.woff2 +0 -0
  55. package/dist/web/assets/PretendardVariable.subset.22-CSqxKoOs.woff2 +0 -0
  56. package/dist/web/assets/PretendardVariable.subset.23-DK80wi0t.woff2 +0 -0
  57. package/dist/web/assets/PretendardVariable.subset.24-CmkE8Q8D.woff2 +0 -0
  58. package/dist/web/assets/PretendardVariable.subset.25-CsoWBIZB.woff2 +0 -0
  59. package/dist/web/assets/PretendardVariable.subset.26-Sozl8dw8.woff2 +0 -0
  60. package/dist/web/assets/PretendardVariable.subset.27-CT6nuW9L.woff2 +0 -0
  61. package/dist/web/assets/PretendardVariable.subset.28-CpO0Y96p.woff2 +0 -0
  62. package/dist/web/assets/PretendardVariable.subset.29-D6hjrUWm.woff2 +0 -0
  63. package/dist/web/assets/PretendardVariable.subset.3-Dqw33sf4.woff2 +0 -0
  64. package/dist/web/assets/PretendardVariable.subset.30-CWDM1c0J.woff2 +0 -0
  65. package/dist/web/assets/PretendardVariable.subset.31-CdmyZ5mm.woff2 +0 -0
  66. package/dist/web/assets/PretendardVariable.subset.32-CGnFWD2i.woff2 +0 -0
  67. package/dist/web/assets/PretendardVariable.subset.33--0OT__YQ.woff2 +0 -0
  68. package/dist/web/assets/PretendardVariable.subset.34-CaCS33Md.woff2 +0 -0
  69. package/dist/web/assets/PretendardVariable.subset.35-DWFYRGLp.woff2 +0 -0
  70. package/dist/web/assets/PretendardVariable.subset.36-Dn5IBRQB.woff2 +0 -0
  71. package/dist/web/assets/PretendardVariable.subset.37-BD6FyOtY.woff2 +0 -0
  72. package/dist/web/assets/PretendardVariable.subset.38-D4hu443z.woff2 +0 -0
  73. package/dist/web/assets/PretendardVariable.subset.39-B_7wfth9.woff2 +0 -0
  74. package/dist/web/assets/PretendardVariable.subset.4-Bvh2YGoc.woff2 +0 -0
  75. package/dist/web/assets/PretendardVariable.subset.40-BDaOfdUe.woff2 +0 -0
  76. package/dist/web/assets/PretendardVariable.subset.41-BUACvzZC.woff2 +0 -0
  77. package/dist/web/assets/PretendardVariable.subset.42-Dp-5mnyL.woff2 +0 -0
  78. package/dist/web/assets/PretendardVariable.subset.43-DHdpry7N.woff2 +0 -0
  79. package/dist/web/assets/PretendardVariable.subset.44-qHopVhdd.woff2 +0 -0
  80. package/dist/web/assets/PretendardVariable.subset.45-BniyRFfm.woff2 +0 -0
  81. package/dist/web/assets/PretendardVariable.subset.46-BMRq7xC-.woff2 +0 -0
  82. package/dist/web/assets/PretendardVariable.subset.47-B-cWO2pw.woff2 +0 -0
  83. package/dist/web/assets/PretendardVariable.subset.48-Ct-fWrPO.woff2 +0 -0
  84. package/dist/web/assets/PretendardVariable.subset.49-BblQVys9.woff2 +0 -0
  85. package/dist/web/assets/PretendardVariable.subset.5-K_MNGNCe.woff2 +0 -0
  86. package/dist/web/assets/PretendardVariable.subset.50-C8IyFH7L.woff2 +0 -0
  87. package/dist/web/assets/PretendardVariable.subset.51-Bxd0gTAs.woff2 +0 -0
  88. package/dist/web/assets/PretendardVariable.subset.52-CNgqKOOJ.woff2 +0 -0
  89. package/dist/web/assets/PretendardVariable.subset.53-BSRnyb-u.woff2 +0 -0
  90. package/dist/web/assets/PretendardVariable.subset.54-Dt2-cQkx.woff2 +0 -0
  91. package/dist/web/assets/PretendardVariable.subset.55-jFgflYjX.woff2 +0 -0
  92. package/dist/web/assets/PretendardVariable.subset.56-BwZdvJZQ.woff2 +0 -0
  93. package/dist/web/assets/PretendardVariable.subset.57-BwFDg-Fs.woff2 +0 -0
  94. package/dist/web/assets/PretendardVariable.subset.58-DlucQts_.woff2 +0 -0
  95. package/dist/web/assets/PretendardVariable.subset.59-CMkWjhdo.woff2 +0 -0
  96. package/dist/web/assets/PretendardVariable.subset.6-Bxhohlcm.woff2 +0 -0
  97. package/dist/web/assets/PretendardVariable.subset.60-CeHezjjf.woff2 +0 -0
  98. package/dist/web/assets/PretendardVariable.subset.61-PUuTnod4.woff2 +0 -0
  99. package/dist/web/assets/PretendardVariable.subset.62-DGSAWCfb.woff2 +0 -0
  100. package/dist/web/assets/PretendardVariable.subset.63-B35xsm4O.woff2 +0 -0
  101. package/dist/web/assets/PretendardVariable.subset.64-CTbrgYF9.woff2 +0 -0
  102. package/dist/web/assets/PretendardVariable.subset.65-B66rjuyf.woff2 +0 -0
  103. package/dist/web/assets/PretendardVariable.subset.66-C3HqaDeY.woff2 +0 -0
  104. package/dist/web/assets/PretendardVariable.subset.67-BmuXdlDy.woff2 +0 -0
  105. package/dist/web/assets/PretendardVariable.subset.68-DS9B48d0.woff2 +0 -0
  106. package/dist/web/assets/PretendardVariable.subset.69-YT16ymcp.woff2 +0 -0
  107. package/dist/web/assets/PretendardVariable.subset.7-E2HaA55t.woff2 +0 -0
  108. package/dist/web/assets/PretendardVariable.subset.70-BUXiAGMT.woff2 +0 -0
  109. package/dist/web/assets/PretendardVariable.subset.71-DuPZj8us.woff2 +0 -0
  110. package/dist/web/assets/PretendardVariable.subset.72-pYYGrEQR.woff2 +0 -0
  111. package/dist/web/assets/PretendardVariable.subset.73-DMrK970F.woff2 +0 -0
  112. package/dist/web/assets/PretendardVariable.subset.74-D4tQnymK.woff2 +0 -0
  113. package/dist/web/assets/PretendardVariable.subset.75-CxKdrRNf.woff2 +0 -0
  114. package/dist/web/assets/PretendardVariable.subset.76-DhPm2b_q.woff2 +0 -0
  115. package/dist/web/assets/PretendardVariable.subset.77-DwaxqOC8.woff2 +0 -0
  116. package/dist/web/assets/PretendardVariable.subset.78-DhqRbBzT.woff2 +0 -0
  117. package/dist/web/assets/PretendardVariable.subset.79-XpoyPP38.woff2 +0 -0
  118. package/dist/web/assets/PretendardVariable.subset.8-CRbJhhyA.woff2 +0 -0
  119. package/dist/web/assets/PretendardVariable.subset.80-DsV9Qp_h.woff2 +0 -0
  120. package/dist/web/assets/PretendardVariable.subset.81-BZzF9Hb3.woff2 +0 -0
  121. package/dist/web/assets/PretendardVariable.subset.82-BgAHe30u.woff2 +0 -0
  122. package/dist/web/assets/PretendardVariable.subset.83-DF-zBLLe.woff2 +0 -0
  123. package/dist/web/assets/PretendardVariable.subset.84-Brb8EsYQ.woff2 +0 -0
  124. package/dist/web/assets/PretendardVariable.subset.85-Byo_x2hf.woff2 +0 -0
  125. package/dist/web/assets/PretendardVariable.subset.86-XG7lTN_6.woff2 +0 -0
  126. package/dist/web/assets/PretendardVariable.subset.87-Lzui2vbK.woff2 +0 -0
  127. package/dist/web/assets/PretendardVariable.subset.88-CqX6JSgh.woff2 +0 -0
  128. package/dist/web/assets/PretendardVariable.subset.89-DOzqWPpX.woff2 +0 -0
  129. package/dist/web/assets/PretendardVariable.subset.9-Btb3bmS6.woff2 +0 -0
  130. package/dist/web/assets/PretendardVariable.subset.90-BF7RiZjm.woff2 +0 -0
  131. package/dist/web/assets/PretendardVariable.subset.91-Csm0YNoH.woff2 +0 -0
  132. package/dist/web/assets/index-BSxTg2Py.css +1 -0
  133. package/dist/web/assets/index-BpCxNRj_.js +309 -0
  134. package/dist/web/index.html +15 -0
  135. package/package.json +165 -34
  136. package/dist/node/bin.cjs +0 -1348
  137. package/dist/node/bin.d.cts +0 -1
  138. package/dist/node/bin.d.ts +0 -1
  139. package/dist/node/chunk-CYMQY2IR.js +0 -1327
  140. package/dist/node/index.cjs +0 -1365
  141. package/dist/node/index.d.cts +0 -49
package/CHANGELOG.md ADDED
@@ -0,0 +1,2678 @@
1
+ # @robota-sdk/agent-cli
2
+
3
+ ## 3.0.0-beta.90
4
+ ### Minor Changes
5
+
6
+ - 7116367: Credentials the runtime holds for itself no longer reach the commands it runs.
7
+
8
+ - `agent-cli` — once a workspace's settings are admitted, every variable a provider profile or
9
+ definition names as its credential (`$ENV:` references, and defaults such as `OPENAI_API_KEY`)
10
+ leaves the process environment, so tools, hooks, background shells, a skill's `!` commands and
11
+ the environment an MCP header helper inherits no longer carry it, a hosted worker's broker token
12
+ included (a variable an MCP definition references explicitly still resolves); the provider keeps
13
+ authenticating from the startup snapshot. A user or managed settings layer can let
14
+ commands see one with `"commandEnvAllow": ["NAME"]`; project settings cannot. With the OS sandbox
15
+ on, confined commands can no longer read `settings.json`, `credentials/`, `mcp-credentials/` or
16
+ `remote-host-identity.json` under the user state directory. **Behavior change:** a command that
17
+ relied on inheriting a provider key now needs the opt-in, and a host embedding `startCli` finds
18
+ those variables gone from its own `process.env` afterwards — a later in-process call must pass them
19
+ in its `environment`.
20
+ - `agent-framework` — the settings schema gains `commandEnvAllow`; `checkSettingsDocument` and
21
+ `buildProviderProfilesSnapshot` take an optional environment map to resolve `$ENV:` references
22
+ against instead of the live process environment.
23
+ - `agent-command` — provider startup checks credentials against the host's environment snapshot.
24
+ - `agent-tools` — `OsSandboxClient` takes `hiddenPaths`, always hidden from confined commands and
25
+ not changeable by sandbox settings.
26
+ - `agent-subagent-runner` — a child-process subagent removes its provider credential variable from
27
+ its own environment once its provider is built, unless the start payload says the owner opted it in
28
+ (`keepProviderCredential`).
29
+ - `dag-node-instant-node` — prompt nodes accept an env resolver (`createPromptBackedNodeDefinition`'s
30
+ third argument, `rehydrateInstantNode`'s `resolveEnv`) for their `$ENV:` credential default.
31
+ - `agent-command-workflows` — `/workflows create` and `/workflows run` resolve prompt-node credentials
32
+ from the host's environment snapshot.
33
+
34
+ ### Patch Changes
35
+
36
+ - 5bb675a: Provider commands check a profile's `$ENV:` or default credential against the host's environment snapshot, so `/provider switch`, `/provider test`, `/provider add`, `/provider edit` and a cross-profile `/model` keep working while the runtime withholds its own credentials from `process.env`.
37
+
38
+ - `IProviderCommandModuleOptions` takes an optional `env`, and `createDefaultCommandModules` takes `providerEnvironment`. The CLI passes its startup snapshot.
39
+ - The git that isolated subagents run, and so the repository's hooks, now get the command environment instead of the full snapshot.
40
+
41
+ ## 3.0.0-beta.89
42
+ ### Minor Changes
43
+
44
+ - 3427887: `--serve --http-port` can serve the agent HTTP API as an OAuth resource server: with `--http-public-url`, `--oauth-issuer`, `--oauth-scopes` and `--oauth-allowed-subjects` (plus optional `--http-host` and `--trusted-proxy`) it may bind a non-loopback address and admits access tokens through the same shared resource-server gate as `mcp serve`. Without them it stays loopback with the `PRODUCT_HTTP_TOKEN` bearer.
45
+
46
+ The refusal answer shared by both resource-server carriers (503 for unavailable issuer keys, uncounted; counted challenge otherwise) is now `refuseAccessToken` in `@robota-sdk/agent-transport/node`.
47
+
48
+ ### Patch Changes
49
+
50
+ - ca44ac6: HTTP clients can now receive and answer permission and ask prompts. `POST /submit` with `receivePrompts: true` streams `permission_request`, `ask_request` and `prompt_resolved`. `GET /prompts` lists the prompts still open, so a client that attaches later can see them, and `POST /prompts/:id` answers one; an id that is not open returns 404, and an answer the session did not take returns 409. Clients that omit `receivePrompts` see no change. `IHttpTransportSession` now also requires `resolvePermission` and `resolveAsk`, which `InteractiveSession` already implements. The `--serve --http-port` API gains these routes as well.
51
+
52
+ ## 3.0.0-beta.88
53
+
54
+ ### Minor Changes
55
+
56
+ - b96b81a: `--serve --http-port <port>` also serves the agent HTTP API on `127.0.0.1:<port>`, so other
57
+ applications and services can submit a prompt and stream its result over SSE, run a slash command,
58
+ abort and read the conversation without a Robota client library. Requests are admitted by the
59
+ bearer in `PRODUCT_HTTP_TOKEN` (at least 32 characters), which the runtime removes from its
60
+ environment before any command runs; the API binds loopback only and is reached from elsewhere
61
+ through the operator's own proxy. `--http-port` keeps its `mcp serve` meaning.
62
+
63
+ ### Patch Changes
64
+
65
+ - 853e585: Print mode (`-p`, `--goal`) waits for stdout and stderr to flush before exiting, so a result larger than the pipe buffer is no longer cut off when stdout is a pipe on macOS (for example `-p /help --output-format json`).
66
+
67
+ ## 3.0.0-beta.87
68
+
69
+ ### Minor Changes
70
+
71
+ - 7d9cc66: Preserve an explicitly supplied host tool scheduling policy through session assembly and CLI presentation modes, retaining permission admission and conservative handling of undeclared resources.
72
+
73
+ ### Patch Changes
74
+
75
+ - 66af868: Restore portable default startup for generated Robota artifacts while preserving explicit product selection and immutable identity. Keep shared product configuration internal because existing SDK and CLI artifacts bundle its implementation and types.
76
+ - Release the migrated Robota product with its public SDK namespace, robota command, compatible SDK exports, internal product configuration, and verified CLI startup and delivery corrections.
77
+ - 7d9cc66: Expose declarative contribution descriptors for installed bundles and resolved MCP sources,
78
+ including source generations, host capability requirements and compatibility diagnostics.
79
+ Revalidate MCP approval, source identity and workspace trust before new dispatch, preserving
80
+ outcomes of calls already started and refusing retained tools after shutdown.
81
+ - 7d9cc66: Resume hosted conversations in freshly provisioned workers using verified checkpoint records while rebuilding current prompts, policy and execution state.
82
+ - 7d9cc66: Load declared JSON and inline bundle MCP configurations with selected-source containment, ordered whole-server replacement and file provenance. Route packaged servers through normal CLI/app MCP startup with namespaced identities, existing trust/approval/authority gates, disable overlays and value-free compatibility diagnostics.
83
+ - 7d9cc66: Add owner-side clean E2B worker provisioning and verified filesystem recovery with fresh identity and epoch, explicit failure reconciliation, and no paused-memory execution fallback.
84
+ - 7d9cc66: Add owner-hosted organization control and OpenAI-wire gateway composition with anchored authority, mandatory verified audit, durable effect reservations, provider inventory cleanup and private content receipts. OpenAI profiles can opt into operation identities preserved across SDK retries.
85
+ - 7d9cc66: Load external name-only plugin manifests without inventing optional metadata. Select the recorded
86
+ installed source instead of the lexically last cached directory, refusing invalid, missing or
87
+ ambiguous revisions. Check the installed identity as well as the manifest name for disablement.
88
+ - 7d9cc66: Pass the child execution root and restored sandbox to hook composition. The stock CLI explicitly refuses command and HTTP hooks for separate task workers whose hook capabilities are unavailable, instead of executing those hooks on the host.
89
+ - 7d9cc66: Connect explicitly selected stateless MCP servers through product startup. Preserve and expose the selected protocol, bind activation approval to it, refuse unsupported selections, and report unavailable protocol capabilities without widening process or network authority.
90
+ - 7d9cc66: Add explicit MCP Skills selection, bounded supervisor access and persistent host content consent.
91
+ Users can inspect verified instructions, approve the exact content fingerprint and withdraw consent;
92
+ models can discover metadata only. Consent stays separate from server admission and model-turn activation.
93
+ - 7d9cc66: Route discovered MCP Skills through the shared skill command runtime with lazy verified content, source-bound invocation names, current user consent and execution-owned activation cleanup. Keep remote shell expressions inert and defer queued user skill reads until their own turn executes.
94
+ - 7d9cc66: Connect the desktop to an owner-bound remote task through scoped TLS credentials, durable replay protection, current company authority and a separate native operator approval channel. Keep remote credentials and local filesystem capabilities outside the renderer's remote task connection.
95
+ - 7d9cc66: Reconstruct visible session history from verified hosted conversation checkpoints without importing old system messages or execution events.
96
+ - 7d9cc66: Retain an owner shutdown signal received while a served runtime initializes, and release its signal handlers when the run settles.
97
+ - 7d9cc66: Require hosted admission protocol v2 with signed root-task ownership. Add a pinned E2B SDK connector that checks admitted worker ownership and network configuration before connecting, keeps management credentials outside task operations, and retains provider teardown failures.
98
+ - 7d9cc66: Expose verified skill supporting resources only within their owning turn or fork, using the current host consent and manifest.
99
+ - 7d9cc66: Run the stock hosted CLI inside an admitted E2B task worker with broker-signed scoped access, pinned worker artifacts, runtime-owned input/output and provider cleanup.
100
+ - 7d9cc66: Observe scheduler queue intervals separately from pre-dispatch admission, permission and tool work.
101
+ Preserve valid duration totals when live trace detail is bounded, reporting invalid evidence explicitly
102
+ through content-free console and OTLP traces without altering dispatch, recovery or settlement.
103
+ - 7d9cc66: Require version-3 hosted admission with broker-signed cumulative usage and owner-selected runtime ceilings. Collect accounting before dispatch, on refresh and at completion; stop and release owned execution when accounting or limits fail. Operator deployments and issuers must migrate from version 2.
104
+
105
+ Connect authenticated runtime loopback clients to the stock hosted worker daemon through owned provider command streams. Hosted serve requires a private owner-selected ingress configuration and uses a separate worker launch token; stop closes clients and the listener before cleanup settles.
106
+
107
+ ## 3.0.0-beta.86
108
+
109
+ ### Patch Changes
110
+
111
+ - 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.
112
+
113
+ ## 3.0.0-beta.85
114
+
115
+ ### Minor Changes
116
+
117
+ - db35dcd: MCP approvals now outlive the process, and an approval takes effect at once. The `robota` CLI keeps
118
+ activation decisions in `$PRODUCT_USER_STATE_DIR/mcp-approvals.json` (owner-only) unless the host passes its own
119
+ `mcpApprovalStore`, so an approved server connects at later starts until its definition changes.
120
+ `/mcp approve <server>` now also connects the server in the running session, the way `/mcp reload`
121
+ does, instead of waiting for a restart. A remote server without OAuth therefore connects once
122
+ approved; stdio servers still need a host-supplied authority.
123
+
124
+ ### Patch Changes
125
+
126
+ - 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.
127
+ - 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.
128
+ - 4cee6fb: Report unsupported MCP transports at startup and reload instead of silently skipping them,
129
+ and distinguish plugin MCP declaration inspection from a runtime connection.
130
+ - 3ab2eca: - External presets accept every permission mode a session does, `auto` included; `auto` used to fail validation.
131
+ - `createDagFramework({ ports: { costMeta } })` wires cost-metadata management; without it cost operations still report that they are unsupported.
132
+ - `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.
133
+ - The provider `executor` option docs no longer import a `RemoteExecutor` that does not exist, and `IRemoteExecutorConfig` is marked deprecated: nothing implements a remote executor.
134
+
135
+ ## 3.0.0-beta.84
136
+
137
+ ### Minor Changes
138
+
139
+ - e8d70ac: A first run finds a provider, instead of a dead end. `robota --serve` (and the daemon it starts) no
140
+ longer refuses when no provider is configured: it starts in setup mode, and the GUI's conversation area
141
+ shows a "Connect a model provider to start" panel with a "Set up provider" button in place of the
142
+ composer. Answering it configures and swaps in the first provider live, with no restart. A startup
143
+ failure now says why — `robota daemon start --json` and the desktop app's fatal screen report the
144
+ child's own reason instead of a generic "readiness channel closed", and the fatal screen gets a Try
145
+ again button. `trust status --json` and the desktop trust dialog list only sources whose state trust
146
+ would actually change, instead of naming one this platform could not determine; the dialog shows one
147
+ sentence and a collapsed Details section. `robota --serve --open` in an untrusted folder now asks at
148
+ the terminal (trust it, start Restricted, or quit) when someone is there to ask, instead of refusing
149
+ outright.
150
+
151
+ ### Patch Changes
152
+
153
+ - 7e87bb2: A front end with a person in front can ask about an untrusted folder instead of being refused.
154
+ `robota trust status --json` reports the folder's trust state, whether a person can be asked, and
155
+ what trust would load. `robota daemon start --restricted-workspace` starts the daemon Restricted in a
156
+ folder that is not trusted yet, the choice that person made. A daemon reports whether it runs
157
+ Restricted: a Restricted start never reuses one with the project's configuration, and a plain start
158
+ 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
159
+ Restricted, or quit.
160
+ - 4f35721: Starting a session from `robota session view` in a folder that is not trusted asks what to do
161
+ instead of failing. The question names the folder and lists what trust would load. The choices are
162
+ `y` to trust the folder and start, `r` to start it Restricted, and `n` to cancel. A Restricted answer
163
+ holds even if the folder was trusted meanwhile. Before, the view showed only "Start failed".
164
+
165
+ - `agent-cli` (patch):
166
+ - A background session started Restricted runs with `--restricted-workspace`.
167
+ - A headless start that asked to run Restricted is no longer refused for want of trust, the same
168
+ as `--safe-mode`.
169
+ - `agent-ui-terminal` (minor): the session view takes `startTrustQuestion`, which returns the
170
+ folder and what trust would load (`ISupervisedStartTrustQuestion`). `onStart` receives the person's
171
+ choice (`TSupervisedStartTrustChoice`).
172
+
173
+ - 4ee9596: Starting a new TUI session in an untrusted repository asks whether to trust the folder. Before, the
174
+ TUI started Restricted without saying so, and the project's settings, hooks, skills and MCP servers
175
+ were silently missing. The question comes before anything from the project is loaded and lists what
176
+ trust would load. A yes records the grant and starts normally. A no starts Restricted and asks again
177
+ next time. If the grant cannot be recorded, it says so and starts Restricted.
178
+
179
+ It is not asked:
180
+
181
+ - when resuming or continuing a session, which stays in the store it was saved in;
182
+ - for setup commands (`init`, `--configure`, `--configure-provider`, `--set-current`);
183
+ - with `--safe-mode`, or after a `/cd` into a Restricted folder;
184
+ - without a terminal;
185
+ - in a directory outside Git.
186
+
187
+ - 12a5b15: CLI fixes from the docs-refresh findings (#3275):
188
+
189
+ - `robota trust revoke` exits 0 when the revoke succeeds.
190
+ - `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.
191
+ - `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.
192
+ - `robota session start --background --restricted-workspace` starts a background session Restricted, as the headless trust refusal already suggested.
193
+ - `Robota "prompt"` opens the terminal UI with the prompt typed in, not yet sent.
194
+
195
+ - 29486da: A lost connection no longer drops a typed message or takes the person out of their session. While the
196
+ transport is not `connected`, the composer keeps its draft and Send explains why it cannot submit
197
+ ("Not connected"). A banner above the conversation — never a full-screen replacement — says "Connection
198
+ lost. Reconnecting…" while retries continue, and once they give up either offers a working Reconnect
199
+ (a host that can restart the runtime) or says how to reopen the page (a browser served by
200
+ `robota --serve --open`). A desktop Reconnect remembers the session the person was in and returns to it
201
+ once the restart's reload reconnects.
202
+
203
+ ## 3.0.0-beta.83
204
+
205
+ ### Minor Changes
206
+
207
+ - 3c81769: A supervised session accepts attach connections on its control socket.
208
+
209
+ - A terminal of the same user sends `{"command":"attach","id","generation","mode":"drive"|"observe","protocol":1}`.
210
+ The session compares the generation with its own. It refuses another generation, an unknown mode or
211
+ protocol, or a fifth concurrent attach. Otherwise it answers `{"status":"attached","driverId":"attach:<n>"}`
212
+ and carries the ordinary session protocol as newline-delimited JSON on the same connection.
213
+ - The driver id is assigned by the session and a client-sent one is ignored. Turns submitted from an
214
+ attached terminal are attributed to it and counted under the new `attach` usage surface.
215
+ - `drive` sends prompts and answers the session's questions under the usual co-drive rules. `observe`
216
+ is read-only and never counts as a surface that can answer, so an unattended session still denies
217
+ its prompts at once.
218
+ - Detaching or crashing ends only that connection: a turn in progress keeps running, a prompt no other
219
+ surface can answer is denied, and the session returns to its unattached posture. A reader that falls
220
+ 1 MiB behind is disconnected, and an oversize frame closes only its own connection. Stopping the
221
+ session ends attached connections with it.
222
+ - Commands from an attached terminal carry the remote origin, so pairing, revoking and reading the
223
+ pairing link stay refused. An attached terminal is never an operator approver; supervised sessions
224
+ keep refusing mesh connections that need one.
225
+ - A client may send its first frames in the same write as the handshake; only the handshake line
226
+ itself is held to the control endpoint's line limit.
227
+ - `agent-framework`: the surface a turn was submitted on now reaches its usage observation. It was
228
+ dropped before, so remote-control turns were counted as `unknown`.
229
+ - The terminal client (`robota session attach`) and the view keys come separately.
230
+
231
+ - 617b795: `robota session attach <id> [--observe]` puts this terminal on a live supervised session.
232
+
233
+ - It asks first, on the controlling terminal, naming the session and the role: drive (send prompts,
234
+ answer its questions) or observe (read only). The yes holds only for the process start it named: if
235
+ the session restarted meanwhile, the attach is refused.
236
+ - It needs an interactive terminal. Without one (a script, or an agent running shell commands) it is
237
+ refused and prints the command for the user to run. It is not available as a slash command or a
238
+ model tool.
239
+ - The terminal view shows the conversation so far, then follows the session live: streaming replies,
240
+ tools, other terminals' prompts, queued input and questions. In drive mode it sends prompts and
241
+ `/commands` and answers permission prompts and questions; a question answered on another surface is
242
+ dismissed. Observe mode is labelled read-only and sends nothing but reads.
243
+ - `/exit`, `/quit`, Ctrl-C and Ctrl-] detach. Nothing is sent to the session, so its turn continues and
244
+ it keeps running; stop it with `robota session stop` or from `robota session view`.
245
+ - The attached terminal is the full terminal UI (`renderAttachedApp` in `agent-ui-terminal`).
246
+ - A handshake from a connection that already closed no longer holds one of the session's attach slots.
247
+
248
+ - 724fabb: External-event grants are given at start, carried exactly to a background session, listed without their
249
+ principal, and revoked by the owner.
250
+
251
+ - `agent-framework` (breaking) — `openExternalEventSource` and `ExternalEventIngress.open` take only
252
+ `{ grant, audit? }`: the session builds each grant's verifier from `grant.verifier` with the
253
+ `externalEventVerifierFactory` its host passed when the session was built (without one, no grant opens), and an
254
+ open that supplies a verifier or a factory is refused. `IExternalEventSource.revoke()` stops the grant's queued and running turns,
255
+ refuses its later events as `grant-revoked`, and keeps the label from being opened again. A submission the
256
+ session refuses is `shutting-down` only while it shuts down, and `session-unavailable` otherwise. New command
257
+ host adapter `externalEvents` (`ICommandExternalEventsAdapter`).
258
+ - `agent-ui-terminal` — forwards `externalEventVerifierFactory` from the render options to the session.
259
+ - `agent-interface-transport` — `TExternalEventRefusal` gains `session-unavailable`.
260
+ - `agent-command` — `/events` lists the session's grants (label, principal kind, state, counts) and
261
+ `/events revoke <grant-id>` withdraws one. User-only.
262
+ - `agent-cli` — a grant file (`grantId`, `issuer`, `resource` ending in `/events/<grantId>`, exactly one of
263
+ `subject` or `client`, `scopes`, optional `algorithms` and `rate`) is validated before anything starts, with a
264
+ reason that names the grant and no configured value. `robota --external-event-grant <file>` (TUI) and
265
+ `robota session start --background --external-event-grant <file>` open every grant or fail the start; a
266
+ background session receives its grants through a private file, opens them before it reports ready, and the
267
+ launcher refuses a readiness that names other grants. `robota session events list <id> [--json]` and
268
+ `robota session events revoke <id> <grant-id>` work over the generation-bound control socket, and
269
+ `robota session list --format json` shows each grant's counts. The retired `--external-event-allow` now points
270
+ at `--external-event-grant`.
271
+
272
+ - d877de2: External events arrive over HTTP: `POST <public-url>/events/<grant-id>`, on a loopback port behind the owner's own
273
+ HTTPS proxy or tunnel.
274
+
275
+ - `agent-transport` — `./node` exports the resource-server gate every token-admitted HTTP carrier shares:
276
+ `createBearerResourceServer` (Host and Origin checked against the public URL, trusted-proxy `X-Forwarded-For`,
277
+ a failure-only throttle per address, coarse address classes), `describeProtectedResource` (RFC 9728 metadata
278
+ path and body, RFC 6750 challenges), `serveProtectedResourceMetadata`, `refuseBearerToken` and
279
+ `parsePublicHttpsUrl`.
280
+ - `agent-transport-mcp` — the remote MCP gate is composed from that shared gate; its answers are unchanged.
281
+ - `agent-cli` — each grant is its own endpoint and audience (its resource is `<public-url>/events/<grant-id>`).
282
+ An admitted event answers `202 {"turnId"}`; refusals have an empty body: 401 with the `invalid_token` or
283
+ missing-token challenge, 403 `insufficient_scope` or a revoked grant, 400 a malformed event, 404 an unknown
284
+ grant, 413 a body over 16 KiB, 429 over the grant's rate or the address's failure budget, 503 when the issuer
285
+ or the session cannot take it. `--external-event-port <port>` (required with grants) and
286
+ `--external-event-trusted-proxy <ip>` work on the TUI and on `robota session start --background`. A background
287
+ session writes an owner-only, bounded JSONL trail of refusals and settlements under its supervised directory;
288
+ the TUI reports them on one line each.
289
+
290
+ - 0d78a17: An MCP server is no longer a carrier for external events: a server connection proves nothing about who wrote a
291
+ message, and external events are now admitted only by a verified access token.
292
+
293
+ - `agent-mcp` (breaking) — `MCP_EXTERNAL_EVENT_CAPABILITY`, `MCP_EXTERNAL_EVENT_METHOD`, `IMCPExternalEvent` and
294
+ `TMCPExternalEventListener` are removed, as are `IMCPSession.externalEventsDeclared`,
295
+ `IMCPSession.onExternalEvent`, `IMCPSession.onClose` and `MCPConnectionSupervisor.onExternalEvent`. A server
296
+ that declares `com.Robota.external-event` or sends its notification is served as any other server and the
297
+ notification is ignored. The `zod` dependency is dropped.
298
+ - `agent-cli` (breaking) — `IMcpClientComposition.subscribeExternalEvent` and
299
+ `IMcpServerConnection.onExternalEvent` are removed.
300
+
301
+ - bfe8ed5: An external event is admitted only by a bearer access token the session verifies itself, and its sender is the
302
+ grant that token matched, never a name in the event.
303
+
304
+ - `agent-interface-transport` — `IExternalEventGrant` (a label, an access-token verifier configuration that pins
305
+ exactly one subject or client, the `message` kind, optional turn-rate windows), `IExternalEventDelivery` (the
306
+ token and the event as a carrier received them), the closed `TExternalEventRefusal` set, `TExternalEventAdmission`
307
+ and the content-free `TExternalEventAuditRecord`.
308
+ - `agent-framework` (breaking) — `ExternalEventIngress.open` and `InteractiveSession.openExternalEventSource` take
309
+ `{ grant, verifier, audit? }` instead of `{ id, allowedSenders, authenticate }`, and `receive` takes
310
+ `{ token, event }`. A delivery is refused with a stable word when the token is missing or the verifier refuses
311
+ it, when the token was already spent on an event (`jti`), when the event is malformed or oversize, or when the
312
+ grant is over its rate; nothing refused reaches the queue. An admitted event is attributed
313
+ `external:<grant>:<conversation>`, a payload display name appears in the envelope only as `claimed-name`, and the
314
+ receipt (`TExternalEventReceipt`) answers at acceptance with the turn id. Every refusal and settlement is
315
+ reported to the `audit` sink without content, conversation, name or token. `IAuthenticatedExternalEvent` and
316
+ `IExternalEventReceipt` are removed.
317
+ - `agent-cli` (breaking) — `--external-event-allow` is refused with the reason: a sender name relayed by an MCP
318
+ server does not prove who sent an event.
319
+
320
+ - 1706d29: `robota session view` attaches to and peeks at sessions.
321
+
322
+ - `a` attaches to the selected session to drive it, and `p` peeks at it read-only. Both are offered, in
323
+ the footer and in help, only on a row that is alive, controllable and verified. The view asks first,
324
+ naming the role. The yes is held to the process start the row showed: if the session restarted or
325
+ lost control meanwhile, the attach is refused. Detaching returns to the view, on the same row and
326
+ grouping, without printing the screen-reader line again.
327
+ - **Breaking:** opening a row's linked PR moves from `p` to `o`.
328
+ - The attached view shows the keys for what is on screen: sending, answering a permission, or
329
+ answering a question. With a screen reader it words every line ("Prompt from attach:2: …",
330
+ "Tool started: …", "Permission needed: …") and uses no symbols.
331
+ - Questions wait their turn: a second permission request or question no longer replaces the one on
332
+ screen, and one settled elsewhere leaves the queue.
333
+ - Line breaks inside pasted text become spaces instead of sending the text. In a masked answer they are
334
+ dropped, so a copied key that ends with a line break is kept exactly.
335
+ - `robota session attach` accepts `--screen-reader` and `--no-screen-reader`.
336
+ - The attach client closes a connection that sends more frames than it can hold before the view reads
337
+ them.
338
+
339
+ - 28fa8a7: `/devices add` and `/devices join` enrol a new device into your devices.
340
+
341
+ - On a device that holds the signing key, `/devices add` shows a one-time code on the terminal. It
342
+ works once, for five minutes.
343
+ - On the new device, `/devices join [name]` asks for the code on the terminal, creates the device's
344
+ keys, and meets the other device through the signaling relay in
345
+ `transports.webrtc.options.relayUrl`. Both devices need that setting.
346
+ - The new device proves the code over the WebRTC connection's DTLS fingerprints before anything else
347
+ crosses, so a relay in the middle cannot enrol anyone.
348
+ - Both devices then show the same six digits, and both operators compare them and confirm. Someone
349
+ who saw the code cannot choose the digits: the new device commits to its part before it sees the
350
+ existing device's.
351
+ - Only when both operators say yes does the existing device certify the new one and issue a new
352
+ roster. The new device keeps its identity only once the chain it receives verifies.
353
+ - A wrong, expired or already used code is refused. So is a code after a few failed attempts. When
354
+ either operator declines, nothing is issued or kept.
355
+ - The code appears only on the two terminals. It never reaches history, transcripts or the model. A
356
+ code typed as a command argument is refused. Both commands stay user-only and refuse remote
357
+ surfaces.
358
+ - `agent-remote-pairing`: enrollment codes, the enrollment proof, the signed request with its
359
+ commitment, the short authentication string and the frame decoder.
360
+ - `agent-transport-webrtc`: `dialEnrollment` and `listenForEnrollment` provide a data channel bound to
361
+ the negotiated fingerprints.
362
+
363
+ - 4f49d14: The device mesh can be turned on, and `/peers`, `/handoff` and `/devices` reach the user's other devices.
364
+
365
+ - New user setting `transports.mesh.enabled` (default `false`). When it is `true`, an interactive
366
+ session opens the device mesh at startup and closes it on exit. Only the user settings count; a
367
+ project's settings cannot turn it on. Print and serve runs never open it, and a device without an
368
+ identity is told to run `/devices init`. Only one session of a device opens it at a time; another
369
+ session on the same device says so in `/devices` and links nothing.
370
+ - By default a linked device may send messages, files and sessions. Each file and each session still
371
+ waits for the operator's yes on this machine's terminal; with no terminal the answer is no.
372
+ Delegating, observing and driving stay off unless `transports.mesh.options.capabilities` lists
373
+ them.
374
+ - A message from a linked device arrives like one from a session on this host: a peer turn with no
375
+ authority, attributed to the device the handshake proved, under the same rate limit and
376
+ conversation limits.
377
+ - `/peers` lists linked devices beside the sessions on this host; `/peers send` and
378
+ `/peers send-file` take a device id. `/handoff` lists linked devices and pushes the session to one.
379
+ Files arrive in the usual place aside, and sessions are saved without starting.
380
+ - `/devices` shows whether the mesh is on, how this device finds the others, and which are linked.
381
+ - The mesh uses the relay at `transports.webrtc.options.relayUrl` when one is set. Without one it
382
+ finds devices on the local network and over the public ways in `transports.mesh.options`.
383
+ - `/peers`, `/handoff` and `/devices` stay user-only. Their descriptions tell the model they cover
384
+ linked devices.
385
+ - `agent-framework`: the `/peers` port can list linked devices (`listDevices`, `ILinkedDeviceSummary`).
386
+ - `agent-command`: the `/devices` port can report the mesh (`meshStatus`, `IDevicesMeshStatus`).
387
+
388
+ - 963a4e0: Where no direct path joins two of one user's devices, a TURN relay on one of the user's own devices carries the
389
+ connection.
390
+
391
+ - `agent-transport-webrtc` — `TurnServer`, a pure-JavaScript TURN server over UDP (Allocate, Refresh,
392
+ CreatePermission, ChannelBind, Send/Data indications, ChannelData, long-term credentials) with quotas for
393
+ allocations per owner and in all, relayed bytes per second per owner, and allocation lifetime, and an optional
394
+ relayed-port range for a relay behind a NAT. Only what MESSAGE-INTEGRITY covers is read. Requests nobody has
395
+ authenticated are answered at a limited rate (per source and in all) and never with more bytes than they
396
+ carried, and forwarding into private ranges can be turned off (`allowPrivatePeers`). `MeshTurnRelay` runs it
397
+ for the devices of the roster: each pair derives a short-lived credential of its own (`meshRelayCredential`), a
398
+ device the lists drop or revoke can no longer allocate and loses its allocations. `DeviceMeshNode` takes
399
+ `relays` (the relays paired devices advertise, then configured TURN servers, and `relayOnly`) and
400
+ `relayServer`; a connection that needs a relay and has none is refused with `MeshRelayNeededError`, which says
401
+ why a relay was needed and carries the direct attempt's failure. `MeshDht` publishes this device's relay
402
+ endpoints in the sealed hints records (`relayEndpoints`) and reads the peers' (`relayAdverts`). DTLS stays end
403
+ to end; the relay only forwards it.
404
+ - `agent-remote-pairing` — the pair rendezvous derives a `relay-user` tag and `relayPassword`, the relay
405
+ credential's password for one direction and username.
406
+ - `agent-cli` — `transports.mesh.options` takes `relay` (`serve`, `port`, `host`, `publicAddress`, `relayPorts`,
407
+ `allowPrivatePeers`), `turnServers` and `relayOnly`. When the mesh is on, the session's mesh runs the relay,
408
+ advertises it to paired devices only, and uses the fallback order; `/devices` names the relays, and a device
409
+ that needs a relay is reported once with why. Running a relay, or relay-only without TURN servers, needs the
410
+ DHT or pkarr relays, which carry a relay's address to the other devices; a setting that could not work is
411
+ refused, naming it.
412
+
413
+ - 7b72344: Every client can offer the session's commands and skills and show its status. The GUI uses them as a
414
+ desktop-style composer.
415
+
416
+ - `agent-interface-session` is **`major` because `IInteractiveSession` gains required members**:
417
+ `ISessionCommands.listSkills()` and a `statusRead` capability, `getStatusSnapshot()`. The snapshot
418
+ holds session, model, permission mode, effort, context and goal. An external implementation stops
419
+ compiling until it adds both.
420
+ - `agent-transport` is **`major` for the same reason on `IProtocolSession`**. It also gains the wire
421
+ messages `get-commands` → `commands` and `get-status` → `session_status`. Both are reads that the
422
+ observe role may send.
423
+ - `agent-interface-command` gains `ICommandSkillListEntry`, moved from `agent-framework`, which
424
+ re-exports it unchanged.
425
+ - `agent-ui-web` is **`major` because its state changes shape**:
426
+ - A command's outcome and a finished turn's tool calls are now conversation entries: `messages` is
427
+ `TConversationEntry[]`.
428
+ - The `uiIntentNotices` list, `dismissUiIntentNotice`, `applyUiIntentEvent`,
429
+ `removeUiIntentNotice` and `IUiIntentNotice` are removed. An intent now answers with an info
430
+ line in the conversation.
431
+ - Session notices keep only `session-error` and `protocol-error`.
432
+ - The state gains `commandCatalog` and `sessionStatus`.
433
+ - `agent-command` registers `/theme` and `/keybindings` even without a terminal. They then answer
434
+ that they belong to the Robota terminal, instead of being unknown.
435
+ - `agent-framework`:
436
+ - `InteractiveSession.getStatusSnapshot()`.
437
+ - The main-thread row previews the last chat message instead of the last record's type.
438
+ - `agent-cli` serves the full GUI web app, renamed from `agent-cli-web` to `agent-gui-web`, on
439
+ `robota --serve --open`.
440
+
441
+ - 9ecffed: `robota daemon start | status | stop | unlock` runs one long-lived runtime per workspace for clients to attach to.
442
+
443
+ - **What a daemon is.** A supervised session marked as the workspace's daemon.
444
+ - Its control socket answers `connect` with the loopback WebSocket address, and only to a caller that names the daemon's current start.
445
+ - The token never touches disk or argv. The daemon removes it from its own environment, so its tools do not inherit it.
446
+ - **Starting.** `daemon start --json` prints one line, `{"id","url"}`, for a client host to read.
447
+ - Starts in one workspace take turns through a lock.
448
+ - A lock left behind by a start that is gone is never removed automatically. The start refuses and names `robota daemon unlock`.
449
+ - A daemon that cannot hand over its address fails its start and is not left running.
450
+ - **The desktop app attaches** to the workspace daemon and starts one only when none is running.
451
+ - Closing the window leaves the daemon running.
452
+ - If the daemon stops while the window is open, the window says so and offers Reconnect.
453
+ - **`agent-ui-web`.** The WebSocket session client reports when its retries are exhausted (`onGiveUp`, and `onConnectionLost` in `useWsSession`).
454
+
455
+ - 6ae3f28: A served runtime can list its workspace's sessions, start a new one and switch to another without the
456
+ process or any client connection restarting. The GUI shows them in a sessions sidebar.
457
+
458
+ - `agent-interface-session` is **`major`** for two reasons:
459
+ - It adds `ISessionListing`, `ISessionDirectory` and `ISessionSwitchedEvent`.
460
+ - `IInteractiveSessionEvents` gains a required `session_switched` event. An exhaustive map over the
461
+ event names stops compiling until it classifies the new event.
462
+ - `agent-transport` is **`major`** for the same kind of reason:
463
+ - It adds the wire messages `list-sessions` → `sessions`/`sessions_error`, `new-session`,
464
+ `switch-session`, and the broadcast `session_switched`.
465
+ - It adds a `sessionDirectory` handler option. A refusal to switch comes back as a
466
+ `protocol_error` carrying the reason.
467
+ - An exhaustive map over message types must add the new variants.
468
+ - `agent-transport-ws` passes a configured `sessionDirectory` to every connection.
469
+ - `agent-framework` is **`major` because `IRuntimeHostHandle.session` is now a `SessionSlot`**, not the
470
+ `InteractiveSession`, and `bindTransports` receives the slot.
471
+ - The slot is an `IInteractiveSession` that forwards to the current session. Members outside that
472
+ interface are read through `host.session.current`, which changes on a switch.
473
+ - Adds `InteractiveSession.whenInitialized()`.
474
+ - Exports `listUnreadableSessions`.
475
+ - `agent-ui-web` is **`major`**:
476
+ - `IWsSessionState` gains session listing state and actions.
477
+ - It adds a `SessionSidebar`.
478
+ - `/resume` opens the sidebar.
479
+ - `agent-cli`: `robota --serve` provides the session directory, and refuses a switch that would lose
480
+ work in progress. External-event grants belong to the run: a switch reopens them on the new session,
481
+ as the TUI already does.
482
+ - External-event grant history (spent tokens, rate windows, revocations) belongs to the run. The new
483
+ option `externalEventGrantHistory` (from `createExternalEventGrantHistory()`) is shared by every
484
+ session that a served runtime or the TUI builds. A session switch therefore replays no spent token
485
+ and resets no rate limit. The TUI previously had this gap when it switched sessions.
486
+
487
+ - 57f57f5: A daemon keeps several sessions live, and each client is bound to its own: one client's switch moves
488
+ only that client.
489
+
490
+ - `agent-interface-session`: `ISessionBinder`/`ISessionBinding`, the session-change refusal codes with
491
+ `isSessionChangeRefusal`, and listing rows that may say `live` and `clients`.
492
+ - `agent-framework`: `SessionPool` and `SessionChangeRefusal`.
493
+ - `agent-transport` (**major**): a new server frame, `session_change_failed`, which an exhaustive
494
+ consumer must handle. A refused `new-session` or `switch-session` now answers with it, carrying a
495
+ `code`, instead of `protocol_error`; both requests take an optional `requestId` that it echoes.
496
+ - `agent-transport-ws`: the `sessionBinder` option binds each connection to its own session and
497
+ releases the binding when the connection closes.
498
+ - `agent-cli`: `robota --serve` and the daemon keep up to four sessions live. Each WebSocket client and
499
+ attached terminal is bound to its own session; leaving a busy session is no longer refused, and only
500
+ the last driver of a session with a pending prompt is kept from leaving it. Grants and the supervised
501
+ name stay on the runtime's first session, and its reported activity covers every live session.
502
+ - `agent-ui-web`: a refused new or switch shows the host's reason as a notice (an older host's
503
+ `protocol_error` still does); the session sidebar marks live sessions and counts the other clients
504
+ on each; after a reconnect to a host that keeps sessions live, the GUI returns to the session it was on.
505
+ - `agent-ui-terminal`: an attached terminal shows why a switch was refused, and the picker's switch
506
+ stays pending until the host answers; the session picker marks live sessions and their clients.
507
+
508
+ - ba822c1: An attached client reads a workspace entry's detail, stops a waiting self-paced loop, completes
509
+ subcommands, and sees status changes another client made.
510
+
511
+ - `agent-interface-session` (major): `IInteractiveSession` gains the required roles
512
+ `ISessionExecutionDetail` and `ISessionSelfPacedLoopControl` (`TWaitingLoopStopOutcome`), and the
513
+ exhaustively mapped event map gains `status_changed`.
514
+ - `agent-transport` (major): `IProtocolSession` gains both roles; the wire unions gain
515
+ `read-execution-detail`, `stop-waiting-loop`, `execution_detail`, `execution_detail_error` and
516
+ `waiting_loop_stop`; `status_changed` is pushed as `session_status`; `isObserverMessageType` is
517
+ exported from the root and `./client`.
518
+ - `agent-interface-command` (minor): `ICommandListEntry` gains optional `argumentHint` and
519
+ `subcommands` (`ICommandSubcommandEntry`).
520
+ - `agent-cli` (minor):
521
+ - `robota session attach` and an attach from `robota session view` open the full terminal UI,
522
+ the one `robota --attach` opens, in drive mode or, with `--observe`, read-only. The reduced
523
+ attached view is gone.
524
+ - A served runtime names each of its sessions after the session's first real turn.
525
+ - `agent-framework` (minor):
526
+ - `InteractiveSession` gains `stopWaitingSelfPacedLoop(reason?)`: it stops the one waiting loop,
527
+ or stops none and names `/loop stop` when several wait. `SessionSlot` forwards it and
528
+ `readExecutionWorkspaceDetail`.
529
+ - The session emits `status_changed` when its mode, model, effort, goal or name changes, after a
530
+ command, a turn, a rename or a goal or plan transition.
531
+ - A new option `autoName: true` makes the session name itself once, after its first turn, with its
532
+ current provider; it keeps a name it already has and lets a rename made meanwhile win. Off by
533
+ default.
534
+ - The command catalog carries each command's `argumentHint` and `subcommands`.
535
+ - `agent-ui-terminal` (major):
536
+ - The full terminal UI attached to a host's session reads a workspace entry's detail, sends input
537
+ to a background task, stops a waiting self-paced loop on Esc, and completes subcommands.
538
+ - `renderAttachedApp` takes `mode: 'drive' | 'observe'` (default `'drive'`) and `announce`. In
539
+ observe mode the terminal sends only what an observer may send, refuses prompts, host commands,
540
+ abort and loop stop with a read-only notice, still runs `/exit` and its own commands, and its
541
+ status bar says it is observing. `ITuiChannelSnapshot` gains `readOnly`.
542
+ - The in-process terminal no longer names sessions; it builds its session with `autoName: true`.
543
+ `ITuiInteractionChannelOptions.onAutoNamed` is removed.
544
+
545
+ - 6e6b06b: `robota --attach` puts the full terminal UI on this workspace's running daemon.
546
+
547
+ - **`agent-ui-terminal`:**
548
+ - `renderAttachedApp` renders the same App over a wire connection, through `WireTuiChannel`, a second implementation of the TUI's channel port.
549
+ - Leaving detaches; the daemon keeps running.
550
+ - The session picker lists and switches the daemon's sessions. It opens on the daemon's answer to `/resume`; a daemon that cannot list its sessions says why instead.
551
+ - With no saved sessions to resume, `/resume` says so and keeps the prompt, instead of opening an empty picker that blocks input. This applies to the in-process TUI too.
552
+ - The session picker lists an unnamed session by the part of its id that differs, not by the `session_` prefix every id shares. This applies to the in-process TUI too.
553
+ - The status bar names the daemon's current session: its name, or else its short id.
554
+ - A question already open when the terminal attaches is shown, and a long session's history reaches the terminal without the daemon cutting it off.
555
+ - Features that belong to the runtime process say they are unavailable while attached: the plugin manager, background task details and sending to an agent job.
556
+ - **`agent-cli`:**
557
+ - `robota --attach` finds the workspace daemon and asks the user to confirm on the terminal, as `robota session attach` does, then attaches.
558
+ - Options that shape a session are refused, because the daemon shapes its session.
559
+ - A terminal attached over the supervised socket can now list, start and switch sessions.
560
+ - A client's command no longer stops or restarts the workspace daemon. `/language`, `/reset`, `/exit` and provider setup or switch keep their saved change, and the client is told to run `robota daemon stop`, then `robota daemon start`.
561
+ - `robota --attach` installs the plain TUI's process guards, so an error the plain TUI survives no longer ends the attached terminal.
562
+ - A client's command no longer stops or restarts any supervised session either; the client is told to run `robota session stop <id>`, and the saved change applies to a new session from `robota session start --background`.
563
+
564
+ ### Patch Changes
565
+
566
+ - d61e159: The session protocol gains a read-only `observe` role.
567
+
568
+ - `createSessionMessageHandler({ role: 'observe' })` follows the session's conversation, streaming,
569
+ tool, background, usage and workspace events and answers reads of this session. The default role
570
+ stays `drive`, which is unchanged.
571
+ - An observer never subscribes to `permission_request` or `ask_request`. A session with only observers
572
+ attached therefore still denies a permission and cancels a question at once instead of waiting for a
573
+ surface that may not answer. Observers still see `prompt_resolved`.
574
+ - An observer cannot submit, run commands, abort, cancel the queue, control background tasks, answer
575
+ prompts, or read personal or other sessions' usage reports. Each such message is answered with a
576
+ `protocol_error` and changes nothing. Only an explicit list of reads is accepted, so a message type
577
+ added later is refused to observers until it is classified.
578
+ - `ATTACHED_SURFACE_MAX_PENDING_BYTES` (1 MiB) is the backpressure budget a carrier passes to
579
+ `createOutboundDelivery` for a terminal attached on the same host. A reader that falls that far
580
+ behind is cut off and reported to the carrier, and other surfaces keep streaming. No carrier uses it
581
+ yet.
582
+ - `agent-cli`: a supervised session's control endpoint no longer includes its generation in a
583
+ refusal to a caller that did not present it.
584
+
585
+ - 8625a14: Supervised session control is bound to one process start.
586
+
587
+ - Each supervised session start writes a fresh random generation into its private registration. Its
588
+ control endpoint echoes that generation in every reply and refuses any request that carries a
589
+ different one, or none.
590
+ - `session view` keeps the generation each row was verified with. Stop and linked-PR opening send it,
591
+ so a session that restarted under the same id since the row was shown is refused instead of acted
592
+ on. A stop confirmation also refuses when the row's generation changed while it was open.
593
+ - `session stop`, `rename`, `link-pr` and `unlink-pr` read the generation at request time and the
594
+ session itself checks it, closing the window between the liveness check and the action.
595
+ - A registration without a generation (written by an earlier version) is listed but never
596
+ controllable; restart that session to control it again.
597
+ - The generation is never printed by `session list` in text or JSON.
598
+
599
+ - 997f2fb: A revoked or closed external-event grant checks the token before it answers, so only a caller holding a valid
600
+ token for that grant learns it was revoked; anyone else gets exactly the refusal a live grant gives. The TUI keeps
601
+ revoked grants open-and-revoked on each session it binds so their tokens are still checked. The per-grant counters
602
+ now also count the refusals the HTTP endpoint decides itself (a missing token, an oversize body).
603
+ - e689c8e: Follow-ups to connection approval and `/handoff`.
604
+
605
+ - `agent-transport-webrtc-web` — the browser remote client says `Waiting for the host to approve this connection…`
606
+ (`awaiting-approval`) after pairing, and `Connected` only once the host's session answers. A host that closes the
607
+ channel instead is shown as `refused` and is not retried, since a retry would only ask the operator again; a
608
+ first connection lost before the host answered is `failed`. Reconnect attempts count until the host admits a
609
+ connection, so a link that keeps dropping while approval is pending gives up instead of asking again and again.
610
+ - `agent-core`, `agent-session`, `agent-framework` — a turn that did not come from the operator stores its
611
+ `turnSource` (`peer`, `external`, `agent-wakeup`) beside `driverId` on the user message and in the display
612
+ history (`IRunOptions.turnSource`), so a session handed off keeps where each turn came from.
613
+ - `agent-cli` — a `/handoff` resent after a lost confirmation reports what stays behind as it is now, not as it was
614
+ at the first attempt, and after refusing to resend a session that changed, the hand-off status shows that refusal
615
+ instead of the earlier lost confirmation.
616
+
617
+ - 6e4c6ee: Device mesh discovery holds up better against endpoints and peers that misbehave.
618
+
619
+ - A direct path's admission deadline starts only from a `hello`, `offer` or `answer`, so ICE candidates
620
+ that trail an admitted connection no longer set a working path aside.
621
+ - An endpoint or signaling carrier that keeps failing is set aside for longer each time it fails
622
+ again, until a connection over it is admitted.
623
+ - An mDNS lookup keeps listening briefly after the first matching answer, so a faster answer from
624
+ another host cannot hide the peer's own.
625
+ - The device lists read from public records are bounded per paired device, each device's newest
626
+ before any device's next, and the chunks of one list carry a shared version, so a read that finds
627
+ chunks of two versions yields no list. Records written before this change are not read as lists.
628
+ - CLI processes that share `$PRODUCT_USER_STATE_DIR/devices/address-cache.json` apply each change to the file as it
629
+ is on disk, so one process no longer overwrites what another learned.
630
+
631
+ - 4241fc5: Device mesh follow-ups.
632
+
633
+ - A device with no identity is pointed to `/devices add` on one of the user's devices and `/devices join`
634
+ here, as well as to `/devices init`. The message says that `init` is for the first device only,
635
+ because it creates a separate identity that can never link to the user's other devices. The `/devices`
636
+ description and the `init` subcommand say the same.
637
+ - An identity created mid-session (`/devices init`, or a successful `/devices join`) opens the mesh
638
+ without a restart when `transports.mesh.enabled` is on.
639
+ - If a session stalls for longer than the mesh lock's stale window (for example while the machine
640
+ sleeps), another session can take the mesh over. The stalled session now notices this on its next
641
+ lock refresh, closes its own mesh, and says why. Two sessions no longer run it together.
642
+ `holdExclusiveFileLock` has a new `onLost` option for this.
643
+ - `/peers` and `/handoff` still list and reach linked mesh devices when local same-host peer discovery
644
+ fails. `/peers` says why sessions on this host are not listed. `ICommandLocalPeersAdapter` has a new
645
+ optional `localDiscoveryOff` field for this.
646
+ - `agent-transport-webrtc`: when lists become newer on a node (reissued, revoked, or adopted from a
647
+ peer), the node sends them over every admitted connection instead of waiting for the next handshake.
648
+ Reissues, revocations and enrolments in the CLI take effect this way at once. A receiver adopts a
649
+ pushed list only if it is newer, issued by this user's signing key, and verifies. The push does not
650
+ depend on the peer's capabilities, and it never reaches the application's message handlers.
651
+
652
+ - 05d5391: The embedded TURN relay says why it cannot listen — the port is taken, the host is not an address of
653
+ this machine, or the port needs privileges — and keeps the bind error as `cause`; the CLI names the
654
+ relay setting that cause asks you to change. Mesh options are no longer checked while
655
+ `transports.mesh.enabled` is off, so a mistake in them does not report that the mesh could not start.
656
+ - bbe9689: On a host that cannot prove a project write stays inside the project (every platform but Linux), a
657
+ trusted workspace no longer composes project memory, whose every save would be refused there. Memory
658
+ is shared through the repository, so it is not moved to a per-user store: turning it on prints once
659
+ that it stays off and why, and the run continues instead of failing on the first capture. Linux is
660
+ unchanged.
661
+ - 9721162: A trusted workspace saves its sessions on macOS and other hosts without Linux's project-write guarantee.
662
+
663
+ - **`agent-framework`:** `supportsWorkspaceProjectMutation(platform?)` tells a host in advance whether project writes can be proven to stay under the trusted root. The project writer uses the same answer, so the two cannot disagree.
664
+ - **`agent-cli`:**
665
+ - Where project writes cannot be proven safe, a trusted workspace keeps its sessions in the user session store (`$PRODUCT_USER_STATE_DIR/sessions`). They are listed for that workspace by their working directory, so `/resume`, the sessions sidebar, `--continue` and `robota session list` find them. Nothing is written under the project root.
666
+ - Before this, every save in a trusted git workspace on macOS was refused, and those surfaces listed nothing.
667
+ - Linux keeps trusted sessions in the project, as before.
668
+ - `robota session list`, `robota usage` and `robota session analyze` report such sessions as user sessions, never as project sessions.
669
+
670
+ - 57280bf: Every published package now declares `"engines": { "node": ">=22.12.0" }`. Before, 27 of the 38
671
+ packages declared no floor (`agent-core`, `agent-tools` and every provider among them),
672
+ `agent-session` and `agent-file-authority` declared `>=20.19.0`, and the other nine declared
673
+ `>=22.0.0`, so a consumer on Node 20 saw at most a warning from a transitive dependency.
674
+
675
+ Why 22.12: `agent-cli` and `agent-ui-terminal` need Node 22 through `ink` 7, and the CommonJS entries
676
+ of `agent-tools` and its dependents, `agent-transport`/`node` and its dependents, and
677
+ `agent-ui-terminal` `require()` ESM-only dependencies (`p-limit`, `jose`, `chalk`), which Node 22
678
+ supports unflagged only from 22.12. `engines` is advisory unless the consumer enables `engine-strict`.
679
+
680
+ No code changes: `tsdown` now reads `node22.12.0` as its build target from the field.
681
+
682
+ - 1efb124: `@robota-sdk/agent-cli` and `@robota-sdk/agent-ui-terminal` are now ESM-only. Their CommonJS entry
683
+ could never load: it pulls in Ink, whose `yoga-layout` dependency starts with a top-level `await`, so
684
+ `require()` failed on every Node version with `ERR_REQUIRE_ASYNC_MODULE`. The packages no longer
685
+ declare a `require` condition or ship `index.cjs`/`index.d.cts`, so `require()` now fails at resolution
686
+ with `ERR_PACKAGE_PATH_NOT_EXPORTED`. Load them with `import` or `import()`, which is unchanged. The
687
+ `robota` executable is unaffected.
688
+ - 18c0d5c: Every published package now exports `./package.json`, so `require('<package>/package.json')` and
689
+ `import('<package>/package.json', { with: { type: 'json' } })` work instead of failing with
690
+ `ERR_PACKAGE_PATH_NOT_EXPORTED`, and each tarball now ships the package's `CHANGELOG.md`.
691
+ - caaab20: `/rewind` works again. Every session the CLI builds for a trusted workspace captures edit
692
+ checkpoints; before, none did, and `/rewind` failed everywhere with "Edit checkpoints require
693
+ project authority."
694
+
695
+ - `agent-cli` (patch): a trusted workspace composes an edit checkpoint store for the terminal UI, a
696
+ print run, a served runtime and each session a daemon keeps live. Every session gets its own
697
+ store, pooled or switched to in the terminal UI, since two can run turns at the same time. On a host that cannot prove a project write
698
+ stays inside the project (every platform but Linux), none is composed: a checkpoint could be
699
+ neither saved nor restored there.
700
+ - `agent-command` (patch): where a session has no checkpoints, `/rewind` says why: a restricted
701
+ workspace is told to run `robota trust --yes` and restart Robota, and a host that cannot write
702
+ the project safely says so. `/rewind list` reports this as a failed command instead of throwing.
703
+ - `agent-framework` (minor): a checkpoint operation on a session without a store throws
704
+ `EditCheckpointsUnavailableError`, whose `reason` is `host-cannot-write-project`,
705
+ `restricted-workspace` or `no-checkpoint-store`. It is a `WorkspaceAuthorityRequiredError`, as
706
+ before, named `EditCheckpointsUnavailableError`. `HeadlessInteractionChannel` takes an
707
+ `editCheckpointStore` option.
708
+ - `agent-ui-terminal` (minor): `renderApp` takes `createEditCheckpointStore` in place of
709
+ `editCheckpointStore`, and builds each session its own store, since a session switch can build the
710
+ next session before the old one's turn ends. `TuiInteractionChannel` keeps `editCheckpointStore`:
711
+ a channel runs one session.
712
+
713
+ - 227ff3a: The GUI session surface (desktop app, `robota --serve --open`) is redesigned as a calm desktop app: readable
714
+ type in a bundled Pretendard, monospace only for code and paths, surfaces separated by tone instead of
715
+ outlines, and light and dark themes that follow the system. Agent replies read as prose, your messages sit
716
+ in bubbles, tool calls are single quiet lines, and the composer carries the model, mode and effort. The
717
+ permission prompt now shows what the tool was asked to run, and the title bar names the current session.
718
+ - f01868f: `sandbox.autoAllowBashIfSandboxed` takes effect. The CLI confined shell commands in the OS sandbox,
719
+ but no session learned about the sandbox, so a confined command still asked for approval in the
720
+ terminal UI, a served runtime and MCP serve, and a print run with no one to approve it refused it.
721
+
722
+ - `agent-cli` (patch): a served session, and each session a daemon keeps live, receives the sandbox
723
+ the shell tools run under.
724
+ - `agent-framework` (minor): `HeadlessInteractionChannel` takes a `sandboxClient` option and hands it
725
+ to the session.
726
+ - `agent-ui-terminal` (minor): `renderApp` and `TuiInteractionChannel` take a `sandboxClient` option
727
+ and hand it to each session they build.
728
+
729
+ - e8779c9: A subagent consults the sandbox its shell tools run under, as its parent does. With
730
+ `autoAllowBashIfSandboxed` on, a confined command the subagent's gate leaves to the mode now runs
731
+ without a prompt. Before, a `context: fork` skill asked for approval, and a print run refused it.
732
+ An Agent-tool subagent in `auto` mode sent a command allowed by a broad rule like `Bash(npm *)` to
733
+ its classifier instead. A background policy's ceiling is still checked first: nothing outside it
734
+ runs.
735
+
736
+ - `agent-framework` (minor): `createSubagentSession` takes a `commandSandbox` option. The fork and the
737
+ in-process runner derive it from the parent's sandbox, the instance their inherited tools run
738
+ under. `sandboxApprovalFor` is exported.
739
+ - `agent-subagent-runner` (minor): `ISubagentWorkerComposition` takes an optional `createSandbox`. The
740
+ worker builds that sandbox once and hands the same instance to `createTools` and to the session.
741
+ - `agent-cli` (patch): Robota's worker composition builds the OS sandbox through `createSandbox`, so
742
+ a child-process subagent approves what its parent approves.
743
+
744
+ - f8a8a4d: The GUI surface's design now applies inside a `agent-ui` scope that each of its root components opens,
745
+ so an app with design tokens of its own can embed the surface without either overriding the other. Such
746
+ an app imports `@robota-sdk/agent-ui-web/styles/surface.css` into its Tailwind entry; a page that is only
747
+ the surface keeps importing `styles/theme.css` and puts `agent-ui` on its `<html>`. `ProductMark` and
748
+ `ProductWordmark` are exported. The browser remote client (`RemoteClient`) follows the same design, with
749
+ its pairing states centred on the page.
750
+ - 122e82b: A child-process subagent confines and approves commands with its parent's sandbox settings as they
751
+ stand when it starts. Before, it read its root's settings files, so a `/sandbox` change made in the
752
+ session did not reach it. `/sandbox` changes the live sandbox and only the user settings file, which
753
+ project settings outrank. A worktree child also missed the parent's untracked local settings.
754
+
755
+ - `agent-subagent-runner` (minor): the runner factory takes `parentSandboxSettings`, read at each
756
+ spawn. The start payload carries it, the IPC guard checks it is a record, and the worker hands it to
757
+ `createSandbox` as `parentSettings`.
758
+ - `agent-cli` (patch): Robota sends its live sandbox's settings, and a child builds its sandbox from
759
+ them. It refuses settings it cannot read rather than falling back to the files.
760
+
761
+ - 0368058: A running child-process subagent follows a `/sandbox` change made in its parent session. Before, it
762
+ kept the settings it started with until it ended, so a long-running `auto`-mode subagent went on
763
+ auto-approving confined commands after the user turned auto-allow off.
764
+
765
+ - `agent-tools` (minor): `OsSandboxClient.watchSettings(watcher)` reports each `configure`, until
766
+ its returned function is called.
767
+ - `agent-subagent-runner` (minor): the runner factory takes `watchParentSandboxSettings`, and
768
+ forwards each change to every running child as a `sandbox_settings` message. It watches before
769
+ reading the start payload, so no change is lost while a child starts, and stops when the child
770
+ exits or fails to start. A composed sandbox may define `applyParentSettings`. The worker applies
771
+ each change through it. On settings it cannot take, it aborts the run, lets a running command
772
+ finish, and ends the run with that error.
773
+ - `agent-cli` (patch): Robota watches its live sandbox, and a child applies each change to the
774
+ instance its tools and approval read.
775
+
776
+ - 5a0ee96: Workspace trust no longer drops on its own. A grant was keyed by the repository config file and the
777
+ volume's device number, so `git push -u`, a branch rename or delete, `git remote add`, or macOS
778
+ renumbering a volume left a trusted workspace untrusted. Where the filesystem records a birth time
779
+ (APFS, ext4, NTFS, …), the key is now the git directory's own inode and birth time, which hold through
780
+ all of these while a repository recreated at the same path still does not inherit the grant; elsewhere
781
+ the stricter config-based key stays. Granting or revoking also retires a trusted record left for the
782
+ same worktree under an earlier key, so it no longer counts as a second trusted repository; it is
783
+ marked revoked rather than deleted, so a repository that returns to that path never regains a
784
+ generation an approval (such as a project MCP server's) was recorded against.
785
+
786
+ Grants made before this change are keyed the old way: run `robota trust --yes` once more in each
787
+ workspace. A workspace revoked before shows as untrusted until it is trusted or revoked again.
788
+
789
+ ## 3.0.0-beta.82
790
+
791
+ ### Minor Changes
792
+
793
+ - e15e22b: Two of one user's devices can connect to each other over WebRTC, admitted by the device handshake.
794
+
795
+ - `agent-transport-webrtc` — `DeviceMeshNode` keeps one connection per device pair, in either role: the
796
+ device with the lower id offers and the other answers, so concurrent attempts resolve by rule. Both
797
+ roles bind the handshake to the certificate the DTLS layer verified and take one remote description
798
+ with exactly one fingerprint; before admission only handshake frames cross, and a connection counts
799
+ as admitted only once both sides admitted each other. Each connection gets its own DTLS certificate
800
+ (`createDtlsKeys`). A new attempt never displaces an admitted connection until it is admitted
801
+ itself, and attempts per pair are paced. Lists adopted in a handshake, or handed over through
802
+ `refresh`, apply at once, and a device they revoke loses its connection. Signaling runs through
803
+ `IMeshRelay`: `WsMeshRelayClient` for the self-hosted relay's `presence` / `message` frames
804
+ (topics capped per source and relay-wide), `createInMemoryMeshRelayHub` for tests.
805
+ - `agent-remote-pairing` — the pair's two relay inbox topics, one per direction, come from their
806
+ pairwise secret (`derivePairRendezvous(...).relayInbox()`).
807
+ - `agent-cli` — a device holding the signing key reissues its roster and revocation list before they
808
+ expire while an interactive session runs. The host can open this device's mesh endpoint from the
809
+ identity under `$PRODUCT_USER_STATE_DIR/devices`, saving newer lists a peer hands over; no command starts it yet.
810
+ - `agent-command` — `/devices add|join` still reports that enrolment is not available yet.
811
+
812
+ - e15e22b: The Node WebRTC transport runs on `node-datachannel` (libdatachannel, DTLS by OpenSSL). The DTLS stack
813
+ verifies handshake signatures, so a channel binding names the party that holds the certificate's key.
814
+ It is an optional dependency with a prebuilt binary per platform; where it cannot load, the WebRTC
815
+ transport reports itself unavailable instead of falling back to another implementation.
816
+
817
+ - `agent-transport-webrtc` — `RtcPeer` / `RtcChannel` wrap one connection; `loadDataChannel` replaces
818
+ `loadWerift` (and the `loadWerift` option becomes `loadDataChannel`). Every connection has its own DTLS
819
+ certificate, no ICE server is contacted unless configured, and `werift` is no longer a peer dependency.
820
+ A pairing peer that finishes the handshake first and speaks at once no longer has that frame dropped: it
821
+ is held until this side accepts, and discarded if it does not.
822
+ - `agent-cli` — depends on `node-datachannel` (optional) instead of `werift`.
823
+
824
+ - c7f9203: Connected sessions can send each other files.
825
+
826
+ - `/peers send-file <session-id> <path>` sends a copy of any file the operator can read to another
827
+ live session on this host.
828
+ - The model sends a file only through the `peer_send_file` tool. Every call asks the user, showing
829
+ the path, size, hash and destination; no permission mode, rule or remembered consent answers it.
830
+ The tool reaches only files inside the workspace whose path does not look like it holds secrets
831
+ (`.env*`, `~/.ssh`, keys and credentials), and it does not exist in a turn a peer's message started.
832
+ - The receiving operator approves every file. A received file is kept as an inert copy (mode 0600)
833
+ under `$PRODUCT_USER_STATE_DIR/peer-files/<sender>/`. It is never run and never placed in the model's context.
834
+ The conversation is told only its name, size and sha256. A name that leaves that directory is
835
+ refused, a symbolic link is never written through, and nothing is overwritten.
836
+ - Transfers travel on a channel of their own (a separate connection on this host, a separate data
837
+ channel between devices), in chunks the receiver paces, up to 32 MiB, and are kept only when the
838
+ whole content matches the offered sha256. A transfer that ends early is discarded; there is no
839
+ resume.
840
+
841
+ **API**
842
+
843
+ - `agent-interface-session-mobility`: the `file` capability, which asks the operator for every
844
+ request; `ConnectionAuthority.authorizeFile`; `IFileOffer` and `IFileFrameChannel`.
845
+ - `agent-transport/node`: `sendFileOverChannel` and `receiveFileOverChannel`, the carrier over any
846
+ `IFileFrameChannel`; `DEFAULT_MAX_FILE_BYTES`.
847
+ - `agent-transport-webrtc`: `IDeviceMeshLink.openFileChannel` and `onFileChannel`.
848
+ - `agent-remote-pairing`: `file` joins `DEVICE_CAPABILITIES`. A device certificate that names it is
849
+ refused as malformed by an earlier version.
850
+ - `agent-core`: `IToolPermissionProfile.notInPeerTurn` withholds a tool from a turn a peer's message
851
+ started.
852
+ - `agent-framework`: `ICommandLocalPeersAdapter.prepareFile`.
853
+
854
+ - 004fe7f: `/handoff` moves a session over a real connection.
855
+
856
+ - `/handoff <session-id>` pushes this conversation to another Robota session on this machine. The
857
+ same carrier also runs between two of the user's devices over their mesh connection; no command
858
+ opens that connection yet.
859
+ - A hand-off is push-only: only the operator of the session that holds it starts one. A session or
860
+ device that asks another for its session is refused.
861
+ - The source signs a grant for that one transfer over that one channel with its device key, so a
862
+ hand-off needs the device identity from `/devices init`. The receiving side checks it against the
863
+ sender's certificate, then asks its own operator; without a yes nothing is sent.
864
+ - The session travels on the file-transfer carrier, is kept aside until it matches the manifest, and
865
+ is saved without being started. The operator there resumes it with `robota --resume <id>`.
866
+ - The source gives the session up, and ends, only once the receiving side confirms it saved it.
867
+ Every other outcome leaves the session where it was; if the confirmation is lost, `/handoff` to the
868
+ same session again resends the same transfer, which the receiver settles without saving it twice.
869
+ Peer attribution (`driverId`, `turnSource`)
870
+ travels with it.
871
+ - `/handoff` stays user-only. Its description tells the model to suggest the command to the user.
872
+ - `agent-transport-webrtc`: an admitted mesh link exposes the DTLS fingerprints it is bound to, and
873
+ `judgeHandoffGrant` is exported.
874
+ - `agent-interface-session-mobility`: a hand-off carrier may move the sealed payload whole
875
+ (`sendPayload`), the destination verifies it with `receivePayload`, and the source can report its
876
+ open transfer (`status`) and abandon it for any refusal the destination names.
877
+
878
+ - 189c21e: The device mesh can find and signal a peer device beyond the local network, through public
879
+ infrastructure that sees only signed ciphertext.
880
+
881
+ - **Rendezvous records (BEP 44):** each device publishes, per peer, its connection hints and the newest
882
+ device revocation lists it holds as mutable items on the BitTorrent Mainline DHT (`bittorrent-dht`,
883
+ directly over UDP), or through pkarr relays (`createPkarrRelayStore`, for clients that cannot reach
884
+ the DHT). Every record is signed by a one-time key of the pair, direction, epoch and purpose, stored
885
+ under a rotating salt, AEAD-sealed and padded to a fixed size; publish times are jittered per pair.
886
+ Lookups read the peer's records at the current and adjacent epochs and reject anything that does not
887
+ verify or open for the pair. Lists too large for one record are split into fixed-size chunks.
888
+ `MeshDht` is the candidate source and publisher, and its `latestLists` feeds the freshness lookup
889
+ before a remote admission with every list candidate found, newest first.
890
+ - **Nostr signaling:** `NostrMeshRelay` carries live SDP/ICE as ephemeral events on several relays,
891
+ under per-epoch, per-direction keys and kinds, with our own AEAD over the payload and no tags.
892
+ - **Order:** `DiscoveringMeshRelay` tries the address cache, mDNS, then DHT records for candidates,
893
+ and when none answers the signaling carriers in order — Nostr, then the self-hosted relay. A
894
+ carrier that carries no admission in time is set aside for the next one.
895
+ - **Defaults:** `DEFAULT_NOSTR_RELAYS` and `DEFAULT_PKARR_RELAYS` list well-known relays of several
896
+ operators; `transports.mesh.options` (`dht`, `pkarrRelays`, `nostrRelays`) replaces them, parsed by
897
+ the CLI's `parseMeshInternetSettings`, and `openDeviceMesh` takes them as `internet`. No command
898
+ starts the mesh yet.
899
+ - `agent-remote-pairing`: `signingSeed`, `sealRecord` and `openRecord` take a record purpose
900
+ (`hints`, the default and unchanged; `revocation`; `signal`), and two tag purposes are added. The
901
+ device handshake's `fetchLatestLists` may return several candidates per list kind; each is verified
902
+ and the newest that verifies counts, so a forged "newer" list cannot hide a real one.
903
+ - `agent-cli` declares the mesh's runtime dependencies (`bittorrent-dht`, `nostr-tools`,
904
+ `multicast-dns`), which its bundle leaves external.
905
+
906
+ **Breaking (pre-release, hence minor):** `IDiscoveringMeshRelayOptions.advertiser` becomes
907
+ `advertisers` (a list).
908
+
909
+ - 5e924ee: Two of one user's devices can find each other on the local network before the relay.
910
+
911
+ - `agent-remote-pairing` — `derivePairRendezvous` derives every place a device pair meets from their
912
+ pairwise secret, separated by direction: rotating tags (hourly epochs, looked up one epoch either
913
+ way), the seed of each epoch's one-time signing key, sealed connection-hint records, and the relay
914
+ inbox topics. It takes the lists in force and refuses a device they do not name with the same
915
+ key-agreement key, or revoke, so a rotated or revoked key stops deriving.
916
+ - `agent-transport-webrtc` — `startLanMeshRelay` / `DiscoveringMeshRelay` look for a peer in the
917
+ address cache, then with mDNS (`MeshMdns`, over `multicast-dns`), then on the self-hosted relay, and
918
+ carry signals to the peer's direct endpoint (`startMeshLanListener`) on rotating pairwise topics,
919
+ sent only as hashes. An endpoint must prove it holds the pair's topic before it carries signals,
920
+ and is set aside when no admission follows. The mDNS announcement names no product, device or
921
+ host, pads its instance count with names that hold for the epoch, and answers queries at a bounded
922
+ rate. Discovery yields candidates only: admission is still the device handshake, and an address is
923
+ remembered only after an admission it carried.
924
+ - `agent-cli` — the device mesh endpoint can look on the local network (`lan` option), remembering
925
+ the addresses that worked in an owner-only `$PRODUCT_USER_STATE_DIR/devices/address-cache.json`; no command starts
926
+ it yet.
927
+
928
+ ## 3.0.0-beta.81
929
+
930
+ ### Minor Changes
931
+
932
+ - 3038eb7: A message from another session is instant messaging: text from an untrusted third party that
933
+ carries no authority. What the model does with it is decided by the session's ordinary permissions —
934
+ rules, permission mode and remembered consent — exactly like the session's own work. The per-origin
935
+ peer policy is gone.
936
+
937
+ **BREAKING**
938
+
939
+ - `agent-core`: `IPermissionEvaluationContext.peerTurn` is now a boolean. It decides only whether a
940
+ `repliesToPeer` tool exists; every other call in a peer turn is decided as in any turn. Removed:
941
+ `isToolAvailableInPeerTurn`, `isSecretPath`, `IPeerTurnAuthority`, `TPeerReach` (now exported by
942
+ `agent-interface-session-mobility`) and `IToolPermissionProfile.workspacePaths`.
943
+ - `agent-tools`: `Read` and `Glob` no longer declare `workspacePaths`.
944
+ - `agent-session`: `ISessionRunOptions.peerReach` is replaced by `peerTurn?: boolean`, and
945
+ `ISessionOptions.allowPeerChanges` is removed. An ask in a peer turn is answered like any other:
946
+ a consent the operator remembered answers it, and an "always allow" given there is remembered.
947
+ - `agent-interface-session`: `IPeerTurnContext` no longer has `reach`; it carries only the reply
948
+ route.
949
+ - `agent-interface-session-mobility`: `peerReachOf` is removed; `TPeerReach` moves here. A delegated
950
+ turn carries no reach.
951
+ - `agent-framework`: the `peers.allowChanges` setting is removed (an existing value is ignored). A
952
+ peer turn is offered the ordinary tools, plus `peer_reply`.
953
+
954
+ **Changes**
955
+
956
+ - `agent-framework`: the per-turn statement tells the model the message is an opinion from an
957
+ untrusted third party, not its owner's instruction, and that it decides for itself whether and how
958
+ to act. A message still expands no `@path` and attaches no context reference, and its requests
959
+ still carry no provider-hosted tool, since no permission step can decide one. The session takes
960
+ at most 6 messages a minute and 30 an hour from each sender for a turn; a message over the limit
961
+ is refused with a reason the sender receives. A prompt answer given in the name of a `peer:` or `external:`
962
+ driver is ignored. External-event turns keep their tool-less baseline.
963
+ - `agent-cli`: incoming peer turns carry only their reply route.
964
+
965
+ - ec5e477: Add a credential store port (`ICredentialStore` in `agent-core`) and keep the CLI's secrets behind it: the OS keychain through the optional `@napi-rs/keyring` binding (macOS Keychain, Windows Credential Manager, Linux Secret Service), else an owner-only file under `$PRODUCT_USER_STATE_DIR/credentials`. The backend is chosen at first use, recorded, and named by `/remote-control status`; a recorded keychain that stops working fails closed instead of degrading to the file.
966
+
967
+ The remote-control host identity key moves into the store. The old `$PRODUCT_USER_STATE_DIR/remote-host-identity.json` may have been copied by backups or dotfile sync, so it is not carried over: on the first run after upgrading a new host key is generated, the old file is removed, and the operator is told once that trusted devices must pair again.
968
+
969
+ - 44fc732: Add `/devices` for this device's identity among the user's devices: `list`, `init` (creates the identity: a recovery phrase, the master-certified signing key, this device's keys and certificate, the first roster and revocation list), `revoke <device-id>` (signing key only, no phrase; confirmed at the terminal) and `recover` (rotates the signing key from the phrase and revokes the old ones). Enrolling another device (`add` / `join`) comes with the device connection.
970
+
971
+ The recovery phrase never enters the session: it is shown once and read with no echo on the controlling terminal (opened apart from the session's input), on the alternate screen that is cleared afterwards, and never reaches prompt history, conversation history, transcripts, traces or the model. Without an interactive terminal the phrase commands refuse. `/devices` is operator-only: never model-invocable and refused from remote surfaces. Private keys live in the host credential store; certificates, roster, revocation lists and sequence marks are kept in owner-only files under `$PRODUCT_USER_STATE_DIR/devices`.
972
+
973
+ `agent-remote-pairing` adds `isRecoveryPhraseWord`, so a phrase can be checked one word at a time.
974
+
975
+ - 007fd90: Authority per connection: pairing stays with the local operator, and driving needs the operator's yes.
976
+
977
+ - `agent-interface-session-mobility` — `ConnectionAuthority` decides what one connection may do.
978
+ `presence` and `message` are allowed; `delegate` and `handoff` ask the receiving operator for every
979
+ request; `observe` and `drive` ask once per connection. With no `IOperatorApprover` the answer is
980
+ no. `authorizeDelegation` turns an approved task into a peer turn from where admission placed the
981
+ peer, ignoring anything else on the request, so the receiver's policy decides what it may do.
982
+ - `agent-transport-webrtc` — `connectionApproval` asks the operator before a connection reaches the
983
+ session, after every proof has run. Frames the peer sends meanwhile are held (bounded) and delivered
984
+ only after a yes. A channel that closes first withdraws the question (the approval context carries
985
+ an `AbortSignal`), and a later answer admits nothing. A first-pairing device is pinned for
986
+ reconnect only once it is admitted.
987
+ - `agent-command` — `/remote-control enable` and `revoke` from a connected surface are refused, and
988
+ `status` never shows a connected surface the pairing link.
989
+ - `agent-framework` — the `remote-control-enable` host action runs only for the operator's own
990
+ command, whichever command asked for it.
991
+ - `agent-cli` — every remote-control connection, a returning trusted device included, is put to the
992
+ operator on the host terminal; without an interactive terminal it is refused.
993
+
994
+ - 18b52cc: Built-in commands are offered to the model deliberately, each described for the model, and never
995
+ with a trust, credential or permission-widening action.
996
+
997
+ - `agent-interface-command` — `ICommand` gains `modelDescription?` (what the model is told, beside the
998
+ short `/help` line), and `modelInvocable` on a subcommand entry now narrows what the model may run.
999
+ - `agent-framework` — `ISystemCommand` gains `modelDescription?` and `modelRequiresPermission?`.
1000
+ Once any subcommand of a model-invocable command declares `modelInvocable`, the model may run only
1001
+ the bare command and the subcommands declared `true`; everything else, including an alias or an
1002
+ undeclared subcommand, is refused before the command runs. The model-facing descriptor lists only
1003
+ that subset. A model-requested monitor's command is now decided by the shell tool's gate (its
1004
+ Bash/Shell rules, the mode and the prompt) and a refusal rejects with the new
1005
+ `MonitorCommandRefusedError`. The `scriptedSession` test harness accepts `permissions` patterns.
1006
+ - `agent-session` — `Session.checkToolPermission(toolName, toolArgs)` decides an action that has a
1007
+ tool's effect by another route: that tool's PreToolUse hooks, then the gate's rules, mode,
1008
+ remembered consent and prompt — never the command sandbox's auto-approval, since the action does
1009
+ not run inside the sandbox.
1010
+ - `agent-framework` also: `ICommandMCPActivationAdapter.userActionSurface?` tells `/mcp` whether the
1011
+ user can type a session command, so the model's status names the terminal sign-in otherwise.
1012
+ - `agent-command` — `/context` (bare and `list`), `/cost` (the report, not `budget`) and `/mcp`
1013
+ (`status` only, without a prompt) are now model-invocable; `/memory approve` and `/memory reject`
1014
+ are now user-only; the model's `/monitor` is decided by the shell gate rather than by consent to
1015
+ the command's name. Every model-invocable command carries a model-facing description. The model's
1016
+ `/mcp status` shows only safe names, states and the command to suggest, and a caller that does not
1017
+ identify itself gets that view. `/context list` accounts only for turns still in context. New
1018
+ `mcpUserActionNotice`, `mcpUserActionCommand` and `mcpUnavailableServersNotice` build the fixed
1019
+ notices.
1020
+ - `agent-command-workflows` — `/workflows` carries a model-facing description.
1021
+ - `agent-mcp` — `createDiscoveredTool` accepts `authFailureNotice`: a call the server refuses for
1022
+ authentication returns that host text instead of the generic failure.
1023
+ - `agent-cli` — an MCP server that did not start because the user must approve it, trust the
1024
+ workspace or sign in is named to the model at the start of an interactive session with the
1025
+ command to suggest, and a
1026
+ signed-in OAuth server that refuses a call tells the model to suggest `/mcp login <server>` — or, in print and serve runs, the terminal
1027
+ `robota mcp login <server>`.
1028
+
1029
+ A command whose bare form is a complete action declares `runsBare`, so choosing `/cost` or `/mcp`
1030
+ from the autocomplete menu still runs it even though they now declare subcommands.
1031
+
1032
+ - 9843fe6: Sign in to a remote MCP server from inside a session, and use its tools without restarting.
1033
+
1034
+ - **`/mcp login <server> [--no-browser]`** runs the same per-server OAuth sign-in as
1035
+ `robota mcp login` (discovery checks, PKCE, `state`, RFC 9207 `iss`, RFC 8707 resource, the
1036
+ loopback listener, the lock-guarded store). It opens the browser through the argv opener; with
1037
+ `--no-browser`, or when no browser can be opened, it shows the authorization URL and asks for the
1038
+ redirect URL in the session's own prompt (masked), held to the same rules as a pasted redirect in
1039
+ the terminal. A failed, refused, timed-out or cancelled sign-in changes nothing and is reported by
1040
+ a fixed reason only. `/mcp login <server> --client-secret` is refused: a secret is never typed into
1041
+ a session, and `robota mcp login <server> --client-secret` is named instead (also after a failed
1042
+ token exchange for a pre-registered client). `/mcp` stays user-only (`modelInvocable: false`).
1043
+ - **Connected in the same session:** after a sign-in, a server that could not connect for want of
1044
+ one goes through the normal admission (approval, fingerprint, trust) and connects, and its tools
1045
+ are offered from the next message; a server that was already connected is admitted again and
1046
+ reconnects, and its authenticator drops what it held and reads the new credential. A tool left out
1047
+ because the session already has its name is reported, and only tools actually added get
1048
+ provenance. In browser mode the authorization URL is shown in the session prompt before the
1049
+ browser opens, where the user can also choose to paste the redirect instead or cancel.
1050
+ - **`runMCPOAuthLogin`** takes `readRedirectWhenBrowserFails`: when `openBrowser` rejects, the
1051
+ loopback listener stops and the pasted redirect is read instead, for the same redirect URI. The
1052
+ loopback listener's time limit now runs from its first `wait()` — once the authorization page is
1053
+ handed over — so time spent at a prompt before the browser opens does not count against it.
1054
+ - **`Session.addTools`** (and `ICommandSessionTools.addTools`) offers tools that became usable
1055
+ mid-session, through the same permission gate and — via `ISessionOptions.wrapAddedTools`, which
1056
+ `createSession` sets — the same edit-checkpoint and reversible-execution wraps as the assembled
1057
+ tools. A name the session already has is left out, never replaced. Calls are serialized, and tools
1058
+ added while a turn runs are applied when the next turn starts, so a turn's rounds all see one
1059
+ tool list and the prompt cache misses once, at that boundary.
1060
+ - **Breaking (`agent-framework`, major):** `addTools` is a new required member of the
1061
+ `ICommandSessionTools` role port (and so of `ICommandSessionRuntime`). A host that implements the
1062
+ port itself must add it; one that passes an `agent-session` `Session` already has it.
1063
+ - **`ICommandMCPActivationAdapter.oauthLogin`** (`ICommandMCPOAuthLoginRequest`,
1064
+ `ICommandMCPOAuthLoginResult`, `ICommandMCPOAuthRedirectPrompt`) is the port behind it.
1065
+ - The sign-in notice and `/mcp status` now suggest `/mcp login <server>` in a session and
1066
+ `robota mcp login <server>` in a terminal; the server's name is shown only when it is safe to paste
1067
+ into any shell, otherwise `<server>`.
1068
+
1069
+ ### Patch Changes
1070
+
1071
+ - 02b7452: A reply to a peer session is decided by the permission system like any call that sends something
1072
+ off this machine, and it goes only to the sender that was admitted.
1073
+
1074
+ - `agent-core` — a tool declaring `repliesToPeer` is still refused outside a peer turn; inside one it
1075
+ is decided by the ordinary steps: deny, ask and allow rules, then the mode. It declares no risk
1076
+ class, so it asks by default, is refused in plan mode and proceeds under bypass. `IPeerTurnAuthority`
1077
+ no longer has `toolUsed`.
1078
+ - `agent-session` — an "always allow" answer to the reply is remembered and answers later replies,
1079
+ as for any tool; other asks in a peer turn still need a fresh approval each time.
1080
+ - `agent-framework` — `peer_reply` asks the operator by default, showing the full text and the peer
1081
+ it goes to; `permissions.allow`/`deny` rules naming `peer_reply` apply. `PeerMessageIngress`
1082
+ refuses a message whose origin names a sender other than the admitted one, or whose admission names
1083
+ no sender, and submits the turn with the admitted identity.
1084
+ - `agent-cli` — a local peer message is taken as coming from the session it names only when that
1085
+ session confirms, at its own socket, that it is sending exactly that message to this receiver.
1086
+ The reply target, the driver id and the operator's notices come from the confirmed sender. A
1087
+ session on an earlier version cannot confirm, so its messages are refused; both sessions need this
1088
+ version to message each other.
1089
+
1090
+ ## 3.0.0-beta.80
1091
+
1092
+ ### Major Changes
1093
+
1094
+ - 64ba748: **BREAKING — ARCH-042: project filesystem access is now an explicit, host-issued authority instead of an ambient consequence of `cwd`.**
1095
+
1096
+ `@robota-sdk/agent-framework` adds `WorkspaceTrustService` and the opaque
1097
+ `IWorkspaceProjectAuthority`, plus bounded reader, settings-writer, state-storage, and mutation
1098
+ facets. Public session, settings, context, checkpoint, memory, contribution, query, and replay
1099
+ contracts consume those facets. A caller that does not supply `projectAccess` is deliberately
1100
+ restricted to user-owned host state and receives no project filesystem capability.
1101
+
1102
+ The framework removes or renames ambient Node/project exports. Migrate `checkSettingsFile` to
1103
+ `checkNodeHostSettingsFile`, `readMergedProviderSettingsFromPaths` to
1104
+ `readMergedProviderSettingsFromSources`, `resolveProviderSettingsWriteTargetPath` to
1105
+ `resolveProviderSettingsWriteTarget`, `FileSystemMemoryStore` / `createFileSystemMemoryStore` to
1106
+ `WorkspaceMemoryStore` / `createWorkspaceMemoryStore`, and `PluginSettingsStore` to
1107
+ `NodeHostPluginSettingsStore`. Host-only git helpers now carry the `FromNodeHost` suffix.
1108
+ `projectPaths`, `resolveSettingsPathForScope`, and `getProviderSettingsPaths` are removed; project
1109
+ consumers must use the authority facets rather than recover absolute paths.
1110
+
1111
+ `@robota-sdk/agent-session` renames the Node filesystem implementation `SessionStore` to
1112
+ `NodeSessionStore` and adds explicit session-log/external-payload source and sink ports. Session
1113
+ replay no longer resolves external payload files from an ambient directory.
1114
+
1115
+ `@robota-sdk/agent-interface-transport` changes `ISkillExecutionPort.loadCommands(cwd, home?)` to
1116
+ the authority-bound `loadCommands()` and removes the optional absolute-path leak
1117
+ `IInteractiveSessionStore.getFilePath`. `@robota-sdk/agent-command` consequently replaces the
1118
+ `cwd` option of `createSkillsCommandModule` with required `contributionSources`; default command
1119
+ composition accepts explicit contribution sources and discovers no project skills when none are
1120
+ provided.
1121
+
1122
+ `@robota-sdk/agent-cli`, `@robota-sdk/agent-transport`, and
1123
+ `@robota-sdk/agent-transport-tui` thread the trusted-or-restricted project decision through every
1124
+ session surface. Embedded callers that need project settings, state, context, skills, checkpoints,
1125
+ or mutation must mint access through `WorkspaceTrustService` and pass the returned
1126
+ `projectAccess` (and a separately approved mutation/settings facet where required). Omitting it is
1127
+ still type-compatible but is behaviorally breaking: the surface now fails closed instead of
1128
+ reading or writing the current directory.
1129
+
1130
+ ### Minor Changes
1131
+
1132
+ - 9c19c50: `/fork [name] [--same-dir]` copies the live conversation into a background session.
1133
+
1134
+ The session writes a copy of its own record under a fresh id — messages, system prompt, tool schemas
1135
+ and full history, and deliberately not the sandbox snapshot, goal, plan or branch — then spawns a
1136
+ background job carrying only `resumeSessionId`. The child restores that record itself, so no
1137
+ conversation crosses the child-process boundary and the worker start payload's key set is unchanged.
1138
+ The background panel gains an `attach` control that switches the terminal onto the forked session; it
1139
+ is a view switch, never a merge, and a missing record or a terminal task is refused with the task's
1140
+ own status.
1141
+
1142
+ **`@robota-sdk/agent-framework` is `major` for one reason: `ICommandHostSessionAccess` gains a
1143
+ required member.** `forkSession({ name? })` is not optional, so an external implementation of that
1144
+ role port stops compiling until it adds the method. Every other change in this set is additive:
1145
+
1146
+ - `agent-interface-execution` — `TExecutionControl` gains `'attach'`.
1147
+ - `agent-interface-command` — `TCommandUiIntent` gains `{ type: 'switch-session'; sessionId }`.
1148
+ - `agent-subagent-runner` — `ISubagentWorkerComposition` gains the optional `openSessionStore`, and
1149
+ the worker resumes a record when the job names one. A composition that registers no store and
1150
+ receives no `resumeSessionId` behaves exactly as before.
1151
+ - `agent-framework` also gains the fork-record builder, `SessionTurnMemory`, and
1152
+ `IAgentBackgroundTaskRequest.resumeSessionId?`; `loadSessionRecord` now returns
1153
+ `restoredSystemPrompt`, which makes a record field that was written and never read take effect on
1154
+ restore.
1155
+ - `agent-executor`, `agent-command`, `agent-transport-tui`, `agent-cli` — the spawn input, the
1156
+ `/fork` module and the attach control that carry it to the surface.
1157
+
1158
+ - 3ac6c48: Remote MCP servers get a client authentication port. OAuth and a dynamic header helper will plug
1159
+ into it without the transport changing.
1160
+
1161
+ - **`IMCPClientAuthenticator`:**
1162
+ - A host registers one for one server identity: `authenticatorFor` on the CLI's MCP client
1163
+ composition, or `authentication` on `IMCPHttpEndpoint`.
1164
+ - The Streamable HTTP transport asks it for headers on every request to that server, after
1165
+ admission. Its headers override a static header of the same name.
1166
+ - **Failures:**
1167
+ - A 401/403 is retried at most once, with fresh authorization, when the authenticator answers
1168
+ `retry`.
1169
+ - Otherwise the connection is refused with `MCPAuthenticationError`, which is classified as
1170
+ `auth`. Neither the credential nor the authenticator's text appears in it.
1171
+ - There is never an unauthenticated attempt.
1172
+ - **`oauth` and `headersHelper` in a definition** were silently ignored.
1173
+ - On a remote server they are now decoded as `unsupportedAuthentication`: the server stays
1174
+ listed, and admission refuses it by name (`unsupported-authentication`) instead of connecting
1175
+ without the credential.
1176
+ - On a stdio server they are a definition problem.
1177
+
1178
+ - 9368d00: Advisor escalation: the main model can consult a second model at the decision points it chooses.
1179
+
1180
+ With an advisor configured (`--advisor <profile>[:<model>]`, or the `advisorModel` setting that
1181
+ `/advisor` saves; the flag wins), the session gets an `Advisor({ question? })` tool. The advisor reads
1182
+ the whole conversation — system prompt, messages, tool calls and results — serialized into one prompt
1183
+ and sent with `toolChoice: 'none'`, truncated from the front to fit its window with the system prompt
1184
+ kept, and declines when even that does not fit. Its answer comes back framed as guidance to verify;
1185
+ an empty or refusing answer reads as declined. Calls are limited to two per turn and a fixed number
1186
+ per session, parallel calls in one round share those limits, and a repeated question in the same
1187
+ turn returns the earlier answer. A request that was sent counts even when the provider failed (the
1188
+ decline is reported by class, never by its text); only a call declined before sending gives its slot
1189
+ back.
1190
+
1191
+ Advisor usage, including in-process subagents', is recorded where each turn's usage is recorded —
1192
+ the persisted session history, under the advisor's own provider and model — so `/cost`, usage reports
1193
+ and resumed sessions include it. `/cost` now totals that history and prices each part on its own
1194
+ model, showing "mixed" when more than one model was priced.
1195
+
1196
+ `/advisor <model>` and `/advisor off` change only where calls go, never the tool list, so the main
1197
+ model's prompt cache is not invalidated mid-session; the tool is added only when a session starts
1198
+ with an advisor. Sending history to a destination (provider type and endpoint host) the main model
1199
+ does not already use needs a one-time consent per destination, kept in the user settings file; a
1200
+ refusal is remembered for the session. The organization's `allowedProviders` applies, and
1201
+ `PRODUCT_DISABLE_ADVISOR=1` turns it off completely. In-process subagents inherit the advisor, bound
1202
+ to their own conversation; child-process subagents do not get it.
1203
+
1204
+ **`@robota-sdk/agent-framework` is `major` for one reason: `ICommandHostSessionAccess` gains a
1205
+ required member,** `getSessionUsage()`, the session's persisted usage records. An external
1206
+ implementation of that role port stops compiling until it adds the method. The rest is additive.
1207
+
1208
+ - `agent-session` — `formatConversationEntries`, the one text rendering of a conversation, now used
1209
+ by compaction too. It keeps tool calls and results, marks a user message a peer session sent
1210
+ (`user [from "peer:<id>"]`), and JSON-encodes every message onto one line so no content can forge
1211
+ another entry; compaction previously flattened all of this. `Session.getProvider()` returns the
1212
+ provider the session currently uses.
1213
+ - `agent-framework` — `AdvisorController`, `createAdvisorTool`, the advisor spec helpers, provider
1214
+ destinations (`describeProviderDestination`, `rememberProviderDestination`), `getSessionUsage` and
1215
+ `ISessionUsageRecord`, the `onUsageRecorded` session option, and the optional `advisor` command
1216
+ host adapter. Session assembly binds a host-supplied Advisor tool to the session holding it.
1217
+ - `agent-command` — the `/advisor` command module; `/cost` reads the session's persisted usage.
1218
+ - `agent-cli` — the `--advisor` flag, `advisorModel` setting, per-destination consent store and kill
1219
+ switch.
1220
+ - `agent-ui-terminal` — a usage line from another source (the advisor, a background task) names that
1221
+ source and leaves out the context window it does not have.
1222
+ - `agent-session-analytics` — personal usage counts an advisor call's tokens and cost toward its
1223
+ turn without counting it as a turn.
1224
+
1225
+ - 0d369ce: Remote MCP servers can take their request headers from a header helper.
1226
+
1227
+ - **Declaring one:** `"headersHelper": { "command": "/absolute/path", "args": [...] }` on a remote
1228
+ server definition.
1229
+ - `${}` templates are refused, as they are for stdio.
1230
+ - The shell-string form other clients accept is refused, with a message showing the argv form.
1231
+ - `headersHelper` is no longer reported as unsupported authentication; only `oauth` is.
1232
+ - **Allowing one:** a helper runs only when all of these hold:
1233
+ - its exact command and arguments are listed in `mcpHeaderHelpers` in the user's own settings.
1234
+ A project, local, managed or plugin source cannot add to that list.
1235
+ - the server's activation is approved. The helper is part of the definition fingerprint, and the
1236
+ activation endpoint shows it beside the URL, with arguments quoted and control characters
1237
+ escaped.
1238
+ - for a `project` or `local` definition, the workspace is trusted.
1239
+
1240
+ Otherwise the server is refused with `headers-helper-not-allowed` or `headers-helper-untrusted`.
1241
+ It is never connected with its static headers alone.
1242
+
1243
+ - **Running it** (`agent-cli`):
1244
+ - No shell. It runs in the project directory for a `project`/`local` definition, and in
1245
+ `$PRODUCT_USER_STATE_DIR` otherwise.
1246
+ - Its environment is the host's without runtime-loading variables (`NODE_OPTIONS`, `LD_*`,
1247
+ `BASH_ENV`, …). A `project`/`local` helper also gets no credential-shaped variables.
1248
+ `PRODUCT_MCP_SERVER_NAME` and `PRODUCT_MCP_SERVER_URL` are set. For a `project`/`local` helper
1249
+ the URL keeps its `${VAR}` references instead of what the environment expanded them to.
1250
+ - Limits: 10 s and 64 KiB of stdout. Stderr is discarded. The process tree is killed on timeout
1251
+ or cancel.
1252
+ - **Its output** (`agent-mcp`, `parseHeadersHelperOutput`):
1253
+ - Exactly one JSON object of string values.
1254
+ - Refused: invalid or duplicate names (case-insensitive), more than 32 headers, and headers the
1255
+ transport owns (`Host`, `Content-Length`, `Transfer-Encoding`, `Connection`, `Content-Type`,
1256
+ `Accept`, `Mcp-Session-Id`, `Mcp-Protocol-Version`, `traceparent`).
1257
+ - **When it runs:** once per connection, one run at a time, and once more after a 401/403.
1258
+ - Requests refused together cost one new run: the reusable `MCPSingleFlightCache` tags each value
1259
+ with a generation and drops it only when the refused request used the current one.
1260
+ - `IMCPAuthorizationRejection` now carries `authorization`, the object `authorize` returned for
1261
+ the refused request, so an authenticator can tell which credential was refused.
1262
+ - A reconnect runs the helper afresh. A helper still running when the CLI exits is killed.
1263
+ - Failures are `MCPHeadersHelperError` with a fixed reason. Nothing the helper printed reaches an
1264
+ error or a diagnostic.
1265
+ - `IMCPHttpEndpoint.authenticationRequired` refuses admission (`authentication-unavailable`) when no
1266
+ authenticator is registered.
1267
+
1268
+ - d4189b9: The rest of the per-server MCP OAuth lifecycle: signing in to a server without a local browser,
1269
+ signing out of it with token revocation, and each server's sign-in state in `/mcp`.
1270
+
1271
+ - **`robota mcp login <name> --no-browser`** prints the authorization URL and reads the redirect URL
1272
+ the user pastes back (not echoed). `runMCPOAuthLogin` takes `readRedirect` for this; nothing
1273
+ listens on the redirect URI then. The pasted URL is held to the loopback listener's rules through
1274
+ `createPastedRedirectAcceptor`: it must be the registered redirect URI (same origin and path, no
1275
+ user info), carry the sign-in's `state` (compared in constant time), and is accepted once; an
1276
+ error redirect is `authorization-denied` without its `error_description`, and the RFC 9207 `iss`
1277
+ check applies as before. `openBrowser` now also receives the redirect URI. `readRedirect` gets a
1278
+ signal that aborts on cancel or at `callbackTimeoutMs` (5 minutes by default, as for the loopback
1279
+ listener); a paste longer than the prompt accepts fails as `redirect-too-long`.
1280
+ - **Signing out** (`runMCPOAuthLogout`; `robota mcp logout <name>`; `/mcp logout <serverId>`):
1281
+ deletes the stored credential under the refresh lock, then revokes the refresh token and the
1282
+ access token (RFC 7009) when the stored issuer advertises `revocation_endpoint`. Revocation is a
1283
+ POST through the egress policy that never follows a redirect and is byte-bounded; it authenticates
1284
+ the client by `revocation_endpoint_auth_methods_supported` when advertised, otherwise the way its
1285
+ refresh does. The local delete always happens. Each token's outcome is reported in `tokens`, and
1286
+ overall as `revoked`, `partial`, `unsupported`, `failed` or `not-attempted`, with fixed reasons
1287
+ only (new: `revocation-failed`, and `token-type-not-revocable` for RFC 7009
1288
+ `unsupported_token_type`). `/mcp logout` also makes the session's authenticator drop the token it
1289
+ holds (`IMCPOAuthAuthenticator.forget`).
1290
+ - **Sign-in state:** `readMCPOAuthCredentialState` answers `signed-in`, `expired-refreshable`,
1291
+ `sign-in-required` or `signed-out` — never anything token-derived. `/mcp` shows it for every
1292
+ OAuth server; a server this session was told needs a sign-in reads `sign-in-required`.
1293
+ `ICommandMCPActivationAdapter` gains optional `oauthStatus` and `oauthLogout`
1294
+ (`ICommandMCPOAuthStatus`, `ICommandMCPOAuthLogoutResult`).
1295
+ - **No in-session sign-in:** signing in stays `robota mcp login <server>` in a terminal, since it
1296
+ needs the terminal (browser, pasted redirect, hidden secret prompt) a running session owns. `/mcp`
1297
+ names that command for a server that needs a sign-in, as does the session's sign-in notice; the
1298
+ server name is shown there only when it is safe to paste into any shell — a plain token not
1299
+ starting with `-` or `=` — and is otherwise replaced by `<server>` (`shellArgumentForDisplay` in
1300
+ `agent-core`; nothing is quoted, since quoting rules differ between shells). Server names in OAuth
1301
+ notices have control and format characters escaped.
1302
+ - **Refresh hardening:** on `invalid_grant`, the store is read again under the lock; a refresh token
1303
+ another holder rotated in meanwhile is kept (and used when still valid) instead of being deleted.
1304
+ The expiry skew is capped at half the token's lifetime, so a short-lived token is not refreshed on
1305
+ every request; credentials now record `issuedAt` for this.
1306
+
1307
+ - 9edae52: Remote MCP servers can authenticate with OAuth: `robota mcp login <name>` signs in, and sessions
1308
+ send the stored token.
1309
+
1310
+ - **Declaring it:** `"oauth": { "clientId"?, "callbackPort"?, "authServerMetadataUrl"?, "scopes"? }`
1311
+ on a remote server definition, decoded into `IMCPOAuthConfig`.
1312
+ - `authServerMetadataUrl` must be `https`. `scopes` wins over the server's metadata and a 401's
1313
+ `scope`.
1314
+ - A `clientId` needs a `callbackPort`: a pre-registered client's redirect URI is fixed.
1315
+ - `clientSecret`, unknown keys and `${}` templates are refused; `oauth` beside `headersHelper`,
1316
+ or on a stdio server, is refused.
1317
+ - `oauth` is no longer reported as unsupported authentication, and it is part of the definition
1318
+ fingerprint.
1319
+ - **Signing in** (`runMCPOAuthLogin`; `robota mcp login <name> [--client-secret]`):
1320
+ - Discovery is done here, not by the SDK's `discoverOAuthServerInfo`: the protected-resource
1321
+ metadata `resource` must be the canonical server URL, the authorization server's `issuer` must
1322
+ be the server it was fetched for, the server, authorization, token and registration
1323
+ endpoints must be `https`, and the authorization server must advertise PKCE `S256`
1324
+ (`pkce-unsupported` otherwise). A 401's `resource_metadata` is never followed to another origin,
1325
+ and a server without resource metadata is not guessed at.
1326
+ `authServerMetadataUrl` skips resource discovery.
1327
+ - Dynamic client registration when there is no `clientId`; PKCE, a random `state` and the
1328
+ RFC 8707 resource indicator on the authorization request; the RFC 9207 `iss` checked on the
1329
+ redirect when sent, and required when the server promises it.
1330
+ - The loopback callback listens on `127.0.0.1`, checks `Host`, answers only `GET /callback` with
1331
+ the sign-in's `state` (compared in constant time), once, within 5 minutes, and serves a static
1332
+ page that never shows `error_description`.
1333
+ - The browser opens by argv (`open`, `xdg-open`, `rundll32 url.dll,FileProtocolHandler`) and only
1334
+ for an `https` URL. `--client-secret` asks for the secret without echo (or reads stdin's first
1335
+ line) and only for a pre-registered client.
1336
+ - **Network:** every OAuth request goes through the egress policy and is capped at 256 KiB.
1337
+ `agent-core` adds `postWithEgressPolicy`, which refuses a redirect (`redirect_refused`) instead
1338
+ of following it; registration, token and refresh requests use it.
1339
+ - **Storage:** `IMCPOAuthCredentialStore` (`get`/`set`/`delete`), keyed by the server's security
1340
+ identity and canonical URL together. `createFileOAuthCredentialStore` keeps 0600 files in a 0700
1341
+ `$PRODUCT_USER_STATE_DIR/mcp-credentials/`. The issuer, token endpoint and client (with its secret, if any, and
1342
+ the client authentication method dynamic registration returned) are stored with the tokens. A
1343
+ sign-in stores its credential under the refresh lock, so a refresh in flight cannot overwrite it.
1344
+ - **Sessions** (`createOAuthAuthenticator`, wired for every `oauth` definition):
1345
+ - Sends the stored token as `Authorization: Bearer`, refreshing it first when expired — including
1346
+ a token cached earlier in the session — and only at the stored token endpoint.
1347
+ - One refresh at a time per credential: in a process through `MCPSingleFlightCache`, across
1348
+ processes under `createFileOAuthRefreshLock`, re-reading the store once the lock is held. A
1349
+ stale lock is taken over, and a lock released, only after it is renamed aside and proven to be
1350
+ the one judged — never another process's fresh lock.
1351
+ - A 401 rediscovers, then refreshes once and retries; an authorization server that changed clears
1352
+ the tokens — compared, under the lock, with what is stored then, so a newer sign-in is kept. `invalid_grant`, or nothing stored, asks the user to run `robota mcp login <name>`. A 403
1353
+ `insufficient_scope` fails and names the scope.
1354
+ - An `oauth` definition is never connected without the authenticator (`oauth-unavailable`).
1355
+ - Failures are `MCPOAuthError` with a fixed reason; no code, verifier, token, secret or
1356
+ authorization-server text reaches an error, a notice or a log.
1357
+
1358
+ - 4078a72: Model fallback chain. `--fallback-model a,b` (or the `fallbackModel` settings array; the flag wins) names up to three models a turn moves to when its model is overloaded, unavailable or failing on the server. An entry is a provider profile, `profile:model`, a bare model on the primary's provider, or `default`. The move happens only before any output has streamed, lasts for the current turn, and is shown as a system note; entries that cannot be built are passed over and entries outside the organization's `allowedProviders` are dropped with a notice. `FallbackProvider` in agent-framework implements it over the session's provider; `IChatOptions` gains `executionId`, `onModelFallback` and `preserveContextWindow`, `IAIProvider` gains optional `resolveModelRoute`, and the execution loop emits a `provider_fallback` event and attributes requests, call observations, committed replies, the response cache and usage to the model that answered. A turn that ran on more than one model records per-model `modelShares` on its usage observation, which personal usage reports split by model and provider. A `/provider` switch keeps the chain, read again for the new primary.
1359
+ - 3131209: `robota mcp serve` can serve a remote MCP client as an OAuth resource server.
1360
+
1361
+ `agent-transport-mcp` gains `createMcpRemoteHttpHost`, which admits requests only by an OAuth access
1362
+ token checked by an injected `IAccessTokenVerifier`. Its endpoint path and its RFC 9728
1363
+ protected-resource metadata path are derived from the `https` public URL, so a proxy prefix works,
1364
+ and Host and Origin are checked against that public origin. A refusal has an empty body: `401` with
1365
+ `WWW-Authenticate: Bearer resource_metadata="…"` (plus `error="invalid_token"` when a token was
1366
+ presented), or `403` with `error="insufficient_scope"`. The token is verified before anything is
1367
+ counted, and only failures are counted, per client address, so a valid token is never throttled;
1368
+ `X-Forwarded-For` is believed only from a configured trusted proxy. Each refusal goes to an injected
1369
+ audit sink as a reason and an address class, never token text. The host stays stateless and issues
1370
+ no `Mcp-Session-Id`. The loopback `createMcpHttpHost` is unchanged.
1371
+
1372
+ `agent-cli` adds `--http-public-url`, `--http-host`, `--oauth-issuer`, `--oauth-scopes`,
1373
+ `--oauth-allowed-subjects` and `--trusted-proxy` to `robota mcp serve`. It binds an address other than
1374
+ `127.0.0.1` only with the public URL and the OAuth settings, and never with `--http-token-file`.
1375
+ Refusals are logged on stderr without token text.
1376
+
1377
+ - af2f2ad: `/cd <directory>` continues the conversation in another directory.
1378
+
1379
+ - **A move is a new session in the target directory.** In the TUI, Robota saves a copy of the
1380
+ conversation where the target's session store will find it, ends the current run through its
1381
+ normal end-of-life flow, and starts again in the target directory resuming that copy. The target's
1382
+ settings, trust decision, tools, skills and `AGENTS.md` apply, exactly as if Robota had been
1383
+ launched there. The process boundary makes the move atomic, so no tool call can straddle it.
1384
+ - **The system prompt is kept as recorded**, so a provider's prompt cache survives. One appended
1385
+ `<workspace-move>` message tells the model the new directory, and which project instructions now
1386
+ apply.
1387
+ - **Refused** while a turn is running or a background task is still running, for a missing directory
1388
+ or the current one, and for a target a `Cd(...)` deny rule names.
1389
+ - **Access never widens:** a restricted session stays restricted after a move, and a trusted session
1390
+ takes the target's own trust decision.
1391
+ - New contracts: the `workspace-move` host action, `ICommandWorkspaceAdapter` /
1392
+ `IWorkspaceMoveRequest`, `InteractiveSession.moveWorkspace`, and the `workspaceMovedFrom` session
1393
+ option. The CLI's `--moved-from` and `--restricted-workspace` flags are internal.
1394
+
1395
+ - 267af5f: The execution containment seam states where tools run.
1396
+
1397
+ - **`ISandboxClient.filesystem`** (`'shared' | 'separate'`, absent means `separate`).
1398
+ - With a **separate** filesystem (E2B, in-memory), every file tool goes through the sandbox, and
1399
+ `Glob`/`Grep`, which can only read the host, are withheld. Previously a remote sandbox still
1400
+ offered host-reading search tools beside sandbox-writing edit tools.
1401
+ - With a **shared** filesystem (OS-level confinement over the host's files), file tools stay on
1402
+ the host under the path guard, and only commands go through the sandbox.
1403
+ - **`describeExecutionContainment` / `routesFilesThroughSandbox`** name the containment (`host`,
1404
+ `sandbox-shared`, `sandbox-separate`) instead of inferring it from an absent value.
1405
+ - **`robota doctor` reports `execution.containment`.** Robota composes no sandbox today, so the
1406
+ doctor says shell commands run unconfined on the host and the permission rules are the only
1407
+ boundary. The CLI composition and the doctor read the same value.
1408
+ - **The `Agent` and `BackgroundProcess` tools no longer fall back to `process.cwd()`** when they
1409
+ were built without an execution root. They report an assembly error instead, as the file tools
1410
+ already did (ARCH-010).
1411
+
1412
+ - f336838: One permission evaluation order for every caller. The interactive session, background tasks and
1413
+ subagents used to run two different resolvers, so the same call could be decided differently
1414
+ depending on who made it. They now share `evaluatePermission`, and a background policy only adds a
1415
+ ceiling, an ask-everything flag and the task's own lists to it:
1416
+
1417
+ deny → caller ceiling → unevaluable deny (ask) → never-auto-approve set (ask) → ask-everything →
1418
+ bypassPermissions → allow → mode.
1419
+
1420
+ - **`ask` rules.** `permissions.ask` patterns always ask, in every mode including
1421
+ `bypassPermissions`. They are matched per command like a deny rule, and are validated at
1422
+ construction alongside `allow` and `deny`.
1423
+ - **Never auto-approved, bypass included:** removing a critical path with `rm`/`rmdir` (the root, a
1424
+ top-level directory, home, the working directory or a parent), and a modify-class write into
1425
+ `.git`, `.Robota`, `.claude`, `.agents`, `.mcp.json`, `.gitconfig`, `.npmrc` or a shell rc file.
1426
+ Files inside an isolated worktree (`$PRODUCT_PROJECT_STATE_DIR/worktrees/<name>/…`) are ordinary files. With no
1427
+ approver attached, an ask is a denial.
1428
+ - **A ceiling is checked before bypass and before any ask.** A subagent's `inherit-allowlist` ceiling
1429
+ is now the parent's _effective_ rules, read live at spawn: settings, preset lists and command
1430
+ auto-allows. It used to be the raw settings file. An unevaluable deny under a policy now asks,
1431
+ like everywhere else, where it used to deny outright; with no approver it is still a denial.
1432
+ - **Settings layers union `permissions.allow`**, as they already did `deny`. A checked-in project
1433
+ file no longer silently discards the user's allow list.
1434
+ - **Print mode, `createQuery()` and headless sessions default to `default` mode**, not
1435
+ `bypassPermissions`. They have no approver, so a call that would ask is denied. Pass
1436
+ `--permission-mode` / `permissionMode: 'bypassPermissions'` explicitly for unattended runs.
1437
+
1438
+ **Breaking:**
1439
+ - `@robota-sdk/agent-core` removes `resolvePermissionByPolicy` and `TPermissionPolicyDecision` in
1440
+ favour of `projectPermissionPolicy` plus `evaluatePermission`'s new `context` argument.
1441
+ - `@robota-sdk/agent-framework` changes the settings merge rule for `permissions.allow`, and the
1442
+ default permission mode of `createQuery()` and headless sessions.
1443
+
1444
+ - 34e50f0: A new permission mode, `auto`, lets a model classifier approve or block what would otherwise prompt.
1445
+
1446
+ - **What it decides:**
1447
+ - Reads and in-workspace edits run as in `acceptEdits`.
1448
+ - Commands and other calls the mode leaves open go to the classifier, a side call to the
1449
+ session's own model. It sees the call, the working directory and the git remotes, never the
1450
+ conversation.
1451
+ - A block reaches the model with its reason, so it can take another route.
1452
+ - **What still reaches a person, or is refused:**
1453
+ - Deny rules and background ceilings apply first.
1454
+ - `ask` rules, critical removals and protected paths ask a person.
1455
+ - After 3 refusals in a row (blocks, or no usable verdict), or 20 blocks in the session, the
1456
+ mode asks a person until one approves.
1457
+ With no one to ask, the call is denied.
1458
+ - **Allow rules:** in `auto` mode, allow rules that approve any command are set aside while the
1459
+ mode is on. Examples are `Bash(*)`, an interpreter (`Bash(python *)`), a package runner
1460
+ (`Bash(npm run *)`, `Bash(pnpm exec *)`), `Agent`, `ExecuteCommand` or `Computer`. Narrow
1461
+ rules still apply.
1462
+ - **Retry:** `/permissions` lists classifier blocks. `/permissions retry <n>` lets that exact call
1463
+ run once, unjudged, when the model tries it again.
1464
+ - **Turning it on and off:**
1465
+ - `--permission-mode auto`, `/mode auto` or `/permissions auto`.
1466
+ - An organization turns it off with `disableAutoMode` in the org policy.
1467
+ - **New contracts:**
1468
+ - `TPermissionMode` gains `'auto'`.
1469
+ - `allowRulesForAutoMode` and `isBroadExecutionAllowRule`.
1470
+ - `IPermissionClassifier` and `AutoModeGate`.
1471
+ - The `permissionClassifier` session option.
1472
+ - `Session.retryPermissionDenial`, and `retryDenial` on the permission-mode adapter.
1473
+ - The `'classifier'` denial reason.
1474
+ - `createModelPermissionClassifier`.
1475
+ - The `disableAutoMode` option on `createSession` and `IOrgPolicy`.
1476
+
1477
+ - 722e88a: Shell commands can run in an OS-level sandbox: bubblewrap on Linux and WSL2, Seatbelt on macOS.
1478
+
1479
+ - **Confinement:** covers the command and every process it starts.
1480
+ - Writes are limited to the working directory, the temporary directories and
1481
+ `sandbox.filesystem.allowWrite`.
1482
+ - Agent, git-hook, MCP and shell configuration inside the workspace stays read-only.
1483
+ - `sandbox.filesystem.denyRead` hides paths from the command.
1484
+ - The network is on or off (`sandbox.network.enabled`).
1485
+ - **Modes:** `/sandbox` switches between `auto-allow`, `regular` and `off` for the next command and
1486
+ saves the choice.
1487
+ - In `auto-allow` (`sandbox.autoAllowBashIfSandboxed`), a confined command runs without a prompt
1488
+ in `default` and `acceptEdits`.
1489
+ - Deny rules, ask rules, critical removals and plan mode still apply first.
1490
+ - **Exclusions:** `sandbox.excludedCommands` run unconfined, through the ordinary permission path.
1491
+ - **When the sandbox cannot run:** a missing or unusable backend is reported at startup, in
1492
+ `robota doctor` and in `/sandbox`, and commands then run unconfined.
1493
+ `sandbox.failIfUnavailable` refuses to start instead.
1494
+ - **New contracts:**
1495
+ - `OsSandboxClient`, `detectOsSandbox`, `bubblewrapArguments`, `seatbeltProfile`.
1496
+ - `ISandboxClient.wrapCommand` and `autoApproves`.
1497
+ - `IPermissionEvaluationContext.sandboxAutoApproved`.
1498
+ - The `commandSandbox` session option.
1499
+ - The `sandbox` settings key and the `sandbox` command host adapter.
1500
+
1501
+ - a5cc36e: `/permissions` shows the rules the session enforces and the calls it refused.
1502
+
1503
+ - **Rules by source:** each allow, deny and ask rule the gate reads is listed under the settings file
1504
+ that declares it. Rules added by a CLI flag, a preset or a command are listed under "this session".
1505
+ A rule a settings file declares but the session does not enforce is not shown.
1506
+ - **Recent denials:** the latest refused calls, most recent first, with the reason: a rule or the
1507
+ mode, the user declining, or no one available to approve.
1508
+ - New contracts: `Session.getRecentPermissionDenials()`, `PermissionEnforcer.getRecentDenials()`,
1509
+ `IPermissionDenial`, the `permissionRules` host adapter (`createSettingsPermissionRulesAdapter`),
1510
+ and `getPermissionRules` / `listRecentDenials` on `ICommandPermissionModeAdapter`. Settings
1511
+ provenance now covers `permissions.ask`.
1512
+
1513
+ - b70fa3d: `robota --safe-mode` starts a session with every customization off, to rule one out in one run.
1514
+
1515
+ - **Off:** project and user instruction files, skills, custom commands, agent definitions, output
1516
+ styles, external presets, plugins, hooks from every settings layer, and MCP servers.
1517
+ - **Unchanged:** provider, model, built-in tools and permissions work as usual. Nothing on disk
1518
+ changes.
1519
+ - **Project access:** the project starts Restricted whatever its trust decision, so safe mode also
1520
+ runs in print and serve mode.
1521
+ - **Notice:** a line at startup says that safe mode is on.
1522
+ - **Embedders:** `startCli({ safeMode: true })` does the same as the flag.
1523
+ - **New framework option:** `skipConfiguredHooks` on interactive and headless sessions, also
1524
+ carried by the TUI and serve session options.
1525
+
1526
+ - 4dd45cc: `/peers` shows how each other local session's workspace relates to this one's: `same worktree`,
1527
+ `same repo`, `different repo`, or `workspace unknown`.
1528
+
1529
+ A session now publishes a workspace claim with its rendezvous entry — the root commits reachable
1530
+ from HEAD, a SHA-256 of its normalized `origin` URL (never the URL itself), and the real path of its
1531
+ worktree — and re-reads it as it runs, so a first commit or a checkout does not leave it stale. The
1532
+ reader does not take the claim as written: it reads git at the claimed path itself, and a claim whose
1533
+ contents disagree is shown as `workspace claim mismatched, not believed` and relates to nothing. Those
1534
+ git reads are local-only and asynchronous, run only for the view that shows the relation (and for
1535
+ the sender of an incoming peer message), and are cached per announcement. The relation also reaches
1536
+ the peer-turn origin, computed by the receiver; a relation the sender put on the wire is discarded,
1537
+ and the admission never carries it.
1538
+
1539
+ The relation is display and routing information only and is never an authorization input.
1540
+
1541
+ Additive: `agent-interface-session-mobility` exports `TWorkspaceRelation` and gains the optional
1542
+ `IPeerOrigin.workspaceRelation`; `agent-framework`'s `ILocalPeerSummary` gains the optional
1543
+ `workspaceRelation` and `workspaceClaim`, and `ICommandLocalPeersAdapter` the optional
1544
+ `listWithWorkspace()`.
1545
+
1546
+ - 4c5148e: ARCH-005 Stage S2 — `robota` is now expressed as an `IProductProfile` and assembled by `assembleProduct`;
1547
+ the hand-wired composition root in `agent-cli` is gone.
1548
+
1549
+ - **`@robota-sdk/agent-product`** — provider construction returns IN-KERNEL. `assembleProduct` builds the
1550
+ provider from `providerDefinitions` + the shell's already-resolved `providerSettings` via agent-core's
1551
+ pure `createProviderFromConfig`; `provider` is now an OPTIONAL injected override. Both are optional, so a
1552
+ Mode A profile can carry only `providerDefinitions`. The fold stays pure and IO-free — every
1553
+ settings/env/file read still happens in the shell. Adds `IAssembledProduct.buildRuntimeOptions`, the pure
1554
+ overlay `buildRuntime` delegates through, and `IAssembledProduct.providerDefinitions`.
1555
+ **Breaking for pre-release consumers:** `IProductProfile.providerDefinitions` is now required and
1556
+ `IProductProfile.provider` / `IAssembledProduct.provider` are now optional.
1557
+ - **`@robota-sdk/agent-framework`** — a scoped, additive session seam: `agentDefinitions` on
1558
+ `TInteractiveSessionOptions` / `ICreateSessionOptions`, composed into the built-in agent tier ahead of
1559
+ `BUILT_IN_AGENTS`, so capability-pack subagents actually reach the runtime. Precedence: discovered
1560
+ project/user definitions > injected > built-in. `AgentDefinitionLoader` now dedupes within that tier
1561
+ (first wins). Absent ⇒ unchanged behavior.
1562
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
1563
+ `agentDefinitions` through the headless and TUI channels so every Robota surface carries the seam.
1564
+ - **`@robota-sdk/agent-cli`** — `robota`'s identity (branding, provider surface, presets,
1565
+ `packs: [codingPack]`, base command modules, injected transports/runners/subagent factory) is declared as
1566
+ data in a product profile and folded by `assembleProduct`. The coding command modules (`/shell`,
1567
+ `/editor`) now come from `pack-coding` rather than the base set, so the pack is load-bearing. What remains
1568
+ in the CLI is product-shell only: arg parsing, settings/file IO, terminal notices, first-run/init/
1569
+ `--configure`, memory + session-resume UX, and print/serve/TUI mode dispatch.
1570
+
1571
+ End-user `robota` behavior is unchanged in substance — the assembled command-module set, provider surface,
1572
+ tool set, subagent roster, and preset resolution all match the pre-change assembly — with one accepted
1573
+ cosmetic delta: `/shell` and `/editor` now appear at the END of `/help` output and of the slash-command
1574
+ autocomplete popup rather than mid-list, because they arrive from `pack-coding` and both surfaces render in
1575
+ module-insertion order. Same commands, same behavior, different position.
1576
+
1577
+ - 37af5dc: ARCH-006 + ARCH-007 — the capability-pack TOOL axis reaches parity with the command and subagent axes,
1578
+ and `robota` consumes the composition kernel's RUNTIME SEAM instead of only its materials.
1579
+
1580
+ - **`@robota-sdk/agent-framework` (ARCH-006)** — the default tool set is no longer hard-coded.
1581
+ `createSession` accepts `defaultTools`, which REPLACES the `createDefaultTools()` tier (`[]` suppresses
1582
+ it entirely) — the tool-axis mirror of NEUT-003's `builtInAgents` seam for subagents. The assembled
1583
+ list `defaultTools ⊕ additionalTools ⊕ goalTool` is now **deduplicated by tool name, first occurrence
1584
+ wins**, the same rule `AgentDefinitionLoader` applies within the subagent built-in tier. So a
1585
+ contributed tool with a NEW name is additive, a contributed tool that mirrors a framework default is
1586
+ deduped rather than listed twice, and a product can hand its whole tool surface to its capability
1587
+ packs. A name collision keeps the framework default and drops the contribution: the default tier is
1588
+ built WITH the session context (`cwd` supplies `agent-tools`' working-directory path guard, plus the
1589
+ sandbox client and retrieval adapter) and an already-constructed contribution carries none of it, so
1590
+ replacement is expressible only through the explicit `defaultTools` seam — never as a side effect of a
1591
+ collision. The edit-checkpoint wrap now covers the assembled set, so a pack-contributed `Write`/`Edit`
1592
+ is checkpointed too. Option threaded through `ICreateSessionOptions` / `IInitOptions` /
1593
+ `IInteractiveSessionStandardOptions`. Absent `defaultTools` and absent a duplicate name, every existing
1594
+ path is byte-identical.
1595
+ - **`@robota-sdk/agent-product` (ARCH-007)** — `buildRuntimeOptions` no longer overwrites a
1596
+ caller-supplied `commandModules`. A shell that has already narrowed the merged `base ⊕ packs` superset
1597
+ (as `robota` does with its preset's enabled/disabled delta) keeps that selection; the assembled set is
1598
+ overlaid only when the caller left it unset — the same rule `permissionMode` already followed.
1599
+ - **`@robota-sdk/agent-cli` (ARCH-007)** — `startCli` now routes through
1600
+ `product.buildRuntimeOptions(...)`. The shell resolves its own session inputs and the kernel lays the
1601
+ product-owned materials on top: the packs' tools (`additionalTools`), the packs' subagents
1602
+ (`agentDefinitions`), and the default preset's permission posture when `--permission-mode` left it
1603
+ unset. The hand-threaded `product.subagents` path and the three per-surface
1604
+ `args.permissionMode ?? resolvedPreset.permissionMode` expressions are gone — every surface binds to
1605
+ the one kernel result.
1606
+
1607
+ End-user `robota` behavior is unchanged: the assembled command-module set, provider surface, tool set,
1608
+ subagent roster, preset resolution, and permission posture all match the pre-change assembly.
1609
+
1610
+ - 0116a29: ARCH-006 completion — Robota's capability packs now OWN its tool surface, and `pack-coding` is built by a
1611
+ context-bound factory.
1612
+
1613
+ - **`@robota-sdk/pack-coding` (BREAKING)** — the module-level `codingPack` constant is **removed** and
1614
+ replaced by `createCodingPack({ cwd, sandboxClient })`, with `cwd` **required**. This is a safety change,
1615
+ not a style one: `agent-tools` disarms its working-directory path guard when `cwd` is `undefined`, so a
1616
+ pack whose file tools are built with no options contributes an **unsandboxed** `Read`/`Write`/`Edit`.
1617
+ That was inert while `agent-framework` always supplied its own context-bound default tier, but ARCH-006
1618
+ lets a product hand the whole tool surface to its packs (`defaultTools: []`) — and a context-free pack in
1619
+ that position is a real hole. Keeping a zero-option export beside that seam would be a loaded gun, so it
1620
+ is gone rather than deprecated. Each call returns fresh instances bound to the supplied context, so two
1621
+ products in one process get independently-scoped file tools. Migration: replace `codingPack` with
1622
+ `createCodingPack({ cwd: process.cwd() })`.
1623
+ - **`@robota-sdk/agent-cli`** — `robota`'s packs are built from the shell's resolved `cwd`
1624
+ (`createProductCapabilityPacks({ cwd })`) before command setup, and the runtime seam passes
1625
+ `PRODUCT_PACKS_OWN_TOOL_SURFACE` (an empty `defaultTools`) so the framework's `createDefaultTools()` tier
1626
+ is REPLACED. Every tool Robota runs now arrives from a capability pack: dropping a pack drops its tools,
1627
+ exactly as it already dropped its command modules and subagents.
1628
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
1629
+ `additionalTools` and `defaultTools` through the headless and TUI channels, mirroring the existing
1630
+ `agentDefinitions` pass-through, so print, serve and TUI carry an identical tool surface.
1631
+
1632
+ End-user `robota` behavior is unchanged, including the security property: the real binary still answers a
1633
+ read outside the working directory with `Access denied: "…" is outside the working directory`.
1634
+
1635
+ - 7937c19: Split the `@robota-sdk/agent-provider` monolith into SDK-aligned leaf packages (ARCH-PROVIDER-002 Stage A). The single package that hard-bundled all three vendor SDKs (`@anthropic-ai/sdk`, `openai`, `@google/genai`) is **removed** and replaced by per-vendor leaves, each depending only on `@robota-sdk/agent-core` + its one SDK: `@robota-sdk/agent-provider-anthropic`, `@robota-sdk/agent-provider-openai`, `@robota-sdk/agent-provider-openai-compatible` (DeepSeek/Qwen/Gemma over the shared OpenAI-compatible base), `@robota-sdk/agent-provider-gemini` (+ a `./google` entry), and `@robota-sdk/agent-provider-bytedance` (media/video `IVideoGenerationProvider`). The aggregated `createDefaultProviderDefinitions()` now lives in the new `@robota-sdk/agent-builtin-providers` leaf.
1636
+
1637
+ Migration: replace `@robota-sdk/agent-provider/<vendor>` imports with the corresponding `@robota-sdk/agent-provider-<vendor>` package (`/deepseek`, `/qwen`, `/gemma` → `@robota-sdk/agent-provider-openai-compatible`; `/google` → `@robota-sdk/agent-provider-gemini/google`), and import `createDefaultProviderDefinitions` from `@robota-sdk/agent-builtin-providers`. Consumers now pull only the vendor SDK(s) they actually use.
1638
+
1639
+ - 1e3f91a: CMD-004 Phase 2 Stage E (breaking, beta line): the legacy `TCommandEffect` union and
1640
+ `ICommandResult.effects` are DELETED. Commands emit the split contract directly —
1641
+ `hostActions` (session-executed via `ICommandHostAdapters`; works headless and remote) and
1642
+ `uiIntents` (requester-routed `ui_intent` session events with UI-neutral `show-*` names).
1643
+ Final carriers for the former notification effects: `session_renamed` and the new
1644
+ `history_cleared` are BROADCAST session events (forwarded to every WS surface, folded by the
1645
+ TUI transcript/title and the GUI reducer's new `sessionName`/transcript-reset state);
1646
+ `session-execution-started` rides `result.data.sessionExecution`; the plugin-registry refresh
1647
+ rides `result.data.pluginRegistryReloaded`. A mechanical grep floor
1648
+ (`command-effect-grep-floor.test.ts`) keeps `tui-requested`/`TCommandEffect`/`effects:` out of
1649
+ every `packages/*/src` production tree.
1650
+ - 44393be: Add the `/remote-control` enable path (REMOTE-008 Stage B4-2b) — turn on P2P remote control locally, get
1651
+ a QR + link, and a paired device co-drives the SAME live session over pairing-gated WebRTC. The command
1652
+ is a declarative trigger returning `remote-control-enable-requested`/`-stop-requested` effects (SSOT
1653
+ agent-interface-transport) and reads state via a new `ICommandHostAdapters.remoteControl.getStatus()`;
1654
+ the TUI dispatches the effects to injected callbacks; all transport construction lives at the agent-cli
1655
+ composition root (`WsSignalingClient` + pairing-gated `WebRtcTransport`, relay URL from
1656
+ `transports.webrtc.options.relayUrl`, QR/link rendered into history). Fail-closed: no relay configured ⇒
1657
+ does nothing; pairing mismatch/timeout ⇒ the session is never exposed. Consumes REMOTE-007 so a paired
1658
+ remote owner answers their own permission/ask prompts over the WebRTC channel.
1659
+ - 9f602df: Add user-supplied TURN fallback for remote control (REMOTE-010 / Stage E1) so P2P works behind symmetric
1660
+ NAT / restrictive firewalls. The host reads + validates `transports.webrtc.options.iceServers`/`forceTurn`
1661
+ at the agent-cli composition root (a fail-closed validator narrowing the untyped value → `IIceServer[]`;
1662
+ `IWebRtcTransportOptions.iceServers` widened to carry TURN `username`/`credential`), and the browser reads a
1663
+ validated `ice`/`forceTurn` pairing-URL query param (fail-closed decoder for the attacker-influenceable value;
1664
+ `forceTurn` → `iceTransportPolicy: 'relay'`) — both threaded into their `RTCPeerConnection`. `forceTurn` without
1665
+ a TURN server fails closed (else ICE gathers no candidates and silently never connects). Absent ICE config ⇒
1666
+ host-candidate-only, unchanged.
1667
+
1668
+ (Bump target corrected during REL-023 triage: `@robota-sdk/agent-web-ui` was dissolved by GUI-006 (#1141, 2026-07-12) before this work was ever published; the browser-side ICE/`forceTurn` handling described here now lives in `@robota-sdk/agent-transport-webrtc-web`.)
1669
+
1670
+ - cbee54e: Surface unmatched preset command-module names instead of silently dropping them (INFRA-032). A preset `enabledCommandModules`/`disabledCommandModules` entry that matches no built command module — a short form like `"editor"` instead of `agent-command-editor`, or a typo — is now reported as a non-fatal notice on both the startup `--preset` path (CLI terminal) and the in-session `/preset` path (command result). Detection lives once in agent-framework's new pure `findUnknownModuleNames`, and agent-command's duplicate module filter now delegates to the framework's `selectCommandModules`; `createDefaultCommandModules` returns `{ modules, unknownModuleNames }`.
1671
+
1672
+ ### Patch Changes
1673
+
1674
+ - 1698be4: A child-process subagent can no longer send the parent's provider credential to a different
1675
+ endpoint.
1676
+
1677
+ - **Before spawning a child**, the parent compares every environment variable that decides where
1678
+ the provider connects or which credential it sends. If the child's environment differs, the job
1679
+ is refused before the credential leaves the parent. The error names the variable, never its
1680
+ value. The variables compared are:
1681
+ - the proxy and TLS variables;
1682
+ - the variables the provider's SDK reads, such as `OPENAI_BASE_URL`, `ANTHROPIC_AUTH_TOKEN` and
1683
+ the Vertex settings;
1684
+ - the credential's own variable.
1685
+ - **The child** repeats the check before it builds its provider. It builds that provider from the
1686
+ parent's effective connection exactly: it no longer fills in a base URL, options or a default
1687
+ credential from its own registry, and a credential reference that resolves to nothing is refused.
1688
+ - **Where the effective connection comes from:** the parent applies its own definition defaults
1689
+ (base URL, options). `profileName` is sent only when it names the connection actually sent.
1690
+ - **New contracts:**
1691
+ - `IProviderDefinition.destinationEnvironment`, declared by every built-in provider.
1692
+ - `createProviderFromExactProfile`, `connectionEnvironmentNames`,
1693
+ `findConnectionEnvironmentDivergence`, `sealConnectionEnvironment`,
1694
+ `verifyConnectionEnvironment` and `TRANSPORT_ENVIRONMENT`.
1695
+ - The start payload's `connectionCheck`.
1696
+ - The child-process runner's `providerDefinitions` option, now required: a provider with no
1697
+ definition there is refused, because its connection cannot be checked.
1698
+
1699
+ - 2711ec6: One broken skill or agent file no longer stops the session.
1700
+
1701
+ Skill, command and agent definitions are shared with other hosts through `.claude`, and those hosts
1702
+ define fields of their own. The frontmatter decoder now validates only the fields Robota owns and
1703
+ ignores the rest (nested `metadata` entries included); a malformed value of an owned field is still
1704
+ refused. A refused file is skipped with a single warning and still claims its name, so a
1705
+ lower-priority definition cannot stand in for it. An empty `argument-hint` reads as no hint. When
1706
+ initialization does fail, the session reports the cause to readiness probes instead of "not
1707
+ initialized", so the terminal shows the reason at once rather than a 15-second timeout.
1708
+
1709
+ The terminal also stops printing type names for message-less telemetry records, keeps its own notices
1710
+ in place across a history sync so the following answer is not skipped, and CLI diagnostics print
1711
+ their context instead of `[object Object]`, through the console so Ink renders them above the frame.
1712
+
1713
+ - d157f4b: ARCH-008 — `robota` resolves presets through the composition kernel's per-call registry, so there is one
1714
+ preset resolution path instead of two.
1715
+
1716
+ - **`@robota-sdk/agent-product`** — `IProductProfile` gains two optional fields. `presetRegistry` lets a
1717
+ consumer hand in an `IPresetRegistry` it already built (`createPresetRegistry`); when present the
1718
+ assembler ADOPTS that instance instead of building a second, equivalent one, so `product.presets` is
1719
+ that very object. This is the seam for a shell that must resolve a preset BEFORE it can build its
1720
+ profile — a preset can carry the `model` and `agentName` the profile is itself constructed from, so
1721
+ "resolve, then assemble" is a real ordering constraint. `presetContext` carries the override layers
1722
+ (`cliOverrides` / `explicit`) used when resolving `defaultPresetId`, so `product.defaultPreset` is the
1723
+ caller's full resolution rather than a variant missing its overrides. R8 is unaffected: the registry is
1724
+ still instance-scoped and no module-level state is read or mutated. Both fields are optional and the
1725
+ existing `presets` + `defaultPresetId` shape behaves exactly as before.
1726
+ - **`@robota-sdk/agent-cli`** — `resolveCliPreset` is replaced by `resolveShellPreset(externalPresets,
1727
+ args, settingsPreset)`, which builds the per-call registry, resolves over it, and returns
1728
+ `{ registry, presetId, context, options }` as one value. `createSelectedProductProfile` takes that whole value,
1729
+ so the shell cannot hand the kernel a registry, id, or override context other than the ones it actually
1730
+ resolved with. `robota`'s startup path no longer reads `agent-preset`'s module-global resolver; that
1731
+ registry remains only as the in-session `/preset` DISCOVERY surface, which is executed inside the
1732
+ session and has no handle on the assembled product. Both surfaces are fed by the one
1733
+ `loadExternalPresets()` call, so they cannot disagree.
1734
+
1735
+ End-user `robota` behavior is unchanged: the same preset resolves to the same options, external presets
1736
+ in `$PRODUCT_USER_STATE_DIR/presets/*.json` remain visible to both `--preset <id>` and `/preset`, and the assembled
1737
+ command-module set, provider surface, tool set, subagent roster, and permission posture are untouched.
1738
+
1739
+ - e82215f: **ARCH-011: replace the ambiguous transport lifecycle stub with executable conformance.**
1740
+
1741
+ `ITransportAdapter` now requires a frozen `service | runner` lifecycle descriptor. `start()` resolves
1742
+ at the concrete transport's documented readiness boundary; start before attach and repeated active
1743
+ start reject a stable lifecycle error, repeated stop is safe, and stopped adapters can reattach and
1744
+ restart.
1745
+
1746
+ Runner adapters launch separately and expose a typed terminal outcome through
1747
+ `waitForCompletion()`. The registry accepts base adapters, rejects duplicate names, keeps
1748
+ configuration as an optional capability, returns complete ordered records whose pending slots become
1749
+ registry-owned `abandoned` outcomes on stop/rollback, and exposes a real-runner-only first-failure
1750
+ wait. It serializes startup/stop, rejects active restart before mutation, and reverses partial startup
1751
+ from the currently failing adapter with typed safe rollback details. Runtime host and serve mode
1752
+ propagate real nonzero runner results without treating normal shutdown abandonment as failure.
1753
+
1754
+ HTTP, MCP, both WebSocket adapters, WebRTC, and headless invoke one shared public conformance kit.
1755
+ The former `TuiTransport` export is removed because it ignored the attached session; use `renderApp`
1756
+ or `TuiInteractionChannel`, which honestly own their session lifecycle.
1757
+
1758
+ - 0c07176: **BREAKING — ARCH-021: child-process subagents compose the PRODUCT's surface, not imported defaults.**
1759
+
1760
+ The child-process worker built its surface from `createDefaultProviderDefinitions()` and `createDefaultTools()` — a fixed six-vendor registry and the framework's default tool tier — while the composition root had already handed the runner the fully composed surface and the runner dropped it. So a product's custom providers and pack-contributed tools reached an **in-process** subagent and not a **child-process** one, and ARCH-006's landed invariant "every tool Robota runs comes from a pack" was **false in the child**: dropping a pack did not drop its tools.
1761
+
1762
+ This is the second finding at that line. ARCH-010 — judged BLOCKER, a subagent `Read` returning `/etc/hostname` — patched one argument there and left the reconstruction standing.
1763
+
1764
+ ```ts
1765
+ // the port: what the product composes, stated by the composition root
1766
+ export interface ISubagentWorkerComposition {
1767
+ createTools(context: { readonly cwd: string }): IToolWithEventService[];
1768
+ readonly providerDefinitions: readonly IProviderDefinition[];
1769
+ }
1770
+
1771
+ export function runSubagentWorkerMain(composition: ISubagentWorkerComposition): void;
1772
+ ```
1773
+
1774
+ **Why a recipe and not a broker.** A composition cannot be projected across a process boundary because it is _code_: `createProvider` is a function and a tool carries `execute`. The two sound answers are to proxy the instances or to stop expressing the contract as instances. Proxying loses on containment — a proxied tool executes in the **parent**, bound to the parent's checkout, while a worktree-isolated child's execution root is a different directory — and a prior-art sweep found **no specification that defines a per-call working root for a proxied tool invocation** (MCP roots are session-scoped and pull-based). So the recipe crosses and the child builds an equivalent surface at its own root, which is what every comparable product does.
1775
+
1776
+ **Per package, classified against each barrel:**
1777
+
1778
+ - **`agent-subagent-runner` (major)** — `runSubagentWorkerMain` gains a **required** parameter; `ISubagentWorkerComposition` is added to the barrel; `ISubagentWorkerReadyMessage` gains `composedToolNames?`; and the `@robota-sdk/agent-provider-defaults` **dependency edge is removed**.
1779
+ - **`agent-cli` (patch)** — composition-root wiring plus one new internal `product/` module; no barrel change.
1780
+
1781
+ **The structural guarantee reaches one axis, and the document says so.** Deleting the manifest edge makes the **provider** axis a compile error, because that package solely owns `createDefaultProviderDefinitions`. The **tool** axis cannot be cut the same way: `createDefaultTools` is barrel-exported by `agent-framework`, which this package must keep for `createSubagentSession`. That axis is held by a new `harness:scan` check instead — and it is the axis with the failure history, so claiming compile-time enforcement across both would have been an overclaim exactly where it matters. The cause (no defaults-aggregator leaf for the tool surface) is tracked as ARCH-035.
1782
+
1783
+ **Fail closed on what a recipe cannot reproduce.** A recipe carries anything that is a pure function of (execution root, serialized payload, ambient durable state) — not a live, unrepeatable handle. Today that is `sandboxClient`, and it is reachable with public code (`E2BSandboxClient` and `InMemorySandboxClient` are both on `agent-tools`' barrel). The composition root now **refuses** to select the child-process runner in that case, naming the capability, rather than yielding a sandboxed parent with a host-tool child. Projection is tracked as ARCH-033.
1784
+
1785
+ **Verified per run, not by construction.** The child declares its composed tool names in `ready`, so the built binary can be asked what it actually composed. Measured on the real artifact: `["Shell","Bash","Read","Write","Edit","Glob","Grep","WebFetch","WebSearch","AskUserQuestion"]` — `pack-coding`'s surface, from the product's own packs.
1786
+
1787
+ **Also filed rather than folded in:** ARCH-034 (in-process and child-process subagents get different tool surfaces), ARCH-036 (`deps.builtInAgents` is dropped by the child-process path), SEC-009 (`apiKey` rides in the IPC start payload; comparable products use the child's environment).
1788
+
1789
+ - 4772067: **BREAKING — ARCH-031: the subagent seam is derived from its transport SSOT instead of copied.**
1790
+
1791
+ One field family — what a subagent job IS — was declared three times as independent shapes and carried
1792
+ between them by six hand-written object literals that nothing checked for totality. A field added to
1793
+ either side had to be hand-copied at every hop, and a miss compiled clean as a silent no-op. TYPE-003
1794
+ named this cause and derived one hop; the next two changes each dropped a field at a hop it had skipped
1795
+ (CORE-025's permission policy, and ANALYTICS-001's `usage`, dropped in the very commit that added it).
1796
+
1797
+ ```ts
1798
+ // now, in @robota-sdk/agent-interface-transport
1799
+ export type ISubagentSpawnRequest = Omit<IAgentBackgroundTaskRequest, 'kind'>;
1800
+ export type ISubagentJobResult = Omit<IBackgroundTaskResult, 'kind' | 'exitCode' | 'signalCode'>;
1801
+ ```
1802
+
1803
+ All four projections collapse to spreads. `parentTaskId` and `providerProfile` now reach the runner
1804
+ because they exist on the source, not because someone remembered them.
1805
+
1806
+ **Per package, classified against each barrel:**
1807
+
1808
+ - **`agent-executor` (major)** — the barrel loses `ISubagentSpawnRequest` and `ISubagentJobResult` (they
1809
+ moved to their owner; re-publishing them here would be a pass-through re-export). `ISubagentJobStart`
1810
+ and `ISubagentJobHandle` rename `jobId` → `taskId`, `ISubagentJobStart` gains `worktree?`, and
1811
+ `ISubagentWorktreePrepareRequest` renames `jobId` → `taskId`.
1812
+ - **`agent-framework` (major)** — the barrel loses eleven type-only re-exports of `agent-executor`-owned
1813
+ types. They carried zero runtime values, so they bought none of the assembly convenience a runtime
1814
+ facade exists for, while making one field family look like it had three owners. Separately,
1815
+ `ISpawnAgentTaskRequest.permissionPolicy` goes optional → **required**.
1816
+ - **`agent-subagent-runner` (major)** — `ISubagentWorkerStartPayload` renames `jobId` → `taskId` and gains
1817
+ `worktree?`. This package is not in the item's declared `area:`; the audit that caught it is the reason
1818
+ it is here.
1819
+ - **`agent-interface-transport` (minor)** — two new barrel exports; nothing removed or renamed.
1820
+ - **`agent-core` (minor)** — **two** new barrel exports. `DEFAULT_BACKGROUND_PERMISSION_POLICY` is the
1821
+ intended one; collapsing the hand-listed permissions block to `export *` also surfaced
1822
+ `clearRegisteredToolArgumentKeys`, which the old list had omitted. It is documented as public rather
1823
+ than re-narrowed — a barrel that cannot fall out of step with its owner is the point of the collapse.
1824
+ Nothing was removed: all nine previously-listed permission types remain on the barrel.
1825
+ - **`agent-cli` (patch)** — migrated as the only in-repo implementer of `ISubagentWorktreeAdapter`; no
1826
+ barrel change.
1827
+
1828
+ **`permissionPolicy` is now required at the spawn boundary**, and its default is one exported constant
1829
+ owned by the permission SSOT. It was previously applied as `?? 'inherit-allowlist'` in the middle of a
1830
+ projection, in **two** packages independently, with nothing keeping them equal — a security-relevant value
1831
+ whose default was declared twice. Every spawn site now states its own policy.
1832
+
1833
+ **The worktree identity moved to the runner envelope.** It is runner-produced — the worktree does not
1834
+ exist when a caller builds a request — so it rides on `ISubagentJobStart.worktree` and crosses the IPC
1835
+ boundary there. The runner no longer also rewrites `request.cwd`, which had given ARCH-010's execution-root
1836
+ rule two carriers that could disagree. `branchName` **relocated rather than being deleted**: it has no
1837
+ reader in this repository today, and for a library that is not a reason to drop a legitimate contract.
1838
+
1839
+ **Renames are consistent across the SPI** (`type` → `agentType`, `jobId` → `taskId`) rather than applied to
1840
+ one shape, which would have left two names for one identifier in a single file. The IPC validator's
1841
+ string-literal keys are now typed against the contract, so the next rename is a compile error instead of a
1842
+ runtime rejection of every start payload.
1843
+
1844
+ - 4f3c075: Assemble complete, verified package generations before switching build output; preserve the previous generation on build failure and pack only verified regular-file images. Include copied CLI web assets in affected-build ordering and artifact transfer. Preserve the CLI version in managed build paths. Public runtime contracts remain compatible (patch).
1845
+ - 6fab98f: **BREAKING — DIST-006: the built `robota` binary could not spawn a subagent at all.**
1846
+
1847
+ `/agent run` failed on every distributed build with `Subagent worker exited before result: exit code 1`. The child's real stderr was `Cannot find module '…/agent-cli/dist/node/child-process-subagent-worker.js'`. `getDefaultSubagentWorkerPath()` resolved the worker relative to its own `import.meta.url`; INFRA-028 bundles every workspace package into `agent-cli/dist/node/bin.js`, so at runtime that directory is **agent-cli's** dist, where the worker was never emitted. It worked from source, which is why nothing caught it.
1848
+
1849
+ **Second occurrence of one cause.** `agent-subagent-runner/tsdown.config.ts` already carried a comment naming this exact failure: _"Without this entry the file never existed, so the child-process subagent silently failed from any dist build."_ That fix put the worker next to its OWN package's bundle; bundling then moved the resolver's notion of "next to me" one package along.
1850
+
1851
+ **The defect was the function, not the missing file.** `getDefaultSubagentWorkerPath()` answered _"where is my worker file on disk?"_ from a library that cannot know — the answer is a property of the packaging step. Emitting the file where the resolver looks would have fixed **one of three shipped artifacts**: the npm bundle, but not the Bun single-file binaries published on every tag, nor the Electron desktop sidecar that embeds them. A compiled single-file executable has no sibling directory to emit into.
1852
+
1853
+ ```ts
1854
+ // removed — a question no library can answer
1855
+ export function getDefaultSubagentWorkerPath(): string;
1856
+
1857
+ // now: the composition root states how to start a copy of ITSELF
1858
+ export interface ISubagentWorkerEntry {
1859
+ readonly execPath: string;
1860
+ readonly args: readonly string[];
1861
+ readonly execArgv?: readonly string[];
1862
+ }
1863
+ ```
1864
+
1865
+ `IChildProcessSubagentRunnerOptions.workerPath` → **`workerEntry`**, and the runner `spawn`s `execPath args… --__agent-subagent-worker` instead of forking a module path. `robota`'s own entry enters worker mode through the new `runSubagentWorkerMain()`, so **there is no second artifact and no path to get wrong**. The one seam satisfies all three shapes: a bundled Node build names the file it is executing, a `tsx` source run names the same and adds `--import tsx`, and a compiled binary names _nothing_ — `process.execPath` is the binary, and re-executing it re-enters its embedded entry.
1866
+
1867
+ **Per package, classified against each barrel:**
1868
+
1869
+ - **`agent-subagent-runner` (major)** — the barrel loses `getDefaultSubagentWorkerPath` (deleted, not renamed) and gains `SUBAGENT_WORKER_MODE_FLAG`, `isSubagentWorkerModeArgv`, `runSubagentWorkerMain`, `ISubagentWorkerEntry`. `IChildProcessSubagentRunnerOptions` renames `workerPath` → `workerEntry` and drops `execArgv` — it now has exactly one owner, on the entry descriptor. The separate `child-process-subagent-worker` bundle entry is gone.
1870
+ - **`agent-cli` (patch)** — composition-root wiring only; no barrel change.
1871
+
1872
+ **Two things this also repairs, both found in review:**
1873
+
1874
+ - **The child's stderr was discarded** (`stdio: [..., 'ignore', 'ipc']`), so a worker that died before its first IPC message reported only an exit code. That is why occurrence #2 had to be diagnosed by hand. It is now captured, bounded, and appended to the error, making the next occurrence self-reporting.
1875
+ - **A source run executed the BUILT worker, not the source worker**, because package `exports` resolve to `dist`. `resolveExecArgv`'s `--import tsx` branch was therefore dead code. Self-fork names the entry actually running, so source runs finally run source.
1876
+
1877
+ **Verified against the artifacts, not from source:** the built `dist/node/bin.js` and a real `bun --compile` single-file binary each complete the worker IPC handshake (`{type:'ready'}`), each refuse a hand-typed flag with no IPC channel (exit 2, "Silence is not success" — measured on both), and the shipped bundle no longer contains the string `child-process-subagent-worker.js` — there is nothing left to look for.
1878
+
1879
+ - 1e40b5b: Move handoff source/destination orchestration and its contract from agent-framework to the session-mobility owner. Import `HandoffSource`, `HandoffDestination`, and their option types from `@robota-sdk/agent-interface-session-mobility`. Mobility now applies offer and authority decisions directly, while the CLI supplies wire effects and the session-record decoder. A successful offer no longer returns a mutable authority transaction.
1880
+ - f3fe3db: The terminal renderer no longer reads `PRODUCT_SCREEN_READER_STARTUP_QUIET_MS` or
1881
+ `PRODUCT_SCREEN_READER_PREPARK_MS` from the process environment. SDK hosts calling `renderApp`
1882
+ directly should pass raw timing choices and diagnostic labels through the new optional
1883
+ `screenReaderPacing` render option. Without it, the renderer uses its existing 900 ms startup
1884
+ quiet period and 50 ms pre-write park when screen-reader mode is enabled. The Robota CLI still
1885
+ reads the same environment variables and preserves their validation, bounds, and warnings.
1886
+ - 724d5b6: The terminal renderer no longer reads `PRODUCT_IME_CURSOR` or `PRODUCT_TURN_MARKS` from the process environment. SDK hosts calling `renderApp` directly should pass cursor and turn-mark choices through the optional `terminalCapabilities` render option. Without a host choice, the renderer keeps its terminal and TTY defaults. The Robota CLI still reads both environment variables and preserves its exact `1` and `0` overrides.
1887
+ - c6c56a6: Move the concrete `GitWorktreeIsolationAdapter` (git CLI + filesystem I/O) out of the reusable
1888
+ `@robota-sdk/agent-executor` runtime-primitives package into the `@robota-sdk/agent-cli` composition
1889
+ root, restoring the executor's "creates no Git worktrees" boundary (ARL-02 / ARCH-FIX-024, INFRA-031).
1890
+
1891
+ **Breaking (`@robota-sdk/agent-subagent-runner`):** `worktreeAdapter` is now a **required** option on
1892
+ `createChildProcessSubagentRunnerFactory` / `IChildProcessSubagentRunnerOptions`. The concrete git
1893
+ default (`createGitWorktreeIsolationAdapter()`) has been removed — inject the adapter at the composition
1894
+ root. `@robota-sdk/agent-executor` no longer exports `GitWorktreeIsolationAdapter`,
1895
+ `createGitWorktreeIsolationAdapter`, or `IGitWorktreeIsolationAdapterOptions` (the
1896
+ `ISubagentWorktreeAdapter` port and `WorktreeSubagentRunner` remain). CLI runtime behavior is unchanged.
1897
+
1898
+ - 4b76cfa: NEUT-005 (wave 2): restore an actionable context-capacity hint at the surface tier, neutrally. The zero-dependency `agent-core` layer emits a product-neutral hard-capacity notice and exposes the `IAgentConfig.contextCapacityHint` seam (wave 1). This wave wires that seam end-to-end without baking product vocabulary into a neutral library:
1899
+
1900
+ - `agent-session`: `ISessionOptions.contextCapacityHint` is forwarded into the agent configuration factory, making the core seam reachable from the consuming layer.
1901
+ - `agent-framework`: new `deriveContextCapacityHint(commandModules)` derives the concrete remediation wording from the surface's OWN registered command set (names a registered `compact` command → `"Run /compact and retry."`; `undefined` when none, leaving the neutral core default). It is applied automatically in interactive session assembly across the TUI, print, and `--serve` surfaces.
1902
+ - `agent-cli`: the default command set registers `/compact`, so end users regain the actionable hint.
1903
+ - `agent-interface-transport`: reworded the `'allow-project'` permission comment so it no longer hardcodes a storage path (the location is owned by the consuming layer), matching the `agent-session` twin.
1904
+
1905
+ - 796ddb4: Use a neutral default MCP client name and let hosts supply their own protocol identity. Robota CLI startup now explicitly supplies its prior `Robota-agent-mcp` name, preserving its initialize handshake; embedders relying on that implicit name can set `clientInfo` explicitly.
1906
+ - e13c30c: MCP servers now publish a neutral submission tool by default. Hosts that need the previous
1907
+ `PRODUCT_submit` tool must pass `submitTool: { name: 'PRODUCT_submit', description: '...' }` to
1908
+ `createAgentMcpServer`, `createMcpTransport`, or `createMcpHttpHost`. The Robota CLI supplies its
1909
+ existing name and description for both stdio and HTTP carriers.
1910
+ - 90e7a10: The default background observer warning code and exported `OBSERVER_FAILURE_WARNING_CODE` value
1911
+ change from `PRODUCT_BACKGROUND_OBSERVER_FAILURE` to `BACKGROUND_OBSERVER_FAILURE`. Hosts matching
1912
+ the old warning code should match the new neutral code or provide `observerFailureWarningCode` in
1913
+ their background manager or session options. The Robota CLI supplies its existing code explicitly
1914
+ across print, goal, serve, MCP, and TUI sessions.
1915
+ - 2db1b97: Remote-control pairing binds to the negotiated DTLS certificate.
1916
+
1917
+ - The Node host reads the remote fingerprint from the certificate the DTLS layer verified, not from the answer's
1918
+ SDP text, and builds the pairing gate once the DTLS handshake completes.
1919
+ - An SDP must advertise exactly one DTLS fingerprint. `extractDtlsFingerprint` now throws when two different
1920
+ fingerprints are present, and `extractDtlsFingerprintAttribute` returns the algorithm with the value.
1921
+ - A start takes one answer (host) and a connection takes one offer (browser client); a later description is
1922
+ ignored.
1923
+
1924
+ - fcb0da3: PAYLOAD-2153: make external-payload replay stable across Linux, macOS, and Windows.
1925
+
1926
+ - Add the domain-free `@robota-sdk/agent-file-authority` leaf with bounded, root-relative reads over retained native handles and a typed, path-safe refusal taxonomy.
1927
+ - Route session replay and framework project reads through the shared authority while preserving their existing domain-specific budgets, integrity checks, and error mappings.
1928
+ - Expose the canonical safe session-id predicate through the framework facade so CLI exact-session lookup stays within the SDK package boundary.
1929
+ - Package the pinned native bridge in clean-installed Node CLI archives and exact-host standalone Bun binaries, refusing unsupported or mismatched targets before artifact mutation.
1930
+
1931
+ - 07b627f: A local peer can now be answered, and what its turn may do depends on where it runs.
1932
+
1933
+ - `agent-core`: the permission evaluator takes a peer turn's authority as one more input
1934
+ (`IPermissionEvaluationContext.peerTurn`), decided after the deny list and ceiling and before
1935
+ bypass and allow rules. A peer on another host uses no tool. A peer on the same host may use an
1936
+ inspect-class tool that declares `workspacePaths`, only when every named location resolves inside
1937
+ the workspace and is not a credential (`isSecretPath`); write and execute tools are refused unless
1938
+ enabled, and then every use asks. A tool declaring `repliesToPeer` exists only in a peer turn and
1939
+ asks once the turn used another tool. New: `isToolAvailableInPeerTurn`, `TPeerReach`,
1940
+ `IPeerTurnAuthority`. `IRunOptions.withholdHostedTools` leaves a provider's hosted tools out of a
1941
+ run's requests (`nativeWebTools` with `false` withholds a hosted tool for one call).
1942
+ - `agent-tools`: `Read` and `Glob` declare the arguments that say where they look. `Grep` does not:
1943
+ it reads files it was never named, so a peer turn does not get it.
1944
+ - `agent-session`: `ISessionRunOptions.peerReach` makes a run a peer turn for the permission policy;
1945
+ every ask in it needs a fresh approval, and its requests carry no provider-hosted tool. `ISessionOptions.allowPeerChanges` enables write and execute
1946
+ tools for same-host peer turns.
1947
+ - `agent-interface-session`: `ISubmitOptions.peer` (`IPeerTurnContext`) carries a peer turn's reach,
1948
+ the message it answers and the session a reply goes to.
1949
+ - `agent-interface-session-mobility`: `IPeerMessage.inReplyTo` threads a conversation;
1950
+ `peerReachOf(admission)` maps admission to a reach.
1951
+ - `agent-framework`: a peer turn is offered what its origin allows, and a new `peer_reply` tool
1952
+ answers the peer that sent the message, threaded to it. The setting `peers.allowChanges` enables
1953
+ write and execute tools for same-host peer turns.
1954
+ - `agent-ui-terminal`: a permission prompt in a peer turn names the requesting peer.
1955
+ - `agent-cli`: incoming peer turns carry their reach and reply route; a conversation is limited in
1956
+ depth and in how often this session answers it, and a reply over a limit is not sent and the
1957
+ operator is told.
1958
+ - `agent-provider-anthropic`, `agent-provider-openai-compatible` (Qwen): a request whose
1959
+ `nativeWebTools` sets a hosted tool to `false` is sent without it.
1960
+
1961
+ - 5ccd1e9: Add the browser remote client (REMOTE-009 Stage D) — the P2P peer that opens the pairing URL and
1962
+ co-drives a live session over WebRTC. `agent-web-ui` gains a native-`WebSocket` signaling client, a
1963
+ fail-closed responder pairing gate (session exposed only after the DTLS-fingerprint-bound handshake
1964
+ accepts), an RTC data-channel session client with the same contract as the WS client, a
1965
+ fragment-injected `spa/remote.html` static entry, and the REMOTE-007 permission/ask render+answer
1966
+ (the paired owner answers its own prompts — local == remote) shared by both the WS and RTC clients. It
1967
+ reuses the isomorphic `@robota-sdk/agent-remote-pairing` leaf and takes no node/werift dependency.
1968
+ `agent-cli` removes the fabricated `Robota-remote://pair` client-URL default and fails closed when
1969
+ `transports.webrtc.options.clientUrl` is unset (no dead link).
1970
+
1971
+ (Bump targets corrected during REL-023 triage: `@robota-sdk/agent-web-ui` was dissolved by GUI-006 (#1141, 2026-07-12) before this work was ever published; the browser client described here now lives in `@robota-sdk/agent-transport-webrtc-web` + `@robota-sdk/agent-remote-client`.)
1972
+
1973
+ - c7fa299: REMOTE-003 + REMOTE-006 (merged — net behavior; the interim deny-by-default gate never appeared in a
1974
+ published version): commands now carry an invocation source. A `'remote'` value is added to the command
1975
+ invocation source (SSOT relocated to `@robota-sdk/agent-interface-transport`, re-exported by
1976
+ `agent-framework`) and an optional `source` is threaded into
1977
+ `IInteractiveSession.executeCommand(name, args, source?)` (defaults to `'user'`, so all local callers are
1978
+ unchanged). The shared `createWsHandler` tags transport-origin commands `'remote'`. Policy: local == remote
1979
+ (owner principle) — pairing is the sole trust boundary, so a transport-origin command runs exactly as a
1980
+ locally-typed one under the universal permission system (permission modes + PermissionEnforcer + the
1981
+ ask/approval handler); `createDefaultRemoteCommandPolicy()` allows by default. The `IRemoteCommandPolicy`
1982
+ seam remains as an OPTIONAL, user-configured restriction, and the genuinely-remote WebRTC path stays
1983
+ pairing-gated.
1984
+ - d19feda: Build a separate verified headless Bun artifact for the Electron desktop app. The full CLI binary and npm entry remain available; the desktop resource now copies the smaller presentation-free artifact while preserving the `--serve` wire and launch contract.
1985
+ - 833afe1: Remove the remaining polynomial-ReDoS backtracking (SEC-003, CodeQL `js/polynomial-redos`) and stop the DTLS fingerprint binding to SDP free text.
1986
+
1987
+ **`extractDtlsFingerprint` (agent-remote-pairing) — remote-reachable, pre-authentication.** Unlike the rest of this class, the SDP it parses arrives over the signaling relay, which the pairing design treats as untrusted, and it is parsed _before_ the channel-binding confirmation — on the browser peer, before `setRemoteDescription` too. Unanchored, `a=fingerprint:\S+\s+…` restarted from every offset in a non-space run: 5.0 s on a 400 KB SDP. It is now anchored to the start of an SDP line (`/^…/m`), which is linear and also stops the extractor from returning a value smuggled into another line's free text (`s=`, `i=`, an unrelated attribute) — text no DTLS stack reads, and which a relay controls. **Behaviour change:** a mid-line `a=fingerprint:` is no longer recognised. Every SDP a WebRTC stack emits puts the attribute at the start of its own line, so no real SDP is affected. A session-level line can still shadow a media-level one; that residual is recorded in the SEC-003 backlog.
1988
+
1989
+ **Trailing-run trims (agent-framework, agent-cli, agent-tools).** `replace(/-+$/, '')`-shaped regexes have no start anchor, so the engine retried the run from every offset inside it and each retry rescanned to the end — 3.0 s at 100 K characters, ~50 s at 400 K. The memory topic sanitiser, the provider profile-name sanitiser, the model-command tool-name projection, the npm registry URL builder, the git-worktree path-segment sanitiser and the sandbox-root normaliser now use linear index scans (`trimEdgeChars` / `trimTrailingChars` in agent-framework, local helpers elsewhere), proven equivalent to the regexes they replace over every string of the relevant alphabet up to 12 characters.
1990
+
1991
+ **Whitespace-ambiguity parsers (agent-framework).** The skill and agent-definition frontmatter list splitters used `/\s*,\s*/`, whose whitespace run overlapped nothing after it on a failed comma — 12.6 s on a 200 K run. They now split on `','`; the padding was already removed by the `.trim()` that follows, so the parsed lists are unchanged. The `.git` `gitdir:` pointer and the task-file open-item matcher used `\s*(.+)$` / `\s+(.+)$`, where `\s` and `.` both match a space; the capture is now pinned to start non-space, which accepts exactly the same inputs (verified exhaustively) and removes 14.5 s and 15.4 s worst cases.
1992
+
1993
+ **`WebFetch` HTML-to-text (agent-tools) — carried no CodeQL alert.** Found by sweeping for the same shapes rather than the flagged lines, and the only quadratic here whose input is a live response body from an arbitrary URL. `<[^>]+>`, `<script[\s\S]*?</script>` and `<style…>` each restarted from every opener that had no terminator: 12.6 s on 200 KB of `<`, and the 5 MB the fetch allows would have taken hours. All three are now single-pass scans, verified character-for-character identical to the regexes over ~800 K generated inputs.
1994
+
1995
+ Apart from the `extractDtlsFingerprint` anchoring noted above, no behaviour changes: every fix accepts the same inputs and produces the same values, and each ships an equivalence test pinning that.
1996
+
1997
+ - fde558e: Forward organization policy through TUI, print, and goal sessions so blocked commands are enforced consistently. Preserve print/goal preset generation, language, prompt-seed, and structured-response options through the headless channel, and guard declared session-capability projections against silent field loss.
1998
+
1999
+ ## 3.0.0-beta.79
2000
+
2001
+ ### Patch Changes
2002
+
2003
+ - Coordinated beta.79 release. Ships the natural-language workflow authoring feature and its
2004
+ follow-ups, all bundled into the published CLI:
2005
+
2006
+ - **FLOW-007 `/workflows create "<description>"`** — author a workflow from natural language via the
2007
+ active provider, save it as a reusable `.workflows/<name>.json` artifact, and run it immediately;
2008
+ composes existing nodes and creates prompt-backed nodes on the fly; model-invocable so the agent can
2009
+ author + run from chat. Storage de-jargoned to a flat `.workflows/` layout with an injectable
2010
+ workspace.
2011
+ - Live-LLM hardening found by running against a real provider: the authoring call now threads the
2012
+ resolved model; the spec parser tolerates a Markdown code fence; authored prompt nodes inherit +
2013
+ persist the active provider; and the unit suite no longer makes real key-using calls (forces the
2014
+ no-key path + asserts detection), with real coverage isolated in an opt-in `test:live`.
2015
+ - **DATA-003** — the instant-node package now owns a runtime provider SSOT (`INSTANT_NODE_PROVIDERS`)
2016
+ and a symmetric persistence round-trip (`parsePersistedInstantNode` / `rehydrateInstantNode` +
2017
+ guards), removing duplicated provider lists and a hand-rolled, prompt-only reload path.
2018
+
2019
+ (The DAG/workflow subsystem stays private and is bundled into the CLI; no new runtime `@robota-sdk`
2020
+ edge is added.)
2021
+
2022
+ ## 3.0.0-beta.78
2023
+
2024
+ ## 3.0.0-beta.77
2025
+
2026
+ ### Patch Changes
2027
+
2028
+ - Updated dependencies
2029
+ - @robota-sdk/agent-core@3.0.0-beta.77
2030
+ - @robota-sdk/agent-command@3.0.0-beta.77
2031
+ - @robota-sdk/agent-executor@3.0.0-beta.77
2032
+ - @robota-sdk/agent-framework@3.0.0-beta.77
2033
+ - @robota-sdk/agent-provider@3.0.0-beta.77
2034
+ - @robota-sdk/agent-session-analytics@3.0.0-beta.77
2035
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.77
2036
+ - @robota-sdk/agent-transport@3.0.0-beta.77
2037
+ - @robota-sdk/agent-transport-tui@3.0.0-beta.77
2038
+ - @robota-sdk/agent-transport-ws@3.0.0-beta.77
2039
+ - @robota-sdk/agent-preset@3.0.0-beta.77
2040
+
2041
+ ## 3.0.0-beta.76
2042
+
2043
+ ### Patch Changes
2044
+
2045
+ - c0a6287: Relocate session feature logic out of the CLI shell and the transport (DQ-AUDIT-004):
2046
+
2047
+ - Extract session-log timing analysis into the new `@robota-sdk/agent-session-analytics` package (pure analysis over canonical session records — no duplicate types, no file I/O). `agent-cli`'s `session analyze` command shrinks to thin wiring and loads records via the new `createUserSessionStore()` / existing `createProjectSessionStore()` framework facades.
2048
+ - Move LLM-based session auto-naming (`generateSessionName`) from `agent-transport/tui` into `agent-framework` (session-lifecycle owner); the TUI transport now invokes it through the framework.
2049
+
2050
+ - 9df3a88: Split the consolidated `@robota-sdk/agent-transport` package into per-concern transport packages (DQ-AUDIT-005) so unrelated heavy dependencies (React/Ink, ws, Hono, MCP SDK) no longer share one publishable unit and are not dragged into non-TUI consumers' graphs:
2051
+
2052
+ - `@robota-sdk/agent-transport` — lean core: headless adapter + `TransportRegistry` + scripted-provider testing fixtures (no external runtime deps).
2053
+ - `@robota-sdk/agent-transport-tui` — React + Ink terminal UI.
2054
+ - `@robota-sdk/agent-transport-ws` — WebSocket transport + protocol (`agent-web-ui` now depends only on this for WS types).
2055
+ - `@robota-sdk/agent-transport-http` — Hono HTTP transport.
2056
+ - `@robota-sdk/agent-transport-mcp` — MCP server transport.
2057
+
2058
+ The default transport-registry wiring (pre-registering `WsTransport`) moves to the CLI composition root, removing the core→ws edge.
2059
+
2060
+ - Updated dependencies
2061
+ - Updated dependencies
2062
+ - Updated dependencies [c0a6287]
2063
+ - Updated dependencies [9df3a88]
2064
+ - Updated dependencies
2065
+ - Updated dependencies
2066
+ - Updated dependencies [576af62]
2067
+ - @robota-sdk/agent-core@3.0.0-beta.76
2068
+ - @robota-sdk/agent-command@3.0.0-beta.76
2069
+ - @robota-sdk/agent-transport@3.0.0-beta.76
2070
+ - @robota-sdk/agent-transport-tui@3.0.0-beta.76
2071
+ - @robota-sdk/agent-session-analytics@3.0.0-beta.76
2072
+ - @robota-sdk/agent-framework@3.0.0-beta.76
2073
+ - @robota-sdk/agent-transport-ws@3.0.0-beta.76
2074
+ - @robota-sdk/agent-provider@3.0.0-beta.76
2075
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.76
2076
+ - @robota-sdk/agent-preset@3.0.0-beta.76
2077
+
2078
+ ## 3.0.0-beta.75
2079
+
2080
+ ### Patch Changes
2081
+
2082
+ - Agent preset system + live preset switching + context/history correctness fixes.
2083
+
2084
+ - **Preset system (PRESET-001~017):** new `@robota-sdk/agent-preset` package layering framework
2085
+ assembly options into named, selectable profiles (`default`, `autonomous-builder`, `careful-reviewer`,
2086
+ `neutral-executor`) plus user-authored external presets loaded from `$PRODUCT_USER_STATE_DIR/presets/*.json`.
2087
+ - **Live preset switching:** `/preset` command (list + active marker + switch) and a TUI active-preset
2088
+ display. Switching live re-applies permission posture, model/effort, persona, command-module
2089
+ selection, parallel-subagents gating, and a self-verification system-prompt section via the single
2090
+ `applyPresetToSession` engine.
2091
+ - **CTX-001:** the TUI Context display + session auto-compact now use the accurate provider-based token
2092
+ estimate (system prompt + tool schemas included) instead of a crude history-only char heuristic.
2093
+ - **HIST-001:** conversation history is now append-only — removed the silent 100-message count cap that
2094
+ could drop early context; context size is managed solely by size-based compaction.
2095
+
2096
+ - Updated dependencies
2097
+ - @robota-sdk/agent-preset@3.0.0-beta.75
2098
+ - @robota-sdk/agent-framework@3.0.0-beta.75
2099
+ - @robota-sdk/agent-core@3.0.0-beta.75
2100
+ - @robota-sdk/agent-command@3.0.0-beta.75
2101
+ - @robota-sdk/agent-transport@3.0.0-beta.75
2102
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.75
2103
+ - @robota-sdk/agent-provider@3.0.0-beta.75
2104
+
2105
+ ## 3.0.0-beta.74
2106
+
2107
+ ### Patch Changes
2108
+
2109
+ - Updated dependencies
2110
+ - @robota-sdk/agent-framework@3.0.0-beta.74
2111
+ - @robota-sdk/agent-command@3.0.0-beta.74
2112
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.74
2113
+ - @robota-sdk/agent-transport@3.0.0-beta.74
2114
+ - @robota-sdk/agent-core@3.0.0-beta.74
2115
+ - @robota-sdk/agent-provider@3.0.0-beta.74
2116
+
2117
+ ## 3.0.0-beta.73
2118
+
2119
+ ### Patch Changes
2120
+
2121
+ - Updated dependencies [d4fd33f]
2122
+ - @robota-sdk/agent-transport@3.0.0-beta.73
2123
+ - @robota-sdk/agent-command@3.0.0-beta.73
2124
+ - @robota-sdk/agent-core@3.0.0-beta.73
2125
+ - @robota-sdk/agent-framework@3.0.0-beta.73
2126
+ - @robota-sdk/agent-provider@3.0.0-beta.73
2127
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.73
2128
+
2129
+ ## 3.0.0-beta.72
2130
+
2131
+ ### Patch Changes
2132
+
2133
+ - Updated dependencies
2134
+ - Updated dependencies
2135
+ - @robota-sdk/agent-framework@3.0.0-beta.72
2136
+ - @robota-sdk/agent-transport@3.0.0-beta.72
2137
+ - @robota-sdk/agent-command@3.0.0-beta.72
2138
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.72
2139
+ - @robota-sdk/agent-core@3.0.0-beta.72
2140
+ - @robota-sdk/agent-provider@3.0.0-beta.72
2141
+
2142
+ ## 3.0.0-beta.71
2143
+
2144
+ ### Patch Changes
2145
+
2146
+ - fix(context): unify token estimation to single SSOT — status bar and /context list now use the same serialized JSON estimate
2147
+ - Updated dependencies
2148
+ - @robota-sdk/agent-command@3.0.0-beta.71
2149
+ - @robota-sdk/agent-core@3.0.0-beta.71
2150
+ - @robota-sdk/agent-framework@3.0.0-beta.71
2151
+ - @robota-sdk/agent-provider@3.0.0-beta.71
2152
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.71
2153
+ - @robota-sdk/agent-transport@3.0.0-beta.71
2154
+
2155
+ ## 3.0.0-beta.70
2156
+
2157
+ ### Patch Changes
2158
+
2159
+ - Updated dependencies
2160
+ - @robota-sdk/agent-command@3.0.0-beta.70
2161
+ - @robota-sdk/agent-transport@3.0.0-beta.70
2162
+ - @robota-sdk/agent-framework@3.0.0-beta.70
2163
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.70
2164
+ - @robota-sdk/agent-core@3.0.0-beta.70
2165
+ - @robota-sdk/agent-provider@3.0.0-beta.70
2166
+
2167
+ ## 3.0.0-beta.69
2168
+
2169
+ ### Patch Changes
2170
+
2171
+ - Updated dependencies
2172
+ - @robota-sdk/agent-framework@3.0.0-beta.69
2173
+ - @robota-sdk/agent-command@3.0.0-beta.69
2174
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.69
2175
+ - @robota-sdk/agent-transport@3.0.0-beta.69
2176
+ - @robota-sdk/agent-core@3.0.0-beta.69
2177
+ - @robota-sdk/agent-provider@3.0.0-beta.69
2178
+
2179
+ ## 3.0.0-beta.68
2180
+
2181
+ ### Patch Changes
2182
+
2183
+ - Updated dependencies
2184
+ - @robota-sdk/agent-transport@3.0.0-beta.68
2185
+ - @robota-sdk/agent-command@3.0.0-beta.68
2186
+ - @robota-sdk/agent-core@3.0.0-beta.68
2187
+ - @robota-sdk/agent-framework@3.0.0-beta.68
2188
+ - @robota-sdk/agent-provider@3.0.0-beta.68
2189
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.68
2190
+
2191
+ ## 3.0.0-beta.67
2192
+
2193
+ ### Patch Changes
2194
+
2195
+ - CLIR: agent-cli layer separation, agent-framework interactive session improvements, subagent runner fix, TUI interface README
2196
+ - Updated dependencies
2197
+ - @robota-sdk/agent-framework@3.0.0-beta.67
2198
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.67
2199
+ - @robota-sdk/agent-command@3.0.0-beta.67
2200
+ - @robota-sdk/agent-transport@3.0.0-beta.67
2201
+ - @robota-sdk/agent-core@3.0.0-beta.67
2202
+ - @robota-sdk/agent-provider@3.0.0-beta.67
2203
+
2204
+ ## 3.0.0-beta.66
2205
+
2206
+ ### Patch Changes
2207
+
2208
+ - refactor: CLI-001/002 — agent-cli layer separation and monorepo-wide readability lint rules
2209
+ - CLI-001: Extract startup phases into focused modules; enforce agent-cli layer separation
2210
+ - CLI-002: Apply import/order, consistent-type-imports, explicit-function-return-type, prefer-const, object-shorthand across all packages
2211
+ - Fix stale child-process-subagent-worker entry in agent-cli tsdown.config.ts (build fix)
2212
+
2213
+ - Updated dependencies
2214
+ - @robota-sdk/agent-framework@3.0.0-beta.66
2215
+ - @robota-sdk/agent-command@3.0.0-beta.66
2216
+ - @robota-sdk/agent-transport@3.0.0-beta.66
2217
+ - @robota-sdk/agent-subagent-runner@3.0.0-beta.66
2218
+ - @robota-sdk/agent-core@3.0.0-beta.66
2219
+ - @robota-sdk/agent-executor@3.0.0-beta.66
2220
+ - @robota-sdk/agent-provider@3.0.0-beta.66
2221
+
2222
+ ## 3.0.0-beta.65
2223
+
2224
+ ### Minor Changes
2225
+
2226
+ - feat(CMD-003): TUI command interaction — picker/confirm overlay on missing args
2227
+ - Add `command-interaction.ts` with `ITuiPickerInteraction`, `ITuiConfirmInteraction`, `TAnyTuiCommandInteraction` types
2228
+ - Add `CommandPicker` and `CommandConfirm` Ink overlay components
2229
+ - Extend `TCommandSelectionResult` with `open-interaction` variant in input-area-flow
2230
+ - `resolveEnterCommandSelection` opens interaction overlay when command has `onMissingArgs` and no args typed
2231
+ - `InputArea` accepts `resolveInteraction` prop; renders picker/confirm overlay when active
2232
+ - Add `resolveInteraction` to `IRenderOptions` / `App` / `render`
2233
+ - Add `TUI_COMMAND_INTERACTIONS` registry in `agent-cli` with mode/language/provider/exit/clear interactions
2234
+ - Fix `SlashAutocomplete` to show technical command name (`cmd.name`) instead of `displayName`
2235
+
2236
+ ### Patch Changes
2237
+
2238
+ - Updated dependencies
2239
+ - @robota-sdk/agent-transport@3.0.0-beta.65
2240
+ - @robota-sdk/agent-command@3.0.0-beta.65
2241
+ - @robota-sdk/agent-core@3.0.0-beta.65
2242
+ - @robota-sdk/agent-executor@3.0.0-beta.65
2243
+ - @robota-sdk/agent-framework@3.0.0-beta.65
2244
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.65
2245
+ - @robota-sdk/agent-provider@3.0.0-beta.65
2246
+
2247
+ ## 3.0.0-beta.64
2248
+
2249
+ ### Patch Changes
2250
+
2251
+ - Updated dependencies
2252
+ - @robota-sdk/agent-framework@3.0.0-beta.64
2253
+ - @robota-sdk/agent-command@3.0.0-beta.64
2254
+ - @robota-sdk/agent-transport@3.0.0-beta.64
2255
+ - @robota-sdk/agent-core@3.0.0-beta.64
2256
+ - @robota-sdk/agent-executor@3.0.0-beta.64
2257
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.64
2258
+ - @robota-sdk/agent-provider@3.0.0-beta.64
2259
+
2260
+ ## 3.0.0-beta.63
2261
+
2262
+ ### Patch Changes
2263
+
2264
+ - Add --help / -h CLI flag to print usage information and exit
2265
+ - @robota-sdk/agent-core@3.0.0-beta.63
2266
+ - @robota-sdk/agent-framework@3.0.0-beta.63
2267
+ - @robota-sdk/agent-command-agent@3.0.0-beta.63
2268
+ - @robota-sdk/agent-command-background@3.0.0-beta.63
2269
+ - @robota-sdk/agent-command-compact@3.0.0-beta.63
2270
+ - @robota-sdk/agent-command-context@3.0.0-beta.63
2271
+ - @robota-sdk/agent-command-exit@3.0.0-beta.63
2272
+ - @robota-sdk/agent-command-help@3.0.0-beta.63
2273
+ - @robota-sdk/agent-command-language@3.0.0-beta.63
2274
+ - @robota-sdk/agent-command-memory@3.0.0-beta.63
2275
+ - @robota-sdk/agent-command-mode@3.0.0-beta.63
2276
+ - @robota-sdk/agent-command-model@3.0.0-beta.63
2277
+ - @robota-sdk/agent-command-permissions@3.0.0-beta.63
2278
+ - @robota-sdk/agent-command-plugin@3.0.0-beta.63
2279
+ - @robota-sdk/agent-command-provider@3.0.0-beta.63
2280
+ - @robota-sdk/agent-command-reset@3.0.0-beta.63
2281
+ - @robota-sdk/agent-command-rewind@3.0.0-beta.63
2282
+ - @robota-sdk/agent-command-session@3.0.0-beta.63
2283
+ - @robota-sdk/agent-command-statusline@3.0.0-beta.63
2284
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.63
2285
+ - @robota-sdk/agent-provider-deepseek@3.0.0-beta.63
2286
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.63
2287
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.63
2288
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.63
2289
+ - @robota-sdk/agent-transport-ws@3.0.0-beta.63
2290
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.63
2291
+ - @robota-sdk/agent-command-settings@3.0.0-beta.63
2292
+ - @robota-sdk/agent-command-skills@3.0.0-beta.63
2293
+ - @robota-sdk/agent-command-user-local@3.0.0-beta.63
2294
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.63
2295
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.63
2296
+ - @robota-sdk/agent-transport-tui@3.0.0-beta.63
2297
+
2298
+ ## 3.0.0-beta.62
2299
+
2300
+ ### Patch Changes
2301
+
2302
+ - Updated dependencies
2303
+ - @robota-sdk/agent-core@3.0.0-beta.62
2304
+ - @robota-sdk/agent-command-provider@3.0.0-beta.62
2305
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.62
2306
+ - @robota-sdk/agent-provider-deepseek@3.0.0-beta.62
2307
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.62
2308
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.62
2309
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.62
2310
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.62
2311
+ - @robota-sdk/agent-framework@3.0.0-beta.62
2312
+ - @robota-sdk/agent-command-agent@3.0.0-beta.62
2313
+ - @robota-sdk/agent-command-background@3.0.0-beta.62
2314
+ - @robota-sdk/agent-command-compact@3.0.0-beta.62
2315
+ - @robota-sdk/agent-command-context@3.0.0-beta.62
2316
+ - @robota-sdk/agent-command-exit@3.0.0-beta.62
2317
+ - @robota-sdk/agent-command-help@3.0.0-beta.62
2318
+ - @robota-sdk/agent-command-language@3.0.0-beta.62
2319
+ - @robota-sdk/agent-command-memory@3.0.0-beta.62
2320
+ - @robota-sdk/agent-command-model@3.0.0-beta.62
2321
+ - @robota-sdk/agent-command-permissions@3.0.0-beta.62
2322
+ - @robota-sdk/agent-command-plugin@3.0.0-beta.62
2323
+ - @robota-sdk/agent-command-reset@3.0.0-beta.62
2324
+ - @robota-sdk/agent-command-rewind@3.0.0-beta.62
2325
+ - @robota-sdk/agent-command-session@3.0.0-beta.62
2326
+ - @robota-sdk/agent-command-skills@3.0.0-beta.62
2327
+ - @robota-sdk/agent-command-statusline@3.0.0-beta.62
2328
+ - @robota-sdk/agent-command-user-local@3.0.0-beta.62
2329
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.62
2330
+ - @robota-sdk/agent-transport-ws@3.0.0-beta.62
2331
+
2332
+ ## 3.0.0-beta.61
2333
+
2334
+ ### Minor Changes
2335
+
2336
+ - b7cb169: Add first-class DeepSeek API provider support and include it in the default CLI provider definitions.
2337
+
2338
+ ### Patch Changes
2339
+
2340
+ - cfb8b5a: Clean up the CLI status bar by hiding the baseline default permission mode and removing the duplicate right-side thinking indicator.
2341
+ - cc0223d: Add SDK-owned provider profile name suggestions, create model-derived profile keys during interactive setup, and show the active provider profile identity in the CLI status area.
2342
+ - d97bdf2: Add provider-owned model catalog metadata, route `/model` suggestions through the active provider, and make `cli:dev` resolve the CLI workspace dependency closure through source export conditions.
2343
+ - Updated dependencies [e243fb0]
2344
+ - Updated dependencies [b7cb169]
2345
+ - Updated dependencies [1c0d44c]
2346
+ - Updated dependencies [36eb7a9]
2347
+ - Updated dependencies [cc0223d]
2348
+ - Updated dependencies [18fcc5b]
2349
+ - Updated dependencies [d97bdf2]
2350
+ - Updated dependencies [3bde012]
2351
+ - @robota-sdk/agent-framework@3.0.0-beta.61
2352
+ - @robota-sdk/agent-provider-deepseek@3.0.0-beta.61
2353
+ - @robota-sdk/agent-core@3.0.0-beta.61
2354
+ - @robota-sdk/agent-command-session@3.0.0-beta.61
2355
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.61
2356
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.61
2357
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.61
2358
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.61
2359
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.61
2360
+ - @robota-sdk/agent-command-provider@3.0.0-beta.61
2361
+ - @robota-sdk/agent-command-model@3.0.0-beta.61
2362
+ - @robota-sdk/agent-command-agent@3.0.0-beta.61
2363
+ - @robota-sdk/agent-command-background@3.0.0-beta.61
2364
+ - @robota-sdk/agent-command-compact@3.0.0-beta.61
2365
+ - @robota-sdk/agent-command-context@3.0.0-beta.61
2366
+ - @robota-sdk/agent-command-exit@3.0.0-beta.61
2367
+ - @robota-sdk/agent-command-help@3.0.0-beta.61
2368
+ - @robota-sdk/agent-command-language@3.0.0-beta.61
2369
+ - @robota-sdk/agent-command-memory@3.0.0-beta.61
2370
+ - @robota-sdk/agent-command-permissions@3.0.0-beta.61
2371
+ - @robota-sdk/agent-command-plugin@3.0.0-beta.61
2372
+ - @robota-sdk/agent-command-reset@3.0.0-beta.61
2373
+ - @robota-sdk/agent-command-rewind@3.0.0-beta.61
2374
+ - @robota-sdk/agent-command-statusline@3.0.0-beta.61
2375
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.61
2376
+ - @robota-sdk/agent-command-skills@3.0.0-beta.61
2377
+
2378
+ ## 3.0.0-beta.60
2379
+
2380
+ ### Minor Changes
2381
+
2382
+ - 7439391: Add provider-neutral native web search/fetch capability contracts, explicit unsupported handling for OpenAI-compatible/LM Studio profiles, and local WebFetch/WebSearch permission/documentation alignment.
2383
+
2384
+ ### Patch Changes
2385
+
2386
+ - 0c77089: Validate the merged active provider profile during CLI startup so higher-priority provider selections with missing API keys are not masked by unrelated valid settings files.
2387
+ - 41ae788: Restore the CLI thinking indicator and add structured Agent tool batch provenance/count metadata.
2388
+ - Updated dependencies [41ae788]
2389
+ - Updated dependencies [3d6bdf6]
2390
+ - Updated dependencies [7439391]
2391
+ - @robota-sdk/agent-framework@3.0.0-beta.60
2392
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.60
2393
+ - @robota-sdk/agent-core@3.0.0-beta.60
2394
+ - @robota-sdk/agent-session@3.0.0-beta.60
2395
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.60
2396
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.60
2397
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.60
2398
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.60
2399
+ - @robota-sdk/agent-command-agent@3.0.0-beta.60
2400
+ - @robota-sdk/agent-command-background@3.0.0-beta.60
2401
+ - @robota-sdk/agent-command-compact@3.0.0-beta.60
2402
+ - @robota-sdk/agent-command-context@3.0.0-beta.60
2403
+ - @robota-sdk/agent-command-exit@3.0.0-beta.60
2404
+ - @robota-sdk/agent-command-help@3.0.0-beta.60
2405
+ - @robota-sdk/agent-command-language@3.0.0-beta.60
2406
+ - @robota-sdk/agent-command-memory@3.0.0-beta.60
2407
+ - @robota-sdk/agent-command-mode@3.0.0-beta.60
2408
+ - @robota-sdk/agent-command-model@3.0.0-beta.60
2409
+ - @robota-sdk/agent-command-permissions@3.0.0-beta.60
2410
+ - @robota-sdk/agent-command-plugin@3.0.0-beta.60
2411
+ - @robota-sdk/agent-command-provider@3.0.0-beta.60
2412
+ - @robota-sdk/agent-command-reset@3.0.0-beta.60
2413
+ - @robota-sdk/agent-command-rewind@3.0.0-beta.60
2414
+ - @robota-sdk/agent-command-session@3.0.0-beta.60
2415
+ - @robota-sdk/agent-command-statusline@3.0.0-beta.60
2416
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.60
2417
+
2418
+ ## 3.0.0-beta.59
2419
+
2420
+ ### Patch Changes
2421
+
2422
+ - @robota-sdk/agent-framework@3.0.0-beta.59
2423
+ - @robota-sdk/agent-command-agent@3.0.0-beta.59
2424
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.59
2425
+ - @robota-sdk/agent-core@3.0.0-beta.59
2426
+ - @robota-sdk/agent-session@3.0.0-beta.59
2427
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.59
2428
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.59
2429
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.59
2430
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.59
2431
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.59
2432
+
2433
+ ## 3.0.0-beta.58
2434
+
2435
+ ### Patch Changes
2436
+
2437
+ - Refresh package docs and Robota.io content for the beta 57 feature set.
2438
+ - Updated dependencies
2439
+ - @robota-sdk/agent-command-agent@3.0.0-beta.58
2440
+ - @robota-sdk/agent-core@3.0.0-beta.58
2441
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.58
2442
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.58
2443
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.58
2444
+ - @robota-sdk/agent-framework@3.0.0-beta.58
2445
+ - @robota-sdk/agent-session@3.0.0-beta.58
2446
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.58
2447
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.58
2448
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.58
2449
+
2450
+ ## 3.0.0-beta.57
2451
+
2452
+ ### Minor Changes
2453
+
2454
+ - b80e51e: Add SDK-owned automatic project memory capture, approval review, bounded retrieval, and session-log provenance.
2455
+ - f61e2cb: Add Qwen provider-owned Responses API support for built-in web search/fetch tools and pass provider-owned profile options through generic CLI/runtime configuration.
2456
+
2457
+ ### Patch Changes
2458
+
2459
+ - 16c3b6f: Persist and render provider-neutral per-turn usage summaries with pre-send context updates in CLI sessions.
2460
+ - d3bcc0e: Move the active status indicator into the primary status-bar scan path with deterministic tool, thinking, background, queued, and idle priority.
2461
+ - 4eca470: Render command tool output as bounded transcript previews and persist tool result metadata in SDK tool summaries.
2462
+ - 1cfdce9: Add SDK-owned edit checkpointing for Write/Edit tool mutations with `/rewind` list and code restore commands.
2463
+ - 90a2802: Render Edit tool summaries as context-aware diff hunks with structured truncation metadata.
2464
+ - 26a1718: Preserve and render Edit tool diff metadata in persisted CLI tool summaries.
2465
+ - 3509f1d: Add canonical Gemini provider package and keep the Google provider package as a compatibility wrapper.
2466
+ - 8e056b1: Adopt Ink 7 paste and window-size hooks for CJK-aware input handling.
2467
+ - 7e9e81c: Render background work as compact one-level tree rows with shared formatting and bounded previews.
2468
+ - Updated dependencies [16c3b6f]
2469
+ - Updated dependencies [b80e51e]
2470
+ - Updated dependencies [4eca470]
2471
+ - Updated dependencies [1cfdce9]
2472
+ - Updated dependencies [90a2802]
2473
+ - Updated dependencies [26a1718]
2474
+ - Updated dependencies [3509f1d]
2475
+ - Updated dependencies [e504d30]
2476
+ - Updated dependencies [f61e2cb]
2477
+ - Updated dependencies [0e0e533]
2478
+ - Updated dependencies [822a78b]
2479
+ - Updated dependencies [9817f99]
2480
+ - @robota-sdk/agent-core@3.0.0-beta.57
2481
+ - @robota-sdk/agent-session@3.0.0-beta.57
2482
+ - @robota-sdk/agent-framework@3.0.0-beta.57
2483
+ - @robota-sdk/agent-provider-gemini@3.0.0-beta.57
2484
+ - @robota-sdk/agent-provider-qwen@3.0.0-beta.57
2485
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.57
2486
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.57
2487
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.57
2488
+ - @robota-sdk/agent-command-agent@3.0.0-beta.57
2489
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.57
2490
+
2491
+ ## 3.0.0-beta.56
2492
+
2493
+ ### Patch Changes
2494
+
2495
+ - Updated dependencies
2496
+ - @robota-sdk/agent-core@3.0.0-beta.56
2497
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.56
2498
+ - @robota-sdk/agent-provider-gemma@3.0.0-beta.56
2499
+ - @robota-sdk/agent-provider-openai@3.0.0-beta.56
2500
+ - @robota-sdk/agent-framework@3.0.0-beta.56
2501
+ - @robota-sdk/agent-session@3.0.0-beta.56
2502
+ - @robota-sdk/agent-command-agent@3.0.0-beta.56
2503
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.56
2504
+
2505
+ ## 3.0.0-beta.55
2506
+
2507
+ ### Patch Changes
2508
+
2509
+ - 38a72bf: fix: resolve ESLint tsconfig parsing errors and improve pnpm CI reliability
2510
+ - Add tsconfig.eslint.json to all packages for per-package ESLint runs
2511
+ - Migrate typecheck from pnpm -r exec tsc to per-package typecheck scripts
2512
+ - Add --if-present to all recursive pnpm run scripts
2513
+ - Fix React type imports, dynamic imports in tests, Express.Multer types
2514
+
2515
+ - Updated dependencies [38a72bf]
2516
+ - @robota-sdk/agent-core@3.0.0-beta.55
2517
+ - @robota-sdk/agent-framework@3.0.0-beta.55
2518
+ - @robota-sdk/agent-session@3.0.0-beta.55
2519
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.55
2520
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.55
2521
+
2522
+ ## 3.0.0-beta.54
2523
+
2524
+ ### Patch Changes
2525
+
2526
+ - fix: resolve all typecheck errors across packages
2527
+ - Updated dependencies
2528
+ - @robota-sdk/agent-session@3.0.0-beta.54
2529
+ - @robota-sdk/agent-framework@3.0.0-beta.54
2530
+ - @robota-sdk/agent-core@3.0.0-beta.54
2531
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.54
2532
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.54
2533
+
2534
+ ## 3.0.0-beta.53
2535
+
2536
+ ### Patch Changes
2537
+
2538
+ - refactor: monolith decomposition — all agent-\* files under 300 lines
2539
+ - fix: PR #69 code review — session resume tool messages, type SSOT, fork isolation, settings crash, Notification removal, chat validation
2540
+ - Updated dependencies
2541
+ - Updated dependencies
2542
+ - @robota-sdk/agent-core@3.0.0-beta.53
2543
+ - @robota-sdk/agent-framework@3.0.0-beta.53
2544
+ - @robota-sdk/agent-session@3.0.0-beta.53
2545
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.53
2546
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.53
2547
+
2548
+ ## 3.0.0-beta.52
2549
+
2550
+ ### Patch Changes
2551
+
2552
+ - fix: paste at cursor position + cursor moves to end of pasted label + cursorHint prop
2553
+ - @robota-sdk/agent-core@3.0.0-beta.52
2554
+ - @robota-sdk/agent-session@3.0.0-beta.52
2555
+ - @robota-sdk/agent-framework@3.0.0-beta.52
2556
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.52
2557
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.52
2558
+
2559
+ ## 3.0.0-beta.51
2560
+
2561
+ ### Patch Changes
2562
+
2563
+ - feat: debounce streaming text rendering (300ms) to reduce CPU load
2564
+ - @robota-sdk/agent-core@3.0.0-beta.51
2565
+ - @robota-sdk/agent-session@3.0.0-beta.51
2566
+ - @robota-sdk/agent-framework@3.0.0-beta.51
2567
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.51
2568
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.51
2569
+
2570
+ ## 3.0.0-beta.50
2571
+
2572
+ ### Patch Changes
2573
+
2574
+ - fix: reinsert repository/homepage/bugs in correct field order
2575
+ - Updated dependencies
2576
+ - @robota-sdk/agent-framework@3.0.0-beta.50
2577
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.50
2578
+ - @robota-sdk/agent-core@3.0.0-beta.50
2579
+ - @robota-sdk/agent-session@3.0.0-beta.50
2580
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.50
2581
+
2582
+ ## 3.0.0-beta.49
2583
+
2584
+ ### Patch Changes
2585
+
2586
+ - fix: add repository, homepage, bugs metadata to all publishable packages
2587
+ - Updated dependencies
2588
+ - @robota-sdk/agent-framework@3.0.0-beta.49
2589
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.49
2590
+ - @robota-sdk/agent-core@3.0.0-beta.49
2591
+ - @robota-sdk/agent-session@3.0.0-beta.49
2592
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.49
2593
+
2594
+ ## 3.0.0-beta.48
2595
+
2596
+ ### Patch Changes
2597
+
2598
+ - fix: record individual tool-start/tool-end in history + fix streaming tool display
2599
+ - Individual tool-start/tool-end events recorded as IHistoryEntry for persistence
2600
+ - TuiStateManager.onToolEnd uses findIndex (first match only, not all with same name)
2601
+ - MessageList hides tool-start/tool-end entries (not rendered as System:)
2602
+
2603
+ - Updated dependencies
2604
+ - @robota-sdk/agent-framework@3.0.0-beta.48
2605
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.48
2606
+ - @robota-sdk/agent-core@3.0.0-beta.48
2607
+ - @robota-sdk/agent-session@3.0.0-beta.48
2608
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.48
2609
+
2610
+ ## 3.0.0-beta.47
2611
+
2612
+ ### Minor Changes
2613
+
2614
+ - feat: ITransportAdapter unified interface + headless transport + CLI adapter pattern
2615
+ - ITransportAdapter interface in agent-sdk (name, attach, start, stop)
2616
+ - InteractiveSession.attachTransport(transport) method
2617
+ - createHttpTransport, createWsTransport, createMcpTransport, createHeadlessTransport factories
2618
+ - CLI print mode uses adapter pattern: session.attachTransport(transport)
2619
+ - agent-transport-headless: text/json/stream-json output, stdin pipe, exit codes
2620
+ - --output-format, --system-prompt, --append-system-prompt CLI flags
2621
+
2622
+ ### Patch Changes
2623
+
2624
+ - Updated dependencies
2625
+ - @robota-sdk/agent-framework@3.0.0-beta.47
2626
+ - @robota-sdk/agent-transport-headless@3.0.0-beta.47
2627
+ - @robota-sdk/agent-core@3.0.0-beta.47
2628
+ - @robota-sdk/agent-session@3.0.0-beta.47
2629
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.47
2630
+
2631
+ ## 3.0.0-beta.46
2632
+
2633
+ ### Minor Changes
2634
+
2635
+ - feat: session continue/resume — persist, restore, and switch sessions
2636
+ - ISessionRecord.history field (required) for UI timeline restoration
2637
+ - Session.injectMessage() for AI context restoration on resume
2638
+ - InteractiveSession: sessionStore, resumeSessionId, forkSession, getName/setName
2639
+ - CLI: --continue, --resume, --fork-session, --name flags
2640
+ - TUI: /resume (session picker), /rename (session naming)
2641
+ - ListPicker generic component with viewport scrolling
2642
+ - Session name display: input border title, terminal title, StatusBar
2643
+ - Session picker: cwd filtering, date+time, response preview
2644
+ - React key remount for instant session switching
2645
+
2646
+ ### Patch Changes
2647
+
2648
+ - Updated dependencies
2649
+ - @robota-sdk/agent-session@3.0.0-beta.46
2650
+ - @robota-sdk/agent-framework@3.0.0-beta.46
2651
+ - @robota-sdk/agent-core@3.0.0-beta.46
2652
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.46
2653
+
2654
+ ## 3.0.0-beta.45
2655
+
2656
+ ### Patch Changes
2657
+
2658
+ - Updated dependencies
2659
+ - @robota-sdk/agent-framework@3.0.0-beta.45
2660
+ - @robota-sdk/agent-core@3.0.0-beta.45
2661
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.45
2662
+
2663
+ ## 3.0.0-beta.44
2664
+
2665
+ ### Patch Changes
2666
+
2667
+ - feat: IHistoryEntry universal history architecture + test quality cleanup
2668
+ - IHistoryEntry as universal history type across all 4 packages (core → sessions → sdk → cli)
2669
+ - Tool summary stored as event entry in history (category: 'event', type: 'tool-summary')
2670
+ - TuiStateManager pure TypeScript class for CLI rendering state
2671
+ - MessageList renders IHistoryEntry[] with Tool:/System:/You:/Robota: labels
2672
+ - Display order fixed: Tool → Robota (both streaming and abort)
2673
+ - Remove 25 tautological, duplicate, and hardcoded tests
2674
+
2675
+ - Updated dependencies
2676
+ - @robota-sdk/agent-core@3.0.0-beta.44
2677
+ - @robota-sdk/agent-framework@3.0.0-beta.44
2678
+ - @robota-sdk/agent-provider-anthropic@3.0.0-beta.44