nolo-cli 0.79.0-alpha.1 → 0.80.0-alpha.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.
|
@@ -1496,8 +1496,8 @@ function userSurfaceBackgroundSequence(env = process.env, brightness = resolveTu
|
|
|
1496
1496
|
return "";
|
|
1497
1497
|
}
|
|
1498
1498
|
const palette = THEME_PALETTES[activeThemeName] ?? THEME_PALETTES.trail;
|
|
1499
|
-
const
|
|
1500
|
-
const
|
|
1499
|
+
const weight = brightness === "dark" ? 0.3 : 0.14;
|
|
1500
|
+
const surfaceHex = (brightness === "light" ? palette.light : palette.dark).accent.hex;
|
|
1501
1501
|
return hexToBgSgr(blendHex(surfaceHex, resolveTerminalBaseHex(brightness), weight));
|
|
1502
1502
|
}
|
|
1503
1503
|
function themeText(text, token, colorEnabled = resolveCliColorEnabled(), env = process.env) {
|
package/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function createDaemonShortcutCommand(path, description, command2) {
|
|
|
127
127
|
// packages/cli/agentInternalCommandEntries.ts
|
|
128
128
|
function getAgentInternalCommandEntries() {
|
|
129
129
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args2, ctx) => {
|
|
130
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
130
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-UKJAECQ6.js");
|
|
131
131
|
return runAgentRunCommand(args2, {
|
|
132
132
|
env: ctx.env,
|
|
133
133
|
scriptDir: ctx.scriptDir,
|
|
@@ -875,7 +875,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
875
875
|
return proc.exited;
|
|
876
876
|
}
|
|
877
877
|
async function launchTuiWorkspace(args2) {
|
|
878
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
878
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-RE3P324X.js");
|
|
879
879
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-3Z24VUWM.js");
|
|
880
880
|
return startTuiWorkspace({
|
|
881
881
|
...args2,
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wrapTextToLines,
|
|
73
73
|
wrapTranscriptLine,
|
|
74
74
|
wrapTranscriptLineWithLayout
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-EOU7ZSTU.js";
|
|
76
76
|
import "./chunk-S7Z2HMCN.js";
|
|
77
77
|
import {
|
|
78
78
|
listFavoriteAgentIdsAcrossServers,
|
|
@@ -1656,13 +1656,14 @@ function layoutTurnRows(role, content, contentWidth, colorEnabled, command) {
|
|
|
1656
1656
|
const surfaceSeq = colorEnabled ? userSurfaceBackgroundSequence() : "";
|
|
1657
1657
|
const boldOn = colorEnabled ? "\x1B[1m" : "";
|
|
1658
1658
|
const boldOff = colorEnabled ? "\x1B[22m" : "";
|
|
1659
|
+
const fgOff = colorEnabled ? "\x1B[39m" : "";
|
|
1659
1660
|
const prefixWidth = 3;
|
|
1660
1661
|
let lineSourceStart = 0;
|
|
1661
1662
|
const rows2 = [];
|
|
1662
1663
|
for (let i = 0; i < logicalLines.length; i++) {
|
|
1663
1664
|
const line = logicalLines[i];
|
|
1664
1665
|
const prefix = i === 0 ? firstPrefix : multilinePrefix;
|
|
1665
|
-
const styledLine = `${prefix}${boldOn}${line}${boldOff}`;
|
|
1666
|
+
const styledLine = `${prefix}${accentSeq}${boldOn}${line}${boldOff}${fgOff}`;
|
|
1666
1667
|
const prefixCharCount = prefix.length;
|
|
1667
1668
|
const wrappedRows = wrapTranscriptLineWithLayout(
|
|
1668
1669
|
styledLine,
|
|
@@ -1855,9 +1856,10 @@ function renderTailTurnBlock(role, content, contentWidth, colorEnabled) {
|
|
|
1855
1856
|
const hangingIndent = colorEnabled ? `${accentSeq}\x1B[1m\u2503 \x1B[0m` : "\u2503 ";
|
|
1856
1857
|
const boldOn = colorEnabled ? "\x1B[1m" : "";
|
|
1857
1858
|
const boldOff = colorEnabled ? "\x1B[22m" : "";
|
|
1859
|
+
const fgOff = colorEnabled ? "\x1B[39m" : "";
|
|
1858
1860
|
const lines = [];
|
|
1859
1861
|
for (const rawLine of content.split("\n")) {
|
|
1860
|
-
const styledLine = `${multilinePrefix}${boldOn}${rawLine}${boldOff}`;
|
|
1862
|
+
const styledLine = `${multilinePrefix}${accentSeq}${boldOn}${rawLine}${boldOff}${fgOff}`;
|
|
1861
1863
|
const rows = wrapTranscriptLine(styledLine, contentWidth, hangingIndent);
|
|
1862
1864
|
lines.push(
|
|
1863
1865
|
...surfaceSeq ? rows.map((row) => fillUserBubbleRow(row, surfaceSeq, contentWidth)) : rows
|