@google/gemini-cli 0.71.0-nightly.20261124.gaafdfdfb5 → 0.71.0
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-YFNHROPZ.js → chunk-226R5C3B.js} +7 -40
- package/bundle/{chunk-AGSD6TCG.js → chunk-7CKWIN5G.js} +7 -7
- package/bundle/{chunk-DRIECEHM.js → chunk-AXBBOMHQ.js} +1 -1
- package/bundle/{chunk-VCGPM2FI.js → chunk-AYSLHXA4.js} +5 -12
- package/bundle/{chunk-S77ELOW4.js → chunk-DYLFWJSS.js} +1 -1
- package/bundle/{chunk-OKOAEJ5I.js → chunk-EKWALRKF.js} +15418 -8096
- package/bundle/{chunk-AJWHZBWZ.js → chunk-HF6ORJX7.js} +5 -12
- package/bundle/{chunk-OR77J7SA.js → chunk-HMO6GZYF.js} +9 -18
- package/bundle/{chunk-HTEFFFDQ.js → chunk-I7BKOSH3.js} +1 -1
- package/bundle/{chunk-WHSJKDVL.js → chunk-IWQOZRAT.js} +1 -1
- package/bundle/{chunk-YA4BFII4.js → chunk-JLAW7BA6.js} +1 -1
- package/bundle/{chunk-3HVCGWLE.js → chunk-JT7GL77Z.js} +1 -1
- package/bundle/{chunk-BZ5FSDRR.js → chunk-K767QEGB.js} +3 -3
- package/bundle/{chunk-3DMQRTF3.js → chunk-KYHTL3DC.js} +2 -2
- package/bundle/{chunk-MZIBUEBF.js → chunk-NFKOBXZH.js} +3 -3
- package/bundle/{chunk-DIMNI6AC.js → chunk-NNVHJBJY.js} +2 -2
- package/bundle/{chunk-JTWV2RYT.js → chunk-NVQIJ42N.js} +1 -1
- package/bundle/{chunk-UYXW53A5.js → chunk-QCSQIXGM.js} +8 -9
- package/bundle/{chunk-OT5HDWN7.js → chunk-SENWXNTO.js} +2 -2
- package/bundle/{chunk-XER4IQTC.js → chunk-SJAGJ77Z.js} +1 -1
- package/bundle/{chunk-TLQ4STKV.js → chunk-SLGLHOV2.js} +7 -7
- package/bundle/{chunk-SJKJH5QA.js → chunk-SXKZW3JE.js} +1 -1
- package/bundle/{chunk-HUJ3STFG.js → chunk-TB7QMWM2.js} +3 -3
- package/bundle/{chunk-CXCKAA7X.js → chunk-TRYE6AUM.js} +7 -35
- package/bundle/{chunk-T3JZW5UQ.js → chunk-WHN36NNK.js} +58 -71
- package/bundle/{chunk-IRVNAGCT.js → chunk-ZVHUCZP3.js} +1 -1
- package/bundle/{chunk-3HYEMESH.js → chunk-ZZJKFKG7.js} +1 -1
- package/bundle/{cleanup-A7CTJL7Z.js → cleanup-35H7WFOM.js} +2 -2
- package/bundle/{cleanup-HZHRK5GO.js → cleanup-HF6T3GQ6.js} +2 -2
- package/bundle/{cleanup-QWGDJK3S.js → cleanup-XECNNSOD.js} +2 -2
- package/bundle/{core-UF6OK2YN.js → core-74O6JBFD.js} +1 -1
- package/bundle/{dist-3B3LPZX5.js → core-PNHLJ262.js} +1 -1
- package/bundle/{devtoolsService-Q4IBIWY4.js → devtoolsService-43KC32ZN.js} +2 -2
- package/bundle/{devtoolsService-Q5HYPUU7.js → devtoolsService-E2R3RE2K.js} +2 -2
- package/bundle/{devtoolsService-XNGB5DAQ.js → devtoolsService-Y7BMPXKB.js} +3 -4
- package/bundle/{dist-O2WNU5JL.js → dist-PS73JTWM.js} +1 -1
- package/bundle/docs/changelogs/index.md +0 -23
- package/bundle/docs/changelogs/latest.md +110 -78
- package/bundle/{formatError-EPXVZRF4.js → formatError-6GUCXQAC.js} +2 -2
- package/bundle/{formatError-RZ6FNHFK.js → formatError-NEW4YLDY.js} +2 -2
- package/bundle/{formatError-XWW6LQFY.js → formatError-ZZYUJD6F.js} +2 -2
- package/bundle/{gemini-DQYZ2M5M.js → gemini-2HTL6LHD.js} +17 -18
- package/bundle/{gemini-ADD3CNLQ.js → gemini-CUUSRGL5.js} +17 -18
- package/bundle/{gemini-F4BYOGFK.js → gemini-LRATVZEI.js} +210 -227
- package/bundle/gemini.js +8 -8
- package/bundle/{interactiveCli-DBUWQW3L.js → interactiveCli-BTNJSUQE.js} +8 -8
- package/bundle/{interactiveCli-WR3WORG7.js → interactiveCli-EI6DXDED.js} +8 -8
- package/bundle/{interactiveCli-NVUAURHX.js → interactiveCli-NJEZNU22.js} +300 -319
- package/bundle/{liteRtServerManager-7JMYMQOE.js → liteRtServerManager-3ASA64JU.js} +4 -4
- package/bundle/{liteRtServerManager-BEHQ2LRW.js → liteRtServerManager-YWW2KXDB.js} +4 -4
- package/bundle/{liteRtServerManager-D247SBY4.js → liteRtServerManager-ZVBNBHNG.js} +4 -4
- package/bundle/{oauth2-provider-2JRAM5FI.js → oauth2-provider-2E2SN4NL.js} +1 -1
- package/bundle/{oauth2-provider-RAQB4WZV.js → oauth2-provider-CNHAHID7.js} +1 -1
- package/bundle/{oauth2-provider-2RZGLMFW.js → oauth2-provider-Y4FLXHNF.js} +79 -41
- package/bundle/{start-2XM3XTTW.js → start-3UMKH57P.js} +6 -6
- package/bundle/{start-4BURN4I2.js → start-I5FBIWR2.js} +6 -6
- package/bundle/{start-HKOWOXAN.js → start-PEGW57CI.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-6GP7SK3F.js +0 -1571
- package/bundle/chunk-ME7E2KHV.js +0 -65
- package/bundle/chunk-MWO4GVYF.js +0 -190
- package/bundle/chunk-SXB2352W.js +0 -1962
- package/bundle/chunk-SZHRRWXK.js +0 -40031
- package/bundle/chunk-TIBJCQPU.js +0 -420386
- package/bundle/chunk-WS2FFQOK.js +0 -512
- package/bundle/chunk-XY4WHKUF.js +0 -118
- package/bundle/chunk-Y52IZU6D.js +0 -60338
- package/bundle/cleanup-ZAAJYUK2.js +0 -34
- package/bundle/devtoolsService-XIWA55RM.js +0 -919
- package/bundle/dist-QEVE76NU.js +0 -2372
- package/bundle/formatError-YLQB5WCI.js +0 -14
- package/bundle/gemini-M5L5KDE3.js +0 -20021
- package/bundle/interactiveCli-UUF5EPF5.js +0 -36447
- package/bundle/liteRtServerManager-TW3MMGOA.js +0 -65
- package/bundle/oauth2-provider-4UDPSMA6.js +0 -273
- package/bundle/start-KCXHIBOT.js +0 -18
|
@@ -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
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NVQIJ42N.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthProviderType,
|
|
7
7
|
AuthType,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
require_shell_quote,
|
|
37
37
|
require_strip_json_comments,
|
|
38
38
|
sanitizeFilenamePart
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-226R5C3B.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__export,
|
|
@@ -31689,16 +31689,9 @@ var SessionSelector = class {
|
|
|
31689
31689
|
if (sessions.length === 0) {
|
|
31690
31690
|
throw SessionError.noSessionsFound();
|
|
31691
31691
|
}
|
|
31692
|
-
sessions.sort(
|
|
31693
|
-
|
|
31694
|
-
|
|
31695
|
-
if (timeA !== timeB) {
|
|
31696
|
-
return timeA - timeB;
|
|
31697
|
-
}
|
|
31698
|
-
const startA = new Date(a.startTime).getTime() || 0;
|
|
31699
|
-
const startB = new Date(b.startTime).getTime() || 0;
|
|
31700
|
-
return startA - startB;
|
|
31701
|
-
});
|
|
31692
|
+
sessions.sort(
|
|
31693
|
+
(a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
|
|
31694
|
+
);
|
|
31702
31695
|
selectedSession = sessions[sessions.length - 1];
|
|
31703
31696
|
} else {
|
|
31704
31697
|
try {
|
|
@@ -1,12 +1,10 @@
|
|
|
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-QCSQIXGM.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthProviderType,
|
|
7
7
|
AuthType,
|
|
8
|
-
CoreEvent,
|
|
9
|
-
CoreToolCallStatus,
|
|
10
8
|
DEFAULT_MODEL_CONFIGS,
|
|
11
9
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
12
10
|
EDITOR_OPTIONS,
|
|
@@ -38,7 +36,7 @@ import {
|
|
|
38
36
|
require_shell_quote,
|
|
39
37
|
require_strip_json_comments,
|
|
40
38
|
sanitizeFilenamePart
|
|
41
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EKWALRKF.js";
|
|
42
40
|
import {
|
|
43
41
|
__commonJS,
|
|
44
42
|
__export,
|
|
@@ -31691,16 +31689,9 @@ var SessionSelector = class {
|
|
|
31691
31689
|
if (sessions.length === 0) {
|
|
31692
31690
|
throw SessionError.noSessionsFound();
|
|
31693
31691
|
}
|
|
31694
|
-
sessions.sort(
|
|
31695
|
-
|
|
31696
|
-
|
|
31697
|
-
if (timeA !== timeB) {
|
|
31698
|
-
return timeA - timeB;
|
|
31699
|
-
}
|
|
31700
|
-
const startA = new Date(a.startTime).getTime() || 0;
|
|
31701
|
-
const startB = new Date(b.startTime).getTime() || 0;
|
|
31702
|
-
return startA - startB;
|
|
31703
|
-
});
|
|
31692
|
+
sessions.sort(
|
|
31693
|
+
(a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
|
|
31694
|
+
);
|
|
31704
31695
|
selectedSession = sessions[sessions.length - 1];
|
|
31705
31696
|
} else {
|
|
31706
31697
|
try {
|
|
@@ -31803,7 +31794,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
31803
31794
|
args: tool.args,
|
|
31804
31795
|
description: tool.description || "",
|
|
31805
31796
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
31806
|
-
status: tool.status === "success" ?
|
|
31797
|
+
status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
|
|
31807
31798
|
resultDisplay: tool.resultDisplay,
|
|
31808
31799
|
confirmationDetails: void 0
|
|
31809
31800
|
}))
|
|
@@ -38009,8 +38000,8 @@ var LoadedSettings = class {
|
|
|
38009
38000
|
// React will pass a listener fn into this subscribe fn
|
|
38010
38001
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
38011
38002
|
subscribe(listener) {
|
|
38012
|
-
coreEvents.on(
|
|
38013
|
-
return () => coreEvents.off(
|
|
38003
|
+
coreEvents.on("settings-changed" /* SettingsChanged */, listener);
|
|
38004
|
+
return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
|
|
38014
38005
|
}
|
|
38015
38006
|
getSnapshot() {
|
|
38016
38007
|
return this._snapshot;
|
|
@@ -38159,7 +38150,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
38159
38150
|
}
|
|
38160
38151
|
}
|
|
38161
38152
|
let value = "cloudshell-gca";
|
|
38162
|
-
if (selectedAuthType ===
|
|
38153
|
+
if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
|
|
38163
38154
|
value = process19.env[USER_GCP_PROJECT];
|
|
38164
38155
|
}
|
|
38165
38156
|
if (envFilePath && fs9.existsSync(envFilePath)) {
|
|
@@ -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-JLAW7BA6.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
normalizeError,
|
|
4
4
|
safeSerializeErrorValue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EKWALRKF.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|
|
@@ -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-ZZJKFKG7.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-HF6ORJX7.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-226R5C3B.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-IWQOZRAT.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-EKWALRKF.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__toESM
|
|
@@ -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-I7BKOSH3.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-AYSLHXA4.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TRYE6AUM.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-JLAW7BA6.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-TRYE6AUM.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
|
checkExhaustive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-226R5C3B.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -1,8 +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
|
-
CoreToolCallStatus,
|
|
4
3
|
checkExhaustive
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EKWALRKF.js";
|
|
6
5
|
import {
|
|
7
6
|
__commonJS,
|
|
8
7
|
__toESM
|
|
@@ -465,19 +464,19 @@ var require_react = __commonJS({
|
|
|
465
464
|
var import_react = __toESM(require_react(), 1);
|
|
466
465
|
function mapCoreStatusToDisplayStatus(coreStatus) {
|
|
467
466
|
switch (coreStatus) {
|
|
468
|
-
case
|
|
467
|
+
case "validating" /* Validating */:
|
|
469
468
|
return "Pending" /* Pending */;
|
|
470
|
-
case
|
|
469
|
+
case "awaiting_approval" /* AwaitingApproval */:
|
|
471
470
|
return "Confirming" /* Confirming */;
|
|
472
|
-
case
|
|
471
|
+
case "executing" /* Executing */:
|
|
473
472
|
return "Executing" /* Executing */;
|
|
474
|
-
case
|
|
473
|
+
case "success" /* Success */:
|
|
475
474
|
return "Success" /* Success */;
|
|
476
|
-
case
|
|
475
|
+
case "cancelled" /* Cancelled */:
|
|
477
476
|
return "Canceled" /* Canceled */;
|
|
478
|
-
case
|
|
477
|
+
case "error" /* Error */:
|
|
479
478
|
return "Error" /* Error */;
|
|
480
|
-
case
|
|
479
|
+
case "scheduled" /* Scheduled */:
|
|
481
480
|
return "Pending" /* Pending */;
|
|
482
481
|
default:
|
|
483
482
|
return checkExhaustive(coreStatus);
|
|
@@ -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-ZVHUCZP3.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-226R5C3B.js";
|
|
21
21
|
import {
|
|
22
22
|
__commonJS,
|
|
23
23
|
__toESM
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
normalizeError,
|
|
4
4
|
safeSerializeErrorValue
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-226R5C3B.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|
|
@@ -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-ZZJKFKG7.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-HF6ORJX7.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-SENWXNTO.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-NVQIJ42N.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-226R5C3B.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 = "09c09018e";
|
|
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-74O6JBFD.js");
|
|
40833
40833
|
let oauthConfig = server.oauth;
|
|
40834
40834
|
if (!oauthConfig) {
|
|
40835
40835
|
oauthConfig = { enabled: false };
|
|
@@ -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-IWQOZRAT.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SXKZW3JE.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-HMO6GZYF.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EKWALRKF.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -295380,8 +295380,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
295380
295380
|
}
|
|
295381
295381
|
|
|
295382
295382
|
// packages/core/dist/src/generated/git-commit.js
|
|
295383
|
-
var GIT_COMMIT_INFO = "
|
|
295384
|
-
var CLI_VERSION = "0.71.0
|
|
295383
|
+
var GIT_COMMIT_INFO = "09c09018e";
|
|
295384
|
+
var CLI_VERSION = "0.71.0";
|
|
295385
295385
|
|
|
295386
295386
|
// packages/core/dist/src/ide/detect-ide.js
|
|
295387
295387
|
var IDE_DEFINITIONS = {
|
|
@@ -327999,7 +327999,7 @@ function getVersion() {
|
|
|
327999
327999
|
}
|
|
328000
328000
|
versionPromise = (async () => {
|
|
328001
328001
|
const pkgJson = await getPackageJson(__dirname4);
|
|
328002
|
-
return "0.71.0
|
|
328002
|
+
return "0.71.0";
|
|
328003
328003
|
})();
|
|
328004
328004
|
return versionPromise;
|
|
328005
328005
|
}
|
|
@@ -334832,7 +334832,7 @@ function canNegationMatchInsideDir(dir, negations) {
|
|
|
334832
334832
|
}
|
|
334833
334833
|
return false;
|
|
334834
334834
|
}
|
|
334835
|
-
function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns
|
|
334835
|
+
function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns) {
|
|
334836
334836
|
const negations = /* @__PURE__ */ new Set();
|
|
334837
334837
|
const allPatternSources = extraRawPatterns ? [...rawPatterns, ...extraRawPatterns] : rawPatterns;
|
|
334838
334838
|
for (const p2 of allPatternSources) {
|
|
@@ -334858,7 +334858,7 @@ function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns, hasNeste
|
|
|
334858
334858
|
if (withoutGlob === "" || withoutGlob.includes("*") || withoutGlob.includes("?") || withoutGlob.includes("[")) {
|
|
334859
334859
|
continue;
|
|
334860
334860
|
}
|
|
334861
|
-
if (!canNegationMatchInsideDir(withoutGlob, negations)
|
|
334861
|
+
if (!canNegationMatchInsideDir(withoutGlob, negations)) {
|
|
334862
334862
|
expanded.push(`/${withoutGlob}/`);
|
|
334863
334863
|
}
|
|
334864
334864
|
}
|
|
@@ -334902,35 +334902,7 @@ var GitIgnoreParser = class {
|
|
|
334902
334902
|
return this.processPatterns(rawPatterns, relativeBaseDir);
|
|
334903
334903
|
}
|
|
334904
334904
|
processPatterns(rawPatterns, relativeBaseDir) {
|
|
334905
|
-
const
|
|
334906
|
-
const hasNestedNegation = (dir) => {
|
|
334907
|
-
let result = checkedDirs.get(dir);
|
|
334908
|
-
if (result !== void 0) {
|
|
334909
|
-
return result;
|
|
334910
|
-
}
|
|
334911
|
-
const targetRelDir = relativeBaseDir && relativeBaseDir !== "." ? path49.posix.join(relativeBaseDir, dir) : dir;
|
|
334912
|
-
const gitignorePath = path49.resolve(this.projectRoot, targetRelDir, ".gitignore");
|
|
334913
|
-
if (!isWithinRoot(gitignorePath, this.projectRoot)) {
|
|
334914
|
-
checkedDirs.set(dir, false);
|
|
334915
|
-
return false;
|
|
334916
|
-
}
|
|
334917
|
-
try {
|
|
334918
|
-
const content = fs41.readFileSync(gitignorePath, "utf-8");
|
|
334919
|
-
result = false;
|
|
334920
|
-
for (const line of content.split(/\r\n|\n|\r/)) {
|
|
334921
|
-
const trimmed = line.trim();
|
|
334922
|
-
if (trimmed.startsWith("!") && trimmed.slice(1).trim() !== "") {
|
|
334923
|
-
result = true;
|
|
334924
|
-
break;
|
|
334925
|
-
}
|
|
334926
|
-
}
|
|
334927
|
-
} catch {
|
|
334928
|
-
result = false;
|
|
334929
|
-
}
|
|
334930
|
-
checkedDirs.set(dir, result);
|
|
334931
|
-
return result;
|
|
334932
|
-
};
|
|
334933
|
-
const expandedPatterns = expandWildcardDirectoryPatterns(rawPatterns, this.extraPatterns, hasNestedNegation);
|
|
334905
|
+
const expandedPatterns = expandWildcardDirectoryPatterns(rawPatterns, this.extraPatterns);
|
|
334934
334906
|
return expandedPatterns.map((p2) => p2.trimStart()).filter((p2) => p2 !== "" && !p2.startsWith("#")).map((p2) => {
|
|
334935
334907
|
const isNegative = p2.startsWith("!");
|
|
334936
334908
|
if (isNegative) {
|
|
@@ -360740,7 +360712,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
360740
360712
|
return provider;
|
|
360741
360713
|
}
|
|
360742
360714
|
case "oauth2": {
|
|
360743
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
360715
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-CNHAHID7.js");
|
|
360744
360716
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
360745
360717
|
await provider.initialize();
|
|
360746
360718
|
return provider;
|