@arnilo/prism-coding-agent 0.2.2 → 0.2.3

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.
@@ -117,7 +117,7 @@ async function* walkGitFiles(rootReal, startAbsolute, limits, files) {
117
117
  const absolutePath = join(rootReal, item.path);
118
118
  const rootResolved = resolve(rootReal);
119
119
  const absResolved = resolve(absolutePath);
120
- if (absResolved !== rootResolved && !absResolved.startsWith(rootResolved + "/"))
120
+ if (absResolved !== rootResolved && !absResolved.startsWith(`${rootResolved}/`))
121
121
  continue;
122
122
  let kind = item.kind;
123
123
  let size;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arnilo/prism-coding-agent",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Optional coding-agent tools (shell, read, write, edit, repo_list, repo_search, glob, delete, move, opt-in Git/check/ask-user-decision, and durable plan/checkpoint helpers) package for Prism.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,17 +19,17 @@
19
19
  "CHANGELOG.md"
20
20
  ],
21
21
  "scripts": {
22
- "build": "tsc -p tsconfig.json",
22
+ "build": "node ../../scripts/with-build-lock.mjs tsc -p tsconfig.json",
23
23
  "typecheck": "tsc -p tsconfig.json --noEmit",
24
- "test": "node --test dist/__tests__/*.test.js",
24
+ "test": "node ../../scripts/with-build-lock.mjs node --test dist/__tests__/*.test.js",
25
25
  "pack:dry-run": "npm pack --dry-run"
26
26
  },
27
27
  "dependencies": {
28
28
  "diff": "^9.0.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@arnilo/prism": "0.2.2",
32
- "@arnilo/prism-workflows": "0.2.2"
31
+ "@arnilo/prism": "0.2.3",
32
+ "@arnilo/prism-workflows": "0.2.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@arnilo/prism": "file:../..",