@google/gemini-cli 0.33.0-preview.7 → 0.33.0-preview.8
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
|
@@ -88852,7 +88852,12 @@ function resolveToRealPath(pathStr) {
|
|
|
88852
88852
|
}
|
|
88853
88853
|
return robustRealpath(path3.resolve(resolvedPath));
|
|
88854
88854
|
}
|
|
88855
|
-
function robustRealpath(p) {
|
|
88855
|
+
function robustRealpath(p, visited = /* @__PURE__ */ new Set()) {
|
|
88856
|
+
const key = process.platform === "win32" ? p.toLowerCase() : p;
|
|
88857
|
+
if (visited.has(key)) {
|
|
88858
|
+
throw new Error(`Infinite recursion detected in robustRealpath: ${p}`);
|
|
88859
|
+
}
|
|
88860
|
+
visited.add(key);
|
|
88856
88861
|
try {
|
|
88857
88862
|
return fs9.realpathSync(p);
|
|
88858
88863
|
} catch (e3) {
|
|
@@ -88862,14 +88867,17 @@ function robustRealpath(p) {
|
|
|
88862
88867
|
if (stat15.isSymbolicLink()) {
|
|
88863
88868
|
const target = fs9.readlinkSync(p);
|
|
88864
88869
|
const resolvedTarget = path3.resolve(path3.dirname(p), target);
|
|
88865
|
-
return robustRealpath(resolvedTarget);
|
|
88870
|
+
return robustRealpath(resolvedTarget, visited);
|
|
88871
|
+
}
|
|
88872
|
+
} catch (lstatError) {
|
|
88873
|
+
if (!(lstatError && typeof lstatError === "object" && "code" in lstatError && lstatError.code === "ENOENT")) {
|
|
88874
|
+
throw lstatError;
|
|
88866
88875
|
}
|
|
88867
|
-
} catch {
|
|
88868
88876
|
}
|
|
88869
88877
|
const parent = path3.dirname(p);
|
|
88870
88878
|
if (parent === p)
|
|
88871
88879
|
return p;
|
|
88872
|
-
return path3.join(robustRealpath(parent), path3.basename(p));
|
|
88880
|
+
return path3.join(robustRealpath(parent, visited), path3.basename(p));
|
|
88873
88881
|
}
|
|
88874
88882
|
throw e3;
|
|
88875
88883
|
}
|
|
@@ -196341,8 +196349,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
|
|
|
196341
196349
|
var init_git_commit = __esm({
|
|
196342
196350
|
"packages/core/dist/src/generated/git-commit.js"() {
|
|
196343
196351
|
"use strict";
|
|
196344
|
-
GIT_COMMIT_INFO = "
|
|
196345
|
-
CLI_VERSION = "0.33.0-preview.
|
|
196352
|
+
GIT_COMMIT_INFO = "302b48a0b";
|
|
196353
|
+
CLI_VERSION = "0.33.0-preview.8";
|
|
196346
196354
|
}
|
|
196347
196355
|
});
|
|
196348
196356
|
|
|
@@ -292810,7 +292818,7 @@ function getVersion() {
|
|
|
292810
292818
|
}
|
|
292811
292819
|
versionPromise = (async () => {
|
|
292812
292820
|
const pkgJson = await getPackageJson(__dirname3);
|
|
292813
|
-
return "0.33.0-preview.
|
|
292821
|
+
return "0.33.0-preview.8";
|
|
292814
292822
|
})();
|
|
292815
292823
|
return versionPromise;
|
|
292816
292824
|
}
|
|
@@ -515066,7 +515074,7 @@ var WarningMessage = ({ text }) => {
|
|
|
515066
515074
|
};
|
|
515067
515075
|
|
|
515068
515076
|
// packages/cli/src/generated/git-commit.ts
|
|
515069
|
-
var GIT_COMMIT_INFO2 = "
|
|
515077
|
+
var GIT_COMMIT_INFO2 = "c2e92125c";
|
|
515070
515078
|
|
|
515071
515079
|
// packages/cli/src/ui/components/AboutBox.tsx
|
|
515072
515080
|
init_dist8();
|
|
@@ -563483,7 +563491,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
563483
563491
|
const sandboxOption = argv.sandbox ?? settings.tools?.sandbox;
|
|
563484
563492
|
const command2 = getSandboxCommand(sandboxOption);
|
|
563485
563493
|
const packageJson2 = await getPackageJson(__dirname13);
|
|
563486
|
-
const image2 = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.33.0-preview.
|
|
563494
|
+
const image2 = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.33.0-preview.8" ?? packageJson2?.config?.sandboxImageUri;
|
|
563487
563495
|
return command2 && image2 ? { command: command2, image: image2 } : void 0;
|
|
563488
563496
|
}
|
|
563489
563497
|
|