@hydra-acp/cli 0.1.39 → 0.1.40
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/cli.js +13 -14
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6134,7 +6134,7 @@ function writeStyled(term, text, style) {
|
|
|
6134
6134
|
term(text);
|
|
6135
6135
|
return;
|
|
6136
6136
|
case "thought":
|
|
6137
|
-
term.dim.
|
|
6137
|
+
term.brightBlack.dim.noFormat(text);
|
|
6138
6138
|
return;
|
|
6139
6139
|
case "tool":
|
|
6140
6140
|
term.brightBlue.noFormat(text);
|
|
@@ -8891,14 +8891,11 @@ async function pickSession(term, opts) {
|
|
|
8891
8891
|
const composerBoxInner = () => Math.max(2, termWidth - 2);
|
|
8892
8892
|
const paintComposerTopBorder = () => {
|
|
8893
8893
|
const inner = composerBoxInner();
|
|
8894
|
-
const focused = selectedIdx === 0;
|
|
8895
8894
|
const titleFragment = `\u2500 ${composerTitle} `;
|
|
8896
8895
|
const dashCount = Math.max(1, inner - titleFragment.length);
|
|
8897
8896
|
const dashes = "\u2500".repeat(dashCount);
|
|
8898
|
-
if (
|
|
8899
|
-
term.
|
|
8900
|
-
term.brightCyan.bold.noFormat(titleFragment);
|
|
8901
|
-
term.brightCyan.noFormat(`${dashes}\u256E`);
|
|
8897
|
+
if (selectedIdx === 0) {
|
|
8898
|
+
term.brightBlue.noFormat(`\u256D${titleFragment}${dashes}\u256E`);
|
|
8902
8899
|
} else {
|
|
8903
8900
|
term.dim.noFormat(`\u256D${titleFragment}${dashes}\u256E`);
|
|
8904
8901
|
}
|
|
@@ -8907,15 +8904,13 @@ async function pickSession(term, opts) {
|
|
|
8907
8904
|
const inner = composerBoxInner();
|
|
8908
8905
|
const dashes = "\u2500".repeat(inner);
|
|
8909
8906
|
if (selectedIdx === 0) {
|
|
8910
|
-
term.
|
|
8907
|
+
term.brightBlue.noFormat(`\u2570${dashes}\u256F`);
|
|
8911
8908
|
} else {
|
|
8912
8909
|
term.dim.noFormat(`\u2570${dashes}\u256F`);
|
|
8913
8910
|
}
|
|
8914
8911
|
};
|
|
8915
8912
|
const paintComposerBodyRow = (visualIdx) => {
|
|
8916
8913
|
const inner = composerBoxInner();
|
|
8917
|
-
const sideStyle = selectedIdx === 0 ? term.brightCyan : term.dim;
|
|
8918
|
-
sideStyle.noFormat("\u2502");
|
|
8919
8914
|
const vr = composerVisualRows[visualIdx];
|
|
8920
8915
|
let slice = "";
|
|
8921
8916
|
if (vr) {
|
|
@@ -8924,13 +8919,17 @@ async function pickSession(term, opts) {
|
|
|
8924
8919
|
vr.endCol
|
|
8925
8920
|
);
|
|
8926
8921
|
}
|
|
8927
|
-
term.noFormat(" ");
|
|
8928
|
-
term.noFormat(slice);
|
|
8929
8922
|
const padWidth = Math.max(0, inner - 1 - slice.length);
|
|
8930
|
-
|
|
8931
|
-
|
|
8923
|
+
const pad = " ".repeat(padWidth);
|
|
8924
|
+
if (selectedIdx === 0) {
|
|
8925
|
+
term.brightBlue.noFormat("\u2502");
|
|
8926
|
+
term.noFormat(` ${slice}${pad}`);
|
|
8927
|
+
term.brightBlue.noFormat("\u2502");
|
|
8928
|
+
} else {
|
|
8929
|
+
term.dim.noFormat("\u2502");
|
|
8930
|
+
term.noFormat(` ${slice}${pad}`);
|
|
8931
|
+
term.dim.noFormat("\u2502");
|
|
8932
8932
|
}
|
|
8933
|
-
sideStyle.noFormat("\u2502");
|
|
8934
8933
|
};
|
|
8935
8934
|
const paintSessionRow = (sessionIdx) => {
|
|
8936
8935
|
const label = sessionLines[sessionIdx] ?? "";
|