stratagem-x7 0.3.74 → 0.3.75
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 +87 -8
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -295799,6 +295799,85 @@ function getKnownModelsForBaseUrl(baseUrl) {
|
|
|
295799
295799
|
"grok-2"
|
|
295800
295800
|
];
|
|
295801
295801
|
}
|
|
295802
|
+
if (lower.includes("githubcopilot.com")) {
|
|
295803
|
+
return [
|
|
295804
|
+
"gpt-5.4",
|
|
295805
|
+
"gpt-5.4-mini",
|
|
295806
|
+
"gpt-5.3-codex",
|
|
295807
|
+
"gpt-5.2",
|
|
295808
|
+
"gpt-5.2-codex",
|
|
295809
|
+
"gpt-5-mini",
|
|
295810
|
+
"gpt-4.1",
|
|
295811
|
+
"claude-sonnet-4.6",
|
|
295812
|
+
"claude-sonnet-4.5",
|
|
295813
|
+
"claude-sonnet-4",
|
|
295814
|
+
"claude-opus-4.7",
|
|
295815
|
+
"claude-opus-4.6",
|
|
295816
|
+
"claude-opus-4.5",
|
|
295817
|
+
"claude-haiku-4.5"
|
|
295818
|
+
];
|
|
295819
|
+
}
|
|
295820
|
+
if (lower.includes("kilocode.ai")) {
|
|
295821
|
+
return [
|
|
295822
|
+
"kilo-auto/balanced",
|
|
295823
|
+
"kilo-auto/coder",
|
|
295824
|
+
"kilo-auto/free",
|
|
295825
|
+
"anthropic/claude-sonnet-4.6",
|
|
295826
|
+
"anthropic/claude-opus-4.7",
|
|
295827
|
+
"anthropic/claude-opus-4.6",
|
|
295828
|
+
"anthropic/claude-haiku-4.5",
|
|
295829
|
+
"openai/gpt-5.4",
|
|
295830
|
+
"openai/gpt-5.3-codex",
|
|
295831
|
+
"google/gemini-3.1-pro-preview",
|
|
295832
|
+
"google/gemini-2.5-pro",
|
|
295833
|
+
"google/gemini-2.5-flash",
|
|
295834
|
+
"qwen/qwen3-coder",
|
|
295835
|
+
"deepseek/deepseek-chat",
|
|
295836
|
+
"z-ai/glm-5",
|
|
295837
|
+
"moonshotai/kimi-k2.6",
|
|
295838
|
+
"x-ai/grok-code-fast-1"
|
|
295839
|
+
];
|
|
295840
|
+
}
|
|
295841
|
+
if (lower.includes("cline.bot")) {
|
|
295842
|
+
return [
|
|
295843
|
+
"moonshotai/kimi-k2.6",
|
|
295844
|
+
"moonshotai/kimi-k2",
|
|
295845
|
+
"kwaipilot/kat-coder-pro",
|
|
295846
|
+
"minimax/minimax-m2.7",
|
|
295847
|
+
"minimax/minimax-m2.5",
|
|
295848
|
+
"arcee-ai/trinity-large-preview:free",
|
|
295849
|
+
"z-ai/glm-5",
|
|
295850
|
+
"z-ai/glm-4.6:exacto",
|
|
295851
|
+
"anthropic/claude-sonnet-4.6",
|
|
295852
|
+
"anthropic/claude-opus-4.7",
|
|
295853
|
+
"anthropic/claude-opus-4.6",
|
|
295854
|
+
"openai/gpt-5.4",
|
|
295855
|
+
"openai/gpt-5.3-codex",
|
|
295856
|
+
"google/gemini-3.1-pro-preview",
|
|
295857
|
+
"google/gemini-3.1-flash-lite-preview",
|
|
295858
|
+
"qwen/qwen3-coder",
|
|
295859
|
+
"qwen/qwen3-coder:exacto",
|
|
295860
|
+
"deepseek/deepseek-chat",
|
|
295861
|
+
"x-ai/grok-code-fast-1"
|
|
295862
|
+
];
|
|
295863
|
+
}
|
|
295864
|
+
if (lower.includes("cursor.sh") || lower.includes("cursor.com")) {
|
|
295865
|
+
return [
|
|
295866
|
+
"auto",
|
|
295867
|
+
"gpt-5.4",
|
|
295868
|
+
"gpt-5.3-codex",
|
|
295869
|
+
"claude-sonnet-4.6",
|
|
295870
|
+
"claude-opus-4.7",
|
|
295871
|
+
"gemini-3.1-pro-preview"
|
|
295872
|
+
];
|
|
295873
|
+
}
|
|
295874
|
+
if (lower.includes("codewhisperer") || lower.includes("kiro")) {
|
|
295875
|
+
return [
|
|
295876
|
+
"claude-sonnet-4",
|
|
295877
|
+
"claude-sonnet-4.5",
|
|
295878
|
+
"claude-haiku-4.5"
|
|
295879
|
+
];
|
|
295880
|
+
}
|
|
295802
295881
|
return null;
|
|
295803
295882
|
}
|
|
295804
295883
|
function getGithubCredentialSourceFromEnv(processEnv = process.env) {
|
|
@@ -353791,7 +353870,7 @@ function getAnthropicEnvMetadata() {
|
|
|
353791
353870
|
function getBuildAgeMinutes() {
|
|
353792
353871
|
if (false)
|
|
353793
353872
|
;
|
|
353794
|
-
const buildTime = new Date("2026-05-09T12:
|
|
353873
|
+
const buildTime = new Date("2026-05-09T12:57:54.116Z").getTime();
|
|
353795
353874
|
if (isNaN(buildTime))
|
|
353796
353875
|
return;
|
|
353797
353876
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -421604,7 +421683,7 @@ function buildPrimarySection() {
|
|
|
421604
421683
|
}, undefined, false, undefined, this);
|
|
421605
421684
|
return [{
|
|
421606
421685
|
label: "Version",
|
|
421607
|
-
value: "0.3.
|
|
421686
|
+
value: "0.3.75"
|
|
421608
421687
|
}, {
|
|
421609
421688
|
label: "Session name",
|
|
421610
421689
|
value: nameValue
|
|
@@ -461556,7 +461635,7 @@ function getStartupLines(termWidth) {
|
|
|
461556
461635
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
461557
461636
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
461558
461637
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
461559
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
461638
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.75"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
461560
461639
|
out.push("");
|
|
461561
461640
|
return out;
|
|
461562
461641
|
}
|
|
@@ -490362,7 +490441,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
490362
490441
|
var call61 = async () => {
|
|
490363
490442
|
return {
|
|
490364
490443
|
type: "text",
|
|
490365
|
-
value: `${"99.0.0"} (built ${"2026-05-09T12:
|
|
490444
|
+
value: `${"99.0.0"} (built ${"2026-05-09T12:57:54.116Z"})`
|
|
490366
490445
|
};
|
|
490367
490446
|
}, version2, version_default;
|
|
490368
490447
|
var init_version = __esm(() => {
|
|
@@ -559278,7 +559357,7 @@ function WelcomeV2() {
|
|
|
559278
559357
|
dimColor: true,
|
|
559279
559358
|
children: [
|
|
559280
559359
|
"v",
|
|
559281
|
-
"0.3.
|
|
559360
|
+
"0.3.75",
|
|
559282
559361
|
" "
|
|
559283
559362
|
]
|
|
559284
559363
|
}, undefined, true, undefined, this)
|
|
@@ -578736,7 +578815,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
578736
578815
|
pendingHookMessages
|
|
578737
578816
|
}, renderAndRun);
|
|
578738
578817
|
}
|
|
578739
|
-
}).version("0.3.
|
|
578818
|
+
}).version("0.3.75 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
578740
578819
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
578741
578820
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
578742
578821
|
if (canUserConfigureAdvisor()) {
|
|
@@ -579197,7 +579276,7 @@ if (false) {}
|
|
|
579197
579276
|
async function main2() {
|
|
579198
579277
|
const args = process.argv.slice(2);
|
|
579199
579278
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
579200
|
-
console.log(`${"0.3.
|
|
579279
|
+
console.log(`${"0.3.75"} (STRATAGEM X7)`);
|
|
579201
579280
|
return;
|
|
579202
579281
|
}
|
|
579203
579282
|
if (args.includes("--provider")) {
|
|
@@ -579319,4 +579398,4 @@ async function main2() {
|
|
|
579319
579398
|
}
|
|
579320
579399
|
main2();
|
|
579321
579400
|
|
|
579322
|
-
//# debugId=
|
|
579401
|
+
//# debugId=D37946AC5710338364756E2164756E21
|