@costrict/csc 4.2.6-beta → 4.2.6

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.js CHANGED
@@ -63880,8 +63880,8 @@ var init_credentials = __esm(() => {
63880
63880
  import { createRequire } from "module";
63881
63881
  function getVersion() {
63882
63882
  try {
63883
- if (typeof MACRO !== "undefined" && "4.2.6-beta")
63884
- return "4.2.6-beta";
63883
+ if (typeof MACRO !== "undefined" && "4.2.6")
63884
+ return "4.2.6";
63885
63885
  } catch {}
63886
63886
  try {
63887
63887
  const require2 = createRequire(import.meta.url);
@@ -215868,7 +215868,7 @@ async function fetchCoStrictModels(baseUrl, accessToken) {
215868
215868
  headers: {
215869
215869
  Authorization: `Bearer ${accessToken}`,
215870
215870
  Accept: "application/json",
215871
- "User-Agent": `csc/${"4.2.6-beta"}`
215871
+ "User-Agent": `csc/${"4.2.6"}`
215872
215872
  },
215873
215873
  signal: controller.signal
215874
215874
  });
@@ -219454,7 +219454,7 @@ var init_auth7 = __esm(() => {
219454
219454
 
219455
219455
  // src/utils/userAgent.ts
219456
219456
  function getClaudeCodeUserAgent() {
219457
- return `costrict/${"4.2.6-beta"}`;
219457
+ return `costrict/${"4.2.6"}`;
219458
219458
  }
219459
219459
 
219460
219460
  // src/utils/workloadContext.ts
@@ -219476,7 +219476,7 @@ function getUserAgent() {
219476
219476
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
219477
219477
  const workload = getWorkload();
219478
219478
  const workloadSuffix = workload ? `, workload/${workload}` : "";
219479
- return `csc/${"4.2.6-beta"}`;
219479
+ return `csc/${"4.2.6"}`;
219480
219480
  }
219481
219481
  function getMCPUserAgent() {
219482
219482
  const parts = [];
@@ -219490,7 +219490,7 @@ function getMCPUserAgent() {
219490
219490
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
219491
219491
  }
219492
219492
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
219493
- return `csc/${"4.2.6-beta"}${suffix}`;
219493
+ return `csc/${"4.2.6"}${suffix}`;
219494
219494
  }
219495
219495
  function getWebFetchUserAgent() {
219496
219496
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -219610,7 +219610,7 @@ var init_user = __esm(() => {
219610
219610
  deviceId,
219611
219611
  sessionId: getSessionId(),
219612
219612
  email: getEmail(),
219613
- appVersion: "4.2.6-beta",
219613
+ appVersion: "4.2.6",
219614
219614
  platform: getHostPlatformForAnalytics(),
219615
219615
  organizationUuid,
219616
219616
  accountUuid,
@@ -229110,7 +229110,7 @@ var init_metadata = __esm(() => {
229110
229110
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
229111
229111
  WHITESPACE_REGEX = /\s+/;
229112
229112
  getVersionBase = memoize_default(() => {
229113
- const match = "4.2.6-beta".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
229113
+ const match = "4.2.6".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
229114
229114
  return match ? match[0] : undefined;
229115
229115
  });
229116
229116
  buildEnvContext = memoize_default(async () => {
@@ -229150,9 +229150,9 @@ var init_metadata = __esm(() => {
229150
229150
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
229151
229151
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
229152
229152
  isClaudeAiAuth: isClaudeAISubscriber(),
229153
- version: "4.2.6-beta",
229153
+ version: "4.2.6",
229154
229154
  versionBase: getVersionBase(),
229155
- buildTime: "2026-06-22T11:00:03.039Z",
229155
+ buildTime: "2026-06-23T03:37:45.349Z",
229156
229156
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
229157
229157
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
229158
229158
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -229823,7 +229823,7 @@ function initialize1PEventLogging() {
229823
229823
  const platform3 = getPlatform();
229824
229824
  const attributes = {
229825
229825
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
229826
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.6-beta"
229826
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.6"
229827
229827
  };
229828
229828
  if (platform3 === "wsl") {
229829
229829
  const wslVersion = getWslVersion();
@@ -229850,7 +229850,7 @@ function initialize1PEventLogging() {
229850
229850
  })
229851
229851
  ]
229852
229852
  });
229853
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.6-beta");
229853
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.6");
229854
229854
  }
229855
229855
  async function reinitialize1PEventLoggingIfConfigChanged() {
229856
229856
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -410144,7 +410144,7 @@ function getTelemetryAttributes() {
410144
410144
  attributes["session.id"] = sessionId;
410145
410145
  }
410146
410146
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
410147
- attributes["app.version"] = "4.2.6-beta";
410147
+ attributes["app.version"] = "4.2.6";
410148
410148
  }
410149
410149
  const oauthAccount = getOauthAccountInfo();
410150
410150
  if (oauthAccount) {
@@ -443681,7 +443681,7 @@ function initLangfuse() {
443681
443681
  flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
443682
443682
  mask: maskFn,
443683
443683
  environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
443684
- release: "4.2.6-beta",
443684
+ release: "4.2.6",
443685
443685
  exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
443686
443686
  timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
443687
443687
  });
@@ -475574,7 +475574,7 @@ function initSentry() {
475574
475574
  }
475575
475575
  init3({
475576
475576
  dsn,
475577
- release: typeof MACRO !== "undefined" ? "4.2.6-beta" : undefined,
475577
+ release: typeof MACRO !== "undefined" ? "4.2.6" : undefined,
475578
475578
  environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "production",
475579
475579
  maxBreadcrumbs: 20,
475580
475580
  sampleRate: 1,
@@ -503461,7 +503461,7 @@ async function initializeBetaTracing(resource) {
503461
503461
  });
503462
503462
  logs.setGlobalLoggerProvider(loggerProvider);
503463
503463
  setLoggerProvider(loggerProvider);
503464
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.6-beta");
503464
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.6");
503465
503465
  setEventLogger(eventLogger);
503466
503466
  process.on("beforeExit", async () => {
503467
503467
  await loggerProvider?.forceFlush();
@@ -503501,7 +503501,7 @@ async function initializeTelemetry() {
503501
503501
  const platform5 = getPlatform();
503502
503502
  const baseAttributes = {
503503
503503
  [import_semantic_conventions29.ATTR_SERVICE_NAME]: "claude-code",
503504
- [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.6-beta"
503504
+ [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.6"
503505
503505
  };
503506
503506
  if (platform5 === "wsl") {
503507
503507
  const wslVersion = getWslVersion();
@@ -503546,7 +503546,7 @@ async function initializeTelemetry() {
503546
503546
  } catch {}
503547
503547
  };
503548
503548
  registerCleanup(shutdownTelemetry2);
503549
- return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.6-beta");
503549
+ return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.6");
503550
503550
  }
503551
503551
  const meterProvider = new import_sdk_metrics2.MeterProvider({
503552
503552
  resource,
@@ -503566,7 +503566,7 @@ async function initializeTelemetry() {
503566
503566
  });
503567
503567
  logs.setGlobalLoggerProvider(loggerProvider);
503568
503568
  setLoggerProvider(loggerProvider);
503569
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.6-beta");
503569
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.6");
503570
503570
  setEventLogger(eventLogger);
503571
503571
  logForDebugging("[3P telemetry] Event logger set successfully");
503572
503572
  process.on("beforeExit", async () => {
@@ -503628,7 +503628,7 @@ Current timeout: ${timeoutMs}ms
503628
503628
  }
503629
503629
  };
503630
503630
  registerCleanup(shutdownTelemetry);
503631
- return meterProvider.getMeter("com.anthropic.claude_code", "4.2.6-beta");
503631
+ return meterProvider.getMeter("com.anthropic.claude_code", "4.2.6");
503632
503632
  }
503633
503633
  async function flushTelemetry() {
503634
503634
  const meterProvider = getMeterProvider();
@@ -504687,7 +504687,7 @@ async function installGlobalPackage(specificVersion) {
504687
504687
  logError3(new AutoUpdaterError("Another process is currently installing an update"));
504688
504688
  logEvent("tengu_auto_updater_lock_contention", {
504689
504689
  pid: process.pid,
504690
- currentVersion: "4.2.6-beta"
504690
+ currentVersion: "4.2.6"
504691
504691
  });
504692
504692
  return { status: "in_progress" };
504693
504693
  }
@@ -504696,7 +504696,7 @@ async function installGlobalPackage(specificVersion) {
504696
504696
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
504697
504697
  logError3(new Error("Windows NPM detected in WSL environment"));
504698
504698
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
504699
- currentVersion: "4.2.6-beta"
504699
+ currentVersion: "4.2.6"
504700
504700
  });
504701
504701
  return {
504702
504702
  status: "install_failed",
@@ -505242,7 +505242,7 @@ function detectLinuxGlobPatternWarnings() {
505242
505242
  }
505243
505243
  async function getDoctorDiagnostic() {
505244
505244
  const installationType = await getCurrentInstallationType();
505245
- const version7 = typeof MACRO !== "undefined" ? "4.2.6-beta" : "unknown";
505245
+ const version7 = typeof MACRO !== "undefined" ? "4.2.6" : "unknown";
505246
505246
  const installationPath = await getInstallationPath();
505247
505247
  const invokedBinary = getInvokedBinary();
505248
505248
  const multipleInstallations = await detectMultipleInstallations();
@@ -543403,7 +543403,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
543403
543403
  const client10 = new Client3({
543404
543404
  name: "claude-code",
543405
543405
  title: "CoStrict",
543406
- version: "4.2.6-beta",
543406
+ version: "4.2.6",
543407
543407
  description: "CoStrict agentic coding tool",
543408
543408
  websiteUrl: PRODUCT_URL
543409
543409
  }, {
@@ -543774,7 +543774,7 @@ var init_client17 = __esm(() => {
543774
543774
  const client10 = new Client3({
543775
543775
  name: "claude-code",
543776
543776
  title: "CoStrict",
543777
- version: "4.2.6-beta",
543777
+ version: "4.2.6",
543778
543778
  description: "CoStrict agentic coding tool",
543779
543779
  websiteUrl: PRODUCT_URL
543780
543780
  }, {
@@ -545152,7 +545152,7 @@ function getInstallationEnv() {
545152
545152
  return;
545153
545153
  }
545154
545154
  function getClaudeCodeVersion() {
545155
- return "4.2.6-beta";
545155
+ return "4.2.6";
545156
545156
  }
545157
545157
  async function getInstalledVSCodeExtensionVersion(command4) {
545158
545158
  const { stdout } = await execFileNoThrow2(command4, ["--list-extensions", "--show-versions"], {
@@ -546516,8 +546516,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
546516
546516
  const maxVersion = await getMaxVersion();
546517
546517
  if (maxVersion && gt(version8, maxVersion)) {
546518
546518
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version8} to ${maxVersion}`);
546519
- if (gte2("4.2.6-beta", maxVersion)) {
546520
- logForDebugging(`Native installer: current version ${"4.2.6-beta"} is already at or above maxVersion ${maxVersion}, skipping update`);
546519
+ if (gte2("4.2.6", maxVersion)) {
546520
+ logForDebugging(`Native installer: current version ${"4.2.6"} is already at or above maxVersion ${maxVersion}, skipping update`);
546521
546521
  logEvent("tengu_native_update_skipped_max_version", {
546522
546522
  latency_ms: Date.now() - startTime2,
546523
546523
  max_version: maxVersion,
@@ -546528,7 +546528,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
546528
546528
  version8 = maxVersion;
546529
546529
  }
546530
546530
  }
546531
- if (!forceReinstall && version8 === "4.2.6-beta" && await versionIsAvailable(version8) && await isPossibleClaudeBinary(executablePath)) {
546531
+ if (!forceReinstall && version8 === "4.2.6" && await versionIsAvailable(version8) && await isPossibleClaudeBinary(executablePath)) {
546532
546532
  logForDebugging(`Found ${version8} at ${executablePath}, skipping install`);
546533
546533
  logEvent("tengu_native_update_complete", {
546534
546534
  latency_ms: Date.now() - startTime2,
@@ -680832,7 +680832,7 @@ function Feedback({
680832
680832
  platform: env4.platform,
680833
680833
  gitRepo: envInfo.isGit,
680834
680834
  terminal: env4.terminal,
680835
- version: "4.2.6-beta",
680835
+ version: "4.2.6",
680836
680836
  transcript: normalizeMessagesForAPI(messages),
680837
680837
  errors: sanitizedErrors,
680838
680838
  lastApiRequest: getLastAPIRequest(),
@@ -681015,7 +681015,7 @@ function Feedback({
681015
681015
  ", ",
681016
681016
  env4.terminal,
681017
681017
  ", v",
681018
- "4.2.6-beta"
681018
+ "4.2.6"
681019
681019
  ]
681020
681020
  })
681021
681021
  ]
@@ -681112,7 +681112,7 @@ ${sanitizedDescription}
681112
681112
  ` + `**Environment Info**
681113
681113
  ` + `- Platform: ${env4.platform}
681114
681114
  ` + `- Terminal: ${env4.terminal}
681115
- ` + `- Version: ${"4.2.6-beta"}
681115
+ ` + `- Version: ${"4.2.6"}
681116
681116
  ` + `- Feedback ID: ${feedbackId}
681117
681117
  ` + `
681118
681118
  **Errors**
@@ -683332,7 +683332,7 @@ function buildPrimarySection() {
683332
683332
  children: t("settings.status.renameHint")
683333
683333
  });
683334
683334
  return [
683335
- { label: t("settings.status.version"), value: "4.2.6-beta" },
683335
+ { label: t("settings.status.version"), value: "4.2.6" },
683336
683336
  { label: t("settings.status.sessionName"), value: nameValue },
683337
683337
  { label: t("settings.status.sessionId"), value: sessionId },
683338
683338
  { label: t("settings.status.cwd"), value: getCwd() },
@@ -686154,7 +686154,7 @@ function Config({
686154
686154
  }
686155
686155
  })
686156
686156
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime191.jsx(ChannelDowngradeDialog, {
686157
- currentVersion: "4.2.6-beta",
686157
+ currentVersion: "4.2.6",
686158
686158
  onChoice: (choice) => {
686159
686159
  setShowSubmenu(null);
686160
686160
  setTabsHidden(false);
@@ -686166,7 +686166,7 @@ function Config({
686166
686166
  autoUpdatesChannel: "stable"
686167
686167
  };
686168
686168
  if (choice === "stay") {
686169
- newSettings.minimumVersion = "4.2.6-beta";
686169
+ newSettings.minimumVersion = "4.2.6";
686170
686170
  }
686171
686171
  updateSettingsForSource("userSettings", newSettings);
686172
686172
  setSettingsData((prev) => ({
@@ -691635,7 +691635,7 @@ function HelpV2({ onClose, commands: commands11 }) {
691635
691635
  color: "professionalBlue",
691636
691636
  children: [
691637
691637
  /* @__PURE__ */ jsx_runtime218.jsx(Tabs, {
691638
- title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.6-beta"}`,
691638
+ title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.6"}`,
691639
691639
  color: "professionalBlue",
691640
691640
  defaultTab: "general",
691641
691641
  children: tabs
@@ -783403,7 +783403,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
783403
783403
  return [];
783404
783404
  }
783405
783405
  }
783406
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.6-beta") {
783406
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.6") {
783407
783407
  if (process.env.USER_TYPE === "sf") {
783408
783408
  const changelog = "";
783409
783409
  if (changelog) {
@@ -783430,7 +783430,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.6-bet
783430
783430
  releaseNotes
783431
783431
  };
783432
783432
  }
783433
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.6-beta") {
783433
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.6") {
783434
783434
  if (process.env.USER_TYPE === "sf") {
783435
783435
  const changelog = "";
783436
783436
  if (changelog) {
@@ -785943,7 +785943,7 @@ function isNotLoggedIn() {
785943
785943
  return true;
785944
785944
  }
785945
785945
  function getLogoDisplayData() {
785946
- const version8 = process.env.DEMO_VERSION ?? "4.2.6-beta";
785946
+ const version8 = process.env.DEMO_VERSION ?? "4.2.6";
785947
785947
  const serverUrl = getDirectConnectServerUrl();
785948
785948
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
785949
785949
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -786466,7 +786466,7 @@ var cachedSystemTheme2;
786466
786466
  // src/components/matrix-tactical/MatrixWelcome.tsx
786467
786467
  import { basename as basename47 } from "path";
786468
786468
  function MatrixWelcome({
786469
- version: version8 = "4.2.6-beta",
786469
+ version: version8 = "4.2.6",
786470
786470
  projectName,
786471
786471
  cwd: cwd2,
786472
786472
  modelDisplayName,
@@ -787101,13 +787101,13 @@ function LogoV2() {
787101
787101
  const { hasReleaseNotes } = checkForReleaseNotesSync(config12.lastReleaseNotesSeen);
787102
787102
  import_react167.useEffect(() => {
787103
787103
  const currentConfig = getGlobalConfig();
787104
- if (currentConfig.lastReleaseNotesSeen === "4.2.6-beta") {
787104
+ if (currentConfig.lastReleaseNotesSeen === "4.2.6") {
787105
787105
  return;
787106
787106
  }
787107
787107
  saveGlobalConfig((current2) => {
787108
- if (current2.lastReleaseNotesSeen === "4.2.6-beta")
787108
+ if (current2.lastReleaseNotesSeen === "4.2.6")
787109
787109
  return current2;
787110
- return { ...current2, lastReleaseNotesSeen: "4.2.6-beta" };
787110
+ return { ...current2, lastReleaseNotesSeen: "4.2.6" };
787111
787111
  });
787112
787112
  if (showOnboarding) {
787113
787113
  incrementProjectOnboardingSeenCount();
@@ -809034,7 +809034,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
809034
809034
  smapsRollup,
809035
809035
  platform: process.platform,
809036
809036
  nodeVersion: process.version,
809037
- ccVersion: "4.2.6-beta"
809037
+ ccVersion: "4.2.6"
809038
809038
  };
809039
809039
  }
809040
809040
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -809150,7 +809150,7 @@ var init_mock_limits = __esm(() => {
809150
809150
  var call54 = async () => {
809151
809151
  return {
809152
809152
  type: "text",
809153
- value: `${"4.2.6-beta"} (built ${"2026-06-22T11:00:03.039Z"})`
809153
+ value: `${"4.2.6"} (built ${"2026-06-23T03:37:45.349Z"})`
809154
809154
  };
809155
809155
  }, version8, version_default;
809156
809156
  var init_version2 = __esm(() => {
@@ -815567,8 +815567,8 @@ var init_tag2 = __esm(() => {
815567
815567
  import { createRequire as createRequire5 } from "module";
815568
815568
  function getVersion2() {
815569
815569
  try {
815570
- if (typeof MACRO !== "undefined" && "4.2.6-beta")
815571
- return "4.2.6-beta";
815570
+ if (typeof MACRO !== "undefined" && "4.2.6")
815571
+ return "4.2.6";
815572
815572
  } catch {}
815573
815573
  try {
815574
815574
  const require4 = createRequire5(import.meta.url);
@@ -825908,7 +825908,7 @@ function generateHtmlReport(data, insights) {
825908
825908
  </html>`;
825909
825909
  }
825910
825910
  function buildExportData(data, insights, facets, remoteStats) {
825911
- const version9 = typeof MACRO !== "undefined" ? "4.2.6-beta" : "unknown";
825911
+ const version9 = typeof MACRO !== "undefined" ? "4.2.6" : "unknown";
825912
825912
  const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
825913
825913
  const facets_summary = {
825914
825914
  total: facets.size,
@@ -830222,7 +830222,7 @@ var init_sessionStorage = __esm(() => {
830222
830222
  init_settings2();
830223
830223
  init_slowOperations();
830224
830224
  init_uuid();
830225
- VERSION10 = typeof MACRO !== "undefined" ? "4.2.6-beta" : "unknown";
830225
+ VERSION10 = typeof MACRO !== "undefined" ? "4.2.6" : "unknown";
830226
830226
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
830227
830227
  SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
830228
830228
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -831530,7 +831530,7 @@ var init_filesystem = __esm(() => {
831530
831530
  });
831531
831531
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
831532
831532
  const nonce = randomBytes24(16).toString("hex");
831533
- return join197(getCostrictTempDir(), "bundled-skills", "4.2.6-beta", nonce);
831533
+ return join197(getCostrictTempDir(), "bundled-skills", "4.2.6", nonce);
831534
831534
  });
831535
831535
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
831536
831536
  });
@@ -837727,7 +837727,7 @@ function computeFingerprint(messageText, version9) {
837727
837727
  }
837728
837728
  function computeFingerprintFromMessages(messages) {
837729
837729
  const firstMessageText = extractFirstMessageText(messages);
837730
- return computeFingerprint(firstMessageText, "4.2.6-beta");
837730
+ return computeFingerprint(firstMessageText, "4.2.6");
837731
837731
  }
837732
837732
  var FINGERPRINT_SALT = "59cf53e54c78";
837733
837733
  var init_fingerprint = () => {};
@@ -838137,7 +838137,7 @@ function getAnthropicEnvMetadata() {
838137
838137
  function getBuildAgeMinutes() {
838138
838138
  if (false)
838139
838139
  ;
838140
- const buildTime = new Date("2026-06-22T11:00:03.039Z").getTime();
838140
+ const buildTime = new Date("2026-06-23T03:37:45.349Z").getTime();
838141
838141
  if (isNaN(buildTime))
838142
838142
  return;
838143
838143
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -851055,7 +851055,7 @@ async function sideQuery(opts) {
851055
851055
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
851056
851056
  }
851057
851057
  const messageText = extractFirstUserMessageText(messages);
851058
- const fingerprint = computeFingerprint(messageText, "4.2.6-beta");
851058
+ const fingerprint = computeFingerprint(messageText, "4.2.6");
851059
851059
  const attributionHeader = getAttributionHeader(fingerprint);
851060
851060
  const systemBlocks = [
851061
851061
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -854430,7 +854430,7 @@ function buildSystemInitMessage(inputs) {
854430
854430
  slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
854431
854431
  apiKeySource: getAnthropicApiKeyWithSource().source,
854432
854432
  betas: getSdkBetas(),
854433
- claude_code_version: "4.2.6-beta",
854433
+ claude_code_version: "4.2.6",
854434
854434
  output_style: outputStyle2,
854435
854435
  agents: inputs.agents.map((agent) => agent.agentType),
854436
854436
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -859279,7 +859279,7 @@ function appendToLog(path48, message2) {
859279
859279
  cwd: getFsImplementation().cwd(),
859280
859280
  userType: process.env.USER_TYPE,
859281
859281
  sessionId: getSessionId(),
859282
- version: "4.2.6-beta"
859282
+ version: "4.2.6"
859283
859283
  };
859284
859284
  getLogWriter(path48).write(messageWithTimestamp);
859285
859285
  }
@@ -880055,7 +880055,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
880055
880055
  project_dir: getOriginalCwd(),
880056
880056
  added_dirs: addedDirs
880057
880057
  },
880058
- version: "4.2.6-beta",
880058
+ version: "4.2.6",
880059
880059
  output_style: {
880060
880060
  name: outputStyleName
880061
880061
  },
@@ -898638,7 +898638,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
898638
898638
  } catch {}
898639
898639
  const data = {
898640
898640
  trigger,
898641
- version: "4.2.6-beta",
898641
+ version: "4.2.6",
898642
898642
  platform: process.platform,
898643
898643
  transcript,
898644
898644
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -899893,7 +899893,7 @@ function getReleaseType(current2, latest) {
899893
899893
  return "patch";
899894
899894
  }
899895
899895
  async function checkNewAutoUpdate(callbacks) {
899896
- const currentVersion = "4.2.6-beta";
899896
+ const currentVersion = "4.2.6";
899897
899897
  logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
899898
899898
  if (isNewAutoUpdaterDisabled()) {
899899
899899
  return { action: "skip", currentVersion, latestVersion: null };
@@ -910807,7 +910807,7 @@ function WelcomeV2() {
910807
910807
  dimColor: true,
910808
910808
  children: [
910809
910809
  "v",
910810
- "4.2.6-beta",
910810
+ "4.2.6",
910811
910811
  " "
910812
910812
  ]
910813
910813
  })
@@ -910873,7 +910873,7 @@ function WelcomeV2() {
910873
910873
  dimColor: true,
910874
910874
  children: [
910875
910875
  "v",
910876
- "4.2.6-beta",
910876
+ "4.2.6",
910877
910877
  " "
910878
910878
  ]
910879
910879
  })
@@ -910975,7 +910975,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
910975
910975
  dimColor: true,
910976
910976
  children: [
910977
910977
  "v",
910978
- "4.2.6-beta",
910978
+ "4.2.6",
910979
910979
  " "
910980
910980
  ]
910981
910981
  })
@@ -911041,7 +911041,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
911041
911041
  dimColor: true,
911042
911042
  children: [
911043
911043
  "v",
911044
- "4.2.6-beta",
911044
+ "4.2.6",
911045
911045
  " "
911046
911046
  ]
911047
911047
  })
@@ -911981,7 +911981,7 @@ function completeOnboarding() {
911981
911981
  saveGlobalConfig((current2) => ({
911982
911982
  ...current2,
911983
911983
  hasCompletedOnboarding: true,
911984
- lastOnboardingVersion: "4.2.6-beta"
911984
+ lastOnboardingVersion: "4.2.6"
911985
911985
  }));
911986
911986
  }
911987
911987
  function showDialog(root9, renderer) {
@@ -913360,7 +913360,7 @@ function registerWeixinBuiltinPlugin() {
913360
913360
  registerBuiltinPlugin({
913361
913361
  name: "weixin",
913362
913362
  description: "WeChat channel integration. Enables inbound WeChat messages via channels and provides reply/send_typing MCP tools. Configure with `ccb weixin login` and enable for a session with `--channels plugin:weixin@builtin`.",
913363
- version: "4.2.6-beta",
913363
+ version: "4.2.6",
913364
913364
  defaultEnabled: true,
913365
913365
  mcpServers: {
913366
913366
  weixin: {
@@ -925703,7 +925703,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
925703
925703
  setCwd(cwd3);
925704
925704
  const server2 = new Server({
925705
925705
  name: "claude/tengu",
925706
- version: "4.2.6-beta"
925706
+ version: "4.2.6"
925707
925707
  }, {
925708
925708
  capabilities: {
925709
925709
  tools: {}
@@ -927988,7 +927988,7 @@ function createHealthRoutes(sessionManager) {
927988
927988
  const uptime2 = process.uptime() * 1000;
927989
927989
  return c10.json({
927990
927990
  status: "ok",
927991
- version: "4.2.6-beta",
927991
+ version: "4.2.6",
927992
927992
  uptime_ms: Math.round(uptime2),
927993
927993
  active_sessions: sessionManager.getActiveCount()
927994
927994
  });
@@ -928259,7 +928259,7 @@ function getMacroDefines() {
928259
928259
  commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
928260
928260
  } catch {}
928261
928261
  return {
928262
- "MACRO.VERSION": JSON.stringify("4.2.6-beta"),
928262
+ "MACRO.VERSION": JSON.stringify("4.2.6"),
928263
928263
  "MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
928264
928264
  "MACRO.COMMIT": JSON.stringify(commit),
928265
928265
  "MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
@@ -930850,10 +930850,14 @@ function handleUserMessage(msg, ctx) {
930850
930850
  const content = typeof msg.content === "string" ? msg.content : "";
930851
930851
  if (content.includes("<local-command-stdout>"))
930852
930852
  return;
930853
+ const msgUuid = msg.uuid;
930854
+ if (msgUuid && msgUuid === ctx.getLastPromptUserUuid()) {
930855
+ return;
930856
+ }
930853
930857
  ctx.emitOpencodeEvent("message.updated", {
930854
930858
  sessionID: emitSessionID,
930855
930859
  info: {
930856
- id: msg.uuid ?? randomUUID82(),
930860
+ id: msgUuid ?? randomUUID82(),
930857
930861
  role: "user",
930858
930862
  time: { created: Date.now() },
930859
930863
  parentID: null
@@ -930902,11 +930906,11 @@ function handleResultMessage(msg, ctx) {
930902
930906
  if (usage2?.output_tokens)
930903
930907
  ctx.addOutputTokens(usage2.output_tokens);
930904
930908
  ctx.setBusyStatus({ type: "idle" });
930905
- ctx.emitBusyStatus();
930906
930909
  if (ctx.getCompactState()) {
930907
930910
  emitCompactContinueMessage(ctx);
930908
930911
  ctx.setCompactState(undefined);
930909
930912
  }
930913
+ ctx.emitBusyStatus();
930910
930914
  ctx.emitOpencodeEvent("session.result", {
930911
930915
  sessionID: ctx.sessionId,
930912
930916
  subtype: msg.subtype ?? "success",
@@ -932137,6 +932141,7 @@ var init_sessionHandle = __esm(() => {
932137
932141
  initReject = null;
932138
932142
  _prompting = false;
932139
932143
  _lastMessageUuid = null;
932144
+ _lastPromptUserUuid = null;
932140
932145
  _controlChannel = new ControlChannel;
932141
932146
  _titleGenerationAttempted = false;
932142
932147
  _firstPromptContent;
@@ -932207,6 +932212,9 @@ var init_sessionHandle = __esm(() => {
932207
932212
  get lastMessageUuid() {
932208
932213
  return this._lastMessageUuid;
932209
932214
  }
932215
+ get lastPromptUserUuid() {
932216
+ return this._lastPromptUserUuid;
932217
+ }
932210
932218
  getEffectiveBusyStatus() {
932211
932219
  if (this._prompting) {
932212
932220
  return { type: "busy" };
@@ -932516,6 +932524,7 @@ ${stdoutTail}` : ""}` + `
932516
932524
  getProviderId: () => this._providerId,
932517
932525
  getInitRequestId: () => this.initRequestId,
932518
932526
  getLastMessageUuid: () => this._lastMessageUuid,
932527
+ getLastPromptUserUuid: () => this._lastPromptUserUuid,
932519
932528
  setStatus: (s) => {
932520
932529
  this._status = s;
932521
932530
  },
@@ -932639,6 +932648,7 @@ ${stdoutTail}` : ""}` + `
932639
932648
  this._busyStatus = { type: "busy" };
932640
932649
  this.lastActiveAt = Date.now();
932641
932650
  const uuid9 = opts?.messageID ?? crypto.randomUUID();
932651
+ this._lastPromptUserUuid = uuid9;
932642
932652
  const userMsg = jsonStringify({
932643
932653
  type: "user",
932644
932654
  content,
@@ -934071,7 +934081,7 @@ __export(exports_update, {
934071
934081
  });
934072
934082
  async function update() {
934073
934083
  logEvent("tengu_update_check", {});
934074
- writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.6-beta"}
934084
+ writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.6"}
934075
934085
  `);
934076
934086
  const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
934077
934087
  writeToStdout(`${t("cli.update.checkingUpdates", { channel: channel5 }, "Checking for updates to {channel} version...")}
@@ -934146,8 +934156,8 @@ async function update() {
934146
934156
  writeToStdout(`${t("cli.update.managedByHomebrew", "CoStrict is managed by Homebrew.")}
934147
934157
  `);
934148
934158
  const latest = await getLatestVersion(channel5);
934149
- if (latest && !gte2("4.2.6-beta", latest)) {
934150
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6-beta", latest }, "Update available: {current} \u2192 {latest}")}
934159
+ if (latest && !gte2("4.2.6", latest)) {
934160
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6", latest }, "Update available: {current} \u2192 {latest}")}
934151
934161
  `);
934152
934162
  writeToStdout(`
934153
934163
  `);
@@ -934163,8 +934173,8 @@ async function update() {
934163
934173
  writeToStdout(`${t("cli.update.managedByWinget", "CoStrict is managed by winget.")}
934164
934174
  `);
934165
934175
  const latest = await getLatestVersion(channel5);
934166
- if (latest && !gte2("4.2.6-beta", latest)) {
934167
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6-beta", latest }, "Update available: {current} \u2192 {latest}")}
934176
+ if (latest && !gte2("4.2.6", latest)) {
934177
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6", latest }, "Update available: {current} \u2192 {latest}")}
934168
934178
  `);
934169
934179
  writeToStdout(`
934170
934180
  `);
@@ -934180,8 +934190,8 @@ async function update() {
934180
934190
  writeToStdout(`${t("cli.update.managedByApk", "CoStrict is managed by apk.")}
934181
934191
  `);
934182
934192
  const latest = await getLatestVersion(channel5);
934183
- if (latest && !gte2("4.2.6-beta", latest)) {
934184
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6-beta", latest }, "Update available: {current} \u2192 {latest}")}
934193
+ if (latest && !gte2("4.2.6", latest)) {
934194
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.6", latest }, "Update available: {current} \u2192 {latest}")}
934185
934195
  `);
934186
934196
  writeToStdout(`
934187
934197
  `);
@@ -934246,11 +934256,11 @@ async function update() {
934246
934256
  `);
934247
934257
  await gracefulShutdown(1);
934248
934258
  }
934249
- if (result2.latestVersion === "4.2.6-beta") {
934250
- writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.6-beta" }, "CoStrict is up to date ({version})")) + `
934259
+ if (result2.latestVersion === "4.2.6") {
934260
+ writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.6" }, "CoStrict is up to date ({version})")) + `
934251
934261
  `);
934252
934262
  } else {
934253
- writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.6-beta", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
934263
+ writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.6", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
934254
934264
  `);
934255
934265
  regenerateCompletionCache();
934256
934266
  }
@@ -934310,12 +934320,12 @@ async function update() {
934310
934320
  `);
934311
934321
  await gracefulShutdown(1);
934312
934322
  }
934313
- if (latestVersion === "4.2.6-beta") {
934314
- writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.6-beta" }, "CoStrict is up to date ({version})")) + `
934323
+ if (latestVersion === "4.2.6") {
934324
+ writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.6" }, "CoStrict is up to date ({version})")) + `
934315
934325
  `);
934316
934326
  await gracefulShutdown(0);
934317
934327
  }
934318
- writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.6-beta" }, "New version available: {latest} (current: {current})")}
934328
+ writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.6" }, "New version available: {latest} (current: {current})")}
934319
934329
  `);
934320
934330
  writeToStdout(`${t("cli.update.installing", "Installing update...")}
934321
934331
  `);
@@ -934360,7 +934370,7 @@ async function update() {
934360
934370
  logForDebugging(`update: Installation status: ${result.status}`);
934361
934371
  switch (result.status) {
934362
934372
  case "success":
934363
- writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.6-beta", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
934373
+ writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.6", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
934364
934374
  `);
934365
934375
  regenerateCompletionCache();
934366
934376
  break;
@@ -936574,7 +936584,7 @@ ${assistantAddendum}` : assistantAddendum;
936574
936584
  }
936575
936585
  }
936576
936586
  logForDiagnosticsNoPII("info", "started", {
936577
- version: "4.2.6-beta",
936587
+ version: "4.2.6",
936578
936588
  is_native_binary: isInBundledMode()
936579
936589
  });
936580
936590
  registerCleanup(async () => {
@@ -937055,7 +937065,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
937055
937065
  sshSession = await createSSHSession2({
937056
937066
  host: _pendingSSH.host,
937057
937067
  cwd: _pendingSSH.cwd,
937058
- localVersion: "4.2.6-beta",
937068
+ localVersion: "4.2.6",
937059
937069
  permissionMode: _pendingSSH.permissionMode,
937060
937070
  dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
937061
937071
  extraCliArgs: _pendingSSH.extraCliArgs,
@@ -937527,7 +937537,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
937527
937537
  pendingHookMessages
937528
937538
  }, renderAndRun);
937529
937539
  }
937530
- }).version("4.2.6-beta (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
937540
+ }).version("4.2.6 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
937531
937541
  program2.addOption(new Option("-w, --worktree [name]", cliDesc("cli.option.worktree", "Create a new git worktree for this session (optionally specify a name)")).hideHelp());
937532
937542
  program2.addOption(new Option("--tmux", cliDesc("cli.option.tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.")).hideHelp());
937533
937543
  if (canUserConfigureAdvisor()) {
@@ -938242,10 +938252,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
938242
938252
  async function main2() {
938243
938253
  const args = process.argv.slice(2);
938244
938254
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
938245
- const d7 = new Date("2026-06-22T11:00:03.039Z");
938255
+ const d7 = new Date("2026-06-23T03:37:45.349Z");
938246
938256
  const p2 = (n3) => String(n3).padStart(2, "0");
938247
938257
  const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
938248
- console.log(`${"4.2.6-beta"} (commit: ${"45c31bd51"}, built: ${buildTime})`);
938258
+ console.log(`${"4.2.6"} (commit: ${"559a32ad3"}, built: ${buildTime})`);
938249
938259
  return;
938250
938260
  }
938251
938261
  const { profileCheckpoint: profileCheckpoint2 } = await Promise.resolve().then(() => (init_startupProfiler(), exports_startupProfiler));
@@ -938285,7 +938295,7 @@ async function main2() {
938285
938295
  registerPermissionHandler(server2, handler) {
938286
938296
  server2.setNotificationHandler(ChannelPermissionRequestNotificationSchema2(), async (notification) => handler(notification.params));
938287
938297
  }
938288
- }, "4.2.6-beta");
938298
+ }, "4.2.6");
938289
938299
  return;
938290
938300
  }
938291
938301
  if (args[0] === "--daemon-worker" || args[0]?.startsWith("--daemon-worker=")) {
@@ -938383,5 +938393,5 @@ async function main2() {
938383
938393
  }
938384
938394
  main2();
938385
938395
 
938386
- //# debugId=8AD428C6B9E3C1E064756E2164756E21
938396
+ //# debugId=0D87248E1D2F848D64756E2164756E21
938387
938397
  //# sourceMappingURL=cli.js.map
@@ -508,8 +508,8 @@ async function saveCoStrictCredentials(credentials) {
508
508
  import { createRequire } from "module";
509
509
  function getVersion() {
510
510
  try {
511
- if (typeof MACRO !== "undefined" && "4.2.6-beta")
512
- return "4.2.6-beta";
511
+ if (typeof MACRO !== "undefined" && "4.2.6")
512
+ return "4.2.6";
513
513
  } catch {}
514
514
  try {
515
515
  const require2 = createRequire(import.meta.url);
@@ -2422,5 +2422,5 @@ export {
2422
2422
  startBatchWorker
2423
2423
  };
2424
2424
 
2425
- //# debugId=DBEFE117BA4F550764756E2164756E21
2425
+ //# debugId=56D185F86C6BF97E64756E2164756E21
2426
2426
  //# sourceMappingURL=batchWorker.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.6-beta",
3
+ "version": "4.2.6",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",