@ainative/cody-cli 0.7.8 → 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 +94 -93
- 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.8") {
|
|
|
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,7 +482735,7 @@ 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;
|
|
@@ -484244,7 +484245,7 @@ function LogoV2() {
|
|
|
484244
484245
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
484245
484246
|
t2 = () => {
|
|
484246
484247
|
const currentConfig = getGlobalConfig();
|
|
484247
|
-
if (currentConfig.lastReleaseNotesSeen === "0.7.
|
|
484248
|
+
if (currentConfig.lastReleaseNotesSeen === "0.7.9") {
|
|
484248
484249
|
return;
|
|
484249
484250
|
}
|
|
484250
484251
|
saveGlobalConfig(_temp329);
|
|
@@ -484920,12 +484921,12 @@ function LogoV2() {
|
|
|
484920
484921
|
return t41;
|
|
484921
484922
|
}
|
|
484922
484923
|
function _temp329(current) {
|
|
484923
|
-
if (current.lastReleaseNotesSeen === "0.7.
|
|
484924
|
+
if (current.lastReleaseNotesSeen === "0.7.9") {
|
|
484924
484925
|
return current;
|
|
484925
484926
|
}
|
|
484926
484927
|
return {
|
|
484927
484928
|
...current,
|
|
484928
|
-
lastReleaseNotesSeen: "0.7.
|
|
484929
|
+
lastReleaseNotesSeen: "0.7.9"
|
|
484929
484930
|
};
|
|
484930
484931
|
}
|
|
484931
484932
|
function _temp245(s_0) {
|
|
@@ -492168,7 +492169,7 @@ var init_status3 = __esm(() => {
|
|
|
492168
492169
|
status = {
|
|
492169
492170
|
type: "local-jsx",
|
|
492170
492171
|
name: "status",
|
|
492171
|
-
description: "Show
|
|
492172
|
+
description: "Show Cody CLI status including version, model, account, API connectivity, and tool statuses",
|
|
492172
492173
|
immediate: true,
|
|
492173
492174
|
load: () => Promise.resolve().then(() => (init_status2(), exports_status))
|
|
492174
492175
|
};
|
|
@@ -511263,7 +511264,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
511263
511264
|
smapsRollup,
|
|
511264
511265
|
platform: process.platform,
|
|
511265
511266
|
nodeVersion: process.version,
|
|
511266
|
-
ccVersion: "0.7.
|
|
511267
|
+
ccVersion: "0.7.9"
|
|
511267
511268
|
};
|
|
511268
511269
|
}
|
|
511269
511270
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -511791,7 +511792,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
511791
511792
|
var call56 = async () => {
|
|
511792
511793
|
return {
|
|
511793
511794
|
type: "text",
|
|
511794
|
-
value: `${"0.7.
|
|
511795
|
+
value: `${"0.7.9"} (built ${"1775372423"})`
|
|
511795
511796
|
};
|
|
511796
511797
|
}, version6, version_default;
|
|
511797
511798
|
var init_version = __esm(() => {
|
|
@@ -520738,7 +520739,7 @@ function generateHtmlReport(data, insights) {
|
|
|
520738
520739
|
</html>`;
|
|
520739
520740
|
}
|
|
520740
520741
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
520741
|
-
const version7 = typeof MACRO !== "undefined" ? "0.7.
|
|
520742
|
+
const version7 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
|
|
520742
520743
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
520743
520744
|
const facets_summary = {
|
|
520744
520745
|
total: facets.size,
|
|
@@ -524684,7 +524685,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
524684
524685
|
init_settings2();
|
|
524685
524686
|
init_slowOperations();
|
|
524686
524687
|
init_uuid();
|
|
524687
|
-
VERSION5 = typeof MACRO !== "undefined" ? "0.7.
|
|
524688
|
+
VERSION5 = typeof MACRO !== "undefined" ? "0.7.9" : "unknown";
|
|
524688
524689
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
524689
524690
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
524690
524691
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -525889,7 +525890,7 @@ var init_filesystem = __esm(() => {
|
|
|
525889
525890
|
});
|
|
525890
525891
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
525891
525892
|
const nonce = randomBytes19(16).toString("hex");
|
|
525892
|
-
return join132(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
525893
|
+
return join132(getClaudeTempDir(), "bundled-skills", "0.7.9", nonce);
|
|
525893
525894
|
});
|
|
525894
525895
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
525895
525896
|
});
|
|
@@ -531861,7 +531862,7 @@ function computeFingerprint(messageText, version7) {
|
|
|
531861
531862
|
}
|
|
531862
531863
|
function computeFingerprintFromMessages(messages) {
|
|
531863
531864
|
const firstMessageText = extractFirstMessageText(messages);
|
|
531864
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
531865
|
+
return computeFingerprint(firstMessageText, "0.7.9");
|
|
531865
531866
|
}
|
|
531866
531867
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
531867
531868
|
var init_fingerprint = () => {};
|
|
@@ -533775,7 +533776,7 @@ async function sideQuery(opts) {
|
|
|
533775
533776
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
533776
533777
|
}
|
|
533777
533778
|
const messageText = extractFirstUserMessageText(messages);
|
|
533778
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
533779
|
+
const fingerprint = computeFingerprint(messageText, "0.7.9");
|
|
533779
533780
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
533780
533781
|
const systemBlocks = [
|
|
533781
533782
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -538299,7 +538300,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538299
538300
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
538300
538301
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538301
538302
|
betas: getSdkBetas(),
|
|
538302
|
-
claude_code_version: "0.7.
|
|
538303
|
+
claude_code_version: "0.7.9",
|
|
538303
538304
|
output_style: outputStyle2,
|
|
538304
538305
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538305
538306
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -552851,7 +552852,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
552851
552852
|
function getSemverPart(version7) {
|
|
552852
552853
|
return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
|
|
552853
552854
|
}
|
|
552854
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
552855
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.9") {
|
|
552855
552856
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
552856
552857
|
if (!updatedVersion) {
|
|
552857
552858
|
return null;
|
|
@@ -552891,7 +552892,7 @@ function AutoUpdater({
|
|
|
552891
552892
|
return;
|
|
552892
552893
|
}
|
|
552893
552894
|
if (false) {}
|
|
552894
|
-
const currentVersion = "0.7.
|
|
552895
|
+
const currentVersion = "0.7.9";
|
|
552895
552896
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
552896
552897
|
let latestVersion = await getLatestVersion(channel);
|
|
552897
552898
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -553104,12 +553105,12 @@ function NativeAutoUpdater({
|
|
|
553104
553105
|
logEvent("tengu_native_auto_updater_start", {});
|
|
553105
553106
|
try {
|
|
553106
553107
|
const maxVersion = await getMaxVersion();
|
|
553107
|
-
if (maxVersion && gt("0.7.
|
|
553108
|
+
if (maxVersion && gt("0.7.9", maxVersion)) {
|
|
553108
553109
|
const msg = await getMaxVersionMessage();
|
|
553109
553110
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
553110
553111
|
}
|
|
553111
553112
|
const result = await installLatest(channel);
|
|
553112
|
-
const currentVersion = "0.7.
|
|
553113
|
+
const currentVersion = "0.7.9";
|
|
553113
553114
|
const latencyMs = Date.now() - startTime;
|
|
553114
553115
|
if (result.lockFailed) {
|
|
553115
553116
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -553246,17 +553247,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553246
553247
|
const maxVersion = await getMaxVersion();
|
|
553247
553248
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
553248
553249
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
553249
|
-
if (gte("0.7.
|
|
553250
|
-
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`);
|
|
553251
553252
|
setUpdateAvailable(false);
|
|
553252
553253
|
return;
|
|
553253
553254
|
}
|
|
553254
553255
|
latest = maxVersion;
|
|
553255
553256
|
}
|
|
553256
|
-
const hasUpdate = latest && !gte("0.7.
|
|
553257
|
+
const hasUpdate = latest && !gte("0.7.9", latest) && !shouldSkipVersion(latest);
|
|
553257
553258
|
setUpdateAvailable(!!hasUpdate);
|
|
553258
553259
|
if (hasUpdate) {
|
|
553259
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
553260
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.9"} -> ${latest}`);
|
|
553260
553261
|
}
|
|
553261
553262
|
};
|
|
553262
553263
|
$3[0] = t1;
|
|
@@ -553290,7 +553291,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553290
553291
|
wrap: "truncate",
|
|
553291
553292
|
children: [
|
|
553292
553293
|
"currentVersion: ",
|
|
553293
|
-
"0.7.
|
|
553294
|
+
"0.7.9"
|
|
553294
553295
|
]
|
|
553295
553296
|
}, undefined, true, undefined, this);
|
|
553296
553297
|
$3[3] = verbose;
|
|
@@ -561400,7 +561401,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
561400
561401
|
project_dir: getOriginalCwd(),
|
|
561401
561402
|
added_dirs: addedDirs
|
|
561402
561403
|
},
|
|
561403
|
-
version: "0.7.
|
|
561404
|
+
version: "0.7.9",
|
|
561404
561405
|
output_style: {
|
|
561405
561406
|
name: outputStyleName
|
|
561406
561407
|
},
|
|
@@ -572774,7 +572775,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
572774
572775
|
} catch {}
|
|
572775
572776
|
const data = {
|
|
572776
572777
|
trigger,
|
|
572777
|
-
version: "0.7.
|
|
572778
|
+
version: "0.7.9",
|
|
572778
572779
|
platform: process.platform,
|
|
572779
572780
|
transcript,
|
|
572780
572781
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -584741,7 +584742,7 @@ function WelcomeV2() {
|
|
|
584741
584742
|
dimColor: true,
|
|
584742
584743
|
children: [
|
|
584743
584744
|
"v",
|
|
584744
|
-
"0.7.
|
|
584745
|
+
"0.7.9",
|
|
584745
584746
|
" "
|
|
584746
584747
|
]
|
|
584747
584748
|
}, undefined, true, undefined, this)
|
|
@@ -584941,7 +584942,7 @@ function WelcomeV2() {
|
|
|
584941
584942
|
dimColor: true,
|
|
584942
584943
|
children: [
|
|
584943
584944
|
"v",
|
|
584944
|
-
"0.7.
|
|
584945
|
+
"0.7.9",
|
|
584945
584946
|
" "
|
|
584946
584947
|
]
|
|
584947
584948
|
}, undefined, true, undefined, this)
|
|
@@ -585167,7 +585168,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585167
585168
|
dimColor: true,
|
|
585168
585169
|
children: [
|
|
585169
585170
|
"v",
|
|
585170
|
-
"0.7.
|
|
585171
|
+
"0.7.9",
|
|
585171
585172
|
" "
|
|
585172
585173
|
]
|
|
585173
585174
|
}, undefined, true, undefined, this);
|
|
@@ -585421,7 +585422,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585421
585422
|
dimColor: true,
|
|
585422
585423
|
children: [
|
|
585423
585424
|
"v",
|
|
585424
|
-
"0.7.
|
|
585425
|
+
"0.7.9",
|
|
585425
585426
|
" "
|
|
585426
585427
|
]
|
|
585427
585428
|
}, undefined, true, undefined, this);
|
|
@@ -586925,7 +586926,7 @@ function completeOnboarding() {
|
|
|
586925
586926
|
saveGlobalConfig((current) => ({
|
|
586926
586927
|
...current,
|
|
586927
586928
|
hasCompletedOnboarding: true,
|
|
586928
|
-
lastOnboardingVersion: "0.7.
|
|
586929
|
+
lastOnboardingVersion: "0.7.9"
|
|
586929
586930
|
}));
|
|
586930
586931
|
}
|
|
586931
586932
|
function showDialog(root2, renderer) {
|
|
@@ -591403,7 +591404,7 @@ function appendToLog(path28, message) {
|
|
|
591403
591404
|
cwd: getFsImplementation().cwd(),
|
|
591404
591405
|
userType: "external",
|
|
591405
591406
|
sessionId: getSessionId(),
|
|
591406
|
-
version: "0.7.
|
|
591407
|
+
version: "0.7.9"
|
|
591407
591408
|
};
|
|
591408
591409
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
591409
591410
|
}
|
|
@@ -595362,8 +595363,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
595362
595363
|
}
|
|
595363
595364
|
async function checkEnvLessBridgeMinVersion() {
|
|
595364
595365
|
const cfg = await getEnvLessBridgeConfig();
|
|
595365
|
-
if (cfg.min_version && lt("0.7.
|
|
595366
|
-
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.
|
|
595367
595368
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
595368
595369
|
}
|
|
595369
595370
|
return null;
|
|
@@ -595837,7 +595838,7 @@ async function initBridgeCore(params) {
|
|
|
595837
595838
|
const rawApi = createBridgeApiClient({
|
|
595838
595839
|
baseUrl,
|
|
595839
595840
|
getAccessToken,
|
|
595840
|
-
runnerVersion: "0.7.
|
|
595841
|
+
runnerVersion: "0.7.9",
|
|
595841
595842
|
onDebug: logForDebugging,
|
|
595842
595843
|
onAuth401,
|
|
595843
595844
|
getTrustedDeviceToken
|
|
@@ -601474,7 +601475,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
601474
601475
|
setCwd(cwd3);
|
|
601475
601476
|
const server = new Server({
|
|
601476
601477
|
name: "claude/tengu",
|
|
601477
|
-
version: "0.7.
|
|
601478
|
+
version: "0.7.9"
|
|
601478
601479
|
}, {
|
|
601479
601480
|
capabilities: {
|
|
601480
601481
|
tools: {}
|
|
@@ -603085,7 +603086,7 @@ __export(exports_update, {
|
|
|
603085
603086
|
});
|
|
603086
603087
|
async function update() {
|
|
603087
603088
|
logEvent("tengu_update_check", {});
|
|
603088
|
-
writeToStdout(`Current version: ${"0.7.
|
|
603089
|
+
writeToStdout(`Current version: ${"0.7.9"}
|
|
603089
603090
|
`);
|
|
603090
603091
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
603091
603092
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -603160,8 +603161,8 @@ async function update() {
|
|
|
603160
603161
|
writeToStdout(`Cody CLI is managed by Homebrew.
|
|
603161
603162
|
`);
|
|
603162
603163
|
const latest = await getLatestVersion(channel);
|
|
603163
|
-
if (latest && !gte("0.7.
|
|
603164
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603164
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603165
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603165
603166
|
`);
|
|
603166
603167
|
writeToStdout(`
|
|
603167
603168
|
`);
|
|
@@ -603177,8 +603178,8 @@ async function update() {
|
|
|
603177
603178
|
writeToStdout(`Cody CLI is managed by winget.
|
|
603178
603179
|
`);
|
|
603179
603180
|
const latest = await getLatestVersion(channel);
|
|
603180
|
-
if (latest && !gte("0.7.
|
|
603181
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603181
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603182
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603182
603183
|
`);
|
|
603183
603184
|
writeToStdout(`
|
|
603184
603185
|
`);
|
|
@@ -603194,8 +603195,8 @@ async function update() {
|
|
|
603194
603195
|
writeToStdout(`Cody CLI is managed by apk.
|
|
603195
603196
|
`);
|
|
603196
603197
|
const latest = await getLatestVersion(channel);
|
|
603197
|
-
if (latest && !gte("0.7.
|
|
603198
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603198
|
+
if (latest && !gte("0.7.9", latest)) {
|
|
603199
|
+
writeToStdout(`Update available: ${"0.7.9"} → ${latest}
|
|
603199
603200
|
`);
|
|
603200
603201
|
writeToStdout(`
|
|
603201
603202
|
`);
|
|
@@ -603260,11 +603261,11 @@ async function update() {
|
|
|
603260
603261
|
`);
|
|
603261
603262
|
await gracefulShutdown(1);
|
|
603262
603263
|
}
|
|
603263
|
-
if (result.latestVersion === "0.7.
|
|
603264
|
-
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"})`) + `
|
|
603265
603266
|
`);
|
|
603266
603267
|
} else {
|
|
603267
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603268
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${result.latestVersion}`) + `
|
|
603268
603269
|
`);
|
|
603269
603270
|
await regenerateCompletionCache();
|
|
603270
603271
|
}
|
|
@@ -603324,12 +603325,12 @@ async function update() {
|
|
|
603324
603325
|
`);
|
|
603325
603326
|
await gracefulShutdown(1);
|
|
603326
603327
|
}
|
|
603327
|
-
if (latestVersion === "0.7.
|
|
603328
|
-
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"})`) + `
|
|
603329
603330
|
`);
|
|
603330
603331
|
await gracefulShutdown(0);
|
|
603331
603332
|
}
|
|
603332
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
603333
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.9"})
|
|
603333
603334
|
`);
|
|
603334
603335
|
writeToStdout(`Installing update...
|
|
603335
603336
|
`);
|
|
@@ -603374,7 +603375,7 @@ async function update() {
|
|
|
603374
603375
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
603375
603376
|
switch (status2) {
|
|
603376
603377
|
case "success":
|
|
603377
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603378
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.9"} to version ${latestVersion}`) + `
|
|
603378
603379
|
`);
|
|
603379
603380
|
await regenerateCompletionCache();
|
|
603380
603381
|
break;
|
|
@@ -604618,7 +604619,7 @@ ${customInstructions}` : customInstructions;
|
|
|
604618
604619
|
}
|
|
604619
604620
|
}
|
|
604620
604621
|
logForDiagnosticsNoPII("info", "started", {
|
|
604621
|
-
version: "0.7.
|
|
604622
|
+
version: "0.7.9",
|
|
604622
604623
|
is_native_binary: isInBundledMode()
|
|
604623
604624
|
});
|
|
604624
604625
|
registerCleanup(async () => {
|
|
@@ -605386,7 +605387,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605386
605387
|
} else {
|
|
605387
605388
|
const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
|
|
605388
605389
|
profileCheckpoint("action_after_hooks");
|
|
605389
|
-
console.log(getWelcomeMessage("0.7.
|
|
605390
|
+
console.log(getWelcomeMessage("0.7.9"));
|
|
605390
605391
|
maybeActivateProactive(options);
|
|
605391
605392
|
maybeActivateBrief(options);
|
|
605392
605393
|
if (false) {}
|
|
@@ -605403,10 +605404,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605403
605404
|
pendingHookMessages
|
|
605404
605405
|
}, renderAndRun);
|
|
605405
605406
|
}
|
|
605406
|
-
}).version("0.7.
|
|
605407
|
+
}).version("0.7.9 (Cody CLI)", "-v, --version", "Output the version number");
|
|
605407
605408
|
program2.configureOutput({
|
|
605408
605409
|
writeOut: (str2) => {
|
|
605409
|
-
if (str2.includes("0.7.
|
|
605410
|
+
if (str2.includes("0.7.9")) {
|
|
605410
605411
|
process.stdout.write(getCodyLogo() + `
|
|
605411
605412
|
` + str2);
|
|
605412
605413
|
} else {
|
|
@@ -605948,7 +605949,7 @@ async function main2() {
|
|
|
605948
605949
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
605949
605950
|
const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
|
|
605950
605951
|
console.log(getCodyLogo2() + `
|
|
605951
|
-
0.7.
|
|
605952
|
+
0.7.9 (Cody CLI)`);
|
|
605952
605953
|
return;
|
|
605953
605954
|
}
|
|
605954
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",
|