@fiale-plus/pi-rogue-bundle 0.1.12 → 0.1.13
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.
|
@@ -481,12 +481,12 @@ function renderAdvisorHint(message: any, options: { expanded?: boolean }, theme:
|
|
|
481
481
|
|
|
482
482
|
const box = new Box(1, 1, (s: string) => theme.bg("customMessageBg", s));
|
|
483
483
|
box.addChild(new Text(`${theme.bold(theme.fg(decisionColor, glyph))} ${source} ${verdict}`, 0, 0));
|
|
484
|
-
box.addChild(new Text(theme.fg("dim", `reason: ${reason}`), 0, 0));
|
|
485
484
|
|
|
486
485
|
if (options.expanded) {
|
|
487
486
|
box.addChild(new Text(theme.fg("dim", "full handoff:"), 0, 0));
|
|
488
487
|
box.addChild(new Text(theme.fg("dim", fullHandoff), 0, 0));
|
|
489
488
|
} else {
|
|
489
|
+
box.addChild(new Text(theme.fg("dim", `reason: ${reason}`), 0, 0));
|
|
490
490
|
const summary = distinctAdvisorSummary(details.reason || "", details.summary || "");
|
|
491
491
|
if (summary) {
|
|
492
492
|
box.addChild(new Text(theme.fg("dim", `summary: ${squish(summary, 220)}`), 0, 0));
|
|
@@ -338,7 +338,10 @@ describe("advisor two-agent convergence", () => {
|
|
|
338
338
|
};
|
|
339
339
|
const collapsed = messageRenderers["advisor:llm"](sent, { expanded: false }, theme).render(120).join("\n");
|
|
340
340
|
const expanded = messageRenderers["advisor:llm"](sent, { expanded: true }, theme).render(120).join("\n");
|
|
341
|
+
expect(collapsed).toContain("reason:");
|
|
341
342
|
expect(collapsed).not.toContain("summary:");
|
|
343
|
+
expect(expanded).toContain("Reason:");
|
|
344
|
+
expect(expanded).not.toContain("reason:");
|
|
342
345
|
expect(expanded).not.toContain("Summary:");
|
|
343
346
|
});
|
|
344
347
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiale-plus/pi-rogue-bundle",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Public Pi-Rogue bundle for advisor and orchestration. Single consolidated artefact (advisor and orchestration releases paused; their packages are private and bundled here).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|