@crewhaus/tool-executor 0.8.0 → 0.8.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.
|
@@ -288,6 +288,15 @@ function valuesOf(operativeArgs, parsedInput, opts, services) {
|
|
|
288
288
|
values[i] = { ...values[i], restrictOnly: true };
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
+
// A store the call names, or the repository it runs in, is where the tool
|
|
292
|
+
// acts through its own layout: the floor's git-directory name check leaves
|
|
293
|
+
// it out (`relocates` on OperativeValue). A default is a place the call did
|
|
294
|
+
// not name, and none is a git directory.
|
|
295
|
+
if (arg.relocates === true && arg.kind === "path") {
|
|
296
|
+
for (let i = from; i < values.length; i++) {
|
|
297
|
+
values[i] = { ...values[i], relocates: true };
|
|
298
|
+
}
|
|
299
|
+
}
|
|
291
300
|
}
|
|
292
301
|
// A relocating field's default is a place the call did not name. When the
|
|
293
302
|
// call names a record there, an allow is about the record and skips the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewhaus/tool-executor",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Execute a single tool: validate → permission-check → invoke → format result",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"test": "bun test src"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@crewhaus/errors": "0.8.
|
|
20
|
-
"@crewhaus/tool-catalog": "0.8.
|
|
21
|
-
"@crewhaus/tool-validate": "0.8.
|
|
22
|
-
"@crewhaus/tool-permission-matcher": "0.8.
|
|
23
|
-
"@crewhaus/tool-builder": "0.8.
|
|
19
|
+
"@crewhaus/errors": "0.8.1",
|
|
20
|
+
"@crewhaus/tool-catalog": "0.8.1",
|
|
21
|
+
"@crewhaus/tool-validate": "0.8.1",
|
|
22
|
+
"@crewhaus/tool-permission-matcher": "0.8.1",
|
|
23
|
+
"@crewhaus/tool-builder": "0.8.1",
|
|
24
24
|
"zod": "^3.23.8"
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|