@oxecli/oxe 1.0.84 → 1.0.85

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/engine.js CHANGED
@@ -581,10 +581,10 @@ export class InferenceEngine {
581
581
  this.queryCalledTool = true;
582
582
  const started = toolCallLabel(c.name, c.arguments);
583
583
  // Print the tool label the instant the command starts, then show a
584
- // "Working..." dots line that swaps to the real result in place.
584
+ // "╰─ Working..." dots line that swaps to the real result in place.
585
585
  process.stdout.write(`${started}\n`);
586
586
  const toolSpinner = new Spinner();
587
- toolSpinner.startDots("\x1b[90m╰\x1b[0m Working");
587
+ toolSpinner.startDots("\x1b[90m╰─\x1b[0m Working");
588
588
  const rawResult = await this.runTool(c.name, c.arguments);
589
589
  if (this.interrupted) {
590
590
  toolSpinner.stop();
@@ -600,7 +600,7 @@ export class InferenceEngine {
600
600
  status: failed ? "failed" : "ok",
601
601
  diff,
602
602
  });
603
- // Swap the "Working..." line for the real result. If the tool
603
+ // Swap the "╰─ Working..." line for the real result. If the tool
604
604
  // produced a diff it renders directly below the action line with no
605
605
  // gap; otherwise a blank line separates the action from what follows.
606
606
  toolSpinner.replaceWith(action);
package/dist/tools.js CHANGED
@@ -43,7 +43,7 @@ export function takePendingDiffOutput() {
43
43
  }
44
44
  function displayDiff(pathName, oldContent, newContent) {
45
45
  // Indent every diff row 3 columns so the diff's left edge lines up with the
46
- // tool result text above it ("Wrote N chars").
46
+ // tool result text above it ("╰─ Wrote N chars").
47
47
  const ind = " ";
48
48
  if (oldContent.length + newContent.length > max_diff_source_chars) {
49
49
  pendingDiffOutput.push(`\x1b[90m${ind}${pathName}: ${oldContent.length.toLocaleString()} chars -> ${newContent.length.toLocaleString()} chars ` +
package/dist/ui.js CHANGED
@@ -721,7 +721,7 @@ export function toolCallLabel(name, argumentsJson) {
721
721
  return `\x1b[1;36m${display}\x1b[0m(${arg})`;
722
722
  }
723
723
  /**
724
- * Second line of a tool entry: `╰ Done` on a quiet success, otherwise the
724
+ * Second line of a tool entry: `╰─ Done` on a quiet success, otherwise the
725
725
  * tool's output / error, collapsed and truncated so it never floods the screen.
726
726
  */
727
727
  export function formatToolResult(rawResult, failed) {
@@ -730,7 +730,7 @@ export function formatToolResult(rawResult, failed) {
730
730
  .trim();
731
731
  const code = raw.match(/^exit code: (\d+)/)?.[1] ?? null;
732
732
  const clean = raw.replace(/^exit code: \d+\n?/, "").trim();
733
- const corner = "\x1b[90m╰\x1b[0m ";
733
+ const corner = "\x1b[90m╰─\x1b[0m ";
734
734
  if (!failed && (!clean || clean === "(no output)")) {
735
735
  return `${corner}\x1b[32mDone\x1b[0m`;
736
736
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxecli/oxe",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },