@costrict/csc 4.2.21-beta1 → 4.2.21-beta2
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 +103 -92
- package/dist/services/rawDump/batchWorker.js +7 -7
- package/package.json +1 -1
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.21-
|
|
66660
|
-
cached = "4.2.21-
|
|
66659
|
+
if ("4.2.21-beta2") {
|
|
66660
|
+
cached = "4.2.21-beta2";
|
|
66661
66661
|
return cached;
|
|
66662
66662
|
}
|
|
66663
66663
|
} catch {}
|
|
@@ -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.21-
|
|
220414
|
+
"User-Agent": `csc/${"4.2.21-beta2"}`
|
|
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.21-
|
|
222451
|
+
return `costrict/${"4.2.21-beta2"}`;
|
|
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.21-
|
|
222473
|
+
return `csc/${"4.2.21-beta2"}`;
|
|
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.21-
|
|
222487
|
+
return `csc/${"4.2.21-beta2"}${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.21-
|
|
222607
|
+
appVersion: "4.2.21-beta2",
|
|
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.21-
|
|
233655
|
+
const match = "4.2.21-beta2".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.21-
|
|
233695
|
+
version: "4.2.21-beta2",
|
|
233696
233696
|
versionBase: getVersionBase(),
|
|
233697
|
-
buildTime: "2026-07-
|
|
233697
|
+
buildTime: "2026-07-31T01:30:58.343Z",
|
|
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.21-
|
|
234368
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.21-beta2"
|
|
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.21-
|
|
234395
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.21-beta2");
|
|
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.21-
|
|
434411
|
+
attributes["app.version"] = "4.2.21-beta2";
|
|
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.21-
|
|
467931
|
+
release: "4.2.21-beta2",
|
|
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.21-
|
|
499831
|
+
release: typeof MACRO !== "undefined" ? "4.2.21-beta2" : 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.21-
|
|
527728
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.21-beta2");
|
|
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.21-
|
|
527768
|
+
[import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.21-beta2"
|
|
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.21-
|
|
527813
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.21-beta2");
|
|
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.21-
|
|
527833
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.21-beta2");
|
|
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.21-
|
|
527895
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "4.2.21-beta2");
|
|
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.21-
|
|
528954
|
+
currentVersion: "4.2.21-beta2"
|
|
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.21-
|
|
528963
|
+
currentVersion: "4.2.21-beta2"
|
|
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.21-
|
|
529509
|
+
const version9 = typeof MACRO !== "undefined" ? "4.2.21-beta2" : "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.21-
|
|
567696
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
568067
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
569457
|
+
return "4.2.21-beta2";
|
|
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.21-
|
|
570822
|
-
logForDebugging(`Native installer: current version ${"4.2.21-
|
|
570821
|
+
if (gte2("4.2.21-beta2", maxVersion)) {
|
|
570822
|
+
logForDebugging(`Native installer: current version ${"4.2.21-beta2"} 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.21-
|
|
570833
|
+
if (!forceReinstall && version10 === "4.2.21-beta2" && 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.21-
|
|
708897
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
709080
|
+
"4.2.21-beta2"
|
|
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.21-
|
|
709177
|
+
` + `- Version: ${"4.2.21-beta2"}
|
|
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.21-
|
|
711416
|
+
{ label: t("settings.status.version"), value: "4.2.21-beta2" },
|
|
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.21-
|
|
714274
|
+
currentVersion: "4.2.21-beta2",
|
|
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.21-
|
|
714286
|
+
newSettings.minimumVersion = "4.2.21-beta2";
|
|
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.21-
|
|
719755
|
+
title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.21-beta2"}`,
|
|
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.21-
|
|
742756
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.21-beta2") {
|
|
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.21-be
|
|
|
742780
742780
|
releaseNotes
|
|
742781
742781
|
};
|
|
742782
742782
|
}
|
|
742783
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.21-
|
|
742783
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.21-beta2") {
|
|
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.21-
|
|
745296
|
+
const version10 = process.env.DEMO_VERSION ?? "4.2.21-beta2";
|
|
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.21-
|
|
745874
|
+
version: version10 = "4.2.21-beta2",
|
|
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.21-
|
|
746509
|
+
if (currentConfig.lastReleaseNotesSeen === "4.2.21-beta2") {
|
|
746510
746510
|
return;
|
|
746511
746511
|
}
|
|
746512
746512
|
saveGlobalConfig((current2) => {
|
|
746513
|
-
if (current2.lastReleaseNotesSeen === "4.2.21-
|
|
746513
|
+
if (current2.lastReleaseNotesSeen === "4.2.21-beta2")
|
|
746514
746514
|
return current2;
|
|
746515
|
-
return { ...current2, lastReleaseNotesSeen: "4.2.21-
|
|
746515
|
+
return { ...current2, lastReleaseNotesSeen: "4.2.21-beta2" };
|
|
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.21-
|
|
769045
|
+
ccVersion: "4.2.21-beta2"
|
|
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.21-
|
|
769161
|
+
value: `${"4.2.21-beta2"} (built ${"2026-07-31T01:30:58.343Z"})`
|
|
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.21-
|
|
786926
|
+
const version11 = typeof MACRO !== "undefined" ? "4.2.21-beta2" : "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.21-
|
|
791376
|
+
VERSION11 = typeof MACRO !== "undefined" ? "4.2.21-beta2" : "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.21-
|
|
792717
|
+
return join204(getCostrictTempDir(), "bundled-skills", "4.2.21-beta2", 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.21-
|
|
798987
|
+
return computeFingerprint(firstMessageText, "4.2.21-beta2");
|
|
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-
|
|
799397
|
+
const buildTime = new Date("2026-07-31T01:30:58.343Z").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.21-
|
|
804794
|
+
const fingerprint = computeFingerprint(messageText, "4.2.21-beta2");
|
|
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.21-
|
|
808190
|
+
claude_code_version: "4.2.21-beta2",
|
|
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.21-
|
|
811734
|
+
version: "4.2.21-beta2"
|
|
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.21-
|
|
832779
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
851404
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
852659
|
+
const currentVersion = "4.2.21-beta2";
|
|
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.21-
|
|
863892
|
+
"4.2.21-beta2",
|
|
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.21-
|
|
863958
|
+
"4.2.21-beta2",
|
|
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.21-
|
|
864060
|
+
"4.2.21-beta2",
|
|
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.21-
|
|
864126
|
+
"4.2.21-beta2",
|
|
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.21-
|
|
865066
|
+
lastOnboardingVersion: "4.2.21-beta2"
|
|
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.21-
|
|
880132
|
+
version: "4.2.21-beta2"
|
|
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.21-
|
|
882417
|
+
version: "4.2.21-beta2",
|
|
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.21-
|
|
882689
|
+
"MACRO.VERSION": JSON.stringify("4.2.21-beta2"),
|
|
882690
882690
|
"MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
|
|
882691
882691
|
"MACRO.COMMIT": JSON.stringify(commit),
|
|
882692
882692
|
"MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
|
|
@@ -887315,7 +887315,8 @@ import { spawn as spawn18, spawnSync as spawnSync11 } from "child_process";
|
|
|
887315
887315
|
import { createInterface as createInterface4 } from "readline";
|
|
887316
887316
|
import { readdir as readdir51, readFile as readFile92 } from "fs/promises";
|
|
887317
887317
|
import { existsSync as existsSync41 } from "fs";
|
|
887318
|
-
import { join as join235 } from "path";
|
|
887318
|
+
import { join as join235, delimiter as delimiter4 } from "path";
|
|
887319
|
+
import { homedir as homedir61 } from "os";
|
|
887319
887320
|
function extractStdoutError(msg) {
|
|
887320
887321
|
const errors14 = msg.errors;
|
|
887321
887322
|
if (Array.isArray(errors14) && errors14.length > 0) {
|
|
@@ -887347,14 +887348,24 @@ function processExitMessage(code, signal, detail) {
|
|
|
887347
887348
|
const base2 = signal ? `Process exited with signal ${signal}` : `Process exited with code ${code}`;
|
|
887348
887349
|
return detail ? `${base2}: ${detail}` : base2;
|
|
887349
887350
|
}
|
|
887351
|
+
function costrictBinDir() {
|
|
887352
|
+
return join235(homedir61(), ".costrict", "bin");
|
|
887353
|
+
}
|
|
887354
|
+
function prependCostrictBin(pathValue) {
|
|
887355
|
+
const bin = costrictBinDir();
|
|
887356
|
+
const parts = (pathValue ?? "").split(delimiter4).filter((p2) => p2.length > 0 && p2 !== bin);
|
|
887357
|
+
return [bin, ...parts].join(delimiter4);
|
|
887358
|
+
}
|
|
887350
887359
|
function buildSpawnEnv(sessionEnv) {
|
|
887351
|
-
|
|
887360
|
+
const env9 = {
|
|
887352
887361
|
...process.env,
|
|
887353
|
-
...sessionEnv
|
|
887354
|
-
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1",
|
|
887355
|
-
CSC_SERVE_MODE: "1",
|
|
887356
|
-
CSC_SERVE_PARENT_PID: String(process.pid)
|
|
887362
|
+
...sessionEnv
|
|
887357
887363
|
};
|
|
887364
|
+
env9.PATH = prependCostrictBin(env9.PATH);
|
|
887365
|
+
env9.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1";
|
|
887366
|
+
env9.CSC_SERVE_MODE = "1";
|
|
887367
|
+
env9.CSC_SERVE_PARENT_PID = String(process.pid);
|
|
887368
|
+
return env9;
|
|
887358
887369
|
}
|
|
887359
887370
|
var import_tree_kill2, TERMINATE_GRACE_MS = 4000, SIGKILL_WAIT_MS = 2000, TREE_EXIT_POLL_MS = 25, SessionHandle;
|
|
887360
887371
|
var init_sessionHandle = __esm(() => {
|
|
@@ -889668,7 +889679,7 @@ __export(exports_update, {
|
|
|
889668
889679
|
});
|
|
889669
889680
|
async function update() {
|
|
889670
889681
|
logEvent("tengu_update_check", {});
|
|
889671
|
-
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.21-
|
|
889682
|
+
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.21-beta2"}
|
|
889672
889683
|
`);
|
|
889673
889684
|
const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
889674
889685
|
writeToStdout(`${t("cli.update.checkingUpdates", { channel: channel5 }, "Checking for updates to {channel} version...")}
|
|
@@ -889743,8 +889754,8 @@ async function update() {
|
|
|
889743
889754
|
writeToStdout(`${t("cli.update.managedByHomebrew", "CoStrict is managed by Homebrew.")}
|
|
889744
889755
|
`);
|
|
889745
889756
|
const latest = await getLatestVersion(channel5);
|
|
889746
|
-
if (latest && !gte2("4.2.21-
|
|
889747
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-
|
|
889757
|
+
if (latest && !gte2("4.2.21-beta2", latest)) {
|
|
889758
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta2", latest }, "Update available: {current} \u2192 {latest}")}
|
|
889748
889759
|
`);
|
|
889749
889760
|
writeToStdout(`
|
|
889750
889761
|
`);
|
|
@@ -889760,8 +889771,8 @@ async function update() {
|
|
|
889760
889771
|
writeToStdout(`${t("cli.update.managedByWinget", "CoStrict is managed by winget.")}
|
|
889761
889772
|
`);
|
|
889762
889773
|
const latest = await getLatestVersion(channel5);
|
|
889763
|
-
if (latest && !gte2("4.2.21-
|
|
889764
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-
|
|
889774
|
+
if (latest && !gte2("4.2.21-beta2", latest)) {
|
|
889775
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta2", latest }, "Update available: {current} \u2192 {latest}")}
|
|
889765
889776
|
`);
|
|
889766
889777
|
writeToStdout(`
|
|
889767
889778
|
`);
|
|
@@ -889777,8 +889788,8 @@ async function update() {
|
|
|
889777
889788
|
writeToStdout(`${t("cli.update.managedByApk", "CoStrict is managed by apk.")}
|
|
889778
889789
|
`);
|
|
889779
889790
|
const latest = await getLatestVersion(channel5);
|
|
889780
|
-
if (latest && !gte2("4.2.21-
|
|
889781
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-
|
|
889791
|
+
if (latest && !gte2("4.2.21-beta2", latest)) {
|
|
889792
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.21-beta2", latest }, "Update available: {current} \u2192 {latest}")}
|
|
889782
889793
|
`);
|
|
889783
889794
|
writeToStdout(`
|
|
889784
889795
|
`);
|
|
@@ -889843,11 +889854,11 @@ async function update() {
|
|
|
889843
889854
|
`);
|
|
889844
889855
|
await gracefulShutdown(1);
|
|
889845
889856
|
}
|
|
889846
|
-
if (result2.latestVersion === "4.2.21-
|
|
889847
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-
|
|
889857
|
+
if (result2.latestVersion === "4.2.21-beta2") {
|
|
889858
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-beta2" }, "CoStrict is up to date ({version})")) + `
|
|
889848
889859
|
`);
|
|
889849
889860
|
} else {
|
|
889850
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-
|
|
889861
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-beta2", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
889851
889862
|
`);
|
|
889852
889863
|
regenerateCompletionCache();
|
|
889853
889864
|
}
|
|
@@ -889907,12 +889918,12 @@ async function update() {
|
|
|
889907
889918
|
`);
|
|
889908
889919
|
await gracefulShutdown(1);
|
|
889909
889920
|
}
|
|
889910
|
-
if (latestVersion === "4.2.21-
|
|
889911
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-
|
|
889921
|
+
if (latestVersion === "4.2.21-beta2") {
|
|
889922
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.21-beta2" }, "CoStrict is up to date ({version})")) + `
|
|
889912
889923
|
`);
|
|
889913
889924
|
await gracefulShutdown(0);
|
|
889914
889925
|
}
|
|
889915
|
-
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.21-
|
|
889926
|
+
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.21-beta2" }, "New version available: {latest} (current: {current})")}
|
|
889916
889927
|
`);
|
|
889917
889928
|
writeToStdout(`${t("cli.update.installing", "Installing update...")}
|
|
889918
889929
|
`);
|
|
@@ -889957,7 +889968,7 @@ async function update() {
|
|
|
889957
889968
|
logForDebugging(`update: Installation status: ${result.status}`);
|
|
889958
889969
|
switch (result.status) {
|
|
889959
889970
|
case "success":
|
|
889960
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-
|
|
889971
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.21-beta2", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
889961
889972
|
`);
|
|
889962
889973
|
regenerateCompletionCache();
|
|
889963
889974
|
break;
|
|
@@ -890050,11 +890061,11 @@ var exports_install = {};
|
|
|
890050
890061
|
__export(exports_install, {
|
|
890051
890062
|
install: () => install
|
|
890052
890063
|
});
|
|
890053
|
-
import { homedir as
|
|
890064
|
+
import { homedir as homedir62 } from "os";
|
|
890054
890065
|
import { join as join237 } from "path";
|
|
890055
890066
|
function getInstallationPath2() {
|
|
890056
890067
|
const isWindows4 = env4.platform === "win32";
|
|
890057
|
-
const homeDir =
|
|
890068
|
+
const homeDir = homedir62();
|
|
890058
890069
|
if (isWindows4) {
|
|
890059
890070
|
const windowsPath = join237(homeDir, ".local", "bin", "claude.exe");
|
|
890060
890071
|
return windowsPath.replace(/\//gu, "\\");
|
|
@@ -892161,7 +892172,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
892161
892172
|
}
|
|
892162
892173
|
}
|
|
892163
892174
|
logForDiagnosticsNoPII("info", "started", {
|
|
892164
|
-
version: "4.2.21-
|
|
892175
|
+
version: "4.2.21-beta2",
|
|
892165
892176
|
is_native_binary: isInBundledMode()
|
|
892166
892177
|
});
|
|
892167
892178
|
registerCleanup(async () => {
|
|
@@ -892652,7 +892663,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
|
|
|
892652
892663
|
sshSession = await createSSHSession2({
|
|
892653
892664
|
host: _pendingSSH.host,
|
|
892654
892665
|
cwd: _pendingSSH.cwd,
|
|
892655
|
-
localVersion: "4.2.21-
|
|
892666
|
+
localVersion: "4.2.21-beta2",
|
|
892656
892667
|
permissionMode: _pendingSSH.permissionMode,
|
|
892657
892668
|
dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
|
|
892658
892669
|
extraCliArgs: _pendingSSH.extraCliArgs,
|
|
@@ -893121,7 +893132,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
893121
893132
|
pendingHookMessages
|
|
893122
893133
|
}, renderAndRun);
|
|
893123
893134
|
}
|
|
893124
|
-
}).version("4.2.21-
|
|
893135
|
+
}).version("4.2.21-beta2 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
|
|
893125
893136
|
program2.addOption(new Option("-w, --worktree [name]", cliDesc("cli.option.worktree", "Create a new git worktree for this session (optionally specify a name)")).hideHelp());
|
|
893126
893137
|
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());
|
|
893127
893138
|
if (canUserConfigureAdvisor()) {
|
|
@@ -893864,10 +893875,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
|
|
|
893864
893875
|
async function main2() {
|
|
893865
893876
|
const args = process.argv.slice(2);
|
|
893866
893877
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
893867
|
-
const d7 = new Date("2026-07-
|
|
893878
|
+
const d7 = new Date("2026-07-31T01:30:58.343Z");
|
|
893868
893879
|
const p2 = (n3) => String(n3).padStart(2, "0");
|
|
893869
893880
|
const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
|
|
893870
|
-
console.log(`${"4.2.21-
|
|
893881
|
+
console.log(`${"4.2.21-beta2"} (commit: ${"62172805a"}, built: ${buildTime})`);
|
|
893871
893882
|
return;
|
|
893872
893883
|
}
|
|
893873
893884
|
let stopServeParentWatchdog;
|
|
@@ -894043,5 +894054,5 @@ async function main2() {
|
|
|
894043
894054
|
}
|
|
894044
894055
|
main2();
|
|
894045
894056
|
|
|
894046
|
-
//# debugId=
|
|
894057
|
+
//# debugId=9148D49D2653D76064756E2164756E21
|
|
894047
894058
|
|
|
@@ -736,8 +736,8 @@ function getClientVersion() {
|
|
|
736
736
|
if (cached)
|
|
737
737
|
return cached;
|
|
738
738
|
try {
|
|
739
|
-
if ("4.2.21-
|
|
740
|
-
cached = "4.2.21-
|
|
739
|
+
if ("4.2.21-beta2") {
|
|
740
|
+
cached = "4.2.21-beta2";
|
|
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.21-
|
|
138484
|
+
appVersion: "4.2.21-beta2",
|
|
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.21-
|
|
138771
|
+
const match = "4.2.21-beta2".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.21-
|
|
138811
|
+
version: "4.2.21-beta2",
|
|
138812
138812
|
versionBase: getVersionBase(),
|
|
138813
|
-
buildTime: "2026-07-
|
|
138813
|
+
buildTime: "2026-07-31T01:31:00.396Z",
|
|
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=
|
|
143151
|
+
//# debugId=F5814EB9DD8BA9DF64756E2164756E21
|
|
143152
143152
|
|