@robota-sdk/agent-transport 3.0.0-beta.81 → 3.0.0-beta.83

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 (55) hide show
  1. package/CHANGELOG.md +752 -0
  2. package/dist/browser/client.d.ts +2 -2
  3. package/dist/browser/client.js +1 -1
  4. package/dist/browser/index.d.ts +31 -11
  5. package/dist/browser/index.d.ts.map +1 -1
  6. package/dist/browser/index.js +1 -1
  7. package/dist/browser/index.js.map +1 -1
  8. package/dist/browser/observer-messages-Bx-xReUQ.js +2 -0
  9. package/dist/browser/observer-messages-Bx-xReUQ.js.map +1 -0
  10. package/dist/browser/{message-decoders-BB8n-H2X.d.ts → observer-messages-DC_8VHk9.d.ts} +104 -7
  11. package/dist/browser/observer-messages-DC_8VHk9.d.ts.map +1 -0
  12. package/dist/node/index.cjs +1 -1
  13. package/dist/node/index.d.cts +131 -14
  14. package/dist/node/index.d.cts.map +1 -1
  15. package/dist/node/index.d.ts +131 -14
  16. package/dist/node/index.d.ts.map +1 -1
  17. package/dist/node/index.js +1 -1
  18. package/dist/node/index.js.map +1 -1
  19. package/dist/node/node.cjs +1 -1
  20. package/dist/node/node.d.cts +177 -2
  21. package/dist/node/node.d.cts.map +1 -1
  22. package/dist/node/node.d.ts +178 -3
  23. package/dist/node/node.d.ts.map +1 -1
  24. package/dist/node/node.js +1 -1
  25. package/dist/node/node.js.map +1 -1
  26. package/package.json +13 -11
  27. package/src/__tests__/bearer-resource-gate.test.ts +120 -0
  28. package/src/__tests__/file-transfer.test.ts +281 -0
  29. package/src/__tests__/history-attached-budget.test.ts +216 -0
  30. package/src/__tests__/message-decoders.test.ts +201 -5
  31. package/src/__tests__/session-detail-loop-status.test.ts +169 -0
  32. package/src/__tests__/session-directory-messages.test.ts +192 -0
  33. package/src/__tests__/session-history-wire.test.ts +342 -0
  34. package/src/__tests__/session-message-handler-observe.test.ts +193 -0
  35. package/src/__tests__/session-message-handler.test.ts +82 -1
  36. package/src/__tests__/ws-broadcast-events.test.ts +10 -0
  37. package/src/client.ts +9 -1
  38. package/src/index.ts +14 -2
  39. package/src/loop-control-messages.ts +34 -0
  40. package/src/message-decoders.ts +82 -4
  41. package/src/node/bearer-resource-gate.ts +291 -0
  42. package/src/node/file-transfer.ts +530 -0
  43. package/src/node/index.ts +30 -0
  44. package/src/observer-messages.ts +36 -0
  45. package/src/open-prompts.ts +76 -0
  46. package/src/outbound-delivery.ts +11 -2
  47. package/src/protocol-session.ts +7 -1
  48. package/src/session-directory-messages.ts +85 -0
  49. package/src/session-events.ts +93 -18
  50. package/src/session-message-handler.ts +53 -8
  51. package/src/session-query-messages.ts +105 -4
  52. package/src/wire-messages.ts +105 -7
  53. package/dist/browser/message-decoders-BB8n-H2X.d.ts.map +0 -1
  54. package/dist/browser/message-decoders-CDmDoZPR.js +0 -2
  55. package/dist/browser/message-decoders-CDmDoZPR.js.map +0 -1
package/CHANGELOG.md ADDED
@@ -0,0 +1,752 @@
1
+ # @robota-sdk/agent-transport
2
+
3
+ ## 3.0.0-beta.83
4
+
5
+ ### Major Changes
6
+
7
+ - 7b72344: Every client can offer the session's commands and skills and show its status. The GUI uses them as a
8
+ desktop-style composer.
9
+
10
+ - `agent-interface-session` is **`major` because `IInteractiveSession` gains required members**:
11
+ `ISessionCommands.listSkills()` and a `statusRead` capability, `getStatusSnapshot()`. The snapshot
12
+ holds session, model, permission mode, effort, context and goal. An external implementation stops
13
+ compiling until it adds both.
14
+ - `agent-transport` is **`major` for the same reason on `IProtocolSession`**. It also gains the wire
15
+ messages `get-commands` → `commands` and `get-status` → `session_status`. Both are reads that the
16
+ observe role may send.
17
+ - `agent-interface-command` gains `ICommandSkillListEntry`, moved from `agent-framework`, which
18
+ re-exports it unchanged.
19
+ - `agent-ui-web` is **`major` because its state changes shape**:
20
+ - A command's outcome and a finished turn's tool calls are now conversation entries: `messages` is
21
+ `TConversationEntry[]`.
22
+ - The `uiIntentNotices` list, `dismissUiIntentNotice`, `applyUiIntentEvent`,
23
+ `removeUiIntentNotice` and `IUiIntentNotice` are removed. An intent now answers with an info
24
+ line in the conversation.
25
+ - Session notices keep only `session-error` and `protocol-error`.
26
+ - The state gains `commandCatalog` and `sessionStatus`.
27
+ - `agent-command` registers `/theme` and `/keybindings` even without a terminal. They then answer
28
+ that they belong to the robota terminal, instead of being unknown.
29
+ - `agent-framework`:
30
+ - `InteractiveSession.getStatusSnapshot()`.
31
+ - The main-thread row previews the last chat message instead of the last record's type.
32
+ - `agent-cli` serves the full GUI web app, renamed from `agent-cli-web` to `agent-gui-web`, on
33
+ `robota --serve --open`.
34
+
35
+ - 6ae3f28: A served runtime can list its workspace's sessions, start a new one and switch to another without the
36
+ process or any client connection restarting. The GUI shows them in a sessions sidebar.
37
+
38
+ - `agent-interface-session` is **`major`** for two reasons:
39
+ - It adds `ISessionListing`, `ISessionDirectory` and `ISessionSwitchedEvent`.
40
+ - `IInteractiveSessionEvents` gains a required `session_switched` event. An exhaustive map over the
41
+ event names stops compiling until it classifies the new event.
42
+ - `agent-transport` is **`major`** for the same kind of reason:
43
+ - It adds the wire messages `list-sessions` → `sessions`/`sessions_error`, `new-session`,
44
+ `switch-session`, and the broadcast `session_switched`.
45
+ - It adds a `sessionDirectory` handler option. A refusal to switch comes back as a
46
+ `protocol_error` carrying the reason.
47
+ - An exhaustive map over message types must add the new variants.
48
+ - `agent-transport-ws` passes a configured `sessionDirectory` to every connection.
49
+ - `agent-framework` is **`major` because `IRuntimeHostHandle.session` is now a `SessionSlot`**, not the
50
+ `InteractiveSession`, and `bindTransports` receives the slot.
51
+ - The slot is an `IInteractiveSession` that forwards to the current session. Members outside that
52
+ interface are read through `host.session.current`, which changes on a switch.
53
+ - Adds `InteractiveSession.whenInitialized()`.
54
+ - Exports `listUnreadableSessions`.
55
+ - `agent-ui-web` is **`major`**:
56
+ - `IWsSessionState` gains session listing state and actions.
57
+ - It adds a `SessionSidebar`.
58
+ - `/resume` opens the sidebar.
59
+ - `agent-cli`: `robota --serve` provides the session directory, and refuses a switch that would lose
60
+ work in progress. External-event grants belong to the run: a switch reopens them on the new session,
61
+ as the TUI already does.
62
+ - External-event grant history (spent tokens, rate windows, revocations) belongs to the run. The new
63
+ option `externalEventGrantHistory` (from `createExternalEventGrantHistory()`) is shared by every
64
+ session that a served runtime or the TUI builds. A session switch therefore replays no spent token
65
+ and resets no rate limit. The TUI previously had this gap when it switched sessions.
66
+
67
+ - 57f57f5: A daemon keeps several sessions live, and each client is bound to its own: one client's switch moves
68
+ only that client.
69
+
70
+ - `agent-interface-session`: `ISessionBinder`/`ISessionBinding`, the session-change refusal codes with
71
+ `isSessionChangeRefusal`, and listing rows that may say `live` and `clients`.
72
+ - `agent-framework`: `SessionPool` and `SessionChangeRefusal`.
73
+ - `agent-transport` (**major**): a new server frame, `session_change_failed`, which an exhaustive
74
+ consumer must handle. A refused `new-session` or `switch-session` now answers with it, carrying a
75
+ `code`, instead of `protocol_error`; both requests take an optional `requestId` that it echoes.
76
+ - `agent-transport-ws`: the `sessionBinder` option binds each connection to its own session and
77
+ releases the binding when the connection closes.
78
+ - `agent-cli`: `robota --serve` and the daemon keep up to four sessions live. Each WebSocket client and
79
+ attached terminal is bound to its own session; leaving a busy session is no longer refused, and only
80
+ the last driver of a session with a pending prompt is kept from leaving it. Grants and the supervised
81
+ name stay on the runtime's first session, and its reported activity covers every live session.
82
+ - `agent-ui-web`: a refused new or switch shows the host's reason as a notice (an older host's
83
+ `protocol_error` still does); the session sidebar marks live sessions and counts the other clients
84
+ on each; after a reconnect to a host that keeps sessions live, the GUI returns to the session it was on.
85
+ - `agent-ui-terminal`: an attached terminal shows why a switch was refused, and the picker's switch
86
+ stays pending until the host answers; the session picker marks live sessions and their clients.
87
+
88
+ - ba822c1: An attached client reads a workspace entry's detail, stops a waiting self-paced loop, completes
89
+ subcommands, and sees status changes another client made.
90
+
91
+ - `agent-interface-session` (major): `IInteractiveSession` gains the required roles
92
+ `ISessionExecutionDetail` and `ISessionSelfPacedLoopControl` (`TWaitingLoopStopOutcome`), and the
93
+ exhaustively mapped event map gains `status_changed`.
94
+ - `agent-transport` (major): `IProtocolSession` gains both roles; the wire unions gain
95
+ `read-execution-detail`, `stop-waiting-loop`, `execution_detail`, `execution_detail_error` and
96
+ `waiting_loop_stop`; `status_changed` is pushed as `session_status`; `isObserverMessageType` is
97
+ exported from the root and `./client`.
98
+ - `agent-interface-command` (minor): `ICommandListEntry` gains optional `argumentHint` and
99
+ `subcommands` (`ICommandSubcommandEntry`).
100
+ - `agent-cli` (minor):
101
+ - `robota session attach` and an attach from `robota session view` open the full terminal UI,
102
+ the one `robota --attach` opens, in drive mode or, with `--observe`, read-only. The reduced
103
+ attached view is gone.
104
+ - A served runtime names each of its sessions after the session's first real turn.
105
+ - `agent-framework` (minor):
106
+ - `InteractiveSession` gains `stopWaitingSelfPacedLoop(reason?)`: it stops the one waiting loop,
107
+ or stops none and names `/loop stop` when several wait. `SessionSlot` forwards it and
108
+ `readExecutionWorkspaceDetail`.
109
+ - The session emits `status_changed` when its mode, model, effort, goal or name changes, after a
110
+ command, a turn, a rename or a goal or plan transition.
111
+ - A new option `autoName: true` makes the session name itself once, after its first turn, with its
112
+ current provider; it keeps a name it already has and lets a rename made meanwhile win. Off by
113
+ default.
114
+ - The command catalog carries each command's `argumentHint` and `subcommands`.
115
+ - `agent-ui-terminal` (major):
116
+ - The full terminal UI attached to a host's session reads a workspace entry's detail, sends input
117
+ to a background task, stops a waiting self-paced loop on Esc, and completes subcommands.
118
+ - `renderAttachedApp` takes `mode: 'drive' | 'observe'` (default `'drive'`) and `announce`. In
119
+ observe mode the terminal sends only what an observer may send, refuses prompts, host commands,
120
+ abort and loop stop with a read-only notice, still runs `/exit` and its own commands, and its
121
+ status bar says it is observing. `ITuiChannelSnapshot` gains `readOnly`.
122
+ - The in-process terminal no longer names sessions; it builds its session with `autoName: true`.
123
+ `ITuiInteractionChannelOptions.onAutoNamed` is removed.
124
+
125
+ - 6e6b06b: A wire client can now render the whole session the way the in-process terminal UI does: the full
126
+ history, the context window as it changes, when the history changes, and where each turn came from.
127
+
128
+ - `agent-interface-session` is **`major`**: `ISessionConversationRead` gains a required
129
+ `getFullHistory()`. Any implementation of it, or of `IInteractiveSession`, must add it.
130
+ - `agent-transport` is **`major`**:
131
+ - It adds `get-history { fromIndex? }` → `history { startIndex, total, entries }`. The history
132
+ crosses one bounded page at a time (at most 256 KiB of entries; a single larger entry is sent
133
+ alone), from `fromIndex` (default 0), so no reply grows with the session. The client asks for
134
+ the next page after the previous one arrived. Entries are `IWireHistoryEntry`: a history entry
135
+ with an ISO 8601 `timestamp`. An observer may send it.
136
+ - `complete` and `interrupted` carry the turn's result without the session's history
137
+ (`TWireExecutionResult`); a client reads the history with `get-history`.
138
+ - It adds `get-prompts`: the host sends the permission and ask prompts still open as the
139
+ `permission_request` / `ask_request` frames that asked them, for a client that attached later.
140
+ An observer may not send it.
141
+ - `pending` gains an optional `pendingCount`: a host sends it when it knows how many prompts are
142
+ queued, and a client that gets none counts the prompt it shows. The host sends `pending` in
143
+ reply to a `submit` once it has taken the prompt, so a prompt queued behind a running turn shows
144
+ as queued.
145
+ - `command` takes an optional `requestId`, which the host echoes on the command's
146
+ `command_result` or `protocol_error`.
147
+ - The session's `context_update` is pushed as the `context` frame that `get-context` answers with.
148
+ - `compact`, `skill_activation` and `memory_event` push the new `history_changed`; the client
149
+ reads the history again.
150
+ - `turn_source` is pushed as the new `turn_source` frame.
151
+ - An exhaustive map over `TClientMessage` or `TServerMessage` types must add the new variants,
152
+ and `IProtocolSession` now requires `getFullHistory()`.
153
+ - `agent-transport-http` is **`major`** only because `IHttpTransportSession` includes the conversation
154
+ read role, so a session handed to it must now provide `getFullHistory()`.
155
+ - `agent-framework`: `SessionSlot` forwards `getFullHistory()` to the current session.
156
+ - `agent-ui-web` receives the new frames and does not render them.
157
+
158
+ ### Minor Changes
159
+
160
+ - d877de2: External events arrive over HTTP: `POST <public-url>/events/<grant-id>`, on a loopback port behind the owner's own
161
+ HTTPS proxy or tunnel.
162
+
163
+ - `agent-transport` — `./node` exports the resource-server gate every token-admitted HTTP carrier shares:
164
+ `createBearerResourceServer` (Host and Origin checked against the public URL, trusted-proxy `X-Forwarded-For`,
165
+ a failure-only throttle per address, coarse address classes), `describeProtectedResource` (RFC 9728 metadata
166
+ path and body, RFC 6750 challenges), `serveProtectedResourceMetadata`, `refuseBearerToken` and
167
+ `parsePublicHttpsUrl`.
168
+ - `agent-transport-mcp` — the remote MCP gate is composed from that shared gate; its answers are unchanged.
169
+ - `agent-cli` — each grant is its own endpoint and audience (its resource is `<public-url>/events/<grant-id>`).
170
+ An admitted event answers `202 {"turnId"}`; refusals have an empty body: 401 with the `invalid_token` or
171
+ missing-token challenge, 403 `insufficient_scope` or a revoked grant, 400 a malformed event, 404 an unknown
172
+ grant, 413 a body over 16 KiB, 429 over the grant's rate or the address's failure budget, 503 when the issuer
173
+ or the session cannot take it. `--external-event-port <port>` (required with grants) and
174
+ `--external-event-trusted-proxy <ip>` work on the TUI and on `robota session start --background`. A background
175
+ session writes an owner-only, bounded JSONL trail of refusals and settlements under its supervised directory;
176
+ the TUI reports them on one line each.
177
+
178
+ - d61e159: The session protocol gains a read-only `observe` role.
179
+
180
+ - `createSessionMessageHandler({ role: 'observe' })` follows the session's conversation, streaming,
181
+ tool, background, usage and workspace events and answers reads of this session. The default role
182
+ stays `drive`, which is unchanged.
183
+ - An observer never subscribes to `permission_request` or `ask_request`. A session with only observers
184
+ attached therefore still denies a permission and cancels a question at once instead of waiting for a
185
+ surface that may not answer. Observers still see `prompt_resolved`.
186
+ - An observer cannot submit, run commands, abort, cancel the queue, control background tasks, answer
187
+ prompts, or read personal or other sessions' usage reports. Each such message is answered with a
188
+ `protocol_error` and changes nothing. Only an explicit list of reads is accepted, so a message type
189
+ added later is refused to observers until it is classified.
190
+ - `ATTACHED_SURFACE_MAX_PENDING_BYTES` (1 MiB) is the backpressure budget a carrier passes to
191
+ `createOutboundDelivery` for a terminal attached on the same host. A reader that falls that far
192
+ behind is cut off and reported to the carrier, and other surfaces keep streaming. No carrier uses it
193
+ yet.
194
+ - `agent-cli`: a supervised session's control endpoint no longer includes its generation in a
195
+ refusal to a caller that did not present it.
196
+
197
+ ### Patch Changes
198
+
199
+ - 57280bf: Every published package now declares `"engines": { "node": ">=22.12.0" }`. Before, 27 of the 38
200
+ packages declared no floor (`agent-core`, `agent-tools` and every provider among them),
201
+ `agent-session` and `agent-file-authority` declared `>=20.19.0`, and the other nine declared
202
+ `>=22.0.0`, so a consumer on Node 20 saw at most a warning from a transitive dependency.
203
+
204
+ Why 22.12: `agent-cli` and `agent-ui-terminal` need Node 22 through `ink` 7, and the CommonJS entries
205
+ of `agent-tools` and its dependents, `agent-transport`/`node` and its dependents, and
206
+ `agent-ui-terminal` `require()` ESM-only dependencies (`p-limit`, `jose`, `chalk`), which Node 22
207
+ supports unflagged only from 22.12. `engines` is advisory unless the consumer enables `engine-strict`.
208
+
209
+ No code changes: `tsdown` now reads `node22.12.0` as its build target from the field.
210
+
211
+ - 18c0d5c: Every published package now exports `./package.json`, so `require('<package>/package.json')` and
212
+ `import('<package>/package.json', { with: { type: 'json' } })` work instead of failing with
213
+ `ERR_PACKAGE_PATH_NOT_EXPORTED`, and each tarball now ships the package's `CHANGELOG.md`.
214
+ - Updated dependencies [3c81769]
215
+ - Updated dependencies [724fabb]
216
+ - Updated dependencies [bfe8ed5]
217
+ - Updated dependencies [e689c8e]
218
+ - Updated dependencies [7b72344]
219
+ - Updated dependencies [6ae3f28]
220
+ - Updated dependencies [be0e53c]
221
+ - Updated dependencies [57f57f5]
222
+ - Updated dependencies [ba822c1]
223
+ - Updated dependencies [9721162]
224
+ - Updated dependencies [6e6b06b]
225
+ - Updated dependencies [8bd5fac]
226
+ - Updated dependencies [57280bf]
227
+ - Updated dependencies [5033dd9]
228
+ - Updated dependencies [18c0d5c]
229
+ - Updated dependencies [dbd888d]
230
+ - Updated dependencies [1887e54]
231
+ - @robota-sdk/agent-interface-analytics@3.0.0-beta.83
232
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.83
233
+ - @robota-sdk/agent-core@3.0.0-beta.83
234
+ - @robota-sdk/agent-interface-session@3.0.0-beta.83
235
+ - @robota-sdk/agent-interface-command@3.0.0-beta.83
236
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.83
237
+ - @robota-sdk/agent-interface-session-mobility@3.0.0-beta.83
238
+
239
+ ## 3.0.0-beta.82
240
+
241
+ ### Minor Changes
242
+
243
+ - c7f9203: Connected sessions can send each other files.
244
+
245
+ - `/peers send-file <session-id> <path>` sends a copy of any file the operator can read to another
246
+ live session on this host.
247
+ - The model sends a file only through the `peer_send_file` tool. Every call asks the user, showing
248
+ the path, size, hash and destination; no permission mode, rule or remembered consent answers it.
249
+ The tool reaches only files inside the workspace whose path does not look like it holds secrets
250
+ (`.env*`, `~/.ssh`, keys and credentials), and it does not exist in a turn a peer's message started.
251
+ - The receiving operator approves every file. A received file is kept as an inert copy (mode 0600)
252
+ under `~/.robota/peer-files/<sender>/`. It is never run and never placed in the model's context.
253
+ The conversation is told only its name, size and sha256. A name that leaves that directory is
254
+ refused, a symbolic link is never written through, and nothing is overwritten.
255
+ - Transfers travel on a channel of their own (a separate connection on this host, a separate data
256
+ channel between devices), in chunks the receiver paces, up to 32 MiB, and are kept only when the
257
+ whole content matches the offered sha256. A transfer that ends early is discarded; there is no
258
+ resume.
259
+
260
+ **API**
261
+
262
+ - `agent-interface-session-mobility`: the `file` capability, which asks the operator for every
263
+ request; `ConnectionAuthority.authorizeFile`; `IFileOffer` and `IFileFrameChannel`.
264
+ - `agent-transport/node`: `sendFileOverChannel` and `receiveFileOverChannel`, the carrier over any
265
+ `IFileFrameChannel`; `DEFAULT_MAX_FILE_BYTES`.
266
+ - `agent-transport-webrtc`: `IDeviceMeshLink.openFileChannel` and `onFileChannel`.
267
+ - `agent-remote-pairing`: `file` joins `DEVICE_CAPABILITIES`. A device certificate that names it is
268
+ refused as malformed by an earlier version.
269
+ - `agent-core`: `IToolPermissionProfile.notInPeerTurn` withholds a tool from a turn a peer's message
270
+ started.
271
+ - `agent-framework`: `ICommandLocalPeersAdapter.prepareFile`.
272
+
273
+ ### Patch Changes
274
+
275
+ - Updated dependencies [c7f9203]
276
+ - Updated dependencies [004fe7f]
277
+ - @robota-sdk/agent-interface-session-mobility@3.0.0-beta.82
278
+ - @robota-sdk/agent-core@3.0.0-beta.82
279
+ - @robota-sdk/agent-interface-command@3.0.0-beta.82
280
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.82
281
+ - @robota-sdk/agent-interface-session@3.0.0-beta.82
282
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.82
283
+ - @robota-sdk/agent-interface-analytics@3.0.0-beta.82
284
+
285
+ ## 3.0.0-beta.81
286
+
287
+ ### Patch Changes
288
+
289
+ - Updated dependencies [3038eb7]
290
+ - Updated dependencies [02b7452]
291
+ - Updated dependencies [ec5e477]
292
+ - Updated dependencies [b2e0afe]
293
+ - Updated dependencies [007fd90]
294
+ - Updated dependencies [18b52cc]
295
+ - @robota-sdk/agent-core@3.0.0-beta.81
296
+ - @robota-sdk/agent-interface-session@3.0.0-beta.81
297
+ - @robota-sdk/agent-interface-session-mobility@3.0.0-beta.81
298
+ - @robota-sdk/agent-interface-command@3.0.0-beta.81
299
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.81
300
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.81
301
+ - @robota-sdk/agent-interface-analytics@3.0.0-beta.81
302
+
303
+ ## 3.0.0-beta.80
304
+
305
+ ### Major Changes
306
+
307
+ - 50d2c9f: Handoff offer refusal and inventory classification now live in session mobility. The Node transport
308
+ entry no longer exports `buildHandoffManifest`, `IBuildManifestInput`, `ISourceRuntimeState`, or
309
+ `TManifestResult`. Compose `assessHandoffReadiness` and `prepareHandoffOffer` from
310
+ `@robota-sdk/agent-interface-session-mobility` with `sealHandoffRecord` from
311
+ `@robota-sdk/agent-transport/node`; check readiness before sealing and send the returned serialized
312
+ payload unchanged. The transport README contains the migration example.
313
+ - e82215f: **ARCH-011: replace the ambiguous transport lifecycle stub with executable conformance.**
314
+
315
+ `ITransportAdapter` now requires a frozen `service | runner` lifecycle descriptor. `start()` resolves
316
+ at the concrete transport's documented readiness boundary; start before attach and repeated active
317
+ start reject a stable lifecycle error, repeated stop is safe, and stopped adapters can reattach and
318
+ restart.
319
+
320
+ Runner adapters launch separately and expose a typed terminal outcome through
321
+ `waitForCompletion()`. The registry accepts base adapters, rejects duplicate names, keeps
322
+ configuration as an optional capability, returns complete ordered records whose pending slots become
323
+ registry-owned `abandoned` outcomes on stop/rollback, and exposes a real-runner-only first-failure
324
+ wait. It serializes startup/stop, rejects active restart before mutation, and reverses partial startup
325
+ from the currently failing adapter with typed safe rollback details. Runtime host and serve mode
326
+ propagate real nonzero runner results without treating normal shutdown abandonment as failure.
327
+
328
+ HTTP, MCP, both WebSocket adapters, WebRTC, and headless invoke one shared public conformance kit.
329
+ The former `TuiTransport` export is removed because it ignored the attached session; use `renderApp`
330
+ or `TuiInteractionChannel`, which honestly own their session lifecycle.
331
+
332
+ - 64ba748: **BREAKING — ARCH-042: project filesystem access is now an explicit, host-issued authority instead of an ambient consequence of `cwd`.**
333
+
334
+ `@robota-sdk/agent-framework` adds `WorkspaceTrustService` and the opaque
335
+ `IWorkspaceProjectAuthority`, plus bounded reader, settings-writer, state-storage, and mutation
336
+ facets. Public session, settings, context, checkpoint, memory, contribution, query, and replay
337
+ contracts consume those facets. A caller that does not supply `projectAccess` is deliberately
338
+ restricted to user-owned host state and receives no project filesystem capability.
339
+
340
+ The framework removes or renames ambient Node/project exports. Migrate `checkSettingsFile` to
341
+ `checkNodeHostSettingsFile`, `readMergedProviderSettingsFromPaths` to
342
+ `readMergedProviderSettingsFromSources`, `resolveProviderSettingsWriteTargetPath` to
343
+ `resolveProviderSettingsWriteTarget`, `FileSystemMemoryStore` / `createFileSystemMemoryStore` to
344
+ `WorkspaceMemoryStore` / `createWorkspaceMemoryStore`, and `PluginSettingsStore` to
345
+ `NodeHostPluginSettingsStore`. Host-only git helpers now carry the `FromNodeHost` suffix.
346
+ `projectPaths`, `resolveSettingsPathForScope`, and `getProviderSettingsPaths` are removed; project
347
+ consumers must use the authority facets rather than recover absolute paths.
348
+
349
+ `@robota-sdk/agent-session` renames the Node filesystem implementation `SessionStore` to
350
+ `NodeSessionStore` and adds explicit session-log/external-payload source and sink ports. Session
351
+ replay no longer resolves external payload files from an ambient directory.
352
+
353
+ `@robota-sdk/agent-interface-transport` changes `ISkillExecutionPort.loadCommands(cwd, home?)` to
354
+ the authority-bound `loadCommands()` and removes the optional absolute-path leak
355
+ `IInteractiveSessionStore.getFilePath`. `@robota-sdk/agent-command` consequently replaces the
356
+ `cwd` option of `createSkillsCommandModule` with required `contributionSources`; default command
357
+ composition accepts explicit contribution sources and discovers no project skills when none are
358
+ provided.
359
+
360
+ `@robota-sdk/agent-cli`, `@robota-sdk/agent-transport`, and
361
+ `@robota-sdk/agent-transport-tui` thread the trusted-or-restricted project decision through every
362
+ session surface. Embedded callers that need project settings, state, context, skills, checkpoints,
363
+ or mutation must mint access through `WorkspaceTrustService` and pass the returned
364
+ `projectAccess` (and a separately approved mutation/settings facet where required). Omitting it is
365
+ still type-compatible but is behaviorally breaking: the surface now fails closed instead of
366
+ reading or writing the current directory.
367
+
368
+ ### Minor Changes
369
+
370
+ - a5961c9: Access-token verification for a remote resource server.
371
+
372
+ `agent-interface-transport` gains the contract: `IAccessTokenVerifier`, its configuration
373
+ `IAccessTokenVerifierConfig`, and the verdict `TAccessTokenAdmission` — admitted, or refused with one
374
+ `TAccessTokenRefusal` reason. A verdict never carries the token or a claim value.
375
+
376
+ `agent-transport/node` gains `createAccessTokenVerifier`, built on `jose` (now a direct, pinned
377
+ dependency). A token is admitted only when it is an `at+jwt` access token within a length bound,
378
+ issued by exactly the configured issuer, signed with a configured RS256, ES256 or EdDSA key whose
379
+ type, curve, `alg` and `use` agree with it, within `exp`/`nbf` with 60 s of skew, addressed to the
380
+ configured resource, carrying the required scopes, and from an allowlisted subject or client. The
381
+ host is single-tenant, so a configuration without an allowlist is refused at construction.
382
+
383
+ Keys are discovered through the issuer's metadata (RFC 8414, then OpenID discovery, with an issuer
384
+ equality check) and fetched over `https` through agent-core's egress boundary, byte-bounded, with
385
+ private-address reach granted to the issuer's host only. The key set is cached and refetched, at a
386
+ bounded rate, for an unknown `kid` or once it reaches a maximum age, so a key the issuer withdraws
387
+ stops admitting; keys are trusted only up to a bounded age, and beyond that an outage refuses.
388
+
389
+ Nothing is wired to a listener yet.
390
+
391
+ - 4c5148e: ARCH-005 Stage S2 — `robota` is now expressed as an `IProductProfile` and assembled by `assembleProduct`;
392
+ the hand-wired composition root in `agent-cli` is gone.
393
+
394
+ - **`@robota-sdk/agent-product`** — provider construction returns IN-KERNEL. `assembleProduct` builds the
395
+ provider from `providerDefinitions` + the shell's already-resolved `providerSettings` via agent-core's
396
+ pure `createProviderFromConfig`; `provider` is now an OPTIONAL injected override. Both are optional, so a
397
+ Mode A profile can carry only `providerDefinitions`. The fold stays pure and IO-free — every
398
+ settings/env/file read still happens in the shell. Adds `IAssembledProduct.buildRuntimeOptions`, the pure
399
+ overlay `buildRuntime` delegates through, and `IAssembledProduct.providerDefinitions`.
400
+ **Breaking for pre-release consumers:** `IProductProfile.providerDefinitions` is now required and
401
+ `IProductProfile.provider` / `IAssembledProduct.provider` are now optional.
402
+ - **`@robota-sdk/agent-framework`** — a scoped, additive session seam: `agentDefinitions` on
403
+ `TInteractiveSessionOptions` / `ICreateSessionOptions`, composed into the built-in agent tier ahead of
404
+ `BUILT_IN_AGENTS`, so capability-pack subagents actually reach the runtime. Precedence: discovered
405
+ project/user definitions > injected > built-in. `AgentDefinitionLoader` now dedupes within that tier
406
+ (first wins). Absent ⇒ unchanged behavior.
407
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
408
+ `agentDefinitions` through the headless and TUI channels so every robota surface carries the seam.
409
+ - **`@robota-sdk/agent-cli`** — `robota`'s identity (branding, provider surface, presets,
410
+ `packs: [codingPack]`, base command modules, injected transports/runners/subagent factory) is declared as
411
+ data in a product profile and folded by `assembleProduct`. The coding command modules (`/shell`,
412
+ `/editor`) now come from `pack-coding` rather than the base set, so the pack is load-bearing. What remains
413
+ in the CLI is product-shell only: arg parsing, settings/file IO, terminal notices, first-run/init/
414
+ `--configure`, memory + session-resume UX, and print/serve/TUI mode dispatch.
415
+
416
+ End-user `robota` behavior is unchanged in substance — the assembled command-module set, provider surface,
417
+ tool set, subagent roster, and preset resolution all match the pre-change assembly — with one accepted
418
+ cosmetic delta: `/shell` and `/editor` now appear at the END of `/help` output and of the slash-command
419
+ autocomplete popup rather than mid-list, because they arrive from `pack-coding` and both surfaces render in
420
+ module-insertion order. Same commands, same behavior, different position.
421
+
422
+ - 0116a29: ARCH-006 completion — robota's capability packs now OWN its tool surface, and `pack-coding` is built by a
423
+ context-bound factory.
424
+
425
+ - **`@robota-sdk/pack-coding` (BREAKING)** — the module-level `codingPack` constant is **removed** and
426
+ replaced by `createCodingPack({ cwd, sandboxClient })`, with `cwd` **required**. This is a safety change,
427
+ not a style one: `agent-tools` disarms its working-directory path guard when `cwd` is `undefined`, so a
428
+ pack whose file tools are built with no options contributes an **unsandboxed** `Read`/`Write`/`Edit`.
429
+ That was inert while `agent-framework` always supplied its own context-bound default tier, but ARCH-006
430
+ lets a product hand the whole tool surface to its packs (`defaultTools: []`) — and a context-free pack in
431
+ that position is a real hole. Keeping a zero-option export beside that seam would be a loaded gun, so it
432
+ is gone rather than deprecated. Each call returns fresh instances bound to the supplied context, so two
433
+ products in one process get independently-scoped file tools. Migration: replace `codingPack` with
434
+ `createCodingPack({ cwd: process.cwd() })`.
435
+ - **`@robota-sdk/agent-cli`** — `robota`'s packs are built from the shell's resolved `cwd`
436
+ (`createRobotaPacks({ cwd })`) before command setup, and the runtime seam passes
437
+ `ROBOTA_PACKS_OWN_TOOL_SURFACE` (an empty `defaultTools`) so the framework's `createDefaultTools()` tier
438
+ is REPLACED. Every tool robota runs now arrives from a capability pack: dropping a pack drops its tools,
439
+ exactly as it already dropped its command modules and subagents.
440
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
441
+ `additionalTools` and `defaultTools` through the headless and TUI channels, mirroring the existing
442
+ `agentDefinitions` pass-through, so print, serve and TUI carry an identical tool surface.
443
+
444
+ End-user `robota` behavior is unchanged, including the security property: the real binary still answers a
445
+ read outside the working directory with `Access denied: "…" is outside the working directory`.
446
+
447
+ - 9db63ee: Add named session capability roles and explicit capability-host queries while preserving the legacy
448
+ `IInteractiveSession` interface shape. HTTP, MCP, protocol, WS, WebRTC, and headless transports now
449
+ declare only the session roles they consume, and the direct aggregate-cast floor is zero.
450
+ - 1e3f91a: CMD-004 Phase 2 Stage E (breaking, beta line): the legacy `TCommandEffect` union and
451
+ `ICommandResult.effects` are DELETED. Commands emit the split contract directly —
452
+ `hostActions` (session-executed via `ICommandHostAdapters`; works headless and remote) and
453
+ `uiIntents` (requester-routed `ui_intent` session events with UI-neutral `show-*` names).
454
+ Final carriers for the former notification effects: `session_renamed` and the new
455
+ `history_cleared` are BROADCAST session events (forwarded to every WS surface, folded by the
456
+ TUI transcript/title and the GUI reducer's new `sessionName`/transcript-reset state);
457
+ `session-execution-started` rides `result.data.sessionExecution`; the plugin-registry refresh
458
+ rides `result.data.pluginRegistryReloaded`. A mechanical grep floor
459
+ (`command-effect-grep-floor.test.ts`) keeps `tui-requested`/`TCommandEffect`/`effects:` out of
460
+ every `packages/*/src` production tree.
461
+
462
+ ### Patch Changes
463
+
464
+ - 2ebff01: Emit the complete persisted checkpoint and branch lifecycle, forward plan, context-refresh, and
465
+ branch events through protocol transports, and render deterministic bounded notices in the TUI.
466
+ Transport-owned delivery failures now enter the owning carrier cleanup lifecycle without reversing
467
+ an already-committed session operation.
468
+ - 3244fb8: Fix a headless-run race (CI-001): the headless runner now resolves its exit code only AFTER the underlying `session.submit()` operation has fully settled, not off the terminal `complete`/`interrupted`/`error` event alone. Those events fire from inside the turn, BEFORE the turn's awaited `finally` runs session persistence / checkpoint finalize, so `run()`/`start()` previously returned while the session was still writing `.robota/` under cwd — a race a caller (or a test's cleanup) could lose (`ENOTEMPTY`). Each run now also emits exactly one terminal record. No change to exit codes or output shape.
469
+ - 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).
470
+ - Updated dependencies [9c19c50]
471
+ - Updated dependencies [7b6234c]
472
+ - Updated dependencies [5307f8a]
473
+ - Updated dependencies [b462ee7]
474
+ - Updated dependencies [37b4bd7]
475
+ - Updated dependencies [4eea54b]
476
+ - Updated dependencies [50d2c9f]
477
+ - Updated dependencies [1698be4]
478
+ - Updated dependencies [a5961c9]
479
+ - Updated dependencies [d4189b9]
480
+ - Updated dependencies [9edae52]
481
+ - Updated dependencies [4078a72]
482
+ - Updated dependencies [4c73a0b]
483
+ - Updated dependencies [af2f2ad]
484
+ - Updated dependencies [196a900]
485
+ - Updated dependencies [f336838]
486
+ - Updated dependencies [34e50f0]
487
+ - Updated dependencies [722e88a]
488
+ - Updated dependencies [d23c848]
489
+ - Updated dependencies [4dd45cc]
490
+ - Updated dependencies [fec722f]
491
+ - Updated dependencies [e82215f]
492
+ - Updated dependencies [52b7346]
493
+ - Updated dependencies [9db63ee]
494
+ - Updated dependencies [b078afa]
495
+ - Updated dependencies [2ebff01]
496
+ - Updated dependencies [9db63ee]
497
+ - Updated dependencies [2ebff01]
498
+ - Updated dependencies [2d3b2c0]
499
+ - Updated dependencies [4772067]
500
+ - Updated dependencies [0f98419]
501
+ - Updated dependencies [64ba748]
502
+ - Updated dependencies [9fbab1b]
503
+ - Updated dependencies [d312755]
504
+ - Updated dependencies [a009f5b]
505
+ - Updated dependencies [1e3f91a]
506
+ - Updated dependencies [4f3c075]
507
+ - Updated dependencies [475e085]
508
+ - Updated dependencies [e477440]
509
+ - Updated dependencies [9dcb5da]
510
+ - Updated dependencies [a95ca85]
511
+ - Updated dependencies [b6d14ce]
512
+ - Updated dependencies [0382a51]
513
+ - Updated dependencies [93d061d]
514
+ - Updated dependencies [39554a1]
515
+ - Updated dependencies [d28430a]
516
+ - Updated dependencies [1e40b5b]
517
+ - Updated dependencies [7669851]
518
+ - Updated dependencies [4b76cfa]
519
+ - Updated dependencies [07b627f]
520
+ - Updated dependencies [d0de5b2]
521
+ - Updated dependencies [9665c6e]
522
+ - Updated dependencies [44393be]
523
+ - Updated dependencies [c7fa299]
524
+ - Updated dependencies [5134b3b]
525
+ - Updated dependencies [d6b9404]
526
+ - Updated dependencies [5c5ff23]
527
+ - Updated dependencies [9814afc]
528
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.80
529
+ - @robota-sdk/agent-interface-command@3.0.0-beta.80
530
+ - @robota-sdk/agent-core@3.0.0-beta.80
531
+ - @robota-sdk/agent-interface-session@3.0.0-beta.80
532
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.80
533
+ - @robota-sdk/agent-interface-session-mobility@3.0.0-beta.80
534
+ - @robota-sdk/agent-interface-analytics@3.0.0-beta.80
535
+
536
+ ## 3.0.0-beta.79
537
+
538
+ ### Patch Changes
539
+
540
+ - @robota-sdk/agent-core@3.0.0-beta.79
541
+ - @robota-sdk/agent-framework@3.0.0-beta.79
542
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.79
543
+
544
+ ## 3.0.0-beta.78
545
+
546
+ ### Patch Changes
547
+
548
+ - Updated dependencies [6f308d1]
549
+ - @robota-sdk/agent-core@3.0.0-beta.78
550
+ - @robota-sdk/agent-framework@3.0.0-beta.78
551
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.78
552
+
553
+ ## 3.0.0-beta.77
554
+
555
+ ### Patch Changes
556
+
557
+ - Updated dependencies
558
+ - @robota-sdk/agent-core@3.0.0-beta.77
559
+ - @robota-sdk/agent-framework@3.0.0-beta.77
560
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.77
561
+
562
+ ## 3.0.0-beta.76
563
+
564
+ ### Minor Changes
565
+
566
+ - 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:
567
+
568
+ - `@robota-sdk/agent-transport` — lean core: headless adapter + `TransportRegistry` + scripted-provider testing fixtures (no external runtime deps).
569
+ - `@robota-sdk/agent-transport-tui` — React + Ink terminal UI.
570
+ - `@robota-sdk/agent-transport-ws` — WebSocket transport + protocol (`agent-web-ui` now depends only on this for WS types).
571
+ - `@robota-sdk/agent-transport-http` — Hono HTTP transport.
572
+ - `@robota-sdk/agent-transport-mcp` — MCP server transport.
573
+
574
+ The default transport-registry wiring (pre-registering `WsTransport`) moves to the CLI composition root, removing the core→ws edge.
575
+
576
+ ### Patch Changes
577
+
578
+ - DQ-AUDIT-002 — consolidate duplicated domain data onto single owners: one model-pricing SSOT in agent-core (`MODEL_PRICES`/`lookupModelPrice`/`calculateModelCost`/`estimateBlendedCostPer1000`) consumed by agent-command and agent-plugin (drops two embedded/stale price tables); the `len/4` token estimator replaced by core `CONTEXT_ESTIMATE_CHARS_PER_TOKEN`; TUI `TContextState` derived from core `IContextWindowState`; dead pass-through re-exports removed from agent-session.
579
+ - c0a6287: Relocate session feature logic out of the CLI shell and the transport (DQ-AUDIT-004):
580
+
581
+ - 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.
582
+ - 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.
583
+
584
+ - Updated dependencies
585
+ - Updated dependencies [c0a6287]
586
+ - Updated dependencies [9df3a88]
587
+ - Updated dependencies
588
+ - Updated dependencies
589
+ - Updated dependencies [576af62]
590
+ - @robota-sdk/agent-core@3.0.0-beta.76
591
+ - @robota-sdk/agent-framework@3.0.0-beta.76
592
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.76
593
+
594
+ ## 3.0.0-beta.75
595
+
596
+ ### Patch Changes
597
+
598
+ - Agent preset system + live preset switching + context/history correctness fixes.
599
+
600
+ - **Preset system (PRESET-001~017):** new `@robota-sdk/agent-preset` package layering framework
601
+ assembly options into named, selectable profiles (`default`, `autonomous-builder`, `careful-reviewer`,
602
+ `neutral-executor`) plus user-authored external presets loaded from `~/.robota/presets/*.json`.
603
+ - **Live preset switching:** `/preset` command (list + active marker + switch) and a TUI active-preset
604
+ display. Switching live re-applies permission posture, model/effort, persona, command-module
605
+ selection, parallel-subagents gating, and a self-verification system-prompt section via the single
606
+ `applyPresetToSession` engine.
607
+ - **CTX-001:** the TUI Context display + session auto-compact now use the accurate provider-based token
608
+ estimate (system prompt + tool schemas included) instead of a crude history-only char heuristic.
609
+ - **HIST-001:** conversation history is now append-only — removed the silent 100-message count cap that
610
+ could drop early context; context size is managed solely by size-based compaction.
611
+
612
+ - Updated dependencies
613
+ - @robota-sdk/agent-framework@3.0.0-beta.75
614
+ - @robota-sdk/agent-core@3.0.0-beta.75
615
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.75
616
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.75
617
+
618
+ ## 3.0.0-beta.74
619
+
620
+ ### Patch Changes
621
+
622
+ - Updated dependencies
623
+ - @robota-sdk/agent-framework@3.0.0-beta.74
624
+ - @robota-sdk/agent-core@3.0.0-beta.74
625
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.74
626
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.74
627
+
628
+ ## 3.0.0-beta.73
629
+
630
+ ### Patch Changes
631
+
632
+ - d4fd33f: TUI input area UX: remove side borders and status bar box (SCREEN-001), move status bar below input area (SCREEN-002), fix top border corner characters.
633
+ - @robota-sdk/agent-core@3.0.0-beta.73
634
+ - @robota-sdk/agent-framework@3.0.0-beta.73
635
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.73
636
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.73
637
+
638
+ ## 3.0.0-beta.72
639
+
640
+ ### Patch Changes
641
+
642
+ - Revert Korean IME blank line to normal flow so it persists after session switch (AppInner remount).
643
+ - Updated dependencies
644
+ - @robota-sdk/agent-framework@3.0.0-beta.72
645
+ - @robota-sdk/agent-core@3.0.0-beta.72
646
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.72
647
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.72
648
+
649
+ ## 3.0.0-beta.71
650
+
651
+ ### Patch Changes
652
+
653
+ - fix(context): unify token estimation to single SSOT — status bar and /context list now use the same serialized JSON estimate
654
+ - Updated dependencies
655
+ - @robota-sdk/agent-core@3.0.0-beta.71
656
+ - @robota-sdk/agent-framework@3.0.0-beta.71
657
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.71
658
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.71
659
+
660
+ ## 3.0.0-beta.70
661
+
662
+ ### Patch Changes
663
+
664
+ - CLI UX fixes: /context list full LLM context breakdown (CLI-B10), logo resize fix (CLI-B03), token estimates in context list (CLI-B04)
665
+ - Updated dependencies
666
+ - @robota-sdk/agent-framework@3.0.0-beta.70
667
+ - @robota-sdk/agent-core@3.0.0-beta.70
668
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.70
669
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.70
670
+
671
+ ## 3.0.0-beta.69
672
+
673
+ ### Patch Changes
674
+
675
+ - Updated dependencies
676
+ - @robota-sdk/agent-framework@3.0.0-beta.69
677
+ - @robota-sdk/agent-core@3.0.0-beta.69
678
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.69
679
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.69
680
+
681
+ ## 3.0.0-beta.68
682
+
683
+ ### Patch Changes
684
+
685
+ - Wrap Korean IME spacer in Box position=absolute to reduce terminal cursor offset by 1 row, moving the IME candidate window closer to the input area.
686
+ - @robota-sdk/agent-core@3.0.0-beta.68
687
+ - @robota-sdk/agent-framework@3.0.0-beta.68
688
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.68
689
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.68
690
+
691
+ ## 3.0.0-beta.67
692
+
693
+ ### Patch Changes
694
+
695
+ - Updated dependencies
696
+ - @robota-sdk/agent-framework@3.0.0-beta.67
697
+ - @robota-sdk/agent-interface-tui@3.0.0-beta.67
698
+ - @robota-sdk/agent-core@3.0.0-beta.67
699
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.67
700
+
701
+ ## 3.0.0-beta.66
702
+
703
+ ### Patch Changes
704
+
705
+ - refactor: CLI-001/002 — agent-cli layer separation and monorepo-wide readability lint rules
706
+ - CLI-001: Extract startup phases into focused modules; enforce agent-cli layer separation
707
+ - CLI-002: Apply import/order, consistent-type-imports, explicit-function-return-type, prefer-const, object-shorthand across all packages
708
+ - Fix stale child-process-subagent-worker entry in agent-cli tsdown.config.ts (build fix)
709
+
710
+ - Updated dependencies
711
+ - @robota-sdk/agent-framework@3.0.0-beta.66
712
+ - @robota-sdk/agent-core@3.0.0-beta.66
713
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.66
714
+
715
+ ## 3.0.0-beta.65
716
+
717
+ ### Minor Changes
718
+
719
+ - feat(CMD-003): TUI command interaction — picker/confirm overlay on missing args
720
+ - Add `command-interaction.ts` with `ITuiPickerInteraction`, `ITuiConfirmInteraction`, `TAnyTuiCommandInteraction` types
721
+ - Add `CommandPicker` and `CommandConfirm` Ink overlay components
722
+ - Extend `TCommandSelectionResult` with `open-interaction` variant in input-area-flow
723
+ - `resolveEnterCommandSelection` opens interaction overlay when command has `onMissingArgs` and no args typed
724
+ - `InputArea` accepts `resolveInteraction` prop; renders picker/confirm overlay when active
725
+ - Add `resolveInteraction` to `IRenderOptions` / `App` / `render`
726
+ - Add `TUI_COMMAND_INTERACTIONS` registry in `agent-cli` with mode/language/provider/exit/clear interactions
727
+ - Fix `SlashAutocomplete` to show technical command name (`cmd.name`) instead of `displayName`
728
+
729
+ ### Patch Changes
730
+
731
+ - @robota-sdk/agent-core@3.0.0-beta.65
732
+ - @robota-sdk/agent-framework@3.0.0-beta.65
733
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.65
734
+
735
+ ## 3.0.0-beta.64
736
+
737
+ ### Minor Changes
738
+
739
+ - feat: add displayName and requiresPermission to command interfaces
740
+ - `ICommand`, `ISystemCommand`, `ICommandListEntry`: add optional `displayName` field for user-friendly labels
741
+ - `ISystemCommand`: add optional `requiresPermission` field for per-command permission policy declaration
742
+ - `SystemCommandExecutor`: add `resolveRequiresPermission()` — derives from `safety` when field is undefined
743
+ - All 24 built-in commands declare explicit `displayName` and `requiresPermission`
744
+ - TUI autocomplete renders `displayName ?? name`; Tab completion still inserts the technical command ID
745
+ - `/help` output shows `Display Name (/command-id)` format
746
+
747
+ ### Patch Changes
748
+
749
+ - Updated dependencies
750
+ - @robota-sdk/agent-framework@3.0.0-beta.64
751
+ - @robota-sdk/agent-core@3.0.0-beta.64
752
+ - @robota-sdk/agent-interface-transport@3.0.0-beta.64