@femtomc/mu-agent 26.2.115 → 26.2.116
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/extensions/ui.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/extensions/ui.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,+BAA+B,CAAC;AA04CpF,wBAAgB,WAAW,CAAC,EAAE,EAAE,YAAY,QA6N3C;AAED,eAAe,WAAW,CAAC"}
|
package/dist/extensions/ui.js
CHANGED
|
@@ -865,7 +865,9 @@ class UiActionPickerComponent {
|
|
|
865
865
|
const selectedDoc = this.#currentEntry().doc;
|
|
866
866
|
const selectedActions = this.#currentActions();
|
|
867
867
|
const renderLines = [];
|
|
868
|
-
const
|
|
868
|
+
const panelBg = (text) => this.#theme.bg("customMessageBg", text);
|
|
869
|
+
const borderCell = (tone, text) => panelBg(this.#theme.fg(tone, text));
|
|
870
|
+
const innerPadSegment = horizontalPadding > 0 ? panelBg(" ".repeat(horizontalPadding)) : "";
|
|
869
871
|
const contentRowText = (line, bg) => {
|
|
870
872
|
const core = this.#theme.bg(bg, fitStyledLine(line, contentWidth));
|
|
871
873
|
return `${innerPadSegment}${core}${innerPadSegment}`;
|
|
@@ -956,16 +958,16 @@ class UiActionPickerComponent {
|
|
|
956
958
|
const titleWidth = Math.min(innerWidth, visibleWidth(title));
|
|
957
959
|
const leftRule = "─".repeat(Math.max(0, Math.floor((innerWidth - titleWidth) / 2)));
|
|
958
960
|
const rightRule = "─".repeat(Math.max(0, innerWidth - titleWidth - leftRule.length));
|
|
959
|
-
frame.push(`${leftPad}${this.#theme.fg("borderAccent", `╭${leftRule}`)}${this.#theme.fg("accent", title)}${this.#theme.fg("borderAccent", `${rightRule}╮`)}`);
|
|
961
|
+
frame.push(`${leftPad}${panelBg(`${this.#theme.fg("borderAccent", `╭${leftRule}`)}${this.#theme.fg("accent", title)}${this.#theme.fg("borderAccent", `${rightRule}╮`)}`)}`);
|
|
960
962
|
this.#mouseTargets = [];
|
|
961
|
-
const blankInnerRow = `${leftPad}${
|
|
963
|
+
const blankInnerRow = `${leftPad}${borderCell("border", "│")}${panelBg(" ".repeat(innerWidth))}${borderCell("border", "│")}`;
|
|
962
964
|
for (let row = 0; row < verticalPadding; row += 1) {
|
|
963
965
|
frame.push(blankInnerRow);
|
|
964
966
|
}
|
|
965
967
|
const contentStartRow = frame.length + 1;
|
|
966
968
|
for (let idx = 0; idx < renderLines.length; idx += 1) {
|
|
967
969
|
const line = renderLines[idx];
|
|
968
|
-
frame.push(`${leftPad}${
|
|
970
|
+
frame.push(`${leftPad}${borderCell("border", "│")}${line.text}${borderCell("border", "│")}`);
|
|
969
971
|
const row = contentStartRow + idx;
|
|
970
972
|
if (line.docTarget) {
|
|
971
973
|
this.#mouseTargets.push({
|
|
@@ -989,7 +991,7 @@ class UiActionPickerComponent {
|
|
|
989
991
|
for (let row = 0; row < verticalPadding; row += 1) {
|
|
990
992
|
frame.push(blankInnerRow);
|
|
991
993
|
}
|
|
992
|
-
frame.push(`${leftPad}${
|
|
994
|
+
frame.push(`${leftPad}${borderCell("borderAccent", `╰${"─".repeat(innerWidth)}╯`)}`);
|
|
993
995
|
for (let row = 0; row < bottomMarginRows; row += 1) {
|
|
994
996
|
frame.push("");
|
|
995
997
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@femtomc/mu-agent",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.116",
|
|
4
4
|
"description": "Shared operator runtime for mu assistant sessions and serve extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mu",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"themes/**"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@femtomc/mu-core": "26.2.
|
|
27
|
+
"@femtomc/mu-core": "26.2.116",
|
|
28
28
|
"@mariozechner/pi-agent-core": "^0.54.2",
|
|
29
29
|
"@mariozechner/pi-ai": "^0.54.2",
|
|
30
30
|
"@mariozechner/pi-coding-agent": "^0.54.2",
|