@google/gemini-cli 0.45.0-preview.0 → 0.45.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-GIXFMPPJ.js → chunk-2ARYG3KE.js} +1 -1
- package/bundle/{chunk-I7UI7NB6.js → chunk-3TWZMAJU.js} +3 -3
- package/bundle/{chunk-2RRZM3IR.js → chunk-4EBMYFID.js} +7 -7
- package/bundle/{chunk-VS2OY6HJ.js → chunk-4KOU3QNT.js} +1 -1
- package/bundle/{chunk-EZCW6IDX.js → chunk-53SRWMUU.js} +1 -1
- package/bundle/{chunk-4FNXKOEB.js → chunk-6T7N6JF2.js} +24 -14
- package/bundle/{chunk-Y5REX36P.js → chunk-EORX7LYI.js} +1 -1
- package/bundle/{chunk-DMCSPKNM.js → chunk-EUYIPFPA.js} +1 -1
- package/bundle/{chunk-IPQLMJS5.js → chunk-GVEZJIV3.js} +1 -1
- package/bundle/{chunk-APSDEHHA.js → chunk-HFVEWB6N.js} +1 -1
- package/bundle/{chunk-S4CJ6KAO.js → chunk-IL7J46PP.js} +3 -3
- package/bundle/{chunk-4M3TG6ZU.js → chunk-JLFE3KRS.js} +1 -1
- package/bundle/{chunk-2O7YSVPU.js → chunk-K6WTIGVC.js} +2 -2
- package/bundle/{chunk-TH3OOWK4.js → chunk-KSNTXH4E.js} +7 -7
- package/bundle/{chunk-CWAXEILN.js → chunk-N6QPQL7E.js} +26 -16
- package/bundle/{chunk-LUQGJPIY.js → chunk-PNU4GACG.js} +2 -2
- package/bundle/{chunk-WPCNMQ6J.js → chunk-PXEK5ENZ.js} +1 -1
- package/bundle/{chunk-J4QUIOHJ.js → chunk-SG46YSQ3.js} +7 -7
- package/bundle/{chunk-OY6QYVTR.js → chunk-THZMPVCN.js} +1 -1
- package/bundle/{chunk-R5OZKB4U.js → chunk-TWSSMLUS.js} +1 -1
- package/bundle/{chunk-Q3UZDZZV.js → chunk-VL3FKVC7.js} +3 -3
- package/bundle/{chunk-J7SEBVDD.js → chunk-XV2YFH7B.js} +26 -16
- package/bundle/{chunk-N4X4WHSW.js → chunk-YI3KORH5.js} +2 -2
- package/bundle/{chunk-NOJPXYUJ.js → chunk-Z5F25543.js} +1 -1
- package/bundle/{cleanup-2WCUS5XU.js → cleanup-3SMSXJJA.js} +2 -2
- package/bundle/{cleanup-7FHLTEXT.js → cleanup-FNQ3LEWG.js} +2 -2
- package/bundle/{cleanup-WGOZFAQJ.js → cleanup-I56KHTTC.js} +2 -2
- package/bundle/{core-SIRU2VWJ.js → core-AQUUQTX2.js} +1 -1
- package/bundle/{dist-67ZORME5.js → core-KGXBOJTX.js} +1 -1
- package/bundle/{devtoolsService-IANYOK3R.js → devtoolsService-EW3B2Y63.js} +2 -2
- package/bundle/{devtoolsService-F5XFL4BF.js → devtoolsService-F7PHNBEQ.js} +2 -2
- package/bundle/{devtoolsService-4Y2RGEUE.js → devtoolsService-VFEFRDYG.js} +2 -2
- package/bundle/{core-LD6MHGD6.js → dist-2G5KTD32.js} +1 -1
- package/bundle/{gemini-74UML3PJ.js → gemini-4KS2EZX6.js} +14 -14
- package/bundle/{gemini-5ZI322FJ.js → gemini-JMMBFICD.js} +14 -14
- package/bundle/{gemini-24ENZ343.js → gemini-ORQHD633.js} +14 -14
- package/bundle/gemini.js +10 -9
- package/bundle/{interactiveCli-BVZLMTVC.js → interactiveCli-ESB66RW7.js} +8 -8
- package/bundle/{interactiveCli-7GM3U7SA.js → interactiveCli-XUZZOZXX.js} +8 -8
- package/bundle/{interactiveCli-XM5HDVD7.js → interactiveCli-ZJXV4DW7.js} +8 -8
- package/bundle/{liteRtServerManager-6N5DYDEQ.js → liteRtServerManager-DORIWEMR.js} +4 -4
- package/bundle/{liteRtServerManager-JVMDH3TN.js → liteRtServerManager-HELKQKOZ.js} +4 -4
- package/bundle/{liteRtServerManager-3HS3VUPU.js → liteRtServerManager-RNNHEQJI.js} +4 -4
- package/bundle/{oauth2-provider-RUFABDNL.js → oauth2-provider-2IJNOFOO.js} +1 -1
- package/bundle/{oauth2-provider-U72EWZHQ.js → oauth2-provider-7N4OFPTL.js} +1 -1
- package/bundle/{oauth2-provider-WS7LUQ5V.js → oauth2-provider-YYLBPESU.js} +1 -1
- package/bundle/{start-KOAGXRA2.js → start-66KF6MVV.js} +6 -6
- package/bundle/{start-XLIGOOW3.js → start-IGG6LDST.js} +6 -6
- package/bundle/{start-DJ6EBFEA.js → start-R7DTCFCN.js} +6 -6
- package/package.json +1 -1
|
@@ -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-JLFE3KRS.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-4KOU3QNT.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XV2YFH7B.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JLFE3KRS.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-4KOU3QNT.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PNU4GACG.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-PXEK5ENZ.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-XV2YFH7B.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -56501,7 +56501,7 @@ var authCommand = {
|
|
|
56501
56501
|
import process28 from "node:process";
|
|
56502
56502
|
|
|
56503
56503
|
// packages/cli/src/generated/git-commit.ts
|
|
56504
|
-
var GIT_COMMIT_INFO = "
|
|
56504
|
+
var GIT_COMMIT_INFO = "8acfe0c4a";
|
|
56505
56505
|
|
|
56506
56506
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56507
56507
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -62262,7 +62262,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62262
62262
|
type: "info",
|
|
62263
62263
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62264
62264
|
});
|
|
62265
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
62265
|
+
const { MCPOAuthProvider } = await import("./core-KGXBOJTX.js");
|
|
62266
62266
|
let oauthConfig = server.oauth;
|
|
62267
62267
|
if (!oauthConfig) {
|
|
62268
62268
|
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-EORX7LYI.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -279279,8 +279279,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
279279
279279
|
}
|
|
279280
279280
|
|
|
279281
279281
|
// packages/core/dist/src/generated/git-commit.js
|
|
279282
|
-
var GIT_COMMIT_INFO = "
|
|
279283
|
-
var CLI_VERSION = "0.45.0
|
|
279282
|
+
var GIT_COMMIT_INFO = "8acfe0c4a";
|
|
279283
|
+
var CLI_VERSION = "0.45.0";
|
|
279284
279284
|
|
|
279285
279285
|
// packages/core/dist/src/ide/detect-ide.js
|
|
279286
279286
|
var IDE_DEFINITIONS = {
|
|
@@ -303445,7 +303445,7 @@ function getVersion() {
|
|
|
303445
303445
|
}
|
|
303446
303446
|
versionPromise = (async () => {
|
|
303447
303447
|
const pkgJson = await getPackageJson(__dirname4);
|
|
303448
|
-
return "0.45.0
|
|
303448
|
+
return "0.45.0";
|
|
303449
303449
|
})();
|
|
303450
303450
|
return versionPromise;
|
|
303451
303451
|
}
|
|
@@ -320228,21 +320228,31 @@ ${truncated}`;
|
|
|
320228
320228
|
return;
|
|
320229
320229
|
}
|
|
320230
320230
|
const activePty = this.activePtys.get(pid);
|
|
320231
|
-
if (activePty) {
|
|
320231
|
+
if (!activePty) {
|
|
320232
|
+
return;
|
|
320233
|
+
}
|
|
320234
|
+
if (process.platform !== "win32") {
|
|
320232
320235
|
try {
|
|
320233
|
-
|
|
320234
|
-
activePty.headlessTerminal.resize(cols, rows);
|
|
320236
|
+
process.kill(pid, 0);
|
|
320235
320237
|
} catch (e2) {
|
|
320236
|
-
|
|
320237
|
-
|
|
320238
|
-
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
320239
|
-
const isWindowsPtyError = err2.message?.includes("Cannot resize a pty that has already exited");
|
|
320240
|
-
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
320241
|
-
} else {
|
|
320242
|
-
throw e2;
|
|
320238
|
+
if (isNodeError(e2) && e2.code === "ESRCH") {
|
|
320239
|
+
return;
|
|
320243
320240
|
}
|
|
320244
320241
|
}
|
|
320245
320242
|
}
|
|
320243
|
+
try {
|
|
320244
|
+
activePty.ptyProcess.resize(cols, rows);
|
|
320245
|
+
activePty.headlessTerminal.resize(cols, rows);
|
|
320246
|
+
} catch (e2) {
|
|
320247
|
+
const err2 = e2;
|
|
320248
|
+
const isEsrch = err2.code === "ESRCH";
|
|
320249
|
+
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
320250
|
+
const isWindowsPtyError = err2.message?.includes("Cannot resize a pty that has already exited");
|
|
320251
|
+
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
320252
|
+
} else {
|
|
320253
|
+
throw e2;
|
|
320254
|
+
}
|
|
320255
|
+
}
|
|
320246
320256
|
if (activePty) {
|
|
320247
320257
|
const endLine = activePty.headlessTerminal.buffer.active.length;
|
|
320248
320258
|
const startLine = Math.max(0, endLine - (activePty.maxSerializedLines ?? 2e3));
|
|
@@ -335767,7 +335777,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
335767
335777
|
return provider;
|
|
335768
335778
|
}
|
|
335769
335779
|
case "oauth2": {
|
|
335770
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
335780
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-2IJNOFOO.js");
|
|
335771
335781
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
335772
335782
|
await provider.initialize();
|
|
335773
335783
|
return provider;
|
|
@@ -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-TWSSMLUS.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-N6QPQL7E.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-53SRWMUU.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-EUYIPFPA.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6T7N6JF2.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-THZMPVCN.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -1,13 +1,13 @@
|
|
|
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-EORX7LYI.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6T7N6JF2.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GVEZJIV3.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2ARYG3KE.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-YI3KORH5.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-HFVEWB6N.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-N6QPQL7E.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -56501,7 +56501,7 @@ var authCommand = {
|
|
|
56501
56501
|
import process28 from "node:process";
|
|
56502
56502
|
|
|
56503
56503
|
// packages/cli/src/generated/git-commit.ts
|
|
56504
|
-
var GIT_COMMIT_INFO = "
|
|
56504
|
+
var GIT_COMMIT_INFO = "8acfe0c4a";
|
|
56505
56505
|
|
|
56506
56506
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56507
56507
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -62262,7 +62262,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62262
62262
|
type: "info",
|
|
62263
62263
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62264
62264
|
});
|
|
62265
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
62265
|
+
const { MCPOAuthProvider } = await import("./core-AQUUQTX2.js");
|
|
62266
62266
|
let oauthConfig = server.oauth;
|
|
62267
62267
|
if (!oauthConfig) {
|
|
62268
62268
|
oauthConfig = { enabled: false };
|
|
@@ -279535,8 +279535,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
279535
279535
|
}
|
|
279536
279536
|
|
|
279537
279537
|
// packages/core/src/generated/git-commit.ts
|
|
279538
|
-
var GIT_COMMIT_INFO = "
|
|
279539
|
-
var CLI_VERSION = "0.45.0
|
|
279538
|
+
var GIT_COMMIT_INFO = "8acfe0c4a";
|
|
279539
|
+
var CLI_VERSION = "0.45.0";
|
|
279540
279540
|
|
|
279541
279541
|
// packages/core/src/ide/detect-ide.ts
|
|
279542
279542
|
var IDE_DEFINITIONS = {
|
|
@@ -304005,7 +304005,7 @@ function getVersion() {
|
|
|
304005
304005
|
}
|
|
304006
304006
|
versionPromise = (async () => {
|
|
304007
304007
|
const pkgJson = await getPackageJson(__dirname4);
|
|
304008
|
-
return "0.45.0
|
|
304008
|
+
return "0.45.0";
|
|
304009
304009
|
})();
|
|
304010
304010
|
return versionPromise;
|
|
304011
304011
|
}
|
|
@@ -322140,23 +322140,33 @@ ${truncated}`;
|
|
|
322140
322140
|
return;
|
|
322141
322141
|
}
|
|
322142
322142
|
const activePty = this.activePtys.get(pid);
|
|
322143
|
-
if (activePty) {
|
|
322143
|
+
if (!activePty) {
|
|
322144
|
+
return;
|
|
322145
|
+
}
|
|
322146
|
+
if (process.platform !== "win32") {
|
|
322144
322147
|
try {
|
|
322145
|
-
|
|
322146
|
-
activePty.headlessTerminal.resize(cols, rows);
|
|
322148
|
+
process.kill(pid, 0);
|
|
322147
322149
|
} catch (e2) {
|
|
322148
|
-
|
|
322149
|
-
|
|
322150
|
-
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
322151
|
-
const isWindowsPtyError = err2.message?.includes(
|
|
322152
|
-
"Cannot resize a pty that has already exited"
|
|
322153
|
-
);
|
|
322154
|
-
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
322155
|
-
} else {
|
|
322156
|
-
throw e2;
|
|
322150
|
+
if (isNodeError(e2) && e2.code === "ESRCH") {
|
|
322151
|
+
return;
|
|
322157
322152
|
}
|
|
322158
322153
|
}
|
|
322159
322154
|
}
|
|
322155
|
+
try {
|
|
322156
|
+
activePty.ptyProcess.resize(cols, rows);
|
|
322157
|
+
activePty.headlessTerminal.resize(cols, rows);
|
|
322158
|
+
} catch (e2) {
|
|
322159
|
+
const err2 = e2;
|
|
322160
|
+
const isEsrch = err2.code === "ESRCH";
|
|
322161
|
+
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
322162
|
+
const isWindowsPtyError = err2.message?.includes(
|
|
322163
|
+
"Cannot resize a pty that has already exited"
|
|
322164
|
+
);
|
|
322165
|
+
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
322166
|
+
} else {
|
|
322167
|
+
throw e2;
|
|
322168
|
+
}
|
|
322169
|
+
}
|
|
322160
322170
|
if (activePty) {
|
|
322161
322171
|
const endLine = activePty.headlessTerminal.buffer.active.length;
|
|
322162
322172
|
const startLine = Math.max(
|
|
@@ -338323,7 +338333,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338323
338333
|
return provider;
|
|
338324
338334
|
}
|
|
338325
338335
|
case "oauth2": {
|
|
338326
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338336
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-7N4OFPTL.js");
|
|
338327
338337
|
const provider = new OAuth2AuthProvider(
|
|
338328
338338
|
authConfig,
|
|
338329
338339
|
options.agentName ?? "unknown",
|
|
@@ -1,13 +1,13 @@
|
|
|
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-THZMPVCN.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XV2YFH7B.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-XV2YFH7B.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-53SRWMUU.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -58,14 +58,14 @@ import {
|
|
|
58
58
|
stripUnsafeCharacters,
|
|
59
59
|
toCodePoints,
|
|
60
60
|
validateCustomTheme
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EUYIPFPA.js";
|
|
62
62
|
import {
|
|
63
63
|
isDevelopment
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-K6WTIGVC.js";
|
|
65
65
|
import {
|
|
66
66
|
emptyIcon,
|
|
67
67
|
require_react
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-Z5F25543.js";
|
|
69
69
|
import {
|
|
70
70
|
ALL_EDITORS,
|
|
71
71
|
ApprovalMode,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
tokenLimit,
|
|
244
244
|
uiTelemetryService,
|
|
245
245
|
unescapePath
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-6T7N6JF2.js";
|
|
247
247
|
import {
|
|
248
248
|
require_src
|
|
249
249
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -56514,7 +56514,7 @@ var authCommand = {
|
|
|
56514
56514
|
import process28 from "node:process";
|
|
56515
56515
|
|
|
56516
56516
|
// packages/cli/src/generated/git-commit.ts
|
|
56517
|
-
var GIT_COMMIT_INFO = "
|
|
56517
|
+
var GIT_COMMIT_INFO = "0a11ce3e9";
|
|
56518
56518
|
|
|
56519
56519
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
56520
56520
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -62275,7 +62275,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
62275
62275
|
type: "info",
|
|
62276
62276
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
62277
62277
|
});
|
|
62278
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
62278
|
+
const { MCPOAuthProvider } = await import("./dist-2G5KTD32.js");
|
|
62279
62279
|
let oauthConfig = server.oauth;
|
|
62280
62280
|
if (!oauthConfig) {
|
|
62281
62281
|
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-GVEZJIV3.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-2ARYG3KE.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-N6QPQL7E.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -279535,8 +279535,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
279535
279535
|
}
|
|
279536
279536
|
|
|
279537
279537
|
// packages/core/src/generated/git-commit.ts
|
|
279538
|
-
var GIT_COMMIT_INFO = "
|
|
279539
|
-
var CLI_VERSION = "0.45.0-preview.
|
|
279538
|
+
var GIT_COMMIT_INFO = "8acfe0c4a";
|
|
279539
|
+
var CLI_VERSION = "0.45.0-preview.1";
|
|
279540
279540
|
|
|
279541
279541
|
// packages/core/src/ide/detect-ide.ts
|
|
279542
279542
|
var IDE_DEFINITIONS = {
|
|
@@ -304005,7 +304005,7 @@ function getVersion() {
|
|
|
304005
304005
|
}
|
|
304006
304006
|
versionPromise = (async () => {
|
|
304007
304007
|
const pkgJson = await getPackageJson(__dirname4);
|
|
304008
|
-
return "0.45.0-preview.
|
|
304008
|
+
return "0.45.0-preview.1";
|
|
304009
304009
|
})();
|
|
304010
304010
|
return versionPromise;
|
|
304011
304011
|
}
|
|
@@ -322140,23 +322140,33 @@ ${truncated}`;
|
|
|
322140
322140
|
return;
|
|
322141
322141
|
}
|
|
322142
322142
|
const activePty = this.activePtys.get(pid);
|
|
322143
|
-
if (activePty) {
|
|
322143
|
+
if (!activePty) {
|
|
322144
|
+
return;
|
|
322145
|
+
}
|
|
322146
|
+
if (process.platform !== "win32") {
|
|
322144
322147
|
try {
|
|
322145
|
-
|
|
322146
|
-
activePty.headlessTerminal.resize(cols, rows);
|
|
322148
|
+
process.kill(pid, 0);
|
|
322147
322149
|
} catch (e2) {
|
|
322148
|
-
|
|
322149
|
-
|
|
322150
|
-
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
322151
|
-
const isWindowsPtyError = err2.message?.includes(
|
|
322152
|
-
"Cannot resize a pty that has already exited"
|
|
322153
|
-
);
|
|
322154
|
-
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
322155
|
-
} else {
|
|
322156
|
-
throw e2;
|
|
322150
|
+
if (isNodeError(e2) && e2.code === "ESRCH") {
|
|
322151
|
+
return;
|
|
322157
322152
|
}
|
|
322158
322153
|
}
|
|
322159
322154
|
}
|
|
322155
|
+
try {
|
|
322156
|
+
activePty.ptyProcess.resize(cols, rows);
|
|
322157
|
+
activePty.headlessTerminal.resize(cols, rows);
|
|
322158
|
+
} catch (e2) {
|
|
322159
|
+
const err2 = e2;
|
|
322160
|
+
const isEsrch = err2.code === "ESRCH";
|
|
322161
|
+
const isEbadf = err2.code === "EBADF" || err2.message?.includes("EBADF");
|
|
322162
|
+
const isWindowsPtyError = err2.message?.includes(
|
|
322163
|
+
"Cannot resize a pty that has already exited"
|
|
322164
|
+
);
|
|
322165
|
+
if (isEsrch || isEbadf || isWindowsPtyError) {
|
|
322166
|
+
} else {
|
|
322167
|
+
throw e2;
|
|
322168
|
+
}
|
|
322169
|
+
}
|
|
322160
322170
|
if (activePty) {
|
|
322161
322171
|
const endLine = activePty.headlessTerminal.buffer.active.length;
|
|
322162
322172
|
const startLine = Math.max(
|
|
@@ -338323,7 +338333,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338323
338333
|
return provider;
|
|
338324
338334
|
}
|
|
338325
338335
|
case "oauth2": {
|
|
338326
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338336
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-YYLBPESU.js");
|
|
338327
338337
|
const provider = new OAuth2AuthProvider(
|
|
338328
338338
|
authConfig,
|
|
338329
338339
|
options.agentName ?? "unknown",
|
|
@@ -1,13 +1,13 @@
|
|
|
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-TWSSMLUS.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N6QPQL7E.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-TWSSMLUS.js";
|
|
15
|
+
import "./chunk-N6QPQL7E.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-THZMPVCN.js";
|
|
15
|
+
import "./chunk-XV2YFH7B.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-EORX7LYI.js";
|
|
15
|
+
import "./chunk-6T7N6JF2.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|