@mmmbuto/gemini-cli-termux 0.42.0-termux → 0.46.0-termux
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/README.md +22 -2
- package/bundle/builtin/antigravity-support/SKILL.md +58 -0
- package/bundle/{chunk-BF6DCDLJ.js → chunk-4TSWR3AN.js} +145 -55
- package/bundle/{chunk-PL5MCDGY.js → chunk-6HI7VNOG.js} +55 -70
- package/bundle/{chunk-6PXDEURC.js → chunk-7QZTHDKK.js} +2 -4
- package/bundle/{chunk-ORXUJRZC.js → chunk-B7I47N5E.js} +3 -3
- package/bundle/{chunk-EHTAR2YP.js → chunk-G2G6HEZZ.js} +1 -1
- package/bundle/{chunk-LX6GOGBA.js → chunk-IB4Q6NBY.js} +123186 -73766
- package/bundle/{chunk-MP2YMAMR.js → chunk-IT3YFQ3I.js} +1 -1
- package/bundle/{chunk-RJTRUG2J.js → chunk-TUDYL3X4.js} +29 -5
- package/bundle/{chunk-A6KCGXPK.js → chunk-WUVOS6TV.js} +13 -6
- package/bundle/{chunk-SLMD2AMF.js → chunk-YGU42N5I.js} +847 -655
- package/bundle/{cleanup-RTDYF5DD.js → cleanup-GEP2OOHM.js} +4 -5
- package/bundle/{devtools-ZLHMA45S.js → devtools-V7NE4CQA.js} +1 -1
- package/bundle/{devtoolsService-SKRXJOXW.js → devtoolsService-EVM2JJLB.js} +5 -6
- package/bundle/{dist-B3HBIK36.js → dist-R3LOFA4X.js} +331 -285
- package/bundle/docs/changelogs/index.md +59 -0
- package/bundle/docs/changelogs/latest.md +201 -167
- package/bundle/docs/changelogs/preview.md +45 -102
- package/bundle/docs/cli/auto-memory.md +61 -40
- package/bundle/docs/cli/gemini-md.md +0 -2
- package/bundle/docs/cli/plan-mode.md +0 -1
- package/bundle/docs/cli/settings.md +19 -19
- package/bundle/docs/cli/tutorials/memory-management.md +3 -3
- package/bundle/docs/extensions/reference.md +16 -0
- package/bundle/docs/extensions/releasing.md +58 -24
- package/bundle/docs/extensions/writing-extensions.md +7 -0
- package/bundle/docs/get-started/installation.mdx +2 -2
- package/bundle/docs/issue-and-pr-automation.md +29 -1
- package/bundle/docs/reference/commands.md +0 -3
- package/bundle/docs/reference/configuration.md +173 -78
- package/bundle/docs/reference/keyboard-shortcuts.md +23 -0
- package/bundle/docs/reference/tools.md +0 -2
- package/bundle/docs/tools/mcp-server.md +24 -3
- package/bundle/docs/tools/memory.md +10 -13
- package/bundle/examples/custom-commands/commands/fs/grep-code.toml +6 -0
- package/bundle/examples/custom-commands/gemini-extension.json +4 -0
- package/bundle/examples/exclude-tools/gemini-extension.json +5 -0
- package/bundle/examples/hooks/gemini-extension.json +4 -0
- package/bundle/examples/hooks/hooks/hooks.json +14 -0
- package/bundle/examples/hooks/scripts/on-start.js +8 -0
- package/bundle/examples/mcp-server/README.md +35 -0
- package/bundle/examples/mcp-server/example.js +60 -0
- package/bundle/examples/mcp-server/gemini-extension.json +11 -0
- package/bundle/examples/mcp-server/package.json +11 -0
- package/bundle/examples/policies/README.md +41 -0
- package/bundle/examples/policies/gemini-extension.json +5 -0
- package/bundle/examples/policies/policies/policies.toml +28 -0
- package/bundle/examples/skills/gemini-extension.json +4 -0
- package/bundle/examples/skills/skills/greeter/SKILL.md +7 -0
- package/bundle/examples/themes-example/README.md +31 -0
- package/bundle/examples/themes-example/gemini-extension.json +29 -0
- package/bundle/{gemini-NJWIVDFH.js → gemini-SGAFQX2R.js} +450 -297
- package/bundle/gemini.js +18 -13
- package/bundle/{dist-T73EYRDX.js → https-proxy-agent-AVGR4LHR.js} +8 -3
- package/bundle/{interactiveCli-QHKQZZJU.js → interactiveCli-MEEXSI2X.js} +1922 -1675
- package/bundle/{liteRtServerManager-USDJEPCM.js → liteRtServerManager-3EZO3JZ5.js} +6 -7
- package/bundle/{oauth2-provider-ARATJNEE.js → oauth2-provider-AJMTKEL6.js} +8 -10
- package/bundle/package.json +1 -1
- package/bundle/policies/plan.toml +1 -1
- package/bundle/policies/write.toml +0 -7
- package/bundle/src-LG4OHBW7.js +343 -0
- package/bundle/{start-IWR7MCIR.js → start-YW7YIVR7.js} +8 -9
- package/bundle/worker/worker-entry.js +7863 -0
- package/package.json +3 -3
- package/bundle/chunk-2X6HJV2G.js +0 -52710
- package/bundle/memoryDiscovery-EEGUKQ5C.js +0 -29
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +0 -96
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +0 -7
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +0 -9
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js.map +0 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.d.ts +0 -48
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js +0 -333
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js.map +0 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.d.ts +0 -36
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js +0 -7
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/types.js.map +0 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +0 -33
- package/bundle/policies/memory-manager.toml +0 -20
package/bundle/gemini.js
CHANGED
|
@@ -4,13 +4,12 @@ import {
|
|
|
4
4
|
RELAUNCH_EXIT_CODE,
|
|
5
5
|
getScriptArgs,
|
|
6
6
|
getSpawnConfig
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-RJTRUG2J.js";
|
|
7
|
+
} from "./chunk-WUVOS6TV.js";
|
|
8
|
+
import "./chunk-IT3YFQ3I.js";
|
|
9
|
+
import "./chunk-7QZTHDKK.js";
|
|
10
|
+
import "./chunk-IB4Q6NBY.js";
|
|
11
|
+
import "./chunk-6HI7VNOG.js";
|
|
12
|
+
import "./chunk-TUDYL3X4.js";
|
|
14
13
|
import "./chunk-IUUIT4SU.js";
|
|
15
14
|
import "./chunk-34MYV7JD.js";
|
|
16
15
|
|
|
@@ -19,8 +18,14 @@ import { spawn } from "node:child_process";
|
|
|
19
18
|
import os from "node:os";
|
|
20
19
|
import v8 from "node:v8";
|
|
21
20
|
process.on("uncaughtException", (error) => {
|
|
22
|
-
if (
|
|
23
|
-
|
|
21
|
+
if (error instanceof Error) {
|
|
22
|
+
const message = error.message || "";
|
|
23
|
+
const isPtyResizeError = message === "Cannot resize a pty that has already exited";
|
|
24
|
+
const isEbadfError = message.includes("EBADF") || error.code === "EBADF";
|
|
25
|
+
const isFromNodePty = error.stack?.includes("node-pty") || error.stack?.includes("PtyResize");
|
|
26
|
+
if ((isPtyResizeError || isEbadfError) && isFromNodePty) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
24
29
|
}
|
|
25
30
|
if (error instanceof Error) {
|
|
26
31
|
process.stderr.write(error.stack + "\n");
|
|
@@ -96,7 +101,7 @@ async function run() {
|
|
|
96
101
|
while (true) {
|
|
97
102
|
try {
|
|
98
103
|
const exitCode = await runner();
|
|
99
|
-
if (exitCode !== RELAUNCH_EXIT_CODE) {
|
|
104
|
+
if (process.platform === "android" || exitCode !== RELAUNCH_EXIT_CODE) {
|
|
100
105
|
process.exit(exitCode);
|
|
101
106
|
}
|
|
102
107
|
} catch (error) {
|
|
@@ -110,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
110
115
|
}
|
|
111
116
|
}
|
|
112
117
|
} else {
|
|
113
|
-
const { main } = await import("./gemini-
|
|
114
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
115
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
118
|
+
const { main } = await import("./gemini-SGAFQX2R.js");
|
|
119
|
+
const { FatalError, writeToStderr } = await import("./dist-R3LOFA4X.js");
|
|
120
|
+
const { runExitCleanup } = await import("./cleanup-GEP2OOHM.js");
|
|
116
121
|
main().catch(async (error) => {
|
|
117
122
|
const cleanupTimeout = setTimeout(() => {
|
|
118
123
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -1,6 +1,11 @@
|
|
|
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
|
-
|
|
4
|
-
|
|
3
|
+
import_dist,
|
|
4
|
+
init_https_proxy_agent
|
|
5
|
+
} from "./chunk-TUDYL3X4.js";
|
|
5
6
|
import "./chunk-34MYV7JD.js";
|
|
6
|
-
|
|
7
|
+
init_https_proxy_agent();
|
|
8
|
+
var export_HttpsProxyAgent = import_dist.HttpsProxyAgent;
|
|
9
|
+
export {
|
|
10
|
+
export_HttpsProxyAgent as HttpsProxyAgent
|
|
11
|
+
};
|