stratagem-x7 0.3.20 → 0.3.21
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 +13 -10
- 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-28T12:
|
|
382895
|
+
const buildTime = new Date("2026-04-28T12:15:16.982Z").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.21"
|
|
410073
410073
|
}, {
|
|
410074
410074
|
label: "Session name",
|
|
410075
410075
|
value: nameValue
|
|
@@ -449695,7 +449695,7 @@ function getStartupLines(termWidth) {
|
|
|
449695
449695
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
449696
449696
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
449697
449697
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
449698
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
449698
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.21"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
449699
449699
|
out.push("");
|
|
449700
449700
|
return out;
|
|
449701
449701
|
}
|
|
@@ -449734,14 +449734,17 @@ var init_StartupScreen = __esm(() => {
|
|
|
449734
449734
|
|
|
449735
449735
|
// src/components/BreachHeader.tsx
|
|
449736
449736
|
function BreachHeader() {
|
|
449737
|
-
const { columns } = useTerminalSize();
|
|
449737
|
+
const { columns, rows } = useTerminalSize();
|
|
449738
449738
|
const lines = React85.useMemo(() => getStartupLines(columns), [columns]);
|
|
449739
449739
|
const logoLines = lines.slice(2, 8);
|
|
449740
449740
|
const taglineLines = lines.slice(9, 11);
|
|
449741
449741
|
const protocolLines = lines.slice(13, 23);
|
|
449742
|
+
const headerHeight = logoLines.length + taglineLines.length + protocolLines.length + 2;
|
|
449743
|
+
const availableSpace = rows - headerHeight - 6;
|
|
449744
|
+
const topPad = Math.max(1, Math.floor(availableSpace / 3));
|
|
449742
449745
|
return /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedBox_default, {
|
|
449743
449746
|
flexDirection: "column",
|
|
449744
|
-
paddingTop:
|
|
449747
|
+
paddingTop: topPad,
|
|
449745
449748
|
children: [
|
|
449746
449749
|
logoLines.map((line, i3) => /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(ThemedText, {
|
|
449747
449750
|
children: line
|
|
@@ -478241,7 +478244,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
478241
478244
|
var call60 = async () => {
|
|
478242
478245
|
return {
|
|
478243
478246
|
type: "text",
|
|
478244
|
-
value: `${"99.0.0"} (built ${"2026-04-28T12:
|
|
478247
|
+
value: `${"99.0.0"} (built ${"2026-04-28T12:15:16.982Z"})`
|
|
478245
478248
|
};
|
|
478246
478249
|
}, version2, version_default;
|
|
478247
478250
|
var init_version = __esm(() => {
|
|
@@ -553653,7 +553656,7 @@ function WelcomeV2() {
|
|
|
553653
553656
|
dimColor: true,
|
|
553654
553657
|
children: [
|
|
553655
553658
|
"v",
|
|
553656
|
-
"0.3.
|
|
553659
|
+
"0.3.21",
|
|
553657
553660
|
" "
|
|
553658
553661
|
]
|
|
553659
553662
|
}, undefined, true, undefined, this)
|
|
@@ -573670,7 +573673,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
573670
573673
|
pendingHookMessages
|
|
573671
573674
|
}, renderAndRun);
|
|
573672
573675
|
}
|
|
573673
|
-
}).version("0.3.
|
|
573676
|
+
}).version("0.3.21 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
573674
573677
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
573675
573678
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
573676
573679
|
if (canUserConfigureAdvisor()) {
|
|
@@ -574198,7 +574201,7 @@ if (false) {}
|
|
|
574198
574201
|
async function main2() {
|
|
574199
574202
|
const args = process.argv.slice(2);
|
|
574200
574203
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
574201
|
-
console.log(`${"0.3.
|
|
574204
|
+
console.log(`${"0.3.21"} (STRATAGEM X7)`);
|
|
574202
574205
|
return;
|
|
574203
574206
|
}
|
|
574204
574207
|
if (args.includes("--provider")) {
|
|
@@ -574320,4 +574323,4 @@ async function main2() {
|
|
|
574320
574323
|
}
|
|
574321
574324
|
main2();
|
|
574322
574325
|
|
|
574323
|
-
//# debugId=
|
|
574326
|
+
//# debugId=4C59769028DF58AE64756E2164756E21
|