stratagem-x7 0.3.29 → 0.3.30
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 -16
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -350446,7 +350446,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350446
350446
|
function getBuildAgeMinutes() {
|
|
350447
350447
|
if (false)
|
|
350448
350448
|
;
|
|
350449
|
-
const buildTime = new Date("2026-05-
|
|
350449
|
+
const buildTime = new Date("2026-05-05T05:08:44.087Z").getTime();
|
|
350450
350450
|
if (isNaN(buildTime))
|
|
350451
350451
|
return;
|
|
350452
350452
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417589,7 +417589,7 @@ function buildPrimarySection() {
|
|
|
417589
417589
|
}, undefined, false, undefined, this);
|
|
417590
417590
|
return [{
|
|
417591
417591
|
label: "Version",
|
|
417592
|
-
value: "0.3.
|
|
417592
|
+
value: "0.3.30"
|
|
417593
417593
|
}, {
|
|
417594
417594
|
label: "Session name",
|
|
417595
417595
|
value: nameValue
|
|
@@ -457259,7 +457259,7 @@ function getStartupLines(termWidth) {
|
|
|
457259
457259
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457260
457260
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457261
457261
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457262
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457262
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.30"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457263
457263
|
out.push("");
|
|
457264
457264
|
return out;
|
|
457265
457265
|
}
|
|
@@ -458634,15 +458634,17 @@ function ScrollIndicator({
|
|
|
458634
458634
|
const getSnapshot = import_react151.useMemo(() => () => {
|
|
458635
458635
|
const s = scrollRef?.current;
|
|
458636
458636
|
if (!s)
|
|
458637
|
-
return
|
|
458638
|
-
|
|
458639
|
-
|
|
458640
|
-
|
|
458641
|
-
|
|
458642
|
-
};
|
|
458637
|
+
return "0:0:0";
|
|
458638
|
+
const top = s.getScrollTop() + s.getPendingDelta();
|
|
458639
|
+
const height = s.getScrollHeight();
|
|
458640
|
+
const vp = s.getViewportHeight();
|
|
458641
|
+
return `${top}:${height}:${vp}`;
|
|
458643
458642
|
}, [scrollRef]);
|
|
458644
|
-
const
|
|
458645
|
-
const
|
|
458643
|
+
const snapshotKey = import_react152.useSyncExternalStore(subscribe2, getSnapshot);
|
|
458644
|
+
const parts = snapshotKey.split(":");
|
|
458645
|
+
const scrollTop = Number(parts[0]);
|
|
458646
|
+
const scrollHeight = Number(parts[1]);
|
|
458647
|
+
const viewportHeight = Number(parts[2]);
|
|
458646
458648
|
if (scrollHeight <= viewportHeight || viewportHeight < 3) {
|
|
458647
458649
|
return null;
|
|
458648
458650
|
}
|
|
@@ -485912,7 +485914,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485912
485914
|
var call60 = async () => {
|
|
485913
485915
|
return {
|
|
485914
485916
|
type: "text",
|
|
485915
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
485917
|
+
value: `${"99.0.0"} (built ${"2026-05-05T05:08:44.087Z"})`
|
|
485916
485918
|
};
|
|
485917
485919
|
}, version2, version_default;
|
|
485918
485920
|
var init_version = __esm(() => {
|
|
@@ -554645,7 +554647,7 @@ function WelcomeV2() {
|
|
|
554645
554647
|
dimColor: true,
|
|
554646
554648
|
children: [
|
|
554647
554649
|
"v",
|
|
554648
|
-
"0.3.
|
|
554650
|
+
"0.3.30",
|
|
554649
554651
|
" "
|
|
554650
554652
|
]
|
|
554651
554653
|
}, undefined, true, undefined, this)
|
|
@@ -574102,7 +574104,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574102
574104
|
pendingHookMessages
|
|
574103
574105
|
}, renderAndRun);
|
|
574104
574106
|
}
|
|
574105
|
-
}).version("0.3.
|
|
574107
|
+
}).version("0.3.30 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574106
574108
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574107
574109
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574108
574110
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574563,7 +574565,7 @@ if (false) {}
|
|
|
574563
574565
|
async function main2() {
|
|
574564
574566
|
const args = process.argv.slice(2);
|
|
574565
574567
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574566
|
-
console.log(`${"0.3.
|
|
574568
|
+
console.log(`${"0.3.30"} (STRATAGEM X7)`);
|
|
574567
574569
|
return;
|
|
574568
574570
|
}
|
|
574569
574571
|
if (args.includes("--provider")) {
|
|
@@ -574685,4 +574687,4 @@ async function main2() {
|
|
|
574685
574687
|
}
|
|
574686
574688
|
main2();
|
|
574687
574689
|
|
|
574688
|
-
//# debugId=
|
|
574690
|
+
//# debugId=974B651FA4EE606664756E2164756E21
|