stratagem-x7 0.3.21 → 0.3.22
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 +84 -14
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -382892,7 +382892,7 @@ function getAnthropicEnvMetadata() {
|
|
|
382892
382892
|
function getBuildAgeMinutes() {
|
|
382893
382893
|
if (false)
|
|
382894
382894
|
;
|
|
382895
|
-
const buildTime = new Date("2026-04-
|
|
382895
|
+
const buildTime = new Date("2026-04-29T03:22:58.895Z").getTime();
|
|
382896
382896
|
if (isNaN(buildTime))
|
|
382897
382897
|
return;
|
|
382898
382898
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -410069,7 +410069,7 @@ function buildPrimarySection() {
|
|
|
410069
410069
|
}, undefined, false, undefined, this);
|
|
410070
410070
|
return [{
|
|
410071
410071
|
label: "Version",
|
|
410072
|
-
value: "0.3.
|
|
410072
|
+
value: "0.3.22"
|
|
410073
410073
|
}, {
|
|
410074
410074
|
label: "Session name",
|
|
410075
410075
|
value: nameValue
|
|
@@ -411390,6 +411390,11 @@ function getCodexSparkOption() {
|
|
|
411390
411390
|
}
|
|
411391
411391
|
function getCodexModelOptions() {
|
|
411392
411392
|
return [
|
|
411393
|
+
{
|
|
411394
|
+
value: "gpt-5.5",
|
|
411395
|
+
label: "gpt-5.5",
|
|
411396
|
+
description: "GPT-5.5 — latest and strongest reasoning"
|
|
411397
|
+
},
|
|
411393
411398
|
{
|
|
411394
411399
|
value: "gpt-5.4",
|
|
411395
411400
|
label: "gpt-5.4",
|
|
@@ -411405,10 +411410,35 @@ function getCodexModelOptions() {
|
|
|
411405
411410
|
label: "gpt-5.3-codex-spark",
|
|
411406
411411
|
description: "GPT-5.3 Codex Spark for fast tool loops"
|
|
411407
411412
|
},
|
|
411413
|
+
{
|
|
411414
|
+
value: "gpt-5-mini",
|
|
411415
|
+
label: "gpt-5-mini",
|
|
411416
|
+
description: "GPT-5 Mini — fast and lightweight"
|
|
411417
|
+
},
|
|
411418
|
+
{
|
|
411419
|
+
value: "o4-mini",
|
|
411420
|
+
label: "o4-mini",
|
|
411421
|
+
description: "O4 Mini — fast reasoning model"
|
|
411422
|
+
},
|
|
411423
|
+
{
|
|
411424
|
+
value: "o3",
|
|
411425
|
+
label: "o3",
|
|
411426
|
+
description: "O3 — advanced reasoning"
|
|
411427
|
+
},
|
|
411408
411428
|
{
|
|
411409
411429
|
value: "codexspark",
|
|
411410
411430
|
label: "codexspark",
|
|
411411
|
-
description: "
|
|
411431
|
+
description: "Codex Spark alias for fast tool loops"
|
|
411432
|
+
},
|
|
411433
|
+
{
|
|
411434
|
+
value: "gpt-4.1",
|
|
411435
|
+
label: "gpt-4.1",
|
|
411436
|
+
description: "GPT-4.1 — solid general purpose"
|
|
411437
|
+
},
|
|
411438
|
+
{
|
|
411439
|
+
value: "gpt-4.1-mini",
|
|
411440
|
+
label: "gpt-4.1-mini",
|
|
411441
|
+
description: "GPT-4.1 Mini — fast and cheap"
|
|
411412
411442
|
},
|
|
411413
411443
|
{
|
|
411414
411444
|
value: "gpt-5.2-codex",
|
|
@@ -449695,7 +449725,7 @@ function getStartupLines(termWidth) {
|
|
|
449695
449725
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
449696
449726
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
449697
449727
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
449698
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
449728
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.22"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
449699
449729
|
out.push("");
|
|
449700
449730
|
return out;
|
|
449701
449731
|
}
|
|
@@ -468777,15 +468807,55 @@ function CodexCredentialStep({
|
|
|
468777
468807
|
}, undefined, false, undefined, this);
|
|
468778
468808
|
}
|
|
468779
468809
|
const options2 = [
|
|
468810
|
+
{
|
|
468811
|
+
label: "gpt-5.5",
|
|
468812
|
+
value: "gpt-5.5",
|
|
468813
|
+
description: "Latest GPT-5.5 — strongest reasoning"
|
|
468814
|
+
},
|
|
468815
|
+
{
|
|
468816
|
+
label: "gpt-5.4",
|
|
468817
|
+
value: "gpt-5.4",
|
|
468818
|
+
description: "GPT-5.4 — high reasoning capacity"
|
|
468819
|
+
},
|
|
468820
|
+
{
|
|
468821
|
+
label: "gpt-5.3-codex",
|
|
468822
|
+
value: "gpt-5.3-codex",
|
|
468823
|
+
description: "GPT-5.3 Codex — optimized for code"
|
|
468824
|
+
},
|
|
468825
|
+
{
|
|
468826
|
+
label: "gpt-5-mini",
|
|
468827
|
+
value: "gpt-5-mini",
|
|
468828
|
+
description: "GPT-5 Mini — fast and lightweight"
|
|
468829
|
+
},
|
|
468780
468830
|
{
|
|
468781
468831
|
label: "codexplan",
|
|
468782
468832
|
value: "codexplan",
|
|
468783
|
-
description: "
|
|
468833
|
+
description: "Codex Plan — higher reasoning on Codex backend"
|
|
468784
468834
|
},
|
|
468785
468835
|
{
|
|
468786
468836
|
label: "codexspark",
|
|
468787
468837
|
value: "codexspark",
|
|
468788
|
-
description: "
|
|
468838
|
+
description: "Codex Spark — fast tool loop profile"
|
|
468839
|
+
},
|
|
468840
|
+
{
|
|
468841
|
+
label: "o4-mini",
|
|
468842
|
+
value: "o4-mini",
|
|
468843
|
+
description: "O4 Mini — fast reasoning model"
|
|
468844
|
+
},
|
|
468845
|
+
{
|
|
468846
|
+
label: "o3",
|
|
468847
|
+
value: "o3",
|
|
468848
|
+
description: "O3 — advanced reasoning"
|
|
468849
|
+
},
|
|
468850
|
+
{
|
|
468851
|
+
label: "gpt-4.1",
|
|
468852
|
+
value: "gpt-4.1",
|
|
468853
|
+
description: "GPT-4.1 — solid general purpose"
|
|
468854
|
+
},
|
|
468855
|
+
{
|
|
468856
|
+
label: "gpt-4.1-mini",
|
|
468857
|
+
value: "gpt-4.1-mini",
|
|
468858
|
+
description: "GPT-4.1 Mini — fast and cheap"
|
|
468789
468859
|
}
|
|
468790
468860
|
];
|
|
468791
468861
|
return /* @__PURE__ */ jsx_dev_runtime302.jsxDEV(Dialog, {
|
|
@@ -468805,10 +468875,10 @@ function CodexCredentialStep({
|
|
|
468805
468875
|
}, undefined, true, undefined, this),
|
|
468806
468876
|
/* @__PURE__ */ jsx_dev_runtime302.jsxDEV(Select, {
|
|
468807
468877
|
options: options2,
|
|
468808
|
-
defaultValue: "
|
|
468809
|
-
defaultFocusValue: "
|
|
468878
|
+
defaultValue: "gpt-5.5",
|
|
468879
|
+
defaultFocusValue: "gpt-5.5",
|
|
468810
468880
|
inlineDescriptions: true,
|
|
468811
|
-
visibleOptionCount: options2.length,
|
|
468881
|
+
visibleOptionCount: Math.min(8, options2.length),
|
|
468812
468882
|
onChange: (value) => {
|
|
468813
468883
|
const env4 = buildCodexProfileEnv({
|
|
468814
468884
|
model: value,
|
|
@@ -478244,7 +478314,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478244
478314
|
var call60 = async () => {
|
|
478245
478315
|
return {
|
|
478246
478316
|
type: "text",
|
|
478247
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
478317
|
+
value: `${"99.0.0"} (built ${"2026-04-29T03:22:58.895Z"})`
|
|
478248
478318
|
};
|
|
478249
478319
|
}, version2, version_default;
|
|
478250
478320
|
var init_version = __esm(() => {
|
|
@@ -553656,7 +553726,7 @@ function WelcomeV2() {
|
|
|
553656
553726
|
dimColor: true,
|
|
553657
553727
|
children: [
|
|
553658
553728
|
"v",
|
|
553659
|
-
"0.3.
|
|
553729
|
+
"0.3.22",
|
|
553660
553730
|
" "
|
|
553661
553731
|
]
|
|
553662
553732
|
}, undefined, true, undefined, this)
|
|
@@ -573673,7 +573743,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
573673
573743
|
pendingHookMessages
|
|
573674
573744
|
}, renderAndRun);
|
|
573675
573745
|
}
|
|
573676
|
-
}).version("0.3.
|
|
573746
|
+
}).version("0.3.22 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
573677
573747
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
573678
573748
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
573679
573749
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574201,7 +574271,7 @@ if (false) {}
|
|
|
574201
574271
|
async function main2() {
|
|
574202
574272
|
const args = process.argv.slice(2);
|
|
574203
574273
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574204
|
-
console.log(`${"0.3.
|
|
574274
|
+
console.log(`${"0.3.22"} (STRATAGEM X7)`);
|
|
574205
574275
|
return;
|
|
574206
574276
|
}
|
|
574207
574277
|
if (args.includes("--provider")) {
|
|
@@ -574323,4 +574393,4 @@ async function main2() {
|
|
|
574323
574393
|
}
|
|
574324
574394
|
main2();
|
|
574325
574395
|
|
|
574326
|
-
//# debugId=
|
|
574396
|
+
//# debugId=9073FC13BBA5355464756E2164756E21
|