@ainative/cody-cli 0.7.12 → 0.7.14
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 +116 -93
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -172697,7 +172697,8 @@ function getRateLimitTier() {
|
|
|
172697
172697
|
function getSubscriptionName() {
|
|
172698
172698
|
const baseUrl = process.env.ANTHROPIC_BASE_URL || "";
|
|
172699
172699
|
if (baseUrl.includes("ainative.studio")) {
|
|
172700
|
-
|
|
172700
|
+
const { getGlobalConfig: getGlobalConfig2 } = (init_config2(), __toCommonJS(exports_config));
|
|
172701
|
+
return getGlobalConfig2().ainativePlanCache || "AINative Pro";
|
|
172701
172702
|
}
|
|
172702
172703
|
const subscriptionType = getSubscriptionType();
|
|
172703
172704
|
switch (subscriptionType) {
|
|
@@ -172776,6 +172777,18 @@ function isConsumerSubscriber() {
|
|
|
172776
172777
|
return isClaudeAISubscriber() && subscriptionType !== null && isConsumerPlan(subscriptionType);
|
|
172777
172778
|
}
|
|
172778
172779
|
function getAccountInformation() {
|
|
172780
|
+
const baseUrl = process.env.ANTHROPIC_BASE_URL || "";
|
|
172781
|
+
const isAINative = baseUrl.includes("ainative.studio");
|
|
172782
|
+
if (isAINative) {
|
|
172783
|
+
const { getGlobalConfig: getGlobalConfig2 } = (init_config2(), __toCommonJS(exports_config));
|
|
172784
|
+
const config2 = getGlobalConfig2();
|
|
172785
|
+
const cachedUser = config2.ainativeUserCache;
|
|
172786
|
+
const accountInfo2 = {};
|
|
172787
|
+
accountInfo2.subscription = config2.ainativePlanCache || getSubscriptionName();
|
|
172788
|
+
accountInfo2.email = cachedUser?.email || getOauthAccountInfo()?.emailAddress || process.env.AINATIVE_USERNAME || process.env.USER_EMAIL || undefined;
|
|
172789
|
+
accountInfo2.organization = cachedUser?.organization || getOauthAccountInfo()?.organizationName || undefined;
|
|
172790
|
+
return accountInfo2;
|
|
172791
|
+
}
|
|
172779
172792
|
const apiProvider = getAPIProvider();
|
|
172780
172793
|
if (apiProvider !== "firstParty") {
|
|
172781
172794
|
return;
|
|
@@ -172976,7 +172989,7 @@ var init_auth2 = __esm(() => {
|
|
|
172976
172989
|
|
|
172977
172990
|
// src/utils/userAgent.ts
|
|
172978
172991
|
function getCodyUserAgent() {
|
|
172979
|
-
return `cody-cli/${"0.7.
|
|
172992
|
+
return `cody-cli/${"0.7.14"}`;
|
|
172980
172993
|
}
|
|
172981
172994
|
|
|
172982
172995
|
// src/utils/workloadContext.ts
|
|
@@ -172998,7 +173011,7 @@ function getUserAgent() {
|
|
|
172998
173011
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
172999
173012
|
const workload = getWorkload();
|
|
173000
173013
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
173001
|
-
return `claude-cli/${"0.7.
|
|
173014
|
+
return `claude-cli/${"0.7.14"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
173002
173015
|
}
|
|
173003
173016
|
function getMCPUserAgent() {
|
|
173004
173017
|
const parts = [];
|
|
@@ -173012,7 +173025,7 @@ function getMCPUserAgent() {
|
|
|
173012
173025
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
173013
173026
|
}
|
|
173014
173027
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
173015
|
-
return `claude-code/${"0.7.
|
|
173028
|
+
return `claude-code/${"0.7.14"}${suffix}`;
|
|
173016
173029
|
}
|
|
173017
173030
|
function getWebFetchUserAgent() {
|
|
173018
173031
|
return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -173150,7 +173163,7 @@ var init_user = __esm(() => {
|
|
|
173150
173163
|
deviceId,
|
|
173151
173164
|
sessionId: getSessionId(),
|
|
173152
173165
|
email: getEmail(),
|
|
173153
|
-
appVersion: "0.7.
|
|
173166
|
+
appVersion: "0.7.14",
|
|
173154
173167
|
platform: getHostPlatformForAnalytics(),
|
|
173155
173168
|
organizationUuid,
|
|
173156
173169
|
accountUuid,
|
|
@@ -180842,7 +180855,7 @@ var init_metadata = __esm(() => {
|
|
|
180842
180855
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
180843
180856
|
WHITESPACE_REGEX = /\s+/;
|
|
180844
180857
|
getVersionBase = memoize_default(() => {
|
|
180845
|
-
const match = "0.7.
|
|
180858
|
+
const match = "0.7.14".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
180846
180859
|
return match ? match[0] : undefined;
|
|
180847
180860
|
});
|
|
180848
180861
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -180882,9 +180895,9 @@ var init_metadata = __esm(() => {
|
|
|
180882
180895
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
180883
180896
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
180884
180897
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
180885
|
-
version: "0.7.
|
|
180898
|
+
version: "0.7.14",
|
|
180886
180899
|
versionBase: getVersionBase(),
|
|
180887
|
-
buildTime: "
|
|
180900
|
+
buildTime: "1775374003",
|
|
180888
180901
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
180889
180902
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
180890
180903
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -181502,7 +181515,7 @@ function initialize1PEventLogging() {
|
|
|
181502
181515
|
const platform3 = getPlatform();
|
|
181503
181516
|
const attributes = {
|
|
181504
181517
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
|
|
181505
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.
|
|
181518
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.14"
|
|
181506
181519
|
};
|
|
181507
181520
|
if (platform3 === "wsl") {
|
|
181508
181521
|
const wslVersion = getWslVersion();
|
|
@@ -181529,7 +181542,7 @@ function initialize1PEventLogging() {
|
|
|
181529
181542
|
})
|
|
181530
181543
|
]
|
|
181531
181544
|
});
|
|
181532
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.
|
|
181545
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.14");
|
|
181533
181546
|
}
|
|
181534
181547
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
181535
181548
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -183354,7 +183367,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
183354
183367
|
if (!isAttributionHeaderEnabled()) {
|
|
183355
183368
|
return "";
|
|
183356
183369
|
}
|
|
183357
|
-
const version6 = `${"0.7.
|
|
183370
|
+
const version6 = `${"0.7.14"}.${fingerprint}`;
|
|
183358
183371
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
183359
183372
|
const cch = "";
|
|
183360
183373
|
const workload = getWorkload();
|
|
@@ -247433,7 +247446,7 @@ function getTelemetryAttributes() {
|
|
|
247433
247446
|
attributes["session.id"] = sessionId;
|
|
247434
247447
|
}
|
|
247435
247448
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
247436
|
-
attributes["app.version"] = "0.7.
|
|
247449
|
+
attributes["app.version"] = "0.7.14";
|
|
247437
247450
|
}
|
|
247438
247451
|
const oauthAccount = getOauthAccountInfo();
|
|
247439
247452
|
if (oauthAccount) {
|
|
@@ -278610,7 +278623,7 @@ function getInstallationEnv() {
|
|
|
278610
278623
|
return;
|
|
278611
278624
|
}
|
|
278612
278625
|
function getClaudeCodeVersion() {
|
|
278613
|
-
return "0.7.
|
|
278626
|
+
return "0.7.14";
|
|
278614
278627
|
}
|
|
278615
278628
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
278616
278629
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -284144,7 +284157,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
284144
284157
|
const client4 = new Client({
|
|
284145
284158
|
name: "claude-code",
|
|
284146
284159
|
title: "Claude Code",
|
|
284147
|
-
version: "0.7.
|
|
284160
|
+
version: "0.7.14",
|
|
284148
284161
|
description: "Anthropic's agentic coding tool",
|
|
284149
284162
|
websiteUrl: PRODUCT_URL
|
|
284150
284163
|
}, {
|
|
@@ -284498,7 +284511,7 @@ var init_client8 = __esm(() => {
|
|
|
284498
284511
|
const client4 = new Client({
|
|
284499
284512
|
name: "claude-code",
|
|
284500
284513
|
title: "Claude Code",
|
|
284501
|
-
version: "0.7.
|
|
284514
|
+
version: "0.7.14",
|
|
284502
284515
|
description: "Anthropic's agentic coding tool",
|
|
284503
284516
|
websiteUrl: PRODUCT_URL
|
|
284504
284517
|
}, {
|
|
@@ -332630,7 +332643,7 @@ async function initializeBetaTracing(resource) {
|
|
|
332630
332643
|
});
|
|
332631
332644
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332632
332645
|
setLoggerProvider(loggerProvider);
|
|
332633
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332646
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.14");
|
|
332634
332647
|
setEventLogger(eventLogger);
|
|
332635
332648
|
process.on("beforeExit", async () => {
|
|
332636
332649
|
await loggerProvider?.forceFlush();
|
|
@@ -332670,7 +332683,7 @@ async function initializeTelemetry() {
|
|
|
332670
332683
|
const platform5 = getPlatform();
|
|
332671
332684
|
const baseAttributes = {
|
|
332672
332685
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
332673
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.
|
|
332686
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.14"
|
|
332674
332687
|
};
|
|
332675
332688
|
if (platform5 === "wsl") {
|
|
332676
332689
|
const wslVersion = getWslVersion();
|
|
@@ -332715,7 +332728,7 @@ async function initializeTelemetry() {
|
|
|
332715
332728
|
} catch {}
|
|
332716
332729
|
};
|
|
332717
332730
|
registerCleanup(shutdownTelemetry2);
|
|
332718
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
332731
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.14");
|
|
332719
332732
|
}
|
|
332720
332733
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
332721
332734
|
resource,
|
|
@@ -332735,7 +332748,7 @@ async function initializeTelemetry() {
|
|
|
332735
332748
|
});
|
|
332736
332749
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332737
332750
|
setLoggerProvider(loggerProvider);
|
|
332738
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332751
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.14");
|
|
332739
332752
|
setEventLogger(eventLogger);
|
|
332740
332753
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
332741
332754
|
process.on("beforeExit", async () => {
|
|
@@ -332797,7 +332810,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
332797
332810
|
}
|
|
332798
332811
|
};
|
|
332799
332812
|
registerCleanup(shutdownTelemetry);
|
|
332800
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
332813
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.14");
|
|
332801
332814
|
}
|
|
332802
332815
|
async function flushTelemetry() {
|
|
332803
332816
|
const meterProvider = getMeterProvider();
|
|
@@ -333486,9 +333499,9 @@ async function assertMinVersion() {
|
|
|
333486
333499
|
}
|
|
333487
333500
|
try {
|
|
333488
333501
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
333489
|
-
if (versionConfig.minVersion && lt("0.7.
|
|
333502
|
+
if (versionConfig.minVersion && lt("0.7.14", versionConfig.minVersion)) {
|
|
333490
333503
|
console.error(`
|
|
333491
|
-
It looks like your version of Cody CLI (${"0.7.
|
|
333504
|
+
It looks like your version of Cody CLI (${"0.7.14"}) needs an update.
|
|
333492
333505
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
333493
333506
|
|
|
333494
333507
|
To update, please run:
|
|
@@ -333725,7 +333738,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333725
333738
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
333726
333739
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
333727
333740
|
pid: process.pid,
|
|
333728
|
-
currentVersion: "0.7.
|
|
333741
|
+
currentVersion: "0.7.14"
|
|
333729
333742
|
});
|
|
333730
333743
|
return "in_progress";
|
|
333731
333744
|
}
|
|
@@ -333734,7 +333747,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333734
333747
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
333735
333748
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
333736
333749
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
333737
|
-
currentVersion: "0.7.
|
|
333750
|
+
currentVersion: "0.7.14"
|
|
333738
333751
|
});
|
|
333739
333752
|
console.error(`
|
|
333740
333753
|
Error: Windows NPM detected in WSL
|
|
@@ -334269,7 +334282,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
334269
334282
|
}
|
|
334270
334283
|
async function getDoctorDiagnostic() {
|
|
334271
334284
|
const installationType = await getCurrentInstallationType();
|
|
334272
|
-
const version6 = typeof MACRO !== "undefined" ? "0.7.
|
|
334285
|
+
const version6 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
|
|
334273
334286
|
const installationPath = await getInstallationPath();
|
|
334274
334287
|
const invokedBinary = getInvokedBinary();
|
|
334275
334288
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -335104,8 +335117,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335104
335117
|
const maxVersion = await getMaxVersion();
|
|
335105
335118
|
if (maxVersion && gt(version6, maxVersion)) {
|
|
335106
335119
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version6} to ${maxVersion}`);
|
|
335107
|
-
if (gte("0.7.
|
|
335108
|
-
logForDebugging(`Native installer: current version ${"0.7.
|
|
335120
|
+
if (gte("0.7.14", maxVersion)) {
|
|
335121
|
+
logForDebugging(`Native installer: current version ${"0.7.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
335109
335122
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
335110
335123
|
latency_ms: Date.now() - startTime,
|
|
335111
335124
|
max_version: maxVersion,
|
|
@@ -335116,7 +335129,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335116
335129
|
version6 = maxVersion;
|
|
335117
335130
|
}
|
|
335118
335131
|
}
|
|
335119
|
-
if (!forceReinstall && version6 === "0.7.
|
|
335132
|
+
if (!forceReinstall && version6 === "0.7.14" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
|
|
335120
335133
|
logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
|
|
335121
335134
|
logEvent("tengu_native_update_complete", {
|
|
335122
335135
|
latency_ms: Date.now() - startTime,
|
|
@@ -418706,7 +418719,7 @@ function getAnthropicEnvMetadata() {
|
|
|
418706
418719
|
function getBuildAgeMinutes() {
|
|
418707
418720
|
if (false)
|
|
418708
418721
|
;
|
|
418709
|
-
const buildTime = new Date("
|
|
418722
|
+
const buildTime = new Date("1775374003").getTime();
|
|
418710
418723
|
if (isNaN(buildTime))
|
|
418711
418724
|
return;
|
|
418712
418725
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -442219,7 +442232,7 @@ function Feedback({
|
|
|
442219
442232
|
platform: env4.platform,
|
|
442220
442233
|
gitRepo: envInfo.isGit,
|
|
442221
442234
|
terminal: env4.terminal,
|
|
442222
|
-
version: "0.7.
|
|
442235
|
+
version: "0.7.14",
|
|
442223
442236
|
transcript: normalizeMessagesForAPI(messages),
|
|
442224
442237
|
errors: sanitizedErrors,
|
|
442225
442238
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -442411,7 +442424,7 @@ function Feedback({
|
|
|
442411
442424
|
", ",
|
|
442412
442425
|
env4.terminal,
|
|
442413
442426
|
", v",
|
|
442414
|
-
"0.7.
|
|
442427
|
+
"0.7.14"
|
|
442415
442428
|
]
|
|
442416
442429
|
}, undefined, true, undefined, this)
|
|
442417
442430
|
]
|
|
@@ -442517,7 +442530,7 @@ ${sanitizedDescription}
|
|
|
442517
442530
|
` + `**Environment Info**
|
|
442518
442531
|
` + `- Platform: ${env4.platform}
|
|
442519
442532
|
` + `- Terminal: ${env4.terminal}
|
|
442520
|
-
` + `- Version: ${"0.7.
|
|
442533
|
+
` + `- Version: ${"0.7.14"}
|
|
442521
442534
|
` + `- Feedback ID: ${feedbackId}
|
|
442522
442535
|
` + `
|
|
442523
442536
|
**Errors**
|
|
@@ -445617,7 +445630,7 @@ function buildPrimarySection() {
|
|
|
445617
445630
|
}, undefined, false, undefined, this);
|
|
445618
445631
|
return [{
|
|
445619
445632
|
label: "Version",
|
|
445620
|
-
value: "0.7.
|
|
445633
|
+
value: "0.7.14"
|
|
445621
445634
|
}, {
|
|
445622
445635
|
label: "Session name",
|
|
445623
445636
|
value: nameValue
|
|
@@ -449368,7 +449381,7 @@ function Config({
|
|
|
449368
449381
|
}
|
|
449369
449382
|
}, undefined, false, undefined, this)
|
|
449370
449383
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
449371
|
-
currentVersion: "0.7.
|
|
449384
|
+
currentVersion: "0.7.14",
|
|
449372
449385
|
onChoice: (choice) => {
|
|
449373
449386
|
setShowSubmenu(null);
|
|
449374
449387
|
setTabsHidden(false);
|
|
@@ -449380,7 +449393,7 @@ function Config({
|
|
|
449380
449393
|
autoUpdatesChannel: "stable"
|
|
449381
449394
|
};
|
|
449382
449395
|
if (choice === "stay") {
|
|
449383
|
-
newSettings.minimumVersion = "0.7.
|
|
449396
|
+
newSettings.minimumVersion = "0.7.14";
|
|
449384
449397
|
}
|
|
449385
449398
|
updateSettingsForSource("userSettings", newSettings);
|
|
449386
449399
|
setSettingsData((prev_27) => ({
|
|
@@ -450222,7 +450235,7 @@ function Usage() {
|
|
|
450222
450235
|
limit
|
|
450223
450236
|
}) => limit) || /* @__PURE__ */ jsx_dev_runtime180.jsxDEV(ThemedText, {
|
|
450224
450237
|
dimColor: true,
|
|
450225
|
-
children: "/usage is only available for subscription plans."
|
|
450238
|
+
children: (process.env.ANTHROPIC_BASE_URL || "").includes("ainative.studio") ? "AINative Pro — unlimited usage included with your plan." : "/usage is only available for subscription plans."
|
|
450226
450239
|
}, undefined, false, undefined, this),
|
|
450227
450240
|
limits.map(({
|
|
450228
450241
|
title,
|
|
@@ -457381,7 +457394,7 @@ function HelpV2(t0) {
|
|
|
457381
457394
|
let t6;
|
|
457382
457395
|
if ($3[31] !== tabs) {
|
|
457383
457396
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
457384
|
-
title: `Cody CLI v${"0.7.
|
|
457397
|
+
title: `Cody CLI v${"0.7.14"}`,
|
|
457385
457398
|
color: "professionalBlue",
|
|
457386
457399
|
defaultTab: "general",
|
|
457387
457400
|
children: tabs
|
|
@@ -481571,7 +481584,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
481571
481584
|
return [];
|
|
481572
481585
|
}
|
|
481573
481586
|
}
|
|
481574
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
481587
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.14") {
|
|
481575
481588
|
if (false) {}
|
|
481576
481589
|
const cachedChangelog = await getStoredChangelog();
|
|
481577
481590
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -481584,7 +481597,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.12")
|
|
|
481584
481597
|
releaseNotes
|
|
481585
481598
|
};
|
|
481586
481599
|
}
|
|
481587
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.
|
|
481600
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.14") {
|
|
481588
481601
|
if (false) {}
|
|
481589
481602
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
481590
481603
|
return {
|
|
@@ -482740,7 +482753,7 @@ function getRecentActivitySync() {
|
|
|
482740
482753
|
return cachedActivity;
|
|
482741
482754
|
}
|
|
482742
482755
|
function getLogoDisplayData() {
|
|
482743
|
-
const version6 = process.env.DEMO_VERSION ?? "0.7.
|
|
482756
|
+
const version6 = process.env.DEMO_VERSION ?? "0.7.14";
|
|
482744
482757
|
const serverUrl = getDirectConnectServerUrl();
|
|
482745
482758
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
482746
482759
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -484255,7 +484268,7 @@ function LogoV2() {
|
|
|
484255
484268
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
484256
484269
|
t2 = () => {
|
|
484257
484270
|
const currentConfig = getGlobalConfig();
|
|
484258
|
-
if (currentConfig.lastReleaseNotesSeen === "0.7.
|
|
484271
|
+
if (currentConfig.lastReleaseNotesSeen === "0.7.14") {
|
|
484259
484272
|
return;
|
|
484260
484273
|
}
|
|
484261
484274
|
saveGlobalConfig(_temp329);
|
|
@@ -484931,12 +484944,12 @@ function LogoV2() {
|
|
|
484931
484944
|
return t41;
|
|
484932
484945
|
}
|
|
484933
484946
|
function _temp329(current) {
|
|
484934
|
-
if (current.lastReleaseNotesSeen === "0.7.
|
|
484947
|
+
if (current.lastReleaseNotesSeen === "0.7.14") {
|
|
484935
484948
|
return current;
|
|
484936
484949
|
}
|
|
484937
484950
|
return {
|
|
484938
484951
|
...current,
|
|
484939
|
-
lastReleaseNotesSeen: "0.7.
|
|
484952
|
+
lastReleaseNotesSeen: "0.7.14"
|
|
484940
484953
|
};
|
|
484941
484954
|
}
|
|
484942
484955
|
function _temp245(s_0) {
|
|
@@ -511274,7 +511287,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
511274
511287
|
smapsRollup,
|
|
511275
511288
|
platform: process.platform,
|
|
511276
511289
|
nodeVersion: process.version,
|
|
511277
|
-
ccVersion: "0.7.
|
|
511290
|
+
ccVersion: "0.7.14"
|
|
511278
511291
|
};
|
|
511279
511292
|
}
|
|
511280
511293
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -511802,7 +511815,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
511802
511815
|
var call56 = async () => {
|
|
511803
511816
|
return {
|
|
511804
511817
|
type: "text",
|
|
511805
|
-
value: `${"0.7.
|
|
511818
|
+
value: `${"0.7.14"} (built ${"1775374003"})`
|
|
511806
511819
|
};
|
|
511807
511820
|
}, version6, version_default;
|
|
511808
511821
|
var init_version = __esm(() => {
|
|
@@ -520749,7 +520762,7 @@ function generateHtmlReport(data, insights) {
|
|
|
520749
520762
|
</html>`;
|
|
520750
520763
|
}
|
|
520751
520764
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
520752
|
-
const version7 = typeof MACRO !== "undefined" ? "0.7.
|
|
520765
|
+
const version7 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
|
|
520753
520766
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
520754
520767
|
const facets_summary = {
|
|
520755
520768
|
total: facets.size,
|
|
@@ -524695,7 +524708,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
524695
524708
|
init_settings2();
|
|
524696
524709
|
init_slowOperations();
|
|
524697
524710
|
init_uuid();
|
|
524698
|
-
VERSION5 = typeof MACRO !== "undefined" ? "0.7.
|
|
524711
|
+
VERSION5 = typeof MACRO !== "undefined" ? "0.7.14" : "unknown";
|
|
524699
524712
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
524700
524713
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
524701
524714
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -525900,7 +525913,7 @@ var init_filesystem = __esm(() => {
|
|
|
525900
525913
|
});
|
|
525901
525914
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
525902
525915
|
const nonce = randomBytes19(16).toString("hex");
|
|
525903
|
-
return join132(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
525916
|
+
return join132(getClaudeTempDir(), "bundled-skills", "0.7.14", nonce);
|
|
525904
525917
|
});
|
|
525905
525918
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
525906
525919
|
});
|
|
@@ -531872,7 +531885,7 @@ function computeFingerprint(messageText, version7) {
|
|
|
531872
531885
|
}
|
|
531873
531886
|
function computeFingerprintFromMessages(messages) {
|
|
531874
531887
|
const firstMessageText = extractFirstMessageText(messages);
|
|
531875
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
531888
|
+
return computeFingerprint(firstMessageText, "0.7.14");
|
|
531876
531889
|
}
|
|
531877
531890
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
531878
531891
|
var init_fingerprint = () => {};
|
|
@@ -533786,7 +533799,7 @@ async function sideQuery(opts) {
|
|
|
533786
533799
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
533787
533800
|
}
|
|
533788
533801
|
const messageText = extractFirstUserMessageText(messages);
|
|
533789
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
533802
|
+
const fingerprint = computeFingerprint(messageText, "0.7.14");
|
|
533790
533803
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
533791
533804
|
const systemBlocks = [
|
|
533792
533805
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -538310,7 +538323,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538310
538323
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
538311
538324
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538312
538325
|
betas: getSdkBetas(),
|
|
538313
|
-
claude_code_version: "0.7.
|
|
538326
|
+
claude_code_version: "0.7.14",
|
|
538314
538327
|
output_style: outputStyle2,
|
|
538315
538328
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538316
538329
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -552862,7 +552875,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
552862
552875
|
function getSemverPart(version7) {
|
|
552863
552876
|
return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
|
|
552864
552877
|
}
|
|
552865
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
552878
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.14") {
|
|
552866
552879
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
552867
552880
|
if (!updatedVersion) {
|
|
552868
552881
|
return null;
|
|
@@ -552902,7 +552915,7 @@ function AutoUpdater({
|
|
|
552902
552915
|
return;
|
|
552903
552916
|
}
|
|
552904
552917
|
if (false) {}
|
|
552905
|
-
const currentVersion = "0.7.
|
|
552918
|
+
const currentVersion = "0.7.14";
|
|
552906
552919
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
552907
552920
|
let latestVersion = await getLatestVersion(channel);
|
|
552908
552921
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -553115,12 +553128,12 @@ function NativeAutoUpdater({
|
|
|
553115
553128
|
logEvent("tengu_native_auto_updater_start", {});
|
|
553116
553129
|
try {
|
|
553117
553130
|
const maxVersion = await getMaxVersion();
|
|
553118
|
-
if (maxVersion && gt("0.7.
|
|
553131
|
+
if (maxVersion && gt("0.7.14", maxVersion)) {
|
|
553119
553132
|
const msg = await getMaxVersionMessage();
|
|
553120
553133
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
553121
553134
|
}
|
|
553122
553135
|
const result = await installLatest(channel);
|
|
553123
|
-
const currentVersion = "0.7.
|
|
553136
|
+
const currentVersion = "0.7.14";
|
|
553124
553137
|
const latencyMs = Date.now() - startTime;
|
|
553125
553138
|
if (result.lockFailed) {
|
|
553126
553139
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -553257,17 +553270,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553257
553270
|
const maxVersion = await getMaxVersion();
|
|
553258
553271
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
553259
553272
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
553260
|
-
if (gte("0.7.
|
|
553261
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
553273
|
+
if (gte("0.7.14", maxVersion)) {
|
|
553274
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.14"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
553262
553275
|
setUpdateAvailable(false);
|
|
553263
553276
|
return;
|
|
553264
553277
|
}
|
|
553265
553278
|
latest = maxVersion;
|
|
553266
553279
|
}
|
|
553267
|
-
const hasUpdate = latest && !gte("0.7.
|
|
553280
|
+
const hasUpdate = latest && !gte("0.7.14", latest) && !shouldSkipVersion(latest);
|
|
553268
553281
|
setUpdateAvailable(!!hasUpdate);
|
|
553269
553282
|
if (hasUpdate) {
|
|
553270
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
553283
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.14"} -> ${latest}`);
|
|
553271
553284
|
}
|
|
553272
553285
|
};
|
|
553273
553286
|
$3[0] = t1;
|
|
@@ -553301,7 +553314,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553301
553314
|
wrap: "truncate",
|
|
553302
553315
|
children: [
|
|
553303
553316
|
"currentVersion: ",
|
|
553304
|
-
"0.7.
|
|
553317
|
+
"0.7.14"
|
|
553305
553318
|
]
|
|
553306
553319
|
}, undefined, true, undefined, this);
|
|
553307
553320
|
$3[3] = verbose;
|
|
@@ -561411,7 +561424,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
561411
561424
|
project_dir: getOriginalCwd(),
|
|
561412
561425
|
added_dirs: addedDirs
|
|
561413
561426
|
},
|
|
561414
|
-
version: "0.7.
|
|
561427
|
+
version: "0.7.14",
|
|
561415
561428
|
output_style: {
|
|
561416
561429
|
name: outputStyleName
|
|
561417
561430
|
},
|
|
@@ -572785,7 +572798,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
572785
572798
|
} catch {}
|
|
572786
572799
|
const data = {
|
|
572787
572800
|
trigger,
|
|
572788
|
-
version: "0.7.
|
|
572801
|
+
version: "0.7.14",
|
|
572789
572802
|
platform: process.platform,
|
|
572790
572803
|
transcript,
|
|
572791
572804
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -583726,8 +583739,9 @@ async function fetchBootstrapData() {
|
|
|
583726
583739
|
const clientData = response.client_data ?? null;
|
|
583727
583740
|
const additionalModelOptions = response.additional_model_options ?? [];
|
|
583728
583741
|
const plan2 = response.plan ?? null;
|
|
583742
|
+
const userInfo4 = response.user ?? null;
|
|
583729
583743
|
const config4 = getGlobalConfig();
|
|
583730
|
-
if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions) && isEqual_default(config4.ainativePlanCache, plan2)) {
|
|
583744
|
+
if (isEqual_default(config4.clientDataCache, clientData) && isEqual_default(config4.additionalModelOptionsCache, additionalModelOptions) && isEqual_default(config4.ainativePlanCache, plan2) && isEqual_default(config4.ainativeUserCache, userInfo4)) {
|
|
583731
583745
|
logForDebugging("[Bootstrap] Cache unchanged, skipping write");
|
|
583732
583746
|
return;
|
|
583733
583747
|
}
|
|
@@ -583736,7 +583750,8 @@ async function fetchBootstrapData() {
|
|
|
583736
583750
|
...current,
|
|
583737
583751
|
clientDataCache: clientData,
|
|
583738
583752
|
additionalModelOptionsCache: additionalModelOptions,
|
|
583739
|
-
ainativePlanCache: plan2
|
|
583753
|
+
ainativePlanCache: plan2,
|
|
583754
|
+
ainativeUserCache: userInfo4
|
|
583740
583755
|
}));
|
|
583741
583756
|
} catch (error43) {
|
|
583742
583757
|
logError2(error43);
|
|
@@ -583757,6 +583772,14 @@ var init_bootstrap = __esm(() => {
|
|
|
583757
583772
|
bootstrapResponseSchema = lazySchema(() => exports_external2.object({
|
|
583758
583773
|
client_data: exports_external2.record(exports_external2.unknown()).nullish(),
|
|
583759
583774
|
plan: exports_external2.string().nullish(),
|
|
583775
|
+
user_plan: exports_external2.string().nullish(),
|
|
583776
|
+
user: exports_external2.object({
|
|
583777
|
+
id: exports_external2.string(),
|
|
583778
|
+
email: exports_external2.string(),
|
|
583779
|
+
name: exports_external2.string().nullish(),
|
|
583780
|
+
organization: exports_external2.string().nullish(),
|
|
583781
|
+
organization_id: exports_external2.string().nullish()
|
|
583782
|
+
}).nullish(),
|
|
583760
583783
|
additional_model_options: exports_external2.array(exports_external2.object({
|
|
583761
583784
|
model: exports_external2.string(),
|
|
583762
583785
|
name: exports_external2.string(),
|
|
@@ -584752,7 +584775,7 @@ function WelcomeV2() {
|
|
|
584752
584775
|
dimColor: true,
|
|
584753
584776
|
children: [
|
|
584754
584777
|
"v",
|
|
584755
|
-
"0.7.
|
|
584778
|
+
"0.7.14",
|
|
584756
584779
|
" "
|
|
584757
584780
|
]
|
|
584758
584781
|
}, undefined, true, undefined, this)
|
|
@@ -584952,7 +584975,7 @@ function WelcomeV2() {
|
|
|
584952
584975
|
dimColor: true,
|
|
584953
584976
|
children: [
|
|
584954
584977
|
"v",
|
|
584955
|
-
"0.7.
|
|
584978
|
+
"0.7.14",
|
|
584956
584979
|
" "
|
|
584957
584980
|
]
|
|
584958
584981
|
}, undefined, true, undefined, this)
|
|
@@ -585178,7 +585201,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585178
585201
|
dimColor: true,
|
|
585179
585202
|
children: [
|
|
585180
585203
|
"v",
|
|
585181
|
-
"0.7.
|
|
585204
|
+
"0.7.14",
|
|
585182
585205
|
" "
|
|
585183
585206
|
]
|
|
585184
585207
|
}, undefined, true, undefined, this);
|
|
@@ -585432,7 +585455,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585432
585455
|
dimColor: true,
|
|
585433
585456
|
children: [
|
|
585434
585457
|
"v",
|
|
585435
|
-
"0.7.
|
|
585458
|
+
"0.7.14",
|
|
585436
585459
|
" "
|
|
585437
585460
|
]
|
|
585438
585461
|
}, undefined, true, undefined, this);
|
|
@@ -586936,7 +586959,7 @@ function completeOnboarding() {
|
|
|
586936
586959
|
saveGlobalConfig((current) => ({
|
|
586937
586960
|
...current,
|
|
586938
586961
|
hasCompletedOnboarding: true,
|
|
586939
|
-
lastOnboardingVersion: "0.7.
|
|
586962
|
+
lastOnboardingVersion: "0.7.14"
|
|
586940
586963
|
}));
|
|
586941
586964
|
}
|
|
586942
586965
|
function showDialog(root2, renderer) {
|
|
@@ -591414,7 +591437,7 @@ function appendToLog(path28, message) {
|
|
|
591414
591437
|
cwd: getFsImplementation().cwd(),
|
|
591415
591438
|
userType: "external",
|
|
591416
591439
|
sessionId: getSessionId(),
|
|
591417
|
-
version: "0.7.
|
|
591440
|
+
version: "0.7.14"
|
|
591418
591441
|
};
|
|
591419
591442
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
591420
591443
|
}
|
|
@@ -595373,8 +595396,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
595373
595396
|
}
|
|
595374
595397
|
async function checkEnvLessBridgeMinVersion() {
|
|
595375
595398
|
const cfg = await getEnvLessBridgeConfig();
|
|
595376
|
-
if (cfg.min_version && lt("0.7.
|
|
595377
|
-
return `Your version of Cody CLI (${"0.7.
|
|
595399
|
+
if (cfg.min_version && lt("0.7.14", cfg.min_version)) {
|
|
595400
|
+
return `Your version of Cody CLI (${"0.7.14"}) is too old for Remote Control.
|
|
595378
595401
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
595379
595402
|
}
|
|
595380
595403
|
return null;
|
|
@@ -595848,7 +595871,7 @@ async function initBridgeCore(params) {
|
|
|
595848
595871
|
const rawApi = createBridgeApiClient({
|
|
595849
595872
|
baseUrl,
|
|
595850
595873
|
getAccessToken,
|
|
595851
|
-
runnerVersion: "0.7.
|
|
595874
|
+
runnerVersion: "0.7.14",
|
|
595852
595875
|
onDebug: logForDebugging,
|
|
595853
595876
|
onAuth401,
|
|
595854
595877
|
getTrustedDeviceToken
|
|
@@ -601485,7 +601508,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
601485
601508
|
setCwd(cwd3);
|
|
601486
601509
|
const server = new Server({
|
|
601487
601510
|
name: "claude/tengu",
|
|
601488
|
-
version: "0.7.
|
|
601511
|
+
version: "0.7.14"
|
|
601489
601512
|
}, {
|
|
601490
601513
|
capabilities: {
|
|
601491
601514
|
tools: {}
|
|
@@ -603096,7 +603119,7 @@ __export(exports_update, {
|
|
|
603096
603119
|
});
|
|
603097
603120
|
async function update() {
|
|
603098
603121
|
logEvent("tengu_update_check", {});
|
|
603099
|
-
writeToStdout(`Current version: ${"0.7.
|
|
603122
|
+
writeToStdout(`Current version: ${"0.7.14"}
|
|
603100
603123
|
`);
|
|
603101
603124
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
603102
603125
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -603171,8 +603194,8 @@ async function update() {
|
|
|
603171
603194
|
writeToStdout(`Cody CLI is managed by Homebrew.
|
|
603172
603195
|
`);
|
|
603173
603196
|
const latest = await getLatestVersion(channel);
|
|
603174
|
-
if (latest && !gte("0.7.
|
|
603175
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603197
|
+
if (latest && !gte("0.7.14", latest)) {
|
|
603198
|
+
writeToStdout(`Update available: ${"0.7.14"} → ${latest}
|
|
603176
603199
|
`);
|
|
603177
603200
|
writeToStdout(`
|
|
603178
603201
|
`);
|
|
@@ -603188,8 +603211,8 @@ async function update() {
|
|
|
603188
603211
|
writeToStdout(`Cody CLI is managed by winget.
|
|
603189
603212
|
`);
|
|
603190
603213
|
const latest = await getLatestVersion(channel);
|
|
603191
|
-
if (latest && !gte("0.7.
|
|
603192
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603214
|
+
if (latest && !gte("0.7.14", latest)) {
|
|
603215
|
+
writeToStdout(`Update available: ${"0.7.14"} → ${latest}
|
|
603193
603216
|
`);
|
|
603194
603217
|
writeToStdout(`
|
|
603195
603218
|
`);
|
|
@@ -603205,8 +603228,8 @@ async function update() {
|
|
|
603205
603228
|
writeToStdout(`Cody CLI is managed by apk.
|
|
603206
603229
|
`);
|
|
603207
603230
|
const latest = await getLatestVersion(channel);
|
|
603208
|
-
if (latest && !gte("0.7.
|
|
603209
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603231
|
+
if (latest && !gte("0.7.14", latest)) {
|
|
603232
|
+
writeToStdout(`Update available: ${"0.7.14"} → ${latest}
|
|
603210
603233
|
`);
|
|
603211
603234
|
writeToStdout(`
|
|
603212
603235
|
`);
|
|
@@ -603271,11 +603294,11 @@ async function update() {
|
|
|
603271
603294
|
`);
|
|
603272
603295
|
await gracefulShutdown(1);
|
|
603273
603296
|
}
|
|
603274
|
-
if (result.latestVersion === "0.7.
|
|
603275
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603297
|
+
if (result.latestVersion === "0.7.14") {
|
|
603298
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.14"})`) + `
|
|
603276
603299
|
`);
|
|
603277
603300
|
} else {
|
|
603278
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603301
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${result.latestVersion}`) + `
|
|
603279
603302
|
`);
|
|
603280
603303
|
await regenerateCompletionCache();
|
|
603281
603304
|
}
|
|
@@ -603335,12 +603358,12 @@ async function update() {
|
|
|
603335
603358
|
`);
|
|
603336
603359
|
await gracefulShutdown(1);
|
|
603337
603360
|
}
|
|
603338
|
-
if (latestVersion === "0.7.
|
|
603339
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603361
|
+
if (latestVersion === "0.7.14") {
|
|
603362
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.14"})`) + `
|
|
603340
603363
|
`);
|
|
603341
603364
|
await gracefulShutdown(0);
|
|
603342
603365
|
}
|
|
603343
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
603366
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.14"})
|
|
603344
603367
|
`);
|
|
603345
603368
|
writeToStdout(`Installing update...
|
|
603346
603369
|
`);
|
|
@@ -603385,7 +603408,7 @@ async function update() {
|
|
|
603385
603408
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
603386
603409
|
switch (status2) {
|
|
603387
603410
|
case "success":
|
|
603388
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603411
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.14"} to version ${latestVersion}`) + `
|
|
603389
603412
|
`);
|
|
603390
603413
|
await regenerateCompletionCache();
|
|
603391
603414
|
break;
|
|
@@ -604629,7 +604652,7 @@ ${customInstructions}` : customInstructions;
|
|
|
604629
604652
|
}
|
|
604630
604653
|
}
|
|
604631
604654
|
logForDiagnosticsNoPII("info", "started", {
|
|
604632
|
-
version: "0.7.
|
|
604655
|
+
version: "0.7.14",
|
|
604633
604656
|
is_native_binary: isInBundledMode()
|
|
604634
604657
|
});
|
|
604635
604658
|
registerCleanup(async () => {
|
|
@@ -605397,7 +605420,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605397
605420
|
} else {
|
|
605398
605421
|
const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
|
|
605399
605422
|
profileCheckpoint("action_after_hooks");
|
|
605400
|
-
console.log(getWelcomeMessage("0.7.
|
|
605423
|
+
console.log(getWelcomeMessage("0.7.14"));
|
|
605401
605424
|
maybeActivateProactive(options);
|
|
605402
605425
|
maybeActivateBrief(options);
|
|
605403
605426
|
if (false) {}
|
|
@@ -605414,10 +605437,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605414
605437
|
pendingHookMessages
|
|
605415
605438
|
}, renderAndRun);
|
|
605416
605439
|
}
|
|
605417
|
-
}).version("0.7.
|
|
605440
|
+
}).version("0.7.14 (Cody CLI)", "-v, --version", "Output the version number");
|
|
605418
605441
|
program2.configureOutput({
|
|
605419
605442
|
writeOut: (str2) => {
|
|
605420
|
-
if (str2.includes("0.7.
|
|
605443
|
+
if (str2.includes("0.7.14")) {
|
|
605421
605444
|
process.stdout.write(getCodyLogo() + `
|
|
605422
605445
|
` + str2);
|
|
605423
605446
|
} else {
|
|
@@ -605962,7 +605985,7 @@ async function main2() {
|
|
|
605962
605985
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
605963
605986
|
const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
|
|
605964
605987
|
console.log(getCodyLogo2() + `
|
|
605965
|
-
0.7.
|
|
605988
|
+
0.7.14 (Cody CLI)`);
|
|
605966
605989
|
return;
|
|
605967
605990
|
}
|
|
605968
605991
|
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.14",
|
|
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",
|