@google/gemini-cli 0.39.0-preview.0 → 0.39.0-preview.2
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-NMO6M2JW.js → chunk-3R2FLB3Z.js} +4 -4
- package/bundle/{chunk-UCJYTRQH.js → chunk-45GIY5RT.js} +1 -1
- package/bundle/{chunk-CB4IHCOV.js → chunk-4UUOHXDW.js} +354 -296
- package/bundle/{chunk-ZFUMNFZD.js → chunk-5J5LWISO.js} +6536 -11870
- package/bundle/{chunk-DY3XSEN6.js → chunk-AZ7QQWNX.js} +2 -2
- package/bundle/{chunk-L5FKR6GE.js → chunk-GX4YOB7T.js} +4 -4
- package/bundle/{chunk-KMWY7IVQ.js → chunk-N3GUGFOL.js} +72 -60
- package/bundle/chunk-OXCH4FS3.js +360288 -0
- package/bundle/{chunk-5ZBBJS2A.js → chunk-QC6EGBZW.js} +1 -1
- package/bundle/chunk-RTX4LTWK.js +101702 -0
- package/bundle/chunk-SS4CWRZ5.js +156 -0
- package/bundle/{chunk-LF246RTE.js → chunk-TKGFTY3B.js} +404 -307
- package/bundle/{cleanup-INA6FKQG.js → cleanup-3EICKDDN.js} +2 -2
- package/bundle/{cleanup-DKDGF4IA.js → cleanup-4SLYOL44.js} +3 -3
- package/bundle/{cleanup-B7STSNY5.js → cleanup-6N6E742H.js} +2 -2
- package/bundle/cleanup-OG2MXKZ7.js +33 -0
- package/bundle/{core-6MCGZ334.js → core-KLYK3V6Z.js} +3 -1
- package/bundle/{devtoolsService-QN4BQSIF.js → devtoolsService-FS7WXGBF.js} +2 -2
- package/bundle/{devtoolsService-BXBCDCC2.js → devtoolsService-K4DENTYF.js} +2 -2
- package/bundle/{devtoolsService-DDDJINQW.js → devtoolsService-RLXZWLDT.js} +5 -4
- package/bundle/devtoolsService-X4577PYZ.js +871 -0
- package/bundle/{dist-2M52ZJGU.js → dist-5ET5G5PC.js} +3 -1
- package/bundle/{core-MYQB6KXT.js → dist-DQVXGLSO.js} +4 -2
- package/bundle/dist-P4XAO4SC.js +2010 -0
- package/bundle/docs/cli/plan-mode.md +1 -2
- package/bundle/{gemini-TS2LMZH4.js → gemini-6GWCDHXK.js} +8 -8
- package/bundle/{gemini-BA3BDBJT.js → gemini-FLGPH5GJ.js} +8 -8
- package/bundle/{gemini-JFTJVXU4.js → gemini-NBKLSVA3.js} +184 -169
- package/bundle/gemini-YOFQ5KF4.js +15321 -0
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-7ZBDFPFP.js → interactiveCli-AGSLCKNH.js} +6 -5
- package/bundle/{interactiveCli-W43ANBCL.js → interactiveCli-H3NLGP7Z.js} +6 -5
- package/bundle/{interactiveCli-K6QHA2GI.js → interactiveCli-NAPN3E2K.js} +277 -259
- package/bundle/interactiveCli-TCZBSTKU.js +34493 -0
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-53ZABNLX.js → oauth2-provider-CWUR5RGE.js} +1 -1
- package/bundle/{oauth2-provider-T4YYJWZG.js → oauth2-provider-EA452S4C.js} +39 -73
- package/bundle/oauth2-provider-LV6VPYTU.js +237 -0
- package/bundle/{oauth2-provider-3YCIQHIN.js → oauth2-provider-YKYTKUWD.js} +1 -1
- package/package.json +1 -1
|
@@ -329,7 +329,6 @@ Storage whenever Gemini CLI exits Plan Mode to start the implementation.
|
|
|
329
329
|
#!/usr/bin/env bash
|
|
330
330
|
# Extract the plan filename from the tool input JSON
|
|
331
331
|
plan_filename=$(jq -r '.tool_input.plan_filename // empty')
|
|
332
|
-
plan_filename=$(basename -- "$plan_filename")
|
|
333
332
|
|
|
334
333
|
# Construct the absolute path using the GEMINI_PLANS_DIR environment variable
|
|
335
334
|
plan_path="$GEMINI_PLANS_DIR/$plan_filename"
|
|
@@ -358,7 +357,7 @@ To register this `AfterTool` hook, add it to your `settings.json`:
|
|
|
358
357
|
{
|
|
359
358
|
"name": "archive-plan",
|
|
360
359
|
"type": "command",
|
|
361
|
-
"command": "
|
|
360
|
+
"command": "~/.gemini/hooks/archive-plan.sh"
|
|
362
361
|
}
|
|
363
362
|
]
|
|
364
363
|
}
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-RTX4LTWK.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-AZ7QQWNX.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
updatePolicy,
|
|
168
168
|
writeToStderr,
|
|
169
169
|
writeToStdout
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-4UUOHXDW.js";
|
|
171
171
|
import {
|
|
172
172
|
ASK_USER_TOOL_NAME,
|
|
173
173
|
ApprovalMode,
|
|
@@ -7265,7 +7265,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7267
7267
|
const packageJson = await getPackageJson(__dirname3);
|
|
7268
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.
|
|
7268
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7269
7269
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7270
7270
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7271
7271
|
}
|
|
@@ -9562,7 +9562,7 @@ async function runNonInteractive({
|
|
|
9562
9562
|
}
|
|
9563
9563
|
});
|
|
9564
9564
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9565
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9565
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
9566
9566
|
await setupInitialActivityLogger(config);
|
|
9567
9567
|
}
|
|
9568
9568
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10013,7 +10013,7 @@ async function runNonInteractive2(params) {
|
|
|
10013
10013
|
}
|
|
10014
10014
|
});
|
|
10015
10015
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10016
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10016
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
10017
10017
|
await setupInitialActivityLogger(config);
|
|
10018
10018
|
}
|
|
10019
10019
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14860,7 +14860,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14860
14860
|
}
|
|
14861
14861
|
}
|
|
14862
14862
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14863
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14863
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-NAPN3E2K.js");
|
|
14864
14864
|
await doStartUI(
|
|
14865
14865
|
config,
|
|
14866
14866
|
settings,
|
|
@@ -15062,7 +15062,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15062
15062
|
await config.storage.initialize();
|
|
15063
15063
|
adminControlsListner.setConfig(config);
|
|
15064
15064
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15065
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15065
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-RLXZWLDT.js");
|
|
15066
15066
|
await setupInitialActivityLogger(config);
|
|
15067
15067
|
}
|
|
15068
15068
|
registerTelemetryConfig(config);
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
updateAllUpdatableExtensions,
|
|
59
59
|
updateExtension,
|
|
60
60
|
validateAuthMethod
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-3R2FLB3Z.js";
|
|
62
62
|
import {
|
|
63
63
|
appEvents
|
|
64
64
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
runExitCleanup,
|
|
71
71
|
runSyncCleanup,
|
|
72
72
|
setupSignalHandlers
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-QC6EGBZW.js";
|
|
74
74
|
import {
|
|
75
75
|
AuthType,
|
|
76
76
|
ChatRecordingService,
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
updatePolicy,
|
|
157
157
|
writeToStderr,
|
|
158
158
|
writeToStdout
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-TKGFTY3B.js";
|
|
160
160
|
import {
|
|
161
161
|
ASK_USER_TOOL_NAME,
|
|
162
162
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
@@ -7250,7 +7250,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7250
7250
|
}
|
|
7251
7251
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7252
7252
|
const packageJson = await getPackageJson(__dirname3);
|
|
7253
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.
|
|
7253
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.39.0-preview.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7254
7254
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7255
7255
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7256
7256
|
}
|
|
@@ -9547,7 +9547,7 @@ async function runNonInteractive({
|
|
|
9547
9547
|
}
|
|
9548
9548
|
});
|
|
9549
9549
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
9550
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
9550
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
9551
9551
|
await setupInitialActivityLogger(config);
|
|
9552
9552
|
}
|
|
9553
9553
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -9998,7 +9998,7 @@ async function runNonInteractive2(params) {
|
|
|
9998
9998
|
}
|
|
9999
9999
|
});
|
|
10000
10000
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10001
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10001
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
10002
10002
|
await setupInitialActivityLogger(config);
|
|
10003
10003
|
}
|
|
10004
10004
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -14845,7 +14845,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
14845
14845
|
}
|
|
14846
14846
|
}
|
|
14847
14847
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
14848
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
14848
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-AGSLCKNH.js");
|
|
14849
14849
|
await doStartUI(
|
|
14850
14850
|
config,
|
|
14851
14851
|
settings,
|
|
@@ -15047,7 +15047,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15047
15047
|
await config.storage.initialize();
|
|
15048
15048
|
adminControlsListner.setConfig(config);
|
|
15049
15049
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15050
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15050
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-FS7WXGBF.js");
|
|
15051
15051
|
await setupInitialActivityLogger(config);
|
|
15052
15052
|
}
|
|
15053
15053
|
registerTelemetryConfig(config);
|