@costrict/csc 4.2.4-beta → 4.2.4-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
@@ -82977,8 +82977,8 @@ var init_credentials = __esm(() => {
82977
82977
  import { createRequire } from "module";
82978
82978
  function getVersion() {
82979
82979
  try {
82980
- if (typeof MACRO !== "undefined" && "4.2.4-beta")
82981
- return "4.2.4-beta";
82980
+ if (typeof MACRO !== "undefined" && "4.2.4-beta1")
82981
+ return "4.2.4-beta1";
82982
82982
  } catch {}
82983
82983
  try {
82984
82984
  const require2 = createRequire(import.meta.url);
@@ -220026,7 +220026,7 @@ async function fetchCoStrictModels(baseUrl, accessToken) {
220026
220026
  headers: {
220027
220027
  Authorization: `Bearer ${accessToken}`,
220028
220028
  Accept: "application/json",
220029
- "User-Agent": `csc/${"4.2.4-beta"}`
220029
+ "User-Agent": `csc/${"4.2.4-beta1"}`
220030
220030
  },
220031
220031
  signal: controller.signal
220032
220032
  });
@@ -223612,7 +223612,7 @@ var init_auth7 = __esm(() => {
223612
223612
 
223613
223613
  // src/utils/userAgent.ts
223614
223614
  function getClaudeCodeUserAgent() {
223615
- return `costrict/${"4.2.4-beta"}`;
223615
+ return `costrict/${"4.2.4-beta1"}`;
223616
223616
  }
223617
223617
 
223618
223618
  // src/utils/workloadContext.ts
@@ -223634,7 +223634,7 @@ function getUserAgent() {
223634
223634
  const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
223635
223635
  const workload = getWorkload();
223636
223636
  const workloadSuffix = workload ? `, workload/${workload}` : "";
223637
- return `csc/${"4.2.4-beta"}`;
223637
+ return `csc/${"4.2.4-beta1"}`;
223638
223638
  }
223639
223639
  function getMCPUserAgent() {
223640
223640
  const parts = [];
@@ -223648,7 +223648,7 @@ function getMCPUserAgent() {
223648
223648
  parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
223649
223649
  }
223650
223650
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
223651
- return `csc/${"4.2.4-beta"}${suffix}`;
223651
+ return `csc/${"4.2.4-beta1"}${suffix}`;
223652
223652
  }
223653
223653
  function getWebFetchUserAgent() {
223654
223654
  return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
@@ -223768,7 +223768,7 @@ var init_user = __esm(() => {
223768
223768
  deviceId,
223769
223769
  sessionId: getSessionId(),
223770
223770
  email: getEmail(),
223771
- appVersion: "4.2.4-beta",
223771
+ appVersion: "4.2.4-beta1",
223772
223772
  platform: getHostPlatformForAnalytics(),
223773
223773
  organizationUuid,
223774
223774
  accountUuid,
@@ -233268,7 +233268,7 @@ var init_metadata = __esm(() => {
233268
233268
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
233269
233269
  WHITESPACE_REGEX = /\s+/;
233270
233270
  getVersionBase = memoize_default(() => {
233271
- const match = "4.2.4-beta".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
233271
+ const match = "4.2.4-beta1".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
233272
233272
  return match ? match[0] : undefined;
233273
233273
  });
233274
233274
  buildEnvContext = memoize_default(async () => {
@@ -233308,9 +233308,9 @@ var init_metadata = __esm(() => {
233308
233308
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
233309
233309
  isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
233310
233310
  isClaudeAiAuth: isClaudeAISubscriber(),
233311
- version: "4.2.4-beta",
233311
+ version: "4.2.4-beta1",
233312
233312
  versionBase: getVersionBase(),
233313
- buildTime: "2026-06-16T11:06:26.725Z",
233313
+ buildTime: "2026-06-16T12:42:26.921Z",
233314
233314
  deploymentEnvironment: env4.detectDeploymentEnvironment(),
233315
233315
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
233316
233316
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -233981,7 +233981,7 @@ function initialize1PEventLogging() {
233981
233981
  const platform4 = getPlatform();
233982
233982
  const attributes = {
233983
233983
  [import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
233984
- [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.4-beta"
233984
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.4-beta1"
233985
233985
  };
233986
233986
  if (platform4 === "wsl") {
233987
233987
  const wslVersion = getWslVersion();
@@ -234008,7 +234008,7 @@ function initialize1PEventLogging() {
234008
234008
  })
234009
234009
  ]
234010
234010
  });
234011
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.4-beta");
234011
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.4-beta1");
234012
234012
  }
234013
234013
  async function reinitialize1PEventLoggingIfConfigChanged() {
234014
234014
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -401097,7 +401097,7 @@ function getTelemetryAttributes() {
401097
401097
  attributes["session.id"] = sessionId;
401098
401098
  }
401099
401099
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
401100
- attributes["app.version"] = "4.2.4-beta";
401100
+ attributes["app.version"] = "4.2.4-beta1";
401101
401101
  }
401102
401102
  const oauthAccount = getOauthAccountInfo();
401103
401103
  if (oauthAccount) {
@@ -434631,7 +434631,7 @@ function initLangfuse() {
434631
434631
  flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
434632
434632
  mask: maskFn,
434633
434633
  environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
434634
- release: "4.2.4-beta",
434634
+ release: "4.2.4-beta1",
434635
434635
  exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
434636
434636
  timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
434637
434637
  });
@@ -466523,7 +466523,7 @@ function initSentry() {
466523
466523
  }
466524
466524
  init3({
466525
466525
  dsn,
466526
- release: typeof MACRO !== "undefined" ? "4.2.4-beta" : undefined,
466526
+ release: typeof MACRO !== "undefined" ? "4.2.4-beta1" : undefined,
466527
466527
  environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "production",
466528
466528
  maxBreadcrumbs: 20,
466529
466529
  sampleRate: 1,
@@ -494408,7 +494408,7 @@ async function initializeBetaTracing(resource) {
494408
494408
  });
494409
494409
  logs.setGlobalLoggerProvider(loggerProvider);
494410
494410
  setLoggerProvider(loggerProvider);
494411
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.4-beta");
494411
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.4-beta1");
494412
494412
  setEventLogger(eventLogger);
494413
494413
  process.on("beforeExit", async () => {
494414
494414
  await loggerProvider?.forceFlush();
@@ -494448,7 +494448,7 @@ async function initializeTelemetry() {
494448
494448
  const platform5 = getPlatform();
494449
494449
  const baseAttributes = {
494450
494450
  [import_semantic_conventions29.ATTR_SERVICE_NAME]: "claude-code",
494451
- [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.4-beta"
494451
+ [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.4-beta1"
494452
494452
  };
494453
494453
  if (platform5 === "wsl") {
494454
494454
  const wslVersion = getWslVersion();
@@ -494493,7 +494493,7 @@ async function initializeTelemetry() {
494493
494493
  } catch {}
494494
494494
  };
494495
494495
  registerCleanup(shutdownTelemetry2);
494496
- return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.4-beta");
494496
+ return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.4-beta1");
494497
494497
  }
494498
494498
  const meterProvider = new import_sdk_metrics2.MeterProvider({
494499
494499
  resource,
@@ -494513,7 +494513,7 @@ async function initializeTelemetry() {
494513
494513
  });
494514
494514
  logs.setGlobalLoggerProvider(loggerProvider);
494515
494515
  setLoggerProvider(loggerProvider);
494516
- const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.4-beta");
494516
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.4-beta1");
494517
494517
  setEventLogger(eventLogger);
494518
494518
  logForDebugging("[3P telemetry] Event logger set successfully");
494519
494519
  process.on("beforeExit", async () => {
@@ -494575,7 +494575,7 @@ Current timeout: ${timeoutMs}ms
494575
494575
  }
494576
494576
  };
494577
494577
  registerCleanup(shutdownTelemetry);
494578
- return meterProvider.getMeter("com.anthropic.claude_code", "4.2.4-beta");
494578
+ return meterProvider.getMeter("com.anthropic.claude_code", "4.2.4-beta1");
494579
494579
  }
494580
494580
  async function flushTelemetry() {
494581
494581
  const meterProvider = getMeterProvider();
@@ -495633,7 +495633,7 @@ async function installGlobalPackage(specificVersion) {
495633
495633
  logError3(new AutoUpdaterError("Another process is currently installing an update"));
495634
495634
  logEvent("tengu_auto_updater_lock_contention", {
495635
495635
  pid: process.pid,
495636
- currentVersion: "4.2.4-beta"
495636
+ currentVersion: "4.2.4-beta1"
495637
495637
  });
495638
495638
  return { status: "in_progress" };
495639
495639
  }
@@ -495642,7 +495642,7 @@ async function installGlobalPackage(specificVersion) {
495642
495642
  if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
495643
495643
  logError3(new Error("Windows NPM detected in WSL environment"));
495644
495644
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
495645
- currentVersion: "4.2.4-beta"
495645
+ currentVersion: "4.2.4-beta1"
495646
495646
  });
495647
495647
  return {
495648
495648
  status: "install_failed",
@@ -496188,7 +496188,7 @@ function detectLinuxGlobPatternWarnings() {
496188
496188
  }
496189
496189
  async function getDoctorDiagnostic() {
496190
496190
  const installationType = await getCurrentInstallationType();
496191
- const version7 = typeof MACRO !== "undefined" ? "4.2.4-beta" : "unknown";
496191
+ const version7 = typeof MACRO !== "undefined" ? "4.2.4-beta1" : "unknown";
496192
496192
  const installationPath = await getInstallationPath();
496193
496193
  const invokedBinary = getInvokedBinary();
496194
496194
  const multipleInstallations = await detectMultipleInstallations();
@@ -534286,7 +534286,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
534286
534286
  const client10 = new Client3({
534287
534287
  name: "claude-code",
534288
534288
  title: "CoStrict",
534289
- version: "4.2.4-beta",
534289
+ version: "4.2.4-beta1",
534290
534290
  description: "CoStrict agentic coding tool",
534291
534291
  websiteUrl: PRODUCT_URL
534292
534292
  }, {
@@ -534656,7 +534656,7 @@ var init_client17 = __esm(() => {
534656
534656
  const client10 = new Client3({
534657
534657
  name: "claude-code",
534658
534658
  title: "CoStrict",
534659
- version: "4.2.4-beta",
534659
+ version: "4.2.4-beta1",
534660
534660
  description: "CoStrict agentic coding tool",
534661
534661
  websiteUrl: PRODUCT_URL
534662
534662
  }, {
@@ -536024,7 +536024,7 @@ function getInstallationEnv() {
536024
536024
  return;
536025
536025
  }
536026
536026
  function getClaudeCodeVersion() {
536027
- return "4.2.4-beta";
536027
+ return "4.2.4-beta1";
536028
536028
  }
536029
536029
  async function getInstalledVSCodeExtensionVersion(command4) {
536030
536030
  const { stdout } = await execFileNoThrow2(command4, ["--list-extensions", "--show-versions"], {
@@ -537388,8 +537388,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
537388
537388
  const maxVersion = await getMaxVersion();
537389
537389
  if (maxVersion && gt(version8, maxVersion)) {
537390
537390
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version8} to ${maxVersion}`);
537391
- if (gte2("4.2.4-beta", maxVersion)) {
537392
- logForDebugging(`Native installer: current version ${"4.2.4-beta"} is already at or above maxVersion ${maxVersion}, skipping update`);
537391
+ if (gte2("4.2.4-beta1", maxVersion)) {
537392
+ logForDebugging(`Native installer: current version ${"4.2.4-beta1"} is already at or above maxVersion ${maxVersion}, skipping update`);
537393
537393
  logEvent("tengu_native_update_skipped_max_version", {
537394
537394
  latency_ms: Date.now() - startTime2,
537395
537395
  max_version: maxVersion,
@@ -537400,7 +537400,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
537400
537400
  version8 = maxVersion;
537401
537401
  }
537402
537402
  }
537403
- if (!forceReinstall && version8 === "4.2.4-beta" && await versionIsAvailable(version8) && await isPossibleClaudeBinary(executablePath)) {
537403
+ if (!forceReinstall && version8 === "4.2.4-beta1" && await versionIsAvailable(version8) && await isPossibleClaudeBinary(executablePath)) {
537404
537404
  logForDebugging(`Found ${version8} at ${executablePath}, skipping install`);
537405
537405
  logEvent("tengu_native_update_complete", {
537406
537406
  latency_ms: Date.now() - startTime2,
@@ -671298,7 +671298,7 @@ function Feedback({
671298
671298
  platform: env4.platform,
671299
671299
  gitRepo: envInfo.isGit,
671300
671300
  terminal: env4.terminal,
671301
- version: "4.2.4-beta",
671301
+ version: "4.2.4-beta1",
671302
671302
  transcript: normalizeMessagesForAPI(messages),
671303
671303
  errors: sanitizedErrors,
671304
671304
  lastApiRequest: getLastAPIRequest(),
@@ -671483,7 +671483,7 @@ function Feedback({
671483
671483
  ", ",
671484
671484
  env4.terminal,
671485
671485
  ", v",
671486
- "4.2.4-beta"
671486
+ "4.2.4-beta1"
671487
671487
  ]
671488
671488
  })
671489
671489
  ]
@@ -671589,7 +671589,7 @@ ${sanitizedDescription}
671589
671589
  ` + `**Environment Info**
671590
671590
  ` + `- Platform: ${env4.platform}
671591
671591
  ` + `- Terminal: ${env4.terminal}
671592
- ` + `- Version: ${"4.2.4-beta"}
671592
+ ` + `- Version: ${"4.2.4-beta1"}
671593
671593
  ` + `- Feedback ID: ${feedbackId}
671594
671594
  ` + `
671595
671595
  **Errors**
@@ -673790,7 +673790,7 @@ function buildPrimarySection() {
673790
673790
  children: "/rename to add a name"
673791
673791
  });
673792
673792
  return [
673793
- { label: "Version", value: "4.2.4-beta" },
673793
+ { label: "Version", value: "4.2.4-beta1" },
673794
673794
  { label: "Session name", value: nameValue },
673795
673795
  { label: "Session ID", value: sessionId },
673796
673796
  { label: "cwd", value: getCwd() },
@@ -676594,7 +676594,7 @@ function Config({
676594
676594
  }
676595
676595
  })
676596
676596
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime191.jsx(ChannelDowngradeDialog, {
676597
- currentVersion: "4.2.4-beta",
676597
+ currentVersion: "4.2.4-beta1",
676598
676598
  onChoice: (choice) => {
676599
676599
  setShowSubmenu(null);
676600
676600
  setTabsHidden(false);
@@ -676606,7 +676606,7 @@ function Config({
676606
676606
  autoUpdatesChannel: "stable"
676607
676607
  };
676608
676608
  if (choice === "stay") {
676609
- newSettings.minimumVersion = "4.2.4-beta";
676609
+ newSettings.minimumVersion = "4.2.4-beta1";
676610
676610
  }
676611
676611
  updateSettingsForSource("userSettings", newSettings);
676612
676612
  setSettingsData((prev) => ({
@@ -682056,7 +682056,7 @@ function HelpV2({ onClose, commands: commands11 }) {
682056
682056
  color: "professionalBlue",
682057
682057
  children: [
682058
682058
  /* @__PURE__ */ jsx_runtime218.jsx(Tabs, {
682059
- title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.4-beta"}`,
682059
+ title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.4-beta1"}`,
682060
682060
  color: "professionalBlue",
682061
682061
  defaultTab: "general",
682062
682062
  children: tabs
@@ -773636,7 +773636,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
773636
773636
  return [];
773637
773637
  }
773638
773638
  }
773639
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.4-beta") {
773639
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.4-beta1") {
773640
773640
  if (process.env.USER_TYPE === "sf") {
773641
773641
  const changelog = "";
773642
773642
  if (changelog) {
@@ -773663,7 +773663,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.4-bet
773663
773663
  releaseNotes
773664
773664
  };
773665
773665
  }
773666
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.4-beta") {
773666
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.4-beta1") {
773667
773667
  if (process.env.USER_TYPE === "sf") {
773668
773668
  const changelog = "";
773669
773669
  if (changelog) {
@@ -776172,7 +776172,7 @@ function isNotLoggedIn() {
776172
776172
  return true;
776173
776173
  }
776174
776174
  function getLogoDisplayData() {
776175
- const version8 = process.env.DEMO_VERSION ?? "4.2.4-beta";
776175
+ const version8 = process.env.DEMO_VERSION ?? "4.2.4-beta1";
776176
776176
  const serverUrl = getDirectConnectServerUrl();
776177
776177
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
776178
776178
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -776695,7 +776695,7 @@ var cachedSystemTheme2;
776695
776695
  // src/components/matrix-tactical/MatrixWelcome.tsx
776696
776696
  import { basename as basename47 } from "path";
776697
776697
  function MatrixWelcome({
776698
- version: version8 = "4.2.4-beta",
776698
+ version: version8 = "4.2.4-beta1",
776699
776699
  projectName,
776700
776700
  cwd: cwd2,
776701
776701
  modelDisplayName,
@@ -777328,13 +777328,13 @@ function LogoV2() {
777328
777328
  const { hasReleaseNotes } = checkForReleaseNotesSync(config12.lastReleaseNotesSeen);
777329
777329
  import_react166.useEffect(() => {
777330
777330
  const currentConfig = getGlobalConfig();
777331
- if (currentConfig.lastReleaseNotesSeen === "4.2.4-beta") {
777331
+ if (currentConfig.lastReleaseNotesSeen === "4.2.4-beta1") {
777332
777332
  return;
777333
777333
  }
777334
777334
  saveGlobalConfig((current2) => {
777335
- if (current2.lastReleaseNotesSeen === "4.2.4-beta")
777335
+ if (current2.lastReleaseNotesSeen === "4.2.4-beta1")
777336
777336
  return current2;
777337
- return { ...current2, lastReleaseNotesSeen: "4.2.4-beta" };
777337
+ return { ...current2, lastReleaseNotesSeen: "4.2.4-beta1" };
777338
777338
  });
777339
777339
  if (showOnboarding) {
777340
777340
  incrementProjectOnboardingSeenCount();
@@ -799104,7 +799104,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
799104
799104
  smapsRollup,
799105
799105
  platform: process.platform,
799106
799106
  nodeVersion: process.version,
799107
- ccVersion: "4.2.4-beta"
799107
+ ccVersion: "4.2.4-beta1"
799108
799108
  };
799109
799109
  }
799110
799110
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -799219,7 +799219,7 @@ var init_mock_limits = __esm(() => {
799219
799219
  var call54 = async () => {
799220
799220
  return {
799221
799221
  type: "text",
799222
- value: `${"4.2.4-beta"} (built ${"2026-06-16T11:06:26.725Z"})`
799222
+ value: `${"4.2.4-beta1"} (built ${"2026-06-16T12:42:26.921Z"})`
799223
799223
  };
799224
799224
  }, version8, version_default;
799225
799225
  var init_version2 = __esm(() => {
@@ -805557,8 +805557,8 @@ var init_tag2 = __esm(() => {
805557
805557
  import { createRequire as createRequire5 } from "module";
805558
805558
  function getVersion2() {
805559
805559
  try {
805560
- if (typeof MACRO !== "undefined" && "4.2.4-beta")
805561
- return "4.2.4-beta";
805560
+ if (typeof MACRO !== "undefined" && "4.2.4-beta1")
805561
+ return "4.2.4-beta1";
805562
805562
  } catch {}
805563
805563
  try {
805564
805564
  const require4 = createRequire5(import.meta.url);
@@ -815840,7 +815840,7 @@ function generateHtmlReport(data, insights) {
815840
815840
  </html>`;
815841
815841
  }
815842
815842
  function buildExportData(data, insights, facets, remoteStats) {
815843
- const version9 = typeof MACRO !== "undefined" ? "4.2.4-beta" : "unknown";
815843
+ const version9 = typeof MACRO !== "undefined" ? "4.2.4-beta1" : "unknown";
815844
815844
  const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
815845
815845
  const facets_summary = {
815846
815846
  total: facets.size,
@@ -820150,7 +820150,7 @@ var init_sessionStorage = __esm(() => {
820150
820150
  init_settings2();
820151
820151
  init_slowOperations();
820152
820152
  init_uuid();
820153
- VERSION10 = typeof MACRO !== "undefined" ? "4.2.4-beta" : "unknown";
820153
+ VERSION10 = typeof MACRO !== "undefined" ? "4.2.4-beta1" : "unknown";
820154
820154
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
820155
820155
  SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
820156
820156
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -821458,7 +821458,7 @@ var init_filesystem = __esm(() => {
821458
821458
  });
821459
821459
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
821460
821460
  const nonce = randomBytes24(16).toString("hex");
821461
- return join197(getCostrictTempDir(), "bundled-skills", "4.2.4-beta", nonce);
821461
+ return join197(getCostrictTempDir(), "bundled-skills", "4.2.4-beta1", nonce);
821462
821462
  });
821463
821463
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
821464
821464
  });
@@ -827655,7 +827655,7 @@ function computeFingerprint(messageText, version9) {
827655
827655
  }
827656
827656
  function computeFingerprintFromMessages(messages) {
827657
827657
  const firstMessageText = extractFirstMessageText(messages);
827658
- return computeFingerprint(firstMessageText, "4.2.4-beta");
827658
+ return computeFingerprint(firstMessageText, "4.2.4-beta1");
827659
827659
  }
827660
827660
  var FINGERPRINT_SALT = "59cf53e54c78";
827661
827661
  var init_fingerprint = () => {};
@@ -828065,7 +828065,7 @@ function getAnthropicEnvMetadata() {
828065
828065
  function getBuildAgeMinutes() {
828066
828066
  if (false)
828067
828067
  ;
828068
- const buildTime = new Date("2026-06-16T11:06:26.725Z").getTime();
828068
+ const buildTime = new Date("2026-06-16T12:42:26.921Z").getTime();
828069
828069
  if (isNaN(buildTime))
828070
828070
  return;
828071
828071
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -840944,7 +840944,7 @@ async function sideQuery(opts) {
840944
840944
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
840945
840945
  }
840946
840946
  const messageText = extractFirstUserMessageText(messages);
840947
- const fingerprint = computeFingerprint(messageText, "4.2.4-beta");
840947
+ const fingerprint = computeFingerprint(messageText, "4.2.4-beta1");
840948
840948
  const attributionHeader = getAttributionHeader(fingerprint);
840949
840949
  const systemBlocks = [
840950
840950
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -844319,7 +844319,7 @@ function buildSystemInitMessage(inputs) {
844319
844319
  slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
844320
844320
  apiKeySource: getAnthropicApiKeyWithSource().source,
844321
844321
  betas: getSdkBetas(),
844322
- claude_code_version: "4.2.4-beta",
844322
+ claude_code_version: "4.2.4-beta1",
844323
844323
  output_style: outputStyle2,
844324
844324
  agents: inputs.agents.map((agent) => agent.agentType),
844325
844325
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -849174,7 +849174,7 @@ function appendToLog(path48, message2) {
849174
849174
  cwd: getFsImplementation().cwd(),
849175
849175
  userType: process.env.USER_TYPE,
849176
849176
  sessionId: getSessionId(),
849177
- version: "4.2.4-beta"
849177
+ version: "4.2.4-beta1"
849178
849178
  };
849179
849179
  getLogWriter(path48).write(messageWithTimestamp);
849180
849180
  }
@@ -869727,7 +869727,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
869727
869727
  project_dir: getOriginalCwd(),
869728
869728
  added_dirs: addedDirs
869729
869729
  },
869730
- version: "4.2.4-beta",
869730
+ version: "4.2.4-beta1",
869731
869731
  output_style: {
869732
869732
  name: outputStyleName
869733
869733
  },
@@ -888261,7 +888261,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
888261
888261
  } catch {}
888262
888262
  const data = {
888263
888263
  trigger,
888264
- version: "4.2.4-beta",
888264
+ version: "4.2.4-beta1",
888265
888265
  platform: process.platform,
888266
888266
  transcript,
888267
888267
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -889503,7 +889503,7 @@ function getReleaseType(current2, latest) {
889503
889503
  return "patch";
889504
889504
  }
889505
889505
  async function checkNewAutoUpdate(callbacks) {
889506
- const currentVersion = "4.2.4-beta";
889506
+ const currentVersion = "4.2.4-beta1";
889507
889507
  logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
889508
889508
  if (isNewAutoUpdaterDisabled()) {
889509
889509
  return { action: "skip", currentVersion, latestVersion: null };
@@ -889527,7 +889527,7 @@ async function checkNewAutoUpdate(callbacks) {
889527
889527
  const releaseType = getReleaseType(currentVersion, latestVersion);
889528
889528
  const notifyOnly = isNewAutoUpdateNotifyOnly();
889529
889529
  logForDebugging(`[newAutoUpdater] type: ${releaseType}, notifyOnly: ${notifyOnly}`);
889530
- if (releaseType !== "patch" || notifyOnly) {
889530
+ if (releaseType === "major" || notifyOnly) {
889531
889531
  return { action: "notify", currentVersion, latestVersion, releaseType };
889532
889532
  }
889533
889533
  const config12 = getGlobalConfig();
@@ -900348,7 +900348,7 @@ function WelcomeV2() {
900348
900348
  dimColor: true,
900349
900349
  children: [
900350
900350
  "v",
900351
- "4.2.4-beta",
900351
+ "4.2.4-beta1",
900352
900352
  " "
900353
900353
  ]
900354
900354
  })
@@ -900414,7 +900414,7 @@ function WelcomeV2() {
900414
900414
  dimColor: true,
900415
900415
  children: [
900416
900416
  "v",
900417
- "4.2.4-beta",
900417
+ "4.2.4-beta1",
900418
900418
  " "
900419
900419
  ]
900420
900420
  })
@@ -900516,7 +900516,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
900516
900516
  dimColor: true,
900517
900517
  children: [
900518
900518
  "v",
900519
- "4.2.4-beta",
900519
+ "4.2.4-beta1",
900520
900520
  " "
900521
900521
  ]
900522
900522
  })
@@ -900582,7 +900582,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
900582
900582
  dimColor: true,
900583
900583
  children: [
900584
900584
  "v",
900585
- "4.2.4-beta",
900585
+ "4.2.4-beta1",
900586
900586
  " "
900587
900587
  ]
900588
900588
  })
@@ -901532,7 +901532,7 @@ function completeOnboarding() {
901532
901532
  saveGlobalConfig((current2) => ({
901533
901533
  ...current2,
901534
901534
  hasCompletedOnboarding: true,
901535
- lastOnboardingVersion: "4.2.4-beta"
901535
+ lastOnboardingVersion: "4.2.4-beta1"
901536
901536
  }));
901537
901537
  }
901538
901538
  function showDialog(root9, renderer) {
@@ -902883,7 +902883,7 @@ function registerWeixinBuiltinPlugin() {
902883
902883
  registerBuiltinPlugin({
902884
902884
  name: "weixin",
902885
902885
  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`.",
902886
- version: "4.2.4-beta",
902886
+ version: "4.2.4-beta1",
902887
902887
  defaultEnabled: true,
902888
902888
  mcpServers: {
902889
902889
  weixin: {
@@ -915221,7 +915221,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
915221
915221
  setCwd(cwd3);
915222
915222
  const server2 = new Server({
915223
915223
  name: "claude/tengu",
915224
- version: "4.2.4-beta"
915224
+ version: "4.2.4-beta1"
915225
915225
  }, {
915226
915226
  capabilities: {
915227
915227
  tools: {}
@@ -917505,7 +917505,7 @@ function createHealthRoutes(sessionManager) {
917505
917505
  const uptime2 = process.uptime() * 1000;
917506
917506
  return c10.json({
917507
917507
  status: "ok",
917508
- version: "4.2.4-beta",
917508
+ version: "4.2.4-beta1",
917509
917509
  uptime_ms: Math.round(uptime2),
917510
917510
  active_sessions: sessionManager.getActiveCount()
917511
917511
  });
@@ -917768,7 +917768,7 @@ function getMacroDefines() {
917768
917768
  commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
917769
917769
  } catch {}
917770
917770
  return {
917771
- "MACRO.VERSION": JSON.stringify("4.2.4-beta"),
917771
+ "MACRO.VERSION": JSON.stringify("4.2.4-beta1"),
917772
917772
  "MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
917773
917773
  "MACRO.COMMIT": JSON.stringify(commit),
917774
917774
  "MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
@@ -923550,7 +923550,7 @@ __export(exports_update, {
923550
923550
  });
923551
923551
  async function update() {
923552
923552
  logEvent("tengu_update_check", {});
923553
- writeToStdout(`Current version: ${"4.2.4-beta"}
923553
+ writeToStdout(`Current version: ${"4.2.4-beta1"}
923554
923554
  `);
923555
923555
  const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
923556
923556
  writeToStdout(`Checking for updates to ${channel5} version...
@@ -923625,8 +923625,8 @@ async function update() {
923625
923625
  writeToStdout(`CoStrict is managed by Homebrew.
923626
923626
  `);
923627
923627
  const latest = await getLatestVersion(channel5);
923628
- if (latest && !gte2("4.2.4-beta", latest)) {
923629
- writeToStdout(`Update available: ${"4.2.4-beta"} \u2192 ${latest}
923628
+ if (latest && !gte2("4.2.4-beta1", latest)) {
923629
+ writeToStdout(`Update available: ${"4.2.4-beta1"} \u2192 ${latest}
923630
923630
  `);
923631
923631
  writeToStdout(`
923632
923632
  `);
@@ -923642,8 +923642,8 @@ async function update() {
923642
923642
  writeToStdout(`CoStrict is managed by winget.
923643
923643
  `);
923644
923644
  const latest = await getLatestVersion(channel5);
923645
- if (latest && !gte2("4.2.4-beta", latest)) {
923646
- writeToStdout(`Update available: ${"4.2.4-beta"} \u2192 ${latest}
923645
+ if (latest && !gte2("4.2.4-beta1", latest)) {
923646
+ writeToStdout(`Update available: ${"4.2.4-beta1"} \u2192 ${latest}
923647
923647
  `);
923648
923648
  writeToStdout(`
923649
923649
  `);
@@ -923659,8 +923659,8 @@ async function update() {
923659
923659
  writeToStdout(`CoStrict is managed by apk.
923660
923660
  `);
923661
923661
  const latest = await getLatestVersion(channel5);
923662
- if (latest && !gte2("4.2.4-beta", latest)) {
923663
- writeToStdout(`Update available: ${"4.2.4-beta"} \u2192 ${latest}
923662
+ if (latest && !gte2("4.2.4-beta1", latest)) {
923663
+ writeToStdout(`Update available: ${"4.2.4-beta1"} \u2192 ${latest}
923664
923664
  `);
923665
923665
  writeToStdout(`
923666
923666
  `);
@@ -923725,11 +923725,11 @@ async function update() {
923725
923725
  `);
923726
923726
  await gracefulShutdown(1);
923727
923727
  }
923728
- if (result2.latestVersion === "4.2.4-beta") {
923729
- writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.4-beta"})`) + `
923728
+ if (result2.latestVersion === "4.2.4-beta1") {
923729
+ writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.4-beta1"})`) + `
923730
923730
  `);
923731
923731
  } else {
923732
- writeToStdout(source_default.green(`Successfully updated from ${"4.2.4-beta"} to version ${result2.latestVersion}`) + `
923732
+ writeToStdout(source_default.green(`Successfully updated from ${"4.2.4-beta1"} to version ${result2.latestVersion}`) + `
923733
923733
  `);
923734
923734
  regenerateCompletionCache();
923735
923735
  }
@@ -923789,12 +923789,12 @@ async function update() {
923789
923789
  `);
923790
923790
  await gracefulShutdown(1);
923791
923791
  }
923792
- if (latestVersion === "4.2.4-beta") {
923793
- writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.4-beta"})`) + `
923792
+ if (latestVersion === "4.2.4-beta1") {
923793
+ writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.4-beta1"})`) + `
923794
923794
  `);
923795
923795
  await gracefulShutdown(0);
923796
923796
  }
923797
- writeToStdout(`New version available: ${latestVersion} (current: ${"4.2.4-beta"})
923797
+ writeToStdout(`New version available: ${latestVersion} (current: ${"4.2.4-beta1"})
923798
923798
  `);
923799
923799
  writeToStdout(`Installing update...
923800
923800
  `);
@@ -923839,7 +923839,7 @@ async function update() {
923839
923839
  logForDebugging(`update: Installation status: ${result.status}`);
923840
923840
  switch (result.status) {
923841
923841
  case "success":
923842
- writeToStdout(source_default.green(`Successfully updated from ${"4.2.4-beta"} to version ${latestVersion}`) + `
923842
+ writeToStdout(source_default.green(`Successfully updated from ${"4.2.4-beta1"} to version ${latestVersion}`) + `
923843
923843
  `);
923844
923844
  regenerateCompletionCache();
923845
923845
  break;
@@ -926051,7 +926051,7 @@ ${assistantAddendum}` : assistantAddendum;
926051
926051
  }
926052
926052
  }
926053
926053
  logForDiagnosticsNoPII("info", "started", {
926054
- version: "4.2.4-beta",
926054
+ version: "4.2.4-beta1",
926055
926055
  is_native_binary: isInBundledMode()
926056
926056
  });
926057
926057
  registerCleanup(async () => {
@@ -926531,7 +926531,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
926531
926531
  sshSession = await createSSHSession2({
926532
926532
  host: _pendingSSH.host,
926533
926533
  cwd: _pendingSSH.cwd,
926534
- localVersion: "4.2.4-beta",
926534
+ localVersion: "4.2.4-beta1",
926535
926535
  permissionMode: _pendingSSH.permissionMode,
926536
926536
  dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
926537
926537
  extraCliArgs: _pendingSSH.extraCliArgs,
@@ -927003,7 +927003,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
927003
927003
  pendingHookMessages
927004
927004
  }, renderAndRun);
927005
927005
  }
927006
- }).version("4.2.4-beta (CoStrict)", "-v, --version", "Output the version number");
927006
+ }).version("4.2.4-beta1 (CoStrict)", "-v, --version", "Output the version number");
927007
927007
  program2.addOption(new Option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)").hideHelp());
927008
927008
  program2.addOption(new Option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.").hideHelp());
927009
927009
  if (canUserConfigureAdvisor()) {
@@ -927717,10 +927717,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
927717
927717
  async function main2() {
927718
927718
  const args = process.argv.slice(2);
927719
927719
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
927720
- const d7 = new Date("2026-06-16T11:06:26.725Z");
927720
+ const d7 = new Date("2026-06-16T12:42:26.921Z");
927721
927721
  const p2 = (n4) => String(n4).padStart(2, "0");
927722
927722
  const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
927723
- console.log(`${"4.2.4-beta"} (commit: ${"9e09fe772"}, built: ${buildTime})`);
927723
+ console.log(`${"4.2.4-beta1"} (commit: ${"296c9ec13"}, built: ${buildTime})`);
927724
927724
  return;
927725
927725
  }
927726
927726
  const { profileCheckpoint: profileCheckpoint2 } = await Promise.resolve().then(() => (init_startupProfiler(), exports_startupProfiler));
@@ -927760,7 +927760,7 @@ async function main2() {
927760
927760
  registerPermissionHandler(server2, handler) {
927761
927761
  server2.setNotificationHandler(ChannelPermissionRequestNotificationSchema2(), async (notification) => handler(notification.params));
927762
927762
  }
927763
- }, "4.2.4-beta");
927763
+ }, "4.2.4-beta1");
927764
927764
  return;
927765
927765
  }
927766
927766
  if (args[0] === "--daemon-worker" || args[0]?.startsWith("--daemon-worker=")) {
@@ -927858,5 +927858,5 @@ async function main2() {
927858
927858
  }
927859
927859
  main2();
927860
927860
 
927861
- //# debugId=97F8300EDA0C9D4D64756E2164756E21
927861
+ //# debugId=EDA525AC1B954D6164756E2164756E21
927862
927862
  //# 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.4-beta")
512
- return "4.2.4-beta";
511
+ if (typeof MACRO !== "undefined" && "4.2.4-beta1")
512
+ return "4.2.4-beta1";
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=E2990B8B5E72190564756E2164756E21
2425
+ //# debugId=5250D6824387DAF964756E2164756E21
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.4-beta",
3
+ "version": "4.2.4-beta1",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",
@@ -230,6 +230,9 @@
230
230
  "overrides": {
231
231
  "tmp": "^0.2.7",
232
232
  "@grpc/grpc-js": "^1.14.4",
233
- "esbuild": ">=0.28.1"
233
+ "esbuild": ">=0.28.1",
234
+ "form-data": "^4.0.6",
235
+ "protobufjs": "^7.6.4",
236
+ "ws": "^8.21.0"
234
237
  }
235
238
  }