stratagem-x7 0.3.57 → 0.3.58

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +36 -70
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -309786,28 +309786,19 @@ function AssistantTextMessage(t0) {
309786
309786
  borderStyle: "single",
309787
309787
  borderColor: "claude",
309788
309788
  borderLeft: true,
309789
- borderTop: false,
309789
+ borderTop: true,
309790
309790
  borderRight: false,
309791
309791
  borderBottom: false,
309792
309792
  paddingLeft: 1,
309793
- children: [
309794
- /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
309795
- marginBottom: 1,
309796
- children: /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
309797
- color: "claude",
309798
- italic: true,
309799
- children: "STRATAGEM"
309800
- }, undefined, false, undefined, this)
309801
- }, undefined, false, undefined, this),
309802
- /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
309803
- flexDirection: "row",
309804
- children: [
309805
- t4,
309806
- t5
309807
- ]
309808
- }, undefined, true, undefined, this)
309809
- ]
309810
- }, undefined, true, undefined, this);
309793
+ borderText: { content: " STRATAGEM ", position: "top", align: "start", offset: 1 },
309794
+ children: /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
309795
+ flexDirection: "row",
309796
+ children: [
309797
+ t4,
309798
+ t5
309799
+ ]
309800
+ }, undefined, true, undefined, this)
309801
+ }, undefined, false, undefined, this);
309811
309802
  $2[27] = t4;
309812
309803
  $2[28] = t5;
309813
309804
  $2[29] = t6;
@@ -309882,9 +309873,9 @@ function AssistantThinkingMessage(t0) {
309882
309873
  const shouldShowFullThinking = isTranscriptMode || verbose;
309883
309874
  if (!shouldShowFullThinking) {
309884
309875
  const t42 = addMargin ? 1 : 0;
309885
- let t52;
309876
+ let t5;
309886
309877
  if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
309887
- t52 = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
309878
+ t5 = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
309888
309879
  dimColor: true,
309889
309880
  italic: true,
309890
309881
  children: [
@@ -309893,9 +309884,9 @@ function AssistantThinkingMessage(t0) {
309893
309884
  /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CtrlOToExpand, {}, undefined, false, undefined, this)
309894
309885
  ]
309895
309886
  }, undefined, true, undefined, this);
309896
- $2[0] = t52;
309887
+ $2[0] = t5;
309897
309888
  } else {
309898
- t52 = $2[0];
309889
+ t5 = $2[0];
309899
309890
  }
309900
309891
  let t62;
309901
309892
  if ($2[1] !== t42) {
@@ -309908,7 +309899,7 @@ function AssistantThinkingMessage(t0) {
309908
309899
  borderRight: false,
309909
309900
  borderBottom: false,
309910
309901
  paddingLeft: 1,
309911
- children: t52
309902
+ children: t5
309912
309903
  }, undefined, false, undefined, this);
309913
309904
  $2[1] = t42;
309914
309905
  $2[2] = t62;
@@ -309918,20 +309909,6 @@ function AssistantThinkingMessage(t0) {
309918
309909
  return t62;
309919
309910
  }
309920
309911
  const t4 = addMargin ? 1 : 0;
309921
- let t5;
309922
- if ($2[3] === Symbol.for("react.memo_cache_sentinel")) {
309923
- t5 = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
309924
- dimColor: true,
309925
- italic: true,
309926
- children: [
309927
- "TRACE // COGNITION",
309928
- "…"
309929
- ]
309930
- }, undefined, true, undefined, this);
309931
- $2[3] = t5;
309932
- } else {
309933
- t5 = $2[3];
309934
- }
309935
309912
  let t6;
309936
309913
  if ($2[4] !== thinking) {
309937
309914
  t6 = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
@@ -309950,21 +309927,18 @@ function AssistantThinkingMessage(t0) {
309950
309927
  if ($2[6] !== t4 || $2[7] !== t6) {
309951
309928
  t7 = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
309952
309929
  flexDirection: "column",
309953
- gap: 1,
309954
309930
  marginTop: t4,
309955
309931
  width: "100%",
309956
309932
  borderStyle: "single",
309957
309933
  borderColor: "dim",
309958
309934
  borderLeft: true,
309959
- borderTop: false,
309935
+ borderTop: true,
309960
309936
  borderRight: false,
309961
309937
  borderBottom: false,
309962
309938
  paddingLeft: 1,
309963
- children: [
309964
- t5,
309965
- t6
309966
- ]
309967
- }, undefined, true, undefined, this);
309939
+ borderText: { content: " TRACE // COGNITION ", position: "top", align: "start", offset: 1 },
309940
+ children: t6
309941
+ }, undefined, false, undefined, this);
309968
309942
  $2[6] = t4;
309969
309943
  $2[7] = t6;
309970
309944
  $2[8] = t7;
@@ -312076,6 +312050,7 @@ ${tail}`;
312076
312050
  logError2(new Error("No content found in user prompt message"));
312077
312051
  return null;
312078
312052
  }
312053
+ const borderText = useBriefLayout ? undefined : { content: " USER ", position: "top", align: "start", offset: 1 };
312079
312054
  return /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(ThemedBox_default, {
312080
312055
  flexDirection: "column",
312081
312056
  marginTop: addMargin ? 1 : 0,
@@ -312085,25 +312060,16 @@ ${tail}`;
312085
312060
  borderStyle: useBriefLayout ? undefined : "single",
312086
312061
  borderColor: useBriefLayout ? undefined : "promptBorder",
312087
312062
  borderLeft: useBriefLayout ? false : true,
312088
- borderTop: false,
312063
+ borderTop: useBriefLayout ? false : true,
312089
312064
  borderRight: false,
312090
312065
  borderBottom: false,
312091
- children: [
312092
- !useBriefLayout && /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(ThemedBox_default, {
312093
- marginBottom: 1,
312094
- children: /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(ThemedText, {
312095
- color: "promptBorder",
312096
- italic: true,
312097
- children: "USER"
312098
- }, undefined, false, undefined, this)
312099
- }, undefined, false, undefined, this),
312100
- /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(HighlightedThinkingText, {
312101
- text: displayText,
312102
- useBriefLayout,
312103
- timestamp: useBriefLayout ? timestamp : undefined
312104
- }, undefined, false, undefined, this)
312105
- ]
312106
- }, undefined, true, undefined, this);
312066
+ borderText,
312067
+ children: /* @__PURE__ */ jsx_dev_runtime110.jsxDEV(HighlightedThinkingText, {
312068
+ text: displayText,
312069
+ useBriefLayout,
312070
+ timestamp: useBriefLayout ? timestamp : undefined
312071
+ }, undefined, false, undefined, this)
312072
+ }, undefined, false, undefined, this);
312107
312073
  }
312108
312074
  var import_react82, jsx_dev_runtime110, MAX_DISPLAY_CHARS = 1e4, TRUNCATE_HEAD_CHARS = 2500, TRUNCATE_TAIL_CHARS = 2500;
312109
312075
  var init_UserPromptMessage = __esm(() => {
@@ -350377,7 +350343,7 @@ function getAnthropicEnvMetadata() {
350377
350343
  function getBuildAgeMinutes() {
350378
350344
  if (false)
350379
350345
  ;
350380
- const buildTime = new Date("2026-05-07T16:20:44.599Z").getTime();
350346
+ const buildTime = new Date("2026-05-08T01:54:55.396Z").getTime();
350381
350347
  if (isNaN(buildTime))
350382
350348
  return;
350383
350349
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -418190,7 +418156,7 @@ function buildPrimarySection() {
418190
418156
  }, undefined, false, undefined, this);
418191
418157
  return [{
418192
418158
  label: "Version",
418193
- value: "0.3.57"
418159
+ value: "0.3.58"
418194
418160
  }, {
418195
418161
  label: "Session name",
418196
418162
  value: nameValue
@@ -457890,7 +457856,7 @@ function getStartupLines(termWidth) {
457890
457856
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
457891
457857
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
457892
457858
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
457893
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.57"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457859
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.58"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457894
457860
  out.push("");
457895
457861
  return out;
457896
457862
  }
@@ -486638,7 +486604,7 @@ var init_bridge_kick = __esm(() => {
486638
486604
  var call61 = async () => {
486639
486605
  return {
486640
486606
  type: "text",
486641
- value: `${"99.0.0"} (built ${"2026-05-07T16:20:44.599Z"})`
486607
+ value: `${"99.0.0"} (built ${"2026-05-08T01:54:55.396Z"})`
486642
486608
  };
486643
486609
  }, version2, version_default;
486644
486610
  var init_version = __esm(() => {
@@ -555467,7 +555433,7 @@ function WelcomeV2() {
555467
555433
  dimColor: true,
555468
555434
  children: [
555469
555435
  "v",
555470
- "0.3.57",
555436
+ "0.3.58",
555471
555437
  " "
555472
555438
  ]
555473
555439
  }, undefined, true, undefined, this)
@@ -574925,7 +574891,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
574925
574891
  pendingHookMessages
574926
574892
  }, renderAndRun);
574927
574893
  }
574928
- }).version("0.3.57 (STRATAGEM X7)", "-v, --version", "Output the version number");
574894
+ }).version("0.3.58 (STRATAGEM X7)", "-v, --version", "Output the version number");
574929
574895
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
574930
574896
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
574931
574897
  if (canUserConfigureAdvisor()) {
@@ -575386,7 +575352,7 @@ if (false) {}
575386
575352
  async function main2() {
575387
575353
  const args = process.argv.slice(2);
575388
575354
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
575389
- console.log(`${"0.3.57"} (STRATAGEM X7)`);
575355
+ console.log(`${"0.3.58"} (STRATAGEM X7)`);
575390
575356
  return;
575391
575357
  }
575392
575358
  if (args.includes("--provider")) {
@@ -575508,4 +575474,4 @@ async function main2() {
575508
575474
  }
575509
575475
  main2();
575510
575476
 
575511
- //# debugId=864FF0B2CA23694B64756E2164756E21
575477
+ //# debugId=D0790ED2FD28B2F864756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.57",
3
+ "version": "0.3.58",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {