@robota-sdk/pack-coding 3.0.0-beta.82 → 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 (2) hide show
  1. package/CHANGELOG.md +241 -0
  2. package/package.json +13 -8
package/CHANGELOG.md ADDED
@@ -0,0 +1,241 @@
1
+ # @robota-sdk/pack-coding
2
+
3
+ ## 3.0.0-beta.83
4
+
5
+ ### Patch Changes
6
+
7
+ - 57280bf: Every published package now declares `"engines": { "node": ">=22.12.0" }`. Before, 27 of the 38
8
+ packages declared no floor (`agent-core`, `agent-tools` and every provider among them),
9
+ `agent-session` and `agent-file-authority` declared `>=20.19.0`, and the other nine declared
10
+ `>=22.0.0`, so a consumer on Node 20 saw at most a warning from a transitive dependency.
11
+
12
+ Why 22.12: `agent-cli` and `agent-ui-terminal` need Node 22 through `ink` 7, and the CommonJS entries
13
+ of `agent-tools` and its dependents, `agent-transport`/`node` and its dependents, and
14
+ `agent-ui-terminal` `require()` ESM-only dependencies (`p-limit`, `jose`, `chalk`), which Node 22
15
+ supports unflagged only from 22.12. `engines` is advisory unless the consumer enables `engine-strict`.
16
+
17
+ No code changes: `tsdown` now reads `node22.12.0` as its build target from the field.
18
+
19
+ - 18c0d5c: Every published package now exports `./package.json`, so `require('<package>/package.json')` and
20
+ `import('<package>/package.json', { with: { type: 'json' } })` work instead of failing with
21
+ `ERR_PACKAGE_PATH_NOT_EXPORTED`, and each tarball now ships the package's `CHANGELOG.md`.
22
+ - Updated dependencies [3c81769]
23
+ - Updated dependencies [724fabb]
24
+ - Updated dependencies [997f2fb]
25
+ - Updated dependencies [bfe8ed5]
26
+ - Updated dependencies [e689c8e]
27
+ - Updated dependencies [4241fc5]
28
+ - Updated dependencies [28fa8a7]
29
+ - Updated dependencies [4f49d14]
30
+ - Updated dependencies [7b72344]
31
+ - Updated dependencies [6ae3f28]
32
+ - Updated dependencies [9721162]
33
+ - Updated dependencies [57f57f5]
34
+ - Updated dependencies [ba822c1]
35
+ - Updated dependencies [9721162]
36
+ - Updated dependencies [6e6b06b]
37
+ - Updated dependencies [7d77ce4]
38
+ - Updated dependencies [57280bf]
39
+ - Updated dependencies [18c0d5c]
40
+ - Updated dependencies [caaab20]
41
+ - Updated dependencies [f01868f]
42
+ - Updated dependencies [e8779c9]
43
+ - Updated dependencies [0368058]
44
+ - Updated dependencies [5a0ee96]
45
+ - @robota-sdk/agent-framework@3.0.0-beta.83
46
+ - @robota-sdk/agent-command@3.0.0-beta.83
47
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.83
48
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.83
49
+ - @robota-sdk/agent-tools@3.0.0-beta.83
50
+
51
+ ## 3.0.0-beta.82
52
+
53
+ ### Patch Changes
54
+
55
+ - Updated dependencies [e15e22b]
56
+ - Updated dependencies [c7f9203]
57
+ - Updated dependencies [004fe7f]
58
+ - @robota-sdk/agent-command@3.0.0-beta.82
59
+ - @robota-sdk/agent-framework@3.0.0-beta.82
60
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.82
61
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.82
62
+ - @robota-sdk/agent-tools@3.0.0-beta.82
63
+
64
+ ## 3.0.0-beta.81
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [3038eb7]
69
+ - Updated dependencies [02b7452]
70
+ - Updated dependencies [ec5e477]
71
+ - Updated dependencies [44fc732]
72
+ - Updated dependencies [007fd90]
73
+ - Updated dependencies [18b52cc]
74
+ - Updated dependencies [9843fe6]
75
+ - @robota-sdk/agent-tools@3.0.0-beta.81
76
+ - @robota-sdk/agent-framework@3.0.0-beta.81
77
+ - @robota-sdk/agent-command@3.0.0-beta.81
78
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.81
79
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.81
80
+
81
+ ## 3.0.0-beta.80
82
+
83
+ ### Major Changes
84
+
85
+ - 0116a29: ARCH-006 completion — robota's capability packs now OWN its tool surface, and `pack-coding` is built by a
86
+ context-bound factory.
87
+
88
+ - **`@robota-sdk/pack-coding` (BREAKING)** — the module-level `codingPack` constant is **removed** and
89
+ replaced by `createCodingPack({ cwd, sandboxClient })`, with `cwd` **required**. This is a safety change,
90
+ not a style one: `agent-tools` disarms its working-directory path guard when `cwd` is `undefined`, so a
91
+ pack whose file tools are built with no options contributes an **unsandboxed** `Read`/`Write`/`Edit`.
92
+ That was inert while `agent-framework` always supplied its own context-bound default tier, but ARCH-006
93
+ lets a product hand the whole tool surface to its packs (`defaultTools: []`) — and a context-free pack in
94
+ that position is a real hole. Keeping a zero-option export beside that seam would be a loaded gun, so it
95
+ is gone rather than deprecated. Each call returns fresh instances bound to the supplied context, so two
96
+ products in one process get independently-scoped file tools. Migration: replace `codingPack` with
97
+ `createCodingPack({ cwd: process.cwd() })`.
98
+ - **`@robota-sdk/agent-cli`** — `robota`'s packs are built from the shell's resolved `cwd`
99
+ (`createRobotaPacks({ cwd })`) before command setup, and the runtime seam passes
100
+ `ROBOTA_PACKS_OWN_TOOL_SURFACE` (an empty `defaultTools`) so the framework's `createDefaultTools()` tier
101
+ is REPLACED. Every tool robota runs now arrives from a capability pack: dropping a pack drops its tools,
102
+ exactly as it already dropped its command modules and subagents.
103
+ - **`@robota-sdk/agent-transport` / `@robota-sdk/agent-transport-tui`** — forward the optional
104
+ `additionalTools` and `defaultTools` through the headless and TUI channels, mirroring the existing
105
+ `agentDefinitions` pass-through, so print, serve and TUI carry an identical tool surface.
106
+
107
+ End-user `robota` behavior is unchanged, including the security property: the real binary still answers a
108
+ read outside the working directory with `Access denied: "…" is outside the working directory`.
109
+
110
+ ### Minor Changes
111
+
112
+ - 378c585: ARCH-005 Stage S1 — the external product-composition layer. Three new published packages plus a minimal
113
+ `agent-preset` addition:
114
+
115
+ - **`@robota-sdk/agent-capability-pack`** (new) — the additive capability-bundle contract
116
+ (`ICapabilityPack`) and the pure `mergeCapabilityPacks` merger (base ⊕ packs in profile order, with a
117
+ `{ merged, rejected }` conflict channel — never a silent override). The additive analog of
118
+ `agent-preset`; contract + pure fold, no IO.
119
+ - **`@robota-sdk/agent-product`** (new) — the product-assembly kernel. `assembleProduct(profile)` is a pure,
120
+ deterministic, IO-free fold over `IProductProfile` with zero product-specific branching: it resolves
121
+ presets via a per-call instance-scoped registry, merges additive packs, and DELEGATES runtime
122
+ construction to `agent-framework`'s `buildRuntimeSession` seam (never re-implemented). Its neutrality is
123
+ enforced by three mechanical guards (dependency-graph neutrality, purity/no-IO, no product-name
124
+ conditionals), coupling the amended project-structure L129 carve-out to the guards.
125
+ - **`@robota-sdk/pack-coding`** (new) — robota's coding capability as one `ICapabilityPack` (the built-in
126
+ coding tools, the `/shell` + `/editor` command modules, and the coding subagents) — the additive-axis
127
+ proof and robota's first pack.
128
+ - **`@robota-sdk/agent-preset`** — adds `createPresetRegistry`, a per-call instance-scoped resolver that
129
+ never mutates the module-level external-preset global (consumed by `assembleProduct`).
130
+
131
+ `agent-framework` and `agent-core` are unchanged. The CLI is not yet wired to `assembleProduct` (that is
132
+ Stage S2).
133
+
134
+ ### Patch Changes
135
+
136
+ - 7b85767: ARCH-035 — the default tool set becomes a composition leaf.
137
+
138
+ **New package: `@robota-sdk/agent-tool-defaults`.** It owns `createDefaultTools` and
139
+ `ICreateDefaultToolsOptions`, including the adapter gating that adds `CodebaseRetrieval` when a
140
+ `retrievalAdapter` is supplied and the Computer tools when a `computerDriver` is.
141
+
142
+ **Breaking for `@robota-sdk/agent-framework`:** `createDefaultTools` and `ICreateDefaultToolsOptions`
143
+ are no longer exported from it. Import them from `@robota-sdk/agent-tool-defaults`. The packages are
144
+ pre-release and this repo keeps no compatibility shims, so they are moved rather than deprecated.
145
+
146
+ **Also breaking:** the internal `createSession` assembly factory is now `async`. This does NOT affect
147
+ `IAgentRuntime.createSession`, which stays synchronous — it does not call that factory, and a
148
+ verification scenario now asserts that explicitly, because propagating async through it would break
149
+ every consumer that builds a session without supplying `defaultTools`.
150
+
151
+ **Zero-config behaviour is unchanged**, deliberately. `createQuery` and the headless runtime have no
152
+ `defaultTools` seam, so a session built without one still receives the built-in tool tier —
153
+ `agent-framework` reaches the new leaf through a dynamic `import()`. An earlier revision of this work
154
+ proposed deleting the tier outright and was rejected on measurement: two published surfaces cannot
155
+ express the alternative, and the failure mode was a silently toolless agent behind a green typecheck.
156
+
157
+ **Why the move matters.** `agent-subagent-runner` legitimately depends on `agent-framework`, so while
158
+ the aggregator sat on that barrel a neutral runner could compose the product's tool surface with only
159
+ a scan in the way. It has no manifest edge to the new leaf, so that import does not resolve there at
160
+ all — the guarantee is carried by the type system now, mirroring what `@robota-sdk/agent-provider-defaults`
161
+ already does on the provider axis.
162
+
163
+ `@robota-sdk/pack-coding` is a patch: it consumes the leaf instead of rebuilding the same list by
164
+ hand. Its contributed tool surface is unchanged — verified from the published tarballs.
165
+
166
+ - 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).
167
+ - Updated dependencies [9c19c50]
168
+ - Updated dependencies [5307f8a]
169
+ - Updated dependencies [b462ee7]
170
+ - Updated dependencies [08a9bd6]
171
+ - Updated dependencies [818f0c8]
172
+ - Updated dependencies [2345c0b]
173
+ - Updated dependencies [118fe0e]
174
+ - Updated dependencies [240777e]
175
+ - Updated dependencies [718bdf5]
176
+ - Updated dependencies [9368d00]
177
+ - Updated dependencies [d4189b9]
178
+ - Updated dependencies [4078a72]
179
+ - Updated dependencies [af2f2ad]
180
+ - Updated dependencies [267af5f]
181
+ - Updated dependencies [f336838]
182
+ - Updated dependencies [34e50f0]
183
+ - Updated dependencies [722e88a]
184
+ - Updated dependencies [a5cc36e]
185
+ - Updated dependencies [b70fa3d]
186
+ - Updated dependencies [2711ec6]
187
+ - Updated dependencies [4dd45cc]
188
+ - Updated dependencies [378c585]
189
+ - Updated dependencies [4c5148e]
190
+ - Updated dependencies [37af5dc]
191
+ - Updated dependencies [807d161]
192
+ - Updated dependencies [e82215f]
193
+ - Updated dependencies [52b7346]
194
+ - Updated dependencies [2ebff01]
195
+ - Updated dependencies [2ebff01]
196
+ - Updated dependencies [2d3b2c0]
197
+ - Updated dependencies [b078afa]
198
+ - Updated dependencies [2d3b2c0]
199
+ - Updated dependencies [baa6863]
200
+ - Updated dependencies [2d3b2c0]
201
+ - Updated dependencies [3a8876b]
202
+ - Updated dependencies [4772067]
203
+ - Updated dependencies [7b85767]
204
+ - Updated dependencies [0f98419]
205
+ - Updated dependencies [64ba748]
206
+ - Updated dependencies [d312755]
207
+ - Updated dependencies [61db70f]
208
+ - Updated dependencies [db80aba]
209
+ - Updated dependencies [1e3f91a]
210
+ - Updated dependencies [4f3c075]
211
+ - Updated dependencies [b6d14ce]
212
+ - Updated dependencies [bed26ea]
213
+ - Updated dependencies [fe48835]
214
+ - Updated dependencies [1e40b5b]
215
+ - Updated dependencies [4b76cfa]
216
+ - Updated dependencies [d9bd9ec]
217
+ - Updated dependencies [8865acf]
218
+ - Updated dependencies [90e7a10]
219
+ - Updated dependencies [fcb0da3]
220
+ - Updated dependencies [07b627f]
221
+ - Updated dependencies [d0de5b2]
222
+ - Updated dependencies [9665c6e]
223
+ - Updated dependencies [44393be]
224
+ - Updated dependencies [c7fa299]
225
+ - Updated dependencies [5134b3b]
226
+ - Updated dependencies [dd444c1]
227
+ - Updated dependencies [1f57e7f]
228
+ - Updated dependencies [833afe1]
229
+ - Updated dependencies [d6b9404]
230
+ - Updated dependencies [7863b16]
231
+ - Updated dependencies [fde558e]
232
+ - Updated dependencies [db5c439]
233
+ - Updated dependencies [4a01a87]
234
+ - Updated dependencies [cbee54e]
235
+ - Updated dependencies [9814afc]
236
+ - Updated dependencies [242a644]
237
+ - @robota-sdk/agent-framework@3.0.0-beta.80
238
+ - @robota-sdk/agent-command@3.0.0-beta.80
239
+ - @robota-sdk/agent-tools@3.0.0-beta.80
240
+ - @robota-sdk/agent-tool-defaults@3.0.0-beta.80
241
+ - @robota-sdk/agent-capability-pack@3.0.0-beta.80
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/pack-coding",
3
- "version": "3.0.0-beta.82",
3
+ "version": "3.0.0-beta.83",
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",
@@ -28,7 +28,8 @@
28
28
  "default": "./dist/node/index.cjs"
29
29
  }
30
30
  }
31
- }
31
+ },
32
+ "./package.json": "./package.json"
32
33
  },
33
34
  "repository": {
34
35
  "type": "git",
@@ -38,15 +39,19 @@
38
39
  "bugs": {
39
40
  "url": "https://github.com/woojubb/robota/issues"
40
41
  },
42
+ "engines": {
43
+ "node": ">=22.12.0"
44
+ },
41
45
  "files": [
42
- "dist"
46
+ "dist",
47
+ "CHANGELOG.md"
43
48
  ],
44
49
  "dependencies": {
45
- "@robota-sdk/agent-capability-pack": "3.0.0-beta.82",
46
- "@robota-sdk/agent-command": "3.0.0-beta.82",
47
- "@robota-sdk/agent-framework": "3.0.0-beta.82",
48
- "@robota-sdk/agent-tool-defaults": "3.0.0-beta.82",
49
- "@robota-sdk/agent-tools": "3.0.0-beta.82"
50
+ "@robota-sdk/agent-capability-pack": "3.0.0-beta.83",
51
+ "@robota-sdk/agent-command": "3.0.0-beta.83",
52
+ "@robota-sdk/agent-framework": "3.0.0-beta.83",
53
+ "@robota-sdk/agent-tool-defaults": "3.0.0-beta.83",
54
+ "@robota-sdk/agent-tools": "3.0.0-beta.83"
50
55
  },
51
56
  "devDependencies": {
52
57
  "rimraf": "^5.0.10",