@google/gemini-cli 0.39.0-preview.1 → 0.39.0-preview.2
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-EZUZYRLG.js → chunk-3R2FLB3Z.js} +4 -4
- package/bundle/{chunk-MJR464GS.js → chunk-45GIY5RT.js} +1 -1
- package/bundle/{chunk-P2IAFIFP.js → chunk-4UUOHXDW.js} +22 -8
- package/bundle/{chunk-IP2YTTJH.js → chunk-5J5LWISO.js} +24 -10
- package/bundle/{chunk-OS555R2T.js → chunk-AZ7QQWNX.js} +1 -1
- package/bundle/{chunk-OXN7IRB7.js → chunk-GX4YOB7T.js} +4 -4
- package/bundle/{chunk-TULI5SFB.js → chunk-N3GUGFOL.js} +4 -4
- package/bundle/{chunk-F2GDXAAF.js → chunk-OXCH4FS3.js} +24 -10
- package/bundle/{chunk-D5PDFQWX.js → chunk-QC6EGBZW.js} +1 -1
- package/bundle/{chunk-WHPMO3WR.js → chunk-RTX4LTWK.js} +4 -4
- package/bundle/{chunk-QHUP5MEL.js → chunk-SS4CWRZ5.js} +1 -1
- package/bundle/{chunk-7SQF544H.js → chunk-TKGFTY3B.js} +23 -10
- package/bundle/{cleanup-C647TEIA.js → cleanup-3EICKDDN.js} +2 -2
- package/bundle/{cleanup-CZSIFJCD.js → cleanup-4SLYOL44.js} +2 -2
- package/bundle/{cleanup-T6HLM5JP.js → cleanup-6N6E742H.js} +2 -2
- package/bundle/{cleanup-MYBJ6ZHP.js → cleanup-OG2MXKZ7.js} +2 -2
- package/bundle/{core-IZKTELTX.js → core-KLYK3V6Z.js} +1 -1
- package/bundle/{devtoolsService-GHSBU5R5.js → devtoolsService-FS7WXGBF.js} +2 -2
- package/bundle/{devtoolsService-OEBSPLJN.js → devtoolsService-K4DENTYF.js} +2 -2
- package/bundle/{devtoolsService-2ROQ6LME.js → devtoolsService-RLXZWLDT.js} +2 -2
- package/bundle/{devtoolsService-CR2UJLLC.js → devtoolsService-X4577PYZ.js} +2 -2
- package/bundle/{dist-ADH7BOBF.js → dist-5ET5G5PC.js} +1 -1
- package/bundle/{dist-OST42PZR.js → dist-DQVXGLSO.js} +1 -1
- package/bundle/{dist-ZMA73RD7.js → dist-P4XAO4SC.js} +1 -1
- package/bundle/{gemini-6BFSWN53.js → gemini-6GWCDHXK.js} +7 -7
- package/bundle/{gemini-IENVNLLQ.js → gemini-FLGPH5GJ.js} +8 -8
- package/bundle/{gemini-GUA6PG6F.js → gemini-NBKLSVA3.js} +8 -8
- package/bundle/{gemini-HENMLXDS.js → gemini-YOFQ5KF4.js} +8 -8
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-FCDJTVQ3.js → interactiveCli-AGSLCKNH.js} +4 -4
- package/bundle/{interactiveCli-FMNSXXHR.js → interactiveCli-H3NLGP7Z.js} +4 -4
- package/bundle/{interactiveCli-P3PFIHWL.js → interactiveCli-NAPN3E2K.js} +4 -4
- package/bundle/{interactiveCli-SEQ7RLOB.js → interactiveCli-TCZBSTKU.js} +4 -4
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-6TB4NGWJ.js → oauth2-provider-CWUR5RGE.js} +1 -1
- package/bundle/{oauth2-provider-IXDXXQ6U.js → oauth2-provider-EA452S4C.js} +1 -1
- package/bundle/{oauth2-provider-UF547EKT.js → oauth2-provider-LV6VPYTU.js} +1 -1
- package/bundle/{oauth2-provider-AUIG7Q6O.js → oauth2-provider-YKYTKUWD.js} +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5PS3AYFU.js";
|
|
6
6
|
import {
|
|
7
7
|
runExitCleanup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QC6EGBZW.js";
|
|
9
9
|
import {
|
|
10
10
|
AsyncFzf,
|
|
11
11
|
AuthProviderType,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
tokenLimit,
|
|
168
168
|
uiTelemetryService,
|
|
169
169
|
yellowBright
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-TKGFTY3B.js";
|
|
171
171
|
import {
|
|
172
172
|
ApprovalMode,
|
|
173
173
|
CoreEvent,
|
|
@@ -76642,7 +76642,7 @@ var authCommand = {
|
|
|
76642
76642
|
import process35 from "node:process";
|
|
76643
76643
|
|
|
76644
76644
|
// packages/cli/src/generated/git-commit.ts
|
|
76645
|
-
var GIT_COMMIT_INFO = "
|
|
76645
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
76646
76646
|
|
|
76647
76647
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
76648
76648
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -82126,7 +82126,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82126
82126
|
type: "info",
|
|
82127
82127
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82128
82128
|
});
|
|
82129
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
82129
|
+
const { MCPOAuthProvider } = await import("./core-KLYK3V6Z.js");
|
|
82130
82130
|
let oauthConfig = server.oauth;
|
|
82131
82131
|
if (!oauthConfig) {
|
|
82132
82132
|
oauthConfig = { enabled: false };
|
|
@@ -251721,7 +251721,7 @@ var EventMetadataKey;
|
|
|
251721
251721
|
})(EventMetadataKey || (EventMetadataKey = {}));
|
|
251722
251722
|
|
|
251723
251723
|
// packages/core/dist/src/generated/git-commit.js
|
|
251724
|
-
var GIT_COMMIT_INFO = "
|
|
251724
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
251725
251725
|
var CLI_VERSION = "0.39.0-preview.1";
|
|
251726
251726
|
|
|
251727
251727
|
// packages/core/dist/src/ide/detect-ide.js
|
|
@@ -318573,7 +318573,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
318573
318573
|
return provider;
|
|
318574
318574
|
}
|
|
318575
318575
|
case "oauth2": {
|
|
318576
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
318576
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-EA452S4C.js");
|
|
318577
318577
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
318578
318578
|
await provider.initialize();
|
|
318579
318579
|
return provider;
|
|
@@ -325338,6 +325338,8 @@ var A2AResultReassembler = class {
|
|
|
325338
325338
|
pushMessage(message) {
|
|
325339
325339
|
if (!message)
|
|
325340
325340
|
return;
|
|
325341
|
+
if (message.role === "user")
|
|
325342
|
+
return;
|
|
325341
325343
|
const text = extractPartsText(message.parts, "");
|
|
325342
325344
|
if (text && this.messageLog[this.messageLog.length - 1] !== text) {
|
|
325343
325345
|
this.messageLog.push(text);
|
|
@@ -325348,19 +325350,32 @@ var A2AResultReassembler = class {
|
|
|
325348
325350
|
*/
|
|
325349
325351
|
toActivityItems() {
|
|
325350
325352
|
const isAuthRequired = this.messageLog.includes(AUTH_REQUIRED_MSG);
|
|
325351
|
-
|
|
325352
|
-
|
|
325353
|
+
const items = [];
|
|
325354
|
+
if (isAuthRequired) {
|
|
325355
|
+
items.push({
|
|
325353
325356
|
id: "auth-required",
|
|
325354
325357
|
type: "thought",
|
|
325355
325358
|
content: AUTH_REQUIRED_MSG,
|
|
325356
325359
|
status: "running"
|
|
325357
|
-
}
|
|
325360
|
+
});
|
|
325361
|
+
}
|
|
325362
|
+
this.messageLog.forEach((msg, index) => {
|
|
325363
|
+
items.push({
|
|
325364
|
+
id: `msg-${index}`,
|
|
325365
|
+
type: "thought",
|
|
325366
|
+
content: msg.trim(),
|
|
325367
|
+
status: "completed"
|
|
325368
|
+
});
|
|
325369
|
+
});
|
|
325370
|
+
if (items.length === 0 && !isAuthRequired) {
|
|
325371
|
+
items.push({
|
|
325358
325372
|
id: "pending",
|
|
325359
325373
|
type: "thought",
|
|
325360
325374
|
content: "Working...",
|
|
325361
325375
|
status: "running"
|
|
325362
|
-
}
|
|
325363
|
-
|
|
325376
|
+
});
|
|
325377
|
+
}
|
|
325378
|
+
return items;
|
|
325364
325379
|
}
|
|
325365
325380
|
/**
|
|
325366
325381
|
* Returns a human-readable string representation of the current reassembled state.
|
|
@@ -352767,7 +352782,6 @@ ${sections.join("\n")}
|
|
|
352767
352782
|
debugLogger.debug("Experiments loaded", summaryString);
|
|
352768
352783
|
}
|
|
352769
352784
|
onAgentsRefreshed = async () => {
|
|
352770
|
-
await this.agentRegistry.initialize();
|
|
352771
352785
|
const client = this.geminiClient;
|
|
352772
352786
|
if (client?.isInitialized()) {
|
|
352773
352787
|
await client.setTools();
|
|
@@ -251721,8 +251721,8 @@ var EventMetadataKey;
|
|
|
251721
251721
|
})(EventMetadataKey || (EventMetadataKey = {}));
|
|
251722
251722
|
|
|
251723
251723
|
// packages/core/dist/src/generated/git-commit.js
|
|
251724
|
-
var GIT_COMMIT_INFO = "
|
|
251725
|
-
var CLI_VERSION = "0.39.0-preview.
|
|
251724
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
251725
|
+
var CLI_VERSION = "0.39.0-preview.1";
|
|
251726
251726
|
|
|
251727
251727
|
// packages/core/dist/src/ide/detect-ide.js
|
|
251728
251728
|
var IDE_DEFINITIONS = {
|
|
@@ -277902,7 +277902,7 @@ function getVersion() {
|
|
|
277902
277902
|
}
|
|
277903
277903
|
versionPromise = (async () => {
|
|
277904
277904
|
const pkgJson = await getPackageJson(__dirname4);
|
|
277905
|
-
return "0.39.0-preview.
|
|
277905
|
+
return "0.39.0-preview.2";
|
|
277906
277906
|
})();
|
|
277907
277907
|
return versionPromise;
|
|
277908
277908
|
}
|
|
@@ -318573,7 +318573,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
318573
318573
|
return provider;
|
|
318574
318574
|
}
|
|
318575
318575
|
case "oauth2": {
|
|
318576
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
318576
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-CWUR5RGE.js");
|
|
318577
318577
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
318578
318578
|
await provider.initialize();
|
|
318579
318579
|
return provider;
|
|
@@ -325338,6 +325338,8 @@ var A2AResultReassembler = class {
|
|
|
325338
325338
|
pushMessage(message) {
|
|
325339
325339
|
if (!message)
|
|
325340
325340
|
return;
|
|
325341
|
+
if (message.role === "user")
|
|
325342
|
+
return;
|
|
325341
325343
|
const text = extractPartsText(message.parts, "");
|
|
325342
325344
|
if (text && this.messageLog[this.messageLog.length - 1] !== text) {
|
|
325343
325345
|
this.messageLog.push(text);
|
|
@@ -325348,19 +325350,32 @@ var A2AResultReassembler = class {
|
|
|
325348
325350
|
*/
|
|
325349
325351
|
toActivityItems() {
|
|
325350
325352
|
const isAuthRequired = this.messageLog.includes(AUTH_REQUIRED_MSG);
|
|
325351
|
-
|
|
325352
|
-
|
|
325353
|
+
const items = [];
|
|
325354
|
+
if (isAuthRequired) {
|
|
325355
|
+
items.push({
|
|
325353
325356
|
id: "auth-required",
|
|
325354
325357
|
type: "thought",
|
|
325355
325358
|
content: AUTH_REQUIRED_MSG,
|
|
325356
325359
|
status: "running"
|
|
325357
|
-
}
|
|
325360
|
+
});
|
|
325361
|
+
}
|
|
325362
|
+
this.messageLog.forEach((msg, index) => {
|
|
325363
|
+
items.push({
|
|
325364
|
+
id: `msg-${index}`,
|
|
325365
|
+
type: "thought",
|
|
325366
|
+
content: msg.trim(),
|
|
325367
|
+
status: "completed"
|
|
325368
|
+
});
|
|
325369
|
+
});
|
|
325370
|
+
if (items.length === 0 && !isAuthRequired) {
|
|
325371
|
+
items.push({
|
|
325358
325372
|
id: "pending",
|
|
325359
325373
|
type: "thought",
|
|
325360
325374
|
content: "Working...",
|
|
325361
325375
|
status: "running"
|
|
325362
|
-
}
|
|
325363
|
-
|
|
325376
|
+
});
|
|
325377
|
+
}
|
|
325378
|
+
return items;
|
|
325364
325379
|
}
|
|
325365
325380
|
/**
|
|
325366
325381
|
* Returns a human-readable string representation of the current reassembled state.
|
|
@@ -352767,7 +352782,6 @@ ${sections.join("\n")}
|
|
|
352767
352782
|
debugLogger.debug("Experiments loaded", summaryString);
|
|
352768
352783
|
}
|
|
352769
352784
|
onAgentsRefreshed = async () => {
|
|
352770
|
-
await this.agentRegistry.initialize();
|
|
352771
352785
|
const client = this.geminiClient;
|
|
352772
352786
|
if (client?.isInitialized()) {
|
|
352773
352787
|
await client.setTools();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5PS3AYFU.js";
|
|
6
6
|
import {
|
|
7
7
|
runExitCleanup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-45GIY5RT.js";
|
|
9
9
|
import {
|
|
10
10
|
AsyncFzf,
|
|
11
11
|
AuthProviderType,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
tokenLimit,
|
|
179
179
|
uiTelemetryService,
|
|
180
180
|
yellowBright
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-OXCH4FS3.js";
|
|
182
182
|
import {
|
|
183
183
|
ApprovalMode,
|
|
184
184
|
CoreEvent,
|
|
@@ -76654,7 +76654,7 @@ var authCommand = {
|
|
|
76654
76654
|
import process35 from "node:process";
|
|
76655
76655
|
|
|
76656
76656
|
// packages/cli/src/generated/git-commit.ts
|
|
76657
|
-
var GIT_COMMIT_INFO = "
|
|
76657
|
+
var GIT_COMMIT_INFO = "a70149e15";
|
|
76658
76658
|
|
|
76659
76659
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
76660
76660
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -82138,7 +82138,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82138
82138
|
type: "info",
|
|
82139
82139
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82140
82140
|
});
|
|
82141
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82141
|
+
const { MCPOAuthProvider } = await import("./dist-5ET5G5PC.js");
|
|
82142
82142
|
let oauthConfig = server.oauth;
|
|
82143
82143
|
if (!oauthConfig) {
|
|
82144
82144
|
oauthConfig = { enabled: false };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5PS3AYFU.js";
|
|
6
6
|
import {
|
|
7
7
|
runExitCleanup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SS4CWRZ5.js";
|
|
9
9
|
import {
|
|
10
10
|
AsyncFzf,
|
|
11
11
|
AuthProviderType,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
tokenLimit,
|
|
179
179
|
uiTelemetryService,
|
|
180
180
|
yellowBright
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-5J5LWISO.js";
|
|
182
182
|
import {
|
|
183
183
|
ApprovalMode,
|
|
184
184
|
CoreEvent,
|
|
@@ -76654,7 +76654,7 @@ var authCommand = {
|
|
|
76654
76654
|
import process35 from "node:process";
|
|
76655
76655
|
|
|
76656
76656
|
// packages/cli/src/generated/git-commit.ts
|
|
76657
|
-
var GIT_COMMIT_INFO = "
|
|
76657
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
76658
76658
|
|
|
76659
76659
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
76660
76660
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -82138,7 +82138,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82138
82138
|
type: "info",
|
|
82139
82139
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82140
82140
|
});
|
|
82141
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82141
|
+
const { MCPOAuthProvider } = await import("./dist-DQVXGLSO.js");
|
|
82142
82142
|
let oauthConfig = server.oauth;
|
|
82143
82143
|
if (!oauthConfig) {
|
|
82144
82144
|
oauthConfig = { enabled: false };
|
|
@@ -251721,8 +251721,8 @@ var EventMetadataKey;
|
|
|
251721
251721
|
})(EventMetadataKey || (EventMetadataKey = {}));
|
|
251722
251722
|
|
|
251723
251723
|
// packages/core/dist/src/generated/git-commit.js
|
|
251724
|
-
var GIT_COMMIT_INFO = "
|
|
251725
|
-
var CLI_VERSION = "0.39.0-preview.
|
|
251724
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
251725
|
+
var CLI_VERSION = "0.39.0-preview.2";
|
|
251726
251726
|
|
|
251727
251727
|
// packages/core/dist/src/ide/detect-ide.js
|
|
251728
251728
|
var IDE_DEFINITIONS = {
|
|
@@ -277902,7 +277902,7 @@ function getVersion() {
|
|
|
277902
277902
|
}
|
|
277903
277903
|
versionPromise = (async () => {
|
|
277904
277904
|
const pkgJson = await getPackageJson(__dirname4);
|
|
277905
|
-
return "0.39.0-preview.
|
|
277905
|
+
return "0.39.0-preview.2";
|
|
277906
277906
|
})();
|
|
277907
277907
|
return versionPromise;
|
|
277908
277908
|
}
|
|
@@ -318573,7 +318573,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
318573
318573
|
return provider;
|
|
318574
318574
|
}
|
|
318575
318575
|
case "oauth2": {
|
|
318576
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
318576
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-LV6VPYTU.js");
|
|
318577
318577
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
318578
318578
|
await provider.initialize();
|
|
318579
318579
|
return provider;
|
|
@@ -325338,6 +325338,8 @@ var A2AResultReassembler = class {
|
|
|
325338
325338
|
pushMessage(message) {
|
|
325339
325339
|
if (!message)
|
|
325340
325340
|
return;
|
|
325341
|
+
if (message.role === "user")
|
|
325342
|
+
return;
|
|
325341
325343
|
const text = extractPartsText(message.parts, "");
|
|
325342
325344
|
if (text && this.messageLog[this.messageLog.length - 1] !== text) {
|
|
325343
325345
|
this.messageLog.push(text);
|
|
@@ -325348,19 +325350,32 @@ var A2AResultReassembler = class {
|
|
|
325348
325350
|
*/
|
|
325349
325351
|
toActivityItems() {
|
|
325350
325352
|
const isAuthRequired = this.messageLog.includes(AUTH_REQUIRED_MSG);
|
|
325351
|
-
|
|
325352
|
-
|
|
325353
|
+
const items = [];
|
|
325354
|
+
if (isAuthRequired) {
|
|
325355
|
+
items.push({
|
|
325353
325356
|
id: "auth-required",
|
|
325354
325357
|
type: "thought",
|
|
325355
325358
|
content: AUTH_REQUIRED_MSG,
|
|
325356
325359
|
status: "running"
|
|
325357
|
-
}
|
|
325360
|
+
});
|
|
325361
|
+
}
|
|
325362
|
+
this.messageLog.forEach((msg, index) => {
|
|
325363
|
+
items.push({
|
|
325364
|
+
id: `msg-${index}`,
|
|
325365
|
+
type: "thought",
|
|
325366
|
+
content: msg.trim(),
|
|
325367
|
+
status: "completed"
|
|
325368
|
+
});
|
|
325369
|
+
});
|
|
325370
|
+
if (items.length === 0 && !isAuthRequired) {
|
|
325371
|
+
items.push({
|
|
325358
325372
|
id: "pending",
|
|
325359
325373
|
type: "thought",
|
|
325360
325374
|
content: "Working...",
|
|
325361
325375
|
status: "running"
|
|
325362
|
-
}
|
|
325363
|
-
|
|
325376
|
+
});
|
|
325377
|
+
}
|
|
325378
|
+
return items;
|
|
325364
325379
|
}
|
|
325365
325380
|
/**
|
|
325366
325381
|
* Returns a human-readable string representation of the current reassembled state.
|
|
@@ -352767,7 +352782,6 @@ ${sections.join("\n")}
|
|
|
352767
352782
|
debugLogger.debug("Experiments loaded", summaryString);
|
|
352768
352783
|
}
|
|
352769
352784
|
onAgentsRefreshed = async () => {
|
|
352770
|
-
await this.agentRegistry.initialize();
|
|
352771
352785
|
const client = this.geminiClient;
|
|
352772
352786
|
if (client?.isInitialized()) {
|
|
352773
352787
|
await client.setTools();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5PS3AYFU.js";
|
|
6
6
|
import {
|
|
7
7
|
runExitCleanup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AZ7QQWNX.js";
|
|
9
9
|
import {
|
|
10
10
|
AsyncFzf,
|
|
11
11
|
AuthProviderType,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
tokenLimit,
|
|
179
179
|
uiTelemetryService,
|
|
180
180
|
yellowBright
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-4UUOHXDW.js";
|
|
182
182
|
import {
|
|
183
183
|
ApprovalMode,
|
|
184
184
|
CoreEvent,
|
|
@@ -76654,7 +76654,7 @@ var authCommand = {
|
|
|
76654
76654
|
import process35 from "node:process";
|
|
76655
76655
|
|
|
76656
76656
|
// packages/cli/src/generated/git-commit.ts
|
|
76657
|
-
var GIT_COMMIT_INFO = "
|
|
76657
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
76658
76658
|
|
|
76659
76659
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
76660
76660
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -82138,7 +82138,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82138
82138
|
type: "info",
|
|
82139
82139
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82140
82140
|
});
|
|
82141
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82141
|
+
const { MCPOAuthProvider } = await import("./dist-P4XAO4SC.js");
|
|
82142
82142
|
let oauthConfig = server.oauth;
|
|
82143
82143
|
if (!oauthConfig) {
|
|
82144
82144
|
oauthConfig = { enabled: false };
|
|
@@ -251823,8 +251823,8 @@ import { createHash } from "node:crypto";
|
|
|
251823
251823
|
import * as os12 from "node:os";
|
|
251824
251824
|
|
|
251825
251825
|
// packages/core/src/generated/git-commit.ts
|
|
251826
|
-
var GIT_COMMIT_INFO = "
|
|
251827
|
-
var CLI_VERSION = "0.39.0-preview.
|
|
251826
|
+
var GIT_COMMIT_INFO = "23f55e0d1";
|
|
251827
|
+
var CLI_VERSION = "0.39.0-preview.1";
|
|
251828
251828
|
|
|
251829
251829
|
// packages/core/src/ide/detect-ide.ts
|
|
251830
251830
|
var IDE_DEFINITIONS = {
|
|
@@ -278794,7 +278794,7 @@ function getVersion() {
|
|
|
278794
278794
|
}
|
|
278795
278795
|
versionPromise = (async () => {
|
|
278796
278796
|
const pkgJson = await getPackageJson(__dirname4);
|
|
278797
|
-
return "0.39.0-preview.
|
|
278797
|
+
return "0.39.0-preview.1";
|
|
278798
278798
|
})();
|
|
278799
278799
|
return versionPromise;
|
|
278800
278800
|
}
|
|
@@ -320790,7 +320790,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
320790
320790
|
return provider;
|
|
320791
320791
|
}
|
|
320792
320792
|
case "oauth2": {
|
|
320793
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
320793
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-YKYTKUWD.js");
|
|
320794
320794
|
const provider = new OAuth2AuthProvider(
|
|
320795
320795
|
authConfig,
|
|
320796
320796
|
options.agentName ?? "unknown",
|
|
@@ -328512,6 +328512,7 @@ var A2AResultReassembler = class {
|
|
|
328512
328512
|
}
|
|
328513
328513
|
pushMessage(message) {
|
|
328514
328514
|
if (!message) return;
|
|
328515
|
+
if (message.role === "user") return;
|
|
328515
328516
|
const text = extractPartsText(message.parts, "");
|
|
328516
328517
|
if (text && this.messageLog[this.messageLog.length - 1] !== text) {
|
|
328517
328518
|
this.messageLog.push(text);
|
|
@@ -328522,19 +328523,32 @@ var A2AResultReassembler = class {
|
|
|
328522
328523
|
*/
|
|
328523
328524
|
toActivityItems() {
|
|
328524
328525
|
const isAuthRequired = this.messageLog.includes(AUTH_REQUIRED_MSG);
|
|
328525
|
-
|
|
328526
|
-
|
|
328526
|
+
const items = [];
|
|
328527
|
+
if (isAuthRequired) {
|
|
328528
|
+
items.push({
|
|
328527
328529
|
id: "auth-required",
|
|
328528
328530
|
type: "thought",
|
|
328529
328531
|
content: AUTH_REQUIRED_MSG,
|
|
328530
328532
|
status: "running"
|
|
328531
|
-
}
|
|
328533
|
+
});
|
|
328534
|
+
}
|
|
328535
|
+
this.messageLog.forEach((msg, index) => {
|
|
328536
|
+
items.push({
|
|
328537
|
+
id: `msg-${index}`,
|
|
328538
|
+
type: "thought",
|
|
328539
|
+
content: msg.trim(),
|
|
328540
|
+
status: "completed"
|
|
328541
|
+
});
|
|
328542
|
+
});
|
|
328543
|
+
if (items.length === 0 && !isAuthRequired) {
|
|
328544
|
+
items.push({
|
|
328532
328545
|
id: "pending",
|
|
328533
328546
|
type: "thought",
|
|
328534
328547
|
content: "Working...",
|
|
328535
328548
|
status: "running"
|
|
328536
|
-
}
|
|
328537
|
-
|
|
328549
|
+
});
|
|
328550
|
+
}
|
|
328551
|
+
return items;
|
|
328538
328552
|
}
|
|
328539
328553
|
/**
|
|
328540
328554
|
* Returns a human-readable string representation of the current reassembled state.
|
|
@@ -357747,7 +357761,6 @@ ${sections.join("\n")}
|
|
|
357747
357761
|
debugLogger.debug("Experiments loaded", summaryString);
|
|
357748
357762
|
}
|
|
357749
357763
|
onAgentsRefreshed = async () => {
|
|
357750
|
-
await this.agentRegistry.initialize();
|
|
357751
357764
|
const client = this.geminiClient;
|
|
357752
357765
|
if (client?.isInitialized()) {
|
|
357753
357766
|
await client.setTools();
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-AZ7QQWNX.js";
|
|
15
|
+
import "./chunk-4UUOHXDW.js";
|
|
16
16
|
import "./chunk-67TFD6HC.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-SS4CWRZ5.js";
|
|
15
|
+
import "./chunk-5J5LWISO.js";
|
|
16
16
|
import "./chunk-67TFD6HC.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-QC6EGBZW.js";
|
|
15
|
+
import "./chunk-TKGFTY3B.js";
|
|
16
16
|
import "./chunk-QM5IP3NK.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-45GIY5RT.js";
|
|
15
|
+
import "./chunk-OXCH4FS3.js";
|
|
16
16
|
import "./chunk-67TFD6HC.js";
|
|
17
17
|
import "./chunk-664ZODQF.js";
|
|
18
18
|
import "./chunk-RJTRUG2J.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-TKGFTY3B.js";
|
|
3
3
|
import {
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
@@ -836,7 +836,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
836
836
|
return;
|
|
837
837
|
}
|
|
838
838
|
try {
|
|
839
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
839
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-KLYK3V6Z.js");
|
|
840
840
|
const url = await startDevToolsServer(config);
|
|
841
841
|
if (shouldLaunchBrowser()) {
|
|
842
842
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-OXCH4FS3.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -837,7 +837,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
837
837
|
return;
|
|
838
838
|
}
|
|
839
839
|
try {
|
|
840
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
840
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-5ET5G5PC.js");
|
|
841
841
|
const url = await startDevToolsServer(config);
|
|
842
842
|
if (shouldLaunchBrowser()) {
|
|
843
843
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-4UUOHXDW.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -837,7 +837,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
837
837
|
return;
|
|
838
838
|
}
|
|
839
839
|
try {
|
|
840
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
840
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-P4XAO4SC.js");
|
|
841
841
|
const url = await startDevToolsServer(config);
|
|
842
842
|
if (shouldLaunchBrowser()) {
|
|
843
843
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-5J5LWISO.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -837,7 +837,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
837
837
|
return;
|
|
838
838
|
}
|
|
839
839
|
try {
|
|
840
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
840
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-DQVXGLSO.js");
|
|
841
841
|
const url = await startDevToolsServer(config);
|
|
842
842
|
if (shouldLaunchBrowser()) {
|
|
843
843
|
try {
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-RTX4LTWK.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-AZ7QQWNX.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
updatePolicy,
|
|
168
168
|
writeToStderr,
|
|
169
169
|
writeToStdout
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-4UUOHXDW.js";
|
|
171
171
|
import {
|
|
172
172
|
ASK_USER_TOOL_NAME,
|
|
173
173
|
ApprovalMode,
|
|
@@ -9562,7 +9562,7 @@ async function runNonInteractive({
|
|
|
9562
9562
|
}
|
|
9563
9563
|
});
|
|
9564
9564
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9565
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9565
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
9566
9566
|
await setupInitialActivityLogger(config);
|
|
9567
9567
|
}
|
|
9568
9568
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10013,7 +10013,7 @@ async function runNonInteractive2(params) {
|
|
|
10013
10013
|
}
|
|
10014
10014
|
});
|
|
10015
10015
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10016
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10016
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
10017
10017
|
await setupInitialActivityLogger(config);
|
|
10018
10018
|
}
|
|
10019
10019
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14860,7 +14860,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
14862
14862
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14863
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14863
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-NAPN3E2K.js");
|
|
14864
14864
|
await doStartUI(
|
|
14865
14865
|
config,
|
|
14866
14866
|
settings,
|
|
@@ -15062,7 +15062,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15062
15062
|
await config.storage.initialize();
|
|
15063
15063
|
adminControlsListner.setConfig(config);
|
|
15064
15064
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15065
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15065
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
15066
15066
|
await setupInitialActivityLogger(config);
|
|
15067
15067
|
}
|
|
15068
15068
|
registerTelemetryConfig(config);
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3R2FLB3Z.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-QC6EGBZW.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
updatePolicy,
|
|
157
157
|
writeToStderr,
|
|
158
158
|
writeToStdout
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-TKGFTY3B.js";
|
|
160
160
|
import {
|
|
161
161
|
ASK_USER_TOOL_NAME,
|
|
162
162
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
@@ -7250,7 +7250,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7252
7252
|
const packageJson = await getPackageJson(__dirname3);
|
|
7253
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.
|
|
7253
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7254
7254
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7255
7255
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7256
7256
|
}
|
|
@@ -9547,7 +9547,7 @@ async function runNonInteractive({
|
|
|
9547
9547
|
}
|
|
9548
9548
|
});
|
|
9549
9549
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9550
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9550
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
9551
9551
|
await setupInitialActivityLogger(config);
|
|
9552
9552
|
}
|
|
9553
9553
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -9998,7 +9998,7 @@ async function runNonInteractive2(params) {
|
|
|
9998
9998
|
}
|
|
9999
9999
|
});
|
|
10000
10000
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10001
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10001
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
10002
10002
|
await setupInitialActivityLogger(config);
|
|
10003
10003
|
}
|
|
10004
10004
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14845,7 +14845,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14845
14845
|
}
|
|
14846
14846
|
}
|
|
14847
14847
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14848
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14848
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-AGSLCKNH.js");
|
|
14849
14849
|
await doStartUI(
|
|
14850
14850
|
config,
|
|
14851
14851
|
settings,
|
|
@@ -15047,7 +15047,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15047
15047
|
await config.storage.initialize();
|
|
15048
15048
|
adminControlsListner.setConfig(config);
|
|
15049
15049
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15050
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15050
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
15051
15051
|
await setupInitialActivityLogger(config);
|
|
15052
15052
|
}
|
|
15053
15053
|
registerTelemetryConfig(config);
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-N3GUGFOL.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-SS4CWRZ5.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
updatePolicy,
|
|
168
168
|
writeToStderr,
|
|
169
169
|
writeToStdout
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-5J5LWISO.js";
|
|
171
171
|
import {
|
|
172
172
|
ASK_USER_TOOL_NAME,
|
|
173
173
|
ApprovalMode,
|
|
@@ -7265,7 +7265,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7267
7267
|
const packageJson = await getPackageJson(__dirname3);
|
|
7268
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.
|
|
7268
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.2" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7269
7269
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7270
7270
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7271
7271
|
}
|
|
@@ -9562,7 +9562,7 @@ async function runNonInteractive({
|
|
|
9562
9562
|
}
|
|
9563
9563
|
});
|
|
9564
9564
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9565
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9565
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-X4577PYZ.js");
|
|
9566
9566
|
await setupInitialActivityLogger(config);
|
|
9567
9567
|
}
|
|
9568
9568
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10013,7 +10013,7 @@ async function runNonInteractive2(params) {
|
|
|
10013
10013
|
}
|
|
10014
10014
|
});
|
|
10015
10015
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10016
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10016
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-X4577PYZ.js");
|
|
10017
10017
|
await setupInitialActivityLogger(config);
|
|
10018
10018
|
}
|
|
10019
10019
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14860,7 +14860,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
14862
14862
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14863
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14863
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-H3NLGP7Z.js");
|
|
14864
14864
|
await doStartUI(
|
|
14865
14865
|
config,
|
|
14866
14866
|
settings,
|
|
@@ -15062,7 +15062,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15062
15062
|
await config.storage.initialize();
|
|
15063
15063
|
adminControlsListner.setConfig(config);
|
|
15064
15064
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15065
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15065
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-X4577PYZ.js");
|
|
15066
15066
|
await setupInitialActivityLogger(config);
|
|
15067
15067
|
}
|
|
15068
15068
|
registerTelemetryConfig(config);
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-GX4YOB7T.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-45GIY5RT.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
updatePolicy,
|
|
168
168
|
writeToStderr,
|
|
169
169
|
writeToStdout
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-OXCH4FS3.js";
|
|
171
171
|
import {
|
|
172
172
|
ASK_USER_TOOL_NAME,
|
|
173
173
|
ApprovalMode,
|
|
@@ -7265,7 +7265,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7267
7267
|
const packageJson = await getPackageJson(__dirname3);
|
|
7268
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.
|
|
7268
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.2" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7269
7269
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7270
7270
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7271
7271
|
}
|
|
@@ -9562,7 +9562,7 @@ async function runNonInteractive({
|
|
|
9562
9562
|
}
|
|
9563
9563
|
});
|
|
9564
9564
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9565
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9565
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-K4DENTYF.js");
|
|
9566
9566
|
await setupInitialActivityLogger(config);
|
|
9567
9567
|
}
|
|
9568
9568
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10013,7 +10013,7 @@ async function runNonInteractive2(params) {
|
|
|
10013
10013
|
}
|
|
10014
10014
|
});
|
|
10015
10015
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10016
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10016
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-K4DENTYF.js");
|
|
10017
10017
|
await setupInitialActivityLogger(config);
|
|
10018
10018
|
}
|
|
10019
10019
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14860,7 +14860,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
14862
14862
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14863
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14863
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-TCZBSTKU.js");
|
|
14864
14864
|
await doStartUI(
|
|
14865
14865
|
config,
|
|
14866
14866
|
settings,
|
|
@@ -15062,7 +15062,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15062
15062
|
await config.storage.initialize();
|
|
15063
15063
|
adminControlsListner.setConfig(config);
|
|
15064
15064
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15065
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15065
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-K4DENTYF.js");
|
|
15066
15066
|
await setupInitialActivityLogger(config);
|
|
15067
15067
|
}
|
|
15068
15068
|
registerTelemetryConfig(config);
|
package/bundle/gemini.js
CHANGED
|
@@ -103,9 +103,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
} else {
|
|
106
|
-
const { main } = await import("./gemini-
|
|
107
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
108
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
106
|
+
const { main } = await import("./gemini-YOFQ5KF4.js");
|
|
107
|
+
const { FatalError, writeToStderr } = await import("./dist-5ET5G5PC.js");
|
|
108
|
+
const { runExitCleanup } = await import("./cleanup-OG2MXKZ7.js");
|
|
109
109
|
main().catch(async (error) => {
|
|
110
110
|
const cleanupTimeout = setTimeout(() => {
|
|
111
111
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
widestLineFromStyledChars,
|
|
198
198
|
wordBreakStyledChars,
|
|
199
199
|
wrapStyledChars
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-3R2FLB3Z.js";
|
|
201
201
|
import {
|
|
202
202
|
appEvents
|
|
203
203
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
removeCleanup,
|
|
207
207
|
runExitCleanup,
|
|
208
208
|
setupTtyCheck
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-QC6EGBZW.js";
|
|
210
210
|
import {
|
|
211
211
|
ApiKeyUpdatedEvent,
|
|
212
212
|
AsyncFzf,
|
|
@@ -323,7 +323,7 @@ import {
|
|
|
323
323
|
validatePlanContent,
|
|
324
324
|
validatePlanPath,
|
|
325
325
|
writeToStdout
|
|
326
|
-
} from "./chunk-
|
|
326
|
+
} from "./chunk-TKGFTY3B.js";
|
|
327
327
|
import {
|
|
328
328
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
329
329
|
AGENT_TOOL_NAME,
|
|
@@ -33487,7 +33487,7 @@ ${queuedText}` : queuedText;
|
|
|
33487
33487
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33488
33488
|
if (settings.merged.general.devtools) {
|
|
33489
33489
|
void (async () => {
|
|
33490
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33490
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-FS7WXGBF.js");
|
|
33491
33491
|
await toggleDevToolsPanel(
|
|
33492
33492
|
config,
|
|
33493
33493
|
showErrorDetails,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
widestLineFromStyledChars,
|
|
198
198
|
wordBreakStyledChars,
|
|
199
199
|
wrapStyledChars
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-N3GUGFOL.js";
|
|
201
201
|
import {
|
|
202
202
|
appEvents
|
|
203
203
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
removeCleanup,
|
|
207
207
|
runExitCleanup,
|
|
208
208
|
setupTtyCheck
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-SS4CWRZ5.js";
|
|
210
210
|
import {
|
|
211
211
|
ApiKeyUpdatedEvent,
|
|
212
212
|
AsyncFzf,
|
|
@@ -333,7 +333,7 @@ import {
|
|
|
333
333
|
validatePlanContent,
|
|
334
334
|
validatePlanPath,
|
|
335
335
|
writeToStdout
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-5J5LWISO.js";
|
|
337
337
|
import {
|
|
338
338
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
339
339
|
AGENT_TOOL_NAME,
|
|
@@ -33504,7 +33504,7 @@ ${queuedText}` : queuedText;
|
|
|
33504
33504
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33505
33505
|
if (settings.merged.general.devtools) {
|
|
33506
33506
|
void (async () => {
|
|
33507
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33507
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-X4577PYZ.js");
|
|
33508
33508
|
await toggleDevToolsPanel(
|
|
33509
33509
|
config,
|
|
33510
33510
|
showErrorDetails,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
widestLineFromStyledChars,
|
|
198
198
|
wordBreakStyledChars,
|
|
199
199
|
wrapStyledChars
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-RTX4LTWK.js";
|
|
201
201
|
import {
|
|
202
202
|
appEvents
|
|
203
203
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
removeCleanup,
|
|
207
207
|
runExitCleanup,
|
|
208
208
|
setupTtyCheck
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-AZ7QQWNX.js";
|
|
210
210
|
import {
|
|
211
211
|
ApiKeyUpdatedEvent,
|
|
212
212
|
AsyncFzf,
|
|
@@ -333,7 +333,7 @@ import {
|
|
|
333
333
|
validatePlanContent,
|
|
334
334
|
validatePlanPath,
|
|
335
335
|
writeToStdout
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-4UUOHXDW.js";
|
|
337
337
|
import {
|
|
338
338
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
339
339
|
AGENT_TOOL_NAME,
|
|
@@ -33504,7 +33504,7 @@ ${queuedText}` : queuedText;
|
|
|
33504
33504
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33505
33505
|
if (settings.merged.general.devtools) {
|
|
33506
33506
|
void (async () => {
|
|
33507
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33507
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-RLXZWLDT.js");
|
|
33508
33508
|
await toggleDevToolsPanel(
|
|
33509
33509
|
config,
|
|
33510
33510
|
showErrorDetails,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
widestLineFromStyledChars,
|
|
198
198
|
wordBreakStyledChars,
|
|
199
199
|
wrapStyledChars
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-GX4YOB7T.js";
|
|
201
201
|
import {
|
|
202
202
|
appEvents
|
|
203
203
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
removeCleanup,
|
|
207
207
|
runExitCleanup,
|
|
208
208
|
setupTtyCheck
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-45GIY5RT.js";
|
|
210
210
|
import {
|
|
211
211
|
ApiKeyUpdatedEvent,
|
|
212
212
|
AsyncFzf,
|
|
@@ -333,7 +333,7 @@ import {
|
|
|
333
333
|
validatePlanContent,
|
|
334
334
|
validatePlanPath,
|
|
335
335
|
writeToStdout
|
|
336
|
-
} from "./chunk-
|
|
336
|
+
} from "./chunk-OXCH4FS3.js";
|
|
337
337
|
import {
|
|
338
338
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
339
339
|
AGENT_TOOL_NAME,
|
|
@@ -33504,7 +33504,7 @@ ${queuedText}` : queuedText;
|
|
|
33504
33504
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33505
33505
|
if (settings.merged.general.devtools) {
|
|
33506
33506
|
void (async () => {
|
|
33507
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33507
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-K4DENTYF.js");
|
|
33508
33508
|
await toggleDevToolsPanel(
|
|
33509
33509
|
config,
|
|
33510
33510
|
showErrorDetails,
|