@google/gemini-cli 0.71.0 → 0.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{chunk-IWQOZRAT.js → chunk-2B7JJXKC.js} +1 -1
- package/bundle/{chunk-I7BKOSH3.js → chunk-2Z6OMQKM.js} +1 -1
- package/bundle/{chunk-SXKZW3JE.js → chunk-3SHFRERV.js} +1 -1
- package/bundle/{chunk-TRYE6AUM.js → chunk-4UW3VJTT.js} +4 -4
- package/bundle/{chunk-TB7QMWM2.js → chunk-5E7G6JKU.js} +3 -3
- package/bundle/{chunk-7CKWIN5G.js → chunk-5XMSOGIG.js} +7 -7
- package/bundle/{chunk-AYSLHXA4.js → chunk-5Z6VX6CL.js} +2 -2
- package/bundle/{chunk-K767QEGB.js → chunk-66MTKCNI.js} +3 -3
- package/bundle/{chunk-SLGLHOV2.js → chunk-7KLSV23C.js} +71 -58
- package/bundle/{chunk-EKWALRKF.js → chunk-EFTWPKUN.js} +8066 -15416
- package/bundle/{chunk-KYHTL3DC.js → chunk-ERWHYM4U.js} +2 -2
- package/bundle/{chunk-AXBBOMHQ.js → chunk-EYFD4IXY.js} +1 -1
- package/bundle/{chunk-QCSQIXGM.js → chunk-GNADRXVJ.js} +9 -8
- package/bundle/chunk-H2UUYR57.js +60338 -0
- package/bundle/{chunk-NNVHJBJY.js → chunk-H3XZAPPM.js} +2 -2
- package/bundle/{chunk-ZZJKFKG7.js → chunk-JJQXJ4YW.js} +1 -1
- package/bundle/{chunk-HMO6GZYF.js → chunk-KPQSXIIX.js} +8 -6
- package/bundle/{chunk-JLAW7BA6.js → chunk-LMFXSDD5.js} +1 -1
- package/bundle/{chunk-ZVHUCZP3.js → chunk-LUNZGYWH.js} +1 -1
- package/bundle/chunk-ME55Z6II.js +512 -0
- package/bundle/{chunk-WHN36NNK.js → chunk-MTVMJTRD.js} +7 -7
- package/bundle/{chunk-NFKOBXZH.js → chunk-NJ3UA7N7.js} +3 -3
- package/bundle/chunk-OGIQ2DJJ.js +420358 -0
- package/bundle/{chunk-DYLFWJSS.js → chunk-PGIUSQYX.js} +1 -1
- package/bundle/{chunk-JT7GL77Z.js → chunk-QE3A6WRI.js} +1 -1
- package/bundle/chunk-RQ4T6AK5.js +190 -0
- package/bundle/{chunk-NVQIJ42N.js → chunk-RWAKAA62.js} +1 -1
- package/bundle/{chunk-226R5C3B.js → chunk-SVDAJM4G.js} +2 -2
- package/bundle/{chunk-SENWXNTO.js → chunk-TC4PBO7S.js} +2 -2
- package/bundle/{chunk-SJAGJ77Z.js → chunk-TGPYI6FY.js} +1 -1
- package/bundle/{chunk-HF6ORJX7.js → chunk-TZEZ2BF4.js} +2 -2
- package/bundle/chunk-V3MODYYD.js +40024 -0
- package/bundle/chunk-V5OR34VL.js +1962 -0
- package/bundle/chunk-XERNHADV.js +118 -0
- package/bundle/chunk-XOCSGCT5.js +65 -0
- package/bundle/chunk-YTLUKDLU.js +1571 -0
- package/bundle/{cleanup-35H7WFOM.js → cleanup-HZB3VIXG.js} +2 -2
- package/bundle/{cleanup-HF6T3GQ6.js → cleanup-QGMSGSQI.js} +2 -2
- package/bundle/{cleanup-XECNNSOD.js → cleanup-SNOIOSXE.js} +2 -2
- package/bundle/cleanup-XOWU5YHP.js +34 -0
- package/bundle/{core-74O6JBFD.js → core-5NA633TR.js} +1 -1
- package/bundle/{devtoolsService-43KC32ZN.js → devtoolsService-AT3VY34P.js} +2 -2
- package/bundle/{devtoolsService-E2R3RE2K.js → devtoolsService-JK3QG6X7.js} +4 -3
- package/bundle/{devtoolsService-Y7BMPXKB.js → devtoolsService-RIZXSVKI.js} +2 -2
- package/bundle/devtoolsService-ZAMC5JAO.js +919 -0
- package/bundle/{core-PNHLJ262.js → dist-JL5IFBA3.js} +1 -1
- package/bundle/{dist-PS73JTWM.js → dist-RXWQJLEG.js} +1 -1
- package/bundle/dist-ZAHQGAAY.js +2372 -0
- package/bundle/{formatError-NEW4YLDY.js → formatError-2ZV7IU6M.js} +2 -2
- package/bundle/{formatError-ZZYUJD6F.js → formatError-EGZMA6Z2.js} +2 -2
- package/bundle/{formatError-6GUCXQAC.js → formatError-FYNWLWNA.js} +2 -2
- package/bundle/formatError-VALS3RAN.js +14 -0
- package/bundle/{gemini-2HTL6LHD.js → gemini-7FHLRHNN.js} +224 -208
- package/bundle/gemini-FRYTBWBD.js +20020 -0
- package/bundle/{gemini-LRATVZEI.js → gemini-LBFFF5NZ.js} +14 -14
- package/bundle/{gemini-CUUSRGL5.js → gemini-SYSVTILL.js} +14 -14
- package/bundle/gemini.js +8 -8
- package/bundle/{interactiveCli-EI6DXDED.js → interactiveCli-FOKYJG6H.js} +8 -8
- package/bundle/{interactiveCli-NJEZNU22.js → interactiveCli-LDT5NDQR.js} +319 -300
- package/bundle/{interactiveCli-BTNJSUQE.js → interactiveCli-SJYVQK53.js} +8 -8
- package/bundle/interactiveCli-VXSDDOFP.js +36447 -0
- package/bundle/{liteRtServerManager-YWW2KXDB.js → liteRtServerManager-7EZCW25J.js} +4 -4
- package/bundle/{liteRtServerManager-3ASA64JU.js → liteRtServerManager-QCOZHG7Q.js} +4 -4
- package/bundle/{liteRtServerManager-ZVBNBHNG.js → liteRtServerManager-RWREZPJE.js} +4 -4
- package/bundle/liteRtServerManager-WTEPPKAQ.js +65 -0
- package/bundle/{oauth2-provider-CNHAHID7.js → oauth2-provider-775ZBHR6.js} +1 -1
- package/bundle/{oauth2-provider-Y4FLXHNF.js → oauth2-provider-FTL5RWC6.js} +1 -1
- package/bundle/{oauth2-provider-2E2SN4NL.js → oauth2-provider-H5S5NJUW.js} +41 -79
- package/bundle/oauth2-provider-QC5SFA6N.js +273 -0
- package/bundle/{start-I5FBIWR2.js → start-HCWYCRFJ.js} +6 -6
- package/bundle/{start-PEGW57CI.js → start-HYRJ4ARV.js} +6 -6
- package/bundle/{start-3UMKH57P.js → start-S4SAAQ7Z.js} +6 -6
- package/bundle/start-SRLXJJA4.js +18 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LMFXSDD5.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
require_re,
|
|
18
18
|
require_semver,
|
|
19
19
|
require_valid
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4UW3VJTT.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__toESM
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LUNZGYWH.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ME55Z6II.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthProviderType,
|
|
7
7
|
AuthType,
|
|
8
|
+
CoreEvent,
|
|
9
|
+
CoreToolCallStatus,
|
|
8
10
|
DEFAULT_MODEL_CONFIGS,
|
|
9
11
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
10
12
|
EDITOR_OPTIONS,
|
|
@@ -36,7 +38,7 @@ import {
|
|
|
36
38
|
require_shell_quote,
|
|
37
39
|
require_strip_json_comments,
|
|
38
40
|
sanitizeFilenamePart
|
|
39
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OGIQ2DJJ.js";
|
|
40
42
|
import {
|
|
41
43
|
__commonJS,
|
|
42
44
|
__export,
|
|
@@ -31794,7 +31796,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
31794
31796
|
args: tool.args,
|
|
31795
31797
|
description: tool.description || "",
|
|
31796
31798
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
31797
|
-
status: tool.status === "success" ?
|
|
31799
|
+
status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
|
|
31798
31800
|
resultDisplay: tool.resultDisplay,
|
|
31799
31801
|
confirmationDetails: void 0
|
|
31800
31802
|
}))
|
|
@@ -38000,8 +38002,8 @@ var LoadedSettings = class {
|
|
|
38000
38002
|
// React will pass a listener fn into this subscribe fn
|
|
38001
38003
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
38002
38004
|
subscribe(listener) {
|
|
38003
|
-
coreEvents.on(
|
|
38004
|
-
return () => coreEvents.off(
|
|
38005
|
+
coreEvents.on(CoreEvent.SettingsChanged, listener);
|
|
38006
|
+
return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
|
|
38005
38007
|
}
|
|
38006
38008
|
getSnapshot() {
|
|
38007
38009
|
return this._snapshot;
|
|
@@ -38150,7 +38152,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
38150
38152
|
}
|
|
38151
38153
|
}
|
|
38152
38154
|
let value = "cloudshell-gca";
|
|
38153
|
-
if (selectedAuthType ===
|
|
38155
|
+
if (selectedAuthType === AuthType.USE_VERTEX_AI) {
|
|
38154
38156
|
value = process19.env[USER_GCP_PROJECT];
|
|
38155
38157
|
}
|
|
38156
38158
|
if (envFilePath && fs9.existsSync(envFilePath)) {
|
|
@@ -0,0 +1,512 @@
|
|
|
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 {
|
|
3
|
+
CoreToolCallStatus,
|
|
4
|
+
checkExhaustive
|
|
5
|
+
} from "./chunk-OGIQ2DJJ.js";
|
|
6
|
+
import {
|
|
7
|
+
__commonJS,
|
|
8
|
+
__toESM
|
|
9
|
+
} from "./chunk-34MYV7JD.js";
|
|
10
|
+
|
|
11
|
+
// node_modules/react/cjs/react.production.js
|
|
12
|
+
var require_react_production = __commonJS({
|
|
13
|
+
"node_modules/react/cjs/react.production.js"(exports) {
|
|
14
|
+
"use strict";
|
|
15
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
|
|
16
|
+
var REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
17
|
+
var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
|
|
18
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
|
|
19
|
+
var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
20
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
|
|
21
|
+
var REACT_CONTEXT_TYPE = Symbol.for("react.context");
|
|
22
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
|
|
23
|
+
var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
|
|
24
|
+
var REACT_MEMO_TYPE = Symbol.for("react.memo");
|
|
25
|
+
var REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
26
|
+
var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
|
|
27
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
28
|
+
function getIteratorFn(maybeIterable) {
|
|
29
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
30
|
+
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
31
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
32
|
+
}
|
|
33
|
+
var ReactNoopUpdateQueue = {
|
|
34
|
+
isMounted: function() {
|
|
35
|
+
return false;
|
|
36
|
+
},
|
|
37
|
+
enqueueForceUpdate: function() {
|
|
38
|
+
},
|
|
39
|
+
enqueueReplaceState: function() {
|
|
40
|
+
},
|
|
41
|
+
enqueueSetState: function() {
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
var assign = Object.assign;
|
|
45
|
+
var emptyObject = {};
|
|
46
|
+
function Component(props, context, updater) {
|
|
47
|
+
this.props = props;
|
|
48
|
+
this.context = context;
|
|
49
|
+
this.refs = emptyObject;
|
|
50
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
51
|
+
}
|
|
52
|
+
Component.prototype.isReactComponent = {};
|
|
53
|
+
Component.prototype.setState = function(partialState, callback) {
|
|
54
|
+
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
|
55
|
+
throw Error(
|
|
56
|
+
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
57
|
+
);
|
|
58
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
59
|
+
};
|
|
60
|
+
Component.prototype.forceUpdate = function(callback) {
|
|
61
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
62
|
+
};
|
|
63
|
+
function ComponentDummy() {
|
|
64
|
+
}
|
|
65
|
+
ComponentDummy.prototype = Component.prototype;
|
|
66
|
+
function PureComponent(props, context, updater) {
|
|
67
|
+
this.props = props;
|
|
68
|
+
this.context = context;
|
|
69
|
+
this.refs = emptyObject;
|
|
70
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
71
|
+
}
|
|
72
|
+
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
73
|
+
pureComponentPrototype.constructor = PureComponent;
|
|
74
|
+
assign(pureComponentPrototype, Component.prototype);
|
|
75
|
+
pureComponentPrototype.isPureReactComponent = true;
|
|
76
|
+
var isArrayImpl = Array.isArray;
|
|
77
|
+
function noop() {
|
|
78
|
+
}
|
|
79
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
80
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
81
|
+
function ReactElement(type, key, props) {
|
|
82
|
+
var refProp = props.ref;
|
|
83
|
+
return {
|
|
84
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
85
|
+
type,
|
|
86
|
+
key,
|
|
87
|
+
ref: void 0 !== refProp ? refProp : null,
|
|
88
|
+
props
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
92
|
+
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
93
|
+
}
|
|
94
|
+
function isValidElement(object) {
|
|
95
|
+
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
96
|
+
}
|
|
97
|
+
function escape(key) {
|
|
98
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
99
|
+
return "$" + key.replace(/[=:]/g, function(match) {
|
|
100
|
+
return escaperLookup[match];
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
104
|
+
function getElementKey(element, index) {
|
|
105
|
+
return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
|
|
106
|
+
}
|
|
107
|
+
function resolveThenable(thenable) {
|
|
108
|
+
switch (thenable.status) {
|
|
109
|
+
case "fulfilled":
|
|
110
|
+
return thenable.value;
|
|
111
|
+
case "rejected":
|
|
112
|
+
throw thenable.reason;
|
|
113
|
+
default:
|
|
114
|
+
switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(
|
|
115
|
+
function(fulfilledValue) {
|
|
116
|
+
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
117
|
+
},
|
|
118
|
+
function(error) {
|
|
119
|
+
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
120
|
+
}
|
|
121
|
+
)), thenable.status) {
|
|
122
|
+
case "fulfilled":
|
|
123
|
+
return thenable.value;
|
|
124
|
+
case "rejected":
|
|
125
|
+
throw thenable.reason;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
throw thenable;
|
|
129
|
+
}
|
|
130
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
131
|
+
var type = typeof children;
|
|
132
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
133
|
+
var invokeCallback = false;
|
|
134
|
+
if (null === children) invokeCallback = true;
|
|
135
|
+
else
|
|
136
|
+
switch (type) {
|
|
137
|
+
case "bigint":
|
|
138
|
+
case "string":
|
|
139
|
+
case "number":
|
|
140
|
+
invokeCallback = true;
|
|
141
|
+
break;
|
|
142
|
+
case "object":
|
|
143
|
+
switch (children.$$typeof) {
|
|
144
|
+
case REACT_ELEMENT_TYPE:
|
|
145
|
+
case REACT_PORTAL_TYPE:
|
|
146
|
+
invokeCallback = true;
|
|
147
|
+
break;
|
|
148
|
+
case REACT_LAZY_TYPE:
|
|
149
|
+
return invokeCallback = children._init, mapIntoArray(
|
|
150
|
+
invokeCallback(children._payload),
|
|
151
|
+
array,
|
|
152
|
+
escapedPrefix,
|
|
153
|
+
nameSoFar,
|
|
154
|
+
callback
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (invokeCallback)
|
|
159
|
+
return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
160
|
+
return c;
|
|
161
|
+
})) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(
|
|
162
|
+
callback,
|
|
163
|
+
escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(
|
|
164
|
+
userProvidedKeyEscapeRegex,
|
|
165
|
+
"$&/"
|
|
166
|
+
) + "/") + invokeCallback
|
|
167
|
+
)), array.push(callback)), 1;
|
|
168
|
+
invokeCallback = 0;
|
|
169
|
+
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
170
|
+
if (isArrayImpl(children))
|
|
171
|
+
for (var i = 0; i < children.length; i++)
|
|
172
|
+
nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
173
|
+
nameSoFar,
|
|
174
|
+
array,
|
|
175
|
+
escapedPrefix,
|
|
176
|
+
type,
|
|
177
|
+
callback
|
|
178
|
+
);
|
|
179
|
+
else if (i = getIteratorFn(children), "function" === typeof i)
|
|
180
|
+
for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
181
|
+
nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
182
|
+
nameSoFar,
|
|
183
|
+
array,
|
|
184
|
+
escapedPrefix,
|
|
185
|
+
type,
|
|
186
|
+
callback
|
|
187
|
+
);
|
|
188
|
+
else if ("object" === type) {
|
|
189
|
+
if ("function" === typeof children.then)
|
|
190
|
+
return mapIntoArray(
|
|
191
|
+
resolveThenable(children),
|
|
192
|
+
array,
|
|
193
|
+
escapedPrefix,
|
|
194
|
+
nameSoFar,
|
|
195
|
+
callback
|
|
196
|
+
);
|
|
197
|
+
array = String(children);
|
|
198
|
+
throw Error(
|
|
199
|
+
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
return invokeCallback;
|
|
203
|
+
}
|
|
204
|
+
function mapChildren(children, func, context) {
|
|
205
|
+
if (null == children) return children;
|
|
206
|
+
var result = [], count = 0;
|
|
207
|
+
mapIntoArray(children, result, "", "", function(child) {
|
|
208
|
+
return func.call(context, child, count++);
|
|
209
|
+
});
|
|
210
|
+
return result;
|
|
211
|
+
}
|
|
212
|
+
function lazyInitializer(payload) {
|
|
213
|
+
if (-1 === payload._status) {
|
|
214
|
+
var ctor = payload._result;
|
|
215
|
+
ctor = ctor();
|
|
216
|
+
ctor.then(
|
|
217
|
+
function(moduleObject) {
|
|
218
|
+
if (0 === payload._status || -1 === payload._status)
|
|
219
|
+
payload._status = 1, payload._result = moduleObject;
|
|
220
|
+
},
|
|
221
|
+
function(error) {
|
|
222
|
+
if (0 === payload._status || -1 === payload._status)
|
|
223
|
+
payload._status = 2, payload._result = error;
|
|
224
|
+
}
|
|
225
|
+
);
|
|
226
|
+
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
|
227
|
+
}
|
|
228
|
+
if (1 === payload._status) return payload._result.default;
|
|
229
|
+
throw payload._result;
|
|
230
|
+
}
|
|
231
|
+
var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
|
232
|
+
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
|
233
|
+
var event = new window.ErrorEvent("error", {
|
|
234
|
+
bubbles: true,
|
|
235
|
+
cancelable: true,
|
|
236
|
+
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
|
237
|
+
error
|
|
238
|
+
});
|
|
239
|
+
if (!window.dispatchEvent(event)) return;
|
|
240
|
+
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
|
241
|
+
process.emit("uncaughtException", error);
|
|
242
|
+
return;
|
|
243
|
+
}
|
|
244
|
+
console.error(error);
|
|
245
|
+
};
|
|
246
|
+
var Children = {
|
|
247
|
+
map: mapChildren,
|
|
248
|
+
forEach: function(children, forEachFunc, forEachContext) {
|
|
249
|
+
mapChildren(
|
|
250
|
+
children,
|
|
251
|
+
function() {
|
|
252
|
+
forEachFunc.apply(this, arguments);
|
|
253
|
+
},
|
|
254
|
+
forEachContext
|
|
255
|
+
);
|
|
256
|
+
},
|
|
257
|
+
count: function(children) {
|
|
258
|
+
var n = 0;
|
|
259
|
+
mapChildren(children, function() {
|
|
260
|
+
n++;
|
|
261
|
+
});
|
|
262
|
+
return n;
|
|
263
|
+
},
|
|
264
|
+
toArray: function(children) {
|
|
265
|
+
return mapChildren(children, function(child) {
|
|
266
|
+
return child;
|
|
267
|
+
}) || [];
|
|
268
|
+
},
|
|
269
|
+
only: function(children) {
|
|
270
|
+
if (!isValidElement(children))
|
|
271
|
+
throw Error(
|
|
272
|
+
"React.Children.only expected to receive a single React element child."
|
|
273
|
+
);
|
|
274
|
+
return children;
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
exports.Activity = REACT_ACTIVITY_TYPE;
|
|
278
|
+
exports.Children = Children;
|
|
279
|
+
exports.Component = Component;
|
|
280
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
281
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
282
|
+
exports.PureComponent = PureComponent;
|
|
283
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
284
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
285
|
+
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
286
|
+
exports.__COMPILER_RUNTIME = {
|
|
287
|
+
__proto__: null,
|
|
288
|
+
c: function(size) {
|
|
289
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
exports.cache = function(fn) {
|
|
293
|
+
return function() {
|
|
294
|
+
return fn.apply(null, arguments);
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
exports.cacheSignal = function() {
|
|
298
|
+
return null;
|
|
299
|
+
};
|
|
300
|
+
exports.cloneElement = function(element, config, children) {
|
|
301
|
+
if (null === element || void 0 === element)
|
|
302
|
+
throw Error(
|
|
303
|
+
"The argument must be a React element, but you passed " + element + "."
|
|
304
|
+
);
|
|
305
|
+
var props = assign({}, element.props), key = element.key;
|
|
306
|
+
if (null != config)
|
|
307
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
308
|
+
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
|
309
|
+
var propName = arguments.length - 2;
|
|
310
|
+
if (1 === propName) props.children = children;
|
|
311
|
+
else if (1 < propName) {
|
|
312
|
+
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
313
|
+
childArray[i] = arguments[i + 2];
|
|
314
|
+
props.children = childArray;
|
|
315
|
+
}
|
|
316
|
+
return ReactElement(element.type, key, props);
|
|
317
|
+
};
|
|
318
|
+
exports.createContext = function(defaultValue) {
|
|
319
|
+
defaultValue = {
|
|
320
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
321
|
+
_currentValue: defaultValue,
|
|
322
|
+
_currentValue2: defaultValue,
|
|
323
|
+
_threadCount: 0,
|
|
324
|
+
Provider: null,
|
|
325
|
+
Consumer: null
|
|
326
|
+
};
|
|
327
|
+
defaultValue.Provider = defaultValue;
|
|
328
|
+
defaultValue.Consumer = {
|
|
329
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
330
|
+
_context: defaultValue
|
|
331
|
+
};
|
|
332
|
+
return defaultValue;
|
|
333
|
+
};
|
|
334
|
+
exports.createElement = function(type, config, children) {
|
|
335
|
+
var propName, props = {}, key = null;
|
|
336
|
+
if (null != config)
|
|
337
|
+
for (propName in void 0 !== config.key && (key = "" + config.key), config)
|
|
338
|
+
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
|
|
339
|
+
var childrenLength = arguments.length - 2;
|
|
340
|
+
if (1 === childrenLength) props.children = children;
|
|
341
|
+
else if (1 < childrenLength) {
|
|
342
|
+
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
343
|
+
childArray[i] = arguments[i + 2];
|
|
344
|
+
props.children = childArray;
|
|
345
|
+
}
|
|
346
|
+
if (type && type.defaultProps)
|
|
347
|
+
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
348
|
+
void 0 === props[propName] && (props[propName] = childrenLength[propName]);
|
|
349
|
+
return ReactElement(type, key, props);
|
|
350
|
+
};
|
|
351
|
+
exports.createRef = function() {
|
|
352
|
+
return { current: null };
|
|
353
|
+
};
|
|
354
|
+
exports.forwardRef = function(render) {
|
|
355
|
+
return { $$typeof: REACT_FORWARD_REF_TYPE, render };
|
|
356
|
+
};
|
|
357
|
+
exports.isValidElement = isValidElement;
|
|
358
|
+
exports.lazy = function(ctor) {
|
|
359
|
+
return {
|
|
360
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
361
|
+
_payload: { _status: -1, _result: ctor },
|
|
362
|
+
_init: lazyInitializer
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
exports.memo = function(type, compare) {
|
|
366
|
+
return {
|
|
367
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
368
|
+
type,
|
|
369
|
+
compare: void 0 === compare ? null : compare
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
exports.startTransition = function(scope) {
|
|
373
|
+
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
374
|
+
ReactSharedInternals.T = currentTransition;
|
|
375
|
+
try {
|
|
376
|
+
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
377
|
+
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
|
378
|
+
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
|
379
|
+
} catch (error) {
|
|
380
|
+
reportGlobalError(error);
|
|
381
|
+
} finally {
|
|
382
|
+
null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
exports.unstable_useCacheRefresh = function() {
|
|
386
|
+
return ReactSharedInternals.H.useCacheRefresh();
|
|
387
|
+
};
|
|
388
|
+
exports.use = function(usable) {
|
|
389
|
+
return ReactSharedInternals.H.use(usable);
|
|
390
|
+
};
|
|
391
|
+
exports.useActionState = function(action, initialState, permalink) {
|
|
392
|
+
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
393
|
+
};
|
|
394
|
+
exports.useCallback = function(callback, deps) {
|
|
395
|
+
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
396
|
+
};
|
|
397
|
+
exports.useContext = function(Context) {
|
|
398
|
+
return ReactSharedInternals.H.useContext(Context);
|
|
399
|
+
};
|
|
400
|
+
exports.useDebugValue = function() {
|
|
401
|
+
};
|
|
402
|
+
exports.useDeferredValue = function(value, initialValue) {
|
|
403
|
+
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
404
|
+
};
|
|
405
|
+
exports.useEffect = function(create, deps) {
|
|
406
|
+
return ReactSharedInternals.H.useEffect(create, deps);
|
|
407
|
+
};
|
|
408
|
+
exports.useEffectEvent = function(callback) {
|
|
409
|
+
return ReactSharedInternals.H.useEffectEvent(callback);
|
|
410
|
+
};
|
|
411
|
+
exports.useId = function() {
|
|
412
|
+
return ReactSharedInternals.H.useId();
|
|
413
|
+
};
|
|
414
|
+
exports.useImperativeHandle = function(ref, create, deps) {
|
|
415
|
+
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
416
|
+
};
|
|
417
|
+
exports.useInsertionEffect = function(create, deps) {
|
|
418
|
+
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
419
|
+
};
|
|
420
|
+
exports.useLayoutEffect = function(create, deps) {
|
|
421
|
+
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
422
|
+
};
|
|
423
|
+
exports.useMemo = function(create, deps) {
|
|
424
|
+
return ReactSharedInternals.H.useMemo(create, deps);
|
|
425
|
+
};
|
|
426
|
+
exports.useOptimistic = function(passthrough, reducer) {
|
|
427
|
+
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
428
|
+
};
|
|
429
|
+
exports.useReducer = function(reducer, initialArg, init) {
|
|
430
|
+
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
431
|
+
};
|
|
432
|
+
exports.useRef = function(initialValue) {
|
|
433
|
+
return ReactSharedInternals.H.useRef(initialValue);
|
|
434
|
+
};
|
|
435
|
+
exports.useState = function(initialState) {
|
|
436
|
+
return ReactSharedInternals.H.useState(initialState);
|
|
437
|
+
};
|
|
438
|
+
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
|
439
|
+
return ReactSharedInternals.H.useSyncExternalStore(
|
|
440
|
+
subscribe,
|
|
441
|
+
getSnapshot,
|
|
442
|
+
getServerSnapshot
|
|
443
|
+
);
|
|
444
|
+
};
|
|
445
|
+
exports.useTransition = function() {
|
|
446
|
+
return ReactSharedInternals.H.useTransition();
|
|
447
|
+
};
|
|
448
|
+
exports.version = "19.2.4";
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
|
|
452
|
+
// node_modules/react/index.js
|
|
453
|
+
var require_react = __commonJS({
|
|
454
|
+
"node_modules/react/index.js"(exports, module) {
|
|
455
|
+
"use strict";
|
|
456
|
+
if (true) {
|
|
457
|
+
module.exports = require_react_production();
|
|
458
|
+
} else {
|
|
459
|
+
module.exports = null;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
// packages/cli/src/ui/types.ts
|
|
465
|
+
var import_react = __toESM(require_react(), 1);
|
|
466
|
+
function mapCoreStatusToDisplayStatus(coreStatus) {
|
|
467
|
+
switch (coreStatus) {
|
|
468
|
+
case CoreToolCallStatus.Validating:
|
|
469
|
+
return "Pending" /* Pending */;
|
|
470
|
+
case CoreToolCallStatus.AwaitingApproval:
|
|
471
|
+
return "Confirming" /* Confirming */;
|
|
472
|
+
case CoreToolCallStatus.Executing:
|
|
473
|
+
return "Executing" /* Executing */;
|
|
474
|
+
case CoreToolCallStatus.Success:
|
|
475
|
+
return "Success" /* Success */;
|
|
476
|
+
case CoreToolCallStatus.Cancelled:
|
|
477
|
+
return "Canceled" /* Canceled */;
|
|
478
|
+
case CoreToolCallStatus.Error:
|
|
479
|
+
return "Error" /* Error */;
|
|
480
|
+
case CoreToolCallStatus.Scheduled:
|
|
481
|
+
return "Pending" /* Pending */;
|
|
482
|
+
default:
|
|
483
|
+
return checkExhaustive(coreStatus);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
var isTodoList = (res) => typeof res === "object" && res !== null && "todos" in res;
|
|
487
|
+
var emptyIcon = " ";
|
|
488
|
+
|
|
489
|
+
export {
|
|
490
|
+
require_react,
|
|
491
|
+
mapCoreStatusToDisplayStatus,
|
|
492
|
+
isTodoList,
|
|
493
|
+
emptyIcon
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* @license
|
|
497
|
+
* Copyright 2026 Google LLC
|
|
498
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
499
|
+
*/
|
|
500
|
+
/*! Bundled license information:
|
|
501
|
+
|
|
502
|
+
react/cjs/react.production.js:
|
|
503
|
+
(**
|
|
504
|
+
* @license React
|
|
505
|
+
* react.production.js
|
|
506
|
+
*
|
|
507
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
508
|
+
*
|
|
509
|
+
* This source code is licensed under the MIT license found in the
|
|
510
|
+
* LICENSE file in the root directory of this source tree.
|
|
511
|
+
*)
|
|
512
|
+
*/
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2Z6OMQKM.js";
|
|
6
6
|
import {
|
|
7
7
|
AppEvent,
|
|
8
8
|
appEvents
|
|
@@ -69,16 +69,16 @@ import {
|
|
|
69
69
|
use_stdin_default,
|
|
70
70
|
use_stdout_default,
|
|
71
71
|
validateCustomTheme
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-TZEZ2BF4.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ERWHYM4U.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-RWAKAA62.js";
|
|
82
82
|
import {
|
|
83
83
|
ALL_EDITORS,
|
|
84
84
|
ApprovalMode,
|
|
@@ -256,7 +256,7 @@ import {
|
|
|
256
256
|
unescapePath,
|
|
257
257
|
validateUrlDestination,
|
|
258
258
|
wo
|
|
259
|
-
} from "./chunk-
|
|
259
|
+
} from "./chunk-SVDAJM4G.js";
|
|
260
260
|
import {
|
|
261
261
|
require_src
|
|
262
262
|
} from "./chunk-L6PII3GR.js";
|
|
@@ -35007,7 +35007,7 @@ var authCommand = {
|
|
|
35007
35007
|
import process12 from "node:process";
|
|
35008
35008
|
|
|
35009
35009
|
// packages/cli/src/generated/git-commit.ts
|
|
35010
|
-
var GIT_COMMIT_INFO = "
|
|
35010
|
+
var GIT_COMMIT_INFO = "1e9df3cac";
|
|
35011
35011
|
|
|
35012
35012
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
35013
35013
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -40829,7 +40829,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
40829
40829
|
type: "info",
|
|
40830
40830
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
40831
40831
|
});
|
|
40832
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
40832
|
+
const { MCPOAuthProvider } = await import("./core-5NA633TR.js");
|
|
40833
40833
|
let oauthConfig = server.oauth;
|
|
40834
40834
|
if (!oauthConfig) {
|
|
40835
40835
|
oauthConfig = { enabled: false };
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2Z6OMQKM.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TZEZ2BF4.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SVDAJM4G.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|