@costrict/csc 4.2.26 → 4.2.27
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 +89 -98
- package/dist/services/rawDump/batchWorker.js +7 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -66713,8 +66713,8 @@ function getClientVersion() {
|
|
|
66713
66713
|
if (cached)
|
|
66714
66714
|
return cached;
|
|
66715
66715
|
try {
|
|
66716
|
-
if ("4.2.
|
|
66717
|
-
cached = "4.2.
|
|
66716
|
+
if ("4.2.27") {
|
|
66717
|
+
cached = "4.2.27";
|
|
66718
66718
|
return cached;
|
|
66719
66719
|
}
|
|
66720
66720
|
} catch {}
|
|
@@ -220916,7 +220916,7 @@ async function fetchCoStrictModels(baseUrl, accessToken) {
|
|
|
220916
220916
|
headers: {
|
|
220917
220917
|
Authorization: `Bearer ${accessToken}`,
|
|
220918
220918
|
Accept: "application/json",
|
|
220919
|
-
"User-Agent": `csc/${"4.2.
|
|
220919
|
+
"User-Agent": `csc/${"4.2.27"}`
|
|
220920
220920
|
},
|
|
220921
220921
|
signal: controller.signal
|
|
220922
220922
|
});
|
|
@@ -222956,7 +222956,7 @@ var init_auth7 = __esm(() => {
|
|
|
222956
222956
|
|
|
222957
222957
|
// src/utils/userAgent.ts
|
|
222958
222958
|
function getClaudeCodeUserAgent() {
|
|
222959
|
-
return `costrict/${"4.2.
|
|
222959
|
+
return `costrict/${"4.2.27"}`;
|
|
222960
222960
|
}
|
|
222961
222961
|
|
|
222962
222962
|
// src/utils/workloadContext.ts
|
|
@@ -222978,7 +222978,7 @@ function getUserAgent() {
|
|
|
222978
222978
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
222979
222979
|
const workload = getWorkload();
|
|
222980
222980
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
222981
|
-
return `csc/${"4.2.
|
|
222981
|
+
return `csc/${"4.2.27"}`;
|
|
222982
222982
|
}
|
|
222983
222983
|
function getMCPUserAgent() {
|
|
222984
222984
|
const parts = [];
|
|
@@ -222992,7 +222992,7 @@ function getMCPUserAgent() {
|
|
|
222992
222992
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
222993
222993
|
}
|
|
222994
222994
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
222995
|
-
return `csc/${"4.2.
|
|
222995
|
+
return `csc/${"4.2.27"}${suffix}`;
|
|
222996
222996
|
}
|
|
222997
222997
|
function getWebFetchUserAgent() {
|
|
222998
222998
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -223112,7 +223112,7 @@ var init_user = __esm(() => {
|
|
|
223112
223112
|
deviceId,
|
|
223113
223113
|
sessionId: getSessionId(),
|
|
223114
223114
|
email: getEmail(),
|
|
223115
|
-
appVersion: "4.2.
|
|
223115
|
+
appVersion: "4.2.27",
|
|
223116
223116
|
platform: getHostPlatformForAnalytics(),
|
|
223117
223117
|
organizationUuid,
|
|
223118
223118
|
accountUuid,
|
|
@@ -234160,7 +234160,7 @@ var init_metadata = __esm(() => {
|
|
|
234160
234160
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
234161
234161
|
WHITESPACE_REGEX = /\s+/;
|
|
234162
234162
|
getVersionBase = memoize_default(() => {
|
|
234163
|
-
const match = "4.2.
|
|
234163
|
+
const match = "4.2.27".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
234164
234164
|
return match ? match[0] : undefined;
|
|
234165
234165
|
});
|
|
234166
234166
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -234200,9 +234200,9 @@ var init_metadata = __esm(() => {
|
|
|
234200
234200
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
234201
234201
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
234202
234202
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
234203
|
-
version: "4.2.
|
|
234203
|
+
version: "4.2.27",
|
|
234204
234204
|
versionBase: getVersionBase(),
|
|
234205
|
-
buildTime: "2026-08-
|
|
234205
|
+
buildTime: "2026-08-13T08:38:46.384Z",
|
|
234206
234206
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
234207
234207
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
234208
234208
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -234873,7 +234873,7 @@ function initialize1PEventLogging() {
|
|
|
234873
234873
|
const platform3 = getPlatform();
|
|
234874
234874
|
const attributes = {
|
|
234875
234875
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
234876
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.
|
|
234876
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "4.2.27"
|
|
234877
234877
|
};
|
|
234878
234878
|
if (platform3 === "wsl") {
|
|
234879
234879
|
const wslVersion = getWslVersion();
|
|
@@ -234900,7 +234900,7 @@ function initialize1PEventLogging() {
|
|
|
234900
234900
|
})
|
|
234901
234901
|
]
|
|
234902
234902
|
});
|
|
234903
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.
|
|
234903
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "4.2.27");
|
|
234904
234904
|
}
|
|
234905
234905
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
234906
234906
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -434917,7 +434917,7 @@ function getTelemetryAttributes() {
|
|
|
434917
434917
|
attributes["session.id"] = sessionId;
|
|
434918
434918
|
}
|
|
434919
434919
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
434920
|
-
attributes["app.version"] = "4.2.
|
|
434920
|
+
attributes["app.version"] = "4.2.27";
|
|
434921
434921
|
}
|
|
434922
434922
|
const oauthAccount = getOauthAccountInfo();
|
|
434923
434923
|
if (oauthAccount) {
|
|
@@ -468437,7 +468437,7 @@ function initLangfuse() {
|
|
|
468437
468437
|
flushInterval: parseInt(process.env.LANGFUSE_FLUSH_INTERVAL ?? "10", 10),
|
|
468438
468438
|
mask: maskFn,
|
|
468439
468439
|
environment: process.env.LANGFUSE_TRACING_ENVIRONMENT ?? "development",
|
|
468440
|
-
release: "4.2.
|
|
468440
|
+
release: "4.2.27",
|
|
468441
468441
|
exportMode: process.env.LANGFUSE_EXPORT_MODE ?? "batched",
|
|
468442
468442
|
timeout: parseInt(process.env.LANGFUSE_TIMEOUT ?? "5", 10)
|
|
468443
468443
|
});
|
|
@@ -500234,7 +500234,7 @@ function initSentry() {
|
|
|
500234
500234
|
}
|
|
500235
500235
|
init3({
|
|
500236
500236
|
dsn,
|
|
500237
|
-
release: typeof MACRO !== "undefined" ? "4.2.
|
|
500237
|
+
release: typeof MACRO !== "undefined" ? "4.2.27" : undefined,
|
|
500238
500238
|
environment: typeof BUILD_ENV !== "undefined" ? BUILD_ENV : "production",
|
|
500239
500239
|
maxBreadcrumbs: 20,
|
|
500240
500240
|
sampleRate: 1,
|
|
@@ -528131,7 +528131,7 @@ async function initializeBetaTracing(resource) {
|
|
|
528131
528131
|
});
|
|
528132
528132
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
528133
528133
|
setLoggerProvider(loggerProvider);
|
|
528134
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.
|
|
528134
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.27");
|
|
528135
528135
|
setEventLogger(eventLogger);
|
|
528136
528136
|
process.on("beforeExit", async () => {
|
|
528137
528137
|
await loggerProvider?.forceFlush();
|
|
@@ -528171,7 +528171,7 @@ async function initializeTelemetry() {
|
|
|
528171
528171
|
const platform5 = getPlatform();
|
|
528172
528172
|
const baseAttributes = {
|
|
528173
528173
|
[import_semantic_conventions29.ATTR_SERVICE_NAME]: "claude-code",
|
|
528174
|
-
[import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.
|
|
528174
|
+
[import_semantic_conventions29.ATTR_SERVICE_VERSION]: "4.2.27"
|
|
528175
528175
|
};
|
|
528176
528176
|
if (platform5 === "wsl") {
|
|
528177
528177
|
const wslVersion = getWslVersion();
|
|
@@ -528216,7 +528216,7 @@ async function initializeTelemetry() {
|
|
|
528216
528216
|
} catch {}
|
|
528217
528217
|
};
|
|
528218
528218
|
registerCleanup(shutdownTelemetry2);
|
|
528219
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.
|
|
528219
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "4.2.27");
|
|
528220
528220
|
}
|
|
528221
528221
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
528222
528222
|
resource,
|
|
@@ -528236,7 +528236,7 @@ async function initializeTelemetry() {
|
|
|
528236
528236
|
});
|
|
528237
528237
|
logs.setGlobalLoggerProvider(loggerProvider);
|
|
528238
528238
|
setLoggerProvider(loggerProvider);
|
|
528239
|
-
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.
|
|
528239
|
+
const eventLogger = logs.getLogger("com.anthropic.claude_code.events", "4.2.27");
|
|
528240
528240
|
setEventLogger(eventLogger);
|
|
528241
528241
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
528242
528242
|
process.on("beforeExit", async () => {
|
|
@@ -528298,7 +528298,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
528298
528298
|
}
|
|
528299
528299
|
};
|
|
528300
528300
|
registerCleanup(shutdownTelemetry);
|
|
528301
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "4.2.
|
|
528301
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "4.2.27");
|
|
528302
528302
|
}
|
|
528303
528303
|
async function flushTelemetry() {
|
|
528304
528304
|
const meterProvider = getMeterProvider();
|
|
@@ -529357,7 +529357,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
529357
529357
|
logError3(new AutoUpdaterError("Another process is currently installing an update"));
|
|
529358
529358
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
529359
529359
|
pid: process.pid,
|
|
529360
|
-
currentVersion: "4.2.
|
|
529360
|
+
currentVersion: "4.2.27"
|
|
529361
529361
|
});
|
|
529362
529362
|
return { status: "in_progress" };
|
|
529363
529363
|
}
|
|
@@ -529366,7 +529366,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
529366
529366
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
529367
529367
|
logError3(new Error("Windows NPM detected in WSL environment"));
|
|
529368
529368
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
529369
|
-
currentVersion: "4.2.
|
|
529369
|
+
currentVersion: "4.2.27"
|
|
529370
529370
|
});
|
|
529371
529371
|
return {
|
|
529372
529372
|
status: "install_failed",
|
|
@@ -529912,7 +529912,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
529912
529912
|
}
|
|
529913
529913
|
async function getDoctorDiagnostic() {
|
|
529914
529914
|
const installationType = await getCurrentInstallationType();
|
|
529915
|
-
const version9 = typeof MACRO !== "undefined" ? "4.2.
|
|
529915
|
+
const version9 = typeof MACRO !== "undefined" ? "4.2.27" : "unknown";
|
|
529916
529916
|
const installationPath = await getInstallationPath();
|
|
529917
529917
|
const invokedBinary = getInvokedBinary();
|
|
529918
529918
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -568099,7 +568099,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
568099
568099
|
const client10 = new Client3({
|
|
568100
568100
|
name: "claude-code",
|
|
568101
568101
|
title: "CoStrict",
|
|
568102
|
-
version: "4.2.
|
|
568102
|
+
version: "4.2.27",
|
|
568103
568103
|
description: "CoStrict agentic coding tool",
|
|
568104
568104
|
websiteUrl: PRODUCT_URL
|
|
568105
568105
|
}, {
|
|
@@ -568470,7 +568470,7 @@ var init_client18 = __esm(() => {
|
|
|
568470
568470
|
const client10 = new Client3({
|
|
568471
568471
|
name: "claude-code",
|
|
568472
568472
|
title: "CoStrict",
|
|
568473
|
-
version: "4.2.
|
|
568473
|
+
version: "4.2.27",
|
|
568474
568474
|
description: "CoStrict agentic coding tool",
|
|
568475
568475
|
websiteUrl: PRODUCT_URL
|
|
568476
568476
|
}, {
|
|
@@ -569860,7 +569860,7 @@ function getInstallationEnv() {
|
|
|
569860
569860
|
return;
|
|
569861
569861
|
}
|
|
569862
569862
|
function getClaudeCodeVersion() {
|
|
569863
|
-
return "4.2.
|
|
569863
|
+
return "4.2.27";
|
|
569864
569864
|
}
|
|
569865
569865
|
async function getInstalledVSCodeExtensionVersion(command4) {
|
|
569866
569866
|
const { stdout } = await execFileNoThrow2(command4, ["--list-extensions", "--show-versions"], {
|
|
@@ -571224,8 +571224,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
571224
571224
|
const maxVersion = await getMaxVersion();
|
|
571225
571225
|
if (maxVersion && gt(version10, maxVersion)) {
|
|
571226
571226
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version10} to ${maxVersion}`);
|
|
571227
|
-
if (gte2("4.2.
|
|
571228
|
-
logForDebugging(`Native installer: current version ${"4.2.
|
|
571227
|
+
if (gte2("4.2.27", maxVersion)) {
|
|
571228
|
+
logForDebugging(`Native installer: current version ${"4.2.27"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
571229
571229
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
571230
571230
|
latency_ms: Date.now() - startTime2,
|
|
571231
571231
|
max_version: maxVersion,
|
|
@@ -571236,7 +571236,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
571236
571236
|
version10 = maxVersion;
|
|
571237
571237
|
}
|
|
571238
571238
|
}
|
|
571239
|
-
if (!forceReinstall && version10 === "4.2.
|
|
571239
|
+
if (!forceReinstall && version10 === "4.2.27" && await versionIsAvailable(version10) && await isPossibleClaudeBinary(executablePath)) {
|
|
571240
571240
|
logForDebugging(`Found ${version10} at ${executablePath}, skipping install`);
|
|
571241
571241
|
logEvent("tengu_native_update_complete", {
|
|
571242
571242
|
latency_ms: Date.now() - startTime2,
|
|
@@ -589745,10 +589745,7 @@ function canReceiveNestedAgentTool({
|
|
|
589745
589745
|
workerNestingDepth,
|
|
589746
589746
|
isAsync: isAsync2
|
|
589747
589747
|
}) {
|
|
589748
|
-
|
|
589749
|
-
return !isAsync2 && workerNestingDepth < MAX_NESTED_AGENT_DEPTH;
|
|
589750
|
-
}
|
|
589751
|
-
return false;
|
|
589748
|
+
return !isAsync2 && workerNestingDepth < MAX_NESTED_AGENT_DEPTH;
|
|
589752
589749
|
}
|
|
589753
589750
|
function filterToolsForAgent({
|
|
589754
589751
|
tools,
|
|
@@ -662667,10 +662664,7 @@ function parseAddress(to) {
|
|
|
662667
662664
|
|
|
662668
662665
|
// src/utils/agentToolFilter.ts
|
|
662669
662666
|
function filterParentToolsForFork(parentTools, parentNestingDepth = 0, isAsync2 = false) {
|
|
662670
|
-
|
|
662671
|
-
if (true) {
|
|
662672
|
-
canRetainAgent = !isAsync2 && parentNestingDepth < MAX_NESTED_AGENT_DEPTH2;
|
|
662673
|
-
}
|
|
662667
|
+
const canRetainAgent = !isAsync2 && parentNestingDepth < MAX_NESTED_AGENT_DEPTH2;
|
|
662674
662668
|
return parentTools.filter((t2) => !ALL_AGENT_DISALLOWED_TOOLS.has(t2.name) && (t2.name !== AGENT_TOOL_NAME || canRetainAgent));
|
|
662675
662669
|
}
|
|
662676
662670
|
var MAX_NESTED_AGENT_DEPTH2 = 4;
|
|
@@ -666247,12 +666241,9 @@ var init_AgentTool = __esm(() => {
|
|
|
666247
666241
|
}, toolUseContext, canUseTool, assistantMessage, onProgress) {
|
|
666248
666242
|
const startTime2 = Date.now();
|
|
666249
666243
|
const nestingDepth = toolUseContext.agentNestingDepth ?? 0;
|
|
666250
|
-
if (true) {
|
|
666251
|
-
|
|
666252
|
-
|
|
666253
|
-
}
|
|
666254
|
-
} else
|
|
666255
|
-
;
|
|
666244
|
+
if (toolUseContext.agentIsAsync === true || nestingDepth >= MAX_NESTED_AGENT_DEPTH) {
|
|
666245
|
+
throw new Error(`Nested Agent calls are only available to synchronous agents up to depth ${MAX_NESTED_AGENT_DEPTH}.`);
|
|
666246
|
+
}
|
|
666256
666247
|
const model = isCoordinatorMode() ? undefined : modelParam;
|
|
666257
666248
|
const appState = toolUseContext.getAppState();
|
|
666258
666249
|
const permissionMode = appState.toolPermissionContext.mode;
|
|
@@ -709349,7 +709340,7 @@ function Feedback({
|
|
|
709349
709340
|
platform: env4.platform,
|
|
709350
709341
|
gitRepo: envInfo.isGit,
|
|
709351
709342
|
terminal: env4.terminal,
|
|
709352
|
-
version: "4.2.
|
|
709343
|
+
version: "4.2.27",
|
|
709353
709344
|
transcript: normalizeMessagesForAPI(messages),
|
|
709354
709345
|
errors: sanitizedErrors,
|
|
709355
709346
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -709532,7 +709523,7 @@ function Feedback({
|
|
|
709532
709523
|
", ",
|
|
709533
709524
|
env4.terminal,
|
|
709534
709525
|
", v",
|
|
709535
|
-
"4.2.
|
|
709526
|
+
"4.2.27"
|
|
709536
709527
|
]
|
|
709537
709528
|
})
|
|
709538
709529
|
]
|
|
@@ -709629,7 +709620,7 @@ ${sanitizedDescription}
|
|
|
709629
709620
|
` + `**Environment Info**
|
|
709630
709621
|
` + `- Platform: ${env4.platform}
|
|
709631
709622
|
` + `- Terminal: ${env4.terminal}
|
|
709632
|
-
` + `- Version: ${"4.2.
|
|
709623
|
+
` + `- Version: ${"4.2.27"}
|
|
709633
709624
|
` + `- Feedback ID: ${feedbackId}
|
|
709634
709625
|
` + `
|
|
709635
709626
|
**Errors**
|
|
@@ -711868,7 +711859,7 @@ function buildPrimarySection() {
|
|
|
711868
711859
|
children: t("settings.status.renameHint")
|
|
711869
711860
|
});
|
|
711870
711861
|
return [
|
|
711871
|
-
{ label: t("settings.status.version"), value: "4.2.
|
|
711862
|
+
{ label: t("settings.status.version"), value: "4.2.27" },
|
|
711872
711863
|
{ label: t("settings.status.sessionName"), value: nameValue },
|
|
711873
711864
|
{ label: t("settings.status.sessionId"), value: sessionId },
|
|
711874
711865
|
{ label: t("settings.status.cwd"), value: getCwd() },
|
|
@@ -714729,7 +714720,7 @@ function Config({
|
|
|
714729
714720
|
}
|
|
714730
714721
|
})
|
|
714731
714722
|
}) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime191.jsx(ChannelDowngradeDialog, {
|
|
714732
|
-
currentVersion: "4.2.
|
|
714723
|
+
currentVersion: "4.2.27",
|
|
714733
714724
|
onChoice: (choice) => {
|
|
714734
714725
|
setShowSubmenu(null);
|
|
714735
714726
|
setTabsHidden(false);
|
|
@@ -714741,7 +714732,7 @@ function Config({
|
|
|
714741
714732
|
autoUpdatesChannel: "stable"
|
|
714742
714733
|
};
|
|
714743
714734
|
if (choice === "stay") {
|
|
714744
|
-
newSettings.minimumVersion = "4.2.
|
|
714735
|
+
newSettings.minimumVersion = "4.2.27";
|
|
714745
714736
|
}
|
|
714746
714737
|
updateSettingsForSource("userSettings", newSettings);
|
|
714747
714738
|
setSettingsData((prev) => ({
|
|
@@ -720210,7 +720201,7 @@ function HelpV2({ onClose, commands: commands11 }) {
|
|
|
720210
720201
|
color: "professionalBlue",
|
|
720211
720202
|
children: [
|
|
720212
720203
|
/* @__PURE__ */ jsx_runtime218.jsx(Tabs, {
|
|
720213
|
-
title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.
|
|
720204
|
+
title: process.env.USER_TYPE === "sf" ? "/help" : `CoStrict v${"4.2.27"}`,
|
|
720214
720205
|
color: "professionalBlue",
|
|
720215
720206
|
defaultTab: "general",
|
|
720216
720207
|
children: tabs
|
|
@@ -743211,7 +743202,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
743211
743202
|
return [];
|
|
743212
743203
|
}
|
|
743213
743204
|
}
|
|
743214
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.
|
|
743205
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.27") {
|
|
743215
743206
|
if (process.env.USER_TYPE === "sf") {
|
|
743216
743207
|
const changelog = "";
|
|
743217
743208
|
if (changelog) {
|
|
@@ -743238,7 +743229,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "4.2.26")
|
|
|
743238
743229
|
releaseNotes
|
|
743239
743230
|
};
|
|
743240
743231
|
}
|
|
743241
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.
|
|
743232
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "4.2.27") {
|
|
743242
743233
|
if (process.env.USER_TYPE === "sf") {
|
|
743243
743234
|
const changelog = "";
|
|
743244
743235
|
if (changelog) {
|
|
@@ -745751,7 +745742,7 @@ function isNotLoggedIn() {
|
|
|
745751
745742
|
return true;
|
|
745752
745743
|
}
|
|
745753
745744
|
function getLogoDisplayData() {
|
|
745754
|
-
const version10 = process.env.DEMO_VERSION ?? "4.2.
|
|
745745
|
+
const version10 = process.env.DEMO_VERSION ?? "4.2.27";
|
|
745755
745746
|
const serverUrl = getDirectConnectServerUrl();
|
|
745756
745747
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
745757
745748
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -746329,7 +746320,7 @@ var init_MatrixMessageLine = __esm(() => {
|
|
|
746329
746320
|
// src/components/matrix-tactical/MatrixWelcome.tsx
|
|
746330
746321
|
import { basename as basename47 } from "path";
|
|
746331
746322
|
function MatrixWelcome({
|
|
746332
|
-
version: version10 = "4.2.
|
|
746323
|
+
version: version10 = "4.2.27",
|
|
746333
746324
|
projectName,
|
|
746334
746325
|
cwd: cwd2,
|
|
746335
746326
|
modelDisplayName,
|
|
@@ -746964,13 +746955,13 @@ function LogoV2() {
|
|
|
746964
746955
|
const { hasReleaseNotes } = checkForReleaseNotesSync(config13.lastReleaseNotesSeen);
|
|
746965
746956
|
import_react167.useEffect(() => {
|
|
746966
746957
|
const currentConfig = getGlobalConfig();
|
|
746967
|
-
if (currentConfig.lastReleaseNotesSeen === "4.2.
|
|
746958
|
+
if (currentConfig.lastReleaseNotesSeen === "4.2.27") {
|
|
746968
746959
|
return;
|
|
746969
746960
|
}
|
|
746970
746961
|
saveGlobalConfig((current2) => {
|
|
746971
|
-
if (current2.lastReleaseNotesSeen === "4.2.
|
|
746962
|
+
if (current2.lastReleaseNotesSeen === "4.2.27")
|
|
746972
746963
|
return current2;
|
|
746973
|
-
return { ...current2, lastReleaseNotesSeen: "4.2.
|
|
746964
|
+
return { ...current2, lastReleaseNotesSeen: "4.2.27" };
|
|
746974
746965
|
});
|
|
746975
746966
|
if (showOnboarding) {
|
|
746976
746967
|
incrementProjectOnboardingSeenCount();
|
|
@@ -769500,7 +769491,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
769500
769491
|
smapsRollup,
|
|
769501
769492
|
platform: process.platform,
|
|
769502
769493
|
nodeVersion: process.version,
|
|
769503
|
-
ccVersion: "4.2.
|
|
769494
|
+
ccVersion: "4.2.27"
|
|
769504
769495
|
};
|
|
769505
769496
|
}
|
|
769506
769497
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -769616,7 +769607,7 @@ var init_mock_limits = __esm(() => {
|
|
|
769616
769607
|
var call55 = async () => {
|
|
769617
769608
|
return {
|
|
769618
769609
|
type: "text",
|
|
769619
|
-
value: `${"4.2.
|
|
769610
|
+
value: `${"4.2.27"} (built ${"2026-08-13T08:38:46.384Z"})`
|
|
769620
769611
|
};
|
|
769621
769612
|
}, version10, version_default;
|
|
769622
769613
|
var init_version2 = __esm(() => {
|
|
@@ -787598,7 +787589,7 @@ function generateHtmlReport(data, insights) {
|
|
|
787598
787589
|
</html>`;
|
|
787599
787590
|
}
|
|
787600
787591
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
787601
|
-
const version11 = typeof MACRO !== "undefined" ? "4.2.
|
|
787592
|
+
const version11 = typeof MACRO !== "undefined" ? "4.2.27" : "unknown";
|
|
787602
787593
|
const remote_hosts_collected = remoteStats?.hosts.filter((h8) => h8.sessionCount > 0).map((h8) => h8.name);
|
|
787603
787594
|
const facets_summary = {
|
|
787604
787595
|
total: facets.size,
|
|
@@ -792048,7 +792039,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
792048
792039
|
init_settings2();
|
|
792049
792040
|
init_slowOperations();
|
|
792050
792041
|
init_uuid();
|
|
792051
|
-
VERSION11 = typeof MACRO !== "undefined" ? "4.2.
|
|
792042
|
+
VERSION11 = typeof MACRO !== "undefined" ? "4.2.27" : "unknown";
|
|
792052
792043
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
792053
792044
|
SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
792054
792045
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -793389,7 +793380,7 @@ var init_filesystem = __esm(() => {
|
|
|
793389
793380
|
});
|
|
793390
793381
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
793391
793382
|
const nonce = randomBytes24(16).toString("hex");
|
|
793392
|
-
return join204(getCostrictTempDir(), "bundled-skills", "4.2.
|
|
793383
|
+
return join204(getCostrictTempDir(), "bundled-skills", "4.2.27", nonce);
|
|
793393
793384
|
});
|
|
793394
793385
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
793395
793386
|
});
|
|
@@ -799659,7 +799650,7 @@ function computeFingerprint(messageText, version11) {
|
|
|
799659
799650
|
}
|
|
799660
799651
|
function computeFingerprintFromMessages(messages) {
|
|
799661
799652
|
const firstMessageText = extractFirstMessageText(messages);
|
|
799662
|
-
return computeFingerprint(firstMessageText, "4.2.
|
|
799653
|
+
return computeFingerprint(firstMessageText, "4.2.27");
|
|
799663
799654
|
}
|
|
799664
799655
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
799665
799656
|
var init_fingerprint = () => {};
|
|
@@ -800069,7 +800060,7 @@ function getAnthropicEnvMetadata() {
|
|
|
800069
800060
|
function getBuildAgeMinutes() {
|
|
800070
800061
|
if (false)
|
|
800071
800062
|
;
|
|
800072
|
-
const buildTime = new Date("2026-08-
|
|
800063
|
+
const buildTime = new Date("2026-08-13T08:38:46.384Z").getTime();
|
|
800073
800064
|
if (isNaN(buildTime))
|
|
800074
800065
|
return;
|
|
800075
800066
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -805637,7 +805628,7 @@ async function sideQuery(opts) {
|
|
|
805637
805628
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
805638
805629
|
}
|
|
805639
805630
|
const messageText = extractFirstUserMessageText(messages);
|
|
805640
|
-
const fingerprint = computeFingerprint(messageText, "4.2.
|
|
805631
|
+
const fingerprint = computeFingerprint(messageText, "4.2.27");
|
|
805641
805632
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
805642
805633
|
const systemBlocks = [
|
|
805643
805634
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -809033,7 +809024,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
809033
809024
|
slash_commands: inputs.commands.filter((c10) => c10.userInvocable !== false).map((c10) => c10.name),
|
|
809034
809025
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
809035
809026
|
betas: getSdkBetas(),
|
|
809036
|
-
claude_code_version: "4.2.
|
|
809027
|
+
claude_code_version: "4.2.27",
|
|
809037
809028
|
output_style: outputStyle2,
|
|
809038
809029
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
809039
809030
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -812577,7 +812568,7 @@ function appendToLog(path57, message2) {
|
|
|
812577
812568
|
cwd: getFsImplementation().cwd(),
|
|
812578
812569
|
userType: process.env.USER_TYPE,
|
|
812579
812570
|
sessionId: getSessionId(),
|
|
812580
|
-
version: "4.2.
|
|
812571
|
+
version: "4.2.27"
|
|
812581
812572
|
};
|
|
812582
812573
|
getLogWriter(path57).write(messageWithTimestamp);
|
|
812583
812574
|
}
|
|
@@ -833633,7 +833624,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
833633
833624
|
project_dir: getOriginalCwd(),
|
|
833634
833625
|
added_dirs: addedDirs
|
|
833635
833626
|
},
|
|
833636
|
-
version: "4.2.
|
|
833627
|
+
version: "4.2.27",
|
|
833637
833628
|
output_style: {
|
|
833638
833629
|
name: outputStyleName
|
|
833639
833630
|
},
|
|
@@ -852262,7 +852253,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
852262
852253
|
} catch {}
|
|
852263
852254
|
const data = {
|
|
852264
852255
|
trigger,
|
|
852265
|
-
version: "4.2.
|
|
852256
|
+
version: "4.2.27",
|
|
852266
852257
|
platform: process.platform,
|
|
852267
852258
|
transcript,
|
|
852268
852259
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -853517,7 +853508,7 @@ function getReleaseType(current2, latest) {
|
|
|
853517
853508
|
return "patch";
|
|
853518
853509
|
}
|
|
853519
853510
|
async function checkNewAutoUpdate(callbacks) {
|
|
853520
|
-
const currentVersion = "4.2.
|
|
853511
|
+
const currentVersion = "4.2.27";
|
|
853521
853512
|
logForDebugging(`[newAutoUpdater] checking, current: ${currentVersion}`);
|
|
853522
853513
|
if (isNewAutoUpdaterDisabled()) {
|
|
853523
853514
|
return { action: "skip", currentVersion, latestVersion: null };
|
|
@@ -864740,7 +864731,7 @@ function WelcomeV2() {
|
|
|
864740
864731
|
dimColor: true,
|
|
864741
864732
|
children: [
|
|
864742
864733
|
"v",
|
|
864743
|
-
"4.2.
|
|
864734
|
+
"4.2.27",
|
|
864744
864735
|
" "
|
|
864745
864736
|
]
|
|
864746
864737
|
})
|
|
@@ -864806,7 +864797,7 @@ function WelcomeV2() {
|
|
|
864806
864797
|
dimColor: true,
|
|
864807
864798
|
children: [
|
|
864808
864799
|
"v",
|
|
864809
|
-
"4.2.
|
|
864800
|
+
"4.2.27",
|
|
864810
864801
|
" "
|
|
864811
864802
|
]
|
|
864812
864803
|
})
|
|
@@ -864908,7 +864899,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
|
|
|
864908
864899
|
dimColor: true,
|
|
864909
864900
|
children: [
|
|
864910
864901
|
"v",
|
|
864911
|
-
"4.2.
|
|
864902
|
+
"4.2.27",
|
|
864912
864903
|
" "
|
|
864913
864904
|
]
|
|
864914
864905
|
})
|
|
@@ -864974,7 +864965,7 @@ function AppleTerminalWelcomeV2({ theme: theme2, welcomeMessage }) {
|
|
|
864974
864965
|
dimColor: true,
|
|
864975
864966
|
children: [
|
|
864976
864967
|
"v",
|
|
864977
|
-
"4.2.
|
|
864968
|
+
"4.2.27",
|
|
864978
864969
|
" "
|
|
864979
864970
|
]
|
|
864980
864971
|
})
|
|
@@ -865914,7 +865905,7 @@ function completeOnboarding() {
|
|
|
865914
865905
|
saveGlobalConfig((current2) => ({
|
|
865915
865906
|
...current2,
|
|
865916
865907
|
hasCompletedOnboarding: true,
|
|
865917
|
-
lastOnboardingVersion: "4.2.
|
|
865908
|
+
lastOnboardingVersion: "4.2.27"
|
|
865918
865909
|
}));
|
|
865919
865910
|
}
|
|
865920
865911
|
function showDialog(root9, renderer) {
|
|
@@ -880996,7 +880987,7 @@ async function startMCPServer(cwd3, debug5, verbose) {
|
|
|
880996
880987
|
setCwd(cwd3);
|
|
880997
880988
|
const server2 = new Server({
|
|
880998
880989
|
name: "claude/tengu",
|
|
880999
|
-
version: "4.2.
|
|
880990
|
+
version: "4.2.27"
|
|
881000
880991
|
}, {
|
|
881001
880992
|
capabilities: {
|
|
881002
880993
|
tools: {}
|
|
@@ -883281,7 +883272,7 @@ function createHealthRoutes(sessionManager) {
|
|
|
883281
883272
|
const uptime2 = process.uptime() * 1000;
|
|
883282
883273
|
return c10.json({
|
|
883283
883274
|
status: "ok",
|
|
883284
|
-
version: "4.2.
|
|
883275
|
+
version: "4.2.27",
|
|
883285
883276
|
uptime_ms: Math.round(uptime2),
|
|
883286
883277
|
active_sessions: sessionManager.getActiveCount()
|
|
883287
883278
|
});
|
|
@@ -883553,7 +883544,7 @@ function getMacroDefines() {
|
|
|
883553
883544
|
commit = execSync3("git rev-parse --short HEAD", { encoding: "utf-8", cwd: __dirname }).trim();
|
|
883554
883545
|
} catch {}
|
|
883555
883546
|
return {
|
|
883556
|
-
"MACRO.VERSION": JSON.stringify("4.2.
|
|
883547
|
+
"MACRO.VERSION": JSON.stringify("4.2.27"),
|
|
883557
883548
|
"MACRO.BUILD_TIME": JSON.stringify(new Date().toISOString()),
|
|
883558
883549
|
"MACRO.COMMIT": JSON.stringify(commit),
|
|
883559
883550
|
"MACRO.FEEDBACK_CHANNEL": JSON.stringify(""),
|
|
@@ -890608,7 +890599,7 @@ __export(exports_update, {
|
|
|
890608
890599
|
});
|
|
890609
890600
|
async function update() {
|
|
890610
890601
|
logEvent("tengu_update_check", {});
|
|
890611
|
-
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.
|
|
890602
|
+
writeToStdout(`${t("cli.update.currentVersion", "Current version")}: ${"4.2.27"}
|
|
890612
890603
|
`);
|
|
890613
890604
|
const channel5 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
890614
890605
|
writeToStdout(`${t("cli.update.checkingUpdates", { channel: channel5 }, "Checking for updates to {channel} version...")}
|
|
@@ -890683,8 +890674,8 @@ async function update() {
|
|
|
890683
890674
|
writeToStdout(`${t("cli.update.managedByHomebrew", "CoStrict is managed by Homebrew.")}
|
|
890684
890675
|
`);
|
|
890685
890676
|
const latest = await getLatestVersion(channel5);
|
|
890686
|
-
if (latest && !gte2("4.2.
|
|
890687
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.
|
|
890677
|
+
if (latest && !gte2("4.2.27", latest)) {
|
|
890678
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.27", latest }, "Update available: {current} \u2192 {latest}")}
|
|
890688
890679
|
`);
|
|
890689
890680
|
writeToStdout(`
|
|
890690
890681
|
`);
|
|
@@ -890700,8 +890691,8 @@ async function update() {
|
|
|
890700
890691
|
writeToStdout(`${t("cli.update.managedByWinget", "CoStrict is managed by winget.")}
|
|
890701
890692
|
`);
|
|
890702
890693
|
const latest = await getLatestVersion(channel5);
|
|
890703
|
-
if (latest && !gte2("4.2.
|
|
890704
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.
|
|
890694
|
+
if (latest && !gte2("4.2.27", latest)) {
|
|
890695
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.27", latest }, "Update available: {current} \u2192 {latest}")}
|
|
890705
890696
|
`);
|
|
890706
890697
|
writeToStdout(`
|
|
890707
890698
|
`);
|
|
@@ -890717,8 +890708,8 @@ async function update() {
|
|
|
890717
890708
|
writeToStdout(`${t("cli.update.managedByApk", "CoStrict is managed by apk.")}
|
|
890718
890709
|
`);
|
|
890719
890710
|
const latest = await getLatestVersion(channel5);
|
|
890720
|
-
if (latest && !gte2("4.2.
|
|
890721
|
-
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.
|
|
890711
|
+
if (latest && !gte2("4.2.27", latest)) {
|
|
890712
|
+
writeToStdout(`${t("cli.update.updateAvailable", { current: "4.2.27", latest }, "Update available: {current} \u2192 {latest}")}
|
|
890722
890713
|
`);
|
|
890723
890714
|
writeToStdout(`
|
|
890724
890715
|
`);
|
|
@@ -890783,11 +890774,11 @@ async function update() {
|
|
|
890783
890774
|
`);
|
|
890784
890775
|
await gracefulShutdown(1);
|
|
890785
890776
|
}
|
|
890786
|
-
if (result2.latestVersion === "4.2.
|
|
890787
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.
|
|
890777
|
+
if (result2.latestVersion === "4.2.27") {
|
|
890778
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.27" }, "CoStrict is up to date ({version})")) + `
|
|
890788
890779
|
`);
|
|
890789
890780
|
} else {
|
|
890790
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.
|
|
890781
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.27", to: String(result2.latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
890791
890782
|
`);
|
|
890792
890783
|
regenerateCompletionCache();
|
|
890793
890784
|
}
|
|
@@ -890847,12 +890838,12 @@ async function update() {
|
|
|
890847
890838
|
`);
|
|
890848
890839
|
await gracefulShutdown(1);
|
|
890849
890840
|
}
|
|
890850
|
-
if (latestVersion === "4.2.
|
|
890851
|
-
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.
|
|
890841
|
+
if (latestVersion === "4.2.27") {
|
|
890842
|
+
writeToStdout(source_default.green(t("cli.update.upToDateVersion", { version: "4.2.27" }, "CoStrict is up to date ({version})")) + `
|
|
890852
890843
|
`);
|
|
890853
890844
|
await gracefulShutdown(0);
|
|
890854
890845
|
}
|
|
890855
|
-
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.
|
|
890846
|
+
writeToStdout(`${t("cli.update.newVersionAvailable", { latest: String(latestVersion), current: "4.2.27" }, "New version available: {latest} (current: {current})")}
|
|
890856
890847
|
`);
|
|
890857
890848
|
writeToStdout(`${t("cli.update.installing", "Installing update...")}
|
|
890858
890849
|
`);
|
|
@@ -890897,7 +890888,7 @@ async function update() {
|
|
|
890897
890888
|
logForDebugging(`update: Installation status: ${result.status}`);
|
|
890898
890889
|
switch (result.status) {
|
|
890899
890890
|
case "success":
|
|
890900
|
-
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.
|
|
890891
|
+
writeToStdout(source_default.green(t("cli.update.successfullyUpdated", { from: "4.2.27", to: String(latestVersion) }, "Successfully updated from {from} to version {to}")) + `
|
|
890901
890892
|
`);
|
|
890902
890893
|
regenerateCompletionCache();
|
|
890903
890894
|
break;
|
|
@@ -893101,7 +893092,7 @@ ${assistantAddendum}` : assistantAddendum;
|
|
|
893101
893092
|
}
|
|
893102
893093
|
}
|
|
893103
893094
|
logForDiagnosticsNoPII("info", "started", {
|
|
893104
|
-
version: "4.2.
|
|
893095
|
+
version: "4.2.27",
|
|
893105
893096
|
is_native_binary: isInBundledMode()
|
|
893106
893097
|
});
|
|
893107
893098
|
registerCleanup(async () => {
|
|
@@ -893592,7 +893583,7 @@ Session: ${directConnectConfig.sessionId}`, "info");
|
|
|
893592
893583
|
sshSession = await createSSHSession2({
|
|
893593
893584
|
host: _pendingSSH.host,
|
|
893594
893585
|
cwd: _pendingSSH.cwd,
|
|
893595
|
-
localVersion: "4.2.
|
|
893586
|
+
localVersion: "4.2.27",
|
|
893596
893587
|
permissionMode: _pendingSSH.permissionMode,
|
|
893597
893588
|
dangerouslySkipPermissions: _pendingSSH.dangerouslySkipPermissions,
|
|
893598
893589
|
extraCliArgs: _pendingSSH.extraCliArgs,
|
|
@@ -894061,7 +894052,7 @@ Usage: csc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
894061
894052
|
pendingHookMessages
|
|
894062
894053
|
}, renderAndRun);
|
|
894063
894054
|
}
|
|
894064
|
-
}).version("4.2.
|
|
894055
|
+
}).version("4.2.27 (CoStrict)", "-v, --version", cliDesc("cli.option.version", "Output the version number"));
|
|
894065
894056
|
program2.addOption(new Option("-w, --worktree [name]", cliDesc("cli.option.worktree", "Create a new git worktree for this session (optionally specify a name)")).hideHelp());
|
|
894066
894057
|
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());
|
|
894067
894058
|
if (canUserConfigureAdvisor()) {
|
|
@@ -894804,10 +894795,10 @@ if (process.env.CLAUDE_CODE_REMOTE === "true") {
|
|
|
894804
894795
|
async function main2() {
|
|
894805
894796
|
const args = process.argv.slice(2);
|
|
894806
894797
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
894807
|
-
const d7 = new Date("2026-08-
|
|
894798
|
+
const d7 = new Date("2026-08-13T08:38:46.384Z");
|
|
894808
894799
|
const p2 = (n3) => String(n3).padStart(2, "0");
|
|
894809
894800
|
const buildTime = `${d7.getFullYear()}/${p2(d7.getMonth() + 1)}/${p2(d7.getDate())} ${p2(d7.getHours())}:${p2(d7.getMinutes())}:${p2(d7.getSeconds())}`;
|
|
894810
|
-
console.log(`${"4.2.
|
|
894801
|
+
console.log(`${"4.2.27"} (commit: ${"8516f37bd"}, built: ${buildTime})`);
|
|
894811
894802
|
return;
|
|
894812
894803
|
}
|
|
894813
894804
|
let stopServeParentWatchdog;
|
|
@@ -894983,5 +894974,5 @@ async function main2() {
|
|
|
894983
894974
|
}
|
|
894984
894975
|
main2();
|
|
894985
894976
|
|
|
894986
|
-
//# debugId=
|
|
894977
|
+
//# debugId=5F11C2529DA0FB5964756E2164756E21
|
|
894987
894978
|
|
|
@@ -736,8 +736,8 @@ function getClientVersion() {
|
|
|
736
736
|
if (cached)
|
|
737
737
|
return cached;
|
|
738
738
|
try {
|
|
739
|
-
if ("4.2.
|
|
740
|
-
cached = "4.2.
|
|
739
|
+
if ("4.2.27") {
|
|
740
|
+
cached = "4.2.27";
|
|
741
741
|
return cached;
|
|
742
742
|
}
|
|
743
743
|
} catch {}
|
|
@@ -138559,7 +138559,7 @@ var init_user = __esm(() => {
|
|
|
138559
138559
|
deviceId,
|
|
138560
138560
|
sessionId: getSessionId(),
|
|
138561
138561
|
email: getEmail(),
|
|
138562
|
-
appVersion: "4.2.
|
|
138562
|
+
appVersion: "4.2.27",
|
|
138563
138563
|
platform: getHostPlatformForAnalytics(),
|
|
138564
138564
|
organizationUuid,
|
|
138565
138565
|
accountUuid,
|
|
@@ -138846,7 +138846,7 @@ var init_metadata = __esm(() => {
|
|
|
138846
138846
|
"sed"
|
|
138847
138847
|
]);
|
|
138848
138848
|
getVersionBase = memoize_default(() => {
|
|
138849
|
-
const match = "4.2.
|
|
138849
|
+
const match = "4.2.27".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
138850
138850
|
return match ? match[0] : undefined;
|
|
138851
138851
|
});
|
|
138852
138852
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -138886,9 +138886,9 @@ var init_metadata = __esm(() => {
|
|
|
138886
138886
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
138887
138887
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
138888
138888
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
138889
|
-
version: "4.2.
|
|
138889
|
+
version: "4.2.27",
|
|
138890
138890
|
versionBase: getVersionBase(),
|
|
138891
|
-
buildTime: "2026-08-
|
|
138891
|
+
buildTime: "2026-08-13T08:38:48.650Z",
|
|
138892
138892
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
138893
138893
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
138894
138894
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -143226,5 +143226,5 @@ export {
|
|
|
143226
143226
|
isParentHeartbeatValid
|
|
143227
143227
|
};
|
|
143228
143228
|
|
|
143229
|
-
//# debugId=
|
|
143229
|
+
//# debugId=37609006F3D6B41264756E2164756E21
|
|
143230
143230
|
|