stratagem-x7 0.3.19 → 0.3.21

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 +13 -13
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -382892,7 +382892,7 @@ function getAnthropicEnvMetadata() {
382892
382892
  function getBuildAgeMinutes() {
382893
382893
  if (false)
382894
382894
  ;
382895
- const buildTime = new Date("2026-04-28T11:50:28.097Z").getTime();
382895
+ const buildTime = new Date("2026-04-28T12:15:16.982Z").getTime();
382896
382896
  if (isNaN(buildTime))
382897
382897
  return;
382898
382898
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410069,7 +410069,7 @@ function buildPrimarySection() {
410069
410069
  }, undefined, false, undefined, this);
410070
410070
  return [{
410071
410071
  label: "Version",
410072
- value: "0.3.19"
410072
+ value: "0.3.21"
410073
410073
  }, {
410074
410074
  label: "Session name",
410075
410075
  value: nameValue
@@ -449695,7 +449695,7 @@ function getStartupLines(termWidth) {
449695
449695
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
449696
449696
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
449697
449697
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
449698
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.19"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
449698
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.21"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
449699
449699
  out.push("");
449700
449700
  return out;
449701
449701
  }
@@ -449734,21 +449734,21 @@ var init_StartupScreen = __esm(() => {
449734
449734
 
449735
449735
  // src/components/BreachHeader.tsx
449736
449736
  function BreachHeader() {
449737
- const { columns } = useTerminalSize();
449737
+ const { columns, rows } = useTerminalSize();
449738
449738
  const lines = React85.useMemo(() => getStartupLines(columns), [columns]);
449739
449739
  const logoLines = lines.slice(2, 8);
449740
449740
  const taglineLines = lines.slice(9, 11);
449741
449741
  const protocolLines = lines.slice(13, 23);
449742
+ const headerHeight = logoLines.length + taglineLines.length + protocolLines.length + 2;
449743
+ const availableSpace = rows - headerHeight - 6;
449744
+ const topPad = Math.max(1, Math.floor(availableSpace / 3));
449742
449745
  return /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedBox_default, {
449743
449746
  flexDirection: "column",
449744
- paddingTop: 3,
449747
+ paddingTop: topPad,
449745
449748
  children: [
449746
449749
  logoLines.map((line, i3) => /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedText, {
449747
449750
  children: line
449748
449751
  }, i3, false, undefined, this)),
449749
- /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedBox_default, {
449750
- height: 1
449751
- }, undefined, false, undefined, this),
449752
449752
  taglineLines.map((line, i3) => /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedText, {
449753
449753
  children: line
449754
449754
  }, `tag-${i3}`, false, undefined, this)),
@@ -478244,7 +478244,7 @@ var init_bridge_kick = __esm(() => {
478244
478244
  var call60 = async () => {
478245
478245
  return {
478246
478246
  type: "text",
478247
- value: `${"99.0.0"} (built ${"2026-04-28T11:50:28.097Z"})`
478247
+ value: `${"99.0.0"} (built ${"2026-04-28T12:15:16.982Z"})`
478248
478248
  };
478249
478249
  }, version2, version_default;
478250
478250
  var init_version = __esm(() => {
@@ -553656,7 +553656,7 @@ function WelcomeV2() {
553656
553656
  dimColor: true,
553657
553657
  children: [
553658
553658
  "v",
553659
- "0.3.19",
553659
+ "0.3.21",
553660
553660
  " "
553661
553661
  ]
553662
553662
  }, undefined, true, undefined, this)
@@ -573673,7 +573673,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
573673
573673
  pendingHookMessages
573674
573674
  }, renderAndRun);
573675
573675
  }
573676
- }).version("0.3.19 (STRATAGEM X7)", "-v, --version", "Output the version number");
573676
+ }).version("0.3.21 (STRATAGEM X7)", "-v, --version", "Output the version number");
573677
573677
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
573678
573678
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
573679
573679
  if (canUserConfigureAdvisor()) {
@@ -574201,7 +574201,7 @@ if (false) {}
574201
574201
  async function main2() {
574202
574202
  const args = process.argv.slice(2);
574203
574203
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
574204
- console.log(`${"0.3.19"} (STRATAGEM X7)`);
574204
+ console.log(`${"0.3.21"} (STRATAGEM X7)`);
574205
574205
  return;
574206
574206
  }
574207
574207
  if (args.includes("--provider")) {
@@ -574323,4 +574323,4 @@ async function main2() {
574323
574323
  }
574324
574324
  main2();
574325
574325
 
574326
- //# debugId=4476B8729B0A7D4A64756E2164756E21
574326
+ //# debugId=4C59769028DF58AE64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.19",
3
+ "version": "0.3.21",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {