@google/gemini-cli 0.33.0-preview.12 → 0.33.0-preview.13
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/gemini.js
CHANGED
|
@@ -196358,8 +196358,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
196358
196358
|
var init_git_commit = __esm({
|
|
196359
196359
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
196360
196360
|
"use strict";
|
|
196361
|
-
GIT_COMMIT_INFO = "
|
|
196362
|
-
CLI_VERSION = "0.33.0-preview.
|
|
196361
|
+
GIT_COMMIT_INFO = "ca0db7ec4";
|
|
196362
|
+
CLI_VERSION = "0.33.0-preview.13";
|
|
196363
196363
|
}
|
|
196364
196364
|
});
|
|
196365
196365
|
|
|
@@ -292827,7 +292827,7 @@ function getVersion() {
|
|
|
292827
292827
|
}
|
|
292828
292828
|
versionPromise = (async () => {
|
|
292829
292829
|
const pkgJson = await getPackageJson(__dirname3);
|
|
292830
|
-
return "0.33.0-preview.
|
|
292830
|
+
return "0.33.0-preview.13";
|
|
292831
292831
|
})();
|
|
292832
292832
|
return versionPromise;
|
|
292833
292833
|
}
|
|
@@ -515121,7 +515121,7 @@ var WarningMessage = ({ text }) => {
|
|
|
515121
515121
|
};
|
|
515122
515122
|
|
|
515123
515123
|
// packages/cli/src/generated/git-commit.ts
|
|
515124
|
-
var GIT_COMMIT_INFO2 = "
|
|
515124
|
+
var GIT_COMMIT_INFO2 = "8948a9075";
|
|
515125
515125
|
|
|
515126
515126
|
// packages/cli/src/ui/components/AboutBox.tsx
|
|
515127
515127
|
init_dist8();
|
|
@@ -526130,14 +526130,14 @@ var ChoiceQuestionView = ({
|
|
|
526130
526130
|
const FOOTER_HEIGHT = 2;
|
|
526131
526131
|
const overhead = HEADER_HEIGHT2 + TITLE_MARGIN + FOOTER_HEIGHT;
|
|
526132
526132
|
const listHeight = availableHeight ? Math.max(1, availableHeight - overhead) : void 0;
|
|
526133
|
-
const
|
|
526134
|
-
const maxItemsToShow = listHeight &&
|
|
526133
|
+
const questionHeightLimit = listHeight && !isAlternateBuffer ? question.unconstrainedHeight ? Math.max(1, listHeight - selectionItems.length * 2) : Math.min(15, Math.max(1, listHeight - DIALOG_PADDING)) : void 0;
|
|
526134
|
+
const maxItemsToShow = listHeight && questionHeightLimit ? Math.max(1, Math.floor((listHeight - questionHeightLimit) / 2)) : selectionItems.length;
|
|
526135
526135
|
return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
526136
526136
|
progressHeader,
|
|
526137
526137
|
/* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Box_default, { marginBottom: TITLE_MARGIN, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
|
|
526138
526138
|
MaxSizedBox,
|
|
526139
526139
|
{
|
|
526140
|
-
maxHeight:
|
|
526140
|
+
maxHeight: questionHeightLimit,
|
|
526141
526141
|
maxWidth: availableWidth,
|
|
526142
526142
|
overflowDirection: "bottom",
|
|
526143
526143
|
children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Box_default, { flexDirection: "column", children: [
|
|
@@ -526618,7 +526618,8 @@ var ExitPlanModeDialog = ({
|
|
|
526618
526618
|
}
|
|
526619
526619
|
],
|
|
526620
526620
|
placeholder: "Type your feedback...",
|
|
526621
|
-
multiSelect: false
|
|
526621
|
+
multiSelect: false,
|
|
526622
|
+
unconstrainedHeight: false
|
|
526622
526623
|
}
|
|
526623
526624
|
],
|
|
526624
526625
|
onSubmit: (answers) => {
|
|
@@ -555701,7 +555702,7 @@ ${queuedText}` : queuedText;
|
|
|
555701
555702
|
}, [buffer, terminalWidth, terminalHeight, controlsHeight]);
|
|
555702
555703
|
const availableTerminalHeight = Math.max(
|
|
555703
555704
|
0,
|
|
555704
|
-
terminalHeight - controlsHeight -
|
|
555705
|
+
terminalHeight - controlsHeight - backgroundShellHeight - 1
|
|
555705
555706
|
);
|
|
555706
555707
|
config2.setShellExecutionConfig({
|
|
555707
555708
|
terminalWidth: Math.floor(terminalWidth * SHELL_WIDTH_FRACTION),
|
|
@@ -563532,7 +563533,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
563532
563533
|
const sandboxOption = argv.sandbox ?? settings.tools?.sandbox;
|
|
563533
563534
|
const command2 = getSandboxCommand(sandboxOption);
|
|
563534
563535
|
const packageJson2 = await getPackageJson(__dirname13);
|
|
563535
|
-
const image2 = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.33.0-preview.
|
|
563536
|
+
const image2 = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.33.0-preview.13" ?? packageJson2?.config?.sandboxImageUri;
|
|
563536
563537
|
return command2 && image2 ? { command: command2, image: image2 } : void 0;
|
|
563537
563538
|
}
|
|
563538
563539
|
|