@yagni-app/code-staging 0.3.5-staging.1160.1 → 0.3.5-staging.1161.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 +10 -0
- package/package.json +2 -2
package/dist/extension/index.js
CHANGED
|
@@ -763,6 +763,16 @@ export async function registerYagni(pi, deps = {}) {
|
|
|
763
763
|
// and a "Pi can explain its own features…" line) with a YAGNI Code masthead,
|
|
764
764
|
// set the terminal title, and add a footer brand mark. TUI only.
|
|
765
765
|
pi.on("session_start", async (event, ctx) => {
|
|
766
|
+
// Surface Pi's native find/grep/ls on the driver. These are Pi's
|
|
767
|
+
// equivalents of Claude Code's Glob/Grep/LS; the /go stages and subagents
|
|
768
|
+
// already pass them explicitly, but the driver defaults to read/bash/edit/write
|
|
769
|
+
// and otherwise reaches for `bash` find/grep/ls.
|
|
770
|
+
try {
|
|
771
|
+
pi.setActiveTools([...pi.getActiveTools(), "grep", "find", "ls"]);
|
|
772
|
+
}
|
|
773
|
+
catch {
|
|
774
|
+
// Tool enrichment must never break session start.
|
|
775
|
+
}
|
|
766
776
|
ctx.ui?.setTitle(BRAND_NAME);
|
|
767
777
|
if (ctx.mode === "tui") {
|
|
768
778
|
ctx.ui?.setStatus?.("brand", BRAND_NAME);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "0.3.5-staging.
|
|
3
|
+
"version": "0.3.5-staging.1161.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)",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"turndown": "^7.2.4",
|
|
41
41
|
"typebox": "^1.3.15"
|
|
42
42
|
},
|
|
43
|
-
"yagniSourceSha": "
|
|
43
|
+
"yagniSourceSha": "0e31fee158b9c2560e04d6e279c9accd4a310cba"
|
|
44
44
|
}
|