@robota-sdk/pack-coding 3.0.0-beta.99 → 3.0.2

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