@ainative/cody-cli 0.7.12 → 0.7.13
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 +107 -90
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -172776,6 +172776,23 @@ function isConsumerSubscriber() {
|
|
|
172776
172776
|
return isClaudeAISubscriber() && subscriptionType !== null && isConsumerPlan(subscriptionType);
|
|
172777
172777
|
}
|
|
172778
172778
|
function getAccountInformation() {
|
|
172779
|
+
const baseUrl = process.env.ANTHROPIC_BASE_URL || "";
|
|
172780
|
+
const isAINative = baseUrl.includes("ainative.studio");
|
|
172781
|
+
if (isAINative) {
|
|
172782
|
+
const accountInfo2 = {};
|
|
172783
|
+
accountInfo2.subscription = getSubscriptionName();
|
|
172784
|
+
accountInfo2.email = process.env.AINATIVE_USERNAME || process.env.USER_EMAIL || undefined;
|
|
172785
|
+
accountInfo2.organization = "AINative Studio";
|
|
172786
|
+
const oauthEmail = getOauthAccountInfo()?.emailAddress;
|
|
172787
|
+
if (oauthEmail) {
|
|
172788
|
+
accountInfo2.email = oauthEmail;
|
|
172789
|
+
}
|
|
172790
|
+
const orgName = getOauthAccountInfo()?.organizationName;
|
|
172791
|
+
if (orgName) {
|
|
172792
|
+
accountInfo2.organization = orgName;
|
|
172793
|
+
}
|
|
172794
|
+
return accountInfo2;
|
|
172795
|
+
}
|
|
172779
172796
|
const apiProvider = getAPIProvider();
|
|
172780
172797
|
if (apiProvider !== "firstParty") {
|
|
172781
172798
|
return;
|
|
@@ -172976,7 +172993,7 @@ var init_auth2 = __esm(() => {
|
|
|
172976
172993
|
|
|
172977
172994
|
// src/utils/userAgent.ts
|
|
172978
172995
|
function getCodyUserAgent() {
|
|
172979
|
-
return `cody-cli/${"0.7.
|
|
172996
|
+
return `cody-cli/${"0.7.13"}`;
|
|
172980
172997
|
}
|
|
172981
172998
|
|
|
172982
172999
|
// src/utils/workloadContext.ts
|
|
@@ -172998,7 +173015,7 @@ function getUserAgent() {
|
|
|
172998
173015
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
172999
173016
|
const workload = getWorkload();
|
|
173000
173017
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
173001
|
-
return `claude-cli/${"0.7.
|
|
173018
|
+
return `claude-cli/${"0.7.13"} (${"external"}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
173002
173019
|
}
|
|
173003
173020
|
function getMCPUserAgent() {
|
|
173004
173021
|
const parts = [];
|
|
@@ -173012,7 +173029,7 @@ function getMCPUserAgent() {
|
|
|
173012
173029
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
173013
173030
|
}
|
|
173014
173031
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
173015
|
-
return `claude-code/${"0.7.
|
|
173032
|
+
return `claude-code/${"0.7.13"}${suffix}`;
|
|
173016
173033
|
}
|
|
173017
173034
|
function getWebFetchUserAgent() {
|
|
173018
173035
|
return `Claude-User (${getCodyUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -173150,7 +173167,7 @@ var init_user = __esm(() => {
|
|
|
173150
173167
|
deviceId,
|
|
173151
173168
|
sessionId: getSessionId(),
|
|
173152
173169
|
email: getEmail(),
|
|
173153
|
-
appVersion: "0.7.
|
|
173170
|
+
appVersion: "0.7.13",
|
|
173154
173171
|
platform: getHostPlatformForAnalytics(),
|
|
173155
173172
|
organizationUuid,
|
|
173156
173173
|
accountUuid,
|
|
@@ -180842,7 +180859,7 @@ var init_metadata = __esm(() => {
|
|
|
180842
180859
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
180843
180860
|
WHITESPACE_REGEX = /\s+/;
|
|
180844
180861
|
getVersionBase = memoize_default(() => {
|
|
180845
|
-
const match = "0.7.
|
|
180862
|
+
const match = "0.7.13".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
180846
180863
|
return match ? match[0] : undefined;
|
|
180847
180864
|
});
|
|
180848
180865
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -180882,9 +180899,9 @@ var init_metadata = __esm(() => {
|
|
|
180882
180899
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
180883
180900
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
180884
180901
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
180885
|
-
version: "0.7.
|
|
180902
|
+
version: "0.7.13",
|
|
180886
180903
|
versionBase: getVersionBase(),
|
|
180887
|
-
buildTime: "
|
|
180904
|
+
buildTime: "1775373393",
|
|
180888
180905
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
180889
180906
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
180890
180907
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -181502,7 +181519,7 @@ function initialize1PEventLogging() {
|
|
|
181502
181519
|
const platform3 = getPlatform();
|
|
181503
181520
|
const attributes = {
|
|
181504
181521
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "cody-cli",
|
|
181505
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.
|
|
181522
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.7.13"
|
|
181506
181523
|
};
|
|
181507
181524
|
if (platform3 === "wsl") {
|
|
181508
181525
|
const wslVersion = getWslVersion();
|
|
@@ -181529,7 +181546,7 @@ function initialize1PEventLogging() {
|
|
|
181529
181546
|
})
|
|
181530
181547
|
]
|
|
181531
181548
|
});
|
|
181532
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.
|
|
181549
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.ainative.cody_cli.events", "0.7.13");
|
|
181533
181550
|
}
|
|
181534
181551
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
181535
181552
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -183354,7 +183371,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
183354
183371
|
if (!isAttributionHeaderEnabled()) {
|
|
183355
183372
|
return "";
|
|
183356
183373
|
}
|
|
183357
|
-
const version6 = `${"0.7.
|
|
183374
|
+
const version6 = `${"0.7.13"}.${fingerprint}`;
|
|
183358
183375
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
183359
183376
|
const cch = "";
|
|
183360
183377
|
const workload = getWorkload();
|
|
@@ -247433,7 +247450,7 @@ function getTelemetryAttributes() {
|
|
|
247433
247450
|
attributes["session.id"] = sessionId;
|
|
247434
247451
|
}
|
|
247435
247452
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
247436
|
-
attributes["app.version"] = "0.7.
|
|
247453
|
+
attributes["app.version"] = "0.7.13";
|
|
247437
247454
|
}
|
|
247438
247455
|
const oauthAccount = getOauthAccountInfo();
|
|
247439
247456
|
if (oauthAccount) {
|
|
@@ -278610,7 +278627,7 @@ function getInstallationEnv() {
|
|
|
278610
278627
|
return;
|
|
278611
278628
|
}
|
|
278612
278629
|
function getClaudeCodeVersion() {
|
|
278613
|
-
return "0.7.
|
|
278630
|
+
return "0.7.13";
|
|
278614
278631
|
}
|
|
278615
278632
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
278616
278633
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -284144,7 +284161,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
284144
284161
|
const client4 = new Client({
|
|
284145
284162
|
name: "claude-code",
|
|
284146
284163
|
title: "Claude Code",
|
|
284147
|
-
version: "0.7.
|
|
284164
|
+
version: "0.7.13",
|
|
284148
284165
|
description: "Anthropic's agentic coding tool",
|
|
284149
284166
|
websiteUrl: PRODUCT_URL
|
|
284150
284167
|
}, {
|
|
@@ -284498,7 +284515,7 @@ var init_client8 = __esm(() => {
|
|
|
284498
284515
|
const client4 = new Client({
|
|
284499
284516
|
name: "claude-code",
|
|
284500
284517
|
title: "Claude Code",
|
|
284501
|
-
version: "0.7.
|
|
284518
|
+
version: "0.7.13",
|
|
284502
284519
|
description: "Anthropic's agentic coding tool",
|
|
284503
284520
|
websiteUrl: PRODUCT_URL
|
|
284504
284521
|
}, {
|
|
@@ -332630,7 +332647,7 @@ async function initializeBetaTracing(resource) {
|
|
|
332630
332647
|
});
|
|
332631
332648
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332632
332649
|
setLoggerProvider(loggerProvider);
|
|
332633
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332650
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.13");
|
|
332634
332651
|
setEventLogger(eventLogger);
|
|
332635
332652
|
process.on("beforeExit", async () => {
|
|
332636
332653
|
await loggerProvider?.forceFlush();
|
|
@@ -332670,7 +332687,7 @@ async function initializeTelemetry() {
|
|
|
332670
332687
|
const platform5 = getPlatform();
|
|
332671
332688
|
const baseAttributes = {
|
|
332672
332689
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
332673
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.
|
|
332690
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.7.13"
|
|
332674
332691
|
};
|
|
332675
332692
|
if (platform5 === "wsl") {
|
|
332676
332693
|
const wslVersion = getWslVersion();
|
|
@@ -332715,7 +332732,7 @@ async function initializeTelemetry() {
|
|
|
332715
332732
|
} catch {}
|
|
332716
332733
|
};
|
|
332717
332734
|
registerCleanup(shutdownTelemetry2);
|
|
332718
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.
|
|
332735
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.7.13");
|
|
332719
332736
|
}
|
|
332720
332737
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
332721
332738
|
resource,
|
|
@@ -332735,7 +332752,7 @@ async function initializeTelemetry() {
|
|
|
332735
332752
|
});
|
|
332736
332753
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
332737
332754
|
setLoggerProvider(loggerProvider);
|
|
332738
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.
|
|
332755
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.7.13");
|
|
332739
332756
|
setEventLogger(eventLogger);
|
|
332740
332757
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
332741
332758
|
process.on("beforeExit", async () => {
|
|
@@ -332797,7 +332814,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
332797
332814
|
}
|
|
332798
332815
|
};
|
|
332799
332816
|
registerCleanup(shutdownTelemetry);
|
|
332800
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.
|
|
332817
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.7.13");
|
|
332801
332818
|
}
|
|
332802
332819
|
async function flushTelemetry() {
|
|
332803
332820
|
const meterProvider = getMeterProvider();
|
|
@@ -333486,9 +333503,9 @@ async function assertMinVersion() {
|
|
|
333486
333503
|
}
|
|
333487
333504
|
try {
|
|
333488
333505
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
333489
|
-
if (versionConfig.minVersion && lt("0.7.
|
|
333506
|
+
if (versionConfig.minVersion && lt("0.7.13", versionConfig.minVersion)) {
|
|
333490
333507
|
console.error(`
|
|
333491
|
-
It looks like your version of Cody CLI (${"0.7.
|
|
333508
|
+
It looks like your version of Cody CLI (${"0.7.13"}) needs an update.
|
|
333492
333509
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
333493
333510
|
|
|
333494
333511
|
To update, please run:
|
|
@@ -333725,7 +333742,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333725
333742
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
333726
333743
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
333727
333744
|
pid: process.pid,
|
|
333728
|
-
currentVersion: "0.7.
|
|
333745
|
+
currentVersion: "0.7.13"
|
|
333729
333746
|
});
|
|
333730
333747
|
return "in_progress";
|
|
333731
333748
|
}
|
|
@@ -333734,7 +333751,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
333734
333751
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
333735
333752
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
333736
333753
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
333737
|
-
currentVersion: "0.7.
|
|
333754
|
+
currentVersion: "0.7.13"
|
|
333738
333755
|
});
|
|
333739
333756
|
console.error(`
|
|
333740
333757
|
Error: Windows NPM detected in WSL
|
|
@@ -334269,7 +334286,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
334269
334286
|
}
|
|
334270
334287
|
async function getDoctorDiagnostic() {
|
|
334271
334288
|
const installationType = await getCurrentInstallationType();
|
|
334272
|
-
const version6 = typeof MACRO !== "undefined" ? "0.7.
|
|
334289
|
+
const version6 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
|
|
334273
334290
|
const installationPath = await getInstallationPath();
|
|
334274
334291
|
const invokedBinary = getInvokedBinary();
|
|
334275
334292
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -335104,8 +335121,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335104
335121
|
const maxVersion = await getMaxVersion();
|
|
335105
335122
|
if (maxVersion && gt(version6, maxVersion)) {
|
|
335106
335123
|
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.
|
|
335124
|
+
if (gte("0.7.13", maxVersion)) {
|
|
335125
|
+
logForDebugging(`Native installer: current version ${"0.7.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
335109
335126
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
335110
335127
|
latency_ms: Date.now() - startTime,
|
|
335111
335128
|
max_version: maxVersion,
|
|
@@ -335116,7 +335133,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
335116
335133
|
version6 = maxVersion;
|
|
335117
335134
|
}
|
|
335118
335135
|
}
|
|
335119
|
-
if (!forceReinstall && version6 === "0.7.
|
|
335136
|
+
if (!forceReinstall && version6 === "0.7.13" && await versionIsAvailable(version6) && await isPossibleClaudeBinary(executablePath)) {
|
|
335120
335137
|
logForDebugging(`Found ${version6} at ${executablePath}, skipping install`);
|
|
335121
335138
|
logEvent("tengu_native_update_complete", {
|
|
335122
335139
|
latency_ms: Date.now() - startTime,
|
|
@@ -418706,7 +418723,7 @@ function getAnthropicEnvMetadata() {
|
|
|
418706
418723
|
function getBuildAgeMinutes() {
|
|
418707
418724
|
if (false)
|
|
418708
418725
|
;
|
|
418709
|
-
const buildTime = new Date("
|
|
418726
|
+
const buildTime = new Date("1775373393").getTime();
|
|
418710
418727
|
if (isNaN(buildTime))
|
|
418711
418728
|
return;
|
|
418712
418729
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -442219,7 +442236,7 @@ function Feedback({
|
|
|
442219
442236
|
platform: env4.platform,
|
|
442220
442237
|
gitRepo: envInfo.isGit,
|
|
442221
442238
|
terminal: env4.terminal,
|
|
442222
|
-
version: "0.7.
|
|
442239
|
+
version: "0.7.13",
|
|
442223
442240
|
transcript: normalizeMessagesForAPI(messages),
|
|
442224
442241
|
errors: sanitizedErrors,
|
|
442225
442242
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -442411,7 +442428,7 @@ function Feedback({
|
|
|
442411
442428
|
", ",
|
|
442412
442429
|
env4.terminal,
|
|
442413
442430
|
", v",
|
|
442414
|
-
"0.7.
|
|
442431
|
+
"0.7.13"
|
|
442415
442432
|
]
|
|
442416
442433
|
}, undefined, true, undefined, this)
|
|
442417
442434
|
]
|
|
@@ -442517,7 +442534,7 @@ ${sanitizedDescription}
|
|
|
442517
442534
|
` + `**Environment Info**
|
|
442518
442535
|
` + `- Platform: ${env4.platform}
|
|
442519
442536
|
` + `- Terminal: ${env4.terminal}
|
|
442520
|
-
` + `- Version: ${"0.7.
|
|
442537
|
+
` + `- Version: ${"0.7.13"}
|
|
442521
442538
|
` + `- Feedback ID: ${feedbackId}
|
|
442522
442539
|
` + `
|
|
442523
442540
|
**Errors**
|
|
@@ -445617,7 +445634,7 @@ function buildPrimarySection() {
|
|
|
445617
445634
|
}, undefined, false, undefined, this);
|
|
445618
445635
|
return [{
|
|
445619
445636
|
label: "Version",
|
|
445620
|
-
value: "0.7.
|
|
445637
|
+
value: "0.7.13"
|
|
445621
445638
|
}, {
|
|
445622
445639
|
label: "Session name",
|
|
445623
445640
|
value: nameValue
|
|
@@ -449368,7 +449385,7 @@ function Config({
|
|
|
449368
449385
|
}
|
|
449369
449386
|
}, undefined, false, undefined, this)
|
|
449370
449387
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_dev_runtime178.jsxDEV(ChannelDowngradeDialog, {
|
|
449371
|
-
currentVersion: "0.7.
|
|
449388
|
+
currentVersion: "0.7.13",
|
|
449372
449389
|
onChoice: (choice) => {
|
|
449373
449390
|
setShowSubmenu(null);
|
|
449374
449391
|
setTabsHidden(false);
|
|
@@ -449380,7 +449397,7 @@ function Config({
|
|
|
449380
449397
|
autoUpdatesChannel: "stable"
|
|
449381
449398
|
};
|
|
449382
449399
|
if (choice === "stay") {
|
|
449383
|
-
newSettings.minimumVersion = "0.7.
|
|
449400
|
+
newSettings.minimumVersion = "0.7.13";
|
|
449384
449401
|
}
|
|
449385
449402
|
updateSettingsForSource("userSettings", newSettings);
|
|
449386
449403
|
setSettingsData((prev_27) => ({
|
|
@@ -450222,7 +450239,7 @@ function Usage() {
|
|
|
450222
450239
|
limit
|
|
450223
450240
|
}) => limit) || /* @__PURE__ */ jsx_dev_runtime180.jsxDEV(ThemedText, {
|
|
450224
450241
|
dimColor: true,
|
|
450225
|
-
children: "/usage is only available for subscription plans."
|
|
450242
|
+
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
450243
|
}, undefined, false, undefined, this),
|
|
450227
450244
|
limits.map(({
|
|
450228
450245
|
title,
|
|
@@ -457381,7 +457398,7 @@ function HelpV2(t0) {
|
|
|
457381
457398
|
let t6;
|
|
457382
457399
|
if ($3[31] !== tabs) {
|
|
457383
457400
|
t6 = /* @__PURE__ */ jsx_dev_runtime205.jsxDEV(Tabs, {
|
|
457384
|
-
title: `Cody CLI v${"0.7.
|
|
457401
|
+
title: `Cody CLI v${"0.7.13"}`,
|
|
457385
457402
|
color: "professionalBlue",
|
|
457386
457403
|
defaultTab: "general",
|
|
457387
457404
|
children: tabs
|
|
@@ -481571,7 +481588,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
481571
481588
|
return [];
|
|
481572
481589
|
}
|
|
481573
481590
|
}
|
|
481574
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.
|
|
481591
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.13") {
|
|
481575
481592
|
if (false) {}
|
|
481576
481593
|
const cachedChangelog = await getStoredChangelog();
|
|
481577
481594
|
if (lastSeenVersion !== currentVersion || !cachedChangelog) {
|
|
@@ -481584,7 +481601,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.7.12")
|
|
|
481584
481601
|
releaseNotes
|
|
481585
481602
|
};
|
|
481586
481603
|
}
|
|
481587
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.
|
|
481604
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.7.13") {
|
|
481588
481605
|
if (false) {}
|
|
481589
481606
|
const releaseNotes = getRecentReleaseNotes(currentVersion, lastSeenVersion);
|
|
481590
481607
|
return {
|
|
@@ -482740,7 +482757,7 @@ function getRecentActivitySync() {
|
|
|
482740
482757
|
return cachedActivity;
|
|
482741
482758
|
}
|
|
482742
482759
|
function getLogoDisplayData() {
|
|
482743
|
-
const version6 = process.env.DEMO_VERSION ?? "0.7.
|
|
482760
|
+
const version6 = process.env.DEMO_VERSION ?? "0.7.13";
|
|
482744
482761
|
const serverUrl = getDirectConnectServerUrl();
|
|
482745
482762
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
482746
482763
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -484255,7 +484272,7 @@ function LogoV2() {
|
|
|
484255
484272
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
484256
484273
|
t2 = () => {
|
|
484257
484274
|
const currentConfig = getGlobalConfig();
|
|
484258
|
-
if (currentConfig.lastReleaseNotesSeen === "0.7.
|
|
484275
|
+
if (currentConfig.lastReleaseNotesSeen === "0.7.13") {
|
|
484259
484276
|
return;
|
|
484260
484277
|
}
|
|
484261
484278
|
saveGlobalConfig(_temp329);
|
|
@@ -484931,12 +484948,12 @@ function LogoV2() {
|
|
|
484931
484948
|
return t41;
|
|
484932
484949
|
}
|
|
484933
484950
|
function _temp329(current) {
|
|
484934
|
-
if (current.lastReleaseNotesSeen === "0.7.
|
|
484951
|
+
if (current.lastReleaseNotesSeen === "0.7.13") {
|
|
484935
484952
|
return current;
|
|
484936
484953
|
}
|
|
484937
484954
|
return {
|
|
484938
484955
|
...current,
|
|
484939
|
-
lastReleaseNotesSeen: "0.7.
|
|
484956
|
+
lastReleaseNotesSeen: "0.7.13"
|
|
484940
484957
|
};
|
|
484941
484958
|
}
|
|
484942
484959
|
function _temp245(s_0) {
|
|
@@ -511274,7 +511291,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
511274
511291
|
smapsRollup,
|
|
511275
511292
|
platform: process.platform,
|
|
511276
511293
|
nodeVersion: process.version,
|
|
511277
|
-
ccVersion: "0.7.
|
|
511294
|
+
ccVersion: "0.7.13"
|
|
511278
511295
|
};
|
|
511279
511296
|
}
|
|
511280
511297
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -511802,7 +511819,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
511802
511819
|
var call56 = async () => {
|
|
511803
511820
|
return {
|
|
511804
511821
|
type: "text",
|
|
511805
|
-
value: `${"0.7.
|
|
511822
|
+
value: `${"0.7.13"} (built ${"1775373393"})`
|
|
511806
511823
|
};
|
|
511807
511824
|
}, version6, version_default;
|
|
511808
511825
|
var init_version = __esm(() => {
|
|
@@ -520749,7 +520766,7 @@ function generateHtmlReport(data, insights) {
|
|
|
520749
520766
|
</html>`;
|
|
520750
520767
|
}
|
|
520751
520768
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
520752
|
-
const version7 = typeof MACRO !== "undefined" ? "0.7.
|
|
520769
|
+
const version7 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
|
|
520753
520770
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
520754
520771
|
const facets_summary = {
|
|
520755
520772
|
total: facets.size,
|
|
@@ -524695,7 +524712,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
524695
524712
|
init_settings2();
|
|
524696
524713
|
init_slowOperations();
|
|
524697
524714
|
init_uuid();
|
|
524698
|
-
VERSION5 = typeof MACRO !== "undefined" ? "0.7.
|
|
524715
|
+
VERSION5 = typeof MACRO !== "undefined" ? "0.7.13" : "unknown";
|
|
524699
524716
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
524700
524717
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
524701
524718
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -525900,7 +525917,7 @@ var init_filesystem = __esm(() => {
|
|
|
525900
525917
|
});
|
|
525901
525918
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
525902
525919
|
const nonce = randomBytes19(16).toString("hex");
|
|
525903
|
-
return join132(getClaudeTempDir(), "bundled-skills", "0.7.
|
|
525920
|
+
return join132(getClaudeTempDir(), "bundled-skills", "0.7.13", nonce);
|
|
525904
525921
|
});
|
|
525905
525922
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
525906
525923
|
});
|
|
@@ -531872,7 +531889,7 @@ function computeFingerprint(messageText, version7) {
|
|
|
531872
531889
|
}
|
|
531873
531890
|
function computeFingerprintFromMessages(messages) {
|
|
531874
531891
|
const firstMessageText = extractFirstMessageText(messages);
|
|
531875
|
-
return computeFingerprint(firstMessageText, "0.7.
|
|
531892
|
+
return computeFingerprint(firstMessageText, "0.7.13");
|
|
531876
531893
|
}
|
|
531877
531894
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
531878
531895
|
var init_fingerprint = () => {};
|
|
@@ -533786,7 +533803,7 @@ async function sideQuery(opts) {
|
|
|
533786
533803
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
533787
533804
|
}
|
|
533788
533805
|
const messageText = extractFirstUserMessageText(messages);
|
|
533789
|
-
const fingerprint = computeFingerprint(messageText, "0.7.
|
|
533806
|
+
const fingerprint = computeFingerprint(messageText, "0.7.13");
|
|
533790
533807
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
533791
533808
|
const systemBlocks = [
|
|
533792
533809
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -538310,7 +538327,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
538310
538327
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
538311
538328
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
538312
538329
|
betas: getSdkBetas(),
|
|
538313
|
-
claude_code_version: "0.7.
|
|
538330
|
+
claude_code_version: "0.7.13",
|
|
538314
538331
|
output_style: outputStyle2,
|
|
538315
538332
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
538316
538333
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -552862,7 +552879,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
552862
552879
|
function getSemverPart(version7) {
|
|
552863
552880
|
return `${import_semver13.major(version7, { loose: true })}.${import_semver13.minor(version7, { loose: true })}.${import_semver13.patch(version7, { loose: true })}`;
|
|
552864
552881
|
}
|
|
552865
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.7.
|
|
552882
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.7.13") {
|
|
552866
552883
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react227.useState(() => getSemverPart(initialVersion));
|
|
552867
552884
|
if (!updatedVersion) {
|
|
552868
552885
|
return null;
|
|
@@ -552902,7 +552919,7 @@ function AutoUpdater({
|
|
|
552902
552919
|
return;
|
|
552903
552920
|
}
|
|
552904
552921
|
if (false) {}
|
|
552905
|
-
const currentVersion = "0.7.
|
|
552922
|
+
const currentVersion = "0.7.13";
|
|
552906
552923
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
552907
552924
|
let latestVersion = await getLatestVersion(channel);
|
|
552908
552925
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -553115,12 +553132,12 @@ function NativeAutoUpdater({
|
|
|
553115
553132
|
logEvent("tengu_native_auto_updater_start", {});
|
|
553116
553133
|
try {
|
|
553117
553134
|
const maxVersion = await getMaxVersion();
|
|
553118
|
-
if (maxVersion && gt("0.7.
|
|
553135
|
+
if (maxVersion && gt("0.7.13", maxVersion)) {
|
|
553119
553136
|
const msg = await getMaxVersionMessage();
|
|
553120
553137
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
553121
553138
|
}
|
|
553122
553139
|
const result = await installLatest(channel);
|
|
553123
|
-
const currentVersion = "0.7.
|
|
553140
|
+
const currentVersion = "0.7.13";
|
|
553124
553141
|
const latencyMs = Date.now() - startTime;
|
|
553125
553142
|
if (result.lockFailed) {
|
|
553126
553143
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -553257,17 +553274,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553257
553274
|
const maxVersion = await getMaxVersion();
|
|
553258
553275
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
553259
553276
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
553260
|
-
if (gte("0.7.
|
|
553261
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.
|
|
553277
|
+
if (gte("0.7.13", maxVersion)) {
|
|
553278
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.7.13"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
553262
553279
|
setUpdateAvailable(false);
|
|
553263
553280
|
return;
|
|
553264
553281
|
}
|
|
553265
553282
|
latest = maxVersion;
|
|
553266
553283
|
}
|
|
553267
|
-
const hasUpdate = latest && !gte("0.7.
|
|
553284
|
+
const hasUpdate = latest && !gte("0.7.13", latest) && !shouldSkipVersion(latest);
|
|
553268
553285
|
setUpdateAvailable(!!hasUpdate);
|
|
553269
553286
|
if (hasUpdate) {
|
|
553270
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.
|
|
553287
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.7.13"} -> ${latest}`);
|
|
553271
553288
|
}
|
|
553272
553289
|
};
|
|
553273
553290
|
$3[0] = t1;
|
|
@@ -553301,7 +553318,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
553301
553318
|
wrap: "truncate",
|
|
553302
553319
|
children: [
|
|
553303
553320
|
"currentVersion: ",
|
|
553304
|
-
"0.7.
|
|
553321
|
+
"0.7.13"
|
|
553305
553322
|
]
|
|
553306
553323
|
}, undefined, true, undefined, this);
|
|
553307
553324
|
$3[3] = verbose;
|
|
@@ -561411,7 +561428,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
561411
561428
|
project_dir: getOriginalCwd(),
|
|
561412
561429
|
added_dirs: addedDirs
|
|
561413
561430
|
},
|
|
561414
|
-
version: "0.7.
|
|
561431
|
+
version: "0.7.13",
|
|
561415
561432
|
output_style: {
|
|
561416
561433
|
name: outputStyleName
|
|
561417
561434
|
},
|
|
@@ -572785,7 +572802,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
572785
572802
|
} catch {}
|
|
572786
572803
|
const data = {
|
|
572787
572804
|
trigger,
|
|
572788
|
-
version: "0.7.
|
|
572805
|
+
version: "0.7.13",
|
|
572789
572806
|
platform: process.platform,
|
|
572790
572807
|
transcript,
|
|
572791
572808
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -584752,7 +584769,7 @@ function WelcomeV2() {
|
|
|
584752
584769
|
dimColor: true,
|
|
584753
584770
|
children: [
|
|
584754
584771
|
"v",
|
|
584755
|
-
"0.7.
|
|
584772
|
+
"0.7.13",
|
|
584756
584773
|
" "
|
|
584757
584774
|
]
|
|
584758
584775
|
}, undefined, true, undefined, this)
|
|
@@ -584952,7 +584969,7 @@ function WelcomeV2() {
|
|
|
584952
584969
|
dimColor: true,
|
|
584953
584970
|
children: [
|
|
584954
584971
|
"v",
|
|
584955
|
-
"0.7.
|
|
584972
|
+
"0.7.13",
|
|
584956
584973
|
" "
|
|
584957
584974
|
]
|
|
584958
584975
|
}, undefined, true, undefined, this)
|
|
@@ -585178,7 +585195,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585178
585195
|
dimColor: true,
|
|
585179
585196
|
children: [
|
|
585180
585197
|
"v",
|
|
585181
|
-
"0.7.
|
|
585198
|
+
"0.7.13",
|
|
585182
585199
|
" "
|
|
585183
585200
|
]
|
|
585184
585201
|
}, undefined, true, undefined, this);
|
|
@@ -585432,7 +585449,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
585432
585449
|
dimColor: true,
|
|
585433
585450
|
children: [
|
|
585434
585451
|
"v",
|
|
585435
|
-
"0.7.
|
|
585452
|
+
"0.7.13",
|
|
585436
585453
|
" "
|
|
585437
585454
|
]
|
|
585438
585455
|
}, undefined, true, undefined, this);
|
|
@@ -586936,7 +586953,7 @@ function completeOnboarding() {
|
|
|
586936
586953
|
saveGlobalConfig((current) => ({
|
|
586937
586954
|
...current,
|
|
586938
586955
|
hasCompletedOnboarding: true,
|
|
586939
|
-
lastOnboardingVersion: "0.7.
|
|
586956
|
+
lastOnboardingVersion: "0.7.13"
|
|
586940
586957
|
}));
|
|
586941
586958
|
}
|
|
586942
586959
|
function showDialog(root2, renderer) {
|
|
@@ -591414,7 +591431,7 @@ function appendToLog(path28, message) {
|
|
|
591414
591431
|
cwd: getFsImplementation().cwd(),
|
|
591415
591432
|
userType: "external",
|
|
591416
591433
|
sessionId: getSessionId(),
|
|
591417
|
-
version: "0.7.
|
|
591434
|
+
version: "0.7.13"
|
|
591418
591435
|
};
|
|
591419
591436
|
getLogWriter(path28).write(messageWithTimestamp);
|
|
591420
591437
|
}
|
|
@@ -595373,8 +595390,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
595373
595390
|
}
|
|
595374
595391
|
async function checkEnvLessBridgeMinVersion() {
|
|
595375
595392
|
const cfg = await getEnvLessBridgeConfig();
|
|
595376
|
-
if (cfg.min_version && lt("0.7.
|
|
595377
|
-
return `Your version of Cody CLI (${"0.7.
|
|
595393
|
+
if (cfg.min_version && lt("0.7.13", cfg.min_version)) {
|
|
595394
|
+
return `Your version of Cody CLI (${"0.7.13"}) is too old for Remote Control.
|
|
595378
595395
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
595379
595396
|
}
|
|
595380
595397
|
return null;
|
|
@@ -595848,7 +595865,7 @@ async function initBridgeCore(params) {
|
|
|
595848
595865
|
const rawApi = createBridgeApiClient({
|
|
595849
595866
|
baseUrl,
|
|
595850
595867
|
getAccessToken,
|
|
595851
|
-
runnerVersion: "0.7.
|
|
595868
|
+
runnerVersion: "0.7.13",
|
|
595852
595869
|
onDebug: logForDebugging,
|
|
595853
595870
|
onAuth401,
|
|
595854
595871
|
getTrustedDeviceToken
|
|
@@ -601485,7 +601502,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
|
|
|
601485
601502
|
setCwd(cwd3);
|
|
601486
601503
|
const server = new Server({
|
|
601487
601504
|
name: "claude/tengu",
|
|
601488
|
-
version: "0.7.
|
|
601505
|
+
version: "0.7.13"
|
|
601489
601506
|
}, {
|
|
601490
601507
|
capabilities: {
|
|
601491
601508
|
tools: {}
|
|
@@ -603096,7 +603113,7 @@ __export(exports_update, {
|
|
|
603096
603113
|
});
|
|
603097
603114
|
async function update() {
|
|
603098
603115
|
logEvent("tengu_update_check", {});
|
|
603099
|
-
writeToStdout(`Current version: ${"0.7.
|
|
603116
|
+
writeToStdout(`Current version: ${"0.7.13"}
|
|
603100
603117
|
`);
|
|
603101
603118
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
603102
603119
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -603171,8 +603188,8 @@ async function update() {
|
|
|
603171
603188
|
writeToStdout(`Cody CLI is managed by Homebrew.
|
|
603172
603189
|
`);
|
|
603173
603190
|
const latest = await getLatestVersion(channel);
|
|
603174
|
-
if (latest && !gte("0.7.
|
|
603175
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603191
|
+
if (latest && !gte("0.7.13", latest)) {
|
|
603192
|
+
writeToStdout(`Update available: ${"0.7.13"} → ${latest}
|
|
603176
603193
|
`);
|
|
603177
603194
|
writeToStdout(`
|
|
603178
603195
|
`);
|
|
@@ -603188,8 +603205,8 @@ async function update() {
|
|
|
603188
603205
|
writeToStdout(`Cody CLI is managed by winget.
|
|
603189
603206
|
`);
|
|
603190
603207
|
const latest = await getLatestVersion(channel);
|
|
603191
|
-
if (latest && !gte("0.7.
|
|
603192
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603208
|
+
if (latest && !gte("0.7.13", latest)) {
|
|
603209
|
+
writeToStdout(`Update available: ${"0.7.13"} → ${latest}
|
|
603193
603210
|
`);
|
|
603194
603211
|
writeToStdout(`
|
|
603195
603212
|
`);
|
|
@@ -603205,8 +603222,8 @@ async function update() {
|
|
|
603205
603222
|
writeToStdout(`Cody CLI is managed by apk.
|
|
603206
603223
|
`);
|
|
603207
603224
|
const latest = await getLatestVersion(channel);
|
|
603208
|
-
if (latest && !gte("0.7.
|
|
603209
|
-
writeToStdout(`Update available: ${"0.7.
|
|
603225
|
+
if (latest && !gte("0.7.13", latest)) {
|
|
603226
|
+
writeToStdout(`Update available: ${"0.7.13"} → ${latest}
|
|
603210
603227
|
`);
|
|
603211
603228
|
writeToStdout(`
|
|
603212
603229
|
`);
|
|
@@ -603271,11 +603288,11 @@ async function update() {
|
|
|
603271
603288
|
`);
|
|
603272
603289
|
await gracefulShutdown(1);
|
|
603273
603290
|
}
|
|
603274
|
-
if (result.latestVersion === "0.7.
|
|
603275
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603291
|
+
if (result.latestVersion === "0.7.13") {
|
|
603292
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.13"})`) + `
|
|
603276
603293
|
`);
|
|
603277
603294
|
} else {
|
|
603278
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603295
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${result.latestVersion}`) + `
|
|
603279
603296
|
`);
|
|
603280
603297
|
await regenerateCompletionCache();
|
|
603281
603298
|
}
|
|
@@ -603335,12 +603352,12 @@ async function update() {
|
|
|
603335
603352
|
`);
|
|
603336
603353
|
await gracefulShutdown(1);
|
|
603337
603354
|
}
|
|
603338
|
-
if (latestVersion === "0.7.
|
|
603339
|
-
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.
|
|
603355
|
+
if (latestVersion === "0.7.13") {
|
|
603356
|
+
writeToStdout(source_default.green(`Cody CLI is up to date (${"0.7.13"})`) + `
|
|
603340
603357
|
`);
|
|
603341
603358
|
await gracefulShutdown(0);
|
|
603342
603359
|
}
|
|
603343
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.
|
|
603360
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.7.13"})
|
|
603344
603361
|
`);
|
|
603345
603362
|
writeToStdout(`Installing update...
|
|
603346
603363
|
`);
|
|
@@ -603385,7 +603402,7 @@ async function update() {
|
|
|
603385
603402
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
603386
603403
|
switch (status2) {
|
|
603387
603404
|
case "success":
|
|
603388
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.7.
|
|
603405
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.7.13"} to version ${latestVersion}`) + `
|
|
603389
603406
|
`);
|
|
603390
603407
|
await regenerateCompletionCache();
|
|
603391
603408
|
break;
|
|
@@ -604629,7 +604646,7 @@ ${customInstructions}` : customInstructions;
|
|
|
604629
604646
|
}
|
|
604630
604647
|
}
|
|
604631
604648
|
logForDiagnosticsNoPII("info", "started", {
|
|
604632
|
-
version: "0.7.
|
|
604649
|
+
version: "0.7.13",
|
|
604633
604650
|
is_native_binary: isInBundledMode()
|
|
604634
604651
|
});
|
|
604635
604652
|
registerCleanup(async () => {
|
|
@@ -605397,7 +605414,7 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605397
605414
|
} else {
|
|
605398
605415
|
const pendingHookMessages = hooksPromise && hookMessages.length === 0 ? hooksPromise : undefined;
|
|
605399
605416
|
profileCheckpoint("action_after_hooks");
|
|
605400
|
-
console.log(getWelcomeMessage("0.7.
|
|
605417
|
+
console.log(getWelcomeMessage("0.7.13"));
|
|
605401
605418
|
maybeActivateProactive(options);
|
|
605402
605419
|
maybeActivateBrief(options);
|
|
605403
605420
|
if (false) {}
|
|
@@ -605414,10 +605431,10 @@ Usage: cody --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
605414
605431
|
pendingHookMessages
|
|
605415
605432
|
}, renderAndRun);
|
|
605416
605433
|
}
|
|
605417
|
-
}).version("0.7.
|
|
605434
|
+
}).version("0.7.13 (Cody CLI)", "-v, --version", "Output the version number");
|
|
605418
605435
|
program2.configureOutput({
|
|
605419
605436
|
writeOut: (str2) => {
|
|
605420
|
-
if (str2.includes("0.7.
|
|
605437
|
+
if (str2.includes("0.7.13")) {
|
|
605421
605438
|
process.stdout.write(getCodyLogo() + `
|
|
605422
605439
|
` + str2);
|
|
605423
605440
|
} else {
|
|
@@ -605962,7 +605979,7 @@ async function main2() {
|
|
|
605962
605979
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
605963
605980
|
const { getCodyLogo: getCodyLogo2 } = await Promise.resolve().then(() => (init_branding(), exports_branding));
|
|
605964
605981
|
console.log(getCodyLogo2() + `
|
|
605965
|
-
0.7.
|
|
605982
|
+
0.7.13 (Cody CLI)`);
|
|
605966
605983
|
return;
|
|
605967
605984
|
}
|
|
605968
605985
|
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.13",
|
|
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",
|