@google/gemini-cli 0.55.0-preview.2 → 0.55.0-preview.3
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-57ZLFNIU.js → chunk-2K3N3YWJ.js} +1 -1
- package/bundle/{chunk-CYJHOZAD.js → chunk-2YAEBNH4.js} +1 -1
- package/bundle/{chunk-3OPKUUXP.js → chunk-3JEIIDY3.js} +1 -1
- package/bundle/{chunk-4SFKECJB.js → chunk-3KVUW3GS.js} +1 -1
- package/bundle/{chunk-2NTEXQZI.js → chunk-4MK4F3LQ.js} +2 -2
- package/bundle/{chunk-7IYUUE2H.js → chunk-4PVLKN7E.js} +1 -1
- package/bundle/{chunk-CBX65YIB.js → chunk-5C4IPSFG.js} +1 -1
- package/bundle/{chunk-L6Q242KC.js → chunk-6VBVRJ2T.js} +1 -1
- package/bundle/{chunk-KII3XXCP.js → chunk-7U5FKJMS.js} +3 -3
- package/bundle/{chunk-T36P7MFE.js → chunk-BXJWVB6T.js} +7 -7
- package/bundle/{chunk-J6DC57TM.js → chunk-CF6HJK4T.js} +1 -1
- package/bundle/{chunk-A4YWS44A.js → chunk-D7NKQXI3.js} +10 -6
- package/bundle/{chunk-DBPSBJMI.js → chunk-DIJFIQU5.js} +1 -1
- package/bundle/{chunk-O5GQF2L7.js → chunk-DW2J2NTU.js} +1 -1
- package/bundle/{chunk-PTZIAOG5.js → chunk-EBUEQDL4.js} +3 -3
- package/bundle/{chunk-4C7ON4TD.js → chunk-ENEDM4X3.js} +1 -1
- package/bundle/{chunk-LVOM4PEE.js → chunk-ETEDB3N6.js} +2 -2
- package/bundle/{chunk-J27NXCYL.js → chunk-FQNLDGXL.js} +1 -1
- package/bundle/{chunk-OC55SY62.js → chunk-GJBRSFPM.js} +7 -7
- package/bundle/{chunk-DSCF5EA6.js → chunk-IKOQM4YN.js} +3 -3
- package/bundle/{chunk-S3XRZJYO.js → chunk-MOTK2J3L.js} +1 -1
- package/bundle/{chunk-DRN2VYCZ.js → chunk-NQ7ACVH7.js} +2 -2
- package/bundle/{chunk-2ZWCUTMN.js → chunk-OKM3M2PX.js} +1 -1
- package/bundle/{chunk-QPGTVRXP.js → chunk-QJZS4YYR.js} +7 -7
- package/bundle/{chunk-MLTI5CK6.js → chunk-QY6VB26P.js} +9 -5
- package/bundle/{chunk-FH7GCVZY.js → chunk-S35HA76T.js} +2 -2
- package/bundle/{chunk-IHR5TZ6N.js → chunk-V6HSKTFR.js} +3 -3
- package/bundle/{chunk-HZZM77SO.js → chunk-VPMDE76T.js} +10 -6
- package/bundle/{chunk-R3S5PP5S.js → chunk-WWUS7UCO.js} +10 -6
- package/bundle/{chunk-XWGJPCDB.js → chunk-XLLOEYE5.js} +1 -1
- package/bundle/{chunk-SEHUSFSL.js → chunk-XNQ2USVV.js} +1 -1
- package/bundle/{chunk-UXD5COS4.js → chunk-YOSR3LGH.js} +7 -7
- package/bundle/{cleanup-PYHN72B4.js → cleanup-6PJC7KVH.js} +2 -2
- package/bundle/{cleanup-QOIB4MC5.js → cleanup-AA32XASX.js} +2 -2
- package/bundle/{cleanup-X7SPIVY6.js → cleanup-KJNT5CKE.js} +2 -2
- package/bundle/{cleanup-XHKLOUOX.js → cleanup-W4XFBOYU.js} +2 -2
- package/bundle/{core-TM4S2KC6.js → core-PJ4GTWLE.js} +1 -1
- package/bundle/{devtoolsService-QXH36QMO.js → devtoolsService-BPCHKSK6.js} +2 -2
- package/bundle/{devtoolsService-XNULR5OM.js → devtoolsService-DDIV43LO.js} +2 -2
- package/bundle/{devtoolsService-XP7RODGG.js → devtoolsService-SFT4J3TP.js} +2 -2
- package/bundle/{devtoolsService-YBK5NQJR.js → devtoolsService-X4SBEWHU.js} +2 -2
- package/bundle/{dist-DUXHKH4A.js → dist-6SIQ6JNU.js} +1 -1
- package/bundle/{dist-FCM7NH26.js → dist-UVDHLJPD.js} +1 -1
- package/bundle/{dist-LH5DRLX7.js → dist-VQ3F4FS5.js} +1 -1
- package/bundle/{gemini-HDAYOIW2.js → gemini-BMC63EGW.js} +13 -13
- package/bundle/{gemini-ORTIIX7J.js → gemini-EYTXXZKY.js} +14 -14
- package/bundle/{gemini-ZUILAPR6.js → gemini-MSC5T5EU.js} +14 -14
- package/bundle/{gemini-A7HOBIKY.js → gemini-PA23YMHK.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-KX3U7SFD.js → interactiveCli-5Y6AY63C.js} +67 -25
- package/bundle/{interactiveCli-O4YSZIKG.js → interactiveCli-G6PWBLT5.js} +67 -25
- package/bundle/{interactiveCli-H524RKEH.js → interactiveCli-OUPTNZ47.js} +67 -25
- package/bundle/{interactiveCli-YAAI2B6S.js → interactiveCli-T32DVN2I.js} +67 -25
- package/bundle/{liteRtServerManager-FTW42YZF.js → liteRtServerManager-3MCOW5QD.js} +4 -4
- package/bundle/{liteRtServerManager-NW33H3DY.js → liteRtServerManager-7IWRFNTW.js} +4 -4
- package/bundle/{liteRtServerManager-PRXJGWUQ.js → liteRtServerManager-IRFTOINI.js} +4 -4
- package/bundle/{liteRtServerManager-RP2Z5PSZ.js → liteRtServerManager-LVW27XGD.js} +4 -4
- package/bundle/{oauth2-provider-JZQDXWRM.js → oauth2-provider-BPEC44QP.js} +1 -1
- package/bundle/{oauth2-provider-UKW3UFLQ.js → oauth2-provider-FSAA6HVA.js} +1 -1
- package/bundle/{oauth2-provider-AXFTVNOH.js → oauth2-provider-IVUO6NTZ.js} +1 -1
- package/bundle/{oauth2-provider-X4GQTJLG.js → oauth2-provider-PH6ZPS7W.js} +1 -1
- package/bundle/{start-EIHA5TWI.js → start-3M54SR5N.js} +6 -6
- package/bundle/{start-ODF2OV65.js → start-EEVFRHCK.js} +6 -6
- package/bundle/{start-ONHNJJG7.js → start-FC7N6JMG.js} +6 -6
- package/bundle/{start-TSZCFX4W.js → start-N5PPVI4S.js} +6 -6
- package/package.json +1 -1
|
@@ -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-4PVLKN7E.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-MOTK2J3L.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-5C4IPSFG.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-MOTK2J3L.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D7NKQXI3.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-2K3N3YWJ.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XLLOEYE5.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VPMDE76T.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-2K3N3YWJ.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-XLLOEYE5.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-S35HA76T.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-OKM3M2PX.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-VPMDE76T.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77163,7 +77163,7 @@ var authCommand = {
|
|
|
77163
77163
|
import process29 from "node:process";
|
|
77164
77164
|
|
|
77165
77165
|
// packages/cli/src/generated/git-commit.ts
|
|
77166
|
-
var GIT_COMMIT_INFO = "
|
|
77166
|
+
var GIT_COMMIT_INFO = "da3710eb9";
|
|
77167
77167
|
|
|
77168
77168
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77169
77169
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -82944,7 +82944,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82944
82944
|
type: "info",
|
|
82945
82945
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82946
82946
|
});
|
|
82947
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
82947
|
+
const { MCPOAuthProvider } = await import("./core-PJ4GTWLE.js");
|
|
82948
82948
|
let oauthConfig = server.oauth;
|
|
82949
82949
|
if (!oauthConfig) {
|
|
82950
82950
|
oauthConfig = { enabled: false };
|
|
@@ -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-FQNLDGXL.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -282559,8 +282559,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
282559
282559
|
}
|
|
282560
282560
|
|
|
282561
282561
|
// packages/core/dist/src/generated/git-commit.js
|
|
282562
|
-
var GIT_COMMIT_INFO = "
|
|
282563
|
-
var CLI_VERSION = "0.55.0-preview.
|
|
282562
|
+
var GIT_COMMIT_INFO = "da3710eb9";
|
|
282563
|
+
var CLI_VERSION = "0.55.0-preview.2";
|
|
282564
282564
|
|
|
282565
282565
|
// packages/core/dist/src/ide/detect-ide.js
|
|
282566
282566
|
var IDE_DEFINITIONS = {
|
|
@@ -305823,7 +305823,7 @@ function getVersion() {
|
|
|
305823
305823
|
}
|
|
305824
305824
|
versionPromise = (async () => {
|
|
305825
305825
|
const pkgJson = await getPackageJson(__dirname4);
|
|
305826
|
-
return "0.55.0-preview.
|
|
305826
|
+
return "0.55.0-preview.2";
|
|
305827
305827
|
})();
|
|
305828
305828
|
return versionPromise;
|
|
305829
305829
|
}
|
|
@@ -338558,7 +338558,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338558
338558
|
return provider;
|
|
338559
338559
|
}
|
|
338560
338560
|
case "oauth2": {
|
|
338561
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338561
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-BPEC44QP.js");
|
|
338562
338562
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
338563
338563
|
await provider.initialize();
|
|
338564
338564
|
return provider;
|
|
@@ -377230,17 +377230,21 @@ var Config = class {
|
|
|
377230
377230
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
377231
377231
|
continue;
|
|
377232
377232
|
}
|
|
377233
|
+
let modelId = bucket.modelId;
|
|
377234
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
377235
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
377236
|
+
}
|
|
377233
377237
|
let remaining;
|
|
377234
377238
|
let limit;
|
|
377235
377239
|
if (bucket.remainingAmount) {
|
|
377236
377240
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
377237
|
-
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(
|
|
377241
|
+
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(modelId)?.limit ?? 0;
|
|
377238
377242
|
} else {
|
|
377239
377243
|
limit = 100;
|
|
377240
377244
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
377241
377245
|
}
|
|
377242
377246
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
377243
|
-
this.modelQuotas.set(
|
|
377247
|
+
this.modelQuotas.set(modelId, {
|
|
377244
377248
|
remaining,
|
|
377245
377249
|
limit,
|
|
377246
377250
|
resetTime: bucket.resetTime
|
|
@@ -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-3JEIIDY3.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3KVUW3GS.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QY6VB26P.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-FQNLDGXL.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WWUS7UCO.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-CF6HJK4T.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-DW2J2NTU.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-ETEDB3N6.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-DIJFIQU5.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
tokenLimit,
|
|
244
244
|
uiTelemetryService,
|
|
245
245
|
unescapePath
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-WWUS7UCO.js";
|
|
247
247
|
import {
|
|
248
248
|
require_src
|
|
249
249
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77176,7 +77176,7 @@ var authCommand = {
|
|
|
77176
77176
|
import process29 from "node:process";
|
|
77177
77177
|
|
|
77178
77178
|
// packages/cli/src/generated/git-commit.ts
|
|
77179
|
-
var GIT_COMMIT_INFO = "
|
|
77179
|
+
var GIT_COMMIT_INFO = "a41ce0f59";
|
|
77180
77180
|
|
|
77181
77181
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77182
77182
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -82957,7 +82957,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82957
82957
|
type: "info",
|
|
82958
82958
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82959
82959
|
});
|
|
82960
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82960
|
+
const { MCPOAuthProvider } = await import("./dist-VQ3F4FS5.js");
|
|
82961
82961
|
let oauthConfig = server.oauth;
|
|
82962
82962
|
if (!oauthConfig) {
|
|
82963
82963
|
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-CF6HJK4T.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DW2J2NTU.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WWUS7UCO.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-5C4IPSFG.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QY6VB26P.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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
|
checkExhaustive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VPMDE76T.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -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-2YAEBNH4.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-XNQ2USVV.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4MK4F3LQ.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ENEDM4X3.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
tokenLimit,
|
|
244
244
|
uiTelemetryService,
|
|
245
245
|
unescapePath
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-D7NKQXI3.js";
|
|
247
247
|
import {
|
|
248
248
|
require_src
|
|
249
249
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77176,7 +77176,7 @@ var authCommand = {
|
|
|
77176
77176
|
import process29 from "node:process";
|
|
77177
77177
|
|
|
77178
77178
|
// packages/cli/src/generated/git-commit.ts
|
|
77179
|
-
var GIT_COMMIT_INFO = "
|
|
77179
|
+
var GIT_COMMIT_INFO = "da3710eb9";
|
|
77180
77180
|
|
|
77181
77181
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77182
77182
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -82957,7 +82957,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82957
82957
|
type: "info",
|
|
82958
82958
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82959
82959
|
});
|
|
82960
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82960
|
+
const { MCPOAuthProvider } = await import("./dist-6SIQ6JNU.js");
|
|
82961
82961
|
let oauthConfig = server.oauth;
|
|
82962
82962
|
if (!oauthConfig) {
|
|
82963
82963
|
oauthConfig = { enabled: false };
|
|
@@ -282559,7 +282559,7 @@ function isValidToolName(name3, options = {}) {
|
|
|
282559
282559
|
}
|
|
282560
282560
|
|
|
282561
282561
|
// packages/core/dist/src/generated/git-commit.js
|
|
282562
|
-
var GIT_COMMIT_INFO = "
|
|
282562
|
+
var GIT_COMMIT_INFO = "da3710eb9";
|
|
282563
282563
|
var CLI_VERSION = "0.55.0-preview.2";
|
|
282564
282564
|
|
|
282565
282565
|
// packages/core/dist/src/ide/detect-ide.js
|
|
@@ -305823,7 +305823,7 @@ function getVersion() {
|
|
|
305823
305823
|
}
|
|
305824
305824
|
versionPromise = (async () => {
|
|
305825
305825
|
const pkgJson = await getPackageJson(__dirname4);
|
|
305826
|
-
return "0.55.0-preview.
|
|
305826
|
+
return "0.55.0-preview.3";
|
|
305827
305827
|
})();
|
|
305828
305828
|
return versionPromise;
|
|
305829
305829
|
}
|
|
@@ -338558,7 +338558,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338558
338558
|
return provider;
|
|
338559
338559
|
}
|
|
338560
338560
|
case "oauth2": {
|
|
338561
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338561
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-PH6ZPS7W.js");
|
|
338562
338562
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
338563
338563
|
await provider.initialize();
|
|
338564
338564
|
return provider;
|
|
@@ -377230,17 +377230,21 @@ var Config = class {
|
|
|
377230
377230
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
377231
377231
|
continue;
|
|
377232
377232
|
}
|
|
377233
|
+
let modelId = bucket.modelId;
|
|
377234
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
377235
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
377236
|
+
}
|
|
377233
377237
|
let remaining;
|
|
377234
377238
|
let limit;
|
|
377235
377239
|
if (bucket.remainingAmount) {
|
|
377236
377240
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
377237
|
-
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(
|
|
377241
|
+
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(modelId)?.limit ?? 0;
|
|
377238
377242
|
} else {
|
|
377239
377243
|
limit = 100;
|
|
377240
377244
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
377241
377245
|
}
|
|
377242
377246
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
377243
|
-
this.modelQuotas.set(
|
|
377247
|
+
this.modelQuotas.set(modelId, {
|
|
377244
377248
|
remaining,
|
|
377245
377249
|
limit,
|
|
377246
377250
|
resetTime: bucket.resetTime
|
|
@@ -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-4PVLKN7E.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VPMDE76T.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-2YAEBNH4.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XNQ2USVV.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D7NKQXI3.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -282830,8 +282830,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
282830
282830
|
}
|
|
282831
282831
|
|
|
282832
282832
|
// packages/core/src/generated/git-commit.ts
|
|
282833
|
-
var GIT_COMMIT_INFO = "
|
|
282834
|
-
var CLI_VERSION = "0.55.0-preview.
|
|
282833
|
+
var GIT_COMMIT_INFO = "da3710eb9";
|
|
282834
|
+
var CLI_VERSION = "0.55.0-preview.2";
|
|
282835
282835
|
|
|
282836
282836
|
// packages/core/src/ide/detect-ide.ts
|
|
282837
282837
|
var IDE_DEFINITIONS = {
|
|
@@ -306413,7 +306413,7 @@ function getVersion() {
|
|
|
306413
306413
|
}
|
|
306414
306414
|
versionPromise = (async () => {
|
|
306415
306415
|
const pkgJson = await getPackageJson(__dirname4);
|
|
306416
|
-
return "0.55.0-preview.
|
|
306416
|
+
return "0.55.0-preview.2";
|
|
306417
306417
|
})();
|
|
306418
306418
|
return versionPromise;
|
|
306419
306419
|
}
|
|
@@ -341236,7 +341236,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
341236
341236
|
return provider;
|
|
341237
341237
|
}
|
|
341238
341238
|
case "oauth2": {
|
|
341239
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
341239
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-IVUO6NTZ.js");
|
|
341240
341240
|
const provider = new OAuth2AuthProvider(
|
|
341241
341241
|
authConfig,
|
|
341242
341242
|
options.agentName ?? "unknown",
|
|
@@ -383100,17 +383100,21 @@ var Config = class {
|
|
|
383100
383100
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
383101
383101
|
continue;
|
|
383102
383102
|
}
|
|
383103
|
+
let modelId = bucket.modelId;
|
|
383104
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
383105
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
383106
|
+
}
|
|
383103
383107
|
let remaining;
|
|
383104
383108
|
let limit;
|
|
383105
383109
|
if (bucket.remainingAmount) {
|
|
383106
383110
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
383107
|
-
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(
|
|
383111
|
+
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(modelId)?.limit ?? 0;
|
|
383108
383112
|
} else {
|
|
383109
383113
|
limit = 100;
|
|
383110
383114
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
383111
383115
|
}
|
|
383112
383116
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
383113
|
-
this.modelQuotas.set(
|
|
383117
|
+
this.modelQuotas.set(modelId, {
|
|
383114
383118
|
remaining,
|
|
383115
383119
|
limit,
|
|
383116
383120
|
resetTime: bucket.resetTime
|