stratagem-x7 0.3.34 → 0.3.35
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 +21 -21
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -116458,7 +116458,7 @@ function getDefaultOpusModel() {
|
|
|
116458
116458
|
if (getAPIProvider() !== "firstParty") {
|
|
116459
116459
|
return getModelStrings2().opus46;
|
|
116460
116460
|
}
|
|
116461
|
-
return getModelStrings2().
|
|
116461
|
+
return getModelStrings2().opus46;
|
|
116462
116462
|
}
|
|
116463
116463
|
function getDefaultSonnetModel() {
|
|
116464
116464
|
if (process.env.ANTHROPIC_DEFAULT_SONNET_MODEL) {
|
|
@@ -116605,15 +116605,15 @@ function getCanonicalName(fullModelName) {
|
|
|
116605
116605
|
function getClaudeAiUserDefaultModelDescription(fastMode = false) {
|
|
116606
116606
|
if (isMaxSubscriber() || isTeamPremiumSubscriber()) {
|
|
116607
116607
|
if (isOpus1mMergeEnabled()) {
|
|
116608
|
-
return `Opus 4.
|
|
116608
|
+
return `Opus 4.6 with 1M context · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
116609
116609
|
}
|
|
116610
|
-
return `Opus 4.
|
|
116610
|
+
return `Opus 4.6 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`;
|
|
116611
116611
|
}
|
|
116612
116612
|
return "Sonnet 4.6 · Best for everyday tasks";
|
|
116613
116613
|
}
|
|
116614
116614
|
function renderDefaultModelSetting(setting) {
|
|
116615
116615
|
if (setting === "opusplan") {
|
|
116616
|
-
return "Opus 4.
|
|
116616
|
+
return "Opus 4.6 in plan mode, else Sonnet 4.6";
|
|
116617
116617
|
}
|
|
116618
116618
|
return renderModelName(parseUserSpecifiedModel(setting));
|
|
116619
116619
|
}
|
|
@@ -350483,7 +350483,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350483
350483
|
function getBuildAgeMinutes() {
|
|
350484
350484
|
if (false)
|
|
350485
350485
|
;
|
|
350486
|
-
const buildTime = new Date("2026-05-06T07:
|
|
350486
|
+
const buildTime = new Date("2026-05-06T07:49:02.324Z").getTime();
|
|
350487
350487
|
if (isNaN(buildTime))
|
|
350488
350488
|
return;
|
|
350489
350489
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417626,7 +417626,7 @@ function buildPrimarySection() {
|
|
|
417626
417626
|
}, undefined, false, undefined, this);
|
|
417627
417627
|
return [{
|
|
417628
417628
|
label: "Version",
|
|
417629
|
-
value: "0.3.
|
|
417629
|
+
value: "0.3.35"
|
|
417630
417630
|
}, {
|
|
417631
417631
|
label: "Session name",
|
|
417632
417632
|
value: nameValue
|
|
@@ -418849,8 +418849,8 @@ function getOpus46Option(fastMode = false) {
|
|
|
418849
418849
|
return {
|
|
418850
418850
|
value: is3P ? getModelStrings2().opus46 : "opus",
|
|
418851
418851
|
label: "Opus",
|
|
418852
|
-
description: `Opus 4.
|
|
418853
|
-
descriptionForModel: "Opus 4.
|
|
418852
|
+
description: `Opus 4.6 · Most capable for complex work${getOpus46PricingSuffix(fastMode)}`,
|
|
418853
|
+
descriptionForModel: "Opus 4.6 - most capable for complex work"
|
|
418854
418854
|
};
|
|
418855
418855
|
}
|
|
418856
418856
|
function getSonnet46_1MOption() {
|
|
@@ -418867,8 +418867,8 @@ function getOpus46_1MOption(fastMode = false) {
|
|
|
418867
418867
|
return {
|
|
418868
418868
|
value: is3P ? getModelStrings2().opus46 + "[1m]" : "opus[1m]",
|
|
418869
418869
|
label: "Opus (1M context)",
|
|
418870
|
-
description: `Opus 4.
|
|
418871
|
-
descriptionForModel: "Opus 4.
|
|
418870
|
+
description: `Opus 4.6 for long sessions${getOpus46PricingSuffix(fastMode)}`,
|
|
418871
|
+
descriptionForModel: "Opus 4.6 with 1M context window - for long sessions with large codebases"
|
|
418872
418872
|
};
|
|
418873
418873
|
}
|
|
418874
418874
|
function getCustomHaikuOption() {
|
|
@@ -418909,7 +418909,7 @@ function getMaxOpusOption(fastMode = false) {
|
|
|
418909
418909
|
return {
|
|
418910
418910
|
value: "opus",
|
|
418911
418911
|
label: "Opus",
|
|
418912
|
-
description: `Opus 4.
|
|
418912
|
+
description: `Opus 4.6 · Most capable for complex work${fastMode ? getOpus46PricingSuffix(true) : ""}`
|
|
418913
418913
|
};
|
|
418914
418914
|
}
|
|
418915
418915
|
function getMaxSonnet46_1MOption() {
|
|
@@ -418926,7 +418926,7 @@ function getMaxOpus46_1MOption(fastMode = false) {
|
|
|
418926
418926
|
return {
|
|
418927
418927
|
value: "opus[1m]",
|
|
418928
418928
|
label: "Opus (1M context)",
|
|
418929
|
-
description: `Opus 4.
|
|
418929
|
+
description: `Opus 4.6 with 1M context${billingInfo}${getOpus46PricingSuffix(fastMode)}`
|
|
418930
418930
|
};
|
|
418931
418931
|
}
|
|
418932
418932
|
function getMergedOpus1MOption(fastMode = false) {
|
|
@@ -418934,15 +418934,15 @@ function getMergedOpus1MOption(fastMode = false) {
|
|
|
418934
418934
|
return {
|
|
418935
418935
|
value: is3P ? getModelStrings2().opus46 + "[1m]" : "opus[1m]",
|
|
418936
418936
|
label: "Opus (1M context)",
|
|
418937
|
-
description: `Opus 4.
|
|
418938
|
-
descriptionForModel: "Opus 4.
|
|
418937
|
+
description: `Opus 4.6 with 1M context · Most capable for complex work${!is3P && fastMode ? getOpus46PricingSuffix(fastMode) : ""}`,
|
|
418938
|
+
descriptionForModel: "Opus 4.6 with 1M context - most capable for complex work"
|
|
418939
418939
|
};
|
|
418940
418940
|
}
|
|
418941
418941
|
function getOpusPlanOption() {
|
|
418942
418942
|
return {
|
|
418943
418943
|
value: "opusplan",
|
|
418944
418944
|
label: "Opus Plan Mode",
|
|
418945
|
-
description: "Use Opus 4.
|
|
418945
|
+
description: "Use Opus 4.6 in plan mode, Sonnet 4.6 otherwise"
|
|
418946
418946
|
};
|
|
418947
418947
|
}
|
|
418948
418948
|
function getCodexPlanOption() {
|
|
@@ -457320,7 +457320,7 @@ function getStartupLines(termWidth) {
|
|
|
457320
457320
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457321
457321
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457322
457322
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457323
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457323
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.35"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457324
457324
|
out.push("");
|
|
457325
457325
|
return out;
|
|
457326
457326
|
}
|
|
@@ -485993,7 +485993,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485993
485993
|
var call60 = async () => {
|
|
485994
485994
|
return {
|
|
485995
485995
|
type: "text",
|
|
485996
|
-
value: `${"99.0.0"} (built ${"2026-05-06T07:
|
|
485996
|
+
value: `${"99.0.0"} (built ${"2026-05-06T07:49:02.324Z"})`
|
|
485997
485997
|
};
|
|
485998
485998
|
}, version2, version_default;
|
|
485999
485999
|
var init_version = __esm(() => {
|
|
@@ -554729,7 +554729,7 @@ function WelcomeV2() {
|
|
|
554729
554729
|
dimColor: true,
|
|
554730
554730
|
children: [
|
|
554731
554731
|
"v",
|
|
554732
|
-
"0.3.
|
|
554732
|
+
"0.3.35",
|
|
554733
554733
|
" "
|
|
554734
554734
|
]
|
|
554735
554735
|
}, undefined, true, undefined, this)
|
|
@@ -574186,7 +574186,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574186
574186
|
pendingHookMessages
|
|
574187
574187
|
}, renderAndRun);
|
|
574188
574188
|
}
|
|
574189
|
-
}).version("0.3.
|
|
574189
|
+
}).version("0.3.35 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574190
574190
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574191
574191
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574192
574192
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574647,7 +574647,7 @@ if (false) {}
|
|
|
574647
574647
|
async function main2() {
|
|
574648
574648
|
const args = process.argv.slice(2);
|
|
574649
574649
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574650
|
-
console.log(`${"0.3.
|
|
574650
|
+
console.log(`${"0.3.35"} (STRATAGEM X7)`);
|
|
574651
574651
|
return;
|
|
574652
574652
|
}
|
|
574653
574653
|
if (args.includes("--provider")) {
|
|
@@ -574769,4 +574769,4 @@ async function main2() {
|
|
|
574769
574769
|
}
|
|
574770
574770
|
main2();
|
|
574771
574771
|
|
|
574772
|
-
//# debugId=
|
|
574772
|
+
//# debugId=571AED2C3E73741E64756E2164756E21
|