@warlock.js/ai-workspace 5.4.0 → 5.5.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-workspace` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.5.0 - 2026-09-07
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Documentation shipped in this package's `skills/` told users to run `pnpm`-specific commands. `pnpm <binary>` has no npm equivalent, so those instructions failed outright for anyone not using pnpm. Commands are now package-manager neutral.
|
|
12
|
+
|
|
7
13
|
## 5.2.3 - 2026-09-02
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/llms-full.txt
CHANGED
|
@@ -45,7 +45,7 @@ A failing test isn't a tool error — it's a normal result with `exitCode !== 0`
|
|
|
45
45
|
- the executable basename is allowed — `shell: { allow: ["npm", "node"] }`, and
|
|
46
46
|
- the env can find it — `inheritEnv: ["PATH"]` (the workspace never inherits `process.env` wholesale).
|
|
47
47
|
|
|
48
|
-
Override the base command per agent: `ws.tools.runTests({ command: "
|
|
48
|
+
Override the base command per agent: `ws.tools.runTests({ command: "vitest run" })`. A `pattern` the model supplies is appended as a filter (e.g. `vitest run cart-total`).
|
|
49
49
|
|
|
50
50
|
## Least-privilege variants
|
|
51
51
|
|
|
@@ -177,7 +177,7 @@ Each tool is a `ToolContract` ready for `ai.agent({ tools })`. The seven LLM-vis
|
|
|
177
177
|
ws.tools.all(); // all seven, canonical order
|
|
178
178
|
ws.tools.pick("readFile", "grep", "glob"); // a least-privilege subset
|
|
179
179
|
ws.tools.readFile({ name: "open" }); // one tool, optionally renamed
|
|
180
|
-
ws.tools.runTests({ command: "
|
|
180
|
+
ws.tools.runTests({ command: "vitest run" }); // override the test base command
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
### Human-facing — direct methods
|
package/package.json
CHANGED
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"url": "https://github.com/warlockjs/ai-workspace"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@warlock.js/ai": "5.
|
|
21
|
+
"@warlock.js/ai": "5.5.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@standard-schema/spec": "^1.0.0",
|
|
25
|
-
"@warlock.js/fs": "5.
|
|
25
|
+
"@warlock.js/fs": "5.5.0"
|
|
26
26
|
},
|
|
27
|
-
"version": "5.
|
|
27
|
+
"version": "5.5.0",
|
|
28
28
|
"main": "./cjs/index.cjs",
|
|
29
29
|
"module": "./esm/index.mjs",
|
|
30
30
|
"types": "./esm/index.d.mts",
|
|
@@ -37,7 +37,7 @@ A failing test isn't a tool error — it's a normal result with `exitCode !== 0`
|
|
|
37
37
|
- the executable basename is allowed — `shell: { allow: ["npm", "node"] }`, and
|
|
38
38
|
- the env can find it — `inheritEnv: ["PATH"]` (the workspace never inherits `process.env` wholesale).
|
|
39
39
|
|
|
40
|
-
Override the base command per agent: `ws.tools.runTests({ command: "
|
|
40
|
+
Override the base command per agent: `ws.tools.runTests({ command: "vitest run" })`. A `pattern` the model supplies is appended as a filter (e.g. `vitest run cart-total`).
|
|
41
41
|
|
|
42
42
|
## Least-privilege variants
|
|
43
43
|
|
|
@@ -65,7 +65,7 @@ Each tool is a `ToolContract` ready for `ai.agent({ tools })`. The seven LLM-vis
|
|
|
65
65
|
ws.tools.all(); // all seven, canonical order
|
|
66
66
|
ws.tools.pick("readFile", "grep", "glob"); // a least-privilege subset
|
|
67
67
|
ws.tools.readFile({ name: "open" }); // one tool, optionally renamed
|
|
68
|
-
ws.tools.runTests({ command: "
|
|
68
|
+
ws.tools.runTests({ command: "vitest run" }); // override the test base command
|
|
69
69
|
```
|
|
70
70
|
|
|
71
71
|
### Human-facing — direct methods
|