nolo-cli 0.137.0-alpha.4 → 0.138.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.
- package/{agentRunCommand-IYLMN7LX.js → agentRunCommand-TKHBLWSI.js} +1 -1
- package/{chunk-YFGADOIR.js → chunk-DXXCZYEZ.js} +14 -1
- package/{commandRegistry-SUP2K3HW.js → commandRegistry-DMS5KFOK.js} +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/{readlineWorkspace-BJOQSKPT.js → readlineWorkspace-HDAVBAL5.js} +1 -1
|
@@ -10077,6 +10077,14 @@ function createCliTurnOutput(params) {
|
|
|
10077
10077
|
const eventMode = resolveAgentEventMode(options);
|
|
10078
10078
|
const assistantLabelManaged = options.output.assistantLabelManaged === true;
|
|
10079
10079
|
const showThinking = !assistantLabelManaged && options.showThinking !== false;
|
|
10080
|
+
const hidesRoutineTuiToolDetail = (event) => {
|
|
10081
|
+
if (!assistantLabelManaged || event.toolName !== "editFile") return false;
|
|
10082
|
+
if (event.type === "tool-error") return false;
|
|
10083
|
+
if (readActionGate(event.metadata?.actionGate)) return false;
|
|
10084
|
+
if (event.metadata?.timedOut || event.metadata?.failed || event.metadata?.error) return false;
|
|
10085
|
+
if (typeof event.metadata?.exitCode === "number" && event.metadata.exitCode !== 0) return false;
|
|
10086
|
+
return true;
|
|
10087
|
+
};
|
|
10080
10088
|
let streamedAssistantText = false;
|
|
10081
10089
|
let everStreamedAnyText = false;
|
|
10082
10090
|
let printedAssistantLabel = false;
|
|
@@ -10208,7 +10216,9 @@ ${options.agentName}${IDENTITY_LABEL_SEPARATOR}`);
|
|
|
10208
10216
|
dropPendingTuiProgress();
|
|
10209
10217
|
}
|
|
10210
10218
|
renderWriter.flush();
|
|
10211
|
-
|
|
10219
|
+
if (!hidesRoutineTuiToolDetail(event)) {
|
|
10220
|
+
formatToolEvent(event);
|
|
10221
|
+
}
|
|
10212
10222
|
endThinkingPhase();
|
|
10213
10223
|
if (streamedAssistantText) {
|
|
10214
10224
|
options.output.write("\n");
|
|
@@ -10226,6 +10236,9 @@ ${options.agentName}${IDENTITY_LABEL_SEPARATOR}`);
|
|
|
10226
10236
|
}
|
|
10227
10237
|
spinner.stop();
|
|
10228
10238
|
options.activityReporter?.(null);
|
|
10239
|
+
if (hidesRoutineTuiToolDetail(event)) {
|
|
10240
|
+
return;
|
|
10241
|
+
}
|
|
10229
10242
|
if (isLiveAgentRunObservation(event, parsedRunEvent)) {
|
|
10230
10243
|
formatToolEvent.consume?.(event);
|
|
10231
10244
|
return;
|
|
@@ -103,7 +103,7 @@ function createDaemonShortcutCommand(path, description, command) {
|
|
|
103
103
|
// packages/cli/agentInternalCommandEntries.ts
|
|
104
104
|
function getAgentInternalCommandEntries() {
|
|
105
105
|
const createAgentRunCommand = (path, description) => createContextCommand(path, description, async (args, ctx) => {
|
|
106
|
-
const { runAgentRunCommand } = await import("./agentRunCommand-
|
|
106
|
+
const { runAgentRunCommand } = await import("./agentRunCommand-TKHBLWSI.js");
|
|
107
107
|
return runAgentRunCommand(args, {
|
|
108
108
|
env: ctx.env,
|
|
109
109
|
scriptDir: ctx.scriptDir,
|
package/index.js
CHANGED
|
@@ -71,7 +71,7 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
71
71
|
return proc.exited;
|
|
72
72
|
}
|
|
73
73
|
async function launchTuiWorkspace(args2) {
|
|
74
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
74
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-HDAVBAL5.js");
|
|
75
75
|
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-W36LJRZU.js");
|
|
76
76
|
return startTuiWorkspace({
|
|
77
77
|
...args2,
|
|
@@ -81,7 +81,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
async function main() {
|
|
84
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
84
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-DMS5KFOK.js");
|
|
85
85
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-ZGOFORWV.js");
|
|
86
86
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
87
87
|
const runtimeEnv = {
|
package/package.json
CHANGED