@google/gemini-cli 0.56.0-nightly.20260810.gcf22ac7e8 → 0.56.0-preview.1
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-7753GFNJ.js → chunk-27WBRJG5.js} +1 -1
- package/bundle/{chunk-EKDTBZC7.js → chunk-2N4YKS56.js} +3 -3
- package/bundle/{chunk-BUDQZRY3.js → chunk-2UEMLI2V.js} +1 -1
- package/bundle/{chunk-7DKKATFK.js → chunk-3LSI3MST.js} +1 -1
- package/bundle/{chunk-QGQIJKOG.js → chunk-4BDK6LRY.js} +1 -1
- package/bundle/{chunk-PEZ3332I.js → chunk-5CPYATU2.js} +3 -3
- package/bundle/{chunk-JEXCMJYX.js → chunk-5ZJDKCAQ.js} +8 -9
- package/bundle/{chunk-IGJU6YIJ.js → chunk-BGQJ72UD.js} +1 -1
- package/bundle/{chunk-CEDHGJ5F.js → chunk-CQFCJTUY.js} +3 -3
- package/bundle/{chunk-LVUVCBFT.js → chunk-DCTCNDJU.js} +13 -8
- package/bundle/{chunk-ATTJBKGI.js → chunk-IMJZ5UXW.js} +7 -7
- package/bundle/{chunk-KDG2LQ5I.js → chunk-JO6YRASB.js} +7 -7
- package/bundle/{chunk-BCP62SLZ.js → chunk-M6AQPWM7.js} +1 -1
- package/bundle/{chunk-XDCPATOH.js → chunk-N6SB57BI.js} +2 -2
- package/bundle/{chunk-KUBJMB5L.js → chunk-O76PEZ2E.js} +1 -1
- package/bundle/{chunk-C2IYMHN3.js → chunk-QMJK5B5W.js} +2 -2
- package/bundle/{chunk-WL23QARW.js → chunk-QOQXML2J.js} +2 -2
- package/bundle/{chunk-NBKZM6WA.js → chunk-RCYHKWPV.js} +1 -1
- package/bundle/{chunk-ND7YFY34.js → chunk-SXRVXCXX.js} +5 -8
- package/bundle/{chunk-DPFZYGIT.js → chunk-VEHDS2U5.js} +54 -67
- package/bundle/{chunk-2OE7N6IU.js → chunk-VFMPXZ3O.js} +15 -10
- package/bundle/{chunk-45DALKU4.js → chunk-YAP6A2G5.js} +1 -1
- package/bundle/{chunk-AWDPAHVZ.js → chunk-YQ46BKEY.js} +14294 -7641
- package/bundle/{chunk-TIOS7A2U.js → chunk-ZS7JGWSM.js} +1 -1
- package/bundle/{cleanup-A27BHGIN.js → cleanup-3UIWHBYF.js} +2 -2
- package/bundle/{cleanup-NT4DRIRC.js → cleanup-CE4XD3BO.js} +2 -2
- package/bundle/{cleanup-PJZC2SCD.js → cleanup-W6QJ7UXW.js} +2 -2
- package/bundle/{core-LLLTMO2S.js → core-ALSKYUUI.js} +1 -1
- package/bundle/{dist-SEF37TIW.js → core-D2V3P27R.js} +1 -1
- package/bundle/{devtoolsService-AHM6QNYI.js → devtoolsService-5WZ5POOK.js} +2 -2
- package/bundle/{devtoolsService-GO6R3TWW.js → devtoolsService-Q6DCVJGN.js} +3 -4
- package/bundle/{devtoolsService-2ODYI3ZG.js → devtoolsService-ZOULJHC5.js} +2 -2
- package/bundle/{dist-V4SMZY2W.js → dist-XYYVP6TR.js} +1 -1
- package/bundle/docs/behavioral-evals.md +185 -0
- package/bundle/docs/sidebar.json +4 -0
- package/bundle/{gemini-ZM6VPTA5.js → gemini-DQM5E6O4.js} +14 -14
- package/bundle/{gemini-AZT4EC33.js → gemini-L7CRPY6O.js} +198 -214
- package/bundle/{gemini-LLTDTSQC.js → gemini-MLFY4AU2.js} +13 -13
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-UWW4FCOY.js → interactiveCli-BH7MGAE3.js} +67 -25
- package/bundle/{interactiveCli-JVQAWDMJ.js → interactiveCli-NPQX63TM.js} +67 -25
- package/bundle/{interactiveCli-64RNKOPZ.js → interactiveCli-WY7VJB4N.js} +354 -331
- package/bundle/{liteRtServerManager-2AREGKK7.js → liteRtServerManager-CWPKEP67.js} +4 -4
- package/bundle/{liteRtServerManager-HWVG5NS4.js → liteRtServerManager-QXFQ2EBS.js} +4 -4
- package/bundle/{liteRtServerManager-LH4E25EE.js → liteRtServerManager-Z76OOGH2.js} +4 -4
- package/bundle/{oauth2-provider-DOAEQHXI.js → oauth2-provider-KU6JEEW2.js} +1 -1
- package/bundle/{oauth2-provider-FRZTGSS6.js → oauth2-provider-OJMW2QPT.js} +1 -1
- package/bundle/{oauth2-provider-V6DH3LJZ.js → oauth2-provider-XBFZF7D5.js} +72 -38
- package/bundle/{start-7FR7TPWX.js → start-6P7YNKTA.js} +6 -6
- package/bundle/{start-ACJ3MT6X.js → start-NYBYXOGH.js} +6 -6
- package/bundle/{start-BPF56367.js → start-VFSKMWXU.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-3FTTWEJV.js +0 -397240
- package/bundle/chunk-5XDLGI4Q.js +0 -17332
- package/bundle/chunk-CPOKPBOK.js +0 -118
- package/bundle/chunk-L5IVSYQC.js +0 -154
- package/bundle/chunk-QERNCZMT.js +0 -398
- package/bundle/chunk-QNYTJEHK.js +0 -102505
- package/bundle/chunk-RTFMULEZ.js +0 -1571
- package/bundle/chunk-TLETFECD.js +0 -512
- package/bundle/cleanup-WHWIVERM.js +0 -32
- package/bundle/devtoolsService-GWE5QKMB.js +0 -4359
- package/bundle/dist-X75AQYIJ.js +0 -2172
- package/bundle/gemini-PMJRZZ4Q.js +0 -17088
- package/bundle/interactiveCli-S3G4KCO4.js +0 -34912
- package/bundle/liteRtServerManager-Y4QQJEYL.js +0 -65
- package/bundle/oauth2-provider-XQ7TJOSF.js +0 -235
- package/bundle/start-L2XUZKDD.js +0 -18
|
@@ -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-O76PEZ2E.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-27WBRJG5.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-SXRVXCXX.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YQ46BKEY.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-YQ46BKEY.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-YAP6A2G5.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-4BDK6LRY.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DCTCNDJU.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -1,8 +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
|
-
CoreToolCallStatus,
|
|
4
3
|
checkExhaustive
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DCTCNDJU.js";
|
|
6
5
|
import {
|
|
7
6
|
__commonJS,
|
|
8
7
|
__toESM
|
|
@@ -465,19 +464,19 @@ var require_react = __commonJS({
|
|
|
465
464
|
var import_react = __toESM(require_react(), 1);
|
|
466
465
|
function mapCoreStatusToDisplayStatus(coreStatus) {
|
|
467
466
|
switch (coreStatus) {
|
|
468
|
-
case
|
|
467
|
+
case "validating" /* Validating */:
|
|
469
468
|
return "Pending" /* Pending */;
|
|
470
|
-
case
|
|
469
|
+
case "awaiting_approval" /* AwaitingApproval */:
|
|
471
470
|
return "Confirming" /* Confirming */;
|
|
472
|
-
case
|
|
471
|
+
case "executing" /* Executing */:
|
|
473
472
|
return "Executing" /* Executing */;
|
|
474
|
-
case
|
|
473
|
+
case "success" /* Success */:
|
|
475
474
|
return "Success" /* Success */;
|
|
476
|
-
case
|
|
475
|
+
case "cancelled" /* Cancelled */:
|
|
477
476
|
return "Canceled" /* Canceled */;
|
|
478
|
-
case
|
|
477
|
+
case "error" /* Error */:
|
|
479
478
|
return "Error" /* Error */;
|
|
480
|
-
case
|
|
479
|
+
case "scheduled" /* Scheduled */:
|
|
481
480
|
return "Pending" /* Pending */;
|
|
482
481
|
default:
|
|
483
482
|
return checkExhaustive(coreStatus);
|
|
@@ -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-3LSI3MST.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-BGQJ72UD.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-RCYHKWPV.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VFMPXZ3O.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -282830,7 +282830,7 @@ function isValidToolName(name3, options = {}) {
|
|
|
282830
282830
|
}
|
|
282831
282831
|
|
|
282832
282832
|
// packages/core/src/generated/git-commit.ts
|
|
282833
|
-
var GIT_COMMIT_INFO = "
|
|
282833
|
+
var GIT_COMMIT_INFO = "659c7aacd";
|
|
282834
282834
|
var CLI_VERSION = "0.56.0-nightly.20260806.g761f604c1";
|
|
282835
282835
|
|
|
282836
282836
|
// packages/core/src/ide/detect-ide.ts
|
|
@@ -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-KU6JEEW2.js");
|
|
341240
341240
|
const provider = new OAuth2AuthProvider(
|
|
341241
341241
|
authConfig,
|
|
341242
341242
|
options.agentName ?? "unknown",
|
|
@@ -371763,13 +371763,14 @@ ${authUrl}
|
|
|
371763
371763
|
debugLogger.debug(`Returning valid token for server: ${serverName}`);
|
|
371764
371764
|
return token2.accessToken;
|
|
371765
371765
|
}
|
|
371766
|
-
|
|
371766
|
+
const clientId = config2.clientId ?? credentials3.clientId;
|
|
371767
|
+
if (token2.refreshToken && clientId && credentials3.tokenUrl) {
|
|
371767
371768
|
try {
|
|
371768
371769
|
debugLogger.log(
|
|
371769
371770
|
`Refreshing expired token for MCP server: ${serverName}`
|
|
371770
371771
|
);
|
|
371771
371772
|
const newTokenResponse = await this.refreshAccessToken(
|
|
371772
|
-
config2,
|
|
371773
|
+
{ ...config2, clientId },
|
|
371773
371774
|
token2.refreshToken,
|
|
371774
371775
|
credentials3.tokenUrl,
|
|
371775
371776
|
credentials3.mcpServerUrl
|
|
@@ -371786,7 +371787,7 @@ ${authUrl}
|
|
|
371786
371787
|
await this.tokenStorage.saveToken(
|
|
371787
371788
|
serverName,
|
|
371788
371789
|
newToken,
|
|
371789
|
-
|
|
371790
|
+
clientId,
|
|
371790
371791
|
credentials3.tokenUrl,
|
|
371791
371792
|
credentials3.mcpServerUrl
|
|
371792
371793
|
);
|
|
@@ -371811,7 +371812,7 @@ ${authUrl}
|
|
|
371811
371812
|
if (current.refreshToken && clientId && credentials3.tokenUrl) {
|
|
371812
371813
|
try {
|
|
371813
371814
|
const newTokenResponse = await this.refreshAccessToken(
|
|
371814
|
-
config2,
|
|
371815
|
+
{ ...config2, clientId },
|
|
371815
371816
|
current.refreshToken,
|
|
371816
371817
|
credentials3.tokenUrl,
|
|
371817
371818
|
credentials3.mcpServerUrl
|
|
@@ -383100,17 +383101,21 @@ var Config = class {
|
|
|
383100
383101
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
383101
383102
|
continue;
|
|
383102
383103
|
}
|
|
383104
|
+
let modelId = bucket.modelId;
|
|
383105
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
383106
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
383107
|
+
}
|
|
383103
383108
|
let remaining;
|
|
383104
383109
|
let limit;
|
|
383105
383110
|
if (bucket.remainingAmount) {
|
|
383106
383111
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
383107
|
-
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(
|
|
383112
|
+
limit = bucket.remainingFraction > 0 ? Math.round(remaining / bucket.remainingFraction) : this.modelQuotas.get(modelId)?.limit ?? 0;
|
|
383108
383113
|
} else {
|
|
383109
383114
|
limit = 100;
|
|
383110
383115
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
383111
383116
|
}
|
|
383112
383117
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
383113
|
-
this.modelQuotas.set(
|
|
383118
|
+
this.modelQuotas.set(modelId, {
|
|
383114
383119
|
remaining,
|
|
383115
383120
|
limit,
|
|
383116
383121
|
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-BGQJ72UD.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-RCYHKWPV.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-N6SB57BI.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-ZS7JGWSM.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-VFMPXZ3O.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 = "8f0576950";
|
|
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-XYYVP6TR.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-YAP6A2G5.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-4BDK6LRY.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-QOQXML2J.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-5ZJDKCAQ.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-DCTCNDJU.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 = "659c7aacd";
|
|
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-ALSKYUUI.js");
|
|
82948
82948
|
let oauthConfig = server.oauth;
|
|
82949
82949
|
if (!oauthConfig) {
|
|
82950
82950
|
oauthConfig = { enabled: false };
|
|
@@ -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-3LSI3MST.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VFMPXZ3O.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-O76PEZ2E.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YQ46BKEY.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-M6AQPWM7.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DCTCNDJU.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -1,9 +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
|
-
CoreEvent,
|
|
6
|
-
CoreToolCallStatus,
|
|
7
4
|
DEFAULT_MODEL_CONFIGS,
|
|
8
5
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
9
6
|
EDITOR_OPTIONS,
|
|
@@ -31,7 +28,7 @@ import {
|
|
|
31
28
|
partListUnionToString,
|
|
32
29
|
require_strip_json_comments,
|
|
33
30
|
sanitizeFilenamePart
|
|
34
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YQ46BKEY.js";
|
|
35
32
|
import {
|
|
36
33
|
__commonJS,
|
|
37
34
|
__require,
|
|
@@ -10228,7 +10225,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10228
10225
|
args: tool.args,
|
|
10229
10226
|
description: tool.description || "",
|
|
10230
10227
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
10231
|
-
status: tool.status === "success" ?
|
|
10228
|
+
status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
|
|
10232
10229
|
resultDisplay: tool.resultDisplay,
|
|
10233
10230
|
confirmationDetails: void 0
|
|
10234
10231
|
}))
|
|
@@ -16292,8 +16289,8 @@ var LoadedSettings = class {
|
|
|
16292
16289
|
// React will pass a listener fn into this subscribe fn
|
|
16293
16290
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
16294
16291
|
subscribe(listener) {
|
|
16295
|
-
coreEvents.on(
|
|
16296
|
-
return () => coreEvents.off(
|
|
16292
|
+
coreEvents.on("settings-changed" /* SettingsChanged */, listener);
|
|
16293
|
+
return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
|
|
16297
16294
|
}
|
|
16298
16295
|
getSnapshot() {
|
|
16299
16296
|
return this._snapshot;
|
|
@@ -16437,7 +16434,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16437
16434
|
}
|
|
16438
16435
|
}
|
|
16439
16436
|
let value = "cloudshell-gca";
|
|
16440
|
-
if (selectedAuthType ===
|
|
16437
|
+
if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
16441
16438
|
value = process2.env[USER_GCP_PROJECT];
|
|
16442
16439
|
}
|
|
16443
16440
|
if (envFilePath && fs4.existsSync(envFilePath)) {
|