stratagem-x7 0.3.44 → 0.3.45

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 +11 -11
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -112512,7 +112512,7 @@ function sanitizeProfile(profile) {
112512
112512
  const provider = profile.provider === "anthropic" ? "anthropic" : "openai";
112513
112513
  const baseUrl = normalizeBaseUrl(profile.baseUrl);
112514
112514
  const model = trimValue(profile.model);
112515
- if (!id || !name || !baseUrl || !model) {
112515
+ if (!id || !name || !baseUrl || provider !== "anthropic" && !model) {
112516
112516
  return null;
112517
112517
  }
112518
112518
  return {
@@ -112520,7 +112520,7 @@ function sanitizeProfile(profile) {
112520
112520
  name,
112521
112521
  provider,
112522
112522
  baseUrl,
112523
- model,
112523
+ model: model || "",
112524
112524
  apiKey: trimOrUndefined(profile.apiKey)
112525
112525
  };
112526
112526
  }
@@ -293333,7 +293333,7 @@ function ProviderManager({ mode, onDone }) {
293333
293333
  const isActiveSavedProfile = getActiveProviderProfile()?.id === saved.id;
293334
293334
  const settingsOverrideError = isActiveSavedProfile ? clearStartupProviderOverrideFromUserSettings() : null;
293335
293335
  refreshProfiles();
293336
- if (isActiveSavedProfile) {
293336
+ if (isActiveSavedProfile && saved.model) {
293337
293337
  const newModel = getPrimaryModel(saved.model);
293338
293338
  setAppState((prev) => ({
293339
293339
  ...prev,
@@ -350503,7 +350503,7 @@ function getAnthropicEnvMetadata() {
350503
350503
  function getBuildAgeMinutes() {
350504
350504
  if (false)
350505
350505
  ;
350506
- const buildTime = new Date("2026-05-07T04:06:59.949Z").getTime();
350506
+ const buildTime = new Date("2026-05-07T04:19:21.632Z").getTime();
350507
350507
  if (isNaN(buildTime))
350508
350508
  return;
350509
350509
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -417646,7 +417646,7 @@ function buildPrimarySection() {
417646
417646
  }, undefined, false, undefined, this);
417647
417647
  return [{
417648
417648
  label: "Version",
417649
- value: "0.3.44"
417649
+ value: "0.3.45"
417650
417650
  }, {
417651
417651
  label: "Session name",
417652
417652
  value: nameValue
@@ -457340,7 +457340,7 @@ function getStartupLines(termWidth) {
457340
457340
  const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
457341
457341
  out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
457342
457342
  out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
457343
- out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.44"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457343
+ out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.45"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
457344
457344
  out.push("");
457345
457345
  return out;
457346
457346
  }
@@ -486013,7 +486013,7 @@ var init_bridge_kick = __esm(() => {
486013
486013
  var call60 = async () => {
486014
486014
  return {
486015
486015
  type: "text",
486016
- value: `${"99.0.0"} (built ${"2026-05-07T04:06:59.949Z"})`
486016
+ value: `${"99.0.0"} (built ${"2026-05-07T04:19:21.632Z"})`
486017
486017
  };
486018
486018
  }, version2, version_default;
486019
486019
  var init_version = __esm(() => {
@@ -554746,7 +554746,7 @@ function WelcomeV2() {
554746
554746
  dimColor: true,
554747
554747
  children: [
554748
554748
  "v",
554749
- "0.3.44",
554749
+ "0.3.45",
554750
554750
  " "
554751
554751
  ]
554752
554752
  }, undefined, true, undefined, this)
@@ -574203,7 +574203,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
574203
574203
  pendingHookMessages
574204
574204
  }, renderAndRun);
574205
574205
  }
574206
- }).version("0.3.44 (STRATAGEM X7)", "-v, --version", "Output the version number");
574206
+ }).version("0.3.45 (STRATAGEM X7)", "-v, --version", "Output the version number");
574207
574207
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
574208
574208
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
574209
574209
  if (canUserConfigureAdvisor()) {
@@ -574664,7 +574664,7 @@ if (false) {}
574664
574664
  async function main2() {
574665
574665
  const args = process.argv.slice(2);
574666
574666
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
574667
- console.log(`${"0.3.44"} (STRATAGEM X7)`);
574667
+ console.log(`${"0.3.45"} (STRATAGEM X7)`);
574668
574668
  return;
574669
574669
  }
574670
574670
  if (args.includes("--provider")) {
@@ -574786,4 +574786,4 @@ async function main2() {
574786
574786
  }
574787
574787
  main2();
574788
574788
 
574789
- //# debugId=2C4EA6516A4304F664756E2164756E21
574789
+ //# debugId=4A2CECA6442D9A4264756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stratagem-x7",
3
- "version": "0.3.44",
3
+ "version": "0.3.45",
4
4
  "description": "STRATAGEM X7 is a cyberpunk coding-agent CLI for cloud and local model providers",
5
5
  "type": "module",
6
6
  "bin": {