stratagem-x7 0.3.51 → 0.3.53
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 +18 -14
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -283060,9 +283060,9 @@ function renderPlaceholder({
|
|
|
283060
283060
|
if (hidePlaceholderText) {
|
|
283061
283061
|
renderedPlaceholder = showCursor && focus && terminalFocus ? invert(" ") : "";
|
|
283062
283062
|
} else {
|
|
283063
|
-
renderedPlaceholder = source_default.
|
|
283063
|
+
renderedPlaceholder = source_default.gray(placeholder);
|
|
283064
283064
|
if (showCursor && focus && terminalFocus) {
|
|
283065
|
-
renderedPlaceholder = placeholder.length > 0 ? invert(placeholder[0]) + source_default.
|
|
283065
|
+
renderedPlaceholder = placeholder.length > 0 ? invert(placeholder[0]) + source_default.gray(placeholder.slice(1)) : invert(" ");
|
|
283066
283066
|
}
|
|
283067
283067
|
}
|
|
283068
283068
|
}
|
|
@@ -283853,7 +283853,7 @@ function TextInput(props) {
|
|
|
283853
283853
|
onOffsetChange: props.onChangeCursorOffset,
|
|
283854
283854
|
inputFilter: props.inputFilter,
|
|
283855
283855
|
inlineGhostText: props.inlineGhostText,
|
|
283856
|
-
dim: source_default.
|
|
283856
|
+
dim: source_default.gray
|
|
283857
283857
|
});
|
|
283858
283858
|
return /* @__PURE__ */ jsx_dev_runtime57.jsxDEV(ThemedBox_default, {
|
|
283859
283859
|
ref: animRef,
|
|
@@ -288648,11 +288648,15 @@ async function performLogout({
|
|
|
288648
288648
|
await flushTelemetry2();
|
|
288649
288649
|
await removeApiKey();
|
|
288650
288650
|
const secureStorage = getSecureStorage();
|
|
288651
|
-
secureStorage.
|
|
288651
|
+
const current = secureStorage.read();
|
|
288652
|
+
if (current) {
|
|
288653
|
+
const { claudeAiOauth: _claudeAi, trustedDeviceToken: _trusted, ...preserved } = current;
|
|
288654
|
+
secureStorage.update(preserved);
|
|
288655
|
+
}
|
|
288652
288656
|
await clearAuthRelatedCaches();
|
|
288653
|
-
saveGlobalConfig((
|
|
288657
|
+
saveGlobalConfig((current2) => {
|
|
288654
288658
|
const updated = {
|
|
288655
|
-
...
|
|
288659
|
+
...current2
|
|
288656
288660
|
};
|
|
288657
288661
|
if (clearOnboarding) {
|
|
288658
288662
|
updated.hasCompletedOnboarding = false;
|
|
@@ -350515,7 +350519,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350515
350519
|
function getBuildAgeMinutes() {
|
|
350516
350520
|
if (false)
|
|
350517
350521
|
;
|
|
350518
|
-
const buildTime = new Date("2026-05-
|
|
350522
|
+
const buildTime = new Date("2026-05-07T15:10:48.598Z").getTime();
|
|
350519
350523
|
if (isNaN(buildTime))
|
|
350520
350524
|
return;
|
|
350521
350525
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -418327,7 +418331,7 @@ function buildPrimarySection() {
|
|
|
418327
418331
|
}, undefined, false, undefined, this);
|
|
418328
418332
|
return [{
|
|
418329
418333
|
label: "Version",
|
|
418330
|
-
value: "0.3.
|
|
418334
|
+
value: "0.3.53"
|
|
418331
418335
|
}, {
|
|
418332
418336
|
label: "Session name",
|
|
418333
418337
|
value: nameValue
|
|
@@ -458021,7 +458025,7 @@ function getStartupLines(termWidth) {
|
|
|
458021
458025
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
458022
458026
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
458023
458027
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
458024
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
458028
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.53"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
458025
458029
|
out.push("");
|
|
458026
458030
|
return out;
|
|
458027
458031
|
}
|
|
@@ -486694,7 +486698,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
486694
486698
|
var call60 = async () => {
|
|
486695
486699
|
return {
|
|
486696
486700
|
type: "text",
|
|
486697
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
486701
|
+
value: `${"99.0.0"} (built ${"2026-05-07T15:10:48.598Z"})`
|
|
486698
486702
|
};
|
|
486699
486703
|
}, version2, version_default;
|
|
486700
486704
|
var init_version = __esm(() => {
|
|
@@ -555427,7 +555431,7 @@ function WelcomeV2() {
|
|
|
555427
555431
|
dimColor: true,
|
|
555428
555432
|
children: [
|
|
555429
555433
|
"v",
|
|
555430
|
-
"0.3.
|
|
555434
|
+
"0.3.53",
|
|
555431
555435
|
" "
|
|
555432
555436
|
]
|
|
555433
555437
|
}, undefined, true, undefined, this)
|
|
@@ -574885,7 +574889,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574885
574889
|
pendingHookMessages
|
|
574886
574890
|
}, renderAndRun);
|
|
574887
574891
|
}
|
|
574888
|
-
}).version("0.3.
|
|
574892
|
+
}).version("0.3.53 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574889
574893
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574890
574894
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574891
574895
|
if (canUserConfigureAdvisor()) {
|
|
@@ -575346,7 +575350,7 @@ if (false) {}
|
|
|
575346
575350
|
async function main2() {
|
|
575347
575351
|
const args = process.argv.slice(2);
|
|
575348
575352
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
575349
|
-
console.log(`${"0.3.
|
|
575353
|
+
console.log(`${"0.3.53"} (STRATAGEM X7)`);
|
|
575350
575354
|
return;
|
|
575351
575355
|
}
|
|
575352
575356
|
if (args.includes("--provider")) {
|
|
@@ -575468,4 +575472,4 @@ async function main2() {
|
|
|
575468
575472
|
}
|
|
575469
575473
|
main2();
|
|
575470
575474
|
|
|
575471
|
-
//# debugId=
|
|
575475
|
+
//# debugId=C7ADB318148820DF64756E2164756E21
|