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.
@@ -8,7 +8,7 @@ import {
8
8
  resolveRunSettlementNote,
9
9
  resolveWorkflowReference,
10
10
  runAgentRunCommand
11
- } from "./chunk-YFGADOIR.js";
11
+ } from "./chunk-DXXCZYEZ.js";
12
12
  import "./chunk-VJVNU77E.js";
13
13
  import {
14
14
  parseAgentRunArgs
@@ -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
- formatToolEvent(event);
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-IYLMN7LX.js");
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-BJOQSKPT.js");
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-SUP2K3HW.js");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolo-cli",
3
- "version": "0.137.0-alpha.4",
3
+ "version": "0.138.0-alpha.1",
4
4
  "type": "module",
5
5
  "description": "Agent-first terminal workspace for Nolo",
6
6
  "bin": {
@@ -70,7 +70,7 @@ import {
70
70
  wrapTextToLines,
71
71
  wrapTranscriptLine,
72
72
  wrapTranscriptLineWithLayout
73
- } from "./chunk-YFGADOIR.js";
73
+ } from "./chunk-DXXCZYEZ.js";
74
74
  import "./chunk-VJVNU77E.js";
75
75
  import "./chunk-BIDGLJQ3.js";
76
76
  import {