@ainative/cody-cli 0.7.44 → 0.7.45
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 +113 -113
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -185594,7 +185594,7 @@ var init_auth2 = __esm(() => {
|
|
|
185594
185594
|
|
|
185595
185595
|
// src/utils/userAgent.ts
|
|
185596
185596
|
function getCodyUserAgent() {
|
|
185597
|
-
return `cody-cli/${"0.7.
|
|
185597
|
+
return `cody-cli/${"0.7.45"}`;
|
|
185598
185598
|
}
|
|
185599
185599
|
|
|
185600
185600
|
// src/utils/workloadContext.ts
|
|
@@ -185616,7 +185616,7 @@ function getUserAgent() {
|
|
|
185616
185616
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
185617
185617
|
const workload = getWorkload();
|
|
185618
185618
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
185619
|
-
return `claude-cli/${"0.7.
|
|
185619
|
+
return `claude-cli/${"0.7.45"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
185620
185620
|
}
|
|
185621
185621
|
function getMCPUserAgent() {
|
|
185622
185622
|
const parts = [];
|
|
@@ -185630,7 +185630,7 @@ function getMCPUserAgent() {
|
|
|
185630
185630
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
185631
185631
|
}
|
|
185632
185632
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
185633
|
-
return `cody-cli/${"0.7.
|
|
185633
|
+
return `cody-cli/${"0.7.45"}${suffix}`;
|
|
185634
185634
|
}
|
|
185635
185635
|
function getWebFetchUserAgent() {
|
|
185636
185636
|
return `Cody-User (${getCodyUserAgent()}; +https://ainative.studio)`;
|
|
@@ -185768,7 +185768,7 @@ var init_user = __esm(() => {
|
|
|
185768
185768
|
deviceId,
|
|
185769
185769
|
sessionId: getSessionId(),
|
|
185770
185770
|
email: getEmail(),
|
|
185771
|
-
appVersion: "0.7.
|
|
185771
|
+
appVersion: "0.7.45",
|
|
185772
185772
|
platform: getHostPlatformForAnalytics(),
|
|
185773
185773
|
organizationUuid,
|
|
185774
185774
|
accountUuid,
|
|
@@ -193460,7 +193460,7 @@ var init_metadata = __esm(() => {
|
|
|
193460
193460
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
193461
193461
|
WHITESPACE_REGEX = /\s+/;
|
|
193462
193462
|
getVersionBase = memoize_default(() => {
|
|
193463
|
-
const match = "0.7.
|
|
193463
|
+
const match = "0.7.45".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
193464
193464
|
return match ? match[0] : undefined;
|
|
193465
193465
|
});
|
|
193466
193466
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -193500,9 +193500,9 @@ var init_metadata = __esm(() => {
|
|
|
193500
193500
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
193501
193501
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
193502
193502
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
193503
|
-
version: "0.7.
|
|
193503
|
+
version: "0.7.45",
|
|
193504
193504
|
versionBase: getVersionBase(),
|
|
193505
|
-
buildTime: "
|
|
193505
|
+
buildTime: "1779076880",
|
|
193506
193506
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
193507
193507
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
193508
193508
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -194120,7 +194120,7 @@ function initialize1PEventLogging() {
|
|
|
194120
194120
|
const platform3 = getPlatform();
|
|
194121
194121
|
const attributes = {
|
|
194122
194122
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
|
|
194123
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.
|
|
194123
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.45"
|
|
194124
194124
|
};
|
|
194125
194125
|
if (platform3 === "wsl") {
|
|
194126
194126
|
const wslVersion = getWslVersion();
|
|
@@ -194147,7 +194147,7 @@ function initialize1PEventLogging() {
|
|
|
194147
194147
|
})
|
|
194148
194148
|
]
|
|
194149
194149
|
});
|
|
194150
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.
|
|
194150
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.45");
|
|
194151
194151
|
}
|
|
194152
194152
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
194153
194153
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -195840,7 +195840,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
195840
195840
|
if (!isAttributionHeaderEnabled()) {
|
|
195841
195841
|
return "";
|
|
195842
195842
|
}
|
|
195843
|
-
const version7 = `${"0.7.
|
|
195843
|
+
const version7 = `${"0.7.45"}.${fingerprint}`;
|
|
195844
195844
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
195845
195845
|
const cch = "";
|
|
195846
195846
|
const workload = getWorkload();
|
|
@@ -259371,7 +259371,7 @@ var init_toolUseSummaryGenerator = __esm(() => {
|
|
|
259371
259371
|
init_errors();
|
|
259372
259372
|
init_log3();
|
|
259373
259373
|
init_slowOperations();
|
|
259374
|
-
|
|
259374
|
+
init_cody();
|
|
259375
259375
|
});
|
|
259376
259376
|
|
|
259377
259377
|
// src/utils/objectGroupBy.ts
|
|
@@ -259985,7 +259985,7 @@ function getTelemetryAttributes() {
|
|
|
259985
259985
|
attributes["session.id"] = sessionId;
|
|
259986
259986
|
}
|
|
259987
259987
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
259988
|
-
attributes["app.version"] = "0.7.
|
|
259988
|
+
attributes["app.version"] = "0.7.45";
|
|
259989
259989
|
}
|
|
259990
259990
|
const oauthAccount = getOauthAccountInfo();
|
|
259991
259991
|
if (oauthAccount) {
|
|
@@ -262875,7 +262875,7 @@ var init_claudeAiLimits = __esm(() => {
|
|
|
262875
262875
|
init_log3();
|
|
262876
262876
|
init_model();
|
|
262877
262877
|
init_analytics();
|
|
262878
|
-
|
|
262878
|
+
init_cody();
|
|
262879
262879
|
init_client5();
|
|
262880
262880
|
init_rateLimitMocking();
|
|
262881
262881
|
init_rateLimitMessages();
|
|
@@ -291175,7 +291175,7 @@ function getInstallationEnv() {
|
|
|
291175
291175
|
return;
|
|
291176
291176
|
}
|
|
291177
291177
|
function getClaudeCodeVersion() {
|
|
291178
|
-
return "0.7.
|
|
291178
|
+
return "0.7.45";
|
|
291179
291179
|
}
|
|
291180
291180
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
291181
291181
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -296711,7 +296711,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
296711
296711
|
const client4 = new Client({
|
|
296712
296712
|
name: "claude-code",
|
|
296713
296713
|
title: "Cody CLI",
|
|
296714
|
-
version: "0.7.
|
|
296714
|
+
version: "0.7.45",
|
|
296715
296715
|
description: "Anthropic's agentic coding tool",
|
|
296716
296716
|
websiteUrl: PRODUCT_URL
|
|
296717
296717
|
}, {
|
|
@@ -297065,7 +297065,7 @@ var init_client8 = __esm(() => {
|
|
|
297065
297065
|
const client4 = new Client({
|
|
297066
297066
|
name: "claude-code",
|
|
297067
297067
|
title: "Cody CLI",
|
|
297068
|
-
version: "0.7.
|
|
297068
|
+
version: "0.7.45",
|
|
297069
297069
|
description: "Anthropic's agentic coding tool",
|
|
297070
297070
|
websiteUrl: PRODUCT_URL
|
|
297071
297071
|
}, {
|
|
@@ -298679,7 +298679,7 @@ var init_yoloClassifier = __esm(() => {
|
|
|
298679
298679
|
init_state();
|
|
298680
298680
|
init_growthbook();
|
|
298681
298681
|
init_analytics();
|
|
298682
|
-
|
|
298682
|
+
init_cody();
|
|
298683
298683
|
init_errors7();
|
|
298684
298684
|
init_withRetry();
|
|
298685
298685
|
init_debug();
|
|
@@ -345197,7 +345197,7 @@ async function initializeBetaTracing(resource) {
|
|
|
345197
345197
|
});
|
|
345198
345198
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
345199
345199
|
setLoggerProvider(loggerProvider);
|
|
345200
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
345200
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.45");
|
|
345201
345201
|
setEventLogger(eventLogger);
|
|
345202
345202
|
process.on("beforeExit", async () => {
|
|
345203
345203
|
await loggerProvider?.forceFlush();
|
|
@@ -345237,7 +345237,7 @@ async function initializeTelemetry() {
|
|
|
345237
345237
|
const platform5 = getPlatform();
|
|
345238
345238
|
const baseAttributes = {
|
|
345239
345239
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
345240
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.
|
|
345240
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.45"
|
|
345241
345241
|
};
|
|
345242
345242
|
if (platform5 === "wsl") {
|
|
345243
345243
|
const wslVersion = getWslVersion();
|
|
@@ -345282,7 +345282,7 @@ async function initializeTelemetry() {
|
|
|
345282
345282
|
} catch {}
|
|
345283
345283
|
};
|
|
345284
345284
|
registerCleanup(shutdownTelemetry2);
|
|
345285
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
345285
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.45");
|
|
345286
345286
|
}
|
|
345287
345287
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
345288
345288
|
resource,
|
|
@@ -345302,7 +345302,7 @@ async function initializeTelemetry() {
|
|
|
345302
345302
|
});
|
|
345303
345303
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
345304
345304
|
setLoggerProvider(loggerProvider);
|
|
345305
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
345305
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.45");
|
|
345306
345306
|
setEventLogger(eventLogger);
|
|
345307
345307
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
345308
345308
|
process.on("beforeExit", async () => {
|
|
@@ -345364,7 +345364,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
345364
345364
|
}
|
|
345365
345365
|
};
|
|
345366
345366
|
registerCleanup(shutdownTelemetry);
|
|
345367
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
345367
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.45");
|
|
345368
345368
|
}
|
|
345369
345369
|
async function flushTelemetry() {
|
|
345370
345370
|
const meterProvider = getMeterProvider();
|
|
@@ -346053,9 +346053,9 @@ async function assertMinVersion() {
|
|
|
346053
346053
|
}
|
|
346054
346054
|
try {
|
|
346055
346055
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
346056
|
-
if (versionConfig.minVersion && lt("0.7.
|
|
346056
|
+
if (versionConfig.minVersion && lt("0.7.45", versionConfig.minVersion)) {
|
|
346057
346057
|
console.error(`
|
|
346058
|
-
It looks like your version of Cody CLI (${"0.7.
|
|
346058
|
+
It looks like your version of Cody CLI (${"0.7.45"}) needs an update.
|
|
346059
346059
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
346060
346060
|
|
|
346061
346061
|
To update, please run:
|
|
@@ -346292,7 +346292,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
346292
346292
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
346293
346293
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
346294
346294
|
pid: process.pid,
|
|
346295
|
-
currentVersion: "0.7.
|
|
346295
|
+
currentVersion: "0.7.45"
|
|
346296
346296
|
});
|
|
346297
346297
|
return "in_progress";
|
|
346298
346298
|
}
|
|
@@ -346301,7 +346301,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
346301
346301
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
346302
346302
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
346303
346303
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
346304
|
-
currentVersion: "0.7.
|
|
346304
|
+
currentVersion: "0.7.45"
|
|
346305
346305
|
});
|
|
346306
346306
|
console.error(`
|
|
346307
346307
|
Error: Windows NPM detected in WSL
|
|
@@ -346836,7 +346836,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
346836
346836
|
}
|
|
346837
346837
|
async function getDoctorDiagnostic() {
|
|
346838
346838
|
const installationType = await getCurrentInstallationType();
|
|
346839
|
-
const version7 = typeof MACRO !== "undefined" ? "0.7.
|
|
346839
|
+
const version7 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
|
|
346840
346840
|
const installationPath = await getInstallationPath();
|
|
346841
346841
|
const invokedBinary = getInvokedBinary();
|
|
346842
346842
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -347671,8 +347671,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
347671
347671
|
const maxVersion = await getMaxVersion();
|
|
347672
347672
|
if (maxVersion && gt(version7, maxVersion)) {
|
|
347673
347673
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version7} to ${maxVersion}`);
|
|
347674
|
-
if (gte("0.7.
|
|
347675
|
-
logForDebugging(`Native installer: current version ${"0.7.
|
|
347674
|
+
if (gte("0.7.45", maxVersion)) {
|
|
347675
|
+
logForDebugging(`Native installer: current version ${"0.7.45"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
347676
347676
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
347677
347677
|
latency_ms: Date.now() - startTime,
|
|
347678
347678
|
max_version: maxVersion,
|
|
@@ -347683,7 +347683,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
347683
347683
|
version7 = maxVersion;
|
|
347684
347684
|
}
|
|
347685
347685
|
}
|
|
347686
|
-
if (!forceReinstall && version7 === "0.7.
|
|
347686
|
+
if (!forceReinstall && version7 === "0.7.45" && await versionIsAvailable(version7) && await isPossibleClaudeBinary(executablePath)) {
|
|
347687
347687
|
logForDebugging(`Found ${version7} at ${executablePath}, skipping install`);
|
|
347688
347688
|
logEvent("tengu_native_update_complete", {
|
|
347689
347689
|
latency_ms: Date.now() - startTime,
|
|
@@ -374174,7 +374174,7 @@ var init_teleport = __esm(() => {
|
|
|
374174
374174
|
init_TeleportError();
|
|
374175
374175
|
init_oauth();
|
|
374176
374176
|
init_KeybindingProviderSetup();
|
|
374177
|
-
|
|
374177
|
+
init_cody();
|
|
374178
374178
|
init_sessionIngress();
|
|
374179
374179
|
init_client2();
|
|
374180
374180
|
init_AppState();
|
|
@@ -412215,7 +412215,7 @@ var init_utils11 = __esm(() => {
|
|
|
412215
412215
|
init_axios2();
|
|
412216
412216
|
init_index_min();
|
|
412217
412217
|
init_analytics();
|
|
412218
|
-
|
|
412218
|
+
init_cody();
|
|
412219
412219
|
init_errors();
|
|
412220
412220
|
init_http2();
|
|
412221
412221
|
init_log3();
|
|
@@ -414135,7 +414135,7 @@ var init_WebSearchTool = __esm(() => {
|
|
|
414135
414135
|
init_providers();
|
|
414136
414136
|
init_v4();
|
|
414137
414137
|
init_growthbook();
|
|
414138
|
-
|
|
414138
|
+
init_cody();
|
|
414139
414139
|
init_Tool();
|
|
414140
414140
|
init_log3();
|
|
414141
414141
|
init_messages3();
|
|
@@ -430678,7 +430678,7 @@ function productionDeps() {
|
|
|
430678
430678
|
};
|
|
430679
430679
|
}
|
|
430680
430680
|
var init_deps = __esm(() => {
|
|
430681
|
-
|
|
430681
|
+
init_cody();
|
|
430682
430682
|
init_autoCompact();
|
|
430683
430683
|
init_microCompact();
|
|
430684
430684
|
});
|
|
@@ -431532,7 +431532,7 @@ function getAnthropicEnvMetadata() {
|
|
|
431532
431532
|
function getBuildAgeMinutes() {
|
|
431533
431533
|
if (false)
|
|
431534
431534
|
;
|
|
431535
|
-
const buildTime = new Date("
|
|
431535
|
+
const buildTime = new Date("1779076880").getTime();
|
|
431536
431536
|
if (isNaN(buildTime))
|
|
431537
431537
|
return;
|
|
431538
431538
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -432191,7 +432191,7 @@ var lastCacheSafeParams = null;
|
|
|
432191
432191
|
var init_forkedAgent = __esm(() => {
|
|
432192
432192
|
init_query2();
|
|
432193
432193
|
init_analytics();
|
|
432194
|
-
|
|
432194
|
+
init_cody();
|
|
432195
432195
|
init_logging2();
|
|
432196
432196
|
init_abortController();
|
|
432197
432197
|
init_debug();
|
|
@@ -433481,7 +433481,7 @@ var init_compact = __esm(() => {
|
|
|
433481
433481
|
init_toolSearch();
|
|
433482
433482
|
init_growthbook();
|
|
433483
433483
|
init_analytics();
|
|
433484
|
-
|
|
433484
|
+
init_cody();
|
|
433485
433485
|
init_errors7();
|
|
433486
433486
|
init_promptCacheBreakDetection();
|
|
433487
433487
|
init_withRetry();
|
|
@@ -434168,7 +434168,7 @@ var init_autoCompact = __esm(() => {
|
|
|
434168
434168
|
init_log3();
|
|
434169
434169
|
init_tokens();
|
|
434170
434170
|
init_growthbook();
|
|
434171
|
-
|
|
434171
|
+
init_cody();
|
|
434172
434172
|
init_promptCacheBreakDetection();
|
|
434173
434173
|
init_sessionMemoryUtils();
|
|
434174
434174
|
init_compact();
|
|
@@ -435676,7 +435676,7 @@ var init_tokenEstimation = __esm(() => {
|
|
|
435676
435676
|
init_model();
|
|
435677
435677
|
init_slowOperations();
|
|
435678
435678
|
init_toolSearch();
|
|
435679
|
-
|
|
435679
|
+
init_cody();
|
|
435680
435680
|
init_client5();
|
|
435681
435681
|
init_vcr();
|
|
435682
435682
|
});
|
|
@@ -448065,7 +448065,7 @@ var init_prefix = __esm(() => {
|
|
|
448065
448065
|
init_source();
|
|
448066
448066
|
init_growthbook();
|
|
448067
448067
|
init_analytics();
|
|
448068
|
-
|
|
448068
|
+
init_cody();
|
|
448069
448069
|
init_errors7();
|
|
448070
448070
|
init_memoize2();
|
|
448071
448071
|
init_slowOperations();
|
|
@@ -455047,7 +455047,7 @@ function Feedback({
|
|
|
455047
455047
|
platform: env4.platform,
|
|
455048
455048
|
gitRepo: envInfo.isGit,
|
|
455049
455049
|
terminal: env4.terminal,
|
|
455050
|
-
version: "0.7.
|
|
455050
|
+
version: "0.7.45",
|
|
455051
455051
|
transcript: normalizeMessagesForAPI(messages),
|
|
455052
455052
|
errors: sanitizedErrors,
|
|
455053
455053
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -455239,7 +455239,7 @@ function Feedback({
|
|
|
455239
455239
|
", ",
|
|
455240
455240
|
env4.terminal,
|
|
455241
455241
|
", v",
|
|
455242
|
-
"0.7.
|
|
455242
|
+
"0.7.45"
|
|
455243
455243
|
]
|
|
455244
455244
|
}, undefined, true, undefined, this)
|
|
455245
455245
|
]
|
|
@@ -455345,7 +455345,7 @@ ${sanitizedDescription}
|
|
|
455345
455345
|
` + `**Environment Info**
|
|
455346
455346
|
` + `- Platform: ${env4.platform}
|
|
455347
455347
|
` + `- Terminal: ${env4.terminal}
|
|
455348
|
-
` + `- Version: ${"0.7.
|
|
455348
|
+
` + `- Version: ${"0.7.45"}
|
|
455349
455349
|
` + `- Feedback ID: ${feedbackId}
|
|
455350
455350
|
` + `
|
|
455351
455351
|
**Errors**
|
|
@@ -455520,7 +455520,7 @@ var init_Feedback = __esm(() => {
|
|
|
455520
455520
|
init_useTerminalSize();
|
|
455521
455521
|
init_ink2();
|
|
455522
455522
|
init_useKeybinding();
|
|
455523
|
-
|
|
455523
|
+
init_cody();
|
|
455524
455524
|
init_errors7();
|
|
455525
455525
|
init_auth2();
|
|
455526
455526
|
init_browser();
|
|
@@ -458445,7 +458445,7 @@ function buildPrimarySection() {
|
|
|
458445
458445
|
}, undefined, false, undefined, this);
|
|
458446
458446
|
return [{
|
|
458447
458447
|
label: "Version",
|
|
458448
|
-
value: "0.7.
|
|
458448
|
+
value: "0.7.45"
|
|
458449
458449
|
}, {
|
|
458450
458450
|
label: "Session name",
|
|
458451
458451
|
value: nameValue
|
|
@@ -462196,7 +462196,7 @@ function Config({
|
|
|
462196
462196
|
}
|
|
462197
462197
|
}, undefined, false, undefined, this)
|
|
462198
462198
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
462199
|
-
currentVersion: "0.7.
|
|
462199
|
+
currentVersion: "0.7.45",
|
|
462200
462200
|
onChoice: (choice) => {
|
|
462201
462201
|
setShowSubmenu(null);
|
|
462202
462202
|
setTabsHidden(false);
|
|
@@ -462208,7 +462208,7 @@ function Config({
|
|
|
462208
462208
|
autoUpdatesChannel: "stable"
|
|
462209
462209
|
};
|
|
462210
462210
|
if (choice === "stay") {
|
|
462211
|
-
newSettings.minimumVersion = "0.7.
|
|
462211
|
+
newSettings.minimumVersion = "0.7.45";
|
|
462212
462212
|
}
|
|
462213
462213
|
updateSettingsForSource("userSettings", newSettings);
|
|
462214
462214
|
setSettingsData((prev_27) => ({
|
|
@@ -470250,7 +470250,7 @@ function HelpV2(t0) {
|
|
|
470250
470250
|
let t6;
|
|
470251
470251
|
if ($3[31] !== tabs) {
|
|
470252
470252
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
470253
|
-
title: `Cody CLI v${"0.7.
|
|
470253
|
+
title: `Cody CLI v${"0.7.45"}`,
|
|
470254
470254
|
color: "professionalBlue",
|
|
470255
470255
|
defaultTab: "general",
|
|
470256
470256
|
children: tabs
|
|
@@ -494440,7 +494440,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
494440
494440
|
return [];
|
|
494441
494441
|
}
|
|
494442
494442
|
}
|
|
494443
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
494443
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.45") {
|
|
494444
494444
|
if (false) {}
|
|
494445
494445
|
const cachedChangelog = await getStoredChangelog();
|
|
494446
494446
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -494453,7 +494453,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.44")
|
|
|
494453
494453
|
releaseNotes
|
|
494454
494454
|
};
|
|
494455
494455
|
}
|
|
494456
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.
|
|
494456
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.45") {
|
|
494457
494457
|
if (false) {}
|
|
494458
494458
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
494459
494459
|
return {
|
|
@@ -494627,7 +494627,7 @@ var init_sessionTitle = __esm(() => {
|
|
|
494627
494627
|
init_v4();
|
|
494628
494628
|
init_state();
|
|
494629
494629
|
init_analytics();
|
|
494630
|
-
|
|
494630
|
+
init_cody();
|
|
494631
494631
|
init_debug();
|
|
494632
494632
|
init_json();
|
|
494633
494633
|
init_messages3();
|
|
@@ -494680,7 +494680,7 @@ async function generateSessionName(messages, signal) {
|
|
|
494680
494680
|
}
|
|
494681
494681
|
}
|
|
494682
494682
|
var init_generateSessionName = __esm(() => {
|
|
494683
|
-
|
|
494683
|
+
init_cody();
|
|
494684
494684
|
init_debug();
|
|
494685
494685
|
init_errors();
|
|
494686
494686
|
init_json();
|
|
@@ -495609,7 +495609,7 @@ function getRecentActivitySync() {
|
|
|
495609
495609
|
return cachedActivity;
|
|
495610
495610
|
}
|
|
495611
495611
|
function getLogoDisplayData() {
|
|
495612
|
-
const version7 = process.env.DEMO_VERSION ?? "0.7.
|
|
495612
|
+
const version7 = process.env.DEMO_VERSION ?? "0.7.45";
|
|
495613
495613
|
const serverUrl = getDirectConnectServerUrl();
|
|
495614
495614
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
495615
495615
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -497029,7 +497029,7 @@ function LogoV2() {
|
|
|
497029
497029
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
497030
497030
|
t2 = () => {
|
|
497031
497031
|
const currentConfig = getGlobalConfig();
|
|
497032
|
-
if (currentConfig.lastReleaseNotesSeen === "0.7.
|
|
497032
|
+
if (currentConfig.lastReleaseNotesSeen === "0.7.45") {
|
|
497033
497033
|
return;
|
|
497034
497034
|
}
|
|
497035
497035
|
saveGlobalConfig(_temp329);
|
|
@@ -497705,12 +497705,12 @@ function LogoV2() {
|
|
|
497705
497705
|
return t41;
|
|
497706
497706
|
}
|
|
497707
497707
|
function _temp329(current) {
|
|
497708
|
-
if (current.lastReleaseNotesSeen === "0.7.
|
|
497708
|
+
if (current.lastReleaseNotesSeen === "0.7.45") {
|
|
497709
497709
|
return current;
|
|
497710
497710
|
}
|
|
497711
497711
|
return {
|
|
497712
497712
|
...current,
|
|
497713
|
-
lastReleaseNotesSeen: "0.7.
|
|
497713
|
+
lastReleaseNotesSeen: "0.7.45"
|
|
497714
497714
|
};
|
|
497715
497715
|
}
|
|
497716
497716
|
function _temp245(s_0) {
|
|
@@ -521552,7 +521552,7 @@ var AGENT_CREATION_SYSTEM_PROMPT, AGENT_MEMORY_INSTRUCTIONS = `
|
|
|
521552
521552
|
`, AINATIVE_FALLBACK_MODELS;
|
|
521553
521553
|
var init_generateAgent = __esm(() => {
|
|
521554
521554
|
init_context2();
|
|
521555
|
-
|
|
521555
|
+
init_cody();
|
|
521556
521556
|
init_Tool();
|
|
521557
521557
|
init_constants3();
|
|
521558
521558
|
init_api3();
|
|
@@ -524065,7 +524065,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
524065
524065
|
smapsRollup,
|
|
524066
524066
|
platform: process.platform,
|
|
524067
524067
|
nodeVersion: process.version,
|
|
524068
|
-
ccVersion: "0.7.
|
|
524068
|
+
ccVersion: "0.7.45"
|
|
524069
524069
|
};
|
|
524070
524070
|
}
|
|
524071
524071
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -524593,7 +524593,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
524593
524593
|
var call56 = async () => {
|
|
524594
524594
|
return {
|
|
524595
524595
|
type: "text",
|
|
524596
|
-
value: `${"0.7.
|
|
524596
|
+
value: `${"0.7.45"} (built ${"1779076880"})`
|
|
524597
524597
|
};
|
|
524598
524598
|
}, version7, version_default;
|
|
524599
524599
|
var init_version = __esm(() => {
|
|
@@ -533541,7 +533541,7 @@ function generateHtmlReport(data, insights) {
|
|
|
533541
533541
|
</html>`;
|
|
533542
533542
|
}
|
|
533543
533543
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
533544
|
-
const version8 = typeof MACRO !== "undefined" ? "0.7.
|
|
533544
|
+
const version8 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
|
|
533545
533545
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
533546
533546
|
const facets_summary = {
|
|
533547
533547
|
total: facets.size,
|
|
@@ -533812,7 +533812,7 @@ TRANSCRIPT CHUNK:
|
|
|
533812
533812
|
`, INSIGHT_SECTIONS, SATISFACTION_ORDER, OUTCOME_ORDER, usageReport, insights_default;
|
|
533813
533813
|
var init_insights = __esm(() => {
|
|
533814
533814
|
init_libesm();
|
|
533815
|
-
|
|
533815
|
+
init_cody();
|
|
533816
533816
|
init_constants3();
|
|
533817
533817
|
init_envUtils();
|
|
533818
533818
|
init_errors();
|
|
@@ -537488,7 +537488,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
537488
537488
|
init_settings2();
|
|
537489
537489
|
init_slowOperations();
|
|
537490
537490
|
init_uuid();
|
|
537491
|
-
VERSION5 = typeof MACRO !== "undefined" ? "0.7.
|
|
537491
|
+
VERSION5 = typeof MACRO !== "undefined" ? "0.7.45" : "unknown";
|
|
537492
537492
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
537493
537493
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
537494
537494
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -538693,7 +538693,7 @@ var init_filesystem = __esm(() => {
|
|
|
538693
538693
|
});
|
|
538694
538694
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
538695
538695
|
const nonce = randomBytes19(16).toString("hex");
|
|
538696
|
-
return join132(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
538696
|
+
return join132(getClaudeTempDir(), "bundled-skills", "0.7.45", nonce);
|
|
538697
538697
|
});
|
|
538698
538698
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
538699
538699
|
});
|
|
@@ -539583,7 +539583,7 @@ Your response must be a JSON object matching one of the following schemas:
|
|
|
539583
539583
|
}
|
|
539584
539584
|
}
|
|
539585
539585
|
var init_execPromptHook = __esm(() => {
|
|
539586
|
-
|
|
539586
|
+
init_cody();
|
|
539587
539587
|
init_attachments2();
|
|
539588
539588
|
init_combinedAbortSignal();
|
|
539589
539589
|
init_debug();
|
|
@@ -544665,7 +544665,7 @@ function computeFingerprint(messageText, version8) {
|
|
|
544665
544665
|
}
|
|
544666
544666
|
function computeFingerprintFromMessages(messages) {
|
|
544667
544667
|
const firstMessageText = extractFirstMessageText(messages);
|
|
544668
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
544668
|
+
return computeFingerprint(firstMessageText, "0.7.45");
|
|
544669
544669
|
}
|
|
544670
544670
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
544671
544671
|
var init_fingerprint = () => {};
|
|
@@ -544772,7 +544772,7 @@ function insertBlockAfterToolResults(content, block) {
|
|
|
544772
544772
|
}
|
|
544773
544773
|
}
|
|
544774
544774
|
|
|
544775
|
-
// src/services/api/
|
|
544775
|
+
// src/services/api/cody.ts
|
|
544776
544776
|
import { randomUUID as randomUUID32 } from "crypto";
|
|
544777
544777
|
function getExtraBodyParams(betaHeaders) {
|
|
544778
544778
|
const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
|
|
@@ -546712,7 +546712,7 @@ function getMaxOutputTokensForModel(model) {
|
|
|
546712
546712
|
return result.effective;
|
|
546713
546713
|
}
|
|
546714
546714
|
var MAX_NON_STREAMING_TOKENS = 64000;
|
|
546715
|
-
var
|
|
546715
|
+
var init_cody = __esm(() => {
|
|
546716
546716
|
init_providers();
|
|
546717
546717
|
init_routing();
|
|
546718
546718
|
init_system();
|
|
@@ -546815,7 +546815,7 @@ async function sideQuery(opts) {
|
|
|
546815
546815
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
546816
546816
|
}
|
|
546817
546817
|
const messageText = extractFirstUserMessageText(messages);
|
|
546818
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
546818
|
+
const fingerprint = computeFingerprint(messageText, "0.7.45");
|
|
546819
546819
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
546820
546820
|
const systemBlocks = [
|
|
546821
546821
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -546934,7 +546934,7 @@ var init_sideQuery = __esm(() => {
|
|
|
546934
546934
|
init_betas();
|
|
546935
546935
|
init_system();
|
|
546936
546936
|
init_analytics();
|
|
546937
|
-
|
|
546937
|
+
init_cody();
|
|
546938
546938
|
init_client5();
|
|
546939
546939
|
init_betas2();
|
|
546940
546940
|
init_fingerprint();
|
|
@@ -551397,7 +551397,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
551397
551397
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
551398
551398
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
551399
551399
|
betas: getSdkBetas(),
|
|
551400
|
-
claude_code_version: "0.7.
|
|
551400
|
+
claude_code_version: "0.7.45",
|
|
551401
551401
|
output_style: outputStyle2,
|
|
551402
551402
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
551403
551403
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -563706,7 +563706,7 @@ function looksLikeISO8601(input) {
|
|
|
563706
563706
|
return /^\d{4}-\d{2}-\d{2}(T|$)/.test(input.trim());
|
|
563707
563707
|
}
|
|
563708
563708
|
var init_dateTimeParser = __esm(() => {
|
|
563709
|
-
|
|
563709
|
+
init_cody();
|
|
563710
563710
|
init_log3();
|
|
563711
563711
|
init_messages3();
|
|
563712
563712
|
});
|
|
@@ -565949,7 +565949,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
565949
565949
|
function getSemverPart(version8) {
|
|
565950
565950
|
return `${import_semver13.major(version8, { loose: true })}.${import_semver13.minor(version8, { loose: true })}.${import_semver13.patch(version8, { loose: true })}`;
|
|
565951
565951
|
}
|
|
565952
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
565952
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.45") {
|
|
565953
565953
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react226.useState(() => getSemverPart(initialVersion));
|
|
565954
565954
|
if (!updatedVersion) {
|
|
565955
565955
|
return null;
|
|
@@ -565989,7 +565989,7 @@ function AutoUpdater({
|
|
|
565989
565989
|
return;
|
|
565990
565990
|
}
|
|
565991
565991
|
if (false) {}
|
|
565992
|
-
const currentVersion = "0.7.
|
|
565992
|
+
const currentVersion = "0.7.45";
|
|
565993
565993
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
565994
565994
|
let latestVersion = await getLatestVersion(channel);
|
|
565995
565995
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -566202,12 +566202,12 @@ function NativeAutoUpdater({
|
|
|
566202
566202
|
logEvent("tengu_native_auto_updater_start", {});
|
|
566203
566203
|
try {
|
|
566204
566204
|
const maxVersion = await getMaxVersion();
|
|
566205
|
-
if (maxVersion && gt("0.7.
|
|
566205
|
+
if (maxVersion && gt("0.7.45", maxVersion)) {
|
|
566206
566206
|
const msg = await getMaxVersionMessage();
|
|
566207
566207
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
566208
566208
|
}
|
|
566209
566209
|
const result = await installLatest(channel);
|
|
566210
|
-
const currentVersion = "0.7.
|
|
566210
|
+
const currentVersion = "0.7.45";
|
|
566211
566211
|
const latencyMs = Date.now() - startTime;
|
|
566212
566212
|
if (result.lockFailed) {
|
|
566213
566213
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -566344,17 +566344,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
566344
566344
|
const maxVersion = await getMaxVersion();
|
|
566345
566345
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
566346
566346
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
566347
|
-
if (gte("0.7.
|
|
566348
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
566347
|
+
if (gte("0.7.45", maxVersion)) {
|
|
566348
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.45"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
566349
566349
|
setUpdateAvailable(false);
|
|
566350
566350
|
return;
|
|
566351
566351
|
}
|
|
566352
566352
|
latest = maxVersion;
|
|
566353
566353
|
}
|
|
566354
|
-
const hasUpdate = latest && !gte("0.7.
|
|
566354
|
+
const hasUpdate = latest && !gte("0.7.45", latest) && !shouldSkipVersion(latest);
|
|
566355
566355
|
setUpdateAvailable(!!hasUpdate);
|
|
566356
566356
|
if (hasUpdate) {
|
|
566357
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
566357
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.45"} -> ${latest}`);
|
|
566358
566358
|
}
|
|
566359
566359
|
};
|
|
566360
566360
|
$3[0] = t1;
|
|
@@ -566388,7 +566388,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
566388
566388
|
wrap: "truncate",
|
|
566389
566389
|
children: [
|
|
566390
566390
|
"currentVersion: ",
|
|
566391
|
-
"0.7.
|
|
566391
|
+
"0.7.45"
|
|
566392
566392
|
]
|
|
566393
566393
|
}, undefined, true, undefined, this);
|
|
566394
566394
|
$3[3] = verbose;
|
|
@@ -574498,7 +574498,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
574498
574498
|
project_dir: getOriginalCwd(),
|
|
574499
574499
|
added_dirs: addedDirs
|
|
574500
574500
|
},
|
|
574501
|
-
version: "0.7.
|
|
574501
|
+
version: "0.7.45",
|
|
574502
574502
|
output_style: {
|
|
574503
574503
|
name: outputStyleName
|
|
574504
574504
|
},
|
|
@@ -580580,7 +580580,7 @@ var init_SkillImprovementSurvey = __esm(() => {
|
|
|
580580
580580
|
|
|
580581
580581
|
// src/utils/hooks/apiQueryHookHelper.ts
|
|
580582
580582
|
var init_apiQueryHookHelper = __esm(() => {
|
|
580583
|
-
|
|
580583
|
+
init_cody();
|
|
580584
580584
|
init_abortController();
|
|
580585
580585
|
init_log3();
|
|
580586
580586
|
init_errors();
|
|
@@ -580661,7 +580661,7 @@ var init_skillImprovement = __esm(() => {
|
|
|
580661
580661
|
init_state();
|
|
580662
580662
|
init_growthbook();
|
|
580663
580663
|
init_analytics();
|
|
580664
|
-
|
|
580664
|
+
init_cody();
|
|
580665
580665
|
init_Tool();
|
|
580666
580666
|
init_abortController();
|
|
580667
580667
|
init_cwd2();
|
|
@@ -581258,7 +581258,7 @@ function useApiKeyVerification() {
|
|
|
581258
581258
|
var import_react270;
|
|
581259
581259
|
var init_useApiKeyVerification = __esm(() => {
|
|
581260
581260
|
init_state();
|
|
581261
|
-
|
|
581261
|
+
init_cody();
|
|
581262
581262
|
init_auth2();
|
|
581263
581263
|
import_react270 = __toESM(require_react(), 1);
|
|
581264
581264
|
});
|
|
@@ -585886,7 +585886,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
585886
585886
|
} catch {}
|
|
585887
585887
|
const data = {
|
|
585888
585888
|
trigger,
|
|
585889
|
-
version: "0.7.
|
|
585889
|
+
version: "0.7.45",
|
|
585890
585890
|
platform: process.platform,
|
|
585891
585891
|
transcript,
|
|
585892
585892
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -587096,7 +587096,7 @@ var init_awaySummary = __esm(() => {
|
|
|
587096
587096
|
init_debug();
|
|
587097
587097
|
init_messages3();
|
|
587098
587098
|
init_model();
|
|
587099
|
-
|
|
587099
|
+
init_cody();
|
|
587100
587100
|
init_sessionMemoryUtils();
|
|
587101
587101
|
});
|
|
587102
587102
|
|
|
@@ -597903,7 +597903,7 @@ function WelcomeV2() {
|
|
|
597903
597903
|
dimColor: true,
|
|
597904
597904
|
children: [
|
|
597905
597905
|
"v",
|
|
597906
|
-
"0.7.
|
|
597906
|
+
"0.7.45",
|
|
597907
597907
|
" "
|
|
597908
597908
|
]
|
|
597909
597909
|
}, undefined, true, undefined, this)
|
|
@@ -599204,7 +599204,7 @@ function completeOnboarding() {
|
|
|
599204
599204
|
saveGlobalConfig((current) => ({
|
|
599205
599205
|
...current,
|
|
599206
599206
|
hasCompletedOnboarding: true,
|
|
599207
|
-
lastOnboardingVersion: "0.7.
|
|
599207
|
+
lastOnboardingVersion: "0.7.45"
|
|
599208
599208
|
}));
|
|
599209
599209
|
}
|
|
599210
599210
|
function showDialog(root2, renderer) {
|
|
@@ -603683,7 +603683,7 @@ function appendToLog(path28, message) {
|
|
|
603683
603683
|
cwd: getFsImplementation().cwd(),
|
|
603684
603684
|
userType: "external",
|
|
603685
603685
|
sessionId: getSessionId(),
|
|
603686
|
-
version: "0.7.
|
|
603686
|
+
version: "0.7.45"
|
|
603687
603687
|
};
|
|
603688
603688
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
603689
603689
|
}
|
|
@@ -607250,7 +607250,7 @@ var messageSelector = () => (init_MessageSelector(), __toCommonJS(exports_Messag
|
|
|
607250
607250
|
var init_QueryEngine = __esm(() => {
|
|
607251
607251
|
init_last();
|
|
607252
607252
|
init_state();
|
|
607253
|
-
|
|
607253
|
+
init_cody();
|
|
607254
607254
|
init_logging2();
|
|
607255
607255
|
init_strip_ansi();
|
|
607256
607256
|
init_commands2();
|
|
@@ -607642,8 +607642,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
607642
607642
|
}
|
|
607643
607643
|
async function checkEnvLessBridgeMinVersion() {
|
|
607644
607644
|
const cfg = await getEnvLessBridgeConfig();
|
|
607645
|
-
if (cfg.min_version && lt("0.7.
|
|
607646
|
-
return `Your version of Cody CLI (${"0.7.
|
|
607645
|
+
if (cfg.min_version && lt("0.7.45", cfg.min_version)) {
|
|
607646
|
+
return `Your version of Cody CLI (${"0.7.45"}) is too old for Remote Control.
|
|
607647
607647
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
607648
607648
|
}
|
|
607649
607649
|
return null;
|
|
@@ -608117,7 +608117,7 @@ async function initBridgeCore(params) {
|
|
|
608117
608117
|
const rawApi = createBridgeApiClient({
|
|
608118
608118
|
baseUrl,
|
|
608119
608119
|
getAccessToken,
|
|
608120
|
-
runnerVersion: "0.7.
|
|
608120
|
+
runnerVersion: "0.7.45",
|
|
608121
608121
|
onDebug: logForDebugging,
|
|
608122
608122
|
onAuth401,
|
|
608123
608123
|
getTrustedDeviceToken
|
|
@@ -613754,7 +613754,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
613754
613754
|
setCwd(cwd3);
|
|
613755
613755
|
const server = new Server2({
|
|
613756
613756
|
name: "claude/tengu",
|
|
613757
|
-
version: "0.7.
|
|
613757
|
+
version: "0.7.45"
|
|
613758
613758
|
}, {
|
|
613759
613759
|
capabilities: {
|
|
613760
613760
|
tools: {}
|
|
@@ -615365,7 +615365,7 @@ __export(exports_update, {
|
|
|
615365
615365
|
});
|
|
615366
615366
|
async function update() {
|
|
615367
615367
|
logEvent("tengu_update_check", {});
|
|
615368
|
-
writeToStdout(`Current version: ${"0.7.
|
|
615368
|
+
writeToStdout(`Current version: ${"0.7.45"}
|
|
615369
615369
|
`);
|
|
615370
615370
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
615371
615371
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -615440,8 +615440,8 @@ async function update() {
|
|
|
615440
615440
|
writeToStdout(`Cody CLI is managed by Homebrew.
|
|
615441
615441
|
`);
|
|
615442
615442
|
const latest = await getLatestVersion(channel);
|
|
615443
|
-
if (latest && !gte("0.7.
|
|
615444
|
-
writeToStdout(`Update available: ${"0.7.
|
|
615443
|
+
if (latest && !gte("0.7.45", latest)) {
|
|
615444
|
+
writeToStdout(`Update available: ${"0.7.45"} → ${latest}
|
|
615445
615445
|
`);
|
|
615446
615446
|
writeToStdout(`
|
|
615447
615447
|
`);
|
|
@@ -615457,8 +615457,8 @@ async function update() {
|
|
|
615457
615457
|
writeToStdout(`Cody CLI is managed by winget.
|
|
615458
615458
|
`);
|
|
615459
615459
|
const latest = await getLatestVersion(channel);
|
|
615460
|
-
if (latest && !gte("0.7.
|
|
615461
|
-
writeToStdout(`Update available: ${"0.7.
|
|
615460
|
+
if (latest && !gte("0.7.45", latest)) {
|
|
615461
|
+
writeToStdout(`Update available: ${"0.7.45"} → ${latest}
|
|
615462
615462
|
`);
|
|
615463
615463
|
writeToStdout(`
|
|
615464
615464
|
`);
|
|
@@ -615474,8 +615474,8 @@ async function update() {
|
|
|
615474
615474
|
writeToStdout(`Cody CLI is managed by apk.
|
|
615475
615475
|
`);
|
|
615476
615476
|
const latest = await getLatestVersion(channel);
|
|
615477
|
-
if (latest && !gte("0.7.
|
|
615478
|
-
writeToStdout(`Update available: ${"0.7.
|
|
615477
|
+
if (latest && !gte("0.7.45", latest)) {
|
|
615478
|
+
writeToStdout(`Update available: ${"0.7.45"} → ${latest}
|
|
615479
615479
|
`);
|
|
615480
615480
|
writeToStdout(`
|
|
615481
615481
|
`);
|
|
@@ -615540,11 +615540,11 @@ async function update() {
|
|
|
615540
615540
|
`);
|
|
615541
615541
|
await gracefulShutdown(1);
|
|
615542
615542
|
}
|
|
615543
|
-
if (result.latestVersion === "0.7.
|
|
615544
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
615543
|
+
if (result.latestVersion === "0.7.45") {
|
|
615544
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.45"})`) + `
|
|
615545
615545
|
`);
|
|
615546
615546
|
} else {
|
|
615547
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
615547
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.45"} to version ${result.latestVersion}`) + `
|
|
615548
615548
|
`);
|
|
615549
615549
|
await regenerateCompletionCache();
|
|
615550
615550
|
}
|
|
@@ -615604,12 +615604,12 @@ async function update() {
|
|
|
615604
615604
|
`);
|
|
615605
615605
|
await gracefulShutdown(1);
|
|
615606
615606
|
}
|
|
615607
|
-
if (latestVersion === "0.7.
|
|
615608
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
615607
|
+
if (latestVersion === "0.7.45") {
|
|
615608
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.45"})`) + `
|
|
615609
615609
|
`);
|
|
615610
615610
|
await gracefulShutdown(0);
|
|
615611
615611
|
}
|
|
615612
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
615612
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.45"})
|
|
615613
615613
|
`);
|
|
615614
615614
|
writeToStdout(`Installing update...
|
|
615615
615615
|
`);
|
|
@@ -615654,7 +615654,7 @@ async function update() {
|
|
|
615654
615654
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
615655
615655
|
switch (status2) {
|
|
615656
615656
|
case "success":
|
|
615657
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
615657
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.45"} to version ${latestVersion}`) + `
|
|
615658
615658
|
`);
|
|
615659
615659
|
await regenerateCompletionCache();
|
|
615660
615660
|
break;
|
|
@@ -616899,7 +616899,7 @@ ${customInstructions}` : customInstructions;
|
|
|
616899
616899
|
}
|
|
616900
616900
|
}
|
|
616901
616901
|
logForDiagnosticsNoPII("info", "started", {
|
|
616902
|
-
version: "0.7.
|
|
616902
|
+
version: "0.7.45",
|
|
616903
616903
|
is_native_binary: isInBundledMode()
|
|
616904
616904
|
});
|
|
616905
616905
|
registerCleanup(async () => {
|
|
@@ -617676,7 +617676,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
617676
617676
|
} else {
|
|
617677
617677
|
const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
|
|
617678
617678
|
profileCheckpoint("action_after_hooks");
|
|
617679
|
-
console.log(getWelcomeMessage("0.7.
|
|
617679
|
+
console.log(getWelcomeMessage("0.7.45"));
|
|
617680
617680
|
maybeActivateProactive(options);
|
|
617681
617681
|
maybeActivateBrief(options);
|
|
617682
617682
|
if (false) {}
|
|
@@ -617693,10 +617693,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
617693
617693
|
pendingHookMessages
|
|
617694
617694
|
}, renderAndRun);
|
|
617695
617695
|
}
|
|
617696
|
-
}).version("0.7.
|
|
617696
|
+
}).version("0.7.45 (Cody CLI)", "-v, --version", "Output the version number");
|
|
617697
617697
|
program2.configureOutput({
|
|
617698
617698
|
writeOut: (str2) => {
|
|
617699
|
-
if (str2.includes("0.7.
|
|
617699
|
+
if (str2.includes("0.7.45")) {
|
|
617700
617700
|
process.stdout.write(getCodyLogo() + `
|
|
617701
617701
|
` + str2);
|
|
617702
617702
|
} else {
|
|
@@ -618271,7 +618271,7 @@ async function main2() {
|
|
|
618271
618271
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
618272
618272
|
const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
|
|
618273
618273
|
console.log(getCodyLogo2() + `
|
|
618274
|
-
0.7.
|
|
618274
|
+
0.7.45 (Cody CLI)`);
|
|
618275
618275
|
return;
|
|
618276
618276
|
}
|
|
618277
618277
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainative/cody-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
|
|
6
6
|
"main": "dist/cli.js",
|