@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
|
@@ -295748,8 +295748,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
295748
295748
|
}
|
|
295749
295749
|
|
|
295750
295750
|
// packages/core/src/generated/git-commit.ts
|
|
295751
|
-
var GIT_COMMIT_INFO = "
|
|
295752
|
-
var CLI_VERSION = "0.71.0
|
|
295751
|
+
var GIT_COMMIT_INFO = "09c09018e";
|
|
295752
|
+
var CLI_VERSION = "0.71.0";
|
|
295753
295753
|
|
|
295754
295754
|
// packages/core/src/ide/detect-ide.ts
|
|
295755
295755
|
var IDE_DEFINITIONS = {
|
|
@@ -328743,7 +328743,7 @@ function getVersion() {
|
|
|
328743
328743
|
}
|
|
328744
328744
|
versionPromise = (async () => {
|
|
328745
328745
|
const pkgJson = await getPackageJson(__dirname4);
|
|
328746
|
-
return "0.71.0
|
|
328746
|
+
return "0.71.0";
|
|
328747
328747
|
})();
|
|
328748
328748
|
return versionPromise;
|
|
328749
328749
|
}
|
|
@@ -336622,7 +336622,7 @@ function canNegationMatchInsideDir(dir, negations) {
|
|
|
336622
336622
|
}
|
|
336623
336623
|
return false;
|
|
336624
336624
|
}
|
|
336625
|
-
function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns
|
|
336625
|
+
function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns) {
|
|
336626
336626
|
const negations = /* @__PURE__ */ new Set();
|
|
336627
336627
|
const allPatternSources = extraRawPatterns ? [...rawPatterns, ...extraRawPatterns] : rawPatterns;
|
|
336628
336628
|
for (const p2 of allPatternSources) {
|
|
@@ -336648,7 +336648,7 @@ function expandWildcardDirectoryPatterns(rawPatterns, extraRawPatterns, hasNeste
|
|
|
336648
336648
|
if (withoutGlob === "" || withoutGlob.includes("*") || withoutGlob.includes("?") || withoutGlob.includes("[")) {
|
|
336649
336649
|
continue;
|
|
336650
336650
|
}
|
|
336651
|
-
if (!canNegationMatchInsideDir(withoutGlob, negations)
|
|
336651
|
+
if (!canNegationMatchInsideDir(withoutGlob, negations)) {
|
|
336652
336652
|
expanded.push(`/${withoutGlob}/`);
|
|
336653
336653
|
}
|
|
336654
336654
|
}
|
|
@@ -336697,42 +336697,9 @@ var GitIgnoreParser = class {
|
|
|
336697
336697
|
return this.processPatterns(rawPatterns, relativeBaseDir);
|
|
336698
336698
|
}
|
|
336699
336699
|
processPatterns(rawPatterns, relativeBaseDir) {
|
|
336700
|
-
const checkedDirs = /* @__PURE__ */ new Map();
|
|
336701
|
-
const hasNestedNegation = (dir) => {
|
|
336702
|
-
let result = checkedDirs.get(dir);
|
|
336703
|
-
if (result !== void 0) {
|
|
336704
|
-
return result;
|
|
336705
|
-
}
|
|
336706
|
-
const targetRelDir = relativeBaseDir && relativeBaseDir !== "." ? path49.posix.join(relativeBaseDir, dir) : dir;
|
|
336707
|
-
const gitignorePath = path49.resolve(
|
|
336708
|
-
this.projectRoot,
|
|
336709
|
-
targetRelDir,
|
|
336710
|
-
".gitignore"
|
|
336711
|
-
);
|
|
336712
|
-
if (!isWithinRoot(gitignorePath, this.projectRoot)) {
|
|
336713
|
-
checkedDirs.set(dir, false);
|
|
336714
|
-
return false;
|
|
336715
|
-
}
|
|
336716
|
-
try {
|
|
336717
|
-
const content = fs41.readFileSync(gitignorePath, "utf-8");
|
|
336718
|
-
result = false;
|
|
336719
|
-
for (const line of content.split(/\r\n|\n|\r/)) {
|
|
336720
|
-
const trimmed = line.trim();
|
|
336721
|
-
if (trimmed.startsWith("!") && trimmed.slice(1).trim() !== "") {
|
|
336722
|
-
result = true;
|
|
336723
|
-
break;
|
|
336724
|
-
}
|
|
336725
|
-
}
|
|
336726
|
-
} catch {
|
|
336727
|
-
result = false;
|
|
336728
|
-
}
|
|
336729
|
-
checkedDirs.set(dir, result);
|
|
336730
|
-
return result;
|
|
336731
|
-
};
|
|
336732
336700
|
const expandedPatterns = expandWildcardDirectoryPatterns(
|
|
336733
336701
|
rawPatterns,
|
|
336734
|
-
this.extraPatterns
|
|
336735
|
-
hasNestedNegation
|
|
336702
|
+
this.extraPatterns
|
|
336736
336703
|
);
|
|
336737
336704
|
return expandedPatterns.map((p2) => p2.trimStart()).filter((p2) => p2 !== "" && !p2.startsWith("#")).map((p2) => {
|
|
336738
336705
|
const isNegative = p2.startsWith("!");
|
|
@@ -363831,7 +363798,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
363831
363798
|
return provider;
|
|
363832
363799
|
}
|
|
363833
363800
|
case "oauth2": {
|
|
363834
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
363801
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-Y4FLXHNF.js");
|
|
363835
363802
|
const provider = new OAuth2AuthProvider(
|
|
363836
363803
|
authConfig,
|
|
363837
363804
|
options.agentName ?? "unknown",
|
|
@@ -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
|
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-AYSLHXA4.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-NNVHJBJY.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-AXBBOMHQ.js";
|
|
82
82
|
import {
|
|
83
83
|
ALL_EDITORS,
|
|
84
84
|
ApprovalMode,
|
|
@@ -269,7 +269,7 @@ import {
|
|
|
269
269
|
unescapePath,
|
|
270
270
|
validateUrlDestination,
|
|
271
271
|
wo
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-TRYE6AUM.js";
|
|
273
273
|
import {
|
|
274
274
|
require_src
|
|
275
275
|
} from "./chunk-L6PII3GR.js";
|
|
@@ -35020,7 +35020,7 @@ var authCommand = {
|
|
|
35020
35020
|
import process12 from "node:process";
|
|
35021
35021
|
|
|
35022
35022
|
// packages/cli/src/generated/git-commit.ts
|
|
35023
|
-
var GIT_COMMIT_INFO = "
|
|
35023
|
+
var GIT_COMMIT_INFO = "cd7813e43";
|
|
35024
35024
|
|
|
35025
35025
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
35026
35026
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -40842,7 +40842,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
40842
40842
|
type: "info",
|
|
40843
40843
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
40844
40844
|
});
|
|
40845
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
40845
|
+
const { MCPOAuthProvider } = await import("./dist-PS73JTWM.js");
|
|
40846
40846
|
let oauthConfig = server.oauth;
|
|
40847
40847
|
if (!oauthConfig) {
|
|
40848
40848
|
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
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AXBBOMHQ.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthProviderType,
|
|
7
7
|
AuthType,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
require_shell_quote,
|
|
39
39
|
require_strip_json_comments,
|
|
40
40
|
sanitizeFilenamePart
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-TRYE6AUM.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__export,
|
|
@@ -31691,16 +31691,9 @@ var SessionSelector = class {
|
|
|
31691
31691
|
if (sessions.length === 0) {
|
|
31692
31692
|
throw SessionError.noSessionsFound();
|
|
31693
31693
|
}
|
|
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
|
-
});
|
|
31694
|
+
sessions.sort(
|
|
31695
|
+
(a, b) => new Date(a.startTime).getTime() - new Date(b.startTime).getTime()
|
|
31696
|
+
);
|
|
31704
31697
|
selectedSession = sessions[sessions.length - 1];
|
|
31705
31698
|
} else {
|
|
31706
31699
|
try {
|
|
@@ -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-TRYE6AUM.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|