@google/gemini-cli 0.37.0-preview.0 → 0.37.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-LEK5YYAR.js → chunk-4GDVEGW6.js} +66 -29
- package/bundle/{chunk-TJ76C6AA.js → chunk-4HLDGHKQ.js} +5903 -11016
- package/bundle/{chunk-R5X4CMUM.js → chunk-5OOT636U.js} +30 -23
- package/bundle/{chunk-7UZ4Y32N.js → chunk-JS5WSGB2.js} +30 -23
- package/bundle/{chunk-ULC3DHVX.js → chunk-KVB2FEJR.js} +6 -6
- package/bundle/{chunk-A62NZYIK.js → chunk-Q7WBFJC3.js} +73 -61
- package/bundle/chunk-RKV6HN7Q.js +98376 -0
- package/bundle/{chunk-3TN4SOLW.js → chunk-T475D6CB.js} +72 -29
- package/bundle/{chunk-XX7JYMTE.js → chunk-TZN2SS4V.js} +6 -6
- package/bundle/chunk-WY42FI6I.js +356418 -0
- package/bundle/{core-5OME6LT4.js → core-YYXQJ7TH.js} +4 -2
- package/bundle/{devtoolsService-4FIYD6OW.js → devtoolsService-B6RHLEYB.js} +3 -3
- package/bundle/{devtoolsService-TVWW3DBW.js → devtoolsService-DHRIWISR.js} +3 -3
- package/bundle/{devtoolsService-IDLWLZFQ.js → devtoolsService-MSTYJNTU.js} +5 -4
- package/bundle/devtoolsService-NRFH67X5.js +871 -0
- package/bundle/{core-CUCGSGCA.js → dist-2HVISZHF.js} +4 -2
- package/bundle/{dist-YWCADMDD.js → dist-KYKNBAEA.js} +4 -2
- package/bundle/dist-WQ7AVR5S.js +1942 -0
- package/bundle/docs/cli/plan-mode.md +10 -3
- package/bundle/docs/cli/settings.md +33 -33
- package/bundle/docs/reference/configuration.md +2 -2
- package/bundle/docs/reference/policy-engine.md +20 -1
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-4WFWOVAQ.js → interactiveCli-M5FR2TSQ.js} +4 -4
- package/bundle/{interactiveCli-4ZZ72DR3.js → interactiveCli-NNZT57UA.js} +264 -247
- package/bundle/interactiveCli-WM3LDBWK.js +50355 -0
- package/bundle/{interactiveCli-6SIGBRWS.js → interactiveCli-Z6APHR6N.js} +4 -4
- package/bundle/{memoryDiscovery-NS2EGHYH.js → memoryDiscovery-A265O6ML.js} +1 -1
- package/bundle/{memoryDiscovery-VL3OH25S.js → memoryDiscovery-H6J7KIH2.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-HGHECKPY.js → oauth2-provider-3Z6BMHEW.js} +2 -2
- package/bundle/{oauth2-provider-YYRJ44X5.js → oauth2-provider-6573WD2M.js} +39 -73
- package/bundle/{oauth2-provider-TYBJKXSJ.js → oauth2-provider-DFCNEZQQ.js} +2 -2
- package/bundle/oauth2-provider-UMCNQ5DH.js +237 -0
- package/package.json +1 -1
|
@@ -40785,27 +40785,6 @@ function getApiKeyFromEnv() {
|
|
|
40785
40785
|
return envGoogleApiKey || envGeminiApiKey || void 0;
|
|
40786
40786
|
}
|
|
40787
40787
|
|
|
40788
|
-
// packages/core/src/confirmation-bus/types.ts
|
|
40789
|
-
var MessageBusType = /* @__PURE__ */ ((MessageBusType2) => {
|
|
40790
|
-
MessageBusType2["TOOL_CONFIRMATION_REQUEST"] = "tool-confirmation-request";
|
|
40791
|
-
MessageBusType2["TOOL_CONFIRMATION_RESPONSE"] = "tool-confirmation-response";
|
|
40792
|
-
MessageBusType2["TOOL_POLICY_REJECTION"] = "tool-policy-rejection";
|
|
40793
|
-
MessageBusType2["TOOL_EXECUTION_SUCCESS"] = "tool-execution-success";
|
|
40794
|
-
MessageBusType2["TOOL_EXECUTION_FAILURE"] = "tool-execution-failure";
|
|
40795
|
-
MessageBusType2["UPDATE_POLICY"] = "update-policy";
|
|
40796
|
-
MessageBusType2["TOOL_CALLS_UPDATE"] = "tool-calls-update";
|
|
40797
|
-
MessageBusType2["ASK_USER_REQUEST"] = "ask-user-request";
|
|
40798
|
-
MessageBusType2["ASK_USER_RESPONSE"] = "ask-user-response";
|
|
40799
|
-
MessageBusType2["SUBAGENT_ACTIVITY"] = "subagent-activity";
|
|
40800
|
-
return MessageBusType2;
|
|
40801
|
-
})(MessageBusType || {});
|
|
40802
|
-
var QuestionType = /* @__PURE__ */ ((QuestionType2) => {
|
|
40803
|
-
QuestionType2["CHOICE"] = "choice";
|
|
40804
|
-
QuestionType2["TEXT"] = "text";
|
|
40805
|
-
QuestionType2["YESNO"] = "yesno";
|
|
40806
|
-
return QuestionType2;
|
|
40807
|
-
})(QuestionType || {});
|
|
40808
|
-
|
|
40809
40788
|
// packages/core/src/policy/types.ts
|
|
40810
40789
|
var PolicyDecision = /* @__PURE__ */ ((PolicyDecision2) => {
|
|
40811
40790
|
PolicyDecision2["ALLOW"] = "allow";
|
|
@@ -40834,6 +40813,12 @@ var ApprovalMode = /* @__PURE__ */ ((ApprovalMode2) => {
|
|
|
40834
40813
|
ApprovalMode2["PLAN"] = "plan";
|
|
40835
40814
|
return ApprovalMode2;
|
|
40836
40815
|
})(ApprovalMode || {});
|
|
40816
|
+
var MODES_BY_PERMISSIVENESS = [
|
|
40817
|
+
"plan" /* PLAN */,
|
|
40818
|
+
"default" /* DEFAULT */,
|
|
40819
|
+
"autoEdit" /* AUTO_EDIT */,
|
|
40820
|
+
"yolo" /* YOLO */
|
|
40821
|
+
];
|
|
40837
40822
|
var InProcessCheckerType = /* @__PURE__ */ ((InProcessCheckerType2) => {
|
|
40838
40823
|
InProcessCheckerType2["ALLOWED_PATH"] = "allowed-path";
|
|
40839
40824
|
InProcessCheckerType2["CONSECA"] = "conseca";
|
|
@@ -40844,6 +40829,27 @@ var ALWAYS_ALLOW_PRIORITY_FRACTION = 950;
|
|
|
40844
40829
|
var ALWAYS_ALLOW_PRIORITY_OFFSET = ALWAYS_ALLOW_PRIORITY_FRACTION / 1e3;
|
|
40845
40830
|
var PRIORITY_YOLO_ALLOW_ALL = 998;
|
|
40846
40831
|
|
|
40832
|
+
// packages/core/src/confirmation-bus/types.ts
|
|
40833
|
+
var MessageBusType = /* @__PURE__ */ ((MessageBusType2) => {
|
|
40834
|
+
MessageBusType2["TOOL_CONFIRMATION_REQUEST"] = "tool-confirmation-request";
|
|
40835
|
+
MessageBusType2["TOOL_CONFIRMATION_RESPONSE"] = "tool-confirmation-response";
|
|
40836
|
+
MessageBusType2["TOOL_POLICY_REJECTION"] = "tool-policy-rejection";
|
|
40837
|
+
MessageBusType2["TOOL_EXECUTION_SUCCESS"] = "tool-execution-success";
|
|
40838
|
+
MessageBusType2["TOOL_EXECUTION_FAILURE"] = "tool-execution-failure";
|
|
40839
|
+
MessageBusType2["UPDATE_POLICY"] = "update-policy";
|
|
40840
|
+
MessageBusType2["TOOL_CALLS_UPDATE"] = "tool-calls-update";
|
|
40841
|
+
MessageBusType2["ASK_USER_REQUEST"] = "ask-user-request";
|
|
40842
|
+
MessageBusType2["ASK_USER_RESPONSE"] = "ask-user-response";
|
|
40843
|
+
MessageBusType2["SUBAGENT_ACTIVITY"] = "subagent-activity";
|
|
40844
|
+
return MessageBusType2;
|
|
40845
|
+
})(MessageBusType || {});
|
|
40846
|
+
var QuestionType = /* @__PURE__ */ ((QuestionType2) => {
|
|
40847
|
+
QuestionType2["CHOICE"] = "choice";
|
|
40848
|
+
QuestionType2["TEXT"] = "text";
|
|
40849
|
+
QuestionType2["YESNO"] = "yesno";
|
|
40850
|
+
return QuestionType2;
|
|
40851
|
+
})(QuestionType || {});
|
|
40852
|
+
|
|
40847
40853
|
// packages/core/src/tools/tools.ts
|
|
40848
40854
|
function isBackgroundExecutionData(data) {
|
|
40849
40855
|
if (typeof data !== "object" || data === null) {
|
|
@@ -52271,16 +52277,17 @@ export {
|
|
|
52271
52277
|
EmbedContentResponse,
|
|
52272
52278
|
ApiError,
|
|
52273
52279
|
GoogleGenAI,
|
|
52274
|
-
MessageBusType,
|
|
52275
|
-
QuestionType,
|
|
52276
52280
|
PolicyDecision,
|
|
52277
52281
|
getHookSource,
|
|
52278
52282
|
ApprovalMode,
|
|
52283
|
+
MODES_BY_PERMISSIVENESS,
|
|
52279
52284
|
InProcessCheckerType,
|
|
52280
52285
|
PRIORITY_SUBAGENT_TOOL,
|
|
52281
52286
|
ALWAYS_ALLOW_PRIORITY_FRACTION,
|
|
52282
52287
|
ALWAYS_ALLOW_PRIORITY_OFFSET,
|
|
52283
52288
|
PRIORITY_YOLO_ALLOW_ALL,
|
|
52289
|
+
MessageBusType,
|
|
52290
|
+
QuestionType,
|
|
52284
52291
|
isBackgroundExecutionData,
|
|
52285
52292
|
BaseToolInvocation,
|
|
52286
52293
|
DeclarativeTool,
|
|
@@ -40759,27 +40759,6 @@ function getApiKeyFromEnv() {
|
|
|
40759
40759
|
return envGoogleApiKey || envGeminiApiKey || void 0;
|
|
40760
40760
|
}
|
|
40761
40761
|
|
|
40762
|
-
// packages/core/dist/src/confirmation-bus/types.js
|
|
40763
|
-
var MessageBusType;
|
|
40764
|
-
(function(MessageBusType2) {
|
|
40765
|
-
MessageBusType2["TOOL_CONFIRMATION_REQUEST"] = "tool-confirmation-request";
|
|
40766
|
-
MessageBusType2["TOOL_CONFIRMATION_RESPONSE"] = "tool-confirmation-response";
|
|
40767
|
-
MessageBusType2["TOOL_POLICY_REJECTION"] = "tool-policy-rejection";
|
|
40768
|
-
MessageBusType2["TOOL_EXECUTION_SUCCESS"] = "tool-execution-success";
|
|
40769
|
-
MessageBusType2["TOOL_EXECUTION_FAILURE"] = "tool-execution-failure";
|
|
40770
|
-
MessageBusType2["UPDATE_POLICY"] = "update-policy";
|
|
40771
|
-
MessageBusType2["TOOL_CALLS_UPDATE"] = "tool-calls-update";
|
|
40772
|
-
MessageBusType2["ASK_USER_REQUEST"] = "ask-user-request";
|
|
40773
|
-
MessageBusType2["ASK_USER_RESPONSE"] = "ask-user-response";
|
|
40774
|
-
MessageBusType2["SUBAGENT_ACTIVITY"] = "subagent-activity";
|
|
40775
|
-
})(MessageBusType || (MessageBusType = {}));
|
|
40776
|
-
var QuestionType;
|
|
40777
|
-
(function(QuestionType2) {
|
|
40778
|
-
QuestionType2["CHOICE"] = "choice";
|
|
40779
|
-
QuestionType2["TEXT"] = "text";
|
|
40780
|
-
QuestionType2["YESNO"] = "yesno";
|
|
40781
|
-
})(QuestionType || (QuestionType = {}));
|
|
40782
|
-
|
|
40783
40762
|
// packages/core/dist/src/policy/types.js
|
|
40784
40763
|
var PolicyDecision;
|
|
40785
40764
|
(function(PolicyDecision2) {
|
|
@@ -40808,6 +40787,12 @@ var ApprovalMode;
|
|
|
40808
40787
|
ApprovalMode2["YOLO"] = "yolo";
|
|
40809
40788
|
ApprovalMode2["PLAN"] = "plan";
|
|
40810
40789
|
})(ApprovalMode || (ApprovalMode = {}));
|
|
40790
|
+
var MODES_BY_PERMISSIVENESS = [
|
|
40791
|
+
ApprovalMode.PLAN,
|
|
40792
|
+
ApprovalMode.DEFAULT,
|
|
40793
|
+
ApprovalMode.AUTO_EDIT,
|
|
40794
|
+
ApprovalMode.YOLO
|
|
40795
|
+
];
|
|
40811
40796
|
var InProcessCheckerType;
|
|
40812
40797
|
(function(InProcessCheckerType2) {
|
|
40813
40798
|
InProcessCheckerType2["ALLOWED_PATH"] = "allowed-path";
|
|
@@ -40818,6 +40803,27 @@ var ALWAYS_ALLOW_PRIORITY_FRACTION = 950;
|
|
|
40818
40803
|
var ALWAYS_ALLOW_PRIORITY_OFFSET = ALWAYS_ALLOW_PRIORITY_FRACTION / 1e3;
|
|
40819
40804
|
var PRIORITY_YOLO_ALLOW_ALL = 998;
|
|
40820
40805
|
|
|
40806
|
+
// packages/core/dist/src/confirmation-bus/types.js
|
|
40807
|
+
var MessageBusType;
|
|
40808
|
+
(function(MessageBusType2) {
|
|
40809
|
+
MessageBusType2["TOOL_CONFIRMATION_REQUEST"] = "tool-confirmation-request";
|
|
40810
|
+
MessageBusType2["TOOL_CONFIRMATION_RESPONSE"] = "tool-confirmation-response";
|
|
40811
|
+
MessageBusType2["TOOL_POLICY_REJECTION"] = "tool-policy-rejection";
|
|
40812
|
+
MessageBusType2["TOOL_EXECUTION_SUCCESS"] = "tool-execution-success";
|
|
40813
|
+
MessageBusType2["TOOL_EXECUTION_FAILURE"] = "tool-execution-failure";
|
|
40814
|
+
MessageBusType2["UPDATE_POLICY"] = "update-policy";
|
|
40815
|
+
MessageBusType2["TOOL_CALLS_UPDATE"] = "tool-calls-update";
|
|
40816
|
+
MessageBusType2["ASK_USER_REQUEST"] = "ask-user-request";
|
|
40817
|
+
MessageBusType2["ASK_USER_RESPONSE"] = "ask-user-response";
|
|
40818
|
+
MessageBusType2["SUBAGENT_ACTIVITY"] = "subagent-activity";
|
|
40819
|
+
})(MessageBusType || (MessageBusType = {}));
|
|
40820
|
+
var QuestionType;
|
|
40821
|
+
(function(QuestionType2) {
|
|
40822
|
+
QuestionType2["CHOICE"] = "choice";
|
|
40823
|
+
QuestionType2["TEXT"] = "text";
|
|
40824
|
+
QuestionType2["YESNO"] = "yesno";
|
|
40825
|
+
})(QuestionType || (QuestionType = {}));
|
|
40826
|
+
|
|
40821
40827
|
// packages/core/dist/src/tools/tools.js
|
|
40822
40828
|
function isBackgroundExecutionData(data) {
|
|
40823
40829
|
if (typeof data !== "object" || data === null) {
|
|
@@ -51951,16 +51957,17 @@ export {
|
|
|
51951
51957
|
EmbedContentResponse,
|
|
51952
51958
|
ApiError,
|
|
51953
51959
|
GoogleGenAI,
|
|
51954
|
-
MessageBusType,
|
|
51955
|
-
QuestionType,
|
|
51956
51960
|
PolicyDecision,
|
|
51957
51961
|
getHookSource,
|
|
51958
51962
|
ApprovalMode,
|
|
51963
|
+
MODES_BY_PERMISSIVENESS,
|
|
51959
51964
|
InProcessCheckerType,
|
|
51960
51965
|
PRIORITY_SUBAGENT_TOOL,
|
|
51961
51966
|
ALWAYS_ALLOW_PRIORITY_FRACTION,
|
|
51962
51967
|
ALWAYS_ALLOW_PRIORITY_OFFSET,
|
|
51963
51968
|
PRIORITY_YOLO_ALLOW_ALL,
|
|
51969
|
+
MessageBusType,
|
|
51970
|
+
QuestionType,
|
|
51964
51971
|
isBackgroundExecutionData,
|
|
51965
51972
|
BaseToolInvocation,
|
|
51966
51973
|
DeclarativeTool,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
tokenLimit,
|
|
168
168
|
uiTelemetryService,
|
|
169
169
|
yellowBright
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-WY42FI6I.js";
|
|
171
171
|
import {
|
|
172
172
|
ApprovalMode,
|
|
173
173
|
CoreEvent,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
shortenPath,
|
|
197
197
|
tildeifyPath,
|
|
198
198
|
unescapePath
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-JS5WSGB2.js";
|
|
200
200
|
import {
|
|
201
201
|
AppEvent,
|
|
202
202
|
appEvents
|
|
@@ -59633,8 +59633,8 @@ var SETTINGS_SCHEMA = {
|
|
|
59633
59633
|
label: "Loading Phrases",
|
|
59634
59634
|
category: "UI",
|
|
59635
59635
|
requiresRestart: false,
|
|
59636
|
-
default: "
|
|
59637
|
-
description: "What to show while the model is working: tips, witty comments,
|
|
59636
|
+
default: "off",
|
|
59637
|
+
description: "What to show while the model is working: tips, witty comments, all, or off.",
|
|
59638
59638
|
showInDialog: true,
|
|
59639
59639
|
options: [
|
|
59640
59640
|
{ value: "tips", label: "Tips" },
|
|
@@ -88067,7 +88067,7 @@ var authCommand = {
|
|
|
88067
88067
|
import process34 from "node:process";
|
|
88068
88068
|
|
|
88069
88069
|
// packages/cli/src/generated/git-commit.ts
|
|
88070
|
-
var GIT_COMMIT_INFO = "
|
|
88070
|
+
var GIT_COMMIT_INFO = "ae9d4e16a";
|
|
88071
88071
|
|
|
88072
88072
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
88073
88073
|
import * as fsPromises2 from "node:fs/promises";
|
|
@@ -93566,7 +93566,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
93566
93566
|
type: "info",
|
|
93567
93567
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
93568
93568
|
});
|
|
93569
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
93569
|
+
const { MCPOAuthProvider } = await import("./dist-KYKNBAEA.js");
|
|
93570
93570
|
let oauthConfig = server.oauth;
|
|
93571
93571
|
if (!oauthConfig) {
|
|
93572
93572
|
oauthConfig = { enabled: false };
|