@google/gemini-cli 0.71.0-preview.0 → 0.72.0-preview.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-7YXHVH7Y.js → chunk-2LHOWVR4.js} +12 -5
- package/bundle/{chunk-UTK4LRWO.js → chunk-357SHFSP.js} +1 -1
- package/bundle/{chunk-AQXZKJST.js → chunk-5URPLR2H.js} +1 -1
- package/bundle/{chunk-BTH7KEMH.js → chunk-7554FKWM.js} +40 -7
- package/bundle/{chunk-Y6WF3A3Q.js → chunk-7ZTBMXIU.js} +12 -5
- package/bundle/{chunk-532N7TZB.js → chunk-AJWHZBWZ.js} +12 -5
- package/bundle/{chunk-YQO7IBVQ.js → chunk-BRYTKVAX.js} +35 -7
- package/bundle/{chunk-DPAMHBTE.js → chunk-BZ5FSDRR.js} +3 -3
- package/bundle/{chunk-QQNZHLIF.js → chunk-CIX33OUZ.js} +2 -2
- package/bundle/{chunk-3XHFESDF.js → chunk-DDPEWL4G.js} +1 -1
- package/bundle/{chunk-AJZTZFAS.js → chunk-DIMNI6AC.js} +2 -2
- package/bundle/{chunk-DCBU7GEJ.js → chunk-ENSJIXBN.js} +1 -1
- package/bundle/{chunk-7UJSGYFD.js → chunk-EUWUJXIY.js} +1 -1
- package/bundle/{chunk-NQGCTXGR.js → chunk-IGFGTPGV.js} +1 -1
- package/bundle/{chunk-EERY2AEY.js → chunk-JTWV2RYT.js} +1 -1
- package/bundle/{chunk-IBD2PLWE.js → chunk-MNOSCPOM.js} +7 -7
- package/bundle/{chunk-VIXTMKUM.js → chunk-N4ZMA5CZ.js} +1 -1
- package/bundle/{chunk-LGRO4U3O.js → chunk-QESC7SGF.js} +7 -7
- package/bundle/{chunk-NATMLC5X.js → chunk-SJKJH5QA.js} +1 -1
- package/bundle/{chunk-FUOK6VUJ.js → chunk-SMYIRL3Y.js} +3 -3
- package/bundle/{chunk-6E6XAAYL.js → chunk-TLQ4STKV.js} +7 -7
- package/bundle/{chunk-NMOD2T37.js → chunk-UUAR3JIA.js} +2 -2
- package/bundle/{chunk-W7J7YSH2.js → chunk-WHSJKDVL.js} +1 -1
- package/bundle/{chunk-QGOT25K4.js → chunk-XER4IQTC.js} +1 -1
- package/bundle/{chunk-KSDBDSBI.js → chunk-Y2AE7RGI.js} +1 -1
- package/bundle/{chunk-JJNQ5PWH.js → chunk-YFNHROPZ.js} +40 -7
- package/bundle/{chunk-5SC43MXU.js → chunk-Z4LLSOJM.js} +3 -3
- package/bundle/{cleanup-4WL7SSTL.js → cleanup-A7CTJL7Z.js} +2 -2
- package/bundle/{cleanup-62ECCOLP.js → cleanup-ACKRM2TX.js} +2 -2
- package/bundle/{cleanup-JWSUGSQB.js → cleanup-DSTWENO3.js} +2 -2
- package/bundle/{core-NP64K3HR.js → core-3V44EMV6.js} +1 -1
- package/bundle/{dist-AAGC2327.js → core-UF6OK2YN.js} +1 -1
- package/bundle/{devtoolsService-DWVXCWJ7.js → devtoolsService-7MR7MUMD.js} +2 -2
- package/bundle/{devtoolsService-XMEVE7R4.js → devtoolsService-NP7EGEMK.js} +2 -2
- package/bundle/{devtoolsService-3G6P4EBB.js → devtoolsService-Q5HYPUU7.js} +2 -2
- package/bundle/{core-6V72TKM3.js → dist-J3MSC3FF.js} +1 -1
- package/bundle/docs/changelogs/index.md +23 -0
- package/bundle/docs/changelogs/latest.md +78 -110
- package/bundle/{formatError-P6NGVTF2.js → formatError-EFFRJTZP.js} +2 -2
- package/bundle/{formatError-QS36O76I.js → formatError-RG2BTO6O.js} +2 -2
- package/bundle/{formatError-7YP6B7ZW.js → formatError-RZ6FNHFK.js} +2 -2
- package/bundle/{gemini-AC4RONBV.js → gemini-5N7SJRYD.js} +18 -17
- package/bundle/{gemini-3VVVLE4J.js → gemini-DQYZ2M5M.js} +17 -16
- package/bundle/{gemini-TY6A5Q5C.js → gemini-NGMQM6D3.js} +18 -17
- package/bundle/gemini.js +8 -8
- package/bundle/{interactiveCli-AO75ICTD.js → interactiveCli-3QAMPJPK.js} +8 -8
- package/bundle/{interactiveCli-BHEEEW2H.js → interactiveCli-DBUWQW3L.js} +8 -8
- package/bundle/{interactiveCli-XULKUHW4.js → interactiveCli-M2IE6ZF4.js} +8 -8
- package/bundle/{liteRtServerManager-DRZ6V4ZL.js → liteRtServerManager-LX6B5CI3.js} +4 -4
- package/bundle/{liteRtServerManager-7VEEHSC6.js → liteRtServerManager-TI6LO5RU.js} +4 -4
- package/bundle/{liteRtServerManager-GFU4D3JF.js → liteRtServerManager-TW3MMGOA.js} +4 -4
- package/bundle/{oauth2-provider-YZI5V6PH.js → oauth2-provider-2JRAM5FI.js} +1 -1
- package/bundle/{oauth2-provider-S7DQJKA5.js → oauth2-provider-3PBBHV75.js} +1 -1
- package/bundle/{oauth2-provider-XYK3N74K.js → oauth2-provider-PG5AFZDD.js} +1 -1
- package/bundle/{start-JGS6ZUFX.js → start-2XM3XTTW.js} +6 -6
- package/bundle/{start-QQTZCWPJ.js → start-HGHTVHPT.js} +6 -6
- package/bundle/{start-EMZSUYV6.js → start-TDNB5CJ6.js} +6 -6
- 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
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y2AE7RGI.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-7554FKWM.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__export,
|
|
@@ -31689,9 +31689,16 @@ var SessionSelector = class {
|
|
|
31689
31689
|
if (sessions.length === 0) {
|
|
31690
31690
|
throw SessionError.noSessionsFound();
|
|
31691
31691
|
}
|
|
31692
|
-
sessions.sort(
|
|
31693
|
-
|
|
31694
|
-
|
|
31692
|
+
sessions.sort((a, b) => {
|
|
31693
|
+
const timeA = new Date(a.lastUpdated).getTime() || 0;
|
|
31694
|
+
const timeB = new Date(b.lastUpdated).getTime() || 0;
|
|
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
|
+
});
|
|
31695
31702
|
selectedSession = sessions[sessions.length - 1];
|
|
31696
31703
|
} else {
|
|
31697
31704
|
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-7554FKWM.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|
|
@@ -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.
|
|
295751
|
+
var GIT_COMMIT_INFO = "aafdfdfb5";
|
|
295752
|
+
var CLI_VERSION = "0.72.0-preview.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.
|
|
328746
|
+
return "0.72.0-preview.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, hasNestedNegation) {
|
|
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) {
|
|
|
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) && !hasNestedNegation?.(withoutGlob)) {
|
|
336652
336652
|
expanded.push(`/${withoutGlob}/`);
|
|
336653
336653
|
}
|
|
336654
336654
|
}
|
|
@@ -336697,9 +336697,42 @@ 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
|
+
};
|
|
336700
336732
|
const expandedPatterns = expandWildcardDirectoryPatterns(
|
|
336701
336733
|
rawPatterns,
|
|
336702
|
-
this.extraPatterns
|
|
336734
|
+
this.extraPatterns,
|
|
336735
|
+
hasNestedNegation
|
|
336703
336736
|
);
|
|
336704
336737
|
return expandedPatterns.map((p2) => p2.trimStart()).filter((p2) => p2 !== "" && !p2.startsWith("#")).map((p2) => {
|
|
336705
336738
|
const isNegative = p2.startsWith("!");
|
|
@@ -363798,7 +363831,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
363798
363831
|
return provider;
|
|
363799
363832
|
}
|
|
363800
363833
|
case "oauth2": {
|
|
363801
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
363834
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-PG5AFZDD.js");
|
|
363802
363835
|
const provider = new OAuth2AuthProvider(
|
|
363803
363836
|
authConfig,
|
|
363804
363837
|
options.agentName ?? "unknown",
|
|
@@ -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-357SHFSP.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-BRYTKVAX.js";
|
|
42
42
|
import {
|
|
43
43
|
__commonJS,
|
|
44
44
|
__export,
|
|
@@ -31691,9 +31691,16 @@ var SessionSelector = class {
|
|
|
31691
31691
|
if (sessions.length === 0) {
|
|
31692
31692
|
throw SessionError.noSessionsFound();
|
|
31693
31693
|
}
|
|
31694
|
-
sessions.sort(
|
|
31695
|
-
|
|
31696
|
-
|
|
31694
|
+
sessions.sort((a, b) => {
|
|
31695
|
+
const timeA = new Date(a.lastUpdated).getTime() || 0;
|
|
31696
|
+
const timeB = new Date(b.lastUpdated).getTime() || 0;
|
|
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
|
+
});
|
|
31697
31704
|
selectedSession = sessions[sessions.length - 1];
|
|
31698
31705
|
} else {
|
|
31699
31706
|
try {
|
|
@@ -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-JTWV2RYT.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-YFNHROPZ.js";
|
|
40
40
|
import {
|
|
41
41
|
__commonJS,
|
|
42
42
|
__export,
|
|
@@ -31689,9 +31689,16 @@ var SessionSelector = class {
|
|
|
31689
31689
|
if (sessions.length === 0) {
|
|
31690
31690
|
throw SessionError.noSessionsFound();
|
|
31691
31691
|
}
|
|
31692
|
-
sessions.sort(
|
|
31693
|
-
|
|
31694
|
-
|
|
31692
|
+
sessions.sort((a, b) => {
|
|
31693
|
+
const timeA = new Date(a.lastUpdated).getTime() || 0;
|
|
31694
|
+
const timeB = new Date(b.lastUpdated).getTime() || 0;
|
|
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
|
+
});
|
|
31695
31702
|
selectedSession = sessions[sessions.length - 1];
|
|
31696
31703
|
} else {
|
|
31697
31704
|
try {
|
|
@@ -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.
|
|
295383
|
+
var GIT_COMMIT_INFO = "aafdfdfb5";
|
|
295384
|
+
var CLI_VERSION = "0.72.0-preview.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.
|
|
328002
|
+
return "0.72.0-preview.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, hasNestedNegation) {
|
|
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) {
|
|
|
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) && !hasNestedNegation?.(withoutGlob)) {
|
|
334862
334862
|
expanded.push(`/${withoutGlob}/`);
|
|
334863
334863
|
}
|
|
334864
334864
|
}
|
|
@@ -334902,7 +334902,35 @@ var GitIgnoreParser = class {
|
|
|
334902
334902
|
return this.processPatterns(rawPatterns, relativeBaseDir);
|
|
334903
334903
|
}
|
|
334904
334904
|
processPatterns(rawPatterns, relativeBaseDir) {
|
|
334905
|
-
const
|
|
334905
|
+
const checkedDirs = /* @__PURE__ */ new Map();
|
|
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);
|
|
334906
334934
|
return expandedPatterns.map((p2) => p2.trimStart()).filter((p2) => p2 !== "" && !p2.startsWith("#")).map((p2) => {
|
|
334907
334935
|
const isNegative = p2.startsWith("!");
|
|
334908
334936
|
if (isNegative) {
|
|
@@ -360712,7 +360740,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
360712
360740
|
return provider;
|
|
360713
360741
|
}
|
|
360714
360742
|
case "oauth2": {
|
|
360715
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
360743
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-3PBBHV75.js");
|
|
360716
360744
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
360717
360745
|
await provider.initialize();
|
|
360718
360746
|
return provider;
|
|
@@ -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-SJKJH5QA.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-AJWHZBWZ.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YFNHROPZ.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-IGFGTPGV.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-BRYTKVAX.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-WHSJKDVL.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-YFNHROPZ.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-BRYTKVAX.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|
|
@@ -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-DDPEWL4G.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-YFNHROPZ.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__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-N4ZMA5CZ.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-7ZTBMXIU.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-CIX33OUZ.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-357SHFSP.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-BRYTKVAX.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 = "4782dd07e";
|
|
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-J3MSC3FF.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
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IGFGTPGV.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-EUWUJXIY.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-2LHOWVR4.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UUAR3JIA.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-Y2AE7RGI.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-7554FKWM.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 = "aafdfdfb5";
|
|
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-3V44EMV6.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-WHSJKDVL.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-N4ZMA5CZ.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-7ZTBMXIU.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BRYTKVAX.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-SJKJH5QA.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-AJWHZBWZ.js";
|
|
73
73
|
import {
|
|
74
74
|
isDevelopment,
|
|
75
75
|
require_semver
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-DIMNI6AC.js";
|
|
77
77
|
import {
|
|
78
78
|
emptyIcon,
|
|
79
79
|
mapCoreStatusToDisplayStatus,
|
|
80
80
|
require_react
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JTWV2RYT.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-YFNHROPZ.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 = "aafdfdfb5";
|
|
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-UF6OK2YN.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-DDPEWL4G.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-7554FKWM.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-YFNHROPZ.js";
|
|
6
6
|
|
|
7
7
|
// packages/cli/src/utils/formatError.ts
|
|
8
8
|
function isCliDebugEnabled(argv = process.argv.slice(2), env = process.env) {
|