@costrict/csc 4.2.2 → 4.2.3

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.2")
82981
- return "4.2.2";
82980
+ if (typeof MACRO !== "undefined" && "4.2.3")
82981
+ return "4.2.3";
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.2"}`
220029
+ "User-Agent": `csc/${"4.2.3"}`
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.2"}`;
223615
+ return `costrict/${"4.2.3"}`;
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.2"}`;
223637
+ return `csc/${"4.2.3"}`;
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.2"}${suffix}`;
223651
+ return `csc/${"4.2.3"}${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.2",
223771
+ appVersion: "4.2.3",
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.2".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
233271
+ const match = "4.2.3".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.2",
233311
+ version: "4.2.3",
233312
233312
  versionBase: getVersionBase(),
233313
- buildTime: "2026-06-15T03:22:34.045Z",
233313
+ buildTime: "2026-06-15T03:37:20.477Z",
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.2"
233984
+ [import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.3"
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.2");
234011
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.3");
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.2";
401100
+ attributes["app.version"] = "4.2.3";
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.2",
434634
+ release: "4.2.3",
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.2" : undefined,
466526
+ release: typeof MACRO !== "undefined" ? "4.2.3" : 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.2");
494411
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.3");
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.2"
494451
+ [import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.3"
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.2");
494496
+ return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.3");
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.2");
494516
+ const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.3");
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.2");
494578
+ return meterProvider.getMeter("com.anthropic.claude_code", "4.2.3");
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.2"
495636
+ currentVersion: "4.2.3"
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.2"
495645
+ currentVersion: "4.2.3"
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.2" : "unknown";
496191
+ const version7 = typeof MACRO !== "undefined" ? "4.2.3" : "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.2",
534289
+ version: "4.2.3",
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.2",
534659
+ version: "4.2.3",
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.2";
536027
+ return "4.2.3";
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.2", maxVersion)) {
537392
- logForDebugging(`Native installer: current version ${"4.2.2"} is already at or above maxVersion ${maxVersion}, skipping update`);
537391
+ if (gte2("4.2.3", maxVersion)) {
537392
+ logForDebugging(`Native installer: current version ${"4.2.3"} 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.2" && await versionIsAvailable(version8) && await isPossibleClaudeBinary(executablePath)) {
537403
+ if (!forceReinstall && version8 === "4.2.3" && 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,
@@ -671198,7 +671198,7 @@ function Feedback({
671198
671198
  platform: env4.platform,
671199
671199
  gitRepo: envInfo.isGit,
671200
671200
  terminal: env4.terminal,
671201
- version: "4.2.2",
671201
+ version: "4.2.3",
671202
671202
  transcript: normalizeMessagesForAPI(messages),
671203
671203
  errors: sanitizedErrors,
671204
671204
  lastApiRequest: getLastAPIRequest(),
@@ -671383,7 +671383,7 @@ function Feedback({
671383
671383
  ", ",
671384
671384
  env4.terminal,
671385
671385
  ", v",
671386
- "4.2.2"
671386
+ "4.2.3"
671387
671387
  ]
671388
671388
  })
671389
671389
  ]
@@ -671489,7 +671489,7 @@ ${sanitizedDescription}
671489
671489
  ` + `**Environment Info**
671490
671490
  ` + `- Platform: ${env4.platform}
671491
671491
  ` + `- Terminal: ${env4.terminal}
671492
- ` + `- Version: ${"4.2.2"}
671492
+ ` + `- Version: ${"4.2.3"}
671493
671493
  ` + `- Feedback ID: ${feedbackId}
671494
671494
  ` + `
671495
671495
  **Errors**
@@ -673690,7 +673690,7 @@ function buildPrimarySection() {
673690
673690
  children: "/rename to add a name"
673691
673691
  });
673692
673692
  return [
673693
- { label: "Version", value: "4.2.2" },
673693
+ { label: "Version", value: "4.2.3" },
673694
673694
  { label: "Session name", value: nameValue },
673695
673695
  { label: "Session ID", value: sessionId },
673696
673696
  { label: "cwd", value: getCwd() },
@@ -676494,7 +676494,7 @@ function Config({
676494
676494
  }
676495
676495
  })
676496
676496
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime191.jsx(ChannelDowngradeDialog, {
676497
- currentVersion: "4.2.2",
676497
+ currentVersion: "4.2.3",
676498
676498
  onChoice: (choice) => {
676499
676499
  setShowSubmenu(null);
676500
676500
  setTabsHidden(false);
@@ -676506,7 +676506,7 @@ function Config({
676506
676506
  autoUpdatesChannel: "stable"
676507
676507
  };
676508
676508
  if (choice === "stay") {
676509
- newSettings.minimumVersion = "4.2.2";
676509
+ newSettings.minimumVersion = "4.2.3";
676510
676510
  }
676511
676511
  updateSettingsForSource("userSettings", newSettings);
676512
676512
  setSettingsData((prev) => ({
@@ -681956,7 +681956,7 @@ function HelpV2({ onClose, commands: commands11 }) {
681956
681956
  color: "professionalBlue",
681957
681957
  children: [
681958
681958
  /* @__PURE__ */ jsx_runtime218.jsx(Tabs, {
681959
- title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.2"}`,
681959
+ title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.3"}`,
681960
681960
  color: "professionalBlue",
681961
681961
  defaultTab: "general",
681962
681962
  children: tabs
@@ -773536,7 +773536,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
773536
773536
  return [];
773537
773537
  }
773538
773538
  }
773539
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.2") {
773539
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.3") {
773540
773540
  if (process.env.USER_TYPE === "sf") {
773541
773541
  const changelog = "";
773542
773542
  if (changelog) {
@@ -773563,7 +773563,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.2") {
773563
773563
  releaseNotes
773564
773564
  };
773565
773565
  }
773566
- function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.2") {
773566
+ function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.3") {
773567
773567
  if (process.env.USER_TYPE === "sf") {
773568
773568
  const changelog = "";
773569
773569
  if (changelog) {
@@ -776072,7 +776072,7 @@ function isNotLoggedIn() {
776072
776072
  return true;
776073
776073
  }
776074
776074
  function getLogoDisplayData() {
776075
- const version8 = process.env.DEMO_VERSION ?? "4.2.2";
776075
+ const version8 = process.env.DEMO_VERSION ?? "4.2.3";
776076
776076
  const serverUrl = getDirectConnectServerUrl();
776077
776077
  const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
776078
776078
  const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
@@ -776595,7 +776595,7 @@ var cachedSystemTheme2;
776595
776595
  // src/components/matrix-tactical/MatrixWelcome.tsx
776596
776596
  import { basename as basename47 } from "path";
776597
776597
  function MatrixWelcome({
776598
- version: version8 = "4.2.2",
776598
+ version: version8 = "4.2.3",
776599
776599
  projectName,
776600
776600
  cwd: cwd2,
776601
776601
  modelDisplayName,
@@ -777228,13 +777228,13 @@ function LogoV2() {
777228
777228
  const { hasReleaseNotes } = checkForReleaseNotesSync(config12.lastReleaseNotesSeen);
777229
777229
  import_react166.useEffect(() => {
777230
777230
  const currentConfig = getGlobalConfig();
777231
- if (currentConfig.lastReleaseNotesSeen === "4.2.2") {
777231
+ if (currentConfig.lastReleaseNotesSeen === "4.2.3") {
777232
777232
  return;
777233
777233
  }
777234
777234
  saveGlobalConfig((current2) => {
777235
- if (current2.lastReleaseNotesSeen === "4.2.2")
777235
+ if (current2.lastReleaseNotesSeen === "4.2.3")
777236
777236
  return current2;
777237
- return { ...current2, lastReleaseNotesSeen: "4.2.2" };
777237
+ return { ...current2, lastReleaseNotesSeen: "4.2.3" };
777238
777238
  });
777239
777239
  if (showOnboarding) {
777240
777240
  incrementProjectOnboardingSeenCount();
@@ -799008,7 +799008,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
799008
799008
  smapsRollup,
799009
799009
  platform: process.platform,
799010
799010
  nodeVersion: process.version,
799011
- ccVersion: "4.2.2"
799011
+ ccVersion: "4.2.3"
799012
799012
  };
799013
799013
  }
799014
799014
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -799123,7 +799123,7 @@ var init_mock_limits = __esm(() => {
799123
799123
  var call54 = async () => {
799124
799124
  return {
799125
799125
  type: "text",
799126
- value: `${"4.2.2"} (built ${"2026-06-15T03:22:34.045Z"})`
799126
+ value: `${"4.2.3"} (built ${"2026-06-15T03:37:20.477Z"})`
799127
799127
  };
799128
799128
  }, version8, version_default;
799129
799129
  var init_version2 = __esm(() => {
@@ -805461,8 +805461,8 @@ var init_tag2 = __esm(() => {
805461
805461
  import { createRequire as createRequire5 } from "module";
805462
805462
  function getVersion2() {
805463
805463
  try {
805464
- if (typeof MACRO !== "undefined" && "4.2.2")
805465
- return "4.2.2";
805464
+ if (typeof MACRO !== "undefined" && "4.2.3")
805465
+ return "4.2.3";
805466
805466
  } catch {}
805467
805467
  try {
805468
805468
  const require4 = createRequire5(import.meta.url);
@@ -815744,7 +815744,7 @@ function generateHtmlReport(data, insights) {
815744
815744
  </html>`;
815745
815745
  }
815746
815746
  function buildExportData(data, insights, facets, remoteStats) {
815747
- const version9 = typeof MACRO !== "undefined" ? "4.2.2" : "unknown";
815747
+ const version9 = typeof MACRO !== "undefined" ? "4.2.3" : "unknown";
815748
815748
  const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
815749
815749
  const facets_summary = {
815750
815750
  total: facets.size,
@@ -820029,7 +820029,7 @@ var init_sessionStorage = __esm(() => {
820029
820029
  init_settings2();
820030
820030
  init_slowOperations();
820031
820031
  init_uuid();
820032
- VERSION10 = typeof MACRO !== "undefined" ? "4.2.2" : "unknown";
820032
+ VERSION10 = typeof MACRO !== "undefined" ? "4.2.3" : "unknown";
820033
820033
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
820034
820034
  SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
820035
820035
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -821337,7 +821337,7 @@ var init_filesystem = __esm(() => {
821337
821337
  });
821338
821338
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
821339
821339
  const nonce = randomBytes24(16).toString("hex");
821340
- return join197(getCostrictTempDir(), "bundled-skills", "4.2.2", nonce);
821340
+ return join197(getCostrictTempDir(), "bundled-skills", "4.2.3", nonce);
821341
821341
  });
821342
821342
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
821343
821343
  });
@@ -827534,7 +827534,7 @@ function computeFingerprint(messageText, version9) {
827534
827534
  }
827535
827535
  function computeFingerprintFromMessages(messages) {
827536
827536
  const firstMessageText = extractFirstMessageText(messages);
827537
- return computeFingerprint(firstMessageText, "4.2.2");
827537
+ return computeFingerprint(firstMessageText, "4.2.3");
827538
827538
  }
827539
827539
  var FINGERPRINT_SALT = "59cf53e54c78";
827540
827540
  var init_fingerprint = () => {};
@@ -827944,7 +827944,7 @@ function getAnthropicEnvMetadata() {
827944
827944
  function getBuildAgeMinutes() {
827945
827945
  if (false)
827946
827946
  ;
827947
- const buildTime = new Date("2026-06-15T03:22:34.045Z").getTime();
827947
+ const buildTime = new Date("2026-06-15T03:37:20.477Z").getTime();
827948
827948
  if (isNaN(buildTime))
827949
827949
  return;
827950
827950
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -840733,7 +840733,7 @@ async function sideQuery(opts) {
840733
840733
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
840734
840734
  }
840735
840735
  const messageText = extractFirstUserMessageText(messages);
840736
- const fingerprint = computeFingerprint(messageText, "4.2.2");
840736
+ const fingerprint = computeFingerprint(messageText, "4.2.3");
840737
840737
  const attributionHeader = getAttributionHeader(fingerprint);
840738
840738
  const systemBlocks = [
840739
840739
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -844108,7 +844108,7 @@ function buildSystemInitMessage(inputs) {
844108
844108
  slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
844109
844109
  apiKeySource: getAnthropicApiKeyWithSource().source,
844110
844110
  betas: getSdkBetas(),
844111
- claude_code_version: "4.2.2",
844111
+ claude_code_version: "4.2.3",
844112
844112
  output_style: outputStyle2,
844113
844113
  agents: inputs.agents.map((agent) => agent.agentType),
844114
844114
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -848963,7 +848963,7 @@ function appendToLog(path47, message2) {
848963
848963
  cwd: getFsImplementation().cwd(),
848964
848964
  userType: process.env.USER_TYPE,
848965
848965
  sessionId: getSessionId(),
848966
- version: "4.2.2"
848966
+ version: "4.2.3"
848967
848967
  };
848968
848968
  getLogWriter(path47).write(messageWithTimestamp);
848969
848969
  }
@@ -869516,7 +869516,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
869516
869516
  project_dir: getOriginalCwd(),
869517
869517
  added_dirs: addedDirs
869518
869518
  },
869519
- version: "4.2.2",
869519
+ version: "4.2.3",
869520
869520
  output_style: {
869521
869521
  name: outputStyleName
869522
869522
  },
@@ -888050,7 +888050,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
888050
888050
  } catch {}
888051
888051
  const data = {
888052
888052
  trigger,
888053
- version: "4.2.2",
888053
+ version: "4.2.3",
888054
888054
  platform: process.platform,
888055
888055
  transcript,
888056
888056
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -889292,7 +889292,7 @@ function getReleaseType(current2, latest) {
889292
889292
  return "patch";
889293
889293
  }
889294
889294
  async function checkNewAutoUpdate(callbacks) {
889295
- const currentVersion = "4.2.2";
889295
+ const currentVersion = "4.2.3";
889296
889296
  logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
889297
889297
  if (isNewAutoUpdaterDisabled()) {
889298
889298
  return { action: "skip", currentVersion, latestVersion: null };
@@ -900137,7 +900137,7 @@ function WelcomeV2() {
900137
900137
  dimColor: true,
900138
900138
  children: [
900139
900139
  "v",
900140
- "4.2.2",
900140
+ "4.2.3",
900141
900141
  " "
900142
900142
  ]
900143
900143
  })
@@ -900203,7 +900203,7 @@ function WelcomeV2() {
900203
900203
  dimColor: true,
900204
900204
  children: [
900205
900205
  "v",
900206
- "4.2.2",
900206
+ "4.2.3",
900207
900207
  " "
900208
900208
  ]
900209
900209
  })
@@ -900305,7 +900305,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
900305
900305
  dimColor: true,
900306
900306
  children: [
900307
900307
  "v",
900308
- "4.2.2",
900308
+ "4.2.3",
900309
900309
  " "
900310
900310
  ]
900311
900311
  })
@@ -900371,7 +900371,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
900371
900371
  dimColor: true,
900372
900372
  children: [
900373
900373
  "v",
900374
- "4.2.2",
900374
+ "4.2.3",
900375
900375
  " "
900376
900376
  ]
900377
900377
  })
@@ -901321,7 +901321,7 @@ function completeOnboarding() {
901321
901321
  saveGlobalConfig((current2) => ({
901322
901322
  ...current2,
901323
901323
  hasCompletedOnboarding: true,
901324
- lastOnboardingVersion: "4.2.2"
901324
+ lastOnboardingVersion: "4.2.3"
901325
901325
  }));
901326
901326
  }
901327
901327
  function showDialog(root9, renderer) {
@@ -902672,7 +902672,7 @@ function registerWeixinBuiltinPlugin() {
902672
902672
  registerBuiltinPlugin({
902673
902673
  name: "weixin",
902674
902674
  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`.",
902675
- version: "4.2.2",
902675
+ version: "4.2.3",
902676
902676
  defaultEnabled: true,
902677
902677
  mcpServers: {
902678
902678
  weixin: {
@@ -906794,7 +906794,14 @@ function getAssistantSystemPromptAddendum() {
906794
906794
  try {
906795
906795
  return readFileSync45(join220(getClaudeConfigHomeDir(), "agents", "assistant.md"), "utf-8");
906796
906796
  } catch {
906797
- return "";
906797
+ const legacyDir = getLegacyConfigHomeDir();
906798
+ if (!legacyDir)
906799
+ return "";
906800
+ try {
906801
+ return readFileSync45(join220(legacyDir, "agents", "assistant.md"), "utf-8");
906802
+ } catch {
906803
+ return "";
906804
+ }
906798
906805
  }
906799
906806
  }
906800
906807
  function getAssistantActivationPath() {
@@ -915003,7 +915010,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
915003
915010
  setCwd(cwd3);
915004
915011
  const server2 = new Server({
915005
915012
  name: "claude/tengu",
915006
- version: "4.2.2"
915013
+ version: "4.2.3"
915007
915014
  }, {
915008
915015
  capabilities: {
915009
915016
  tools: {}
@@ -917287,7 +917294,7 @@ function createHealthRoutes(sessionManager) {
917287
917294
  const uptime2 = process.uptime() * 1000;
917288
917295
  return c10.json({
917289
917296
  status: "ok",
917290
- version: "4.2.2",
917297
+ version: "4.2.3",
917291
917298
  uptime_ms: Math.round(uptime2),
917292
917299
  active_sessions: sessionManager.getActiveCount()
917293
917300
  });
@@ -917550,7 +917557,7 @@ function getMacroDefines() {
917550
917557
  commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
917551
917558
  } catch {}
917552
917559
  return {
917553
- "MACRO.VERSION": JSON.stringify("4.2.2"),
917560
+ "MACRO.VERSION": JSON.stringify("4.2.3"),
917554
917561
  "MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
917555
917562
  "MACRO.COMMIT": JSON.stringify(commit),
917556
917563
  "MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
@@ -923222,7 +923229,7 @@ __export(exports_update, {
923222
923229
  });
923223
923230
  async function update() {
923224
923231
  logEvent("tengu_update_check", {});
923225
- writeToStdout(`Current version: ${"4.2.2"}
923232
+ writeToStdout(`Current version: ${"4.2.3"}
923226
923233
  `);
923227
923234
  const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
923228
923235
  writeToStdout(`Checking for updates to ${channel5} version...
@@ -923297,8 +923304,8 @@ async function update() {
923297
923304
  writeToStdout(`CoStrict is managed by Homebrew.
923298
923305
  `);
923299
923306
  const latest = await getLatestVersion(channel5);
923300
- if (latest && !gte2("4.2.2", latest)) {
923301
- writeToStdout(`Update available: ${"4.2.2"} \u2192 ${latest}
923307
+ if (latest && !gte2("4.2.3", latest)) {
923308
+ writeToStdout(`Update available: ${"4.2.3"} \u2192 ${latest}
923302
923309
  `);
923303
923310
  writeToStdout(`
923304
923311
  `);
@@ -923314,8 +923321,8 @@ async function update() {
923314
923321
  writeToStdout(`CoStrict is managed by winget.
923315
923322
  `);
923316
923323
  const latest = await getLatestVersion(channel5);
923317
- if (latest && !gte2("4.2.2", latest)) {
923318
- writeToStdout(`Update available: ${"4.2.2"} \u2192 ${latest}
923324
+ if (latest && !gte2("4.2.3", latest)) {
923325
+ writeToStdout(`Update available: ${"4.2.3"} \u2192 ${latest}
923319
923326
  `);
923320
923327
  writeToStdout(`
923321
923328
  `);
@@ -923331,8 +923338,8 @@ async function update() {
923331
923338
  writeToStdout(`CoStrict is managed by apk.
923332
923339
  `);
923333
923340
  const latest = await getLatestVersion(channel5);
923334
- if (latest && !gte2("4.2.2", latest)) {
923335
- writeToStdout(`Update available: ${"4.2.2"} \u2192 ${latest}
923341
+ if (latest && !gte2("4.2.3", latest)) {
923342
+ writeToStdout(`Update available: ${"4.2.3"} \u2192 ${latest}
923336
923343
  `);
923337
923344
  writeToStdout(`
923338
923345
  `);
@@ -923397,11 +923404,11 @@ async function update() {
923397
923404
  `);
923398
923405
  await gracefulShutdown(1);
923399
923406
  }
923400
- if (result2.latestVersion === "4.2.2") {
923401
- writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.2"})`) + `
923407
+ if (result2.latestVersion === "4.2.3") {
923408
+ writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.3"})`) + `
923402
923409
  `);
923403
923410
  } else {
923404
- writeToStdout(source_default.green(`Successfully updated from ${"4.2.2"} to version ${result2.latestVersion}`) + `
923411
+ writeToStdout(source_default.green(`Successfully updated from ${"4.2.3"} to version ${result2.latestVersion}`) + `
923405
923412
  `);
923406
923413
  regenerateCompletionCache();
923407
923414
  }
@@ -923461,12 +923468,12 @@ async function update() {
923461
923468
  `);
923462
923469
  await gracefulShutdown(1);
923463
923470
  }
923464
- if (latestVersion === "4.2.2") {
923465
- writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.2"})`) + `
923471
+ if (latestVersion === "4.2.3") {
923472
+ writeToStdout(source_default.green(`CoStrict is up to date (${"4.2.3"})`) + `
923466
923473
  `);
923467
923474
  await gracefulShutdown(0);
923468
923475
  }
923469
- writeToStdout(`New version available: ${latestVersion} (current: ${"4.2.2"})
923476
+ writeToStdout(`New version available: ${latestVersion} (current: ${"4.2.3"})
923470
923477
  `);
923471
923478
  writeToStdout(`Installing update...
923472
923479
  `);
@@ -923511,7 +923518,7 @@ async function update() {
923511
923518
  logForDebugging(`update: Installation status: ${result.status}`);
923512
923519
  switch (result.status) {
923513
923520
  case "success":
923514
- writeToStdout(source_default.green(`Successfully updated from ${"4.2.2"} to version ${latestVersion}`) + `
923521
+ writeToStdout(source_default.green(`Successfully updated from ${"4.2.3"} to version ${latestVersion}`) + `
923515
923522
  `);
923516
923523
  regenerateCompletionCache();
923517
923524
  break;
@@ -925723,7 +925730,7 @@ ${assistantAddendum}` : assistantAddendum;
925723
925730
  }
925724
925731
  }
925725
925732
  logForDiagnosticsNoPII("info", "started", {
925726
- version: "4.2.2",
925733
+ version: "4.2.3",
925727
925734
  is_native_binary: isInBundledMode()
925728
925735
  });
925729
925736
  registerCleanup(async () => {
@@ -926203,7 +926210,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
926203
926210
  sshSession = await createSSHSession2({
926204
926211
  host: _pendingSSH.host,
926205
926212
  cwd: _pendingSSH.cwd,
926206
- localVersion: "4.2.2",
926213
+ localVersion: "4.2.3",
926207
926214
  permissionMode: _pendingSSH.permissionMode,
926208
926215
  dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
926209
926216
  extraCliArgs: _pendingSSH.extraCliArgs,
@@ -926675,7 +926682,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
926675
926682
  pendingHookMessages
926676
926683
  }, renderAndRun);
926677
926684
  }
926678
- }).version("4.2.2 (CoStrict)", "-v, --version", "Output the version number");
926685
+ }).version("4.2.3 (CoStrict)", "-v, --version", "Output the version number");
926679
926686
  program2.addOption(new Option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)").hideHelp());
926680
926687
  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());
926681
926688
  if (canUserConfigureAdvisor()) {
@@ -927389,10 +927396,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
927389
927396
  async function main2() {
927390
927397
  const args = process.argv.slice(2);
927391
927398
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
927392
- const d7 = new Date("2026-06-15T03:22:34.045Z");
927399
+ const d7 = new Date("2026-06-15T03:37:20.477Z");
927393
927400
  const p2 = (n4) => String(n4).padStart(2, "0");
927394
927401
  const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
927395
- console.log(`${"4.2.2"} (commit: ${"e398c0075"}, built: ${buildTime})`);
927402
+ console.log(`${"4.2.3"} (commit: ${"3925049f7"}, built: ${buildTime})`);
927396
927403
  return;
927397
927404
  }
927398
927405
  const { profileCheckpoint: profileCheckpoint2 } = await Promise.resolve().then(() => (init_startupProfiler(), exports_startupProfiler));
@@ -927432,7 +927439,7 @@ async function main2() {
927432
927439
  registerPermissionHandler(server2, handler) {
927433
927440
  server2.setNotificationHandler(ChannelPermissionRequestNotificationSchema2(), async (notification) => handler(notification.params));
927434
927441
  }
927435
- }, "4.2.2");
927442
+ }, "4.2.3");
927436
927443
  return;
927437
927444
  }
927438
927445
  if (args[0] === "--daemon-worker" || args[0]?.startsWith("--daemon-worker=")) {
@@ -927530,5 +927537,5 @@ async function main2() {
927530
927537
  }
927531
927538
  main2();
927532
927539
 
927533
- //# debugId=5F5B384E9EFF15A464756E2164756E21
927540
+ //# debugId=6B3C573962559CF864756E2164756E21
927534
927541
  //# sourceMappingURL=cli.js.map
@@ -477,8 +477,8 @@ async function saveCoStrictCredentials(credentials) {
477
477
  import { createRequire } from "module";
478
478
  function getVersion() {
479
479
  try {
480
- if (typeof MACRO !== "undefined" && "4.2.2")
481
- return "4.2.2";
480
+ if (typeof MACRO !== "undefined" && "4.2.3")
481
+ return "4.2.3";
482
482
  } catch {}
483
483
  try {
484
484
  const require2 = createRequire(import.meta.url);
@@ -2756,5 +2756,5 @@ export {
2756
2756
  startBatchWorker
2757
2757
  };
2758
2758
 
2759
- //# debugId=5B5356A9971433D364756E2164756E21
2759
+ //# debugId=117D8085B3E895FB64756E2164756E21
2760
2760
  //# sourceMappingURL=batchWorker.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@costrict/csc",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "costrict",
5
5
  "type": "module",
6
6
  "author": "costrict",