stratagem-x7 0.3.76 → 0.3.77

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +23 -17
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -288589,7 +288589,8 @@ function Select(t0) {
288589
288589
  const isDisabled = t1 === undefined ? false : t1;
288590
288590
  const hideIndexes = t2 === undefined ? false : t2;
288591
288591
  const visibleOptionCount = t3 === undefined ? 5 : t3;
288592
- const layout = t4 === undefined ? "compact" : t4;
288592
+ const requestedLayout = t4 === undefined ? "compact" : t4;
288593
+ const layout = (process.stdout.columns ?? 80) < 70 && requestedLayout === "compact" ? "compact-vertical" : requestedLayout;
288593
288594
  const disableSelection = t5 === undefined ? false : t5;
288594
288595
  const inlineDescriptions = t6 === undefined ? false : t6;
288595
288596
  const [imagesSelected, setImagesSelected] = import_react60.useState(false);
@@ -353870,7 +353871,7 @@ function getAnthropicEnvMetadata() {
353870
353871
  function getBuildAgeMinutes() {
353871
353872
  if (false)
353872
353873
  ;
353873
- const buildTime = new Date("2026-05-09T13:14:45.269Z").getTime();
353874
+ const buildTime = new Date("2026-05-09T13:50:15.727Z").getTime();
353874
353875
  if (isNaN(buildTime))
353875
353876
  return;
353876
353877
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -421683,7 +421684,7 @@ function buildPrimarySection() {
421683
421684
  }, undefined, false, undefined, this);
421684
421685
  return [{
421685
421686
  label: "Version",
421686
- value: "0.3.76"
421687
+ value: "0.3.77"
421687
421688
  }, {
421688
421689
  label: "Session name",
421689
421690
  value: nameValue
@@ -461598,16 +461599,15 @@ function getStartupLines(termWidth) {
461598
461599
  const out = [];
461599
461600
  out.push("");
461600
461601
  out.push("");
461601
- const useBlockLogo = tw >= 84;
461602
- if (useBlockLogo) {
461603
- const allLogo = LOGO_STX7;
461604
- const total = allLogo.length;
461602
+ const logo = tw >= 84 ? LOGO_STX7 : tw >= 30 ? LOGO_STX7_MINI : null;
461603
+ if (logo) {
461604
+ const total = logo.length;
461605
461605
  for (let i3 = 0;i3 < total; i3++) {
461606
461606
  const t = total > 1 ? i3 / (total - 1) : 0;
461607
- if (allLogo[i3] === "") {
461607
+ if (logo[i3] === "") {
461608
461608
  out.push("");
461609
461609
  } else {
461610
- out.push(centerAnsiLine(paintLine(allLogo[i3], SUNSET_GRAD, t), tw));
461610
+ out.push(centerAnsiLine(paintLine(logo[i3], SUNSET_GRAD, t), tw));
461611
461611
  }
461612
461612
  }
461613
461613
  } else {
@@ -461661,14 +461661,14 @@ function getStartupLines(termWidth) {
461661
461661
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
461662
461662
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
461663
461663
  if (tw >= 50) {
461664
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.76"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
461664
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.77"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
461665
461665
  } else {
461666
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STX7${RESET2} ${rgb3(...ACCENT)}v${"0.3.76"}${RESET2}`, tw));
461666
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STX7${RESET2} ${rgb3(...ACCENT)}v${"0.3.77"}${RESET2}`, tw));
461667
461667
  }
461668
461668
  out.push("");
461669
461669
  return out;
461670
461670
  }
461671
- var ESC3 = "\x1B[", RESET2, DIM2, rgb3 = (r, g, b) => `${ESC3}38;2;${r};${g};${b}m`, bg = (r, g, b) => `${ESC3}48;2;${r};${g};${b}m`, ANSI_PATTERN, SUNSET_GRAD, ACCENT, CYAN, CREAM, DIMCOL, BORDER, PANEL_BG, LOGO_STX7, LOGO_TINY = `◢ STRATAGEM X7 ◣`;
461671
+ var ESC3 = "\x1B[", RESET2, DIM2, rgb3 = (r, g, b) => `${ESC3}38;2;${r};${g};${b}m`, bg = (r, g, b) => `${ESC3}48;2;${r};${g};${b}m`, ANSI_PATTERN, SUNSET_GRAD, ACCENT, CYAN, CREAM, DIMCOL, BORDER, PANEL_BG, LOGO_STX7, LOGO_STX7_MINI, LOGO_TINY = `◢ STRATAGEM X7 ◣`;
461672
461672
  var init_StartupScreen = __esm(() => {
461673
461673
  init_providerConfig();
461674
461674
  init_providerDiscovery();
@@ -461700,6 +461700,12 @@ var init_StartupScreen = __esm(() => {
461700
461700
  ` ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝`,
461701
461701
  ` ═══ X7 ═══ `
461702
461702
  ];
461703
+ LOGO_STX7_MINI = [
461704
+ `┏━━━┳━┏━┓┏━┓━┳━┏━┓┏━╸┏━╸┏┳┓`,
461705
+ `┗━┓ ┃ ┣┳┛┣━┫ ┃ ┣━┫┃╺┓┣╸ ┃┃┃`,
461706
+ `━━┛ ╹ ╹┗╸╹ ╹ ╹ ╹ ╹┗━┛┗━╸╹┻╹`,
461707
+ ` ═══ X7 ═══ `
461708
+ ];
461703
461709
  });
461704
461710
 
461705
461711
  // src/components/BreachHeader.tsx
@@ -490470,7 +490476,7 @@ var init_bridge_kick = __esm(() => {
490470
490476
  var call61 = async () => {
490471
490477
  return {
490472
490478
  type: "text",
490473
- value: `${"99.0.0"} (built ${"2026-05-09T13:14:45.269Z"})`
490479
+ value: `${"99.0.0"} (built ${"2026-05-09T13:50:15.727Z"})`
490474
490480
  };
490475
490481
  }, version2, version_default;
490476
490482
  var init_version = __esm(() => {
@@ -559386,7 +559392,7 @@ function WelcomeV2() {
559386
559392
  dimColor: true,
559387
559393
  children: [
559388
559394
  "v",
559389
- "0.3.76",
559395
+ "0.3.77",
559390
559396
  " "
559391
559397
  ]
559392
559398
  }, undefined, true, undefined, this)
@@ -578844,7 +578850,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
578844
578850
  pendingHookMessages
578845
578851
  }, renderAndRun);
578846
578852
  }
578847
- }).version("0.3.76 (STRATAGEM X7)", "-v, --version", "Output the version number");
578853
+ }).version("0.3.77 (STRATAGEM X7)", "-v, --version", "Output the version number");
578848
578854
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
578849
578855
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
578850
578856
  if (canUserConfigureAdvisor()) {
@@ -579305,7 +579311,7 @@ if (false) {}
579305
579311
  async function main2() {
579306
579312
  const args = process.argv.slice(2);
579307
579313
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
579308
- console.log(`${"0.3.76"} (STRATAGEM X7)`);
579314
+ console.log(`${"0.3.77"} (STRATAGEM X7)`);
579309
579315
  return;
579310
579316
  }
579311
579317
  if (args.includes("--provider")) {
@@ -579427,4 +579433,4 @@ async function main2() {
579427
579433
  }
579428
579434
  main2();
579429
579435
 
579430
- //# debugId=05BCEED68E09DCD764756E2164756E21
579436
+ //# debugId=5ED8D6DAAC1862E264756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.76",
3
+ "version": "0.3.77",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {