@google/gemini-cli 0.54.0 → 0.54.4
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-G7VQ6O6G.js → chunk-4YSWDUQZ.js} +1 -1
- package/bundle/{chunk-IM5WJKYT.js → chunk-5NT754WV.js} +1 -1
- package/bundle/{chunk-GOQJOV4P.js → chunk-6SBXH4D5.js} +1 -1
- package/bundle/{chunk-UTXCUPDT.js → chunk-7ELLCO6U.js} +2 -2
- package/bundle/{chunk-MOGTJC2T.js → chunk-7SPI3KN6.js} +1 -1
- package/bundle/{chunk-BBNFLOXC.js → chunk-B5CTWZND.js} +1 -1
- package/bundle/{chunk-UW4NSSB6.js → chunk-BCKLMRS4.js} +3 -3
- package/bundle/{chunk-F6IU45OZ.js → chunk-BS6BSLZD.js} +98 -8
- package/bundle/{chunk-VIQEWLM4.js → chunk-D7ZXPN6G.js} +8 -5
- package/bundle/{chunk-WJKZRJIC.js → chunk-DFZESNXJ.js} +3 -3
- package/bundle/chunk-DJWQKPM3.js +1571 -0
- package/bundle/{chunk-NZ6P6XKP.js → chunk-FNQ3CHG6.js} +2 -2
- package/bundle/{chunk-OYZ2XVON.js → chunk-GHCTXZXJ.js} +3 -3
- package/bundle/{chunk-43HYOV6F.js → chunk-HX3M7TQG.js} +1 -1
- package/bundle/{chunk-5SMD2SLQ.js → chunk-IJK6RPHE.js} +2 -2
- package/bundle/{chunk-MZBH35ZS.js → chunk-IX4IHGFA.js} +1 -1
- package/bundle/{chunk-SQWRALPF.js → chunk-K6DV6ZQJ.js} +9 -8
- package/bundle/chunk-K77W7OAI.js +398 -0
- package/bundle/{chunk-SHZORH3T.js → chunk-NWWVQCEM.js} +1 -1
- package/bundle/{chunk-JPCDQXHB.js → chunk-PGCIAGXU.js} +1 -1
- package/bundle/{chunk-HS7THREL.js → chunk-QXLHAGLO.js} +104 -8
- package/bundle/{chunk-2MRUXBJ5.js → chunk-RJSQB7MD.js} +7 -7
- package/bundle/{chunk-RHINAWEP.js → chunk-TOGB2OXA.js} +67 -54
- package/bundle/chunk-TXL73KVK.js +17332 -0
- package/bundle/{chunk-YYWWE5GW.js → chunk-TYAF55F7.js} +7720 -14267
- package/bundle/chunk-UWHDOUIM.js +154 -0
- package/bundle/{chunk-TZAOURRV.js → chunk-WFY6AHA3.js} +1 -1
- package/bundle/chunk-YFMY6TMN.js +118 -0
- package/bundle/chunk-YMKYUNCI.js +397175 -0
- package/bundle/chunk-YOVSXRBK.js +512 -0
- package/bundle/{chunk-LH73BY77.js → chunk-ZJ6RWJBB.js} +7 -7
- package/bundle/chunk-ZT7DTH6P.js +102505 -0
- package/bundle/{cleanup-5UYKVLIF.js → cleanup-ID7KOVH6.js} +2 -2
- package/bundle/{cleanup-6OO5MA6W.js → cleanup-IQDM3OQH.js} +2 -2
- package/bundle/{cleanup-ODOGWYRM.js → cleanup-VC5QYANG.js} +2 -2
- package/bundle/cleanup-XKLXHTQY.js +32 -0
- package/bundle/{core-S5B3NEKC.js → core-L2IMO77B.js} +3 -1
- package/bundle/{devtoolsService-FUTPYP6V.js → devtoolsService-A4MVL3QX.js} +2 -2
- package/bundle/{devtoolsService-YWNTGRUE.js → devtoolsService-FCZAZ7OL.js} +2 -2
- package/bundle/{devtoolsService-NZQZUVCI.js → devtoolsService-MTKVT52L.js} +4 -3
- package/bundle/devtoolsService-OFTYP7HA.js +4359 -0
- package/bundle/{dist-DB6LWOKZ.js → dist-IRKAN2JJ.js} +3 -1
- package/bundle/{core-JL633Z4N.js → dist-OMDZCEPS.js} +3 -1
- package/bundle/dist-UPFVI32N.js +2172 -0
- package/bundle/{gemini-D3BRVDVJ.js → gemini-A2H7FXLW.js} +14 -14
- package/bundle/{gemini-AQASGK5V.js → gemini-ANKKRIYC.js} +214 -198
- package/bundle/{gemini-PPNY5YY6.js → gemini-RXM642S5.js} +14 -14
- package/bundle/gemini-TQ4IKPW2.js +16491 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-P7QQLIDS.js → interactiveCli-DCR23VNH.js} +21 -15
- package/bundle/{interactiveCli-CXCZMXKQ.js → interactiveCli-LU4ELYJR.js} +21 -15
- package/bundle/{interactiveCli-RU7LCVXL.js → interactiveCli-MMQJKAMI.js} +328 -303
- package/bundle/interactiveCli-XFHD4NND.js +34912 -0
- package/bundle/{liteRtServerManager-ISKYY742.js → liteRtServerManager-3XISBZSR.js} +4 -4
- package/bundle/{liteRtServerManager-MPPOFOTR.js → liteRtServerManager-AW53PI2D.js} +4 -4
- package/bundle/{liteRtServerManager-FIVLVXQJ.js → liteRtServerManager-D6QKXOSW.js} +4 -4
- package/bundle/liteRtServerManager-PKONORB7.js +65 -0
- package/bundle/{oauth2-provider-G6DF4NEU.js → oauth2-provider-7KVPKQ4C.js} +1 -1
- package/bundle/{oauth2-provider-DOIL6PEC.js → oauth2-provider-CU4P6HIT.js} +38 -72
- package/bundle/{oauth2-provider-XR5UQYQV.js → oauth2-provider-MRWRX5R2.js} +1 -1
- package/bundle/oauth2-provider-NQD4RC5Z.js +235 -0
- package/bundle/{start-S77W5RNK.js → start-7U2NBBF2.js} +6 -6
- package/bundle/{start-YWT3TSZW.js → start-HBTVIGJK.js} +6 -6
- package/bundle/{start-AJW7OVPU.js → start-JQFBJ44Q.js} +6 -6
- package/bundle/start-KLUMUSR7.js +18 -0
- 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-5NT754WV.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-UWHDOUIM.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TYAF55F7.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
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NWWVQCEM.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-HX3M7TQG.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-7SPI3KN6.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-PGCIAGXU.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QXLHAGLO.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -282510,8 +282510,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
282510
282510
|
}
|
|
282511
282511
|
|
|
282512
282512
|
// packages/core/dist/src/generated/git-commit.js
|
|
282513
|
-
var GIT_COMMIT_INFO = "
|
|
282514
|
-
var CLI_VERSION = "0.54.
|
|
282513
|
+
var GIT_COMMIT_INFO = "10944dcc4";
|
|
282514
|
+
var CLI_VERSION = "0.54.1";
|
|
282515
282515
|
|
|
282516
282516
|
// packages/core/dist/src/ide/detect-ide.js
|
|
282517
282517
|
var IDE_DEFINITIONS = {
|
|
@@ -285452,7 +285452,10 @@ var ChatRecordingService = class {
|
|
|
285452
285452
|
}
|
|
285453
285453
|
this.updateMetadata({ sessionId: this.sessionId });
|
|
285454
285454
|
} else {
|
|
285455
|
-
|
|
285455
|
+
debugLogger.warn("Failed to reload resumed session data from file; falling back to the in-memory conversation.");
|
|
285456
|
+
this.cachedConversation = resumedSessionData.conversation;
|
|
285457
|
+
this.projectHash = this.cachedConversation.projectHash;
|
|
285458
|
+
this.rewriteConversationFile(this.cachedConversation);
|
|
285456
285459
|
}
|
|
285457
285460
|
} else {
|
|
285458
285461
|
this.sessionId = this.context.promptId;
|
|
@@ -285522,6 +285525,57 @@ var ChatRecordingService = class {
|
|
|
285522
285525
|
}
|
|
285523
285526
|
}
|
|
285524
285527
|
}
|
|
285528
|
+
/**
|
|
285529
|
+
* Rewrites the session file from an in-memory record. Any existing
|
|
285530
|
+
* (unreadable) file is preserved alongside rather than destroyed, and the
|
|
285531
|
+
* new file is written atomically (temp file + rename).
|
|
285532
|
+
*/
|
|
285533
|
+
rewriteConversationFile(conversation) {
|
|
285534
|
+
if (!this.conversationFile)
|
|
285535
|
+
return;
|
|
285536
|
+
if (this.conversationFile.endsWith(".json")) {
|
|
285537
|
+
this.conversationFile = this.conversationFile + "l";
|
|
285538
|
+
}
|
|
285539
|
+
const { messages, memoryScratchpad, ...metadata2 } = conversation;
|
|
285540
|
+
const lines = [JSON.stringify(metadata2)];
|
|
285541
|
+
for (const msg of messages) {
|
|
285542
|
+
lines.push(JSON.stringify(msg));
|
|
285543
|
+
}
|
|
285544
|
+
if (memoryScratchpad) {
|
|
285545
|
+
lines.push(JSON.stringify({ $set: { memoryScratchpad } }));
|
|
285546
|
+
}
|
|
285547
|
+
const content = lines.join("\n") + "\n";
|
|
285548
|
+
try {
|
|
285549
|
+
fs30.mkdirSync(path27.dirname(this.conversationFile), { recursive: true });
|
|
285550
|
+
if (fs30.existsSync(this.conversationFile)) {
|
|
285551
|
+
const backup = `${this.conversationFile}.unreadable-${Date.now()}`;
|
|
285552
|
+
try {
|
|
285553
|
+
fs30.renameSync(this.conversationFile, backup);
|
|
285554
|
+
debugLogger.warn(`Preserved the unreadable session file at ${backup}.`);
|
|
285555
|
+
} catch (backupError) {
|
|
285556
|
+
debugLogger.error("Failed to preserve the unreadable session file.", backupError);
|
|
285557
|
+
}
|
|
285558
|
+
}
|
|
285559
|
+
const tempFile = `${this.conversationFile}.tmp-${process.pid}`;
|
|
285560
|
+
try {
|
|
285561
|
+
fs30.writeFileSync(tempFile, content);
|
|
285562
|
+
fs30.renameSync(tempFile, this.conversationFile);
|
|
285563
|
+
} catch (error40) {
|
|
285564
|
+
try {
|
|
285565
|
+
fs30.unlinkSync(tempFile);
|
|
285566
|
+
} catch {
|
|
285567
|
+
}
|
|
285568
|
+
throw error40;
|
|
285569
|
+
}
|
|
285570
|
+
} catch (error40) {
|
|
285571
|
+
if (isNodeError(error40) && error40.code === "ENOSPC") {
|
|
285572
|
+
this.conversationFile = null;
|
|
285573
|
+
debugLogger.warn(ENOSPC_WARNING_MESSAGE);
|
|
285574
|
+
} else {
|
|
285575
|
+
throw error40;
|
|
285576
|
+
}
|
|
285577
|
+
}
|
|
285578
|
+
}
|
|
285525
285579
|
updateMetadata(updates) {
|
|
285526
285580
|
if (!this.cachedConversation)
|
|
285527
285581
|
return;
|
|
@@ -305720,7 +305774,7 @@ function getVersion() {
|
|
|
305720
305774
|
}
|
|
305721
305775
|
versionPromise = (async () => {
|
|
305722
305776
|
const pkgJson = await getPackageJson(__dirname4);
|
|
305723
|
-
return "0.54.
|
|
305777
|
+
return "0.54.1";
|
|
305724
305778
|
})();
|
|
305725
305779
|
return versionPromise;
|
|
305726
305780
|
}
|
|
@@ -330272,6 +330326,7 @@ var MID_STREAM_RETRY_OPTIONS = {
|
|
|
330272
330326
|
useExponentialBackoff: true
|
|
330273
330327
|
};
|
|
330274
330328
|
var SYNTHETIC_THOUGHT_SIGNATURE2 = "skip_thought_signature_validator";
|
|
330329
|
+
var INTERRUPTED_RESPONSE_PLACEHOLDER = "[The previous response was interrupted before it completed.]";
|
|
330275
330330
|
function isIndexedPart(part) {
|
|
330276
330331
|
return "callIndex" in part;
|
|
330277
330332
|
}
|
|
@@ -330456,6 +330511,9 @@ var GeminiChat = class {
|
|
|
330456
330511
|
this.sendPromise = streamDonePromise;
|
|
330457
330512
|
let userContent = createUserContent(message);
|
|
330458
330513
|
const isOriginalFunctionResponse = isFunctionResponse(userContent);
|
|
330514
|
+
if (!isOriginalFunctionResponse) {
|
|
330515
|
+
this.closeUnansweredToolResponseTurn();
|
|
330516
|
+
}
|
|
330459
330517
|
const { model } = this.context.config.modelConfigService.getResolvedConfig(modelConfigKey);
|
|
330460
330518
|
const isContextManagementEnabled = this.context.config.isContextManagementEnabled();
|
|
330461
330519
|
if (!isOriginalFunctionResponse) {
|
|
@@ -330623,6 +330681,24 @@ var GeminiChat = class {
|
|
|
330623
330681
|
};
|
|
330624
330682
|
return streamWithRetries.call(this);
|
|
330625
330683
|
}
|
|
330684
|
+
/**
|
|
330685
|
+
* Appends a closing model turn when history ends with an unanswered tool
|
|
330686
|
+
* response, so the next user message stays a turn of its own.
|
|
330687
|
+
*/
|
|
330688
|
+
closeUnansweredToolResponseTurn() {
|
|
330689
|
+
const turns = this.agentHistory.get();
|
|
330690
|
+
const last2 = turns[turns.length - 1];
|
|
330691
|
+
if (last2?.content.role !== "user" || !last2.content.parts?.some((part) => !!part.functionResponse)) {
|
|
330692
|
+
return;
|
|
330693
|
+
}
|
|
330694
|
+
this.agentHistory.push({
|
|
330695
|
+
id: randomUUID6(),
|
|
330696
|
+
content: {
|
|
330697
|
+
role: "model",
|
|
330698
|
+
parts: [{ text: INTERRUPTED_RESPONSE_PLACEHOLDER }]
|
|
330699
|
+
}
|
|
330700
|
+
});
|
|
330701
|
+
}
|
|
330626
330702
|
extractBinaryInjections(parts2) {
|
|
330627
330703
|
const binaryParts = [];
|
|
330628
330704
|
if (parts2) {
|
|
@@ -331249,11 +331325,24 @@ function stripThoughts2(history) {
|
|
|
331249
331325
|
if (!hasThought)
|
|
331250
331326
|
return turn;
|
|
331251
331327
|
const nonThoughtParts = turn.content.parts.filter((p) => p && !p.thought);
|
|
331328
|
+
let patchedFirstCall = false;
|
|
331329
|
+
const finalParts = turn.content.role === "model" ? nonThoughtParts.map((p) => {
|
|
331330
|
+
if (!patchedFirstCall && p.functionCall) {
|
|
331331
|
+
patchedFirstCall = true;
|
|
331332
|
+
if (!p.thoughtSignature) {
|
|
331333
|
+
return {
|
|
331334
|
+
...p,
|
|
331335
|
+
thoughtSignature: SYNTHETIC_THOUGHT_SIGNATURE2
|
|
331336
|
+
};
|
|
331337
|
+
}
|
|
331338
|
+
}
|
|
331339
|
+
return p;
|
|
331340
|
+
}) : nonThoughtParts;
|
|
331252
331341
|
return {
|
|
331253
331342
|
...turn,
|
|
331254
331343
|
content: {
|
|
331255
331344
|
...turn.content,
|
|
331256
|
-
parts:
|
|
331345
|
+
parts: finalParts
|
|
331257
331346
|
}
|
|
331258
331347
|
};
|
|
331259
331348
|
}).filter((turn) => !turn.content.parts || turn.content.parts.length > 0);
|
|
@@ -338405,7 +338494,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338405
338494
|
return provider;
|
|
338406
338495
|
}
|
|
338407
338496
|
case "oauth2": {
|
|
338408
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338497
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-CU4P6HIT.js");
|
|
338409
338498
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
338410
338499
|
await provider.initialize();
|
|
338411
338500
|
return provider;
|
|
@@ -391822,7 +391911,7 @@ var validateSerializable = (newContents) => {
|
|
|
391822
391911
|
};
|
|
391823
391912
|
|
|
391824
391913
|
// node_modules/execa/lib/io/output-sync.js
|
|
391825
|
-
import { writeFileSync as
|
|
391914
|
+
import { writeFileSync as writeFileSync5, appendFileSync as appendFileSync4 } from "node:fs";
|
|
391826
391915
|
|
|
391827
391916
|
// node_modules/execa/lib/verbose/output.js
|
|
391828
391917
|
var shouldLogOutput = ({ stdioItems, encoding, verboseInfo, fdNumber }) => fdNumber !== "all" && isFullVerbose(verboseInfo, fdNumber) && !BINARY_ENCODINGS.has(encoding) && fdUsesVerbose(fdNumber) && (stdioItems.some(({ type: type2, value }) => type2 === "native" && PIPED_STDIO_VALUES.has(value)) || stdioItems.every(({ type: type2 }) => TRANSFORM_TYPES.has(type2)));
|
|
@@ -391949,7 +392038,7 @@ var writeToFiles = (serializedResult, stdioItems, outputFiles) => {
|
|
|
391949
392038
|
appendFileSync4(path113, serializedResult);
|
|
391950
392039
|
} else {
|
|
391951
392040
|
outputFiles.add(pathString);
|
|
391952
|
-
|
|
392041
|
+
writeFileSync5(path113, serializedResult);
|
|
391953
392042
|
}
|
|
391954
392043
|
}
|
|
391955
392044
|
};
|
|
@@ -396116,6 +396205,7 @@ export {
|
|
|
396116
396205
|
isCompletedAskUserTool,
|
|
396117
396206
|
StreamEventType,
|
|
396118
396207
|
SYNTHETIC_THOUGHT_SIGNATURE2 as SYNTHETIC_THOUGHT_SIGNATURE,
|
|
396208
|
+
INTERRUPTED_RESPONSE_PLACEHOLDER,
|
|
396119
396209
|
isValidNonThoughtTextPart,
|
|
396120
396210
|
InvalidStreamError,
|
|
396121
396211
|
AgentExecutionStoppedError,
|
|
@@ -1,6 +1,9 @@
|
|
|
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,
|
|
4
7
|
DEFAULT_MODEL_CONFIGS,
|
|
5
8
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
6
9
|
EDITOR_OPTIONS,
|
|
@@ -28,7 +31,7 @@ import {
|
|
|
28
31
|
partListUnionToString,
|
|
29
32
|
require_strip_json_comments,
|
|
30
33
|
sanitizeFilenamePart
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BS6BSLZD.js";
|
|
32
35
|
import {
|
|
33
36
|
__commonJS,
|
|
34
37
|
__require,
|
|
@@ -10225,7 +10228,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10225
10228
|
args: tool.args,
|
|
10226
10229
|
description: tool.description || "",
|
|
10227
10230
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
10228
|
-
status: tool.status === "success" ?
|
|
10231
|
+
status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
|
|
10229
10232
|
resultDisplay: tool.resultDisplay,
|
|
10230
10233
|
confirmationDetails: void 0
|
|
10231
10234
|
}))
|
|
@@ -16289,8 +16292,8 @@ var LoadedSettings = class {
|
|
|
16289
16292
|
// React will pass a listener fn into this subscribe fn
|
|
16290
16293
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
16291
16294
|
subscribe(listener) {
|
|
16292
|
-
coreEvents.on(
|
|
16293
|
-
return () => coreEvents.off(
|
|
16295
|
+
coreEvents.on(CoreEvent.SettingsChanged, listener);
|
|
16296
|
+
return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
|
|
16294
16297
|
}
|
|
16295
16298
|
getSnapshot() {
|
|
16296
16299
|
return this._snapshot;
|
|
@@ -16434,7 +16437,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16434
16437
|
}
|
|
16435
16438
|
}
|
|
16436
16439
|
let value = "cloudshell-gca";
|
|
16437
|
-
if (selectedAuthType ===
|
|
16440
|
+
if (selectedAuthType === AuthType.USE_VERTEX_AI) {
|
|
16438
16441
|
value = process2.env[USER_GCP_PROJECT];
|
|
16439
16442
|
}
|
|
16440
16443
|
if (envFilePath && fs4.existsSync(envFilePath)) {
|
|
@@ -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-4YSWDUQZ.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-D7ZXPN6G.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BS6BSLZD.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|