stratagem-x7 0.3.52 → 0.3.54

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 +15 -15
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -283060,9 +283060,9 @@ function renderPlaceholder({
283060
283060
  if (hidePlaceholderText) {
283061
283061
  renderedPlaceholder = showCursor && focus && terminalFocus ? invert(" ") : "";
283062
283062
  } else {
283063
- renderedPlaceholder = source_default.dim(placeholder);
283063
+ renderedPlaceholder = source_default.gray(placeholder);
283064
283064
  if (showCursor && focus && terminalFocus) {
283065
- renderedPlaceholder = placeholder.length > 0 ? invert(placeholder[0]) + source_default.dim(placeholder.slice(1)) : invert(" ");
283065
+ renderedPlaceholder = placeholder.length > 0 ? invert(placeholder[0]) + source_default.gray(placeholder.slice(1)) : invert(" ");
283066
283066
  }
283067
283067
  }
283068
283068
  }
@@ -283853,7 +283853,7 @@ function TextInput(props) {
283853
283853
  onOffsetChange: props.onChangeCursorOffset,
283854
283854
  inputFilter: props.inputFilter,
283855
283855
  inlineGhostText: props.inlineGhostText,
283856
- dim: source_default.dim
283856
+ dim: source_default.gray
283857
283857
  });
283858
283858
  return /* @__PURE__ */ jsx_dev_runtime57.jsxDEV(ThemedBox_default, {
283859
283859
  ref: animRef,
@@ -350519,7 +350519,7 @@ function getAnthropicEnvMetadata() {
350519
350519
  function getBuildAgeMinutes() {
350520
350520
  if (false)
350521
350521
  ;
350522
- const buildTime = new Date("2026-05-07T14:57:33.391Z").getTime();
350522
+ const buildTime = new Date("2026-05-07T15:40:35.008Z").getTime();
350523
350523
  if (isNaN(buildTime))
350524
350524
  return;
350525
350525
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -408499,7 +408499,7 @@ async function computeSimpleEnvInfo(modelId, additionalWorkingDirectories) {
408499
408499
  `OS Version: ${unameSR}`,
408500
408500
  modelDescription,
408501
408501
  knowledgeCutoffMessage,
408502
- process.env.USER_TYPE === "ant" && isUndercover() ? null : `The most recent Claude model family is Claude 4.5/4.6. Model IDs — Opus 4.6: '${CLAUDE_4_5_OR_4_6_MODEL_IDS.opus}', Sonnet 4.6: '${CLAUDE_4_5_OR_4_6_MODEL_IDS.sonnet}', Haiku 4.5: '${CLAUDE_4_5_OR_4_6_MODEL_IDS.haiku}'. When building AI applications, default to the latest and most capable Claude models.`,
408502
+ process.env.USER_TYPE === "ant" && isUndercover() ? null : `The most recent Claude model family is Claude 4.6/4.7. Model IDs — Opus 4.7: '${CLAUDE_LATEST_MODEL_IDS.opus}', Sonnet 4.6: '${CLAUDE_LATEST_MODEL_IDS.sonnet}', Haiku 4.5: '${CLAUDE_LATEST_MODEL_IDS.haiku}'. When building AI applications, default to the latest and most capable Claude models.`,
408503
408503
  process.env.USER_TYPE === "ant" && isUndercover() ? null : `STRATAGEM X7 is available as a CLI in the terminal and can be used across local development environments and IDE workflows.`,
408504
408504
  process.env.USER_TYPE === "ant" && isUndercover() ? null : `Fast mode for STRATAGEM X7 uses the same ${FRONTIER_MODEL_NAME} model with faster output. It does NOT switch to a different model. It can be toggled with /fast.`
408505
408505
  ].filter((item) => item !== null);
@@ -408588,7 +408588,7 @@ function getFunctionResultClearingSection(model) {
408588
408588
 
408589
408589
  Old tool results will be automatically cleared from context to free up space. The ${config2.keepRecent} most recent results are always kept.`;
408590
408590
  }
408591
- var getCachedMCConfigForFRC = null, DISCOVER_SKILLS_TOOL_NAME = null, SYSTEM_PROMPT_DYNAMIC_BOUNDARY = "__SYSTEM_PROMPT_DYNAMIC_BOUNDARY__", FRONTIER_MODEL_NAME = "Claude Opus 4.6", CLAUDE_4_5_OR_4_6_MODEL_IDS, DEFAULT_AGENT_PROMPT = `You are an agent for STRATAGEM X7, an open-source coding agent and CLI. Given the user's message, you should use the tools available to complete the task. Complete the task fully—don't gold-plate, but don't leave it half-done. When you complete the task, respond with a concise report covering what was done and any key findings — the caller will relay this to the user, so it only needs the essentials.`, SUMMARIZE_TOOL_RESULTS_SECTION = `When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.`;
408591
+ var getCachedMCConfigForFRC = null, DISCOVER_SKILLS_TOOL_NAME = null, SYSTEM_PROMPT_DYNAMIC_BOUNDARY = "__SYSTEM_PROMPT_DYNAMIC_BOUNDARY__", FRONTIER_MODEL_NAME = "Claude Opus 4.7", CLAUDE_LATEST_MODEL_IDS, DEFAULT_AGENT_PROMPT = `You are an agent for STRATAGEM X7, an open-source coding agent and CLI. Given the user's message, you should use the tools available to complete the task. Complete the task fully—don't gold-plate, but don't leave it half-done. When you complete the task, respond with a concise report covering what was done and any key findings — the caller will relay this to the user, so it only needs the essentials.`, SUMMARIZE_TOOL_RESULTS_SECTION = `When working with tool results, write down any important information you might need later in your response, as the original tool result may be cleared later.`;
408592
408592
  var init_prompts3 = __esm(() => {
408593
408593
  init_env();
408594
408594
  init_git();
@@ -408620,8 +408620,8 @@ var init_prompts3 = __esm(() => {
408620
408620
  init_debug();
408621
408621
  init_memdir();
408622
408622
  init_mcpInstructionsDelta();
408623
- CLAUDE_4_5_OR_4_6_MODEL_IDS = {
408624
- opus: "claude-opus-4-6",
408623
+ CLAUDE_LATEST_MODEL_IDS = {
408624
+ opus: "claude-opus-4-7",
408625
408625
  sonnet: "claude-sonnet-4-6",
408626
408626
  haiku: "claude-haiku-4-5-20251001"
408627
408627
  };
@@ -418331,7 +418331,7 @@ function buildPrimarySection() {
418331
418331
  }, undefined, false, undefined, this);
418332
418332
  return [{
418333
418333
  label: "Version",
418334
- value: "0.3.52"
418334
+ value: "0.3.54"
418335
418335
  }, {
418336
418336
  label: "Session name",
418337
418337
  value: nameValue
@@ -458025,7 +458025,7 @@ function getStartupLines(termWidth) {
458025
458025
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
458026
458026
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
458027
458027
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
458028
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.52"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
458028
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.54"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
458029
458029
  out.push("");
458030
458030
  return out;
458031
458031
  }
@@ -486698,7 +486698,7 @@ var init_bridge_kick = __esm(() => {
486698
486698
  var call60 = async () => {
486699
486699
  return {
486700
486700
  type: "text",
486701
- value: `${"99.0.0"} (built ${"2026-05-07T14:57:33.391Z"})`
486701
+ value: `${"99.0.0"} (built ${"2026-05-07T15:40:35.008Z"})`
486702
486702
  };
486703
486703
  }, version2, version_default;
486704
486704
  var init_version = __esm(() => {
@@ -555431,7 +555431,7 @@ function WelcomeV2() {
555431
555431
  dimColor: true,
555432
555432
  children: [
555433
555433
  "v",
555434
- "0.3.52",
555434
+ "0.3.54",
555435
555435
  " "
555436
555436
  ]
555437
555437
  }, undefined, true, undefined, this)
@@ -574889,7 +574889,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
574889
574889
  pendingHookMessages
574890
574890
  }, renderAndRun);
574891
574891
  }
574892
- }).version("0.3.52 (STRATAGEM X7)", "-v, --version", "Output the version number");
574892
+ }).version("0.3.54 (STRATAGEM X7)", "-v, --version", "Output the version number");
574893
574893
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
574894
574894
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
574895
574895
  if (canUserConfigureAdvisor()) {
@@ -575350,7 +575350,7 @@ if (false) {}
575350
575350
  async function main2() {
575351
575351
  const args = process.argv.slice(2);
575352
575352
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
575353
- console.log(`${"0.3.52"} (STRATAGEM X7)`);
575353
+ console.log(`${"0.3.54"} (STRATAGEM X7)`);
575354
575354
  return;
575355
575355
  }
575356
575356
  if (args.includes("--provider")) {
@@ -575472,4 +575472,4 @@ async function main2() {
575472
575472
  }
575473
575473
  main2();
575474
575474
 
575475
- //# debugId=E219BE9970A3174F64756E2164756E21
575475
+ //# debugId=F3069AC3D2FFDA2964756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.52",
3
+ "version": "0.3.54",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {