@google/gemini-cli 0.36.0-preview.4 → 0.36.0-preview.6
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-NB2KVK55.js → chunk-4P6XQ35T.js} +3 -3
- package/bundle/{chunk-GUQQGCYU.js → chunk-5JYGJANN.js} +3 -3
- package/bundle/{chunk-GCWRR5FX.js → chunk-I3Z6XPMI.js} +5 -5
- package/bundle/{chunk-LA7NTE7R.js → chunk-NBSN2ZY6.js} +3 -3
- package/bundle/{chunk-RCVLWPH6.js → chunk-OE54FCNN.js} +5 -5
- package/bundle/{chunk-QG3DE2NC.js → chunk-PDW366WH.js} +5 -5
- package/bundle/{chunk-PCRNOH75.js → chunk-QTNBTOHX.js} +3 -3
- package/bundle/{chunk-L6SWRWOY.js → chunk-U2JBMR75.js} +5 -5
- package/bundle/{core-UDWC3JHH.js → core-NSYWNIRO.js} +1 -1
- package/bundle/{devtoolsService-WMTAFNHI.js → devtoolsService-2I6GE4QG.js} +2 -2
- package/bundle/{devtoolsService-5KPG7MTO.js → devtoolsService-3NAUMYXJ.js} +2 -2
- package/bundle/{devtoolsService-F3HNCJ5J.js → devtoolsService-FPXH5TOL.js} +2 -2
- package/bundle/{devtoolsService-JP7KYM7O.js → devtoolsService-MQCND52T.js} +2 -2
- package/bundle/{dist-6YQTL2TU.js → dist-2L2ZZ6UU.js} +1 -1
- package/bundle/{dist-FZZRWINS.js → dist-ECE6U2CF.js} +1 -1
- package/bundle/{dist-WZ5ZCWLQ.js → dist-JYBWVV27.js} +1 -1
- package/bundle/docs/core/remote-agents.md +96 -6
- package/bundle/gemini.js +8 -8
- package/bundle/{interactiveCli-2MHB7PL6.js → interactiveCli-HNW3RGAN.js} +3 -3
- package/bundle/{interactiveCli-3FPUSZZF.js → interactiveCli-MKWLBXZL.js} +3 -3
- package/bundle/{interactiveCli-HKHDILWJ.js → interactiveCli-NZ7FBLY6.js} +3 -3
- package/bundle/{interactiveCli-MNSUUMCD.js → interactiveCli-T2GH3MML.js} +3 -3
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-NNYNDNHB.js → oauth2-provider-3IFRA7CZ.js} +1 -1
- package/bundle/{oauth2-provider-GU6JSDXE.js → oauth2-provider-CD23TXNI.js} +1 -1
- package/bundle/{oauth2-provider-U2Y3KMJH.js → oauth2-provider-Q3ET7DXL.js} +1 -1
- package/bundle/{oauth2-provider-UFMHKHVW.js → oauth2-provider-TMPMYL3F.js} +1 -1
- package/package.json +1 -1
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
tokenLimit,
|
|
165
165
|
uiTelemetryService,
|
|
166
166
|
yellowBright
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-U2JBMR75.js";
|
|
168
168
|
import {
|
|
169
169
|
ApprovalMode,
|
|
170
170
|
CoreEvent,
|
|
@@ -83145,7 +83145,7 @@ var authCommand = {
|
|
|
83145
83145
|
import process29 from "node:process";
|
|
83146
83146
|
|
|
83147
83147
|
// packages/cli/src/generated/git-commit.ts
|
|
83148
|
-
var GIT_COMMIT_INFO = "
|
|
83148
|
+
var GIT_COMMIT_INFO = "c711a38f1";
|
|
83149
83149
|
|
|
83150
83150
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
83151
83151
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -88546,7 +88546,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
88546
88546
|
type: "info",
|
|
88547
88547
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
88548
88548
|
});
|
|
88549
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
88549
|
+
const { MCPOAuthProvider } = await import("./dist-JYBWVV27.js");
|
|
88550
88550
|
let oauthConfig = server.oauth;
|
|
88551
88551
|
if (!oauthConfig) {
|
|
88552
88552
|
oauthConfig = { enabled: false };
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
tokenLimit,
|
|
165
165
|
uiTelemetryService,
|
|
166
166
|
yellowBright
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-I3Z6XPMI.js";
|
|
168
168
|
import {
|
|
169
169
|
ApprovalMode,
|
|
170
170
|
CoreEvent,
|
|
@@ -83145,7 +83145,7 @@ var authCommand = {
|
|
|
83145
83145
|
import process29 from "node:process";
|
|
83146
83146
|
|
|
83147
83147
|
// packages/cli/src/generated/git-commit.ts
|
|
83148
|
-
var GIT_COMMIT_INFO = "
|
|
83148
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
83149
83149
|
|
|
83150
83150
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
83151
83151
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -88546,7 +88546,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
88546
88546
|
type: "info",
|
|
88547
88547
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
88548
88548
|
});
|
|
88549
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
88549
|
+
const { MCPOAuthProvider } = await import("./dist-ECE6U2CF.js");
|
|
88550
88550
|
let oauthConfig = server.oauth;
|
|
88551
88551
|
if (!oauthConfig) {
|
|
88552
88552
|
oauthConfig = { enabled: false };
|
|
@@ -237670,7 +237670,7 @@ function getSecureSanitizationConfig(requestedConfig = {}, baseConfig) {
|
|
|
237670
237670
|
allowedEnvironmentVariables: [...new Set(allowed)],
|
|
237671
237671
|
blockedEnvironmentVariables: [...new Set(blocked)],
|
|
237672
237672
|
// Redaction must be enabled for secure configurations
|
|
237673
|
-
enableEnvironmentVariableRedaction:
|
|
237673
|
+
enableEnvironmentVariableRedaction: requestedConfig.enableEnvironmentVariableRedaction ?? baseConfig?.enableEnvironmentVariableRedaction ?? false
|
|
237674
237674
|
};
|
|
237675
237675
|
}
|
|
237676
237676
|
|
|
@@ -249986,8 +249986,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
249986
249986
|
var PointerVector = import_vector.default.PointerVector;
|
|
249987
249987
|
|
|
249988
249988
|
// packages/core/dist/src/generated/git-commit.js
|
|
249989
|
-
var GIT_COMMIT_INFO = "
|
|
249990
|
-
var CLI_VERSION = "0.36.0-preview.
|
|
249989
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
249990
|
+
var CLI_VERSION = "0.36.0-preview.5";
|
|
249991
249991
|
|
|
249992
249992
|
// packages/core/dist/src/ide/detect-ide.js
|
|
249993
249993
|
var IDE_DEFINITIONS = {
|
|
@@ -275701,7 +275701,7 @@ function getVersion() {
|
|
|
275701
275701
|
}
|
|
275702
275702
|
versionPromise = (async () => {
|
|
275703
275703
|
const pkgJson = await getPackageJson(__dirname4);
|
|
275704
|
-
return "0.36.0-preview.
|
|
275704
|
+
return "0.36.0-preview.5";
|
|
275705
275705
|
})();
|
|
275706
275706
|
return versionPromise;
|
|
275707
275707
|
}
|
|
@@ -327095,7 +327095,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
327095
327095
|
return provider;
|
|
327096
327096
|
}
|
|
327097
327097
|
case "oauth2": {
|
|
327098
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
327098
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-TMPMYL3F.js");
|
|
327099
327099
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
327100
327100
|
await provider.initialize();
|
|
327101
327101
|
return provider;
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
tokenLimit,
|
|
165
165
|
uiTelemetryService,
|
|
166
166
|
yellowBright
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-PDW366WH.js";
|
|
168
168
|
import {
|
|
169
169
|
ApprovalMode,
|
|
170
170
|
CoreEvent,
|
|
@@ -83145,7 +83145,7 @@ var authCommand = {
|
|
|
83145
83145
|
import process29 from "node:process";
|
|
83146
83146
|
|
|
83147
83147
|
// packages/cli/src/generated/git-commit.ts
|
|
83148
|
-
var GIT_COMMIT_INFO = "
|
|
83148
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
83149
83149
|
|
|
83150
83150
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
83151
83151
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -88546,7 +88546,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
88546
88546
|
type: "info",
|
|
88547
88547
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
88548
88548
|
});
|
|
88549
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
88549
|
+
const { MCPOAuthProvider } = await import("./dist-2L2ZZ6UU.js");
|
|
88550
88550
|
let oauthConfig = server.oauth;
|
|
88551
88551
|
if (!oauthConfig) {
|
|
88552
88552
|
oauthConfig = { enabled: false };
|
|
@@ -237676,7 +237676,7 @@ function getSecureSanitizationConfig(requestedConfig = {}, baseConfig) {
|
|
|
237676
237676
|
allowedEnvironmentVariables: [...new Set(allowed)],
|
|
237677
237677
|
blockedEnvironmentVariables: [...new Set(blocked)],
|
|
237678
237678
|
// Redaction must be enabled for secure configurations
|
|
237679
|
-
enableEnvironmentVariableRedaction:
|
|
237679
|
+
enableEnvironmentVariableRedaction: requestedConfig.enableEnvironmentVariableRedaction ?? baseConfig?.enableEnvironmentVariableRedaction ?? false
|
|
237680
237680
|
};
|
|
237681
237681
|
}
|
|
237682
237682
|
|
|
@@ -250034,8 +250034,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
250034
250034
|
var PointerVector = import_vector.default.PointerVector;
|
|
250035
250035
|
|
|
250036
250036
|
// packages/core/src/generated/git-commit.ts
|
|
250037
|
-
var GIT_COMMIT_INFO = "
|
|
250038
|
-
var CLI_VERSION = "0.36.0-preview.
|
|
250037
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
250038
|
+
var CLI_VERSION = "0.36.0-preview.5";
|
|
250039
250039
|
|
|
250040
250040
|
// packages/core/src/ide/detect-ide.ts
|
|
250041
250041
|
var IDE_DEFINITIONS = {
|
|
@@ -276488,7 +276488,7 @@ function getVersion() {
|
|
|
276488
276488
|
}
|
|
276489
276489
|
versionPromise = (async () => {
|
|
276490
276490
|
const pkgJson = await getPackageJson(__dirname4);
|
|
276491
|
-
return "0.36.0-preview.
|
|
276491
|
+
return "0.36.0-preview.5";
|
|
276492
276492
|
})();
|
|
276493
276493
|
return versionPromise;
|
|
276494
276494
|
}
|
|
@@ -329880,7 +329880,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
329880
329880
|
return provider;
|
|
329881
329881
|
}
|
|
329882
329882
|
case "oauth2": {
|
|
329883
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
329883
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-3IFRA7CZ.js");
|
|
329884
329884
|
const provider = new OAuth2AuthProvider(
|
|
329885
329885
|
authConfig,
|
|
329886
329886
|
options.agentName ?? "unknown",
|
|
@@ -237670,7 +237670,7 @@ function getSecureSanitizationConfig(requestedConfig = {}, baseConfig) {
|
|
|
237670
237670
|
allowedEnvironmentVariables: [...new Set(allowed)],
|
|
237671
237671
|
blockedEnvironmentVariables: [...new Set(blocked)],
|
|
237672
237672
|
// Redaction must be enabled for secure configurations
|
|
237673
|
-
enableEnvironmentVariableRedaction:
|
|
237673
|
+
enableEnvironmentVariableRedaction: requestedConfig.enableEnvironmentVariableRedaction ?? baseConfig?.enableEnvironmentVariableRedaction ?? false
|
|
237674
237674
|
};
|
|
237675
237675
|
}
|
|
237676
237676
|
|
|
@@ -249986,8 +249986,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
249986
249986
|
var PointerVector = import_vector.default.PointerVector;
|
|
249987
249987
|
|
|
249988
249988
|
// packages/core/dist/src/generated/git-commit.js
|
|
249989
|
-
var GIT_COMMIT_INFO = "
|
|
249990
|
-
var CLI_VERSION = "0.36.0-preview.
|
|
249989
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
249990
|
+
var CLI_VERSION = "0.36.0-preview.5";
|
|
249991
249991
|
|
|
249992
249992
|
// packages/core/dist/src/ide/detect-ide.js
|
|
249993
249993
|
var IDE_DEFINITIONS = {
|
|
@@ -275701,7 +275701,7 @@ function getVersion() {
|
|
|
275701
275701
|
}
|
|
275702
275702
|
versionPromise = (async () => {
|
|
275703
275703
|
const pkgJson = await getPackageJson(__dirname4);
|
|
275704
|
-
return "0.36.0-preview.
|
|
275704
|
+
return "0.36.0-preview.6";
|
|
275705
275705
|
})();
|
|
275706
275706
|
return versionPromise;
|
|
275707
275707
|
}
|
|
@@ -327095,7 +327095,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
327095
327095
|
return provider;
|
|
327096
327096
|
}
|
|
327097
327097
|
case "oauth2": {
|
|
327098
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
327098
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-CD23TXNI.js");
|
|
327099
327099
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
327100
327100
|
await provider.initialize();
|
|
327101
327101
|
return provider;
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
tokenLimit,
|
|
154
154
|
uiTelemetryService,
|
|
155
155
|
yellowBright
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-OE54FCNN.js";
|
|
157
157
|
import {
|
|
158
158
|
ApprovalMode,
|
|
159
159
|
CoreEvent,
|
|
@@ -83133,7 +83133,7 @@ var authCommand = {
|
|
|
83133
83133
|
import process29 from "node:process";
|
|
83134
83134
|
|
|
83135
83135
|
// packages/cli/src/generated/git-commit.ts
|
|
83136
|
-
var GIT_COMMIT_INFO = "
|
|
83136
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
83137
83137
|
|
|
83138
83138
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
83139
83139
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -88534,7 +88534,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
88534
88534
|
type: "info",
|
|
88535
88535
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
88536
88536
|
});
|
|
88537
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
88537
|
+
const { MCPOAuthProvider } = await import("./core-NSYWNIRO.js");
|
|
88538
88538
|
let oauthConfig = server.oauth;
|
|
88539
88539
|
if (!oauthConfig) {
|
|
88540
88540
|
oauthConfig = { enabled: false };
|
|
@@ -237670,7 +237670,7 @@ function getSecureSanitizationConfig(requestedConfig = {}, baseConfig) {
|
|
|
237670
237670
|
allowedEnvironmentVariables: [...new Set(allowed)],
|
|
237671
237671
|
blockedEnvironmentVariables: [...new Set(blocked)],
|
|
237672
237672
|
// Redaction must be enabled for secure configurations
|
|
237673
|
-
enableEnvironmentVariableRedaction:
|
|
237673
|
+
enableEnvironmentVariableRedaction: requestedConfig.enableEnvironmentVariableRedaction ?? baseConfig?.enableEnvironmentVariableRedaction ?? false
|
|
237674
237674
|
};
|
|
237675
237675
|
}
|
|
237676
237676
|
|
|
@@ -249986,8 +249986,8 @@ var Float64Vector = import_vector.default.Float64Vector;
|
|
|
249986
249986
|
var PointerVector = import_vector.default.PointerVector;
|
|
249987
249987
|
|
|
249988
249988
|
// packages/core/dist/src/generated/git-commit.js
|
|
249989
|
-
var GIT_COMMIT_INFO = "
|
|
249990
|
-
var CLI_VERSION = "0.36.0-preview.
|
|
249989
|
+
var GIT_COMMIT_INFO = "975b7dc16";
|
|
249990
|
+
var CLI_VERSION = "0.36.0-preview.6";
|
|
249991
249991
|
|
|
249992
249992
|
// packages/core/dist/src/ide/detect-ide.js
|
|
249993
249993
|
var IDE_DEFINITIONS = {
|
|
@@ -275701,7 +275701,7 @@ function getVersion() {
|
|
|
275701
275701
|
}
|
|
275702
275702
|
versionPromise = (async () => {
|
|
275703
275703
|
const pkgJson = await getPackageJson(__dirname4);
|
|
275704
|
-
return "0.36.0-preview.
|
|
275704
|
+
return "0.36.0-preview.6";
|
|
275705
275705
|
})();
|
|
275706
275706
|
return versionPromise;
|
|
275707
275707
|
}
|
|
@@ -327095,7 +327095,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
327095
327095
|
return provider;
|
|
327096
327096
|
}
|
|
327097
327097
|
case "oauth2": {
|
|
327098
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
327098
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-Q3ET7DXL.js");
|
|
327099
327099
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
327100
327100
|
await provider.initialize();
|
|
327101
327101
|
return provider;
|
|
@@ -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-PDW366WH.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
822
|
try {
|
|
823
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
823
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-2L2ZZ6UU.js");
|
|
824
824
|
const url = await startDevToolsServer(config);
|
|
825
825
|
if (shouldLaunchBrowser()) {
|
|
826
826
|
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-OE54FCNN.js";
|
|
3
3
|
import {
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
@@ -819,7 +819,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
819
819
|
return;
|
|
820
820
|
}
|
|
821
821
|
try {
|
|
822
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
822
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-NSYWNIRO.js");
|
|
823
823
|
const url = await startDevToolsServer(config);
|
|
824
824
|
if (shouldLaunchBrowser()) {
|
|
825
825
|
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-I3Z6XPMI.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
822
|
try {
|
|
823
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
823
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-ECE6U2CF.js");
|
|
824
824
|
const url = await startDevToolsServer(config);
|
|
825
825
|
if (shouldLaunchBrowser()) {
|
|
826
826
|
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-U2JBMR75.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
820
820
|
return;
|
|
821
821
|
}
|
|
822
822
|
try {
|
|
823
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
823
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-JYBWVV27.js");
|
|
824
824
|
const url = await startDevToolsServer(config);
|
|
825
825
|
if (shouldLaunchBrowser()) {
|
|
826
826
|
try {
|
|
@@ -51,12 +51,13 @@ You can place them in:
|
|
|
51
51
|
|
|
52
52
|
### Configuration schema
|
|
53
53
|
|
|
54
|
-
| Field
|
|
55
|
-
|
|
|
56
|
-
| `kind`
|
|
57
|
-
| `name`
|
|
58
|
-
| `agent_card_url`
|
|
59
|
-
| `
|
|
54
|
+
| Field | Type | Required | Description |
|
|
55
|
+
| :---------------- | :----- | :------- | :------------------------------------------------------------------------------------------------------------- |
|
|
56
|
+
| `kind` | string | Yes | Must be `remote`. |
|
|
57
|
+
| `name` | string | Yes | A unique name for the agent. Must be a valid slug (lowercase letters, numbers, hyphens, and underscores only). |
|
|
58
|
+
| `agent_card_url` | string | Yes\* | The URL to the agent's A2A card endpoint. Required if `agent_card_json` is not provided. |
|
|
59
|
+
| `agent_card_json` | string | Yes\* | The inline JSON string of the agent's A2A card. Required if `agent_card_url` is not provided. |
|
|
60
|
+
| `auth` | object | No | Authentication configuration. See [Authentication](#authentication). |
|
|
60
61
|
|
|
61
62
|
### Single-subagent example
|
|
62
63
|
|
|
@@ -88,6 +89,95 @@ Markdown file.
|
|
|
88
89
|
> [!NOTE] Mixed local and remote agents, or multiple local agents, are not
|
|
89
90
|
> supported in a single file; the list format is currently remote-only.
|
|
90
91
|
|
|
92
|
+
### Inline Agent Card JSON
|
|
93
|
+
|
|
94
|
+
<details>
|
|
95
|
+
<summary>View formatting options for JSON strings</summary>
|
|
96
|
+
|
|
97
|
+
If you don't have an endpoint serving the agent card, you can provide the A2A
|
|
98
|
+
card directly as a JSON string using `agent_card_json`.
|
|
99
|
+
|
|
100
|
+
When providing a JSON string in YAML, you must properly format it as a string
|
|
101
|
+
scalar. You can use single quotes, a block scalar, or double quotes (which
|
|
102
|
+
require escaping internal double quotes).
|
|
103
|
+
|
|
104
|
+
#### Using single quotes
|
|
105
|
+
|
|
106
|
+
Single quotes allow you to embed unescaped double quotes inside the JSON string.
|
|
107
|
+
This format is useful for shorter, single-line JSON strings.
|
|
108
|
+
|
|
109
|
+
```markdown
|
|
110
|
+
---
|
|
111
|
+
kind: remote
|
|
112
|
+
name: single-quotes-agent
|
|
113
|
+
agent_card_json:
|
|
114
|
+
'{ "protocolVersion": "0.3.0", "name": "Example Agent", "version": "1.0.0",
|
|
115
|
+
"url": "dummy-url" }'
|
|
116
|
+
---
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
#### Using a block scalar
|
|
120
|
+
|
|
121
|
+
The literal block scalar (`|`) preserves line breaks and is highly recommended
|
|
122
|
+
for multiline JSON strings as it avoids quote escaping entirely. The following
|
|
123
|
+
is a complete, valid Agent Card configuration using dummy values.
|
|
124
|
+
|
|
125
|
+
```markdown
|
|
126
|
+
---
|
|
127
|
+
kind: remote
|
|
128
|
+
name: block-scalar-agent
|
|
129
|
+
agent_card_json: |
|
|
130
|
+
{
|
|
131
|
+
"protocolVersion": "0.3.0",
|
|
132
|
+
"name": "Example Agent Name",
|
|
133
|
+
"description": "An example agent description for documentation purposes.",
|
|
134
|
+
"version": "1.0.0",
|
|
135
|
+
"url": "dummy-url",
|
|
136
|
+
"preferredTransport": "HTTP+JSON",
|
|
137
|
+
"capabilities": {
|
|
138
|
+
"streaming": true,
|
|
139
|
+
"extendedAgentCard": false
|
|
140
|
+
},
|
|
141
|
+
"defaultInputModes": [
|
|
142
|
+
"text/plain"
|
|
143
|
+
],
|
|
144
|
+
"defaultOutputModes": [
|
|
145
|
+
"application/json"
|
|
146
|
+
],
|
|
147
|
+
"skills": [
|
|
148
|
+
{
|
|
149
|
+
"id": "ExampleSkill",
|
|
150
|
+
"name": "Example Skill Assistant",
|
|
151
|
+
"description": "A description of what this example skill does.",
|
|
152
|
+
"tags": [
|
|
153
|
+
"example-tag"
|
|
154
|
+
],
|
|
155
|
+
"examples": [
|
|
156
|
+
"Show me an example."
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
---
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
#### Using double quotes
|
|
165
|
+
|
|
166
|
+
Double quotes are also supported, but any internal double quotes in your JSON
|
|
167
|
+
must be escaped with a backslash.
|
|
168
|
+
|
|
169
|
+
```markdown
|
|
170
|
+
---
|
|
171
|
+
kind: remote
|
|
172
|
+
name: double-quotes-agent
|
|
173
|
+
agent_card_json:
|
|
174
|
+
'{ "protocolVersion": "0.3.0", "name": "Example Agent", "version": "1.0.0",
|
|
175
|
+
"url": "dummy-url" }'
|
|
176
|
+
---
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
</details>
|
|
180
|
+
|
|
91
181
|
## Authentication
|
|
92
182
|
|
|
93
183
|
Many remote agents require authentication. Gemini CLI supports several
|
package/bundle/gemini.js
CHANGED
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
updateAllUpdatableExtensions,
|
|
68
68
|
updateExtension,
|
|
69
69
|
validateAuthMethod
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-4P6XQ35T.js";
|
|
71
71
|
import {
|
|
72
72
|
AuthType,
|
|
73
73
|
ChatRecordingService,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
uiTelemetryService,
|
|
154
154
|
writeToStderr,
|
|
155
155
|
writeToStdout
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-U2JBMR75.js";
|
|
157
157
|
import {
|
|
158
158
|
ASK_USER_TOOL_NAME,
|
|
159
159
|
ApprovalMode,
|
|
@@ -7232,20 +7232,20 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7232
7232
|
const sandboxOption = argv.sandbox ?? settings.tools?.sandbox;
|
|
7233
7233
|
let sandboxValue;
|
|
7234
7234
|
let allowedPaths = [];
|
|
7235
|
-
let networkAccess =
|
|
7235
|
+
let networkAccess = true;
|
|
7236
7236
|
let customImage;
|
|
7237
7237
|
if (typeof sandboxOption === "object" && sandboxOption !== null && !Array.isArray(sandboxOption)) {
|
|
7238
7238
|
const config = sandboxOption;
|
|
7239
7239
|
sandboxValue = config.enabled ? config.command ?? true : false;
|
|
7240
7240
|
allowedPaths = config.allowedPaths ?? [];
|
|
7241
|
-
networkAccess = config.networkAccess ??
|
|
7241
|
+
networkAccess = config.networkAccess ?? true;
|
|
7242
7242
|
customImage = config.image;
|
|
7243
7243
|
} else if (typeof sandboxOption !== "object" || sandboxOption === null) {
|
|
7244
7244
|
sandboxValue = sandboxOption;
|
|
7245
7245
|
}
|
|
7246
7246
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7247
7247
|
const packageJson = await getPackageJson(__dirname3);
|
|
7248
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.
|
|
7248
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.6" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7249
7249
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7250
7250
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7251
7251
|
}
|
|
@@ -9521,7 +9521,7 @@ async function runNonInteractive({
|
|
|
9521
9521
|
}
|
|
9522
9522
|
});
|
|
9523
9523
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9524
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9524
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-MQCND52T.js");
|
|
9525
9525
|
await setupInitialActivityLogger(config);
|
|
9526
9526
|
}
|
|
9527
9527
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -13974,7 +13974,7 @@ ${reason.stack}` : ""}`;
|
|
|
13974
13974
|
});
|
|
13975
13975
|
}
|
|
13976
13976
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
13977
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
13977
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HNW3RGAN.js");
|
|
13978
13978
|
await doStartUI(
|
|
13979
13979
|
config,
|
|
13980
13980
|
settings,
|
|
@@ -14170,7 +14170,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
14170
14170
|
await config.storage.initialize();
|
|
14171
14171
|
adminControlsListner.setConfig(config);
|
|
14172
14172
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
14173
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
14173
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-MQCND52T.js");
|
|
14174
14174
|
await setupInitialActivityLogger(config);
|
|
14175
14175
|
}
|
|
14176
14176
|
registerTelemetryConfig(config);
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
widestLineFromStyledChars,
|
|
182
182
|
wordBreakStyledChars,
|
|
183
183
|
wrapStyledChars
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-4P6XQ35T.js";
|
|
185
185
|
import {
|
|
186
186
|
ApiKeyUpdatedEvent,
|
|
187
187
|
AsyncFzf,
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
validatePlanContent,
|
|
301
301
|
validatePlanPath,
|
|
302
302
|
writeToStdout
|
|
303
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-U2JBMR75.js";
|
|
304
304
|
import {
|
|
305
305
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
306
306
|
ASK_USER_TOOL_NAME,
|
|
@@ -48383,7 +48383,7 @@ ${queuedText}` : queuedText;
|
|
|
48383
48383
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
48384
48384
|
if (settings.merged.general.devtools) {
|
|
48385
48385
|
void (async () => {
|
|
48386
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
48386
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-MQCND52T.js");
|
|
48387
48387
|
await toggleDevToolsPanel(
|
|
48388
48388
|
config,
|
|
48389
48389
|
showErrorDetails,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
widestLineFromStyledChars,
|
|
182
182
|
wordBreakStyledChars,
|
|
183
183
|
wrapStyledChars
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-NBSN2ZY6.js";
|
|
185
185
|
import {
|
|
186
186
|
ApiKeyUpdatedEvent,
|
|
187
187
|
AsyncFzf,
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
validatePlanContent,
|
|
301
301
|
validatePlanPath,
|
|
302
302
|
writeToStdout
|
|
303
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-PDW366WH.js";
|
|
304
304
|
import {
|
|
305
305
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
306
306
|
ASK_USER_TOOL_NAME,
|
|
@@ -48383,7 +48383,7 @@ ${queuedText}` : queuedText;
|
|
|
48383
48383
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
48384
48384
|
if (settings.merged.general.devtools) {
|
|
48385
48385
|
void (async () => {
|
|
48386
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
48386
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-2I6GE4QG.js");
|
|
48387
48387
|
await toggleDevToolsPanel(
|
|
48388
48388
|
config,
|
|
48389
48389
|
showErrorDetails,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
widestLineFromStyledChars,
|
|
182
182
|
wordBreakStyledChars,
|
|
183
183
|
wrapStyledChars
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-QTNBTOHX.js";
|
|
185
185
|
import {
|
|
186
186
|
ApiKeyUpdatedEvent,
|
|
187
187
|
AsyncFzf,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
validatePlanContent,
|
|
291
291
|
validatePlanPath,
|
|
292
292
|
writeToStdout
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-OE54FCNN.js";
|
|
294
294
|
import {
|
|
295
295
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
296
296
|
ASK_USER_TOOL_NAME,
|
|
@@ -48366,7 +48366,7 @@ ${queuedText}` : queuedText;
|
|
|
48366
48366
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
48367
48367
|
if (settings.merged.general.devtools) {
|
|
48368
48368
|
void (async () => {
|
|
48369
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
48369
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-3NAUMYXJ.js");
|
|
48370
48370
|
await toggleDevToolsPanel(
|
|
48371
48371
|
config,
|
|
48372
48372
|
showErrorDetails,
|
|
@@ -181,7 +181,7 @@ import {
|
|
|
181
181
|
widestLineFromStyledChars,
|
|
182
182
|
wordBreakStyledChars,
|
|
183
183
|
wrapStyledChars
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-5JYGJANN.js";
|
|
185
185
|
import {
|
|
186
186
|
ApiKeyUpdatedEvent,
|
|
187
187
|
AsyncFzf,
|
|
@@ -300,7 +300,7 @@ import {
|
|
|
300
300
|
validatePlanContent,
|
|
301
301
|
validatePlanPath,
|
|
302
302
|
writeToStdout
|
|
303
|
-
} from "./chunk-
|
|
303
|
+
} from "./chunk-I3Z6XPMI.js";
|
|
304
304
|
import {
|
|
305
305
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
306
306
|
ASK_USER_TOOL_NAME,
|
|
@@ -48383,7 +48383,7 @@ ${queuedText}` : queuedText;
|
|
|
48383
48383
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
48384
48384
|
if (settings.merged.general.devtools) {
|
|
48385
48385
|
void (async () => {
|
|
48386
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
48386
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-FPXH5TOL.js");
|
|
48387
48387
|
await toggleDevToolsPanel(
|
|
48388
48388
|
config,
|
|
48389
48389
|
showErrorDetails,
|