@google/gemini-cli 0.56.0-nightly.20260811.geef19f25c → 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-CI327DIM.js → chunk-27WBRJG5.js} +1 -1
- package/bundle/{chunk-TDA2GRGG.js → chunk-2N4YKS56.js} +3 -3
- package/bundle/{chunk-N46JKIAS.js → chunk-2UEMLI2V.js} +1 -1
- package/bundle/{chunk-CD6JSK5K.js → chunk-3LSI3MST.js} +1 -1
- package/bundle/{chunk-2YO77Y4S.js → chunk-4BDK6LRY.js} +1 -1
- package/bundle/{chunk-EE76NEW6.js → chunk-5CPYATU2.js} +3 -3
- package/bundle/{chunk-5O6MUL7H.js → chunk-5ZJDKCAQ.js} +8 -9
- package/bundle/{chunk-CKKNPB2S.js → chunk-BGQJ72UD.js} +1 -1
- package/bundle/{chunk-WJKJEIUO.js → chunk-CQFCJTUY.js} +3 -3
- package/bundle/{chunk-ZQ4DFEVY.js → chunk-DCTCNDJU.js} +8 -4
- package/bundle/{chunk-ICKHFF4C.js → chunk-IMJZ5UXW.js} +7 -7
- package/bundle/{chunk-IFZKYNGJ.js → chunk-JO6YRASB.js} +7 -7
- package/bundle/{chunk-S6GMUUY4.js → chunk-M6AQPWM7.js} +1 -1
- package/bundle/{chunk-J4N3OB3D.js → chunk-N6SB57BI.js} +2 -2
- package/bundle/{chunk-ERVJUM2H.js → chunk-O76PEZ2E.js} +1 -1
- package/bundle/{chunk-WMFMD3YS.js → chunk-QMJK5B5W.js} +2 -2
- package/bundle/{chunk-BZ3E6MMA.js → chunk-QOQXML2J.js} +2 -2
- package/bundle/{chunk-GIS46CP2.js → chunk-RCYHKWPV.js} +1 -1
- package/bundle/{chunk-IDQXVAHB.js → chunk-SXRVXCXX.js} +5 -8
- package/bundle/{chunk-63K76UAH.js → chunk-VEHDS2U5.js} +54 -67
- package/bundle/{chunk-A2FKUQYS.js → chunk-VFMPXZ3O.js} +10 -6
- package/bundle/{chunk-UHCT4E37.js → chunk-YAP6A2G5.js} +1 -1
- package/bundle/{chunk-U5PFLJF7.js → chunk-YQ46BKEY.js} +14292 -7640
- package/bundle/{chunk-A4GFJKGT.js → chunk-ZS7JGWSM.js} +1 -1
- package/bundle/{cleanup-IQ4NDIJ3.js → cleanup-3UIWHBYF.js} +2 -2
- package/bundle/{cleanup-JAFIGEI4.js → cleanup-CE4XD3BO.js} +2 -2
- package/bundle/{cleanup-KJ2JRD6B.js → cleanup-W6QJ7UXW.js} +2 -2
- package/bundle/{core-FQXJ55VZ.js → core-ALSKYUUI.js} +1 -1
- package/bundle/{dist-NZ23UFIW.js → core-D2V3P27R.js} +1 -1
- package/bundle/{devtoolsService-35W7YGQQ.js → devtoolsService-5WZ5POOK.js} +2 -2
- package/bundle/{devtoolsService-HK3IKHHL.js → devtoolsService-Q6DCVJGN.js} +3 -4
- package/bundle/{devtoolsService-5CSIYC7E.js → devtoolsService-ZOULJHC5.js} +2 -2
- package/bundle/{dist-OOAMYML5.js → dist-XYYVP6TR.js} +1 -1
- package/bundle/docs/behavioral-evals.md +185 -0
- package/bundle/docs/sidebar.json +4 -0
- package/bundle/{gemini-6MNOVFZO.js → gemini-DQM5E6O4.js} +14 -14
- package/bundle/{gemini-D7OKMZFM.js → gemini-L7CRPY6O.js} +198 -214
- package/bundle/{gemini-3DN6FUQA.js → gemini-MLFY4AU2.js} +13 -13
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-BFIZA2X6.js → interactiveCli-BH7MGAE3.js} +67 -25
- package/bundle/{interactiveCli-RJSW2FUQ.js → interactiveCli-NPQX63TM.js} +67 -25
- package/bundle/{interactiveCli-TA24554V.js → interactiveCli-WY7VJB4N.js} +354 -331
- package/bundle/{liteRtServerManager-7OMMWEBF.js → liteRtServerManager-CWPKEP67.js} +4 -4
- package/bundle/{liteRtServerManager-FJLZT5ZN.js → liteRtServerManager-QXFQ2EBS.js} +4 -4
- package/bundle/{liteRtServerManager-IWUIQGQS.js → liteRtServerManager-Z76OOGH2.js} +4 -4
- package/bundle/{oauth2-provider-6RZSP3U2.js → oauth2-provider-KU6JEEW2.js} +1 -1
- package/bundle/{oauth2-provider-5CIZMT7W.js → oauth2-provider-OJMW2QPT.js} +1 -1
- package/bundle/{oauth2-provider-AJ5HMCJQ.js → oauth2-provider-XBFZF7D5.js} +72 -38
- package/bundle/{start-5CKGRTPF.js → start-6P7YNKTA.js} +6 -6
- package/bundle/{start-GWS5O6RJ.js → start-NYBYXOGH.js} +6 -6
- package/bundle/{start-Z2ZJ5IWC.js → start-VFSKMWXU.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-6Q455F4Z.js +0 -118
- package/bundle/chunk-GTUVQF4C.js +0 -398
- package/bundle/chunk-IOAP4EWP.js +0 -17332
- package/bundle/chunk-QIW4F5LN.js +0 -512
- package/bundle/chunk-V6KNLHCQ.js +0 -154
- package/bundle/chunk-VCGA2GK2.js +0 -102505
- package/bundle/chunk-YYXYVDVK.js +0 -397241
- package/bundle/chunk-ZZRJLASF.js +0 -1571
- package/bundle/cleanup-VRQ5QAU3.js +0 -32
- package/bundle/devtoolsService-POBP5TNG.js +0 -4359
- package/bundle/dist-YIZI3EA4.js +0 -2172
- package/bundle/gemini-HTBZ3XZ4.js +0 -17088
- package/bundle/interactiveCli-NGD2R33A.js +0 -34912
- package/bundle/liteRtServerManager-QYU4NJAT.js +0 -65
- package/bundle/oauth2-provider-KXRL7UOZ.js +0 -235
- package/bundle/start-ZO3QNUU7.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",
|
|
@@ -383101,17 +383101,21 @@ var Config = class {
|
|
|
383101
383101
|
if (!bucket.modelId || bucket.remainingFraction == null) {
|
|
383102
383102
|
continue;
|
|
383103
383103
|
}
|
|
383104
|
+
let modelId = bucket.modelId;
|
|
383105
|
+
if (modelId === SECONDARY_GEMINI_3_5_FLASH_MODEL) {
|
|
383106
|
+
modelId = DEFAULT_GEMINI_3_5_FLASH_MODEL;
|
|
383107
|
+
}
|
|
383104
383108
|
let remaining;
|
|
383105
383109
|
let limit;
|
|
383106
383110
|
if (bucket.remainingAmount) {
|
|
383107
383111
|
remaining = parseInt(bucket.remainingAmount, 10);
|
|
383108
|
-
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;
|
|
383109
383113
|
} else {
|
|
383110
383114
|
limit = 100;
|
|
383111
383115
|
remaining = Math.round(bucket.remainingFraction * limit);
|
|
383112
383116
|
}
|
|
383113
383117
|
if (!isNaN(remaining) && Number.isFinite(limit) && limit > 0) {
|
|
383114
|
-
this.modelQuotas.set(
|
|
383118
|
+
this.modelQuotas.set(modelId, {
|
|
383115
383119
|
remaining,
|
|
383116
383120
|
limit,
|
|
383117
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)) {
|