stratagem-x7 0.3.41 → 0.3.42

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 +22 -8
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -292746,6 +292746,20 @@ function profileSummary(profile, isActive) {
292746
292746
  }
292747
292747
  function getKnownModelsForBaseUrl(baseUrl) {
292748
292748
  const lower = baseUrl.toLowerCase();
292749
+ if (lower.includes("api.anthropic.com") || lower.includes("anthropic")) {
292750
+ return [
292751
+ "opus",
292752
+ "sonnet",
292753
+ "haiku",
292754
+ "claude-opus-4-7",
292755
+ "claude-sonnet-4-6",
292756
+ "claude-haiku-4-5",
292757
+ "claude-opus-4-6",
292758
+ "claude-opus-4-5",
292759
+ "claude-opus-4-1",
292760
+ "claude-sonnet-4-5"
292761
+ ];
292762
+ }
292749
292763
  if (lower.includes("codex") || lower.includes("chatgpt.com")) {
292750
292764
  return [
292751
292765
  "gpt-5.5",
@@ -350477,7 +350491,7 @@ function getAnthropicEnvMetadata() {
350477
350491
  function getBuildAgeMinutes() {
350478
350492
  if (false)
350479
350493
  ;
350480
- const buildTime = new Date("2026-05-07T03:24:07.527Z").getTime();
350494
+ const buildTime = new Date("2026-05-07T03:40:41.435Z").getTime();
350481
350495
  if (isNaN(buildTime))
350482
350496
  return;
350483
350497
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -417620,7 +417634,7 @@ function buildPrimarySection() {
417620
417634
  }, undefined, false, undefined, this);
417621
417635
  return [{
417622
417636
  label: "Version",
417623
- value: "0.3.41"
417637
+ value: "0.3.42"
417624
417638
  }, {
417625
417639
  label: "Session name",
417626
417640
  value: nameValue
@@ -457314,7 +457328,7 @@ function getStartupLines(termWidth) {
457314
457328
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
457315
457329
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
457316
457330
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
457317
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.41"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457331
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.42"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457318
457332
  out.push("");
457319
457333
  return out;
457320
457334
  }
@@ -485987,7 +486001,7 @@ var init_bridge_kick = __esm(() => {
485987
486001
  var call60 = async () => {
485988
486002
  return {
485989
486003
  type: "text",
485990
- value: `${"99.0.0"} (built ${"2026-05-07T03:24:07.527Z"})`
486004
+ value: `${"99.0.0"} (built ${"2026-05-07T03:40:41.435Z"})`
485991
486005
  };
485992
486006
  }, version2, version_default;
485993
486007
  var init_version = __esm(() => {
@@ -554720,7 +554734,7 @@ function WelcomeV2() {
554720
554734
  dimColor: true,
554721
554735
  children: [
554722
554736
  "v",
554723
- "0.3.41",
554737
+ "0.3.42",
554724
554738
  " "
554725
554739
  ]
554726
554740
  }, undefined, true, undefined, this)
@@ -574177,7 +574191,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
574177
574191
  pendingHookMessages
574178
574192
  }, renderAndRun);
574179
574193
  }
574180
- }).version("0.3.41 (STRATAGEM X7)", "-v, --version", "Output the version number");
574194
+ }).version("0.3.42 (STRATAGEM X7)", "-v, --version", "Output the version number");
574181
574195
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
574182
574196
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
574183
574197
  if (canUserConfigureAdvisor()) {
@@ -574638,7 +574652,7 @@ if (false) {}
574638
574652
  async function main2() {
574639
574653
  const args = process.argv.slice(2);
574640
574654
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
574641
- console.log(`${"0.3.41"} (STRATAGEM X7)`);
574655
+ console.log(`${"0.3.42"} (STRATAGEM X7)`);
574642
574656
  return;
574643
574657
  }
574644
574658
  if (args.includes("--provider")) {
@@ -574760,4 +574774,4 @@ async function main2() {
574760
574774
  }
574761
574775
  main2();
574762
574776
 
574763
- //# debugId=EBABCEBB281CB11A64756E2164756E21
574777
+ //# debugId=1C00024DF388332D64756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.41",
3
+ "version": "0.3.42",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {