stratagem-x7 0.3.46 → 0.3.47
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 +12 -12
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -188575,7 +188575,7 @@ function modelSupportsMaxEffort(model) {
|
|
|
188575
188575
|
return false;
|
|
188576
188576
|
}
|
|
188577
188577
|
function isEffortLevel(value) {
|
|
188578
|
-
return EFFORT_LEVELS.includes(value)
|
|
188578
|
+
return EFFORT_LEVELS.includes(value);
|
|
188579
188579
|
}
|
|
188580
188580
|
function isOpenAIEffortLevel(value) {
|
|
188581
188581
|
return OPENAI_EFFORT_LEVELS.includes(value);
|
|
@@ -350503,7 +350503,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350503
350503
|
function getBuildAgeMinutes() {
|
|
350504
350504
|
if (false)
|
|
350505
350505
|
;
|
|
350506
|
-
const buildTime = new Date("2026-05-
|
|
350506
|
+
const buildTime = new Date("2026-05-07T13:48:14.618Z").getTime();
|
|
350507
350507
|
if (isNaN(buildTime))
|
|
350508
350508
|
return;
|
|
350509
350509
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417835,7 +417835,7 @@ function buildPrimarySection() {
|
|
|
417835
417835
|
}, undefined, false, undefined, this);
|
|
417836
417836
|
return [{
|
|
417837
417837
|
label: "Version",
|
|
417838
|
-
value: "0.3.
|
|
417838
|
+
value: "0.3.47"
|
|
417839
417839
|
}, {
|
|
417840
417840
|
label: "Session name",
|
|
417841
417841
|
value: nameValue
|
|
@@ -419056,7 +419056,7 @@ function getOpus41Option() {
|
|
|
419056
419056
|
function getOpus46Option(fastMode = false) {
|
|
419057
419057
|
const is3P = getAPIProvider() !== "firstParty";
|
|
419058
419058
|
return {
|
|
419059
|
-
value: is3P ? getModelStrings2().
|
|
419059
|
+
value: is3P ? getModelStrings2().opus47 : "opus",
|
|
419060
419060
|
label: "Opus",
|
|
419061
419061
|
description: `Opus 4.7 · Most capable for complex work${getOpus46PricingSuffix(fastMode)}`,
|
|
419062
419062
|
descriptionForModel: "Opus 4.7 - most capable for complex work"
|
|
@@ -419074,7 +419074,7 @@ function getSonnet46_1MOption() {
|
|
|
419074
419074
|
function getOpus46_1MOption(fastMode = false) {
|
|
419075
419075
|
const is3P = getAPIProvider() !== "firstParty";
|
|
419076
419076
|
return {
|
|
419077
|
-
value: is3P ? getModelStrings2().
|
|
419077
|
+
value: is3P ? getModelStrings2().opus47 + "[1m]" : "opus[1m]",
|
|
419078
419078
|
label: "Opus (1M context)",
|
|
419079
419079
|
description: `Opus 4.7 for long sessions${getOpus46PricingSuffix(fastMode)}`,
|
|
419080
419080
|
descriptionForModel: "Opus 4.7 with 1M context window - for long sessions with large codebases"
|
|
@@ -419141,7 +419141,7 @@ function getMaxOpus46_1MOption(fastMode = false) {
|
|
|
419141
419141
|
function getMergedOpus1MOption(fastMode = false) {
|
|
419142
419142
|
const is3P = getAPIProvider() !== "firstParty";
|
|
419143
419143
|
return {
|
|
419144
|
-
value: is3P ? getModelStrings2().
|
|
419144
|
+
value: is3P ? getModelStrings2().opus47 + "[1m]" : "opus[1m]",
|
|
419145
419145
|
label: "Opus (1M context)",
|
|
419146
419146
|
description: `Opus 4.7 with 1M context · Most capable for complex work${!is3P && fastMode ? getOpus46PricingSuffix(fastMode) : ""}`,
|
|
419147
419147
|
descriptionForModel: "Opus 4.7 with 1M context - most capable for complex work"
|
|
@@ -457529,7 +457529,7 @@ function getStartupLines(termWidth) {
|
|
|
457529
457529
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457530
457530
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457531
457531
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457532
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457532
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.47"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457533
457533
|
out.push("");
|
|
457534
457534
|
return out;
|
|
457535
457535
|
}
|
|
@@ -486202,7 +486202,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
486202
486202
|
var call60 = async () => {
|
|
486203
486203
|
return {
|
|
486204
486204
|
type: "text",
|
|
486205
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
486205
|
+
value: `${"99.0.0"} (built ${"2026-05-07T13:48:14.618Z"})`
|
|
486206
486206
|
};
|
|
486207
486207
|
}, version2, version_default;
|
|
486208
486208
|
var init_version = __esm(() => {
|
|
@@ -554935,7 +554935,7 @@ function WelcomeV2() {
|
|
|
554935
554935
|
dimColor: true,
|
|
554936
554936
|
children: [
|
|
554937
554937
|
"v",
|
|
554938
|
-
"0.3.
|
|
554938
|
+
"0.3.47",
|
|
554939
554939
|
" "
|
|
554940
554940
|
]
|
|
554941
554941
|
}, undefined, true, undefined, this)
|
|
@@ -574393,7 +574393,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574393
574393
|
pendingHookMessages
|
|
574394
574394
|
}, renderAndRun);
|
|
574395
574395
|
}
|
|
574396
|
-
}).version("0.3.
|
|
574396
|
+
}).version("0.3.47 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574397
574397
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574398
574398
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574399
574399
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574854,7 +574854,7 @@ if (false) {}
|
|
|
574854
574854
|
async function main2() {
|
|
574855
574855
|
const args = process.argv.slice(2);
|
|
574856
574856
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574857
|
-
console.log(`${"0.3.
|
|
574857
|
+
console.log(`${"0.3.47"} (STRATAGEM X7)`);
|
|
574858
574858
|
return;
|
|
574859
574859
|
}
|
|
574860
574860
|
if (args.includes("--provider")) {
|
|
@@ -574976,4 +574976,4 @@ async function main2() {
|
|
|
574976
574976
|
}
|
|
574977
574977
|
main2();
|
|
574978
574978
|
|
|
574979
|
-
//# debugId=
|
|
574979
|
+
//# debugId=905B2C77633396E864756E2164756E21
|