stratagem-x7 0.3.31 → 0.3.33
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 +25 -8
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -350453,7 +350453,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350453
350453
|
function getBuildAgeMinutes() {
|
|
350454
350454
|
if (false)
|
|
350455
350455
|
;
|
|
350456
|
-
const buildTime = new Date("2026-05-05T05:
|
|
350456
|
+
const buildTime = new Date("2026-05-05T05:48:15.030Z").getTime();
|
|
350457
350457
|
if (isNaN(buildTime))
|
|
350458
350458
|
return;
|
|
350459
350459
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -417596,7 +417596,7 @@ function buildPrimarySection() {
|
|
|
417596
417596
|
}, undefined, false, undefined, this);
|
|
417597
417597
|
return [{
|
|
417598
417598
|
label: "Version",
|
|
417599
|
-
value: "0.3.
|
|
417599
|
+
value: "0.3.33"
|
|
417600
417600
|
}, {
|
|
417601
417601
|
label: "Session name",
|
|
417602
417602
|
value: nameValue
|
|
@@ -457290,7 +457290,7 @@ function getStartupLines(termWidth) {
|
|
|
457290
457290
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457291
457291
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457292
457292
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457293
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457293
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.33"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457294
457294
|
out.push("");
|
|
457295
457295
|
return out;
|
|
457296
457296
|
}
|
|
@@ -458677,6 +458677,21 @@ function ScrollIndicator({
|
|
|
458677
458677
|
const scrollTop = Number(parts[0]);
|
|
458678
458678
|
const scrollHeight = Number(parts[1]);
|
|
458679
458679
|
const viewportHeight = Number(parts[2]);
|
|
458680
|
+
const handleClick = import_react151.useCallback((event) => {
|
|
458681
|
+
const s = scrollRef?.current;
|
|
458682
|
+
if (!s)
|
|
458683
|
+
return;
|
|
458684
|
+
const sh = s.getScrollHeight();
|
|
458685
|
+
const vh = s.getViewportHeight();
|
|
458686
|
+
if (sh <= vh)
|
|
458687
|
+
return;
|
|
458688
|
+
const trackHeight2 = Math.max(3, vh - 1);
|
|
458689
|
+
const clickFraction = trackHeight2 > 1 ? event.localRow / (trackHeight2 - 1) : 0;
|
|
458690
|
+
const maxScroll2 = sh - vh;
|
|
458691
|
+
const targetScroll = Math.round(clickFraction * maxScroll2);
|
|
458692
|
+
s.scrollTo(targetScroll);
|
|
458693
|
+
event.stopImmediatePropagation();
|
|
458694
|
+
}, [scrollRef]);
|
|
458680
458695
|
if (scrollHeight <= viewportHeight || viewportHeight < 3) {
|
|
458681
458696
|
return null;
|
|
458682
458697
|
}
|
|
@@ -458702,6 +458717,8 @@ function ScrollIndicator({
|
|
|
458702
458717
|
bottom: 0,
|
|
458703
458718
|
width: 1,
|
|
458704
458719
|
flexDirection: "column",
|
|
458720
|
+
onClick: handleClick,
|
|
458721
|
+
noSelect: true,
|
|
458705
458722
|
children: track2.map((char, i3) => /* @__PURE__ */ jsx_dev_runtime259.jsxDEV(ThemedText, {
|
|
458706
458723
|
color: char === "█" ? "cyan" : "#333333",
|
|
458707
458724
|
children: char
|
|
@@ -485946,7 +485963,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
485946
485963
|
var call60 = async () => {
|
|
485947
485964
|
return {
|
|
485948
485965
|
type: "text",
|
|
485949
|
-
value: `${"99.0.0"} (built ${"2026-05-05T05:
|
|
485966
|
+
value: `${"99.0.0"} (built ${"2026-05-05T05:48:15.030Z"})`
|
|
485950
485967
|
};
|
|
485951
485968
|
}, version2, version_default;
|
|
485952
485969
|
var init_version = __esm(() => {
|
|
@@ -554679,7 +554696,7 @@ function WelcomeV2() {
|
|
|
554679
554696
|
dimColor: true,
|
|
554680
554697
|
children: [
|
|
554681
554698
|
"v",
|
|
554682
|
-
"0.3.
|
|
554699
|
+
"0.3.33",
|
|
554683
554700
|
" "
|
|
554684
554701
|
]
|
|
554685
554702
|
}, undefined, true, undefined, this)
|
|
@@ -574136,7 +574153,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574136
574153
|
pendingHookMessages
|
|
574137
574154
|
}, renderAndRun);
|
|
574138
574155
|
}
|
|
574139
|
-
}).version("0.3.
|
|
574156
|
+
}).version("0.3.33 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574140
574157
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574141
574158
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574142
574159
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574597,7 +574614,7 @@ if (false) {}
|
|
|
574597
574614
|
async function main2() {
|
|
574598
574615
|
const args = process.argv.slice(2);
|
|
574599
574616
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574600
|
-
console.log(`${"0.3.
|
|
574617
|
+
console.log(`${"0.3.33"} (STRATAGEM X7)`);
|
|
574601
574618
|
return;
|
|
574602
574619
|
}
|
|
574603
574620
|
if (args.includes("--provider")) {
|
|
@@ -574719,4 +574736,4 @@ async function main2() {
|
|
|
574719
574736
|
}
|
|
574720
574737
|
main2();
|
|
574721
574738
|
|
|
574722
|
-
//# debugId=
|
|
574739
|
+
//# debugId=5DA7E47DD0456A5B64756E2164756E21
|