stratagem-x7 0.3.62 → 0.3.64
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 -24
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -120510,7 +120510,11 @@ function applyTextStyles(text, styles3) {
|
|
|
120510
120510
|
result = source_default.bold(result);
|
|
120511
120511
|
}
|
|
120512
120512
|
if (styles3.dim) {
|
|
120513
|
-
|
|
120513
|
+
if (styles3.color) {
|
|
120514
|
+
result = source_default.dim(result);
|
|
120515
|
+
} else {
|
|
120516
|
+
result = source_default.gray(result);
|
|
120517
|
+
}
|
|
120514
120518
|
}
|
|
120515
120519
|
if (styles3.color) {
|
|
120516
120520
|
result = colorize(result, styles3.color, "foreground");
|
|
@@ -201021,7 +201025,7 @@ function CtrlOToExpand() {
|
|
|
201021
201025
|
}
|
|
201022
201026
|
function ctrlOToExpand() {
|
|
201023
201027
|
const shortcut = getShortcutDisplay("app:toggleTranscript", "Global", "ctrl+o");
|
|
201024
|
-
return source_default.
|
|
201028
|
+
return source_default.gray(`(${shortcut} to expand)`);
|
|
201025
201029
|
}
|
|
201026
201030
|
var import_react_compiler_runtime20, import_react34, jsx_dev_runtime23, SubAgentContext;
|
|
201027
201031
|
var init_CtrlOToExpand = __esm(() => {
|
|
@@ -309708,11 +309712,8 @@ function AssistantTextMessage(t0) {
|
|
|
309708
309712
|
flexDirection: "column",
|
|
309709
309713
|
borderStyle: "single",
|
|
309710
309714
|
borderColor: "claude",
|
|
309711
|
-
borderLeft: true,
|
|
309712
|
-
borderTop: true,
|
|
309713
|
-
borderRight: false,
|
|
309714
|
-
borderBottom: false,
|
|
309715
309715
|
paddingLeft: 1,
|
|
309716
|
+
paddingRight: 1,
|
|
309716
309717
|
borderText: { content: " STRATAGEM ", position: "top", align: "start", offset: 1 },
|
|
309717
309718
|
children: /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
|
|
309718
309719
|
flexDirection: "row",
|
|
@@ -309854,11 +309855,8 @@ function AssistantThinkingMessage(t0) {
|
|
|
309854
309855
|
width: "100%",
|
|
309855
309856
|
borderStyle: "single",
|
|
309856
309857
|
borderColor: "dim",
|
|
309857
|
-
borderLeft: true,
|
|
309858
|
-
borderTop: true,
|
|
309859
|
-
borderRight: false,
|
|
309860
|
-
borderBottom: false,
|
|
309861
309858
|
paddingLeft: 1,
|
|
309859
|
+
paddingRight: 1,
|
|
309862
309860
|
borderText: { content: " TRACE // COGNITION ", position: "top", align: "start", offset: 1 },
|
|
309863
309861
|
children: t6
|
|
309864
309862
|
}, undefined, false, undefined, this);
|
|
@@ -311982,10 +311980,6 @@ ${tail}`;
|
|
|
311982
311980
|
paddingRight: useBriefLayout ? 0 : 1,
|
|
311983
311981
|
borderStyle: useBriefLayout ? undefined : "single",
|
|
311984
311982
|
borderColor: useBriefLayout ? undefined : "promptBorder",
|
|
311985
|
-
borderLeft: useBriefLayout ? false : true,
|
|
311986
|
-
borderTop: useBriefLayout ? false : true,
|
|
311987
|
-
borderRight: false,
|
|
311988
|
-
borderBottom: false,
|
|
311989
311983
|
borderText,
|
|
311990
311984
|
children: /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(HighlightedThinkingText, {
|
|
311991
311985
|
text: displayText,
|
|
@@ -350266,7 +350260,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350266
350260
|
function getBuildAgeMinutes() {
|
|
350267
350261
|
if (false)
|
|
350268
350262
|
;
|
|
350269
|
-
const buildTime = new Date("2026-05-
|
|
350263
|
+
const buildTime = new Date("2026-05-08T03:06:27.228Z").getTime();
|
|
350270
350264
|
if (isNaN(buildTime))
|
|
350271
350265
|
return;
|
|
350272
350266
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -418079,7 +418073,7 @@ function buildPrimarySection() {
|
|
|
418079
418073
|
}, undefined, false, undefined, this);
|
|
418080
418074
|
return [{
|
|
418081
418075
|
label: "Version",
|
|
418082
|
-
value: "0.3.
|
|
418076
|
+
value: "0.3.64"
|
|
418083
418077
|
}, {
|
|
418084
418078
|
label: "Session name",
|
|
418085
418079
|
value: nameValue
|
|
@@ -457766,7 +457760,7 @@ function getStartupLines(termWidth) {
|
|
|
457766
457760
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457767
457761
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457768
457762
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457769
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457763
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.64"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457770
457764
|
out.push("");
|
|
457771
457765
|
return out;
|
|
457772
457766
|
}
|
|
@@ -486517,7 +486511,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
486517
486511
|
var call61 = async () => {
|
|
486518
486512
|
return {
|
|
486519
486513
|
type: "text",
|
|
486520
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
486514
|
+
value: `${"99.0.0"} (built ${"2026-05-08T03:06:27.228Z"})`
|
|
486521
486515
|
};
|
|
486522
486516
|
}, version2, version_default;
|
|
486523
486517
|
var init_version = __esm(() => {
|
|
@@ -535377,9 +535371,9 @@ function buildBorderText(showFastIcon, showFastIconHint, fastModeCooldown) {
|
|
|
535377
535371
|
align: "start",
|
|
535378
535372
|
offset: 1
|
|
535379
535373
|
};
|
|
535380
|
-
const fastSeg = showFastIconHint ? `${getFastIconString(true, fastModeCooldown)} ${source_default.
|
|
535374
|
+
const fastSeg = showFastIconHint ? `${getFastIconString(true, fastModeCooldown)} ${source_default.gray("/fast")}` : getFastIconString(true, fastModeCooldown);
|
|
535381
535375
|
return {
|
|
535382
|
-
content: `${baseSeg}${source_default.
|
|
535376
|
+
content: `${baseSeg}${source_default.gray("//")} ${fastSeg} `,
|
|
535383
535377
|
position: "top",
|
|
535384
535378
|
align: "start",
|
|
535385
535379
|
offset: 1
|
|
@@ -555343,7 +555337,7 @@ function WelcomeV2() {
|
|
|
555343
555337
|
dimColor: true,
|
|
555344
555338
|
children: [
|
|
555345
555339
|
"v",
|
|
555346
|
-
"0.3.
|
|
555340
|
+
"0.3.64",
|
|
555347
555341
|
" "
|
|
555348
555342
|
]
|
|
555349
555343
|
}, undefined, true, undefined, this)
|
|
@@ -574801,7 +574795,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574801
574795
|
pendingHookMessages
|
|
574802
574796
|
}, renderAndRun);
|
|
574803
574797
|
}
|
|
574804
|
-
}).version("0.3.
|
|
574798
|
+
}).version("0.3.64 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574805
574799
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574806
574800
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574807
574801
|
if (canUserConfigureAdvisor()) {
|
|
@@ -575262,7 +575256,7 @@ if (false) {}
|
|
|
575262
575256
|
async function main2() {
|
|
575263
575257
|
const args = process.argv.slice(2);
|
|
575264
575258
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
575265
|
-
console.log(`${"0.3.
|
|
575259
|
+
console.log(`${"0.3.64"} (STRATAGEM X7)`);
|
|
575266
575260
|
return;
|
|
575267
575261
|
}
|
|
575268
575262
|
if (args.includes("--provider")) {
|
|
@@ -575384,4 +575378,4 @@ async function main2() {
|
|
|
575384
575378
|
}
|
|
575385
575379
|
main2();
|
|
575386
575380
|
|
|
575387
|
-
//# debugId=
|
|
575381
|
+
//# debugId=EEB242CFD6483B7864756E2164756E21
|