stratagem-x7 0.3.40 → 0.3.41
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.
- package/dist/cli.mjs +19 -12
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -116103,7 +116103,7 @@ async function prefetchFastModeStatus() {
|
|
|
116103
116103
|
inflightPrefetch = doFetch();
|
|
116104
116104
|
return inflightPrefetch;
|
|
116105
116105
|
}
|
|
116106
|
-
var FAST_MODE_MODEL_DISPLAY = "Opus 4.
|
|
116106
|
+
var FAST_MODE_MODEL_DISPLAY = "Opus 4.7", runtimeState, hasLoggedCooldownExpiry = false, cooldownTriggered, cooldownExpired, onCooldownTriggered, onCooldownExpired, overageRejection, onFastModeOverageRejection, orgStatus, orgFastModeChange, onOrgFastModeChanged, PREFETCH_MIN_INTERVAL_MS = 30000, lastPrefetchAt = 0, inflightPrefetch = null;
|
|
116107
116107
|
var init_fastMode = __esm(() => {
|
|
116108
116108
|
init_axios2();
|
|
116109
116109
|
init_oauth();
|
|
@@ -116600,15 +116600,15 @@ function getCanonicalName(fullModelName) {
|
|
|
116600
116600
|
function getClaudeAiUserDefaultModelDescription(fastMode = false) {
|
|
116601
116601
|
if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
|
|
116602
116602
|
if (isOpus1mMergeEnabled()) {
|
|
116603
|
-
return `Opus 4.
|
|
116603
|
+
return `Opus 4.7 with 1M context · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
116604
116604
|
}
|
|
116605
|
-
return `Opus 4.
|
|
116605
|
+
return `Opus 4.7 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
116606
116606
|
}
|
|
116607
116607
|
return "Sonnet 4.6 · Best for everyday tasks";
|
|
116608
116608
|
}
|
|
116609
116609
|
function renderDefaultModelSetting(setting) {
|
|
116610
116610
|
if (setting === "opusplan") {
|
|
116611
|
-
return "Opus 4.
|
|
116611
|
+
return "Opus 4.7 in plan mode, else Sonnet 4.6";
|
|
116612
116612
|
}
|
|
116613
116613
|
return renderModelName(parseUserSpecifiedModel(setting));
|
|
116614
116614
|
}
|
|
@@ -116676,6 +116676,10 @@ function getPublicModelDisplayName(model) {
|
|
|
116676
116676
|
return "GPT-5.4";
|
|
116677
116677
|
case "gpt-5.3-codex-spark":
|
|
116678
116678
|
return "GPT-5.3 Codex Spark";
|
|
116679
|
+
case getModelStrings2().opus47:
|
|
116680
|
+
return "Opus 4.7";
|
|
116681
|
+
case getModelStrings2().opus47 + "[1m]":
|
|
116682
|
+
return "Opus 4.7 (1M context)";
|
|
116679
116683
|
case getModelStrings2().opus46:
|
|
116680
116684
|
return "Opus 4.6";
|
|
116681
116685
|
case getModelStrings2().opus46 + "[1m]":
|
|
@@ -116825,6 +116829,9 @@ function getMarketingNameForModel(modelId) {
|
|
|
116825
116829
|
}
|
|
116826
116830
|
const has1m = modelId.toLowerCase().includes("[1m]");
|
|
116827
116831
|
const canonical = getCanonicalName(modelId);
|
|
116832
|
+
if (canonical.includes("claude-opus-4-7")) {
|
|
116833
|
+
return has1m ? "Opus 4.7 (with 1M context)" : "Opus 4.7";
|
|
116834
|
+
}
|
|
116828
116835
|
if (canonical.includes("claude-opus-4-6")) {
|
|
116829
116836
|
return has1m ? "Opus 4.6 (with 1M context)" : "Opus 4.6";
|
|
116830
116837
|
}
|
|
@@ -350470,7 +350477,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350470
350477
|
function getBuildAgeMinutes() {
|
|
350471
350478
|
if (false)
|
|
350472
350479
|
;
|
|
350473
|
-
const buildTime = new Date("2026-05-07T03:07
|
|
350480
|
+
const buildTime = new Date("2026-05-07T03:24:07.527Z").getTime();
|
|
350474
350481
|
if (isNaN(buildTime))
|
|
350475
350482
|
return;
|
|
350476
350483
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417613,7 +417620,7 @@ function buildPrimarySection() {
|
|
|
417613
417620
|
}, undefined, false, undefined, this);
|
|
417614
417621
|
return [{
|
|
417615
417622
|
label: "Version",
|
|
417616
|
-
value: "0.3.
|
|
417623
|
+
value: "0.3.41"
|
|
417617
417624
|
}, {
|
|
417618
417625
|
label: "Session name",
|
|
417619
417626
|
value: nameValue
|
|
@@ -457307,7 +457314,7 @@ function getStartupLines(termWidth) {
|
|
|
457307
457314
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457308
457315
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457309
457316
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457310
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457317
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.41"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457311
457318
|
out.push("");
|
|
457312
457319
|
return out;
|
|
457313
457320
|
}
|
|
@@ -485980,7 +485987,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485980
485987
|
var call60 = async () => {
|
|
485981
485988
|
return {
|
|
485982
485989
|
type: "text",
|
|
485983
|
-
value: `${"99.0.0"} (built ${"2026-05-07T03:07
|
|
485990
|
+
value: `${"99.0.0"} (built ${"2026-05-07T03:24:07.527Z"})`
|
|
485984
485991
|
};
|
|
485985
485992
|
}, version2, version_default;
|
|
485986
485993
|
var init_version = __esm(() => {
|
|
@@ -554713,7 +554720,7 @@ function WelcomeV2() {
|
|
|
554713
554720
|
dimColor: true,
|
|
554714
554721
|
children: [
|
|
554715
554722
|
"v",
|
|
554716
|
-
"0.3.
|
|
554723
|
+
"0.3.41",
|
|
554717
554724
|
" "
|
|
554718
554725
|
]
|
|
554719
554726
|
}, undefined, true, undefined, this)
|
|
@@ -574170,7 +574177,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574170
574177
|
pendingHookMessages
|
|
574171
574178
|
}, renderAndRun);
|
|
574172
574179
|
}
|
|
574173
|
-
}).version("0.3.
|
|
574180
|
+
}).version("0.3.41 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574174
574181
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574175
574182
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574176
574183
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574631,7 +574638,7 @@ if (false) {}
|
|
|
574631
574638
|
async function main2() {
|
|
574632
574639
|
const args = process.argv.slice(2);
|
|
574633
574640
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574634
|
-
console.log(`${"0.3.
|
|
574641
|
+
console.log(`${"0.3.41"} (STRATAGEM X7)`);
|
|
574635
574642
|
return;
|
|
574636
574643
|
}
|
|
574637
574644
|
if (args.includes("--provider")) {
|
|
@@ -574753,4 +574760,4 @@ async function main2() {
|
|
|
574753
574760
|
}
|
|
574754
574761
|
main2();
|
|
574755
574762
|
|
|
574756
|
-
//# debugId=
|
|
574763
|
+
//# debugId=EBABCEBB281CB11A64756E2164756E21
|