terminal-pilot 0.0.9 → 0.0.10

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 CHANGED
@@ -641,12 +641,19 @@ function renderTable(options) {
641
641
  import chalk7 from "chalk";
642
642
  var AGENT_PREFIX = `${chalk7.green.bold("\u2713")} agent: `;
643
643
 
644
+ // ../design-system/src/dashboard/buffer.ts
645
+ import chalk8 from "chalk";
646
+
647
+ // ../design-system/src/dashboard/terminal.ts
648
+ import readline from "node:readline";
649
+ import { PassThrough } from "node:stream";
650
+
644
651
  // ../design-system/src/prompts/index.ts
645
- import chalk14 from "chalk";
652
+ import chalk15 from "chalk";
646
653
  import * as clack from "@clack/prompts";
647
654
 
648
655
  // ../design-system/src/prompts/primitives/cancel.ts
649
- import chalk8 from "chalk";
656
+ import chalk9 from "chalk";
650
657
 
651
658
  // ../../node_modules/@clack/core/dist/index.mjs
652
659
  var import_sisteransi = __toESM(require_src(), 1);
@@ -676,16 +683,16 @@ function cancel(msg = "") {
676
683
  if (resolveOutputFormat() !== "terminal") {
677
684
  return;
678
685
  }
679
- process.stdout.write(`${chalk8.gray("\u2514")} ${chalk8.red(msg)}
686
+ process.stdout.write(`${chalk9.gray("\u2514")} ${chalk9.red(msg)}
680
687
 
681
688
  `);
682
689
  }
683
690
 
684
691
  // ../design-system/src/prompts/primitives/intro.ts
685
- import chalk9 from "chalk";
692
+ import chalk10 from "chalk";
686
693
 
687
694
  // ../design-system/src/prompts/primitives/note.ts
688
- import chalk10 from "chalk";
695
+ import chalk11 from "chalk";
689
696
  function getVisibleWidth(value) {
690
697
  return stripAnsi(value).length;
691
698
  }
@@ -696,15 +703,15 @@ function renderTerminalNote(message2, title) {
696
703
  visibleTitle.length,
697
704
  ...contentLines.map((line) => getVisibleWidth(line))
698
705
  ) + 2;
699
- const titleLine = `${chalk10.green("\u25C7")} ${chalk10.reset(title ?? "")} ${chalk10.gray(
706
+ const titleLine = `${chalk11.green("\u25C7")} ${chalk11.reset(title ?? "")} ${chalk11.gray(
700
707
  `${"\u2500".repeat(Math.max(contentWidth - visibleTitle.length - 1, 1))}\u256E`
701
708
  )}`;
702
709
  const content = contentLines.map((line) => {
703
710
  const padding = " ".repeat(contentWidth - getVisibleWidth(line));
704
- return `${chalk10.gray("\u2502")} ${line}${padding}${chalk10.gray("\u2502")}`;
711
+ return `${chalk11.gray("\u2502")} ${line}${padding}${chalk11.gray("\u2502")}`;
705
712
  });
706
- const bottom = chalk10.gray(`\u251C${"\u2500".repeat(contentWidth + 2)}\u256F`);
707
- return [chalk10.gray("\u2502"), titleLine, ...content, bottom].join("\n");
713
+ const bottom = chalk11.gray(`\u251C${"\u2500".repeat(contentWidth + 2)}\u256F`);
714
+ return [chalk11.gray("\u2502"), titleLine, ...content, bottom].join("\n");
708
715
  }
709
716
  function note(message2, title) {
710
717
  const format = resolveOutputFormat();
@@ -735,13 +742,13 @@ function note(message2, title) {
735
742
  }
736
743
 
737
744
  // ../design-system/src/prompts/primitives/outro.ts
738
- import chalk11 from "chalk";
745
+ import chalk12 from "chalk";
739
746
 
740
747
  // ../design-system/src/prompts/primitives/spinner.ts
741
- import chalk13 from "chalk";
748
+ import chalk14 from "chalk";
742
749
 
743
750
  // ../design-system/src/static/spinner.ts
744
- import chalk12 from "chalk";
751
+ import chalk13 from "chalk";
745
752
 
746
753
  // ../design-system/src/prompts/index.ts
747
754
  async function select2(opts) {
@@ -755,7 +762,7 @@ async function confirm2(opts) {
755
762
  }
756
763
 
757
764
  // ../design-system/src/static/menu.ts
758
- import chalk15 from "chalk";
765
+ import chalk16 from "chalk";
759
766
 
760
767
  // ../cmdkit/src/index.ts
761
768
  import { fileURLToPath } from "node:url";