@costrict/csc 4.2.35-beta → 4.2.35
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 +84 -84
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -31759,8 +31759,8 @@ function getClientVersion() {
|
|
|
31759
31759
|
if (cached)
|
|
31760
31760
|
return cached;
|
|
31761
31761
|
try {
|
|
31762
|
-
if ("4.2.35
|
|
31763
|
-
cached = "4.2.35
|
|
31762
|
+
if ("4.2.35") {
|
|
31763
|
+
cached = "4.2.35";
|
|
31764
31764
|
return cached;
|
|
31765
31765
|
}
|
|
31766
31766
|
} catch {}
|
|
@@ -224369,7 +224369,7 @@ async function fetchCoStrictModels(baseUrl, accessToken) {
|
|
|
224369
224369
|
headers: {
|
|
224370
224370
|
Authorization: `Bearer ${accessToken}`,
|
|
224371
224371
|
Accept: "application/json",
|
|
224372
|
-
"User-Agent": `csc/${"4.2.35
|
|
224372
|
+
"User-Agent": `csc/${"4.2.35"}`
|
|
224373
224373
|
},
|
|
224374
224374
|
signal: controller.signal
|
|
224375
224375
|
});
|
|
@@ -226409,7 +226409,7 @@ var init_auth7 = __esm(() => {
|
|
|
226409
226409
|
|
|
226410
226410
|
// src/utils/userAgent.ts
|
|
226411
226411
|
function getClaudeCodeUserAgent() {
|
|
226412
|
-
return `costrict/${"4.2.35
|
|
226412
|
+
return `costrict/${"4.2.35"}`;
|
|
226413
226413
|
}
|
|
226414
226414
|
|
|
226415
226415
|
// src/utils/workloadContext.ts
|
|
@@ -226431,7 +226431,7 @@ function getUserAgent() {
|
|
|
226431
226431
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
226432
226432
|
const workload = getWorkload();
|
|
226433
226433
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
226434
|
-
return `csc/${"4.2.35
|
|
226434
|
+
return `csc/${"4.2.35"}`;
|
|
226435
226435
|
}
|
|
226436
226436
|
function getMCPUserAgent() {
|
|
226437
226437
|
const parts = [];
|
|
@@ -226445,7 +226445,7 @@ function getMCPUserAgent() {
|
|
|
226445
226445
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
226446
226446
|
}
|
|
226447
226447
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
226448
|
-
return `csc/${"4.2.35
|
|
226448
|
+
return `csc/${"4.2.35"}${suffix}`;
|
|
226449
226449
|
}
|
|
226450
226450
|
function getWebFetchUserAgent() {
|
|
226451
226451
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -226565,7 +226565,7 @@ var init_user = __esm(() => {
|
|
|
226565
226565
|
deviceId,
|
|
226566
226566
|
sessionId: getSessionId(),
|
|
226567
226567
|
email: getEmail(),
|
|
226568
|
-
appVersion: "4.2.35
|
|
226568
|
+
appVersion: "4.2.35",
|
|
226569
226569
|
platform: getHostPlatformForAnalytics(),
|
|
226570
226570
|
organizationUuid,
|
|
226571
226571
|
accountUuid,
|
|
@@ -237613,7 +237613,7 @@ var init_metadata = __esm(() => {
|
|
|
237613
237613
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
237614
237614
|
WHITESPACE_REGEX = /\s+/;
|
|
237615
237615
|
getVersionBase = memoize_default(() => {
|
|
237616
|
-
const match = "4.2.35
|
|
237616
|
+
const match = "4.2.35".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
237617
237617
|
return match ? match[0] : undefined;
|
|
237618
237618
|
});
|
|
237619
237619
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -237653,9 +237653,9 @@ var init_metadata = __esm(() => {
|
|
|
237653
237653
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
237654
237654
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
237655
237655
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
237656
|
-
version: "4.2.35
|
|
237656
|
+
version: "4.2.35",
|
|
237657
237657
|
versionBase: getVersionBase(),
|
|
237658
|
-
buildTime: "2026-09-
|
|
237658
|
+
buildTime: "2026-09-04T09:22:28.856Z",
|
|
237659
237659
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
237660
237660
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
237661
237661
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -238326,7 +238326,7 @@ function initialize1PEventLogging() {
|
|
|
238326
238326
|
const platform3 = getPlatform();
|
|
238327
238327
|
const attributes = {
|
|
238328
238328
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
238329
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.35
|
|
238329
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.35"
|
|
238330
238330
|
};
|
|
238331
238331
|
if (platform3 === "wsl") {
|
|
238332
238332
|
const wslVersion = getWslVersion();
|
|
@@ -238353,7 +238353,7 @@ function initialize1PEventLogging() {
|
|
|
238353
238353
|
})
|
|
238354
238354
|
]
|
|
238355
238355
|
});
|
|
238356
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.35
|
|
238356
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.35");
|
|
238357
238357
|
}
|
|
238358
238358
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
238359
238359
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -354126,7 +354126,7 @@ function getTelemetryAttributes() {
|
|
|
354126
354126
|
attributes["session.id"] = sessionId;
|
|
354127
354127
|
}
|
|
354128
354128
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
354129
|
-
attributes["app.version"] = "4.2.35
|
|
354129
|
+
attributes["app.version"] = "4.2.35";
|
|
354130
354130
|
}
|
|
354131
354131
|
const oauthAccount = getOauthAccountInfo();
|
|
354132
354132
|
if (oauthAccount) {
|
|
@@ -469252,7 +469252,7 @@ function getInstallationEnv() {
|
|
|
469252
469252
|
return;
|
|
469253
469253
|
}
|
|
469254
469254
|
function getClaudeCodeVersion() {
|
|
469255
|
-
return "4.2.35
|
|
469255
|
+
return "4.2.35";
|
|
469256
469256
|
}
|
|
469257
469257
|
async function getInstalledVSCodeExtensionVersion(command4) {
|
|
469258
469258
|
const { stdout } = await execFileNoThrow(command4, ["--list-extensions", "--show-versions"], {
|
|
@@ -522892,7 +522892,7 @@ function initLangfuse() {
|
|
|
522892
522892
|
flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
|
|
522893
522893
|
mask: maskFn,
|
|
522894
522894
|
environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
|
|
522895
|
-
release: "4.2.35
|
|
522895
|
+
release: "4.2.35",
|
|
522896
522896
|
exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
|
|
522897
522897
|
timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
|
|
522898
522898
|
});
|
|
@@ -523451,7 +523451,7 @@ function computeFingerprint(messageText2, version11) {
|
|
|
523451
523451
|
}
|
|
523452
523452
|
function computeFingerprintFromMessages(messages) {
|
|
523453
523453
|
const firstMessageText = extractFirstMessageText(messages);
|
|
523454
|
-
return computeFingerprint(firstMessageText, "4.2.35
|
|
523454
|
+
return computeFingerprint(firstMessageText, "4.2.35");
|
|
523455
523455
|
}
|
|
523456
523456
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
523457
523457
|
var init_fingerprint = () => {};
|
|
@@ -524003,7 +524003,7 @@ async function sideQuery(opts) {
|
|
|
524003
524003
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
524004
524004
|
}
|
|
524005
524005
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
524006
|
-
const fingerprint = computeFingerprint(messageText2, "4.2.35
|
|
524006
|
+
const fingerprint = computeFingerprint(messageText2, "4.2.35");
|
|
524007
524007
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
524008
524008
|
const systemBlocks = [
|
|
524009
524009
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -525430,7 +525430,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
525430
525430
|
const client10 = new Client({
|
|
525431
525431
|
name: "claude-code",
|
|
525432
525432
|
title: "CoStrict",
|
|
525433
|
-
version: "4.2.35
|
|
525433
|
+
version: "4.2.35",
|
|
525434
525434
|
description: "CoStrict agentic coding tool",
|
|
525435
525435
|
websiteUrl: PRODUCT_URL
|
|
525436
525436
|
}, {
|
|
@@ -525801,7 +525801,7 @@ var init_client17 = __esm(() => {
|
|
|
525801
525801
|
const client10 = new Client({
|
|
525802
525802
|
name: "claude-code",
|
|
525803
525803
|
title: "CoStrict",
|
|
525804
|
-
version: "4.2.35
|
|
525804
|
+
version: "4.2.35",
|
|
525805
525805
|
description: "CoStrict agentic coding tool",
|
|
525806
525806
|
websiteUrl: PRODUCT_URL
|
|
525807
525807
|
}, {
|
|
@@ -624696,7 +624696,7 @@ function initSentry() {
|
|
|
624696
624696
|
}
|
|
624697
624697
|
init3({
|
|
624698
624698
|
dsn,
|
|
624699
|
-
release: typeof MACRO !== "undefined" ? "4.2.35
|
|
624699
|
+
release: typeof MACRO !== "undefined" ? "4.2.35" : undefined,
|
|
624700
624700
|
environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "production",
|
|
624701
624701
|
maxBreadcrumbs: 20,
|
|
624702
624702
|
sampleRate: 1,
|
|
@@ -652345,7 +652345,7 @@ async function initializeBetaTracing(resource) {
|
|
|
652345
652345
|
});
|
|
652346
652346
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
652347
652347
|
setLoggerProvider(loggerProvider);
|
|
652348
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.35
|
|
652348
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.35");
|
|
652349
652349
|
setEventLogger(eventLogger);
|
|
652350
652350
|
process.on("beforeExit", async () => {
|
|
652351
652351
|
await loggerProvider?.forceFlush();
|
|
@@ -652385,7 +652385,7 @@ async function initializeTelemetry() {
|
|
|
652385
652385
|
const platform10 = getPlatform();
|
|
652386
652386
|
const baseAttributes = {
|
|
652387
652387
|
[import_semantic_conventions29.ATTR_SERVICE_NAME]: "claude-code",
|
|
652388
|
-
[import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.35
|
|
652388
|
+
[import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.35"
|
|
652389
652389
|
};
|
|
652390
652390
|
if (platform10 === "wsl") {
|
|
652391
652391
|
const wslVersion = getWslVersion();
|
|
@@ -652430,7 +652430,7 @@ async function initializeTelemetry() {
|
|
|
652430
652430
|
} catch {}
|
|
652431
652431
|
};
|
|
652432
652432
|
registerCleanup(shutdownTelemetry2);
|
|
652433
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.35
|
|
652433
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.35");
|
|
652434
652434
|
}
|
|
652435
652435
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
652436
652436
|
resource,
|
|
@@ -652450,7 +652450,7 @@ async function initializeTelemetry() {
|
|
|
652450
652450
|
});
|
|
652451
652451
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
652452
652452
|
setLoggerProvider(loggerProvider);
|
|
652453
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.35
|
|
652453
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.35");
|
|
652454
652454
|
setEventLogger(eventLogger);
|
|
652455
652455
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
652456
652456
|
process.on("beforeExit", async () => {
|
|
@@ -652512,7 +652512,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
652512
652512
|
}
|
|
652513
652513
|
};
|
|
652514
652514
|
registerCleanup(shutdownTelemetry);
|
|
652515
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "4.2.35
|
|
652515
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "4.2.35");
|
|
652516
652516
|
}
|
|
652517
652517
|
async function flushTelemetry() {
|
|
652518
652518
|
const meterProvider = getMeterProvider();
|
|
@@ -653482,7 +653482,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
653482
653482
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
653483
653483
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
653484
653484
|
pid: process.pid,
|
|
653485
|
-
currentVersion: "4.2.35
|
|
653485
|
+
currentVersion: "4.2.35"
|
|
653486
653486
|
});
|
|
653487
653487
|
return { status: "in_progress" };
|
|
653488
653488
|
}
|
|
@@ -653491,7 +653491,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
653491
653491
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
653492
653492
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
653493
653493
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
653494
|
-
currentVersion: "4.2.35
|
|
653494
|
+
currentVersion: "4.2.35"
|
|
653495
653495
|
});
|
|
653496
653496
|
return {
|
|
653497
653497
|
status: "install_failed",
|
|
@@ -654037,7 +654037,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
654037
654037
|
}
|
|
654038
654038
|
async function getDoctorDiagnostic() {
|
|
654039
654039
|
const installationType = await getCurrentInstallationType();
|
|
654040
|
-
const version11 = typeof MACRO !== "undefined" ? "4.2.35
|
|
654040
|
+
const version11 = typeof MACRO !== "undefined" ? "4.2.35" : "unknown";
|
|
654041
654041
|
const installationPath = await getInstallationPath();
|
|
654042
654042
|
const invokedBinary = getInvokedBinary();
|
|
654043
654043
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -654979,8 +654979,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
654979
654979
|
const maxVersion = await getMaxVersion();
|
|
654980
654980
|
if (maxVersion && gt(version11, maxVersion)) {
|
|
654981
654981
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version11} to ${maxVersion}`);
|
|
654982
|
-
if (gte2("4.2.35
|
|
654983
|
-
logForDebugging(`Native installer: current version ${"4.2.35
|
|
654982
|
+
if (gte2("4.2.35", maxVersion)) {
|
|
654983
|
+
logForDebugging(`Native installer: current version ${"4.2.35"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
654984
654984
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
654985
654985
|
latency_ms: Date.now() - startTime2,
|
|
654986
654986
|
max_version: maxVersion,
|
|
@@ -654991,7 +654991,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
654991
654991
|
version11 = maxVersion;
|
|
654992
654992
|
}
|
|
654993
654993
|
}
|
|
654994
|
-
if (!forceReinstall && version11 === "4.2.35
|
|
654994
|
+
if (!forceReinstall && version11 === "4.2.35" && await versionIsAvailable(version11) && await isPossibleClaudeBinary(executablePath)) {
|
|
654995
654995
|
logForDebugging(`Found ${version11} at ${executablePath}, skipping install`);
|
|
654996
654996
|
logEvent("tengu_native_update_complete", {
|
|
654997
654997
|
latency_ms: Date.now() - startTime2,
|
|
@@ -763744,7 +763744,7 @@ function getAnthropicEnvMetadata() {
|
|
|
763744
763744
|
function getBuildAgeMinutes() {
|
|
763745
763745
|
if (false)
|
|
763746
763746
|
;
|
|
763747
|
-
const buildTime = new Date("2026-09-
|
|
763747
|
+
const buildTime = new Date("2026-09-04T09:22:28.856Z").getTime();
|
|
763748
763748
|
if (isNaN(buildTime))
|
|
763749
763749
|
return;
|
|
763750
763750
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -778240,7 +778240,7 @@ function Feedback({
|
|
|
778240
778240
|
platform: env4.platform,
|
|
778241
778241
|
gitRepo: envInfo.isGit,
|
|
778242
778242
|
terminal: env4.terminal,
|
|
778243
|
-
version: "4.2.35
|
|
778243
|
+
version: "4.2.35",
|
|
778244
778244
|
transcript: normalizeMessagesForAPI(messages),
|
|
778245
778245
|
errors: sanitizedErrors,
|
|
778246
778246
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -778423,7 +778423,7 @@ function Feedback({
|
|
|
778423
778423
|
", ",
|
|
778424
778424
|
env4.terminal,
|
|
778425
778425
|
", v",
|
|
778426
|
-
"4.2.35
|
|
778426
|
+
"4.2.35"
|
|
778427
778427
|
]
|
|
778428
778428
|
})
|
|
778429
778429
|
]
|
|
@@ -778520,7 +778520,7 @@ ${sanitizedDescription}
|
|
|
778520
778520
|
` + `**Environment Info**
|
|
778521
778521
|
` + `- Platform: ${env4.platform}
|
|
778522
778522
|
` + `- Terminal: ${env4.terminal}
|
|
778523
|
-
` + `- Version: ${"4.2.35
|
|
778523
|
+
` + `- Version: ${"4.2.35"}
|
|
778524
778524
|
` + `- Feedback ID: ${feedbackId}
|
|
778525
778525
|
` + `
|
|
778526
778526
|
**Errors**
|
|
@@ -780759,7 +780759,7 @@ function buildPrimarySection() {
|
|
|
780759
780759
|
children: t("settings.status.renameHint")
|
|
780760
780760
|
});
|
|
780761
780761
|
return [
|
|
780762
|
-
{ label: t("settings.status.version"), value: "4.2.35
|
|
780762
|
+
{ label: t("settings.status.version"), value: "4.2.35" },
|
|
780763
780763
|
{ label: t("settings.status.sessionName"), value: nameValue },
|
|
780764
780764
|
{ label: t("settings.status.sessionId"), value: sessionId },
|
|
780765
780765
|
{ label: t("settings.status.cwd"), value: getCwd() },
|
|
@@ -783637,7 +783637,7 @@ function Config({
|
|
|
783637
783637
|
}
|
|
783638
783638
|
})
|
|
783639
783639
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime192.jsx(ChannelDowngradeDialog, {
|
|
783640
|
-
currentVersion: "4.2.35
|
|
783640
|
+
currentVersion: "4.2.35",
|
|
783641
783641
|
onChoice: (choice) => {
|
|
783642
783642
|
setShowSubmenu(null);
|
|
783643
783643
|
setTabsHidden(false);
|
|
@@ -783649,7 +783649,7 @@ function Config({
|
|
|
783649
783649
|
autoUpdatesChannel: "stable"
|
|
783650
783650
|
};
|
|
783651
783651
|
if (choice === "stay") {
|
|
783652
|
-
newSettings.minimumVersion = "4.2.35
|
|
783652
|
+
newSettings.minimumVersion = "4.2.35";
|
|
783653
783653
|
}
|
|
783654
783654
|
updateSettingsForSource("userSettings", newSettings);
|
|
783655
783655
|
setSettingsData((prev) => ({
|
|
@@ -789118,7 +789118,7 @@ function HelpV2({ onClose, commands: commands11 }) {
|
|
|
789118
789118
|
color: "professionalBlue",
|
|
789119
789119
|
children: [
|
|
789120
789120
|
/* @__PURE__ */ jsx_runtime219.jsx(Tabs, {
|
|
789121
|
-
title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.35
|
|
789121
|
+
title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.35"}`,
|
|
789122
789122
|
color: "professionalBlue",
|
|
789123
789123
|
defaultTab: "general",
|
|
789124
789124
|
children: tabs
|
|
@@ -811833,7 +811833,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
811833
811833
|
return [];
|
|
811834
811834
|
}
|
|
811835
811835
|
}
|
|
811836
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.35
|
|
811836
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.35") {
|
|
811837
811837
|
if (process.env.USER_TYPE === "sf") {
|
|
811838
811838
|
const changelog = "";
|
|
811839
811839
|
if (changelog) {
|
|
@@ -811860,7 +811860,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.35-be
|
|
|
811860
811860
|
releaseNotes
|
|
811861
811861
|
};
|
|
811862
811862
|
}
|
|
811863
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.35
|
|
811863
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.35") {
|
|
811864
811864
|
if (process.env.USER_TYPE === "sf") {
|
|
811865
811865
|
const changelog = "";
|
|
811866
811866
|
if (changelog) {
|
|
@@ -814373,7 +814373,7 @@ function isNotLoggedIn() {
|
|
|
814373
814373
|
return true;
|
|
814374
814374
|
}
|
|
814375
814375
|
function getLogoDisplayData() {
|
|
814376
|
-
const version11 = process.env.DEMO_VERSION ?? "4.2.35
|
|
814376
|
+
const version11 = process.env.DEMO_VERSION ?? "4.2.35";
|
|
814377
814377
|
const serverUrl = getDirectConnectServerUrl();
|
|
814378
814378
|
const displayPath2 = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
814379
814379
|
const cwd2 = serverUrl ? `${displayPath2} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath2;
|
|
@@ -814951,7 +814951,7 @@ var init_MatrixMessageLine = __esm(() => {
|
|
|
814951
814951
|
// src/components/matrix-tactical/MatrixWelcome.tsx
|
|
814952
814952
|
import { basename as basename48 } from "path";
|
|
814953
814953
|
function MatrixWelcome({
|
|
814954
|
-
version: version11 = "4.2.35
|
|
814954
|
+
version: version11 = "4.2.35",
|
|
814955
814955
|
projectName,
|
|
814956
814956
|
cwd: cwd2,
|
|
814957
814957
|
modelDisplayName,
|
|
@@ -815586,13 +815586,13 @@ function LogoV2() {
|
|
|
815586
815586
|
const { hasReleaseNotes } = checkForReleaseNotesSync(config13.lastReleaseNotesSeen);
|
|
815587
815587
|
import_react167.useEffect(() => {
|
|
815588
815588
|
const currentConfig = getGlobalConfig();
|
|
815589
|
-
if (currentConfig.lastReleaseNotesSeen === "4.2.35
|
|
815589
|
+
if (currentConfig.lastReleaseNotesSeen === "4.2.35") {
|
|
815590
815590
|
return;
|
|
815591
815591
|
}
|
|
815592
815592
|
saveGlobalConfig((current2) => {
|
|
815593
|
-
if (current2.lastReleaseNotesSeen === "4.2.35
|
|
815593
|
+
if (current2.lastReleaseNotesSeen === "4.2.35")
|
|
815594
815594
|
return current2;
|
|
815595
|
-
return { ...current2, lastReleaseNotesSeen: "4.2.35
|
|
815595
|
+
return { ...current2, lastReleaseNotesSeen: "4.2.35" };
|
|
815596
815596
|
});
|
|
815597
815597
|
if (showOnboarding) {
|
|
815598
815598
|
incrementProjectOnboardingSeenCount();
|
|
@@ -839157,7 +839157,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
839157
839157
|
smapsRollup,
|
|
839158
839158
|
platform: process.platform,
|
|
839159
839159
|
nodeVersion: process.version,
|
|
839160
|
-
ccVersion: "4.2.35
|
|
839160
|
+
ccVersion: "4.2.35"
|
|
839161
839161
|
};
|
|
839162
839162
|
}
|
|
839163
839163
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -839273,7 +839273,7 @@ var init_mock_limits = __esm(() => {
|
|
|
839273
839273
|
var call56 = async () => {
|
|
839274
839274
|
return {
|
|
839275
839275
|
type: "text",
|
|
839276
|
-
value: `${"4.2.35
|
|
839276
|
+
value: `${"4.2.35"} (built ${"2026-09-04T09:22:28.856Z"})`
|
|
839277
839277
|
};
|
|
839278
839278
|
}, version11, version_default;
|
|
839279
839279
|
var init_version2 = __esm(() => {
|
|
@@ -859153,7 +859153,7 @@ function generateHtmlReport(data, insights) {
|
|
|
859153
859153
|
</html>`;
|
|
859154
859154
|
}
|
|
859155
859155
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
859156
|
-
const version12 = typeof MACRO !== "undefined" ? "4.2.35
|
|
859156
|
+
const version12 = typeof MACRO !== "undefined" ? "4.2.35" : "unknown";
|
|
859157
859157
|
const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
|
|
859158
859158
|
const facets_summary = {
|
|
859159
859159
|
total: facets.size,
|
|
@@ -863645,7 +863645,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
863645
863645
|
init_settings2();
|
|
863646
863646
|
init_slowOperations();
|
|
863647
863647
|
init_uuid();
|
|
863648
|
-
VERSION11 = typeof MACRO !== "undefined" ? "4.2.35
|
|
863648
|
+
VERSION11 = typeof MACRO !== "undefined" ? "4.2.35" : "unknown";
|
|
863649
863649
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
863650
863650
|
SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
863651
863651
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -864986,7 +864986,7 @@ var init_filesystem = __esm(() => {
|
|
|
864986
864986
|
});
|
|
864987
864987
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
864988
864988
|
const nonce = randomBytes24(16).toString("hex");
|
|
864989
|
-
return join219(getCostrictTempDir(), "bundled-skills", "4.2.35
|
|
864989
|
+
return join219(getCostrictTempDir(), "bundled-skills", "4.2.35", nonce);
|
|
864990
864990
|
});
|
|
864991
864991
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
864992
864992
|
});
|
|
@@ -876484,7 +876484,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
876484
876484
|
slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
|
|
876485
876485
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
876486
876486
|
betas: getSdkBetas(),
|
|
876487
|
-
claude_code_version: "4.2.35
|
|
876487
|
+
claude_code_version: "4.2.35",
|
|
876488
876488
|
output_style: outputStyle2,
|
|
876489
876489
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
876490
876490
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -880028,7 +880028,7 @@ function appendToLog(path61, message2) {
|
|
|
880028
880028
|
cwd: getFsImplementation().cwd(),
|
|
880029
880029
|
userType: process.env.USER_TYPE,
|
|
880030
880030
|
sessionId: getSessionId(),
|
|
880031
|
-
version: "4.2.35
|
|
880031
|
+
version: "4.2.35"
|
|
880032
880032
|
};
|
|
880033
880033
|
getLogWriter(path61).write(messageWithTimestamp);
|
|
880034
880034
|
}
|
|
@@ -901089,7 +901089,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
901089
901089
|
project_dir: getOriginalCwd(),
|
|
901090
901090
|
added_dirs: addedDirs
|
|
901091
901091
|
},
|
|
901092
|
-
version: "4.2.35
|
|
901092
|
+
version: "4.2.35",
|
|
901093
901093
|
output_style: {
|
|
901094
901094
|
name: outputStyleName
|
|
901095
901095
|
},
|
|
@@ -919705,7 +919705,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
919705
919705
|
} catch {}
|
|
919706
919706
|
const data = {
|
|
919707
919707
|
trigger,
|
|
919708
|
-
version: "4.2.35
|
|
919708
|
+
version: "4.2.35",
|
|
919709
919709
|
platform: process.platform,
|
|
919710
919710
|
transcript,
|
|
919711
919711
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -920960,7 +920960,7 @@ function getReleaseType(current2, latest) {
|
|
|
920960
920960
|
return "patch";
|
|
920961
920961
|
}
|
|
920962
920962
|
async function checkNewAutoUpdate(callbacks) {
|
|
920963
|
-
const currentVersion = "4.2.35
|
|
920963
|
+
const currentVersion = "4.2.35";
|
|
920964
920964
|
logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
|
|
920965
920965
|
if (isNewAutoUpdaterDisabled()) {
|
|
920966
920966
|
return { action: "skip", currentVersion, latestVersion: null };
|
|
@@ -933217,7 +933217,7 @@ function WelcomeV2() {
|
|
|
933217
933217
|
dimColor: true,
|
|
933218
933218
|
children: [
|
|
933219
933219
|
"v",
|
|
933220
|
-
"4.2.35
|
|
933220
|
+
"4.2.35",
|
|
933221
933221
|
" "
|
|
933222
933222
|
]
|
|
933223
933223
|
})
|
|
@@ -933283,7 +933283,7 @@ function WelcomeV2() {
|
|
|
933283
933283
|
dimColor: true,
|
|
933284
933284
|
children: [
|
|
933285
933285
|
"v",
|
|
933286
|
-
"4.2.35
|
|
933286
|
+
"4.2.35",
|
|
933287
933287
|
" "
|
|
933288
933288
|
]
|
|
933289
933289
|
})
|
|
@@ -933385,7 +933385,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
|
|
|
933385
933385
|
dimColor: true,
|
|
933386
933386
|
children: [
|
|
933387
933387
|
"v",
|
|
933388
|
-
"4.2.35
|
|
933388
|
+
"4.2.35",
|
|
933389
933389
|
" "
|
|
933390
933390
|
]
|
|
933391
933391
|
})
|
|
@@ -933451,7 +933451,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
|
|
|
933451
933451
|
dimColor: true,
|
|
933452
933452
|
children: [
|
|
933453
933453
|
"v",
|
|
933454
|
-
"4.2.35
|
|
933454
|
+
"4.2.35",
|
|
933455
933455
|
" "
|
|
933456
933456
|
]
|
|
933457
933457
|
})
|
|
@@ -934391,7 +934391,7 @@ function completeOnboarding() {
|
|
|
934391
934391
|
saveGlobalConfig((current2) => ({
|
|
934392
934392
|
...current2,
|
|
934393
934393
|
hasCompletedOnboarding: true,
|
|
934394
|
-
lastOnboardingVersion: "4.2.35
|
|
934394
|
+
lastOnboardingVersion: "4.2.35"
|
|
934395
934395
|
}));
|
|
934396
934396
|
}
|
|
934397
934397
|
function showDialog(root9, renderer) {
|
|
@@ -950818,7 +950818,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
|
|
|
950818
950818
|
setCwd(cwd3);
|
|
950819
950819
|
const server2 = new Server({
|
|
950820
950820
|
name: "claude/tengu",
|
|
950821
|
-
version: "4.2.35
|
|
950821
|
+
version: "4.2.35"
|
|
950822
950822
|
}, {
|
|
950823
950823
|
capabilities: {
|
|
950824
950824
|
tools: {}
|
|
@@ -953103,7 +953103,7 @@ function createHealthRoutes(sessionManager) {
|
|
|
953103
953103
|
const uptime2 = process.uptime() * 1000;
|
|
953104
953104
|
return c10.json({
|
|
953105
953105
|
status: "ok",
|
|
953106
|
-
version: "4.2.35
|
|
953106
|
+
version: "4.2.35",
|
|
953107
953107
|
uptime_ms: Math.round(uptime2),
|
|
953108
953108
|
active_sessions: sessionManager.getActiveCount()
|
|
953109
953109
|
});
|
|
@@ -953375,7 +953375,7 @@ function getMacroDefines() {
|
|
|
953375
953375
|
commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
|
|
953376
953376
|
} catch {}
|
|
953377
953377
|
return {
|
|
953378
|
-
"MACRO.VERSION": JSON.stringify("4.2.35
|
|
953378
|
+
"MACRO.VERSION": JSON.stringify("4.2.35"),
|
|
953379
953379
|
"MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
|
|
953380
953380
|
"MACRO.COMMIT": JSON.stringify(commit),
|
|
953381
953381
|
"MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
|
|
@@ -960444,7 +960444,7 @@ __export(exports_update, {
|
|
|
960444
960444
|
});
|
|
960445
960445
|
async function update() {
|
|
960446
960446
|
logEvent("tengu_update_check", {});
|
|
960447
|
-
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.35
|
|
960447
|
+
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.35"}
|
|
960448
960448
|
`);
|
|
960449
960449
|
const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
960450
960450
|
writeToStdout(`${t("cli.update.checkingUpdates", { channel: channel5 }, "Checking for updates to {channel} version...")}
|
|
@@ -960519,8 +960519,8 @@ async function update() {
|
|
|
960519
960519
|
writeToStdout(`${t("cli.update.managedByHomebrew", "CoStrict is managed by Homebrew.")}
|
|
960520
960520
|
`);
|
|
960521
960521
|
const latest = await getLatestVersion(channel5);
|
|
960522
|
-
if (latest && !gte2("4.2.35
|
|
960523
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35
|
|
960522
|
+
if (latest && !gte2("4.2.35", latest)) {
|
|
960523
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35", latest }, "Update available: {current} \u2192 {latest}")}
|
|
960524
960524
|
`);
|
|
960525
960525
|
writeToStdout(`
|
|
960526
960526
|
`);
|
|
@@ -960536,8 +960536,8 @@ async function update() {
|
|
|
960536
960536
|
writeToStdout(`${t("cli.update.managedByWinget", "CoStrict is managed by winget.")}
|
|
960537
960537
|
`);
|
|
960538
960538
|
const latest = await getLatestVersion(channel5);
|
|
960539
|
-
if (latest && !gte2("4.2.35
|
|
960540
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35
|
|
960539
|
+
if (latest && !gte2("4.2.35", latest)) {
|
|
960540
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35", latest }, "Update available: {current} \u2192 {latest}")}
|
|
960541
960541
|
`);
|
|
960542
960542
|
writeToStdout(`
|
|
960543
960543
|
`);
|
|
@@ -960553,8 +960553,8 @@ async function update() {
|
|
|
960553
960553
|
writeToStdout(`${t("cli.update.managedByApk", "CoStrict is managed by apk.")}
|
|
960554
960554
|
`);
|
|
960555
960555
|
const latest = await getLatestVersion(channel5);
|
|
960556
|
-
if (latest && !gte2("4.2.35
|
|
960557
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35
|
|
960556
|
+
if (latest && !gte2("4.2.35", latest)) {
|
|
960557
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.35", latest }, "Update available: {current} \u2192 {latest}")}
|
|
960558
960558
|
`);
|
|
960559
960559
|
writeToStdout(`
|
|
960560
960560
|
`);
|
|
@@ -960619,11 +960619,11 @@ async function update() {
|
|
|
960619
960619
|
`);
|
|
960620
960620
|
await gracefulShutdown(1);
|
|
960621
960621
|
}
|
|
960622
|
-
if (result2.latestVersion === "4.2.35
|
|
960623
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.35
|
|
960622
|
+
if (result2.latestVersion === "4.2.35") {
|
|
960623
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.35" }, "CoStrict is up to date ({version})")) + `
|
|
960624
960624
|
`);
|
|
960625
960625
|
} else {
|
|
960626
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.35
|
|
960626
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.35", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
960627
960627
|
`);
|
|
960628
960628
|
regenerateCompletionCache();
|
|
960629
960629
|
}
|
|
@@ -960683,12 +960683,12 @@ async function update() {
|
|
|
960683
960683
|
`);
|
|
960684
960684
|
await gracefulShutdown(1);
|
|
960685
960685
|
}
|
|
960686
|
-
if (latestVersion === "4.2.35
|
|
960687
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.35
|
|
960686
|
+
if (latestVersion === "4.2.35") {
|
|
960687
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.35" }, "CoStrict is up to date ({version})")) + `
|
|
960688
960688
|
`);
|
|
960689
960689
|
await gracefulShutdown(0);
|
|
960690
960690
|
}
|
|
960691
|
-
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.35
|
|
960691
|
+
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.35" }, "New version available: {latest} (current: {current})")}
|
|
960692
960692
|
`);
|
|
960693
960693
|
writeToStdout(`${t("cli.update.installing", "Installing update...")}
|
|
960694
960694
|
`);
|
|
@@ -960733,7 +960733,7 @@ async function update() {
|
|
|
960733
960733
|
logForDebugging(`update: Installation status: ${result.status}`);
|
|
960734
960734
|
switch (result.status) {
|
|
960735
960735
|
case "success":
|
|
960736
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.35
|
|
960736
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.35", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
960737
960737
|
`);
|
|
960738
960738
|
regenerateCompletionCache();
|
|
960739
960739
|
break;
|
|
@@ -962952,7 +962952,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
962952
962952
|
}
|
|
962953
962953
|
}
|
|
962954
962954
|
logForDiagnosticsNoPII("info", "started", {
|
|
962955
|
-
version: "4.2.35
|
|
962955
|
+
version: "4.2.35",
|
|
962956
962956
|
is_native_binary: isInBundledMode()
|
|
962957
962957
|
});
|
|
962958
962958
|
registerCleanup(async () => {
|
|
@@ -963443,7 +963443,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
|
|
|
963443
963443
|
sshSession = await createSSHSession2({
|
|
963444
963444
|
host: _pendingSSH.host,
|
|
963445
963445
|
cwd: _pendingSSH.cwd,
|
|
963446
|
-
localVersion: "4.2.35
|
|
963446
|
+
localVersion: "4.2.35",
|
|
963447
963447
|
permissionMode: _pendingSSH.permissionMode,
|
|
963448
963448
|
dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
|
|
963449
963449
|
extraCliArgs: _pendingSSH.extraCliArgs,
|
|
@@ -963912,7 +963912,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
963912
963912
|
pendingHookMessages
|
|
963913
963913
|
}, renderAndRun);
|
|
963914
963914
|
}
|
|
963915
|
-
}).version("4.2.35
|
|
963915
|
+
}).version("4.2.35 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
|
|
963916
963916
|
program2.addOption(new Option("-w, --worktree [name]", cliDesc("cli.option.worktree", "Create a new git worktree for this session (optionally specify a name)")).hideHelp());
|
|
963917
963917
|
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());
|
|
963918
963918
|
if (canUserConfigureAdvisor()) {
|
|
@@ -964681,10 +964681,10 @@ function getCouncilArgs(args) {
|
|
|
964681
964681
|
async function main2() {
|
|
964682
964682
|
const args = process.argv.slice(2);
|
|
964683
964683
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
964684
|
-
const d7 = new Date("2026-09-
|
|
964684
|
+
const d7 = new Date("2026-09-04T09:22:28.856Z");
|
|
964685
964685
|
const p2 = (n3) => String(n3).padStart(2, "0");
|
|
964686
964686
|
const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
|
|
964687
|
-
console.log(`${"4.2.35
|
|
964687
|
+
console.log(`${"4.2.35"} (commit: ${"11636320f"}, built: ${buildTime})`);
|
|
964688
964688
|
return;
|
|
964689
964689
|
}
|
|
964690
964690
|
if (true) {
|
|
@@ -964865,5 +964865,5 @@ async function main2() {
|
|
|
964865
964865
|
}
|
|
964866
964866
|
main2();
|
|
964867
964867
|
|
|
964868
|
-
//# debugId=
|
|
964868
|
+
//# debugId=50C2294727C10C3464756E2164756E21
|
|
964869
964869
|
|