stratagem-x7 0.3.31 → 0.3.32

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 +24 -8
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -350453,7 +350453,7 @@ function getAnthropicEnvMetadata() {
350453
350453
  function getBuildAgeMinutes() {
350454
350454
  if (false)
350455
350455
  ;
350456
- const buildTime = new Date("2026-05-05T05:19:32.604Z").getTime();
350456
+ const buildTime = new Date("2026-05-05T05:25:24.607Z").getTime();
350457
350457
  if (isNaN(buildTime))
350458
350458
  return;
350459
350459
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -417596,7 +417596,7 @@ function buildPrimarySection() {
417596
417596
  }, undefined, false, undefined, this);
417597
417597
  return [{
417598
417598
  label: "Version",
417599
- value: "0.3.31"
417599
+ value: "0.3.32"
417600
417600
  }, {
417601
417601
  label: "Session name",
417602
417602
  value: nameValue
@@ -457290,7 +457290,7 @@ function getStartupLines(termWidth) {
457290
457290
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
457291
457291
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
457292
457292
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
457293
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.31"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457293
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.32"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457294
457294
  out.push("");
457295
457295
  return out;
457296
457296
  }
@@ -458677,6 +458677,21 @@ function ScrollIndicator({
458677
458677
  const scrollTop = Number(parts[0]);
458678
458678
  const scrollHeight = Number(parts[1]);
458679
458679
  const viewportHeight = Number(parts[2]);
458680
+ const handleClick = import_react151.useCallback((event) => {
458681
+ const s = scrollRef?.current;
458682
+ if (!s)
458683
+ return;
458684
+ const sh = s.getScrollHeight();
458685
+ const vh = s.getViewportHeight();
458686
+ if (sh <= vh)
458687
+ return;
458688
+ const trackHeight2 = Math.max(3, vh - 1);
458689
+ const clickFraction = trackHeight2 > 1 ? event.localRow / (trackHeight2 - 1) : 0;
458690
+ const maxScroll2 = sh - vh;
458691
+ const targetScroll = Math.round(clickFraction * maxScroll2);
458692
+ s.scrollTo(targetScroll);
458693
+ event.stopImmediatePropagation();
458694
+ }, [scrollRef]);
458680
458695
  if (scrollHeight <= viewportHeight || viewportHeight < 3) {
458681
458696
  return null;
458682
458697
  }
@@ -458702,6 +458717,7 @@ function ScrollIndicator({
458702
458717
  bottom: 0,
458703
458718
  width: 1,
458704
458719
  flexDirection: "column",
458720
+ onClick: handleClick,
458705
458721
  children: track2.map((char, i3) => /* @__PURE__ */ jsx_dev_runtime259.jsxDEV(ThemedText, {
458706
458722
  color: char === "█" ? "cyan" : "#333333",
458707
458723
  children: char
@@ -485946,7 +485962,7 @@ var init_bridge_kick = __esm(() => {
485946
485962
  var call60 = async () => {
485947
485963
  return {
485948
485964
  type: "text",
485949
- value: `${"99.0.0"} (built ${"2026-05-05T05:19:32.604Z"})`
485965
+ value: `${"99.0.0"} (built ${"2026-05-05T05:25:24.607Z"})`
485950
485966
  };
485951
485967
  }, version2, version_default;
485952
485968
  var init_version = __esm(() => {
@@ -554679,7 +554695,7 @@ function WelcomeV2() {
554679
554695
  dimColor: true,
554680
554696
  children: [
554681
554697
  "v",
554682
- "0.3.31",
554698
+ "0.3.32",
554683
554699
  " "
554684
554700
  ]
554685
554701
  }, undefined, true, undefined, this)
@@ -574136,7 +574152,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
574136
574152
  pendingHookMessages
574137
574153
  }, renderAndRun);
574138
574154
  }
574139
- }).version("0.3.31 (STRATAGEM X7)", "-v, --version", "Output the version number");
574155
+ }).version("0.3.32 (STRATAGEM X7)", "-v, --version", "Output the version number");
574140
574156
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
574141
574157
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
574142
574158
  if (canUserConfigureAdvisor()) {
@@ -574597,7 +574613,7 @@ if (false) {}
574597
574613
  async function main2() {
574598
574614
  const args = process.argv.slice(2);
574599
574615
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
574600
- console.log(`${"0.3.31"} (STRATAGEM X7)`);
574616
+ console.log(`${"0.3.32"} (STRATAGEM X7)`);
574601
574617
  return;
574602
574618
  }
574603
574619
  if (args.includes("--provider")) {
@@ -574719,4 +574735,4 @@ async function main2() {
574719
574735
  }
574720
574736
  main2();
574721
574737
 
574722
- //# debugId=ED3711D4FEA628C364756E2164756E21
574738
+ //# debugId=835DE33B0F92D56964756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {