@google/gemini-cli 0.61.0-preview.0 → 0.62.0-nightly.20260916.g6a466a7e2
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/bundle/{chunk-HQQJ2XNS.js → chunk-2ZPXQGZA.js} +1 -1
- package/bundle/{chunk-YJFCJUWN.js → chunk-2ZXVM5VD.js} +1 -1
- package/bundle/{chunk-UUSSUQWL.js → chunk-3ZF5XZOW.js} +9 -8
- package/bundle/{chunk-KUWKDEHW.js → chunk-6MRHUUCE.js} +8 -5
- package/bundle/{chunk-3KWHN3A7.js → chunk-6YMFCRBY.js} +1 -1
- package/bundle/{chunk-AIMNGITH.js → chunk-A2H7KTL6.js} +3 -3
- package/bundle/{chunk-FIYKTSCR.js → chunk-A7UWNGLN.js} +1 -1
- package/bundle/{chunk-ACTC6X24.js → chunk-AENGMVHR.js} +94 -20
- package/bundle/{chunk-GLGFO33Y.js → chunk-CITNSBTB.js} +1 -1
- package/bundle/{chunk-DO6WSZ5A.js → chunk-CLN3AE74.js} +2 -2
- package/bundle/{chunk-WFZMFTEE.js → chunk-DZD5OCWY.js} +3 -3
- package/bundle/{chunk-DOJZLPDE.js → chunk-EFKBIPPH.js} +1 -1
- package/bundle/{chunk-6HVPDYWM.js → chunk-FMULGVT5.js} +3 -3
- package/bundle/{chunk-4WJNJ3DK.js → chunk-GGPWDDFF.js} +1 -1
- package/bundle/{chunk-BCGPZKAR.js → chunk-HDSCCQMH.js} +1 -1
- package/bundle/{chunk-OANXWSAG.js → chunk-INFOZXRJ.js} +7849 -14610
- package/bundle/{chunk-LDL5PSV7.js → chunk-IS2GHMNQ.js} +2 -2
- package/bundle/chunk-J6YEVFLL.js +154 -0
- package/bundle/chunk-K3QY54TJ.js +512 -0
- package/bundle/chunk-KRKQA6BK.js +118 -0
- package/bundle/{chunk-UCLFGIUA.js → chunk-MWERFXLT.js} +2 -2
- package/bundle/{chunk-FH2AJT7C.js → chunk-NSC3QBEC.js} +110 -20
- package/bundle/{chunk-HGJ3LRCZ.js → chunk-OOQPFL3D.js} +1 -1
- package/bundle/{chunk-OZG5CLDY.js → chunk-Q3DOQGPL.js} +7 -7
- package/bundle/chunk-RWMOTXNW.js +399552 -0
- package/bundle/{chunk-ZOKIJ2CA.js → chunk-SNPJYL22.js} +67 -54
- package/bundle/{chunk-XL4BRDNV.js → chunk-UUUOULJ2.js} +7 -7
- package/bundle/chunk-VCRK6XYZ.js +17353 -0
- package/bundle/chunk-VJTRCRRE.js +398 -0
- package/bundle/{chunk-ZJHBR7W3.js → chunk-XQ7FVW42.js} +1 -1
- package/bundle/chunk-XZXMHK57.js +1571 -0
- package/bundle/chunk-ZSPN4JUH.js +102678 -0
- package/bundle/{cleanup-AM5TUWBB.js → cleanup-DIILMXEW.js} +2 -2
- package/bundle/{cleanup-FLPPBDLV.js → cleanup-DQZBXJQ5.js} +2 -2
- package/bundle/{cleanup-KI735Y45.js → cleanup-HEOQHGM6.js} +2 -2
- package/bundle/cleanup-XYPJ5BBD.js +32 -0
- package/bundle/{core-R7CF7CQD.js → core-4DHKTWZ2.js} +7 -1
- package/bundle/{devtoolsService-UUGXHVTK.js → devtoolsService-7LBWUQIQ.js} +2 -2
- package/bundle/{devtoolsService-MA34M6Q7.js → devtoolsService-QJHOMSYF.js} +2 -2
- package/bundle/{devtoolsService-WOA7VJLA.js → devtoolsService-YZJKH637.js} +4 -3
- package/bundle/devtoolsService-ZIP35XF5.js +4359 -0
- package/bundle/{dist-VH7RJCTA.js → dist-7FYHIT6B.js} +7 -1
- package/bundle/{core-F6IWXMFD.js → dist-BGO6KF4P.js} +7 -1
- package/bundle/dist-VQ5GJXOA.js +2222 -0
- package/bundle/docs/changelogs/index.md +14 -0
- package/bundle/docs/changelogs/latest.md +55 -21
- package/bundle/docs/changelogs/preview.md +30 -54
- package/bundle/{gemini-N24ID3HC.js → gemini-4CJ3SSKF.js} +18 -17
- package/bundle/{gemini-NLU2EPRF.js → gemini-DLBDVVA3.js} +18 -17
- package/bundle/gemini-LV4NG4SM.js +17763 -0
- package/bundle/{gemini-SRSLV7D2.js → gemini-Z6LP5SXK.js} +218 -201
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-SOMGNC7U.js → interactiveCli-LHN6WWUZ.js} +8 -8
- package/bundle/{interactiveCli-DDJZ4B26.js → interactiveCli-O3S3QTKV.js} +315 -296
- package/bundle/interactiveCli-QUMYNXUZ.js +35024 -0
- package/bundle/{interactiveCli-PNXXOFIE.js → interactiveCli-TUXEPH5P.js} +8 -8
- package/bundle/{liteRtServerManager-HDIBGLHN.js → liteRtServerManager-ISZAREVH.js} +4 -4
- package/bundle/{liteRtServerManager-XEOODEAA.js → liteRtServerManager-IZLAYVZN.js} +4 -4
- package/bundle/{liteRtServerManager-GW22Q7F4.js → liteRtServerManager-SNXJPNND.js} +4 -4
- package/bundle/liteRtServerManager-ZJURR5VG.js +65 -0
- package/bundle/{oauth2-provider-SADAKLZ2.js → oauth2-provider-3657SWNX.js} +1 -1
- package/bundle/{oauth2-provider-347DWYC5.js → oauth2-provider-5EU7U6FM.js} +38 -72
- package/bundle/{oauth2-provider-ZC45IIOS.js → oauth2-provider-6C2WVQI4.js} +1 -1
- package/bundle/oauth2-provider-H7KLMC25.js +235 -0
- package/bundle/{start-IVH46CBG.js → start-6IM4YLMK.js} +6 -6
- package/bundle/{start-PRP35I6V.js → start-BSTIFKRX.js} +6 -6
- package/bundle/{start-H7F3LFFN.js → start-JJUNWR7U.js} +6 -6
- package/bundle/start-ZE4GYJON.js +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
|
+
import {
|
|
3
|
+
exitCli,
|
|
4
|
+
require_source
|
|
5
|
+
} from "./chunk-6YMFCRBY.js";
|
|
6
|
+
import {
|
|
7
|
+
DEFAULT_PORT,
|
|
8
|
+
SERVER_START_WAIT_MS,
|
|
9
|
+
getBinaryPath,
|
|
10
|
+
getLiteRtBinDir,
|
|
11
|
+
getLogFilePath,
|
|
12
|
+
getPidFilePath,
|
|
13
|
+
isBinaryInstalled,
|
|
14
|
+
isServerRunning,
|
|
15
|
+
resolveGemmaConfig,
|
|
16
|
+
writeServerProcessInfo
|
|
17
|
+
} from "./chunk-VCRK6XYZ.js";
|
|
18
|
+
import {
|
|
19
|
+
debugLogger
|
|
20
|
+
} from "./chunk-INFOZXRJ.js";
|
|
21
|
+
import {
|
|
22
|
+
__toESM
|
|
23
|
+
} from "./chunk-34MYV7JD.js";
|
|
24
|
+
|
|
25
|
+
// packages/cli/src/commands/gemma/start.ts
|
|
26
|
+
var import_chalk = __toESM(require_source(), 1);
|
|
27
|
+
import fs from "node:fs";
|
|
28
|
+
import path from "node:path";
|
|
29
|
+
import { spawn } from "node:child_process";
|
|
30
|
+
async function startServer(binaryPath, port) {
|
|
31
|
+
const alreadyRunning = await isServerRunning(port);
|
|
32
|
+
if (alreadyRunning) {
|
|
33
|
+
debugLogger.log(`LiteRT server already running on port ${port}`);
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
const logPath = getLogFilePath();
|
|
37
|
+
fs.mkdirSync(getLiteRtBinDir(), { recursive: true });
|
|
38
|
+
const tmpDir = path.dirname(getPidFilePath());
|
|
39
|
+
fs.mkdirSync(tmpDir, { recursive: true });
|
|
40
|
+
const logFd = fs.openSync(logPath, "a");
|
|
41
|
+
try {
|
|
42
|
+
const child = spawn(binaryPath, ["serve", `--port=${port}`, "--verbose"], {
|
|
43
|
+
detached: true,
|
|
44
|
+
stdio: ["ignore", logFd, logFd]
|
|
45
|
+
});
|
|
46
|
+
if (child.pid) {
|
|
47
|
+
writeServerProcessInfo({
|
|
48
|
+
pid: child.pid,
|
|
49
|
+
binaryPath,
|
|
50
|
+
port
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
child.unref();
|
|
54
|
+
} finally {
|
|
55
|
+
fs.closeSync(logFd);
|
|
56
|
+
}
|
|
57
|
+
await new Promise((resolve) => setTimeout(resolve, SERVER_START_WAIT_MS));
|
|
58
|
+
return isServerRunning(port);
|
|
59
|
+
}
|
|
60
|
+
var startCommand = {
|
|
61
|
+
command: "start",
|
|
62
|
+
describe: "Start the LiteRT-LM server",
|
|
63
|
+
builder: (yargs) => yargs.option("port", {
|
|
64
|
+
type: "number",
|
|
65
|
+
description: "Port for the LiteRT server"
|
|
66
|
+
}),
|
|
67
|
+
handler: async (argv) => {
|
|
68
|
+
let port;
|
|
69
|
+
if (argv["port"] !== void 0) {
|
|
70
|
+
port = Number(argv["port"]);
|
|
71
|
+
}
|
|
72
|
+
if (!port) {
|
|
73
|
+
const { configuredPort } = resolveGemmaConfig(DEFAULT_PORT);
|
|
74
|
+
port = configuredPort;
|
|
75
|
+
}
|
|
76
|
+
const binaryPath = getBinaryPath();
|
|
77
|
+
if (!binaryPath || !isBinaryInstalled(binaryPath)) {
|
|
78
|
+
debugLogger.error(
|
|
79
|
+
import_chalk.default.red(
|
|
80
|
+
'LiteRT-LM binary not found. Run "gemini gemma setup" first.'
|
|
81
|
+
)
|
|
82
|
+
);
|
|
83
|
+
await exitCli(1);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
const alreadyRunning = await isServerRunning(port);
|
|
87
|
+
if (alreadyRunning) {
|
|
88
|
+
debugLogger.log(
|
|
89
|
+
import_chalk.default.green(`LiteRT server is already running on port ${port}.`)
|
|
90
|
+
);
|
|
91
|
+
await exitCli(0);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
debugLogger.log(`Starting LiteRT server on port ${port}...`);
|
|
95
|
+
const started = await startServer(binaryPath, port);
|
|
96
|
+
if (started) {
|
|
97
|
+
debugLogger.log(import_chalk.default.green(`LiteRT server started on port ${port}.`));
|
|
98
|
+
debugLogger.log(import_chalk.default.dim(`Logs: ${getLogFilePath()}`));
|
|
99
|
+
await exitCli(0);
|
|
100
|
+
} else {
|
|
101
|
+
debugLogger.error(
|
|
102
|
+
import_chalk.default.red("Server may not have started correctly. Check logs:")
|
|
103
|
+
);
|
|
104
|
+
debugLogger.error(import_chalk.default.dim(` ${getLogFilePath()}`));
|
|
105
|
+
await exitCli(1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export {
|
|
111
|
+
startServer,
|
|
112
|
+
startCommand
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @license
|
|
116
|
+
* Copyright 2026 Google LLC
|
|
117
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
118
|
+
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J6YEVFLL.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-INFOZXRJ.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -274867,6 +274867,87 @@ function isMcpToolAnnotation(annotation) {
|
|
|
274867
274867
|
const serverName = record2["_serverName"];
|
|
274868
274868
|
return typeof serverName === "string";
|
|
274869
274869
|
}
|
|
274870
|
+
var CONVERSATIONAL_PARAM_KEYS = /* @__PURE__ */ new Set([
|
|
274871
|
+
"description",
|
|
274872
|
+
"explanation",
|
|
274873
|
+
"reason",
|
|
274874
|
+
"thought"
|
|
274875
|
+
]);
|
|
274876
|
+
function formatParamValue(value) {
|
|
274877
|
+
if (value === null || value === void 0) {
|
|
274878
|
+
return String(value);
|
|
274879
|
+
}
|
|
274880
|
+
if (typeof value === "string") {
|
|
274881
|
+
return value;
|
|
274882
|
+
}
|
|
274883
|
+
if (typeof value === "number" || typeof value === "boolean" || typeof value === "bigint") {
|
|
274884
|
+
return String(value);
|
|
274885
|
+
}
|
|
274886
|
+
if (Array.isArray(value)) {
|
|
274887
|
+
return `[${value.map(formatParamValue).join(", ")}]`;
|
|
274888
|
+
}
|
|
274889
|
+
if (typeof value === "object") {
|
|
274890
|
+
const entries = Object.entries(value).filter(([, v]) => v !== void 0).map(([k, v]) => `${k}: ${formatParamValue(v)}`);
|
|
274891
|
+
return `(${entries.join(", ")})`;
|
|
274892
|
+
}
|
|
274893
|
+
return String(value);
|
|
274894
|
+
}
|
|
274895
|
+
function formatToolDescription(toolName, fallbackDisplayName, params) {
|
|
274896
|
+
const functionalEntries = Object.entries(params).filter(
|
|
274897
|
+
([key, val]) => !CONVERSATIONAL_PARAM_KEYS.has(key.toLowerCase()) && val !== void 0
|
|
274898
|
+
);
|
|
274899
|
+
const command = params["command"];
|
|
274900
|
+
if (typeof command === "string" && functionalEntries.length === 1 && functionalEntries[0]?.[0] === "command") {
|
|
274901
|
+
return command;
|
|
274902
|
+
}
|
|
274903
|
+
if (functionalEntries.length === 0) {
|
|
274904
|
+
return fallbackDisplayName || toolName;
|
|
274905
|
+
}
|
|
274906
|
+
const formattedArgs = functionalEntries.map(([key, val]) => `${key}: ${formatParamValue(val)}`).join(", ");
|
|
274907
|
+
return `${toolName}(${formattedArgs})`;
|
|
274908
|
+
}
|
|
274909
|
+
function formatToolDisplayTitle(toolName, fallbackDisplayName, params) {
|
|
274910
|
+
const command = params["command"];
|
|
274911
|
+
if (typeof command === "string" && command.trim().length > 0) {
|
|
274912
|
+
return command;
|
|
274913
|
+
}
|
|
274914
|
+
return formatToolDescription(toolName, fallbackDisplayName, params);
|
|
274915
|
+
}
|
|
274916
|
+
function extractToolExplanation(params) {
|
|
274917
|
+
const MAX_EXPLANATION_LENGTH = 500;
|
|
274918
|
+
const parts2 = [];
|
|
274919
|
+
const command = params["command"];
|
|
274920
|
+
const hasCommand = typeof command === "string" && command.trim().length > 0;
|
|
274921
|
+
if (hasCommand) {
|
|
274922
|
+
const contextEntries = Object.entries(params).filter(
|
|
274923
|
+
([key, val]) => key !== "command" && !CONVERSATIONAL_PARAM_KEYS.has(key.toLowerCase()) && val !== void 0
|
|
274924
|
+
);
|
|
274925
|
+
if (contextEntries.length > 0) {
|
|
274926
|
+
const formattedContext = contextEntries.map(([key, val]) => `${key}: ${formatParamValue(val)}`).join(", ");
|
|
274927
|
+
if (formattedContext.length > MAX_EXPLANATION_LENGTH) {
|
|
274928
|
+
const keys = Object.keys(params);
|
|
274929
|
+
const displayedKeys = keys.slice(0, 5);
|
|
274930
|
+
const keysDesc = displayedKeys.length > 0 ? ` with parameters: ${displayedKeys.join(", ")}${keys.length > 5 ? ", ..." : ""}` : "";
|
|
274931
|
+
parts2.push(`[Payload omitted due to length${keysDesc}]`);
|
|
274932
|
+
} else {
|
|
274933
|
+
parts2.push(`[${formattedContext}]`);
|
|
274934
|
+
}
|
|
274935
|
+
}
|
|
274936
|
+
}
|
|
274937
|
+
for (const [key, val] of Object.entries(params)) {
|
|
274938
|
+
if (CONVERSATIONAL_PARAM_KEYS.has(key.toLowerCase()) && typeof val === "string" && val.trim().length > 0) {
|
|
274939
|
+
parts2.push(val.trim());
|
|
274940
|
+
}
|
|
274941
|
+
}
|
|
274942
|
+
if (parts2.length === 0) {
|
|
274943
|
+
return "";
|
|
274944
|
+
}
|
|
274945
|
+
const combined = parts2.join(" ");
|
|
274946
|
+
if (combined.length > MAX_EXPLANATION_LENGTH) {
|
|
274947
|
+
return `${combined.slice(0, MAX_EXPLANATION_LENGTH)}...`;
|
|
274948
|
+
}
|
|
274949
|
+
return combined;
|
|
274950
|
+
}
|
|
274870
274951
|
var DiscoveredMCPToolInvocation = class _DiscoveredMCPToolInvocation extends BaseToolInvocation {
|
|
274871
274952
|
constructor(mcpTool, serverName, serverToolName, displayName, messageBus, trust, params = {}, cliConfig, toolDescription, toolParameterSchema, toolAnnotationsData) {
|
|
274872
274953
|
super(
|
|
@@ -274999,25 +275080,21 @@ var DiscoveredMCPToolInvocation = class _DiscoveredMCPToolInvocation extends Bas
|
|
|
274999
275080
|
};
|
|
275000
275081
|
}
|
|
275001
275082
|
getDescription() {
|
|
275002
|
-
return
|
|
275083
|
+
return formatToolDescription(
|
|
275084
|
+
this.serverToolName,
|
|
275085
|
+
this.displayName,
|
|
275086
|
+
this.params
|
|
275087
|
+
);
|
|
275003
275088
|
}
|
|
275004
275089
|
getDisplayTitle() {
|
|
275005
|
-
|
|
275006
|
-
|
|
275007
|
-
|
|
275008
|
-
|
|
275009
|
-
|
|
275090
|
+
return formatToolDisplayTitle(
|
|
275091
|
+
this.serverToolName,
|
|
275092
|
+
this.displayName,
|
|
275093
|
+
this.params
|
|
275094
|
+
);
|
|
275010
275095
|
}
|
|
275011
275096
|
getExplanation() {
|
|
275012
|
-
|
|
275013
|
-
const stringified = safeJsonStringify(this.params);
|
|
275014
|
-
if (stringified.length > MAX_EXPLANATION_LENGTH) {
|
|
275015
|
-
const keys = Object.keys(this.params);
|
|
275016
|
-
const displayedKeys = keys.slice(0, 5);
|
|
275017
|
-
const keysDesc = displayedKeys.length > 0 ? ` with parameters: ${displayedKeys.join(", ")}${keys.length > 5 ? ", ..." : ""}` : "";
|
|
275018
|
-
return `[Payload omitted due to length${keysDesc}]`;
|
|
275019
|
-
}
|
|
275020
|
-
return stringified;
|
|
275097
|
+
return extractToolExplanation(this.params);
|
|
275021
275098
|
}
|
|
275022
275099
|
};
|
|
275023
275100
|
var DiscoveredMCPTool = class extends BaseDeclarativeTool {
|
|
@@ -283525,8 +283602,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
283525
283602
|
}
|
|
283526
283603
|
|
|
283527
283604
|
// packages/core/src/generated/git-commit.ts
|
|
283528
|
-
var GIT_COMMIT_INFO = "
|
|
283529
|
-
var CLI_VERSION = "0.
|
|
283605
|
+
var GIT_COMMIT_INFO = "6a466a7e2";
|
|
283606
|
+
var CLI_VERSION = "0.62.0-nightly.20260915.gae28844fb";
|
|
283530
283607
|
|
|
283531
283608
|
// packages/core/src/ide/detect-ide.ts
|
|
283532
283609
|
var IDE_DEFINITIONS = {
|
|
@@ -307146,7 +307223,7 @@ function getVersion() {
|
|
|
307146
307223
|
}
|
|
307147
307224
|
versionPromise = (async () => {
|
|
307148
307225
|
const pkgJson = await getPackageJson(__dirname4);
|
|
307149
|
-
return "0.
|
|
307226
|
+
return "0.62.0-nightly.20260915.gae28844fb";
|
|
307150
307227
|
})();
|
|
307151
307228
|
return versionPromise;
|
|
307152
307229
|
}
|
|
@@ -313649,7 +313726,17 @@ var DiscoveredToolInvocation = class extends BaseToolInvocation {
|
|
|
313649
313726
|
this.originalToolName = originalToolName;
|
|
313650
313727
|
}
|
|
313651
313728
|
getDescription() {
|
|
313652
|
-
return
|
|
313729
|
+
return formatToolDescription(this.originalToolName, void 0, this.params);
|
|
313730
|
+
}
|
|
313731
|
+
getDisplayTitle() {
|
|
313732
|
+
return formatToolDisplayTitle(
|
|
313733
|
+
this.originalToolName,
|
|
313734
|
+
void 0,
|
|
313735
|
+
this.params
|
|
313736
|
+
);
|
|
313737
|
+
}
|
|
313738
|
+
getExplanation() {
|
|
313739
|
+
return extractToolExplanation(this.params);
|
|
313653
313740
|
}
|
|
313654
313741
|
async execute({
|
|
313655
313742
|
abortSignal: _signal,
|
|
@@ -342859,7 +342946,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
342859
342946
|
return provider;
|
|
342860
342947
|
}
|
|
342861
342948
|
case "oauth2": {
|
|
342862
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
342949
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-6C2WVQI4.js");
|
|
342863
342950
|
const provider = new OAuth2AuthProvider(
|
|
342864
342951
|
authConfig,
|
|
342865
342952
|
options.agentName ?? "unknown",
|
|
@@ -404730,6 +404817,9 @@ export {
|
|
|
404730
404817
|
parseMcpToolName,
|
|
404731
404818
|
formatMcpToolName,
|
|
404732
404819
|
isMcpToolAnnotation,
|
|
404820
|
+
formatToolDescription,
|
|
404821
|
+
formatToolDisplayTitle,
|
|
404822
|
+
extractToolExplanation,
|
|
404733
404823
|
DiscoveredMCPToolInvocation,
|
|
404734
404824
|
DiscoveredMCPTool,
|
|
404735
404825
|
generateValidName,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HDSCCQMH.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XZXMHK57.js";
|
|
6
6
|
import {
|
|
7
7
|
AppEvent,
|
|
8
8
|
appEvents
|
|
@@ -59,14 +59,14 @@ import {
|
|
|
59
59
|
stripUnsafeCharacters,
|
|
60
60
|
toCodePoints,
|
|
61
61
|
validateCustomTheme
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-2ZPXQGZA.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IS2GHMNQ.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-K3QY54TJ.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -244,7 +244,7 @@ import {
|
|
|
244
244
|
tokenLimit,
|
|
245
245
|
uiTelemetryService,
|
|
246
246
|
unescapePath
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-AENGMVHR.js";
|
|
248
248
|
import {
|
|
249
249
|
require_src
|
|
250
250
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77337,7 +77337,7 @@ var authCommand = {
|
|
|
77337
77337
|
import process29 from "node:process";
|
|
77338
77338
|
|
|
77339
77339
|
// packages/cli/src/generated/git-commit.ts
|
|
77340
|
-
var GIT_COMMIT_INFO = "
|
|
77340
|
+
var GIT_COMMIT_INFO = "ac7accfa9";
|
|
77341
77341
|
|
|
77342
77342
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77343
77343
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -83118,7 +83118,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
83118
83118
|
type: "info",
|
|
83119
83119
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
83120
83120
|
});
|
|
83121
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
83121
|
+
const { MCPOAuthProvider } = await import("./dist-VQ5GJXOA.js");
|
|
83122
83122
|
let oauthConfig = server.oauth;
|
|
83123
83123
|
if (!oauthConfig) {
|
|
83124
83124
|
oauthConfig = { enabled: false };
|