@yagni-app/code-staging 1.2.6-staging.1932.1 → 1.2.6-staging.1938.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.
|
@@ -81,7 +81,9 @@ export function makeAskYagniTool(opts) {
|
|
|
81
81
|
if (citations.length > 0) {
|
|
82
82
|
container.addChild(new Spacer(1));
|
|
83
83
|
for (const c of citations) {
|
|
84
|
-
container.addChild(
|
|
84
|
+
container.addChild(
|
|
85
|
+
// A source with nowhere to be read comes back with an empty url.
|
|
86
|
+
new Text(` ${t.fg("muted", "•")} ${t.fg("accent", c.title)}${c.url ? ` ${t.fg("dim", c.url)}` : ""}`, 0, 0));
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
return container;
|
|
@@ -100,7 +102,10 @@ export function makeAskYagniTool(opts) {
|
|
|
100
102
|
return new Text(out.join("\n"), 0, 0);
|
|
101
103
|
},
|
|
102
104
|
async execute(_toolCallId, params, signal, onUpdate, ctx) {
|
|
103
|
-
onUpdate?.({
|
|
105
|
+
onUpdate?.({
|
|
106
|
+
content: [{ type: "text", text: "Asking YAGNI…" }],
|
|
107
|
+
details: { citations: [] },
|
|
108
|
+
});
|
|
104
109
|
// Era-correct repo grounding: gather the working tree's most relevant docs
|
|
105
110
|
// for this question. Never blocking and never fatal — an empty list sends
|
|
106
111
|
// nothing and the backend answers from workspace context alone.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.2.6-staging.
|
|
3
|
+
"version": "1.2.6-staging.1938.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)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "5c2e07d8eae7f154fa357b04a13f09fe2ae975fa"
|
|
62
62
|
}
|