@ainative/cody-cli 0.7.7 → 0.7.9
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 +102 -96
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -172976,7 +172976,7 @@ var init_auth2 = __esm(() => {
|
|
|
172976
172976
|
|
|
172977
172977
|
// src/utils/userAgent.ts
|
|
172978
172978
|
function getCodyUserAgent() {
|
|
172979
|
-
return `cody-cli/${"0.7.
|
|
172979
|
+
return `cody-cli/${"0.7.9"}`;
|
|
172980
172980
|
}
|
|
172981
172981
|
|
|
172982
172982
|
// src/utils/workloadContext.ts
|
|
@@ -172998,7 +172998,7 @@ function getUserAgent() {
|
|
|
172998
172998
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
172999
172999
|
const workload = getWorkload();
|
|
173000
173000
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
173001
|
-
return `claude-cli/${"0.7.
|
|
173001
|
+
return `claude-cli/${"0.7.9"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
173002
173002
|
}
|
|
173003
173003
|
function getMCPUserAgent() {
|
|
173004
173004
|
const parts = [];
|
|
@@ -173012,7 +173012,7 @@ function getMCPUserAgent() {
|
|
|
173012
173012
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
173013
173013
|
}
|
|
173014
173014
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
173015
|
-
return `claude-code/${"0.7.
|
|
173015
|
+
return `claude-code/${"0.7.9"}${suffix}`;
|
|
173016
173016
|
}
|
|
173017
173017
|
function getWebFetchUserAgent() {
|
|
173018
173018
|
return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -173150,7 +173150,7 @@ var init_user = __esm(() => {
|
|
|
173150
173150
|
deviceId,
|
|
173151
173151
|
sessionId: getSessionId(),
|
|
173152
173152
|
email: getEmail(),
|
|
173153
|
-
appVersion: "0.7.
|
|
173153
|
+
appVersion: "0.7.9",
|
|
173154
173154
|
platform: getHostPlatformForAnalytics(),
|
|
173155
173155
|
organizationUuid,
|
|
173156
173156
|
accountUuid,
|
|
@@ -180842,7 +180842,7 @@ var init_metadata = __esm(() => {
|
|
|
180842
180842
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
180843
180843
|
WHITESPACE_REGEX = /\s+/;
|
|
180844
180844
|
getVersionBase = memoize_default(() => {
|
|
180845
|
-
const match = "0.7.
|
|
180845
|
+
const match = "0.7.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
180846
180846
|
return match ? match[0] : undefined;
|
|
180847
180847
|
});
|
|
180848
180848
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -180882,9 +180882,9 @@ var init_metadata = __esm(() => {
|
|
|
180882
180882
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
180883
180883
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
180884
180884
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
180885
|
-
version: "0.7.
|
|
180885
|
+
version: "0.7.9",
|
|
180886
180886
|
versionBase: getVersionBase(),
|
|
180887
|
-
buildTime: "
|
|
180887
|
+
buildTime: "1775372423",
|
|
180888
180888
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
180889
180889
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
180890
180890
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -181502,7 +181502,7 @@ function initialize1PEventLogging() {
|
|
|
181502
181502
|
const platform3 = getPlatform();
|
|
181503
181503
|
const attributes = {
|
|
181504
181504
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
|
|
181505
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.
|
|
181505
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.9"
|
|
181506
181506
|
};
|
|
181507
181507
|
if (platform3 === "wsl") {
|
|
181508
181508
|
const wslVersion = getWslVersion();
|
|
@@ -181529,7 +181529,7 @@ function initialize1PEventLogging() {
|
|
|
181529
181529
|
})
|
|
181530
181530
|
]
|
|
181531
181531
|
});
|
|
181532
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.
|
|
181532
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.9");
|
|
181533
181533
|
}
|
|
181534
181534
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
181535
181535
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -183354,7 +183354,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
183354
183354
|
if (!isAttributionHeaderEnabled()) {
|
|
183355
183355
|
return "";
|
|
183356
183356
|
}
|
|
183357
|
-
const version6 = `${"0.7.
|
|
183357
|
+
const version6 = `${"0.7.9"}.${fingerprint}`;
|
|
183358
183358
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
183359
183359
|
const cch = "";
|
|
183360
183360
|
const workload = getWorkload();
|
|
@@ -247429,7 +247429,7 @@ function getTelemetryAttributes() {
|
|
|
247429
247429
|
attributes["session.id"] = sessionId;
|
|
247430
247430
|
}
|
|
247431
247431
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
247432
|
-
attributes["app.version"] = "0.7.
|
|
247432
|
+
attributes["app.version"] = "0.7.9";
|
|
247433
247433
|
}
|
|
247434
247434
|
const oauthAccount = getOauthAccountInfo();
|
|
247435
247435
|
if (oauthAccount) {
|
|
@@ -278606,7 +278606,7 @@ function getInstallationEnv() {
|
|
|
278606
278606
|
return;
|
|
278607
278607
|
}
|
|
278608
278608
|
function getClaudeCodeVersion() {
|
|
278609
|
-
return "0.7.
|
|
278609
|
+
return "0.7.9";
|
|
278610
278610
|
}
|
|
278611
278611
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
278612
278612
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -284140,7 +284140,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
284140
284140
|
const client4 = new Client({
|
|
284141
284141
|
name: "claude-code",
|
|
284142
284142
|
title: "Claude Code",
|
|
284143
|
-
version: "0.7.
|
|
284143
|
+
version: "0.7.9",
|
|
284144
284144
|
description: "Anthropic's agentic coding tool",
|
|
284145
284145
|
websiteUrl: PRODUCT_URL
|
|
284146
284146
|
}, {
|
|
@@ -284494,7 +284494,7 @@ var init_client8 = __esm(() => {
|
|
|
284494
284494
|
const client4 = new Client({
|
|
284495
284495
|
name: "claude-code",
|
|
284496
284496
|
title: "Claude Code",
|
|
284497
|
-
version: "0.7.
|
|
284497
|
+
version: "0.7.9",
|
|
284498
284498
|
description: "Anthropic's agentic coding tool",
|
|
284499
284499
|
websiteUrl: PRODUCT_URL
|
|
284500
284500
|
}, {
|
|
@@ -332626,7 +332626,7 @@ async function initializeBetaTracing(resource) {
|
|
|
332626
332626
|
});
|
|
332627
332627
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332628
332628
|
setLoggerProvider(loggerProvider);
|
|
332629
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332629
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.9");
|
|
332630
332630
|
setEventLogger(eventLogger);
|
|
332631
332631
|
process.on("beforeExit", async () => {
|
|
332632
332632
|
await loggerProvider?.forceFlush();
|
|
@@ -332666,7 +332666,7 @@ async function initializeTelemetry() {
|
|
|
332666
332666
|
const platform5 = getPlatform();
|
|
332667
332667
|
const baseAttributes = {
|
|
332668
332668
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
332669
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.
|
|
332669
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.9"
|
|
332670
332670
|
};
|
|
332671
332671
|
if (platform5 === "wsl") {
|
|
332672
332672
|
const wslVersion = getWslVersion();
|
|
@@ -332711,7 +332711,7 @@ async function initializeTelemetry() {
|
|
|
332711
332711
|
} catch {}
|
|
332712
332712
|
};
|
|
332713
332713
|
registerCleanup(shutdownTelemetry2);
|
|
332714
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
332714
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.9");
|
|
332715
332715
|
}
|
|
332716
332716
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
332717
332717
|
resource,
|
|
@@ -332731,7 +332731,7 @@ async function initializeTelemetry() {
|
|
|
332731
332731
|
});
|
|
332732
332732
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332733
332733
|
setLoggerProvider(loggerProvider);
|
|
332734
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332734
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.9");
|
|
332735
332735
|
setEventLogger(eventLogger);
|
|
332736
332736
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
332737
332737
|
process.on("beforeExit", async () => {
|
|
@@ -332793,7 +332793,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
332793
332793
|
}
|
|
332794
332794
|
};
|
|
332795
332795
|
registerCleanup(shutdownTelemetry);
|
|
332796
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
332796
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.9");
|
|
332797
332797
|
}
|
|
332798
332798
|
async function flushTelemetry() {
|
|
332799
332799
|
const meterProvider = getMeterProvider();
|
|
@@ -333482,9 +333482,9 @@ async function assertMinVersion() {
|
|
|
333482
333482
|
}
|
|
333483
333483
|
try {
|
|
333484
333484
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
333485
|
-
if (versionConfig.minVersion && lt("0.7.
|
|
333485
|
+
if (versionConfig.minVersion && lt("0.7.9", versionConfig.minVersion)) {
|
|
333486
333486
|
console.error(`
|
|
333487
|
-
It looks like your version of Cody CLI (${"0.7.
|
|
333487
|
+
It looks like your version of Cody CLI (${"0.7.9"}) needs an update.
|
|
333488
333488
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
333489
333489
|
|
|
333490
333490
|
To update, please run:
|
|
@@ -333721,7 +333721,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333721
333721
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
333722
333722
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
333723
333723
|
pid: process.pid,
|
|
333724
|
-
currentVersion: "0.7.
|
|
333724
|
+
currentVersion: "0.7.9"
|
|
333725
333725
|
});
|
|
333726
333726
|
return "in_progress";
|
|
333727
333727
|
}
|
|
@@ -333730,7 +333730,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333730
333730
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
333731
333731
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
333732
333732
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
333733
|
-
currentVersion: "0.7.
|
|
333733
|
+
currentVersion: "0.7.9"
|
|
333734
333734
|
});
|
|
333735
333735
|
console.error(`
|
|
333736
333736
|
Error: Windows NPM detected in WSL
|
|
@@ -334265,7 +334265,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
334265
334265
|
}
|
|
334266
334266
|
async function getDoctorDiagnostic() {
|
|
334267
334267
|
const installationType = await getCurrentInstallationType();
|
|
334268
|
-
const version6 = typeof MACRO !== "undefined" ? "0.7.
|
|
334268
|
+
const version6 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
|
|
334269
334269
|
const installationPath = await getInstallationPath();
|
|
334270
334270
|
const invokedBinary = getInvokedBinary();
|
|
334271
334271
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -335100,8 +335100,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335100
335100
|
const maxVersion = await getMaxVersion();
|
|
335101
335101
|
if (maxVersion && gt(version6, maxVersion)) {
|
|
335102
335102
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
|
|
335103
|
-
if (gte("0.7.
|
|
335104
|
-
logForDebugging(`Native installer: current version ${"0.7.
|
|
335103
|
+
if (gte("0.7.9", maxVersion)) {
|
|
335104
|
+
logForDebugging(`Native installer: current version ${"0.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
335105
335105
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
335106
335106
|
latency_ms: Date.now() - startTime,
|
|
335107
335107
|
max_version: maxVersion,
|
|
@@ -335112,7 +335112,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335112
335112
|
version6 = maxVersion;
|
|
335113
335113
|
}
|
|
335114
335114
|
}
|
|
335115
|
-
if (!forceReinstall && version6 === "0.7.
|
|
335115
|
+
if (!forceReinstall && version6 === "0.7.9" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
|
|
335116
335116
|
logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
|
|
335117
335117
|
logEvent("tengu_native_update_complete", {
|
|
335118
335118
|
latency_ms: Date.now() - startTime,
|
|
@@ -336117,9 +336117,10 @@ function buildAccountProperties() {
|
|
|
336117
336117
|
});
|
|
336118
336118
|
}
|
|
336119
336119
|
if (accountInfo.tokenSource) {
|
|
336120
|
+
const displaySource = isAINativeProvider() && accountInfo.tokenSource === "claude.ai" ? "AINative OAuth" : accountInfo.tokenSource;
|
|
336120
336121
|
properties.push({
|
|
336121
336122
|
label: "Auth token",
|
|
336122
|
-
value:
|
|
336123
|
+
value: displaySource
|
|
336123
336124
|
});
|
|
336124
336125
|
}
|
|
336125
336126
|
if (accountInfo.apiKeySource) {
|
|
@@ -336160,7 +336161,7 @@ function buildAPIProviderProperties() {
|
|
|
336160
336161
|
const anthropicBaseUrl = process.env.ANTHROPIC_BASE_URL;
|
|
336161
336162
|
if (anthropicBaseUrl) {
|
|
336162
336163
|
properties.push({
|
|
336163
|
-
label: "
|
|
336164
|
+
label: "API base URL",
|
|
336164
336165
|
value: anthropicBaseUrl
|
|
336165
336166
|
});
|
|
336166
336167
|
}
|
|
@@ -418701,7 +418702,7 @@ function getAnthropicEnvMetadata() {
|
|
|
418701
418702
|
function getBuildAgeMinutes() {
|
|
418702
418703
|
if (false)
|
|
418703
418704
|
;
|
|
418704
|
-
const buildTime = new Date("
|
|
418705
|
+
const buildTime = new Date("1775372423").getTime();
|
|
418705
418706
|
if (isNaN(buildTime))
|
|
418706
418707
|
return;
|
|
418707
418708
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -437516,7 +437517,7 @@ function getSteps() {
|
|
|
437516
437517
|
},
|
|
437517
437518
|
{
|
|
437518
437519
|
key: "claudemd",
|
|
437519
|
-
text: "Run /init to create a CLAUDE.md file with instructions for
|
|
437520
|
+
text: "Run /init to create a CLAUDE.md file with project instructions for Cody",
|
|
437520
437521
|
isComplete: hasClaudeMd,
|
|
437521
437522
|
isCompletable: true,
|
|
437522
437523
|
isEnabled: !isWorkspaceDirEmpty
|
|
@@ -442213,7 +442214,7 @@ function Feedback({
|
|
|
442213
442214
|
platform: env4.platform,
|
|
442214
442215
|
gitRepo: envInfo.isGit,
|
|
442215
442216
|
terminal: env4.terminal,
|
|
442216
|
-
version: "0.7.
|
|
442217
|
+
version: "0.7.9",
|
|
442217
442218
|
transcript: normalizeMessagesForAPI(messages),
|
|
442218
442219
|
errors: sanitizedErrors,
|
|
442219
442220
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -442405,7 +442406,7 @@ function Feedback({
|
|
|
442405
442406
|
", ",
|
|
442406
442407
|
env4.terminal,
|
|
442407
442408
|
", v",
|
|
442408
|
-
"0.7.
|
|
442409
|
+
"0.7.9"
|
|
442409
442410
|
]
|
|
442410
442411
|
}, undefined, true, undefined, this)
|
|
442411
442412
|
]
|
|
@@ -442511,7 +442512,7 @@ ${sanitizedDescription}
|
|
|
442511
442512
|
` + `**Environment Info**
|
|
442512
442513
|
` + `- Platform: ${env4.platform}
|
|
442513
442514
|
` + `- Terminal: ${env4.terminal}
|
|
442514
|
-
` + `- Version: ${"0.7.
|
|
442515
|
+
` + `- Version: ${"0.7.9"}
|
|
442515
442516
|
` + `- Feedback ID: ${feedbackId}
|
|
442516
442517
|
` + `
|
|
442517
442518
|
**Errors**
|
|
@@ -445611,7 +445612,7 @@ function buildPrimarySection() {
|
|
|
445611
445612
|
}, undefined, false, undefined, this);
|
|
445612
445613
|
return [{
|
|
445613
445614
|
label: "Version",
|
|
445614
|
-
value: "0.7.
|
|
445615
|
+
value: "0.7.9"
|
|
445615
445616
|
}, {
|
|
445616
445617
|
label: "Session name",
|
|
445617
445618
|
value: nameValue
|
|
@@ -449362,7 +449363,7 @@ function Config({
|
|
|
449362
449363
|
}
|
|
449363
449364
|
}, undefined, false, undefined, this)
|
|
449364
449365
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
449365
|
-
currentVersion: "0.7.
|
|
449366
|
+
currentVersion: "0.7.9",
|
|
449366
449367
|
onChoice: (choice) => {
|
|
449367
449368
|
setShowSubmenu(null);
|
|
449368
449369
|
setTabsHidden(false);
|
|
@@ -449374,7 +449375,7 @@ function Config({
|
|
|
449374
449375
|
autoUpdatesChannel: "stable"
|
|
449375
449376
|
};
|
|
449376
449377
|
if (choice === "stay") {
|
|
449377
|
-
newSettings.minimumVersion = "0.7.
|
|
449378
|
+
newSettings.minimumVersion = "0.7.9";
|
|
449378
449379
|
}
|
|
449379
449380
|
updateSettingsForSource("userSettings", newSettings);
|
|
449380
449381
|
setSettingsData((prev_27) => ({
|
|
@@ -457375,7 +457376,7 @@ function HelpV2(t0) {
|
|
|
457375
457376
|
let t6;
|
|
457376
457377
|
if ($3[31] !== tabs) {
|
|
457377
457378
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
457378
|
-
title: `Cody CLI v${"0.7.
|
|
457379
|
+
title: `Cody CLI v${"0.7.9"}`,
|
|
457379
457380
|
color: "professionalBlue",
|
|
457380
457381
|
defaultTab: "general",
|
|
457381
457382
|
children: tabs
|
|
@@ -481565,7 +481566,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
481565
481566
|
return [];
|
|
481566
481567
|
}
|
|
481567
481568
|
}
|
|
481568
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
481569
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.9") {
|
|
481569
481570
|
if (false) {}
|
|
481570
481571
|
const cachedChangelog = await getStoredChangelog();
|
|
481571
481572
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -481578,7 +481579,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.7") {
|
|
|
481578
481579
|
releaseNotes
|
|
481579
481580
|
};
|
|
481580
481581
|
}
|
|
481581
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.
|
|
481582
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.9") {
|
|
481582
481583
|
if (false) {}
|
|
481583
481584
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
481584
481585
|
return {
|
|
@@ -482734,11 +482735,11 @@ function getRecentActivitySync() {
|
|
|
482734
482735
|
return cachedActivity;
|
|
482735
482736
|
}
|
|
482736
482737
|
function getLogoDisplayData() {
|
|
482737
|
-
const version6 = process.env.DEMO_VERSION ?? "0.7.
|
|
482738
|
+
const version6 = process.env.DEMO_VERSION ?? "0.7.9";
|
|
482738
482739
|
const serverUrl = getDirectConnectServerUrl();
|
|
482739
482740
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
482740
482741
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
482741
|
-
const billingType = isClaudeAISubscriber() ? getSubscriptionName() : "API Usage Billing";
|
|
482742
|
+
const billingType = isAINativeProvider() ? getGlobalConfig().ainativePlanCache || "AINative Pro" : isClaudeAISubscriber() ? getSubscriptionName() : "API Usage Billing";
|
|
482742
482743
|
const agentName = getInitialSettings().agent;
|
|
482743
482744
|
return {
|
|
482744
482745
|
version: version6,
|
|
@@ -482791,6 +482792,8 @@ var init_logoV2Utils = __esm(() => {
|
|
|
482791
482792
|
init_state();
|
|
482792
482793
|
init_stringWidth();
|
|
482793
482794
|
init_auth2();
|
|
482795
|
+
init_config2();
|
|
482796
|
+
init_model();
|
|
482794
482797
|
init_cwd2();
|
|
482795
482798
|
init_file();
|
|
482796
482799
|
init_format();
|
|
@@ -484242,7 +484245,7 @@ function LogoV2() {
|
|
|
484242
484245
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
484243
484246
|
t2 = () => {
|
|
484244
484247
|
const currentConfig = getGlobalConfig();
|
|
484245
|
-
if (currentConfig.lastReleaseNotesSeen === "0.7.
|
|
484248
|
+
if (currentConfig.lastReleaseNotesSeen === "0.7.9") {
|
|
484246
484249
|
return;
|
|
484247
484250
|
}
|
|
484248
484251
|
saveGlobalConfig(_temp329);
|
|
@@ -484918,12 +484921,12 @@ function LogoV2() {
|
|
|
484918
484921
|
return t41;
|
|
484919
484922
|
}
|
|
484920
484923
|
function _temp329(current) {
|
|
484921
|
-
if (current.lastReleaseNotesSeen === "0.7.
|
|
484924
|
+
if (current.lastReleaseNotesSeen === "0.7.9") {
|
|
484922
484925
|
return current;
|
|
484923
484926
|
}
|
|
484924
484927
|
return {
|
|
484925
484928
|
...current,
|
|
484926
|
-
lastReleaseNotesSeen: "0.7.
|
|
484929
|
+
lastReleaseNotesSeen: "0.7.9"
|
|
484927
484930
|
};
|
|
484928
484931
|
}
|
|
484929
484932
|
function _temp245(s_0) {
|
|
@@ -492166,7 +492169,7 @@ var init_status3 = __esm(() => {
|
|
|
492166
492169
|
status = {
|
|
492167
492170
|
type: "local-jsx",
|
|
492168
492171
|
name: "status",
|
|
492169
|
-
description: "Show
|
|
492172
|
+
description: "Show Cody CLI status including version, model, account, API connectivity, and tool statuses",
|
|
492170
492173
|
immediate: true,
|
|
492171
492174
|
load: () => Promise.resolve().then(() => (init_status2(), exports_status))
|
|
492172
492175
|
};
|
|
@@ -511261,7 +511264,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
511261
511264
|
smapsRollup,
|
|
511262
511265
|
platform: process.platform,
|
|
511263
511266
|
nodeVersion: process.version,
|
|
511264
|
-
ccVersion: "0.7.
|
|
511267
|
+
ccVersion: "0.7.9"
|
|
511265
511268
|
};
|
|
511266
511269
|
}
|
|
511267
511270
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -511789,7 +511792,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
511789
511792
|
var call56 = async () => {
|
|
511790
511793
|
return {
|
|
511791
511794
|
type: "text",
|
|
511792
|
-
value: `${"0.7.
|
|
511795
|
+
value: `${"0.7.9"} (built ${"1775372423"})`
|
|
511793
511796
|
};
|
|
511794
511797
|
}, version6, version_default;
|
|
511795
511798
|
var init_version = __esm(() => {
|
|
@@ -520736,7 +520739,7 @@ function generateHtmlReport(data, insights) {
|
|
|
520736
520739
|
</html>`;
|
|
520737
520740
|
}
|
|
520738
520741
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
520739
|
-
const version7 = typeof MACRO !== "undefined" ? "0.7.
|
|
520742
|
+
const version7 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
|
|
520740
520743
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
520741
520744
|
const facets_summary = {
|
|
520742
520745
|
total: facets.size,
|
|
@@ -524682,7 +524685,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
524682
524685
|
init_settings2();
|
|
524683
524686
|
init_slowOperations();
|
|
524684
524687
|
init_uuid();
|
|
524685
|
-
VERSION5 = typeof MACRO !== "undefined" ? "0.7.
|
|
524688
|
+
VERSION5 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
|
|
524686
524689
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
524687
524690
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
524688
524691
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -525887,7 +525890,7 @@ var init_filesystem = __esm(() => {
|
|
|
525887
525890
|
});
|
|
525888
525891
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
525889
525892
|
const nonce = randomBytes19(16).toString("hex");
|
|
525890
|
-
return join132(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
525893
|
+
return join132(getClaudeTempDir(), "bundled-skills", "0.7.9", nonce);
|
|
525891
525894
|
});
|
|
525892
525895
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
525893
525896
|
});
|
|
@@ -531859,7 +531862,7 @@ function computeFingerprint(messageText, version7) {
|
|
|
531859
531862
|
}
|
|
531860
531863
|
function computeFingerprintFromMessages(messages) {
|
|
531861
531864
|
const firstMessageText = extractFirstMessageText(messages);
|
|
531862
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
531865
|
+
return computeFingerprint(firstMessageText, "0.7.9");
|
|
531863
531866
|
}
|
|
531864
531867
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
531865
531868
|
var init_fingerprint = () => {};
|
|
@@ -533773,7 +533776,7 @@ async function sideQuery(opts) {
|
|
|
533773
533776
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
533774
533777
|
}
|
|
533775
533778
|
const messageText = extractFirstUserMessageText(messages);
|
|
533776
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
533779
|
+
const fingerprint = computeFingerprint(messageText, "0.7.9");
|
|
533777
533780
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
533778
533781
|
const systemBlocks = [
|
|
533779
533782
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -538297,7 +538300,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538297
538300
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
538298
538301
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538299
538302
|
betas: getSdkBetas(),
|
|
538300
|
-
claude_code_version: "0.7.
|
|
538303
|
+
claude_code_version: "0.7.9",
|
|
538301
538304
|
output_style: outputStyle2,
|
|
538302
538305
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538303
538306
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -552849,7 +552852,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
552849
552852
|
function getSemverPart(version7) {
|
|
552850
552853
|
return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
|
|
552851
552854
|
}
|
|
552852
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
552855
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.9") {
|
|
552853
552856
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
552854
552857
|
if (!updatedVersion) {
|
|
552855
552858
|
return null;
|
|
@@ -552889,7 +552892,7 @@ function AutoUpdater({
|
|
|
552889
552892
|
return;
|
|
552890
552893
|
}
|
|
552891
552894
|
if (false) {}
|
|
552892
|
-
const currentVersion = "0.7.
|
|
552895
|
+
const currentVersion = "0.7.9";
|
|
552893
552896
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
552894
552897
|
let latestVersion = await getLatestVersion(channel);
|
|
552895
552898
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -553102,12 +553105,12 @@ function NativeAutoUpdater({
|
|
|
553102
553105
|
logEvent("tengu_native_auto_updater_start", {});
|
|
553103
553106
|
try {
|
|
553104
553107
|
const maxVersion = await getMaxVersion();
|
|
553105
|
-
if (maxVersion && gt("0.7.
|
|
553108
|
+
if (maxVersion && gt("0.7.9", maxVersion)) {
|
|
553106
553109
|
const msg = await getMaxVersionMessage();
|
|
553107
553110
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
553108
553111
|
}
|
|
553109
553112
|
const result = await installLatest(channel);
|
|
553110
|
-
const currentVersion = "0.7.
|
|
553113
|
+
const currentVersion = "0.7.9";
|
|
553111
553114
|
const latencyMs = Date.now() - startTime;
|
|
553112
553115
|
if (result.lockFailed) {
|
|
553113
553116
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -553244,17 +553247,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553244
553247
|
const maxVersion = await getMaxVersion();
|
|
553245
553248
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
553246
553249
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
553247
|
-
if (gte("0.7.
|
|
553248
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
553250
|
+
if (gte("0.7.9", maxVersion)) {
|
|
553251
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.9"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
553249
553252
|
setUpdateAvailable(false);
|
|
553250
553253
|
return;
|
|
553251
553254
|
}
|
|
553252
553255
|
latest = maxVersion;
|
|
553253
553256
|
}
|
|
553254
|
-
const hasUpdate = latest && !gte("0.7.
|
|
553257
|
+
const hasUpdate = latest && !gte("0.7.9", latest) && !shouldSkipVersion(latest);
|
|
553255
553258
|
setUpdateAvailable(!!hasUpdate);
|
|
553256
553259
|
if (hasUpdate) {
|
|
553257
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
553260
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.9"} -> ${latest}`);
|
|
553258
553261
|
}
|
|
553259
553262
|
};
|
|
553260
553263
|
$3[0] = t1;
|
|
@@ -553288,7 +553291,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553288
553291
|
wrap: "truncate",
|
|
553289
553292
|
children: [
|
|
553290
553293
|
"currentVersion: ",
|
|
553291
|
-
"0.7.
|
|
553294
|
+
"0.7.9"
|
|
553292
553295
|
]
|
|
553293
553296
|
}, undefined, true, undefined, this);
|
|
553294
553297
|
$3[3] = verbose;
|
|
@@ -561398,7 +561401,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
561398
561401
|
project_dir: getOriginalCwd(),
|
|
561399
561402
|
added_dirs: addedDirs
|
|
561400
561403
|
},
|
|
561401
|
-
version: "0.7.
|
|
561404
|
+
version: "0.7.9",
|
|
561402
561405
|
output_style: {
|
|
561403
561406
|
name: outputStyleName
|
|
561404
561407
|
},
|
|
@@ -572772,7 +572775,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
572772
572775
|
} catch {}
|
|
572773
572776
|
const data = {
|
|
572774
572777
|
trigger,
|
|
572775
|
-
version: "0.7.
|
|
572778
|
+
version: "0.7.9",
|
|
572776
572779
|
platform: process.platform,
|
|
572777
572780
|
transcript,
|
|
572778
572781
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -583712,8 +583715,9 @@ async function fetchBootstrapData() {
|
|
|
583712
583715
|
return;
|
|
583713
583716
|
const clientData = response.client_data ?? null;
|
|
583714
583717
|
const additionalModelOptions = response.additional_model_options ?? [];
|
|
583718
|
+
const plan2 = response.plan ?? null;
|
|
583715
583719
|
const config4 = getGlobalConfig();
|
|
583716
|
-
if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions)) {
|
|
583720
|
+
if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions) && isEqual_default(config4.ainativePlanCache, plan2)) {
|
|
583717
583721
|
logForDebugging("[Bootstrap] Cache unchanged, skipping write");
|
|
583718
583722
|
return;
|
|
583719
583723
|
}
|
|
@@ -583721,7 +583725,8 @@ async function fetchBootstrapData() {
|
|
|
583721
583725
|
saveGlobalConfig((current) => ({
|
|
583722
583726
|
...current,
|
|
583723
583727
|
clientDataCache: clientData,
|
|
583724
|
-
additionalModelOptionsCache: additionalModelOptions
|
|
583728
|
+
additionalModelOptionsCache: additionalModelOptions,
|
|
583729
|
+
ainativePlanCache: plan2
|
|
583725
583730
|
}));
|
|
583726
583731
|
} catch (error43) {
|
|
583727
583732
|
logError2(error43);
|
|
@@ -583741,6 +583746,7 @@ var init_bootstrap = __esm(() => {
|
|
|
583741
583746
|
init_providers();
|
|
583742
583747
|
bootstrapResponseSchema = lazySchema(() => exports_external2.object({
|
|
583743
583748
|
client_data: exports_external2.record(exports_external2.unknown()).nullish(),
|
|
583749
|
+
plan: exports_external2.string().nullish(),
|
|
583744
583750
|
additional_model_options: exports_external2.array(exports_external2.object({
|
|
583745
583751
|
model: exports_external2.string(),
|
|
583746
583752
|
name: exports_external2.string(),
|
|
@@ -584736,7 +584742,7 @@ function WelcomeV2() {
|
|
|
584736
584742
|
dimColor: true,
|
|
584737
584743
|
children: [
|
|
584738
584744
|
"v",
|
|
584739
|
-
"0.7.
|
|
584745
|
+
"0.7.9",
|
|
584740
584746
|
" "
|
|
584741
584747
|
]
|
|
584742
584748
|
}, undefined, true, undefined, this)
|
|
@@ -584936,7 +584942,7 @@ function WelcomeV2() {
|
|
|
584936
584942
|
dimColor: true,
|
|
584937
584943
|
children: [
|
|
584938
584944
|
"v",
|
|
584939
|
-
"0.7.
|
|
584945
|
+
"0.7.9",
|
|
584940
584946
|
" "
|
|
584941
584947
|
]
|
|
584942
584948
|
}, undefined, true, undefined, this)
|
|
@@ -585162,7 +585168,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585162
585168
|
dimColor: true,
|
|
585163
585169
|
children: [
|
|
585164
585170
|
"v",
|
|
585165
|
-
"0.7.
|
|
585171
|
+
"0.7.9",
|
|
585166
585172
|
" "
|
|
585167
585173
|
]
|
|
585168
585174
|
}, undefined, true, undefined, this);
|
|
@@ -585416,7 +585422,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585416
585422
|
dimColor: true,
|
|
585417
585423
|
children: [
|
|
585418
585424
|
"v",
|
|
585419
|
-
"0.7.
|
|
585425
|
+
"0.7.9",
|
|
585420
585426
|
" "
|
|
585421
585427
|
]
|
|
585422
585428
|
}, undefined, true, undefined, this);
|
|
@@ -586920,7 +586926,7 @@ function completeOnboarding() {
|
|
|
586920
586926
|
saveGlobalConfig((current) => ({
|
|
586921
586927
|
...current,
|
|
586922
586928
|
hasCompletedOnboarding: true,
|
|
586923
|
-
lastOnboardingVersion: "0.7.
|
|
586929
|
+
lastOnboardingVersion: "0.7.9"
|
|
586924
586930
|
}));
|
|
586925
586931
|
}
|
|
586926
586932
|
function showDialog(root2, renderer) {
|
|
@@ -591398,7 +591404,7 @@ function appendToLog(path28, message) {
|
|
|
591398
591404
|
cwd: getFsImplementation().cwd(),
|
|
591399
591405
|
userType: "external",
|
|
591400
591406
|
sessionId: getSessionId(),
|
|
591401
|
-
version: "0.7.
|
|
591407
|
+
version: "0.7.9"
|
|
591402
591408
|
};
|
|
591403
591409
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
591404
591410
|
}
|
|
@@ -595357,8 +595363,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
595357
595363
|
}
|
|
595358
595364
|
async function checkEnvLessBridgeMinVersion() {
|
|
595359
595365
|
const cfg = await getEnvLessBridgeConfig();
|
|
595360
|
-
if (cfg.min_version && lt("0.7.
|
|
595361
|
-
return `Your version of Cody CLI (${"0.7.
|
|
595366
|
+
if (cfg.min_version && lt("0.7.9", cfg.min_version)) {
|
|
595367
|
+
return `Your version of Cody CLI (${"0.7.9"}) is too old for Remote Control.
|
|
595362
595368
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
595363
595369
|
}
|
|
595364
595370
|
return null;
|
|
@@ -595832,7 +595838,7 @@ async function initBridgeCore(params) {
|
|
|
595832
595838
|
const rawApi = createBridgeApiClient({
|
|
595833
595839
|
baseUrl,
|
|
595834
595840
|
getAccessToken,
|
|
595835
|
-
runnerVersion: "0.7.
|
|
595841
|
+
runnerVersion: "0.7.9",
|
|
595836
595842
|
onDebug: logForDebugging,
|
|
595837
595843
|
onAuth401,
|
|
595838
595844
|
getTrustedDeviceToken
|
|
@@ -601469,7 +601475,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
601469
601475
|
setCwd(cwd3);
|
|
601470
601476
|
const server = new Server({
|
|
601471
601477
|
name: "claude/tengu",
|
|
601472
|
-
version: "0.7.
|
|
601478
|
+
version: "0.7.9"
|
|
601473
601479
|
}, {
|
|
601474
601480
|
capabilities: {
|
|
601475
601481
|
tools: {}
|
|
@@ -603080,7 +603086,7 @@ __export(exports_update, {
|
|
|
603080
603086
|
});
|
|
603081
603087
|
async function update() {
|
|
603082
603088
|
logEvent("tengu_update_check", {});
|
|
603083
|
-
writeToStdout(`Current version: ${"0.7.
|
|
603089
|
+
writeToStdout(`Current version: ${"0.7.9"}
|
|
603084
603090
|
`);
|
|
603085
603091
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
603086
603092
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -603155,8 +603161,8 @@ async function update() {
|
|
|
603155
603161
|
writeToStdout(`Cody CLI is managed by Homebrew.
|
|
603156
603162
|
`);
|
|
603157
603163
|
const latest = await getLatestVersion(channel);
|
|
603158
|
-
if (latest && !gte("0.7.
|
|
603159
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603164
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603165
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603160
603166
|
`);
|
|
603161
603167
|
writeToStdout(`
|
|
603162
603168
|
`);
|
|
@@ -603172,8 +603178,8 @@ async function update() {
|
|
|
603172
603178
|
writeToStdout(`Cody CLI is managed by winget.
|
|
603173
603179
|
`);
|
|
603174
603180
|
const latest = await getLatestVersion(channel);
|
|
603175
|
-
if (latest && !gte("0.7.
|
|
603176
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603181
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603182
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603177
603183
|
`);
|
|
603178
603184
|
writeToStdout(`
|
|
603179
603185
|
`);
|
|
@@ -603189,8 +603195,8 @@ async function update() {
|
|
|
603189
603195
|
writeToStdout(`Cody CLI is managed by apk.
|
|
603190
603196
|
`);
|
|
603191
603197
|
const latest = await getLatestVersion(channel);
|
|
603192
|
-
if (latest && !gte("0.7.
|
|
603193
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603198
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603199
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603194
603200
|
`);
|
|
603195
603201
|
writeToStdout(`
|
|
603196
603202
|
`);
|
|
@@ -603255,11 +603261,11 @@ async function update() {
|
|
|
603255
603261
|
`);
|
|
603256
603262
|
await gracefulShutdown(1);
|
|
603257
603263
|
}
|
|
603258
|
-
if (result.latestVersion === "0.7.
|
|
603259
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603264
|
+
if (result.latestVersion === "0.7.9") {
|
|
603265
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.9"})`) + `
|
|
603260
603266
|
`);
|
|
603261
603267
|
} else {
|
|
603262
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603268
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${result.latestVersion}`) + `
|
|
603263
603269
|
`);
|
|
603264
603270
|
await regenerateCompletionCache();
|
|
603265
603271
|
}
|
|
@@ -603319,12 +603325,12 @@ async function update() {
|
|
|
603319
603325
|
`);
|
|
603320
603326
|
await gracefulShutdown(1);
|
|
603321
603327
|
}
|
|
603322
|
-
if (latestVersion === "0.7.
|
|
603323
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603328
|
+
if (latestVersion === "0.7.9") {
|
|
603329
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.9"})`) + `
|
|
603324
603330
|
`);
|
|
603325
603331
|
await gracefulShutdown(0);
|
|
603326
603332
|
}
|
|
603327
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
603333
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.9"})
|
|
603328
603334
|
`);
|
|
603329
603335
|
writeToStdout(`Installing update...
|
|
603330
603336
|
`);
|
|
@@ -603369,7 +603375,7 @@ async function update() {
|
|
|
603369
603375
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
603370
603376
|
switch (status2) {
|
|
603371
603377
|
case "success":
|
|
603372
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603378
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${latestVersion}`) + `
|
|
603373
603379
|
`);
|
|
603374
603380
|
await regenerateCompletionCache();
|
|
603375
603381
|
break;
|
|
@@ -604613,7 +604619,7 @@ ${customInstructions}` : customInstructions;
|
|
|
604613
604619
|
}
|
|
604614
604620
|
}
|
|
604615
604621
|
logForDiagnosticsNoPII("info", "started", {
|
|
604616
|
-
version: "0.7.
|
|
604622
|
+
version: "0.7.9",
|
|
604617
604623
|
is_native_binary: isInBundledMode()
|
|
604618
604624
|
});
|
|
604619
604625
|
registerCleanup(async () => {
|
|
@@ -605381,7 +605387,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605381
605387
|
} else {
|
|
605382
605388
|
const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
|
|
605383
605389
|
profileCheckpoint("action_after_hooks");
|
|
605384
|
-
console.log(getWelcomeMessage("0.7.
|
|
605390
|
+
console.log(getWelcomeMessage("0.7.9"));
|
|
605385
605391
|
maybeActivateProactive(options);
|
|
605386
605392
|
maybeActivateBrief(options);
|
|
605387
605393
|
if (false) {}
|
|
@@ -605398,10 +605404,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605398
605404
|
pendingHookMessages
|
|
605399
605405
|
}, renderAndRun);
|
|
605400
605406
|
}
|
|
605401
|
-
}).version("0.7.
|
|
605407
|
+
}).version("0.7.9 (Cody CLI)", "-v, --version", "Output the version number");
|
|
605402
605408
|
program2.configureOutput({
|
|
605403
605409
|
writeOut: (str2) => {
|
|
605404
|
-
if (str2.includes("0.7.
|
|
605410
|
+
if (str2.includes("0.7.9")) {
|
|
605405
605411
|
process.stdout.write(getCodyLogo() + `
|
|
605406
605412
|
` + str2);
|
|
605407
605413
|
} else {
|
|
@@ -605943,7 +605949,7 @@ async function main2() {
|
|
|
605943
605949
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
605944
605950
|
const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
|
|
605945
605951
|
console.log(getCodyLogo2() + `
|
|
605946
|
-
0.7.
|
|
605952
|
+
0.7.9 (Cody CLI)`);
|
|
605947
605953
|
return;
|
|
605948
605954
|
}
|
|
605949
605955
|
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.9",
|
|
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",
|