@yagni-app/code-staging 1.0.4-staging.1225.1 → 1.0.4-staging.1232.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.
- package/dist/extension/index.js +5 -2
- package/package.json +2 -2
package/dist/extension/index.js
CHANGED
|
@@ -885,9 +885,12 @@ export async function registerYagni(pi, deps = {}) {
|
|
|
885
885
|
// Surface Pi's native find/grep/ls on the driver. These are Pi's
|
|
886
886
|
// equivalents of Claude Code's Glob/Grep/LS; the /go stages and subagents
|
|
887
887
|
// already pass them explicitly, but the driver defaults to read/bash/edit/write
|
|
888
|
-
// and otherwise reaches for `bash` find/grep/ls.
|
|
888
|
+
// and otherwise reaches for `bash` find/grep/ls. Dedupe against the active
|
|
889
|
+
// set — condensedTools re-registers these built-ins, so they can already be
|
|
890
|
+
// active here, and a duplicated name in the request's tool list is a hard
|
|
891
|
+
// 400 on some providers (Baseten: "Tool names must be unique.").
|
|
889
892
|
try {
|
|
890
|
-
pi.setActiveTools([...pi.getActiveTools(), "grep", "find", "ls"]);
|
|
893
|
+
pi.setActiveTools([...new Set([...pi.getActiveTools(), "grep", "find", "ls"])]);
|
|
891
894
|
}
|
|
892
895
|
catch {
|
|
893
896
|
// Tool enrichment must never break session start.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.0.4-staging.
|
|
3
|
+
"version": "1.0.4-staging.1232.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"turndown": "^7.2.4",
|
|
42
42
|
"typebox": "^1.3.15"
|
|
43
43
|
},
|
|
44
|
-
"yagniSourceSha": "
|
|
44
|
+
"yagniSourceSha": "4611ff71e43739885333c50f90db58754230c96b"
|
|
45
45
|
}
|