stratagem-x7 0.3.24 → 0.3.25

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 -9
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -55532,8 +55532,22 @@ function getAutoMemPathSetting() {
55532
55532
  function hasAutoMemPathOverride() {
55533
55533
  return getAutoMemPathOverride() !== undefined;
55534
55534
  }
55535
+ function isFilesystemRoot(p) {
55536
+ const normalized = normalize3(p);
55537
+ if (normalized === sep4)
55538
+ return true;
55539
+ if (/^[A-Za-z]:[/\\]?$/.test(normalized))
55540
+ return true;
55541
+ if (normalized.length <= 3 && /^[A-Za-z]:/.test(normalized))
55542
+ return true;
55543
+ return false;
55544
+ }
55535
55545
  function getAutoMemBase() {
55536
- return findCanonicalGitRoot(getProjectRoot()) ?? getProjectRoot();
55546
+ const gitRoot = findCanonicalGitRoot(getProjectRoot());
55547
+ if (gitRoot && !isFilesystemRoot(gitRoot)) {
55548
+ return gitRoot;
55549
+ }
55550
+ return getProjectRoot();
55537
55551
  }
55538
55552
  function getAutoMemEntrypoint() {
55539
55553
  return join24(getAutoMemPath(), AUTO_MEM_ENTRYPOINT_NAME);
@@ -382988,7 +383002,7 @@ function getAnthropicEnvMetadata() {
382988
383002
  function getBuildAgeMinutes() {
382989
383003
  if (false)
382990
383004
  ;
382991
- const buildTime = new Date("2026-04-29T03:43:04.326Z").getTime();
383005
+ const buildTime = new Date("2026-04-29T05:21:22.801Z").getTime();
382992
383006
  if (isNaN(buildTime))
382993
383007
  return;
382994
383008
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -410165,7 +410179,7 @@ function buildPrimarySection() {
410165
410179
  }, undefined, false, undefined, this);
410166
410180
  return [{
410167
410181
  label: "Version",
410168
- value: "0.3.24"
410182
+ value: "0.3.25"
410169
410183
  }, {
410170
410184
  label: "Session name",
410171
410185
  value: nameValue
@@ -449821,7 +449835,7 @@ function getStartupLines(termWidth) {
449821
449835
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
449822
449836
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
449823
449837
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
449824
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.24"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
449838
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.25"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
449825
449839
  out.push("");
449826
449840
  return out;
449827
449841
  }
@@ -478410,7 +478424,7 @@ var init_bridge_kick = __esm(() => {
478410
478424
  var call60 = async () => {
478411
478425
  return {
478412
478426
  type: "text",
478413
- value: `${"99.0.0"} (built ${"2026-04-29T03:43:04.326Z"})`
478427
+ value: `${"99.0.0"} (built ${"2026-04-29T05:21:22.801Z"})`
478414
478428
  };
478415
478429
  }, version2, version_default;
478416
478430
  var init_version = __esm(() => {
@@ -553842,7 +553856,7 @@ function WelcomeV2() {
553842
553856
  dimColor: true,
553843
553857
  children: [
553844
553858
  "v",
553845
- "0.3.24",
553859
+ "0.3.25",
553846
553860
  " "
553847
553861
  ]
553848
553862
  }, undefined, true, undefined, this)
@@ -573859,7 +573873,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
573859
573873
  pendingHookMessages
573860
573874
  }, renderAndRun);
573861
573875
  }
573862
- }).version("0.3.24 (STRATAGEM X7)", "-v, --version", "Output the version number");
573876
+ }).version("0.3.25 (STRATAGEM X7)", "-v, --version", "Output the version number");
573863
573877
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
573864
573878
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
573865
573879
  if (canUserConfigureAdvisor()) {
@@ -574387,7 +574401,7 @@ if (false) {}
574387
574401
  async function main2() {
574388
574402
  const args = process.argv.slice(2);
574389
574403
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
574390
- console.log(`${"0.3.24"} (STRATAGEM X7)`);
574404
+ console.log(`${"0.3.25"} (STRATAGEM X7)`);
574391
574405
  return;
574392
574406
  }
574393
574407
  if (args.includes("--provider")) {
@@ -574509,4 +574523,4 @@ async function main2() {
574509
574523
  }
574510
574524
  main2();
574511
574525
 
574512
- //# debugId=F5D81AF49661736F64756E2164756E21
574526
+ //# debugId=80183EEC7BF25FB764756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {