@costrict/csc 4.2.20 → 4.2.21-beta1

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
@@ -66656,8 +66656,8 @@ function getClientVersion() {
66656
66656
  if (cached)
66657
66657
  return cached;
66658
66658
  try {
66659
- if ("4.2.20") {
66660
- cached = "4.2.20";
66659
+ if ("4.2.21-beta1") {
66660
+ cached = "4.2.21-beta1";
66661
66661
  return cached;
66662
66662
  }
66663
66663
  } catch {}
@@ -140277,7 +140277,7 @@ function getUserSpecifiedModelSetting() {
140277
140277
  const provider = getAPIProvider();
140278
140278
  specifiedModel = settings.model || (provider === "firstParty" || provider === "bedrock" || provider === "vertex" || provider === "foundry" ? process.env.ANTHROPIC_MODEL : undefined) || undefined;
140279
140279
  }
140280
- if (specifiedModel && !isModelAllowed(specifiedModel)) {
140280
+ if (specifiedModel && process.env.CSC_SERVE_MODE !== "1" && !isModelAllowed(specifiedModel)) {
140281
140281
  return;
140282
140282
  }
140283
140283
  if (specifiedModel && getAPIProvider() === "costrict" && isModelAlias(specifiedModel)) {
@@ -220411,7 +220411,7 @@ async function fetchCoStrictModels(baseUrl, accessToken) {
220411
220411
  headers: {
220412
220412
  Authorization: `Bearer ${accessToken}`,
220413
220413
  Accept: "application/json",
220414
- "User-Agent": `csc/${"4.2.20"}`
220414
+ "User-Agent": `csc/${"4.2.21-beta1"}`
220415
220415
  },
220416
220416
  signal: controller.signal
220417
220417
  });
@@ -222448,7 +222448,7 @@ var init_auth7 = __esm(() => {
222448
222448
 
222449
222449
  // src/utils/userAgent.ts
222450
222450
  function getClaudeCodeUserAgent() {
222451
- return `costrict/${"4.2.20"}`;
222451
+ return `costrict/${"4.2.21-beta1"}`;
222452
222452
  }
222453
222453
 
222454
222454
  // src/utils/workloadContext.ts
@@ -222470,7 +222470,7 @@ function getUserAgent() {
222470
222470
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
222471
222471
  const workload = getWorkload();
222472
222472
  const workloadSuffix = workload ? `, workload/${workload}` : "";
222473
- return `csc/${"4.2.20"}`;
222473
+ return `csc/${"4.2.21-beta1"}`;
222474
222474
  }
222475
222475
  function getMCPUserAgent() {
222476
222476
  const parts = [];
@@ -222484,7 +222484,7 @@ function getMCPUserAgent() {
222484
222484
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
222485
222485
  }
222486
222486
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
222487
- return `csc/${"4.2.20"}${suffix}`;
222487
+ return `csc/${"4.2.21-beta1"}${suffix}`;
222488
222488
  }
222489
222489
  function getWebFetchUserAgent() {
222490
222490
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -222604,7 +222604,7 @@ var init_user = __esm(() => {
222604
222604
  deviceId,
222605
222605
  sessionId: getSessionId(),
222606
222606
  email: getEmail(),
222607
- appVersion: "4.2.20",
222607
+ appVersion: "4.2.21-beta1",
222608
222608
  platform: getHostPlatformForAnalytics(),
222609
222609
  organizationUuid,
222610
222610
  accountUuid,
@@ -233652,7 +233652,7 @@ var init_metadata = __esm(() => {
233652
233652
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
233653
233653
  WHITESPACE_REGEX = /\s+/;
233654
233654
  getVersionBase = memoize_default(() => {
233655
- const match = "4.2.20".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
233655
+ const match = "4.2.21-beta1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
233656
233656
  return match ? match[0] : undefined;
233657
233657
  });
233658
233658
  buildEnvContext = memoize_default(async () => {
@@ -233692,9 +233692,9 @@ var init_metadata = __esm(() => {
233692
233692
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
233693
233693
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
233694
233694
  isClaudeAiAuth: isClaudeAISubscriber(),
233695
- version: "4.2.20",
233695
+ version: "4.2.21-beta1",
233696
233696
  versionBase: getVersionBase(),
233697
- buildTime: "2026-07-30T04:23:55.080Z",
233697
+ buildTime: "2026-07-30T10:15:05.187Z",
233698
233698
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
233699
233699
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
233700
233700
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -234365,7 +234365,7 @@ function initialize1PEventLogging() {
234365
234365
  const platform3 = getPlatform();
234366
234366
  const attributes = {
234367
234367
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
234368
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.20"
234368
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.21-beta1"
234369
234369
  };
234370
234370
  if (platform3 === "wsl") {
234371
234371
  const wslVersion = getWslVersion();
@@ -234392,7 +234392,7 @@ function initialize1PEventLogging() {
234392
234392
  })
234393
234393
  ]
234394
234394
  });
234395
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.20");
234395
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.21-beta1");
234396
234396
  }
234397
234397
  async function reinitialize1PEventLoggingIfConfigChanged() {
234398
234398
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -434408,7 +434408,7 @@ function getTelemetryAttributes() {
434408
434408
  attributes["session.id"] = sessionId;
434409
434409
  }
434410
434410
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
434411
- attributes["app.version"] = "4.2.20";
434411
+ attributes["app.version"] = "4.2.21-beta1";
434412
434412
  }
434413
434413
  const oauthAccount = getOauthAccountInfo();
434414
434414
  if (oauthAccount) {
@@ -467928,7 +467928,7 @@ function initLangfuse() {
467928
467928
  flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
467929
467929
  mask: maskFn,
467930
467930
  environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
467931
- release: "4.2.20",
467931
+ release: "4.2.21-beta1",
467932
467932
  exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
467933
467933
  timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
467934
467934
  });
@@ -499828,7 +499828,7 @@ function initSentry() {
499828
499828
  }
499829
499829
  init3({
499830
499830
  dsn,
499831
- release: typeof MACRO !== "undefined" ? "4.2.20" : undefined,
499831
+ release: typeof MACRO !== "undefined" ? "4.2.21-beta1" : undefined,
499832
499832
  environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "production",
499833
499833
  maxBreadcrumbs: 20,
499834
499834
  sampleRate: 1,
@@ -527725,7 +527725,7 @@ async function initializeBetaTracing(resource) {
527725
527725
  });
527726
527726
  logs.setGlobalLoggerProvider(loggerProvider);
527727
527727
  setLoggerProvider(loggerProvider);
527728
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.20");
527728
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.21-beta1");
527729
527729
  setEventLogger(eventLogger);
527730
527730
  process.on("beforeExit", async () => {
527731
527731
  await loggerProvider?.forceFlush();
@@ -527765,7 +527765,7 @@ async function initializeTelemetry() {
527765
527765
  const platform5 = getPlatform();
527766
527766
  const baseAttributes = {
527767
527767
  [import_semantic_conventions29.ATTR_SERVICE_NAME]: "claude-code",
527768
- [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.20"
527768
+ [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.21-beta1"
527769
527769
  };
527770
527770
  if (platform5 === "wsl") {
527771
527771
  const wslVersion = getWslVersion();
@@ -527810,7 +527810,7 @@ async function initializeTelemetry() {
527810
527810
  } catch {}
527811
527811
  };
527812
527812
  registerCleanup(shutdownTelemetry2);
527813
- return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.20");
527813
+ return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.21-beta1");
527814
527814
  }
527815
527815
  const meterProvider = new import_sdk_metrics2.MeterProvider({
527816
527816
  resource,
@@ -527830,7 +527830,7 @@ async function initializeTelemetry() {
527830
527830
  });
527831
527831
  logs.setGlobalLoggerProvider(loggerProvider);
527832
527832
  setLoggerProvider(loggerProvider);
527833
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.20");
527833
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.21-beta1");
527834
527834
  setEventLogger(eventLogger);
527835
527835
  logForDebugging("[3P telemetry] Event logger set successfully");
527836
527836
  process.on("beforeExit", async () => {
@@ -527892,7 +527892,7 @@ Current timeout: ${timeoutMs}ms
527892
527892
  }
527893
527893
  };
527894
527894
  registerCleanup(shutdownTelemetry);
527895
- return meterProvider.getMeter("com.anthropic.claude_code", "4.2.20");
527895
+ return meterProvider.getMeter("com.anthropic.claude_code", "4.2.21-beta1");
527896
527896
  }
527897
527897
  async function flushTelemetry() {
527898
527898
  const meterProvider = getMeterProvider();
@@ -528951,7 +528951,7 @@ async function installGlobalPackage(specificVersion) {
528951
528951
  logError3(new AutoUpdaterError("Another process is currently installing an update"));
528952
528952
  logEvent("tengu_auto_updater_lock_contention", {
528953
528953
  pid: process.pid,
528954
- currentVersion: "4.2.20"
528954
+ currentVersion: "4.2.21-beta1"
528955
528955
  });
528956
528956
  return { status: "in_progress" };
528957
528957
  }
@@ -528960,7 +528960,7 @@ async function installGlobalPackage(specificVersion) {
528960
528960
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
528961
528961
  logError3(new Error("Windows NPM detected in WSL environment"));
528962
528962
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
528963
- currentVersion: "4.2.20"
528963
+ currentVersion: "4.2.21-beta1"
528964
528964
  });
528965
528965
  return {
528966
528966
  status: "install_failed",
@@ -529506,7 +529506,7 @@ function detectLinuxGlobPatternWarnings() {
529506
529506
  }
529507
529507
  async function getDoctorDiagnostic() {
529508
529508
  const installationType = await getCurrentInstallationType();
529509
- const version9 = typeof MACRO !== "undefined" ? "4.2.20" : "unknown";
529509
+ const version9 = typeof MACRO !== "undefined" ? "4.2.21-beta1" : "unknown";
529510
529510
  const installationPath = await getInstallationPath();
529511
529511
  const invokedBinary = getInvokedBinary();
529512
529512
  const multipleInstallations = await detectMultipleInstallations();
@@ -567693,7 +567693,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
567693
567693
  const client10 = new Client3({
567694
567694
  name: "claude-code",
567695
567695
  title: "CoStrict",
567696
- version: "4.2.20",
567696
+ version: "4.2.21-beta1",
567697
567697
  description: "CoStrict agentic coding tool",
567698
567698
  websiteUrl: PRODUCT_URL
567699
567699
  }, {
@@ -568064,7 +568064,7 @@ var init_client18 = __esm(() => {
568064
568064
  const client10 = new Client3({
568065
568065
  name: "claude-code",
568066
568066
  title: "CoStrict",
568067
- version: "4.2.20",
568067
+ version: "4.2.21-beta1",
568068
568068
  description: "CoStrict agentic coding tool",
568069
568069
  websiteUrl: PRODUCT_URL
568070
568070
  }, {
@@ -569454,7 +569454,7 @@ function getInstallationEnv() {
569454
569454
  return;
569455
569455
  }
569456
569456
  function getClaudeCodeVersion() {
569457
- return "4.2.20";
569457
+ return "4.2.21-beta1";
569458
569458
  }
569459
569459
  async function getInstalledVSCodeExtensionVersion(command4) {
569460
569460
  const { stdout } = await execFileNoThrow2(command4, ["--list-extensions", "--show-versions"], {
@@ -570818,8 +570818,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
570818
570818
  const maxVersion = await getMaxVersion();
570819
570819
  if (maxVersion && gt(version10, maxVersion)) {
570820
570820
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version10} to ${maxVersion}`);
570821
- if (gte2("4.2.20", maxVersion)) {
570822
- logForDebugging(`Native installer: current version ${"4.2.20"} is already at or above maxVersion ${maxVersion}, skipping update`);
570821
+ if (gte2("4.2.21-beta1", maxVersion)) {
570822
+ logForDebugging(`Native installer: current version ${"4.2.21-beta1"} is already at or above maxVersion ${maxVersion}, skipping update`);
570823
570823
  logEvent("tengu_native_update_skipped_max_version", {
570824
570824
  latency_ms: Date.now() - startTime2,
570825
570825
  max_version: maxVersion,
@@ -570830,7 +570830,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
570830
570830
  version10 = maxVersion;
570831
570831
  }
570832
570832
  }
570833
- if (!forceReinstall && version10 === "4.2.20" && await versionIsAvailable(version10) && await isPossibleClaudeBinary(executablePath)) {
570833
+ if (!forceReinstall && version10 === "4.2.21-beta1" && await versionIsAvailable(version10) && await isPossibleClaudeBinary(executablePath)) {
570834
570834
  logForDebugging(`Found ${version10} at ${executablePath}, skipping install`);
570835
570835
  logEvent("tengu_native_update_complete", {
570836
570836
  latency_ms: Date.now() - startTime2,
@@ -708894,7 +708894,7 @@ function Feedback({
708894
708894
  platform: env4.platform,
708895
708895
  gitRepo: envInfo.isGit,
708896
708896
  terminal: env4.terminal,
708897
- version: "4.2.20",
708897
+ version: "4.2.21-beta1",
708898
708898
  transcript: normalizeMessagesForAPI(messages),
708899
708899
  errors: sanitizedErrors,
708900
708900
  lastApiRequest: getLastAPIRequest(),
@@ -709077,7 +709077,7 @@ function Feedback({
709077
709077
  ", ",
709078
709078
  env4.terminal,
709079
709079
  ", v",
709080
- "4.2.20"
709080
+ "4.2.21-beta1"
709081
709081
  ]
709082
709082
  })
709083
709083
  ]
@@ -709174,7 +709174,7 @@ ${sanitizedDescription}
709174
709174
  ` + `**Environment Info**
709175
709175
  ` + `- Platform: ${env4.platform}
709176
709176
  ` + `- Terminal: ${env4.terminal}
709177
- ` + `- Version: ${"4.2.20"}
709177
+ ` + `- Version: ${"4.2.21-beta1"}
709178
709178
  ` + `- Feedback ID: ${feedbackId}
709179
709179
  ` + `
709180
709180
  **Errors**
@@ -711413,7 +711413,7 @@ function buildPrimarySection() {
711413
711413
  children: t("settings.status.renameHint")
711414
711414
  });
711415
711415
  return [
711416
- { label: t("settings.status.version"), value: "4.2.20" },
711416
+ { label: t("settings.status.version"), value: "4.2.21-beta1" },
711417
711417
  { label: t("settings.status.sessionName"), value: nameValue },
711418
711418
  { label: t("settings.status.sessionId"), value: sessionId },
711419
711419
  { label: t("settings.status.cwd"), value: getCwd() },
@@ -714271,7 +714271,7 @@ function Config({
714271
714271
  }
714272
714272
  })
714273
714273
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime191.jsx(ChannelDowngradeDialog, {
714274
- currentVersion: "4.2.20",
714274
+ currentVersion: "4.2.21-beta1",
714275
714275
  onChoice: (choice) => {
714276
714276
  setShowSubmenu(null);
714277
714277
  setTabsHidden(false);
@@ -714283,7 +714283,7 @@ function Config({
714283
714283
  autoUpdatesChannel: "stable"
714284
714284
  };
714285
714285
  if (choice === "stay") {
714286
- newSettings.minimumVersion = "4.2.20";
714286
+ newSettings.minimumVersion = "4.2.21-beta1";
714287
714287
  }
714288
714288
  updateSettingsForSource("userSettings", newSettings);
714289
714289
  setSettingsData((prev) => ({
@@ -719752,7 +719752,7 @@ function HelpV2({ onClose, commands: commands11 }) {
719752
719752
  color: "professionalBlue",
719753
719753
  children: [
719754
719754
  /* @__PURE__ */ jsx_runtime218.jsx(Tabs, {
719755
- title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.20"}`,
719755
+ title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.21-beta1"}`,
719756
719756
  color: "professionalBlue",
719757
719757
  defaultTab: "general",
719758
719758
  children: tabs
@@ -742753,7 +742753,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
742753
742753
  return [];
742754
742754
  }
742755
742755
  }
742756
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.20") {
742756
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.21-beta1") {
742757
742757
  if (process.env.USER_TYPE === "sf") {
742758
742758
  const changelog = "";
742759
742759
  if (changelog) {
@@ -742780,7 +742780,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.20")
742780
742780
  releaseNotes
742781
742781
  };
742782
742782
  }
742783
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.20") {
742783
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.21-beta1") {
742784
742784
  if (process.env.USER_TYPE === "sf") {
742785
742785
  const changelog = "";
742786
742786
  if (changelog) {
@@ -745293,7 +745293,7 @@ function isNotLoggedIn() {
745293
745293
  return true;
745294
745294
  }
745295
745295
  function getLogoDisplayData() {
745296
- const version10 = process.env.DEMO_VERSION ?? "4.2.20";
745296
+ const version10 = process.env.DEMO_VERSION ?? "4.2.21-beta1";
745297
745297
  const serverUrl = getDirectConnectServerUrl();
745298
745298
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
745299
745299
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -745871,7 +745871,7 @@ var init_MatrixMessageLine = __esm(() => {
745871
745871
  // src/components/matrix-tactical/MatrixWelcome.tsx
745872
745872
  import { basename as basename47 } from "path";
745873
745873
  function MatrixWelcome({
745874
- version: version10 = "4.2.20",
745874
+ version: version10 = "4.2.21-beta1",
745875
745875
  projectName,
745876
745876
  cwd: cwd2,
745877
745877
  modelDisplayName,
@@ -746506,13 +746506,13 @@ function LogoV2() {
746506
746506
  const { hasReleaseNotes } = checkForReleaseNotesSync(config13.lastReleaseNotesSeen);
746507
746507
  import_react167.useEffect(() => {
746508
746508
  const currentConfig = getGlobalConfig();
746509
- if (currentConfig.lastReleaseNotesSeen === "4.2.20") {
746509
+ if (currentConfig.lastReleaseNotesSeen === "4.2.21-beta1") {
746510
746510
  return;
746511
746511
  }
746512
746512
  saveGlobalConfig((current2) => {
746513
- if (current2.lastReleaseNotesSeen === "4.2.20")
746513
+ if (current2.lastReleaseNotesSeen === "4.2.21-beta1")
746514
746514
  return current2;
746515
- return { ...current2, lastReleaseNotesSeen: "4.2.20" };
746515
+ return { ...current2, lastReleaseNotesSeen: "4.2.21-beta1" };
746516
746516
  });
746517
746517
  if (showOnboarding) {
746518
746518
  incrementProjectOnboardingSeenCount();
@@ -769042,7 +769042,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
769042
769042
  smapsRollup,
769043
769043
  platform: process.platform,
769044
769044
  nodeVersion: process.version,
769045
- ccVersion: "4.2.20"
769045
+ ccVersion: "4.2.21-beta1"
769046
769046
  };
769047
769047
  }
769048
769048
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -769158,7 +769158,7 @@ var init_mock_limits = __esm(() => {
769158
769158
  var call55 = async () => {
769159
769159
  return {
769160
769160
  type: "text",
769161
- value: `${"4.2.20"} (built ${"2026-07-30T04:23:55.080Z"})`
769161
+ value: `${"4.2.21-beta1"} (built ${"2026-07-30T10:15:05.187Z"})`
769162
769162
  };
769163
769163
  }, version10, version_default;
769164
769164
  var init_version2 = __esm(() => {
@@ -786923,7 +786923,7 @@ function generateHtmlReport(data, insights) {
786923
786923
  </html>`;
786924
786924
  }
786925
786925
  function buildExportData(data, insights, facets, remoteStats) {
786926
- const version11 = typeof MACRO !== "undefined" ? "4.2.20" : "unknown";
786926
+ const version11 = typeof MACRO !== "undefined" ? "4.2.21-beta1" : "unknown";
786927
786927
  const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
786928
786928
  const facets_summary = {
786929
786929
  total: facets.size,
@@ -791373,7 +791373,7 @@ var init_sessionStorage = __esm(() => {
791373
791373
  init_settings2();
791374
791374
  init_slowOperations();
791375
791375
  init_uuid();
791376
- VERSION11 = typeof MACRO !== "undefined" ? "4.2.20" : "unknown";
791376
+ VERSION11 = typeof MACRO !== "undefined" ? "4.2.21-beta1" : "unknown";
791377
791377
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
791378
791378
  SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
791379
791379
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -792714,7 +792714,7 @@ var init_filesystem = __esm(() => {
792714
792714
  });
792715
792715
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
792716
792716
  const nonce = randomBytes24(16).toString("hex");
792717
- return join204(getCostrictTempDir(), "bundled-skills", "4.2.20", nonce);
792717
+ return join204(getCostrictTempDir(), "bundled-skills", "4.2.21-beta1", nonce);
792718
792718
  });
792719
792719
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
792720
792720
  });
@@ -798984,7 +798984,7 @@ function computeFingerprint(messageText, version11) {
798984
798984
  }
798985
798985
  function computeFingerprintFromMessages(messages) {
798986
798986
  const firstMessageText = extractFirstMessageText(messages);
798987
- return computeFingerprint(firstMessageText, "4.2.20");
798987
+ return computeFingerprint(firstMessageText, "4.2.21-beta1");
798988
798988
  }
798989
798989
  var FINGERPRINT_SALT = "59cf53e54c78";
798990
798990
  var init_fingerprint = () => {};
@@ -799394,7 +799394,7 @@ function getAnthropicEnvMetadata() {
799394
799394
  function getBuildAgeMinutes() {
799395
799395
  if (false)
799396
799396
  ;
799397
- const buildTime = new Date("2026-07-30T04:23:55.080Z").getTime();
799397
+ const buildTime = new Date("2026-07-30T10:15:05.187Z").getTime();
799398
799398
  if (isNaN(buildTime))
799399
799399
  return;
799400
799400
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -804791,7 +804791,7 @@ async function sideQuery(opts) {
804791
804791
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
804792
804792
  }
804793
804793
  const messageText = extractFirstUserMessageText(messages);
804794
- const fingerprint = computeFingerprint(messageText, "4.2.20");
804794
+ const fingerprint = computeFingerprint(messageText, "4.2.21-beta1");
804795
804795
  const attributionHeader = getAttributionHeader(fingerprint);
804796
804796
  const systemBlocks = [
804797
804797
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -808187,7 +808187,7 @@ function buildSystemInitMessage(inputs) {
808187
808187
  slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
808188
808188
  apiKeySource: getAnthropicApiKeyWithSource().source,
808189
808189
  betas: getSdkBetas(),
808190
- claude_code_version: "4.2.20",
808190
+ claude_code_version: "4.2.21-beta1",
808191
808191
  output_style: outputStyle2,
808192
808192
  agents: inputs.agents.map((agent) => agent.agentType),
808193
808193
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -811731,7 +811731,7 @@ function appendToLog(path58, message2) {
811731
811731
  cwd: getFsImplementation().cwd(),
811732
811732
  userType: process.env.USER_TYPE,
811733
811733
  sessionId: getSessionId(),
811734
- version: "4.2.20"
811734
+ version: "4.2.21-beta1"
811735
811735
  };
811736
811736
  getLogWriter(path58).write(messageWithTimestamp);
811737
811737
  }
@@ -832776,7 +832776,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
832776
832776
  project_dir: getOriginalCwd(),
832777
832777
  added_dirs: addedDirs
832778
832778
  },
832779
- version: "4.2.20",
832779
+ version: "4.2.21-beta1",
832780
832780
  output_style: {
832781
832781
  name: outputStyleName
832782
832782
  },
@@ -851401,7 +851401,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
851401
851401
  } catch {}
851402
851402
  const data = {
851403
851403
  trigger,
851404
- version: "4.2.20",
851404
+ version: "4.2.21-beta1",
851405
851405
  platform: process.platform,
851406
851406
  transcript,
851407
851407
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -852656,7 +852656,7 @@ function getReleaseType(current2, latest) {
852656
852656
  return "patch";
852657
852657
  }
852658
852658
  async function checkNewAutoUpdate(callbacks) {
852659
- const currentVersion = "4.2.20";
852659
+ const currentVersion = "4.2.21-beta1";
852660
852660
  logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
852661
852661
  if (isNewAutoUpdaterDisabled()) {
852662
852662
  return { action: "skip", currentVersion, latestVersion: null };
@@ -863889,7 +863889,7 @@ function WelcomeV2() {
863889
863889
  dimColor: true,
863890
863890
  children: [
863891
863891
  "v",
863892
- "4.2.20",
863892
+ "4.2.21-beta1",
863893
863893
  " "
863894
863894
  ]
863895
863895
  })
@@ -863955,7 +863955,7 @@ function WelcomeV2() {
863955
863955
  dimColor: true,
863956
863956
  children: [
863957
863957
  "v",
863958
- "4.2.20",
863958
+ "4.2.21-beta1",
863959
863959
  " "
863960
863960
  ]
863961
863961
  })
@@ -864057,7 +864057,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
864057
864057
  dimColor: true,
864058
864058
  children: [
864059
864059
  "v",
864060
- "4.2.20",
864060
+ "4.2.21-beta1",
864061
864061
  " "
864062
864062
  ]
864063
864063
  })
@@ -864123,7 +864123,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
864123
864123
  dimColor: true,
864124
864124
  children: [
864125
864125
  "v",
864126
- "4.2.20",
864126
+ "4.2.21-beta1",
864127
864127
  " "
864128
864128
  ]
864129
864129
  })
@@ -865063,7 +865063,7 @@ function completeOnboarding() {
865063
865063
  saveGlobalConfig((current2) => ({
865064
865064
  ...current2,
865065
865065
  hasCompletedOnboarding: true,
865066
- lastOnboardingVersion: "4.2.20"
865066
+ lastOnboardingVersion: "4.2.21-beta1"
865067
865067
  }));
865068
865068
  }
865069
865069
  function showDialog(root9, renderer) {
@@ -880129,7 +880129,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
880129
880129
  setCwd(cwd3);
880130
880130
  const server2 = new Server({
880131
880131
  name: "claude/tengu",
880132
- version: "4.2.20"
880132
+ version: "4.2.21-beta1"
880133
880133
  }, {
880134
880134
  capabilities: {
880135
880135
  tools: {}
@@ -882414,7 +882414,7 @@ function createHealthRoutes(sessionManager) {
882414
882414
  const uptime2 = process.uptime() * 1000;
882415
882415
  return c10.json({
882416
882416
  status: "ok",
882417
- version: "4.2.20",
882417
+ version: "4.2.21-beta1",
882418
882418
  uptime_ms: Math.round(uptime2),
882419
882419
  active_sessions: sessionManager.getActiveCount()
882420
882420
  });
@@ -882686,7 +882686,7 @@ function getMacroDefines() {
882686
882686
  commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
882687
882687
  } catch {}
882688
882688
  return {
882689
- "MACRO.VERSION": JSON.stringify("4.2.20"),
882689
+ "MACRO.VERSION": JSON.stringify("4.2.21-beta1"),
882690
882690
  "MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
882691
882691
  "MACRO.COMMIT": JSON.stringify(commit),
882692
882692
  "MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
@@ -883620,6 +883620,7 @@ function createSessionRoutes(sessionManager, eventBus) {
883620
883620
  } catch {}
883621
883621
  }
883622
883622
  try {
883623
+ const env9 = body.env ? Object.fromEntries(Object.entries(body.env).filter((kv) => typeof kv[1] === "string")) : undefined;
883623
883624
  const handle = await sessionManager.createSession({
883624
883625
  cwd: cwd4,
883625
883626
  sessionId: body.session_id,
@@ -883629,6 +883630,7 @@ function createSessionRoutes(sessionManager, eventBus) {
883629
883630
  resumeSessionId: body.resume_session_id,
883630
883631
  resumeSessionAt: body.resume_session_at,
883631
883632
  hooks: body.hooks,
883633
+ env: env9,
883632
883634
  execPath: process.execPath,
883633
883635
  scriptArgs: getScriptArgsForChild()
883634
883636
  });
@@ -887305,6 +887307,7 @@ __export(exports_sessionHandle, {
887305
887307
  saveChildSpawnPrefix: () => saveChildSpawnPrefix,
887306
887308
  getScriptArgsForChild: () => getScriptArgsForChild,
887307
887309
  getChildSpawnArgs: () => getChildSpawnArgs,
887310
+ buildSpawnEnv: () => buildSpawnEnv,
887308
887311
  buildContentBlocks: () => attachmentPartsToContentBlocks,
887309
887312
  SessionHandle: () => SessionHandle
887310
887313
  });
@@ -887344,6 +887347,15 @@ function processExitMessage(code, signal, detail) {
887344
887347
  const base2 = signal ? `Process exited with signal ${signal}` : `Process exited with code ${code}`;
887345
887348
  return detail ? `${base2}: ${detail}` : base2;
887346
887349
  }
887350
+ function buildSpawnEnv(sessionEnv) {
887351
+ return {
887352
+ ...process.env,
887353
+ ...sessionEnv,
887354
+ CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1",
887355
+ CSC_SERVE_MODE: "1",
887356
+ CSC_SERVE_PARENT_PID: String(process.pid)
887357
+ };
887358
+ }
887347
887359
  var import_tree_kill2, TERMINATE_GRACE_MS = 4000, SIGKILL_WAIT_MS = 2000, TREE_EXIT_POLL_MS = 25, SessionHandle;
887348
887360
  var init_sessionHandle = __esm(() => {
887349
887361
  init_slowOperations();
@@ -887363,6 +887375,7 @@ var init_sessionHandle = __esm(() => {
887363
887375
  }
887364
887376
  cwd;
887365
887377
  _silent;
887378
+ _prompted = false;
887366
887379
  _spawnCwd;
887367
887380
  child = null;
887368
887381
  _status = "starting";
@@ -887488,6 +887501,9 @@ var init_sessionHandle = __esm(() => {
887488
887501
  get silent() {
887489
887502
  return this._silent;
887490
887503
  }
887504
+ get prompted() {
887505
+ return this._prompted;
887506
+ }
887491
887507
  claimFromWarmPool() {
887492
887508
  this._silent = false;
887493
887509
  }
@@ -887579,12 +887595,7 @@ var init_sessionHandle = __esm(() => {
887579
887595
  ...this.opts.resumeSessionAt ? ["--resume-session-at", this.opts.resumeSessionAt] : [],
887580
887596
  "--verbose"
887581
887597
  ];
887582
- const env9 = {
887583
- ...process.env,
887584
- CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1",
887585
- CSC_SERVE_MODE: "1",
887586
- CSC_SERVE_PARENT_PID: String(process.pid)
887587
- };
887598
+ const env9 = buildSpawnEnv(this.opts.env);
887588
887599
  if (this.opts.systemPrompt) {
887589
887600
  env9.CLAUDE_CODE_SYSTEM_PROMPT = this.opts.systemPrompt;
887590
887601
  }
@@ -887985,6 +887996,7 @@ ${stderrTail}` : baseMessage;
887985
887996
  throw new Error(`Session ${this.sessionId} is already processing a prompt`);
887986
887997
  }
887987
887998
  this._prompting = true;
887999
+ this._prompted = true;
887988
888000
  this._busyStatus = { type: "busy" };
887989
888001
  this.lastActiveAt = Date.now();
887990
888002
  const uuid9 = opts?.messageID ?? crypto.randomUUID();
@@ -888390,7 +888402,7 @@ class SessionManager {
888390
888402
  if (this.sessions.get(handle.sessionId) === handle) {
888391
888403
  this.sessions.delete(handle.sessionId);
888392
888404
  this.eventBus.unregisterSessionCwd(handle.sessionId);
888393
- if (!handle.silent) {
888405
+ if (!handle.silent && handle.prompted) {
888394
888406
  this.loadedIndex.set(handle.sessionId, this.toIndexEntry(handle));
888395
888407
  }
888396
888408
  this.scheduleIndexSave();
@@ -888562,7 +888574,7 @@ class SessionManager {
888562
888574
  if (this._shuttingDown) {
888563
888575
  throw new Error("Session server is shutting down");
888564
888576
  }
888565
- if (this._warmPool.size > 0 && !opts.resumeSessionId && !opts.silent && !opts.sessionId) {
888577
+ if (this._warmPool.size > 0 && !opts.resumeSessionId && !opts.silent && !opts.sessionId && !opts.env) {
888566
888578
  const pool3 = this._warmPool.get(cwd4);
888567
888579
  while (pool3 && pool3.length > 0) {
888568
888580
  const warm = pool3.pop();
@@ -888599,6 +888611,7 @@ class SessionManager {
888599
888611
  resumeSessionId: opts.resumeSessionId,
888600
888612
  resumeSessionAt: opts.resumeSessionAt,
888601
888613
  hooks: opts.hooks,
888614
+ env: opts.env,
888602
888615
  eventBus: this.eventBus,
888603
888616
  execPath: opts.execPath,
888604
888617
  scriptArgs: opts.scriptArgs,
@@ -889655,7 +889668,7 @@ __export(exports_update, {
889655
889668
  });
889656
889669
  async function update() {
889657
889670
  logEvent("tengu_update_check", {});
889658
- writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.20"}
889671
+ writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.21-beta1"}
889659
889672
  `);
889660
889673
  const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
889661
889674
  writeToStdout(`${t("cli.update.checkingUpdates", { channel: channel5 }, "Checking for updates to {channel} version...")}
@@ -889730,8 +889743,8 @@ async function update() {
889730
889743
  writeToStdout(`${t("cli.update.managedByHomebrew", "CoStrict is managed by Homebrew.")}
889731
889744
  `);
889732
889745
  const latest = await getLatestVersion(channel5);
889733
- if (latest && !gte2("4.2.20", latest)) {
889734
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.20", latest }, "Update available: {current} \u2192 {latest}")}
889746
+ if (latest && !gte2("4.2.21-beta1", latest)) {
889747
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta1", latest }, "Update available: {current} \u2192 {latest}")}
889735
889748
  `);
889736
889749
  writeToStdout(`
889737
889750
  `);
@@ -889747,8 +889760,8 @@ async function update() {
889747
889760
  writeToStdout(`${t("cli.update.managedByWinget", "CoStrict is managed by winget.")}
889748
889761
  `);
889749
889762
  const latest = await getLatestVersion(channel5);
889750
- if (latest && !gte2("4.2.20", latest)) {
889751
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.20", latest }, "Update available: {current} \u2192 {latest}")}
889763
+ if (latest && !gte2("4.2.21-beta1", latest)) {
889764
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta1", latest }, "Update available: {current} \u2192 {latest}")}
889752
889765
  `);
889753
889766
  writeToStdout(`
889754
889767
  `);
@@ -889764,8 +889777,8 @@ async function update() {
889764
889777
  writeToStdout(`${t("cli.update.managedByApk", "CoStrict is managed by apk.")}
889765
889778
  `);
889766
889779
  const latest = await getLatestVersion(channel5);
889767
- if (latest && !gte2("4.2.20", latest)) {
889768
- writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.20", latest }, "Update available: {current} \u2192 {latest}")}
889780
+ if (latest && !gte2("4.2.21-beta1", latest)) {
889781
+ writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta1", latest }, "Update available: {current} \u2192 {latest}")}
889769
889782
  `);
889770
889783
  writeToStdout(`
889771
889784
  `);
@@ -889830,11 +889843,11 @@ async function update() {
889830
889843
  `);
889831
889844
  await gracefulShutdown(1);
889832
889845
  }
889833
- if (result2.latestVersion === "4.2.20") {
889834
- writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.20" }, "CoStrict is up to date ({version})")) + `
889846
+ if (result2.latestVersion === "4.2.21-beta1") {
889847
+ writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-beta1" }, "CoStrict is up to date ({version})")) + `
889835
889848
  `);
889836
889849
  } else {
889837
- writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.20", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
889850
+ writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-beta1", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
889838
889851
  `);
889839
889852
  regenerateCompletionCache();
889840
889853
  }
@@ -889894,12 +889907,12 @@ async function update() {
889894
889907
  `);
889895
889908
  await gracefulShutdown(1);
889896
889909
  }
889897
- if (latestVersion === "4.2.20") {
889898
- writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.20" }, "CoStrict is up to date ({version})")) + `
889910
+ if (latestVersion === "4.2.21-beta1") {
889911
+ writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-beta1" }, "CoStrict is up to date ({version})")) + `
889899
889912
  `);
889900
889913
  await gracefulShutdown(0);
889901
889914
  }
889902
- writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.20" }, "New version available: {latest} (current: {current})")}
889915
+ writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.21-beta1" }, "New version available: {latest} (current: {current})")}
889903
889916
  `);
889904
889917
  writeToStdout(`${t("cli.update.installing", "Installing update...")}
889905
889918
  `);
@@ -889944,7 +889957,7 @@ async function update() {
889944
889957
  logForDebugging(`update: Installation status: ${result.status}`);
889945
889958
  switch (result.status) {
889946
889959
  case "success":
889947
- writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.20", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
889960
+ writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-beta1", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
889948
889961
  `);
889949
889962
  regenerateCompletionCache();
889950
889963
  break;
@@ -892148,7 +892161,7 @@ ${assistantAddendum}` : assistantAddendum;
892148
892161
  }
892149
892162
  }
892150
892163
  logForDiagnosticsNoPII("info", "started", {
892151
- version: "4.2.20",
892164
+ version: "4.2.21-beta1",
892152
892165
  is_native_binary: isInBundledMode()
892153
892166
  });
892154
892167
  registerCleanup(async () => {
@@ -892639,7 +892652,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
892639
892652
  sshSession = await createSSHSession2({
892640
892653
  host: _pendingSSH.host,
892641
892654
  cwd: _pendingSSH.cwd,
892642
- localVersion: "4.2.20",
892655
+ localVersion: "4.2.21-beta1",
892643
892656
  permissionMode: _pendingSSH.permissionMode,
892644
892657
  dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
892645
892658
  extraCliArgs: _pendingSSH.extraCliArgs,
@@ -893108,7 +893121,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
893108
893121
  pendingHookMessages
893109
893122
  }, renderAndRun);
893110
893123
  }
893111
- }).version("4.2.20 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
893124
+ }).version("4.2.21-beta1 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
893112
893125
  program2.addOption(new Option("-w, --worktree [name]", cliDesc("cli.option.worktree", "Create a new git worktree for this session (optionally specify a name)")).hideHelp());
893113
893126
  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());
893114
893127
  if (canUserConfigureAdvisor()) {
@@ -893851,10 +893864,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
893851
893864
  async function main2() {
893852
893865
  const args = process.argv.slice(2);
893853
893866
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
893854
- const d7 = new Date("2026-07-30T04:23:55.080Z");
893867
+ const d7 = new Date("2026-07-30T10:15:05.187Z");
893855
893868
  const p2 = (n3) => String(n3).padStart(2, "0");
893856
893869
  const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
893857
- console.log(`${"4.2.20"} (commit: ${"e5b91f14d"}, built: ${buildTime})`);
893870
+ console.log(`${"4.2.21-beta1"} (commit: ${"b47dd2ee0"}, built: ${buildTime})`);
893858
893871
  return;
893859
893872
  }
893860
893873
  let stopServeParentWatchdog;
@@ -894030,5 +894043,5 @@ async function main2() {
894030
894043
  }
894031
894044
  main2();
894032
894045
 
894033
- //# debugId=DBC9E78BF78381CC64756E2164756E21
894046
+ //# debugId=2A2760E78112FF8664756E2164756E21
894034
894047
 
@@ -736,8 +736,8 @@ function getClientVersion() {
736
736
  if (cached)
737
737
  return cached;
738
738
  try {
739
- if ("4.2.20") {
740
- cached = "4.2.20";
739
+ if ("4.2.21-beta1") {
740
+ cached = "4.2.21-beta1";
741
741
  return cached;
742
742
  }
743
743
  } catch {}
@@ -138481,7 +138481,7 @@ var init_user = __esm(() => {
138481
138481
  deviceId,
138482
138482
  sessionId: getSessionId(),
138483
138483
  email: getEmail(),
138484
- appVersion: "4.2.20",
138484
+ appVersion: "4.2.21-beta1",
138485
138485
  platform: getHostPlatformForAnalytics(),
138486
138486
  organizationUuid,
138487
138487
  accountUuid,
@@ -138768,7 +138768,7 @@ var init_metadata = __esm(() => {
138768
138768
  "sed"
138769
138769
  ]);
138770
138770
  getVersionBase = memoize_default(() => {
138771
- const match = "4.2.20".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138771
+ const match = "4.2.21-beta1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
138772
138772
  return match ? match[0] : undefined;
138773
138773
  });
138774
138774
  buildEnvContext = memoize_default(async () => {
@@ -138808,9 +138808,9 @@ var init_metadata = __esm(() => {
138808
138808
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
138809
138809
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
138810
138810
  isClaudeAiAuth: isClaudeAISubscriber(),
138811
- version: "4.2.20",
138811
+ version: "4.2.21-beta1",
138812
138812
  versionBase: getVersionBase(),
138813
- buildTime: "2026-07-30T04:23:57.550Z",
138813
+ buildTime: "2026-07-30T10:15:07.375Z",
138814
138814
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
138815
138815
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
138816
138816
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -143148,5 +143148,5 @@ export {
143148
143148
  isParentHeartbeatValid
143149
143149
  };
143150
143150
 
143151
- //# debugId=4F7504935669246564756E2164756E21
143151
+ //# debugId=64A7E767297A920064756E2164756E21
143152
143152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.20",
3
+ "version": "4.2.21-beta1",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",