@robota-sdk/pack-coding 3.0.0-beta.97 → 3.0.1

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 (2) hide show
  1. package/CHANGELOG.md +368 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,373 @@
1
1
  # @robota-sdk/pack-coding
2
2
 
3
+ ## 3.0.1
4
+ ### Patch Changes
5
+
6
+ - @robota-sdk/agent-capability-pack@3.0.1
7
+ - @robota-sdk/agent-command@3.0.1
8
+ - @robota-sdk/agent-framework@3.0.1
9
+ - @robota-sdk/agent-tool-defaults@3.0.1
10
+ - @robota-sdk/agent-tools@3.0.1
11
+
12
+ ## 3.0.0
13
+ ### Major Changes
14
+
15
+ - 0116a29: ARCH-006 completion — the configured product's capability packs now OWN its tool surface, and `pack-coding` is built by a
16
+ context-bound factory.
17
+
18
+ - **`@robota-sdk/pack-coding` (BREAKING)** — the module-level `codingPack` constant is **removed** and
19
+ replaced by `createCodingPack({ cwd, sandboxClient })`, with `cwd` **required**. This is a safety change,
20
+ not a style one: `agent-tools` disarms its working-directory path guard when `cwd` is `undefined`, so a
21
+ pack whose file tools are built with no options contributes an **unsandboxed** `Read`/`Write`/`Edit`.
22
+ That was inert while `agent-framework` always supplied its own context-bound default tier, but ARCH-006
23
+ lets a product hand the whole tool surface to its packs (`defaultTools: []`) — and a context-free pack in
24
+ that position is a real hole. Keeping a zero-option export beside that seam would be a loaded gun, so it
25
+ is gone rather than deprecated. Each call returns fresh instances bound to the supplied context, so two
26
+ products in one process get independently-scoped file tools. Migration: replace `codingPack` with
27
+ `createCodingPack({ cwd: process.cwd() })`.
28
+ - **`@robota-sdk/agent-cli`** — `configured CLI`'s packs are built from the shell's resolved `cwd`
29
+ (`createProductCapabilityPacks({ cwd })`) before command setup, and the runtime seam passes
30
+ `PRODUCT_PACKS_OWN_TOOL_SURFACE` (an empty `defaultTools`) so the framework's `createDefaultTools()` tier
31
+ is REPLACED. Every tool the configured CLI runs now arrives from a capability pack: dropping a pack drops its tools,
32
+ exactly as it already dropped its command modules and subagents.
33
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
34
+ `additionalTools` and `defaultTools` through the headless and TUI channels, mirroring the existing
35
+ `agentDefinitions` pass-through, so print, serve and TUI carry an identical tool surface.
36
+
37
+ End-user `configured CLI` behavior is unchanged, including the security property: the real binary still answers a
38
+ read outside the working directory with `Access denied: "…" is outside the working directory`.
39
+
40
+ ### Minor Changes
41
+
42
+ - e5a4254: **An editor that offers its file system carries the file tools' reads and writes.**
43
+
44
+ `Read`, `Write` and `Edit` take an optional `editorFiles` port (`IEditorFileAccess`), asked at each
45
+ call. On the host, after the tool's containment check (the permission gate has already decided),
46
+ `Read` returns the editor's text, unsaved changes included, and `Write` hands the content to the
47
+ editor; `Edit` reads where `Read` reads and writes where `Write` writes. The editor's text keeps
48
+ `Read`'s byte budget, binary refusal, formatting and cancellation, and an editor failure becomes the
49
+ tool's error result. `Glob` and `Grep` still search the disk and end their result with a note saying
50
+ so while an editor is attached. A sandbox with its own filesystem still carries every file tool, and
51
+ commands never use the editor. `createDefaultTools` and `createCodingPack` pass `editorFiles` through
52
+ to those tools only.
53
+
54
+ The ACP agent transport records the editor's `clientCapabilities.fs` and, once `session/new` binds the
55
+ session, hands the host an access through the new `onEditorFileAccess` option that sends
56
+ `fs/read_text_file` and `fs/write_text_file` for that session, for what the editor offered; stopping
57
+ the transport withdraws it. `robota acp` connects the two, so Read, Write and Edit go through the
58
+ editor in an editor that offers `fs`; `terminal/*` is not used.
59
+ - 378c585: ARCH-005 Stage S1 — the external product-composition layer. Three new published packages plus a minimal
60
+ `agent-preset` addition:
61
+
62
+ - **`@robota-sdk/agent-capability-pack`** (new) — the additive capability-bundle contract
63
+ (`ICapabilityPack`) and the pure `mergeCapabilityPacks` merger (base ⊕ packs in profile order, with a
64
+ `{ merged, rejected }` conflict channel — never a silent override). The additive analog of
65
+ `agent-preset`; contract + pure fold, no IO.
66
+ - **`@robota-sdk/agent-product`** (new) — the product-assembly kernel. `assembleProduct(profile)` is a pure,
67
+ deterministic, IO-free fold over `IProductProfile` with zero product-specific branching: it resolves
68
+ presets via a per-call instance-scoped registry, merges additive packs, and DELEGATES runtime
69
+ construction to `agent-framework`'s `buildRuntimeSession` seam (never re-implemented). Its neutrality is
70
+ enforced by three mechanical guards (dependency-graph neutrality, purity/no-IO, no product-name
71
+ conditionals), coupling the amended project-structure L129 carve-out to the guards.
72
+ - **`@robota-sdk/pack-coding`** (new) — the configured product's coding capability as one `ICapabilityPack` (the built-in
73
+ coding tools, the `/shell` + `/editor` command modules, and the coding subagents) — the additive-axis
74
+ proof and the configured product's first pack.
75
+ - **`@robota-sdk/agent-preset`** — adds `createPresetRegistry`, a per-call instance-scoped resolver that
76
+ never mutates the module-level external-preset global (consumed by `assembleProduct`).
77
+
78
+ `agent-framework` and `agent-core` are unchanged. The CLI is not yet wired to `assembleProduct` (that is
79
+ Stage S2).
80
+
81
+ ### Patch Changes
82
+
83
+ - 57280bf: Every published package now declares `"engines": { "node": ">=22.12.0" }`. Before, 27 of the 38
84
+ packages declared no floor (`agent-core`, `agent-tools` and every provider among them),
85
+ `agent-session` and `agent-file-authority` declared `>=20.19.0`, and the other nine declared
86
+ `>=22.0.0`, so a consumer on Node 20 saw at most a warning from a transitive dependency.
87
+
88
+ Why 22.12: `agent-cli` and `agent-ui-terminal` need Node 22 through `ink` 7, and the CommonJS entries
89
+ of `agent-tools` and its dependents, `agent-transport`/`node` and its dependents, and
90
+ `agent-ui-terminal` `require()` ESM-only dependencies (`p-limit`, `jose`, `chalk`), which Node 22
91
+ supports unflagged only from 22.12. `engines` is advisory unless the consumer enables `engine-strict`.
92
+
93
+ No code changes: `tsdown` now reads `node22.12.0` as its build target from the field.
94
+ - 18c0d5c: Every published package now exports `./package.json`, so `require('<package>/package.json')` and
95
+ `import('<package>/package.json', { with: { type: 'json' } })` work instead of failing with
96
+ `ERR_PACKAGE_PATH_NOT_EXPORTED`, and each tarball now ships the package's `CHANGELOG.md`.
97
+ - 2c612ba: 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.
98
+ - 7b85767: ARCH-035 — the default tool set becomes a composition leaf.
99
+
100
+ **New package: `@robota-sdk/agent-tool-defaults`.** It owns `createDefaultTools` and
101
+ `ICreateDefaultToolsOptions`, including the adapter gating that adds `CodebaseRetrieval` when a
102
+ `retrievalAdapter` is supplied and the Computer tools when a `computerDriver` is.
103
+
104
+ **Breaking for `@robota-sdk/agent-framework`:** `createDefaultTools` and `ICreateDefaultToolsOptions`
105
+ are no longer exported from it. Import them from `@robota-sdk/agent-tool-defaults`. The packages are
106
+ pre-release and this repo keeps no compatibility shims, so they are moved rather than deprecated.
107
+
108
+ **Also breaking:** the internal `createSession` assembly factory is now `async`. This does NOT affect
109
+ `IAgentRuntime.createSession`, which stays synchronous — it does not call that factory, and a
110
+ verification scenario now asserts that explicitly, because propagating async through it would break
111
+ every consumer that builds a session without supplying `defaultTools`.
112
+
113
+ **Zero-config behaviour is unchanged**, deliberately. `createQuery` and the headless runtime have no
114
+ `defaultTools` seam, so a session built without one still receives the built-in tool tier —
115
+ `agent-framework` reaches the new leaf through a dynamic `import()`. An earlier revision of this work
116
+ proposed deleting the tier outright and was rejected on measurement: two published surfaces cannot
117
+ express the alternative, and the failure mode was a silently toolless agent behind a green typecheck.
118
+
119
+ **Why the move matters.** `agent-subagent-runner` legitimately depends on `agent-framework`, so while
120
+ the aggregator sat on that barrel a neutral runner could compose the product's tool surface with only
121
+ a scan in the way. It has no manifest edge to the new leaf, so that import does not resolve there at
122
+ all — the guarantee is carried by the type system now, mirroring what `@robota-sdk/agent-provider-defaults`
123
+ already does on the provider axis.
124
+
125
+ `@robota-sdk/pack-coding` is a patch: it consumes the leaf instead of rebuilding the same list by
126
+ hand. Its contributed tool surface is unchanged — verified from the published tarballs.
127
+ - 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).
128
+ - Updated dependencies [9c19c50]
129
+ - Updated dependencies [5307f8a]
130
+ - Updated dependencies [b462ee7]
131
+ - Updated dependencies [08a9bd6]
132
+ - Updated dependencies [818f0c8]
133
+ - Updated dependencies [2345c0b]
134
+ - Updated dependencies [118fe0e]
135
+ - Updated dependencies [240777e]
136
+ - Updated dependencies [718bdf5]
137
+ - Updated dependencies [3c81769]
138
+ - Updated dependencies [724fabb]
139
+ - Updated dependencies [997f2fb]
140
+ - Updated dependencies [bfe8ed5]
141
+ - Updated dependencies [9368d00]
142
+ - Updated dependencies [d4189b9]
143
+ - Updated dependencies [4078a72]
144
+ - Updated dependencies [af2f2ad]
145
+ - Updated dependencies [267af5f]
146
+ - Updated dependencies [f336838]
147
+ - Updated dependencies [34e50f0]
148
+ - Updated dependencies [722e88a]
149
+ - Updated dependencies [a5cc36e]
150
+ - Updated dependencies [b70fa3d]
151
+ - Updated dependencies [2711ec6]
152
+ - Updated dependencies [3038eb7]
153
+ - Updated dependencies [02b7452]
154
+ - Updated dependencies [4dd45cc]
155
+ - Updated dependencies [e689c8e]
156
+ - Updated dependencies [4241fc5]
157
+ - Updated dependencies [ec5e477]
158
+ - Updated dependencies [e15e22b]
159
+ - Updated dependencies [28fa8a7]
160
+ - Updated dependencies [44fc732]
161
+ - Updated dependencies [4f49d14]
162
+ - Updated dependencies [007fd90]
163
+ - Updated dependencies [c7f9203]
164
+ - Updated dependencies [004fe7f]
165
+ - Updated dependencies [18b52cc]
166
+ - Updated dependencies [9843fe6]
167
+ - Updated dependencies [7b72344]
168
+ - Updated dependencies [6ae3f28]
169
+ - Updated dependencies [9721162]
170
+ - Updated dependencies [57f57f5]
171
+ - Updated dependencies [ba822c1]
172
+ - Updated dependencies [9721162]
173
+ - Updated dependencies [6e6b06b]
174
+ - Updated dependencies [7d77ce4]
175
+ - Updated dependencies [57280bf]
176
+ - Updated dependencies [18c0d5c]
177
+ - Updated dependencies [caaab20]
178
+ - Updated dependencies [f01868f]
179
+ - Updated dependencies [e8779c9]
180
+ - Updated dependencies [0368058]
181
+ - Updated dependencies [5a0ee96]
182
+ - Updated dependencies [c7f213c]
183
+ - Updated dependencies [4e11579]
184
+ - Updated dependencies [193a0bc]
185
+ - Updated dependencies [54e2848]
186
+ - Updated dependencies [3c1967f]
187
+ - Updated dependencies [db35dcd]
188
+ - Updated dependencies [4cee6fb]
189
+ - Updated dependencies [043fd27]
190
+ - Updated dependencies [5684612]
191
+ - Updated dependencies [6ee8725]
192
+ - Updated dependencies [6072e9a]
193
+ - Updated dependencies [2e07cad]
194
+ - Updated dependencies [e8d70ac]
195
+ - Updated dependencies [2c612ba]
196
+ - Updated dependencies [e079992]
197
+ - Updated dependencies [d994f60]
198
+ - Updated dependencies [7116367]
199
+ - Updated dependencies [5bb675a]
200
+ - Updated dependencies [8fdd44c]
201
+ - Updated dependencies [e706b43]
202
+ - Updated dependencies [60f3965]
203
+ - Updated dependencies [115e104]
204
+ - Updated dependencies [e5a4254]
205
+ - Updated dependencies [04719a9]
206
+ - Updated dependencies [04a6de4]
207
+ - Updated dependencies [0ba247b]
208
+ - Updated dependencies [7d9cc66]
209
+ - Updated dependencies [378c585]
210
+ - Updated dependencies [4c5148e]
211
+ - Updated dependencies [37af5dc]
212
+ - Updated dependencies [807d161]
213
+ - Updated dependencies [e82215f]
214
+ - Updated dependencies [52b7346]
215
+ - Updated dependencies [2ebff01]
216
+ - Updated dependencies [2ebff01]
217
+ - Updated dependencies [2d3b2c0]
218
+ - Updated dependencies [b078afa]
219
+ - Updated dependencies [2d3b2c0]
220
+ - Updated dependencies [baa6863]
221
+ - Updated dependencies [2d3b2c0]
222
+ - Updated dependencies [3a8876b]
223
+ - Updated dependencies [4772067]
224
+ - Updated dependencies [7b85767]
225
+ - Updated dependencies [0f98419]
226
+ - Updated dependencies [64ba748]
227
+ - Updated dependencies [d312755]
228
+ - Updated dependencies [7d9cc66]
229
+ - Updated dependencies [61db70f]
230
+ - Updated dependencies [43df9c0]
231
+ - Updated dependencies [db80aba]
232
+ - Updated dependencies [1e3f91a]
233
+ - Updated dependencies [b330269]
234
+ - Updated dependencies [4f3c075]
235
+ - Updated dependencies [7d9cc66]
236
+ - Updated dependencies [b6d14ce]
237
+ - Updated dependencies [bed26ea]
238
+ - Updated dependencies [7d9cc66]
239
+ - Updated dependencies [fe48835]
240
+ - Updated dependencies [7d9cc66]
241
+ - Updated dependencies [1e40b5b]
242
+ - Updated dependencies [bad976f]
243
+ - Updated dependencies [7d9cc66]
244
+ - Updated dependencies [7d9cc66]
245
+ - Updated dependencies [7d9cc66]
246
+ - Updated dependencies [df02568]
247
+ - Updated dependencies [7d9cc66]
248
+ - Updated dependencies [7d9cc66]
249
+ - Updated dependencies [4b76cfa]
250
+ - Updated dependencies [d9bd9ec]
251
+ - Updated dependencies [8865acf]
252
+ - Updated dependencies [90e7a10]
253
+ - Updated dependencies [fcb0da3]
254
+ - Updated dependencies [07b627f]
255
+ - Updated dependencies [d0de5b2]
256
+ - Updated dependencies [dfb9b15]
257
+ - Updated dependencies [9c6a8db]
258
+ - Updated dependencies [9665c6e]
259
+ - Updated dependencies [44393be]
260
+ - Updated dependencies [c7fa299]
261
+ - Updated dependencies [7d9cc66]
262
+ - Updated dependencies [7d9cc66]
263
+ - Updated dependencies [5134b3b]
264
+ - Updated dependencies [dd444c1]
265
+ - Updated dependencies [1f57e7f]
266
+ - Updated dependencies [7911a7d]
267
+ - Updated dependencies [833afe1]
268
+ - Updated dependencies [d6b9404]
269
+ - Updated dependencies [7863b16]
270
+ - Updated dependencies [5783499]
271
+ - Updated dependencies [fde558e]
272
+ - Updated dependencies [db5c439]
273
+ - Updated dependencies [7d9cc66]
274
+ - Updated dependencies [62663ae]
275
+ - Updated dependencies [4a01a87]
276
+ - Updated dependencies [cbee54e]
277
+ - Updated dependencies [7d9cc66]
278
+ - Updated dependencies [7d9cc66]
279
+ - Updated dependencies [9814afc]
280
+ - Updated dependencies [02053ec]
281
+ - Updated dependencies [242a644]
282
+ - @robota-sdk/agent-framework@3.0.0
283
+ - @robota-sdk/agent-command@3.0.0
284
+ - @robota-sdk/agent-tools@3.0.0
285
+ - @robota-sdk/agent-tool-defaults@3.0.0
286
+ - @robota-sdk/agent-capability-pack@3.0.0
287
+
288
+ ## 3.0.0-beta.106
289
+ ### Patch Changes
290
+
291
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.106
292
+ - @robota-sdk/agent-command@3.0.0-beta.106
293
+ - @robota-sdk/agent-framework@3.0.0-beta.106
294
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.106
295
+ - @robota-sdk/agent-tools@3.0.0-beta.106
296
+
297
+ ## 3.0.0-beta.105
298
+ ### Patch Changes
299
+
300
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.105
301
+ - @robota-sdk/agent-command@3.0.0-beta.105
302
+ - @robota-sdk/agent-framework@3.0.0-beta.105
303
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.105
304
+ - @robota-sdk/agent-tools@3.0.0-beta.105
305
+
306
+ ## 3.0.0-beta.104
307
+ ### Patch Changes
308
+
309
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.104
310
+ - @robota-sdk/agent-command@3.0.0-beta.104
311
+ - @robota-sdk/agent-framework@3.0.0-beta.104
312
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.104
313
+ - @robota-sdk/agent-tools@3.0.0-beta.104
314
+
315
+ ## 3.0.0-beta.103
316
+ ### Patch Changes
317
+
318
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.103
319
+ - @robota-sdk/agent-command@3.0.0-beta.103
320
+ - @robota-sdk/agent-framework@3.0.0-beta.103
321
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.103
322
+ - @robota-sdk/agent-tools@3.0.0-beta.103
323
+
324
+ ## 3.0.0-beta.102
325
+ ### Patch Changes
326
+
327
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.102
328
+ - @robota-sdk/agent-command@3.0.0-beta.102
329
+ - @robota-sdk/agent-framework@3.0.0-beta.102
330
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.102
331
+ - @robota-sdk/agent-tools@3.0.0-beta.102
332
+
333
+ ## 3.0.0-beta.101
334
+ ### Patch Changes
335
+
336
+ - Updated dependencies [5783499]
337
+ - Updated dependencies [62663ae]
338
+ - @robota-sdk/agent-tools@3.0.0-beta.101
339
+ - @robota-sdk/agent-framework@3.0.0-beta.101
340
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.101
341
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.101
342
+ - @robota-sdk/agent-command@3.0.0-beta.101
343
+
344
+ ## 3.0.0-beta.100
345
+ ### Patch Changes
346
+
347
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.100
348
+ - @robota-sdk/agent-command@3.0.0-beta.100
349
+ - @robota-sdk/agent-framework@3.0.0-beta.100
350
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.100
351
+ - @robota-sdk/agent-tools@3.0.0-beta.100
352
+
353
+ ## 3.0.0-beta.99
354
+ ### Patch Changes
355
+
356
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.99
357
+ - @robota-sdk/agent-command@3.0.0-beta.99
358
+ - @robota-sdk/agent-framework@3.0.0-beta.99
359
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.99
360
+ - @robota-sdk/agent-tools@3.0.0-beta.99
361
+
362
+ ## 3.0.0-beta.98
363
+ ### Patch Changes
364
+
365
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.98
366
+ - @robota-sdk/agent-command@3.0.0-beta.98
367
+ - @robota-sdk/agent-framework@3.0.0-beta.98
368
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.98
369
+ - @robota-sdk/agent-tools@3.0.0-beta.98
370
+
3
371
  ## 3.0.0-beta.97
4
372
  ### Minor Changes
5
373
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/pack-coding",
3
- "version": "3.0.0-beta.97",
3
+ "version": "3.0.1",
4
4
  "description": "Robota's coding capability pack — an ICapabilityPack bundling the built-in coding tools, coding command modules, and coding subagents",
5
5
  "type": "module",
6
6
  "main": "dist/node/index.js",
@@ -39,11 +39,11 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@robota-sdk/agent-capability-pack": "3.0.0-beta.97",
43
- "@robota-sdk/agent-tool-defaults": "3.0.0-beta.97",
44
- "@robota-sdk/agent-framework": "3.0.0-beta.97",
45
- "@robota-sdk/agent-tools": "3.0.0-beta.97",
46
- "@robota-sdk/agent-command": "3.0.0-beta.97"
42
+ "@robota-sdk/agent-capability-pack": "3.0.1",
43
+ "@robota-sdk/agent-framework": "3.0.1",
44
+ "@robota-sdk/agent-tool-defaults": "3.0.1",
45
+ "@robota-sdk/agent-tools": "3.0.1",
46
+ "@robota-sdk/agent-command": "3.0.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "rimraf": "^5.0.10",