@google/gemini-cli 0.42.0-nightly.20260505.g8f0edcd64 → 0.42.0-preview.0
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-D2C64P5Z.js → chunk-4LCWAZQL.js} +1 -1
- package/bundle/{chunk-2CBGERHU.js → chunk-6BMBSK77.js} +2 -2
- package/bundle/{chunk-DEZGYGYJ.js → chunk-6KCFSK2J.js} +2 -2
- package/bundle/{chunk-DOKLYVG7.js → chunk-6QYD32J3.js} +1 -1
- package/bundle/{chunk-BUGLHA3O.js → chunk-CBWESCDG.js} +41 -39
- package/bundle/{chunk-MN6H6QQI.js → chunk-CLT3IJGB.js} +6 -9
- package/bundle/{chunk-SVNKO43I.js → chunk-ETRUTVTR.js} +1 -1
- package/bundle/{chunk-NR6SB2E6.js → chunk-EW6BCPVC.js} +1 -1
- package/bundle/{chunk-MUERKGUO.js → chunk-F7B6HX6S.js} +2 -2
- package/bundle/{chunk-7K3BDMNW.js → chunk-GFPE65Z3.js} +41 -39
- package/bundle/{chunk-6HZLEGSD.js → chunk-HSZC7H6N.js} +2 -2
- package/bundle/{chunk-J6WFSC7E.js → chunk-IGYW5IPQ.js} +12752 -6844
- package/bundle/{chunk-PKBMZN3F.js → chunk-J3JE6HQX.js} +1 -1
- package/bundle/{chunk-FTZQW7RL.js → chunk-J6LCLN2Y.js} +1 -1
- package/bundle/{chunk-LRWJKYUM.js → chunk-KILMJEVY.js} +1 -1
- package/bundle/{chunk-RFIPC47H.js → chunk-M4GY7DCE.js} +27 -17
- package/bundle/{chunk-HVV5CBCQ.js → chunk-N3W3RYXN.js} +89 -100
- package/bundle/{chunk-AYFTTAOC.js → chunk-NOEPPT4R.js} +1 -1
- package/bundle/{chunk-DYIFKWND.js → chunk-NQ7WZMXX.js} +27 -17
- package/bundle/{chunk-XHY7VA2C.js → chunk-QMK75Y7E.js} +2 -2
- package/bundle/{chunk-K7EIS2YB.js → chunk-UO7OO22U.js} +8 -9
- package/bundle/{chunk-OBW35HU4.js → chunk-VUENLVGO.js} +3 -3
- package/bundle/{chunk-T3OZ4PED.js → chunk-WSLK3AUT.js} +1 -1
- package/bundle/{chunk-X6HRLMVI.js → chunk-Y2QKRHXR.js} +3 -3
- package/bundle/{cleanup-7KSYJH2O.js → cleanup-LH7RU457.js} +2 -2
- package/bundle/{cleanup-G27FRCT3.js → cleanup-T2HYKF7I.js} +2 -2
- package/bundle/{cleanup-BRSVXJUB.js → cleanup-ZBHF7PUC.js} +3 -3
- package/bundle/{core-AGJ4OBNK.js → core-IIB5TH4W.js} +1 -1
- package/bundle/{dist-G2IISA3O.js → core-QH4PNJQ3.js} +2 -2
- package/bundle/{devtoolsService-5YOCS3OU.js → devtoolsService-NIEGPNPT.js} +2 -2
- package/bundle/{devtoolsService-D2JPFCIT.js → devtoolsService-NXXQULSB.js} +2 -2
- package/bundle/{devtoolsService-DGWNCZQ3.js → devtoolsService-USWJ4OCC.js} +4 -5
- package/bundle/{dist-7DXQMMPF.js → dist-P6VZ5KI4.js} +1 -1
- package/bundle/{gemini-SURP22FP.js → gemini-H26TLDOV.js} +14 -14
- package/bundle/{gemini-E3ZPJJU6.js → gemini-NFPXCHZM.js} +13 -13
- package/bundle/{gemini-7RWGK2CD.js → gemini-U45ZMNQE.js} +186 -200
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-KNIYNKPE.js → interactiveCli-AT7D6KM5.js} +25 -15
- package/bundle/{interactiveCli-34WZVFXH.js → interactiveCli-MMM7Z6CJ.js} +25 -15
- package/bundle/{interactiveCli-D2PQQYPT.js → interactiveCli-O6EFASZD.js} +293 -301
- package/bundle/{liteRtServerManager-I5DVLB5U.js → liteRtServerManager-G5EHBOWM.js} +4 -4
- package/bundle/{liteRtServerManager-TWDZR6MD.js → liteRtServerManager-JCITNPUM.js} +5 -5
- package/bundle/{liteRtServerManager-LO3TTXD6.js → liteRtServerManager-QB74ZF32.js} +4 -4
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-IC5HO7RX.js → oauth2-provider-K5IZHYDJ.js} +1 -1
- package/bundle/{oauth2-provider-6TFHU5SO.js → oauth2-provider-V6ROFUMU.js} +1 -1
- package/bundle/{oauth2-provider-RRLZHENJ.js → oauth2-provider-ZKX2USIN.js} +73 -39
- package/bundle/{start-AOW6LPFZ.js → start-B4GKBYKT.js} +6 -6
- package/bundle/{start-A22FESG3.js → start-SW3EMEQ2.js} +7 -7
- package/bundle/{start-DQV4LNVR.js → start-WILIWWLN.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-7Q5NGMJO.js +0 -118
- package/bundle/chunk-L7YU4GAQ.js +0 -156
- package/bundle/chunk-QTRRFFFG.js +0 -355999
- package/bundle/chunk-RFZFK4JU.js +0 -17230
- package/bundle/chunk-XEH7EX5B.js +0 -512
- package/bundle/chunk-Y24ZZ77D.js +0 -81542
- package/bundle/chunk-YV3D27AG.js +0 -1571
- package/bundle/chunk-ZM3UHGRF.js +0 -391
- package/bundle/cleanup-J3S2VJHM.js +0 -33
- package/bundle/devtoolsService-VB7MCC2X.js +0 -857
- package/bundle/dist-SIB6NRYV.js +0 -2096
- package/bundle/gemini-OLIA6BD3.js +0 -16256
- package/bundle/interactiveCli-ADJEGKJD.js +0 -34495
- package/bundle/liteRtServerManager-SKLLI7O4.js +0 -66
- package/bundle/oauth2-provider-KNQFMZAQ.js +0 -237
- package/bundle/start-P5J7HABT.js +0 -19
|
@@ -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-EW6BCPVC.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-WSLK3AUT.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6QYD32J3.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
20
|
} from "./chunk-ECNYAST2.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
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-ETRUTVTR.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
getChannelFromVersion,
|
|
8
8
|
isGitRepository
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NQ7WZMXX.js";
|
|
10
10
|
import {
|
|
11
11
|
debugLogger
|
|
12
12
|
} from "./chunk-JEW7ZIWE.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J6LCLN2Y.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -57,14 +57,14 @@ import {
|
|
|
57
57
|
stripUnsafeCharacters,
|
|
58
58
|
toCodePoints,
|
|
59
59
|
validateCustomTheme
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NOEPPT4R.js";
|
|
61
61
|
import {
|
|
62
62
|
isDevelopment
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-6KCFSK2J.js";
|
|
64
64
|
import {
|
|
65
65
|
emptyIcon,
|
|
66
66
|
require_react
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-J3JE6HQX.js";
|
|
68
68
|
import {
|
|
69
69
|
AsyncFzf,
|
|
70
70
|
AuthType,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
stripAnsi,
|
|
213
213
|
tokenLimit,
|
|
214
214
|
uiTelemetryService
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-NQ7WZMXX.js";
|
|
216
216
|
import {
|
|
217
217
|
ApprovalMode,
|
|
218
218
|
CoreEvent,
|
|
@@ -56454,7 +56454,7 @@ var authCommand = {
|
|
|
56454
56454
|
import process28 from "node:process";
|
|
56455
56455
|
|
|
56456
56456
|
// packages/cli/src/generated/git-commit.ts
|
|
56457
|
-
var GIT_COMMIT_INFO = "
|
|
56457
|
+
var GIT_COMMIT_INFO = "3c1206540";
|
|
56458
56458
|
|
|
56459
56459
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56460
56460
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -57259,46 +57259,48 @@ var compressCommand = {
|
|
|
57259
57259
|
compressionStatus: null
|
|
57260
57260
|
}
|
|
57261
57261
|
};
|
|
57262
|
-
|
|
57263
|
-
|
|
57264
|
-
|
|
57265
|
-
|
|
57266
|
-
|
|
57267
|
-
|
|
57268
|
-
|
|
57269
|
-
if (compressed) {
|
|
57270
|
-
ui2.addItem(
|
|
57271
|
-
{
|
|
57272
|
-
type: "compression" /* COMPRESSION */,
|
|
57273
|
-
compression: {
|
|
57274
|
-
isPending: false,
|
|
57275
|
-
originalTokenCount: compressed.originalTokenCount,
|
|
57276
|
-
newTokenCount: compressed.newTokenCount,
|
|
57277
|
-
compressionStatus: compressed.compressionStatus
|
|
57278
|
-
}
|
|
57279
|
-
},
|
|
57280
|
-
Date.now()
|
|
57262
|
+
ui2.setPendingItem(pendingMessage);
|
|
57263
|
+
void (async () => {
|
|
57264
|
+
try {
|
|
57265
|
+
const promptId = `compress-${Date.now()}`;
|
|
57266
|
+
const compressed = await context.services.agentContext?.geminiClient?.tryCompressChat(
|
|
57267
|
+
promptId,
|
|
57268
|
+
true
|
|
57281
57269
|
);
|
|
57282
|
-
|
|
57270
|
+
if (compressed) {
|
|
57271
|
+
ui2.addItem(
|
|
57272
|
+
{
|
|
57273
|
+
type: "compression" /* COMPRESSION */,
|
|
57274
|
+
compression: {
|
|
57275
|
+
isPending: false,
|
|
57276
|
+
originalTokenCount: compressed.originalTokenCount,
|
|
57277
|
+
newTokenCount: compressed.newTokenCount,
|
|
57278
|
+
compressionStatus: compressed.compressionStatus
|
|
57279
|
+
}
|
|
57280
|
+
},
|
|
57281
|
+
Date.now()
|
|
57282
|
+
);
|
|
57283
|
+
} else {
|
|
57284
|
+
ui2.addItem(
|
|
57285
|
+
{
|
|
57286
|
+
type: "error" /* ERROR */,
|
|
57287
|
+
text: "Failed to compress chat history."
|
|
57288
|
+
},
|
|
57289
|
+
Date.now()
|
|
57290
|
+
);
|
|
57291
|
+
}
|
|
57292
|
+
} catch (e) {
|
|
57283
57293
|
ui2.addItem(
|
|
57284
57294
|
{
|
|
57285
57295
|
type: "error" /* ERROR */,
|
|
57286
|
-
text:
|
|
57296
|
+
text: `Failed to compress chat history: ${e instanceof Error ? e.message : String(e)}`
|
|
57287
57297
|
},
|
|
57288
57298
|
Date.now()
|
|
57289
57299
|
);
|
|
57300
|
+
} finally {
|
|
57301
|
+
ui2.setPendingItem(null);
|
|
57290
57302
|
}
|
|
57291
|
-
}
|
|
57292
|
-
ui2.addItem(
|
|
57293
|
-
{
|
|
57294
|
-
type: "error" /* ERROR */,
|
|
57295
|
-
text: `Failed to compress chat history: ${e instanceof Error ? e.message : String(e)}`
|
|
57296
|
-
},
|
|
57297
|
-
Date.now()
|
|
57298
|
-
);
|
|
57299
|
-
} finally {
|
|
57300
|
-
ui2.setPendingItem(null);
|
|
57301
|
-
}
|
|
57303
|
+
})();
|
|
57302
57304
|
}
|
|
57303
57305
|
};
|
|
57304
57306
|
|
|
@@ -62120,7 +62122,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62120
62122
|
type: "info",
|
|
62121
62123
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62122
62124
|
});
|
|
62123
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
62125
|
+
const { MCPOAuthProvider } = await import("./dist-P6VZ5KI4.js");
|
|
62124
62126
|
let oauthConfig = server.oauth;
|
|
62125
62127
|
if (!oauthConfig) {
|
|
62126
62128
|
oauthConfig = { enabled: false };
|
|
@@ -1,8 +1,6 @@
|
|
|
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
|
AuthProviderType,
|
|
4
|
-
AuthType,
|
|
5
|
-
CoreToolCallStatus,
|
|
6
4
|
DEFAULT_MODEL_CONFIGS,
|
|
7
5
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
8
6
|
SESSION_FILE_PREFIX,
|
|
@@ -22,9 +20,8 @@ import {
|
|
|
22
20
|
require_strip_json_comments,
|
|
23
21
|
sanitizeFilenamePart,
|
|
24
22
|
stripAnsi
|
|
25
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IGYW5IPQ.js";
|
|
26
24
|
import {
|
|
27
|
-
CoreEvent,
|
|
28
25
|
FatalConfigError,
|
|
29
26
|
GEMINI_DIR,
|
|
30
27
|
Storage,
|
|
@@ -33,7 +30,7 @@ import {
|
|
|
33
30
|
external_exports,
|
|
34
31
|
getErrorMessage,
|
|
35
32
|
homedir
|
|
36
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ECNYAST2.js";
|
|
37
34
|
import {
|
|
38
35
|
__commonJS,
|
|
39
36
|
__require,
|
|
@@ -10208,7 +10205,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10208
10205
|
args: tool.args,
|
|
10209
10206
|
description: tool.description || "",
|
|
10210
10207
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
10211
|
-
status: tool.status === "success" ?
|
|
10208
|
+
status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
|
|
10212
10209
|
resultDisplay: tool.resultDisplay,
|
|
10213
10210
|
confirmationDetails: void 0
|
|
10214
10211
|
}))
|
|
@@ -16232,8 +16229,8 @@ var LoadedSettings = class {
|
|
|
16232
16229
|
// React will pass a listener fn into this subscribe fn
|
|
16233
16230
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
16234
16231
|
subscribe(listener) {
|
|
16235
|
-
coreEvents.on(
|
|
16236
|
-
return () => coreEvents.off(
|
|
16232
|
+
coreEvents.on("settings-changed" /* SettingsChanged */, listener);
|
|
16233
|
+
return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
|
|
16237
16234
|
}
|
|
16238
16235
|
getSnapshot() {
|
|
16239
16236
|
return this._snapshot;
|
|
@@ -16336,7 +16333,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16336
16333
|
}
|
|
16337
16334
|
}
|
|
16338
16335
|
let value = "cloudshell-gca";
|
|
16339
|
-
if (selectedAuthType ===
|
|
16336
|
+
if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
16340
16337
|
value = process2.env[USER_GCP_PROJECT];
|
|
16341
16338
|
}
|
|
16342
16339
|
if (envFilePath && fs4.existsSync(envFilePath)) {
|
|
@@ -1,12 +1,12 @@
|
|
|
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-QMK75Y7E.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
getChannelFromVersion,
|
|
8
8
|
isGitRepository
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M4GY7DCE.js";
|
|
10
10
|
import {
|
|
11
11
|
debugLogger
|
|
12
12
|
} from "./chunk-ECNYAST2.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4LCWAZQL.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -57,14 +57,14 @@ import {
|
|
|
57
57
|
stripUnsafeCharacters,
|
|
58
58
|
toCodePoints,
|
|
59
59
|
validateCustomTheme
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-CLT3IJGB.js";
|
|
61
61
|
import {
|
|
62
62
|
isDevelopment
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VUENLVGO.js";
|
|
64
64
|
import {
|
|
65
65
|
emptyIcon,
|
|
66
66
|
require_react
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-KILMJEVY.js";
|
|
68
68
|
import {
|
|
69
69
|
AsyncFzf,
|
|
70
70
|
Config,
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
stripAnsi,
|
|
201
201
|
tokenLimit,
|
|
202
202
|
uiTelemetryService
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-IGYW5IPQ.js";
|
|
204
204
|
import {
|
|
205
205
|
ApprovalMode,
|
|
206
206
|
CoreEvent,
|
|
@@ -56441,7 +56441,7 @@ var authCommand = {
|
|
|
56441
56441
|
import process28 from "node:process";
|
|
56442
56442
|
|
|
56443
56443
|
// packages/cli/src/generated/git-commit.ts
|
|
56444
|
-
var GIT_COMMIT_INFO = "
|
|
56444
|
+
var GIT_COMMIT_INFO = "0803007c8";
|
|
56445
56445
|
|
|
56446
56446
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56447
56447
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -57246,46 +57246,48 @@ var compressCommand = {
|
|
|
57246
57246
|
compressionStatus: null
|
|
57247
57247
|
}
|
|
57248
57248
|
};
|
|
57249
|
-
|
|
57250
|
-
|
|
57251
|
-
|
|
57252
|
-
|
|
57253
|
-
|
|
57254
|
-
|
|
57255
|
-
|
|
57256
|
-
if (compressed) {
|
|
57257
|
-
ui2.addItem(
|
|
57258
|
-
{
|
|
57259
|
-
type: "compression" /* COMPRESSION */,
|
|
57260
|
-
compression: {
|
|
57261
|
-
isPending: false,
|
|
57262
|
-
originalTokenCount: compressed.originalTokenCount,
|
|
57263
|
-
newTokenCount: compressed.newTokenCount,
|
|
57264
|
-
compressionStatus: compressed.compressionStatus
|
|
57265
|
-
}
|
|
57266
|
-
},
|
|
57267
|
-
Date.now()
|
|
57249
|
+
ui2.setPendingItem(pendingMessage);
|
|
57250
|
+
void (async () => {
|
|
57251
|
+
try {
|
|
57252
|
+
const promptId = `compress-${Date.now()}`;
|
|
57253
|
+
const compressed = await context.services.agentContext?.geminiClient?.tryCompressChat(
|
|
57254
|
+
promptId,
|
|
57255
|
+
true
|
|
57268
57256
|
);
|
|
57269
|
-
|
|
57257
|
+
if (compressed) {
|
|
57258
|
+
ui2.addItem(
|
|
57259
|
+
{
|
|
57260
|
+
type: "compression" /* COMPRESSION */,
|
|
57261
|
+
compression: {
|
|
57262
|
+
isPending: false,
|
|
57263
|
+
originalTokenCount: compressed.originalTokenCount,
|
|
57264
|
+
newTokenCount: compressed.newTokenCount,
|
|
57265
|
+
compressionStatus: compressed.compressionStatus
|
|
57266
|
+
}
|
|
57267
|
+
},
|
|
57268
|
+
Date.now()
|
|
57269
|
+
);
|
|
57270
|
+
} else {
|
|
57271
|
+
ui2.addItem(
|
|
57272
|
+
{
|
|
57273
|
+
type: "error" /* ERROR */,
|
|
57274
|
+
text: "Failed to compress chat history."
|
|
57275
|
+
},
|
|
57276
|
+
Date.now()
|
|
57277
|
+
);
|
|
57278
|
+
}
|
|
57279
|
+
} catch (e) {
|
|
57270
57280
|
ui2.addItem(
|
|
57271
57281
|
{
|
|
57272
57282
|
type: "error" /* ERROR */,
|
|
57273
|
-
text:
|
|
57283
|
+
text: `Failed to compress chat history: ${e instanceof Error ? e.message : String(e)}`
|
|
57274
57284
|
},
|
|
57275
57285
|
Date.now()
|
|
57276
57286
|
);
|
|
57287
|
+
} finally {
|
|
57288
|
+
ui2.setPendingItem(null);
|
|
57277
57289
|
}
|
|
57278
|
-
}
|
|
57279
|
-
ui2.addItem(
|
|
57280
|
-
{
|
|
57281
|
-
type: "error" /* ERROR */,
|
|
57282
|
-
text: `Failed to compress chat history: ${e instanceof Error ? e.message : String(e)}`
|
|
57283
|
-
},
|
|
57284
|
-
Date.now()
|
|
57285
|
-
);
|
|
57286
|
-
} finally {
|
|
57287
|
-
ui2.setPendingItem(null);
|
|
57288
|
-
}
|
|
57290
|
+
})();
|
|
57289
57291
|
}
|
|
57290
57292
|
};
|
|
57291
57293
|
|
|
@@ -62107,7 +62109,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62107
62109
|
type: "info",
|
|
62108
62110
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62109
62111
|
});
|
|
62110
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
62112
|
+
const { MCPOAuthProvider } = await import("./core-QH4PNJQ3.js");
|
|
62111
62113
|
let oauthConfig = server.oauth;
|
|
62112
62114
|
if (!oauthConfig) {
|
|
62113
62115
|
oauthConfig = { enabled: false };
|
|
@@ -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-J6LCLN2Y.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NOEPPT4R.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
20
|
} from "./chunk-JEW7ZIWE.js";
|