@google/gemini-cli 0.57.0 → 0.58.0-preview.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-FYAMITQ2.js → chunk-2BLMLPHM.js} +1 -1
- package/bundle/{chunk-GAROUUGQ.js → chunk-2DH4DX65.js} +1 -1
- package/bundle/{chunk-AOE6E7MU.js → chunk-2XOTT2FI.js} +2 -2
- package/bundle/{chunk-4H4K2RBL.js → chunk-4FKXMALD.js} +3 -3
- package/bundle/{chunk-DFPYJMVX.js → chunk-4KFMA4KD.js} +242 -106
- package/bundle/{chunk-O7TOZUUB.js → chunk-6EGII27G.js} +3 -3
- package/bundle/{chunk-TAWZWX2B.js → chunk-7HQEQECM.js} +1 -1
- package/bundle/{chunk-HY6GN2F7.js → chunk-BOI2NL3I.js} +1 -1
- package/bundle/{chunk-RLDNVR77.js → chunk-CNAVMEMA.js} +1 -1
- package/bundle/{chunk-IKHAM2LG.js → chunk-E7K62ODO.js} +7 -7
- package/bundle/{chunk-GPOBVDAD.js → chunk-FJTXPUG2.js} +1 -1
- package/bundle/{chunk-7ZGWPQVZ.js → chunk-FMLOQLUD.js} +1 -1
- package/bundle/{chunk-ISXOUBN5.js → chunk-GNLIR4RW.js} +2 -2
- package/bundle/{chunk-XG56CL6B.js → chunk-JCGNL7TH.js} +1 -1
- package/bundle/{chunk-ASZFEU6C.js → chunk-JO5YRKX4.js} +7 -7
- package/bundle/{chunk-GAS2GAYB.js → chunk-JPMNKIVX.js} +1 -1
- package/bundle/{chunk-S3MXVTTY.js → chunk-M33HH4UA.js} +242 -106
- package/bundle/{chunk-FVC4WCSP.js → chunk-OEY2TDVE.js} +1 -1
- package/bundle/{chunk-MNBBUQQS.js → chunk-PGYTXBPD.js} +3 -3
- package/bundle/{chunk-YW7SDLZQ.js → chunk-PXFYRLFH.js} +1 -1
- package/bundle/{chunk-7IKUWYZO.js → chunk-RBQHWQSS.js} +1 -1
- package/bundle/{chunk-7HKQGPWB.js → chunk-TYMOJXZO.js} +181 -45
- package/bundle/{chunk-QJ33O2NH.js → chunk-WE4JKUV6.js} +7 -7
- package/bundle/{chunk-LQJHQ4BU.js → chunk-WHCFVERV.js} +2 -2
- package/bundle/{cleanup-2HUWGXK6.js → cleanup-KTXX3JEU.js} +2 -2
- package/bundle/{cleanup-7N2HFE2E.js → cleanup-NLNXSTS6.js} +2 -2
- package/bundle/{cleanup-DA7OSZS5.js → cleanup-RW3JYSTT.js} +2 -2
- package/bundle/{core-CFPIDJ4Z.js → core-SU4ABXSV.js} +3 -1
- package/bundle/{dist-AMP5W5P2.js → core-WFITWJMX.js} +3 -1
- package/bundle/{devtoolsService-WMEEEXY6.js → devtoolsService-BUAVSMN6.js} +2 -2
- package/bundle/{devtoolsService-7YYOUGVF.js → devtoolsService-MNBGW66M.js} +2 -2
- package/bundle/{devtoolsService-VQSLUOYF.js → devtoolsService-P42LXPJX.js} +2 -2
- package/bundle/{core-2NMRPWUN.js → dist-2CGQYGZC.js} +3 -1
- package/bundle/docs/changelogs/preview.md +78 -94
- package/bundle/{gemini-OYYGXMHL.js → gemini-3PHRRMWS.js} +266 -20
- package/bundle/{gemini-5LF4JAP7.js → gemini-BUCCXM4N.js} +266 -20
- package/bundle/{gemini-PSRJNVY5.js → gemini-VIRT6VT3.js} +266 -20
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-5E2C3XOC.js → interactiveCli-BP2ZFGLX.js} +8 -9
- package/bundle/{interactiveCli-PP7WTUZL.js → interactiveCli-GGARXT6P.js} +8 -9
- package/bundle/{interactiveCli-5O6FZS57.js → interactiveCli-N6VXS5Z4.js} +8 -9
- package/bundle/{liteRtServerManager-LK6HOSMO.js → liteRtServerManager-L46MRFSW.js} +4 -4
- package/bundle/{liteRtServerManager-ZPDALIDY.js → liteRtServerManager-QUODN3RR.js} +4 -4
- package/bundle/{liteRtServerManager-5QBFCLBK.js → liteRtServerManager-YLOGF7RQ.js} +4 -4
- package/bundle/{oauth2-provider-CO22I6UM.js → oauth2-provider-BKWSLZJ6.js} +1 -1
- package/bundle/{oauth2-provider-BGMEA7RS.js → oauth2-provider-IIC2YPC5.js} +1 -1
- package/bundle/{oauth2-provider-BYKBBEKI.js → oauth2-provider-KVIL4ITH.js} +1 -1
- package/bundle/policies/write.toml +10 -2
- package/bundle/sandbox-macos-permissive-open.sb +50 -0
- package/bundle/sandbox-macos-permissive-proxied.sb +50 -0
- package/bundle/sandbox-macos-restrictive-open.sb +50 -1
- package/bundle/sandbox-macos-restrictive-proxied.sb +50 -0
- package/bundle/sandbox-macos-strict-open.sb +50 -0
- package/bundle/sandbox-macos-strict-proxied.sb +50 -0
- package/bundle/{start-KH6WSP5C.js → start-2365H4YX.js} +6 -6
- package/bundle/{start-O6LWZY6K.js → start-VPQOFEIR.js} +6 -6
- package/bundle/{start-JRTTCV3K.js → start-Y7LKFE47.js} +6 -6
- package/package.json +1 -1
|
@@ -553,6 +553,7 @@ import {
|
|
|
553
553
|
buildUserSteeringHintPrompt,
|
|
554
554
|
bytesToMB,
|
|
555
555
|
calculateReplacement,
|
|
556
|
+
canonicalizeMacosPath,
|
|
556
557
|
captureHeapSnapshot,
|
|
557
558
|
categorizeAndConcatenate,
|
|
558
559
|
checkExhaustive,
|
|
@@ -1083,7 +1084,7 @@ import {
|
|
|
1083
1084
|
wrapUntrusted,
|
|
1084
1085
|
writeToStderr,
|
|
1085
1086
|
writeToStdout
|
|
1086
|
-
} from "./chunk-
|
|
1087
|
+
} from "./chunk-TYMOJXZO.js";
|
|
1087
1088
|
import "./chunk-664ZODQF.js";
|
|
1088
1089
|
import {
|
|
1089
1090
|
SpanStatusCode,
|
|
@@ -1647,6 +1648,7 @@ export {
|
|
|
1647
1648
|
buildUserSteeringHintPrompt,
|
|
1648
1649
|
bytesToMB,
|
|
1649
1650
|
calculateReplacement,
|
|
1651
|
+
canonicalizeMacosPath,
|
|
1650
1652
|
captureHeapSnapshot,
|
|
1651
1653
|
categorizeAndConcatenate,
|
|
1652
1654
|
checkExhaustive,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Preview release: v0.
|
|
1
|
+
# Preview release: v0.57.0-preview.0
|
|
2
2
|
|
|
3
|
-
Released: August
|
|
3
|
+
Released: August 19, 2026
|
|
4
4
|
|
|
5
5
|
Our preview release includes the latest, new, and experimental features. This
|
|
6
6
|
release may not be as stable as our [latest weekly release](latest.md).
|
|
@@ -13,101 +13,85 @@ npm install -g @google/gemini-cli@preview
|
|
|
13
13
|
|
|
14
14
|
## Highlights
|
|
15
15
|
|
|
16
|
-
- **
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- **Core
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
- **TUI & UX Enhancements**: Prevented indefinite TUI hangs by adding execution
|
|
17
|
+
timeouts, improved autocomplete suggestions with trailing spaces, forced
|
|
18
|
+
terminal buffer rerenders when exiting external editors, and clarified privacy
|
|
19
|
+
notice selection options.
|
|
20
|
+
- **Improved Evals & Testing**: Added a new tool call formatter and integrated
|
|
21
|
+
failure summaries into evals, improving visibility and test validation.
|
|
22
|
+
- **Core Reliability & Resilience**: Implemented context-aware silent retries
|
|
23
|
+
and availability TTL for capacity errors, rolled back entire multi-turn
|
|
24
|
+
requests on cancellation or abort, and dynamically resolved Cloud Workstations
|
|
25
|
+
proxy redirect URIs for OAuth flows.
|
|
26
|
+
- **Sub-agent & Guardrail Fixes**: Formatted the `cli_help` subagent output as
|
|
27
|
+
Markdown, prevented subagents from running when agents mode is disabled, and
|
|
28
|
+
resolved a subagent handoff token regression on startup.
|
|
26
29
|
|
|
27
30
|
## What's Changed
|
|
28
31
|
|
|
29
|
-
-
|
|
30
|
-
@
|
|
31
|
-
[#
|
|
32
|
-
-
|
|
33
|
-
[#
|
|
34
|
-
-
|
|
35
|
-
[#
|
|
36
|
-
-
|
|
37
|
-
@gemini-cli
|
|
38
|
-
|
|
39
|
-
-
|
|
32
|
+
- fix(core): dynamically resolve Cloud Workstations proxy redirect URI for OAuth
|
|
33
|
+
flows by @amelidev in
|
|
34
|
+
[#28688](https://github.com/google-gemini/gemini-cli/pull/28688)
|
|
35
|
+
- fix(core): resolve swallowed directory mismatch in IDE connections by
|
|
36
|
+
@amelidev in [#28729](https://github.com/google-gemini/gemini-cli/pull/28729)
|
|
37
|
+
- Feat/eval validate by @ved015 in
|
|
38
|
+
[#28344](https://github.com/google-gemini/gemini-cli/pull/28344)
|
|
39
|
+
- feat(evals): add tool call formatter and integrate failure summaries by
|
|
40
|
+
@ved015 in [#28305](https://github.com/google-gemini/gemini-cli/pull/28305)
|
|
41
|
+
- Changelog for v0.55.1 by @gemini-cli-robot in
|
|
42
|
+
[#28779](https://github.com/google-gemini/gemini-cli/pull/28779)
|
|
43
|
+
- test(e2e): stabilize file-system-interactive test on slow runners by
|
|
44
|
+
@DavidAPierce in
|
|
45
|
+
[#28793](https://github.com/google-gemini/gemini-cli/pull/28793)
|
|
46
|
+
- fix(core): implement context-aware silent retries and availability TTL for
|
|
47
|
+
capacity errors (#28761) by @DavidAPierce in
|
|
48
|
+
[#28790](https://github.com/google-gemini/gemini-cli/pull/28790)
|
|
49
|
+
- fix(core): rollback entire multi-turn request on cancellation or abort by
|
|
50
|
+
@amelidev in [#28801](https://github.com/google-gemini/gemini-cli/pull/28801)
|
|
51
|
+
- fix(core): normalize git environment and resolve workspace state mismatch by
|
|
40
52
|
@luisfelipe-alt in
|
|
41
|
-
[#
|
|
42
|
-
-
|
|
43
|
-
|
|
44
|
-
[#
|
|
45
|
-
-
|
|
46
|
-
@
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
[#
|
|
75
|
-
-
|
|
76
|
-
@
|
|
77
|
-
[#
|
|
78
|
-
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
-
|
|
83
|
-
by @amelidev in
|
|
84
|
-
[#28469](https://github.com/google-gemini/gemini-cli/pull/28469)
|
|
85
|
-
- feat(caretaker-triage): post comment before auto-closing issues by @chadd28 in
|
|
86
|
-
[#28411](https://github.com/google-gemini/gemini-cli/pull/28411)
|
|
87
|
-
- fix(core): enforce HTTPS for GoogleCredentialsAuthProvider to prevent
|
|
88
|
-
cleartext leakage by @amelidev in
|
|
89
|
-
[#28517](https://github.com/google-gemini/gemini-cli/pull/28517)
|
|
90
|
-
- fix(core): filter out thought parts from getHistoryTurns when context
|
|
91
|
-
management is disabled by @DavidAPierce in
|
|
92
|
-
[#28509](https://github.com/google-gemini/gemini-cli/pull/28509)
|
|
93
|
-
- fix(a2a-server): normalize CRLF line endings to LF in getProposedContent by
|
|
94
|
-
@luisfelipe-alt in
|
|
95
|
-
[#28531](https://github.com/google-gemini/gemini-cli/pull/28531)
|
|
96
|
-
- fix(core): enforce explicit tag length and validation in file keychain by
|
|
97
|
-
@luisfelipe-alt in
|
|
98
|
-
[#28523](https://github.com/google-gemini/gemini-cli/pull/28523)
|
|
99
|
-
- chore/release: bump version to 0.54.0-nightly.20260728.gbef611950 by
|
|
100
|
-
@gemini-cli-robot in
|
|
101
|
-
[#28552](https://github.com/google-gemini/gemini-cli/pull/28552)
|
|
102
|
-
- feat(pr-generator-db): implement Firestore concurrency dual-locking and test
|
|
103
|
-
ingestion utilities by @joneba-google in
|
|
104
|
-
[#28432](https://github.com/google-gemini/gemini-cli/pull/28432)
|
|
105
|
-
- feat(pr-generator-agent): implement Antigravity agent runner and prompt
|
|
106
|
-
templates … by @joneba-google in
|
|
107
|
-
[#28434](https://github.com/google-gemini/gemini-cli/pull/28434)
|
|
108
|
-
- fix(core): skip merged function-response turns when finding the active loop by
|
|
109
|
-
@adamfweidman in
|
|
110
|
-
[#28565](https://github.com/google-gemini/gemini-cli/pull/28565)
|
|
53
|
+
[#28792](https://github.com/google-gemini/gemini-cli/pull/28792)
|
|
54
|
+
- [SSR Agent] Issue Fix (19826): Migrate process.env to vi.stubEnv in a2a-server
|
|
55
|
+
tests by @joneba-google in
|
|
56
|
+
[#28811](https://github.com/google-gemini/gemini-cli/pull/28811)
|
|
57
|
+
- [SSR Agent] Issue Fix (21911): Add composite flag to packages/cli tsconfig by
|
|
58
|
+
@joneba-google in
|
|
59
|
+
[#28813](https://github.com/google-gemini/gemini-cli/pull/28813)
|
|
60
|
+
- [SSR Agent] Issue Fix (26120): Clarify privacy notice wording and selection
|
|
61
|
+
options by @joneba-google in
|
|
62
|
+
[#28820](https://github.com/google-gemini/gemini-cli/pull/28820)
|
|
63
|
+
- [SSR Agent] Issue Fix (21919): Fix TypeScript strict-null errors in
|
|
64
|
+
integration tests by @joneba-google in
|
|
65
|
+
[#28814](https://github.com/google-gemini/gemini-cli/pull/28814)
|
|
66
|
+
- [SSR Agent] Issue Fix (21477): Prevent indefinite TUI hang by adding execution
|
|
67
|
+
timeouts by @joneba-google in
|
|
68
|
+
[#28812](https://github.com/google-gemini/gemini-cli/pull/28812)
|
|
69
|
+
- [SSR Agent] Issue Fix (19239): Update /clear command docs to include context
|
|
70
|
+
reset by @joneba-google in
|
|
71
|
+
[#28847](https://github.com/google-gemini/gemini-cli/pull/28847)
|
|
72
|
+
- [SSR Agent] Issue Fix (24587): Fix misleading admin error for personal
|
|
73
|
+
accounts by @joneba-google in
|
|
74
|
+
[#28819](https://github.com/google-gemini/gemini-cli/pull/28819)
|
|
75
|
+
- [SSR Agent] Issue Fix (19463): Format cli_help subagent output as markdown by
|
|
76
|
+
@joneba-google in
|
|
77
|
+
[#28864](https://github.com/google-gemini/gemini-cli/pull/28864)
|
|
78
|
+
- [SSR Agent] Issue Fix (28050): Add Vertex AI locations documentation link by
|
|
79
|
+
@joneba-google in
|
|
80
|
+
[#28865](https://github.com/google-gemini/gemini-cli/pull/28865)
|
|
81
|
+
- [SSR Agent] Issue Fix (22093): Prevent subagents from running when agents mode
|
|
82
|
+
is disabled by @joneba-google in
|
|
83
|
+
[#28867](https://github.com/google-gemini/gemini-cli/pull/28867)
|
|
84
|
+
- [SSR Agent] Issue Fix (23954): Add trailing space to autocomplete suggestions
|
|
85
|
+
by @joneba-google in
|
|
86
|
+
[#28868](https://github.com/google-gemini/gemini-cli/pull/28868)
|
|
87
|
+
- [SSR Agent] Issue Fix (24935): Force terminal buffer rerender after exiting
|
|
88
|
+
external editors by @joneba-google in
|
|
89
|
+
[#28880](https://github.com/google-gemini/gemini-cli/pull/28880)
|
|
90
|
+
- [SSR Agent] Issue Fix (28518): Fix sub-agent handoff token regression on
|
|
91
|
+
startup by @joneba-google in
|
|
92
|
+
[#28882](https://github.com/google-gemini/gemini-cli/pull/28882)
|
|
93
|
+
- fix(core): preserve empty text turns with tools or media by @DavidAPierce in
|
|
94
|
+
[#28892](https://github.com/google-gemini/gemini-cli/pull/28892)
|
|
111
95
|
|
|
112
96
|
**Full Changelog**:
|
|
113
|
-
https://github.com/google-gemini/gemini-cli/compare/v0.
|
|
97
|
+
https://github.com/google-gemini/gemini-cli/compare/v0.56.0-preview.1...v0.57.0-preview.0
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
startCommand,
|
|
4
4
|
startServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4FKXMALD.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
updateAllUpdatableExtensions,
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JO5YRKX4.js";
|
|
49
49
|
import {
|
|
50
50
|
exitCli,
|
|
51
51
|
require_source
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PXFYRLFH.js";
|
|
53
53
|
import {
|
|
54
54
|
appEvents
|
|
55
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange,
|
|
89
89
|
stripAnsi
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-2DH4DX65.js";
|
|
91
91
|
import {
|
|
92
92
|
RELAUNCH_EXIT_CODE
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-GNLIR4RW.js";
|
|
94
|
+
import "./chunk-JCGNL7TH.js";
|
|
95
95
|
import {
|
|
96
96
|
cleanupCheckpoints,
|
|
97
97
|
registerCleanup,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runExitCleanup,
|
|
101
101
|
runSyncCleanup,
|
|
102
102
|
setupSignalHandlers
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-CNAVMEMA.js";
|
|
104
104
|
import {
|
|
105
105
|
ASK_USER_TOOL_NAME,
|
|
106
106
|
ApprovalMode,
|
|
@@ -254,7 +254,7 @@ import {
|
|
|
254
254
|
updatePolicy,
|
|
255
255
|
writeToStderr,
|
|
256
256
|
writeToStdout
|
|
257
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-TYMOJXZO.js";
|
|
258
258
|
import "./chunk-664ZODQF.js";
|
|
259
259
|
import "./chunk-IUUIT4SU.js";
|
|
260
260
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -7848,7 +7848,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7848
7848
|
}
|
|
7849
7849
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7850
7850
|
const packageJson = await getPackageJson(__dirname3);
|
|
7851
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
7851
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.58.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7852
7852
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7853
7853
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7854
7854
|
}
|
|
@@ -9018,7 +9018,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9018
9018
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9019
9019
|
(allow network-inbound (local ip "*:*"))
|
|
9020
9020
|
(allow network-bind (local ip "*:*"))
|
|
9021
|
-
(allow network-outbound)
|
|
9021
|
+
(allow network-outbound)
|
|
9022
|
+
(deny file-read* file-write*
|
|
9023
|
+
(literal "/var/run/docker.sock")
|
|
9024
|
+
(literal "/var/run/docker.sock.raw")
|
|
9025
|
+
(literal "/private/var/run/docker.sock")
|
|
9026
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9027
|
+
(subpath "/var/run/docker")
|
|
9028
|
+
(subpath "/private/var/run/docker")
|
|
9029
|
+
(subpath "/Users/Shared/.docker")
|
|
9030
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9031
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9032
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9033
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9034
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9035
|
+
)
|
|
9036
|
+
(deny process-exec
|
|
9037
|
+
(literal "/usr/local/bin/docker")
|
|
9038
|
+
(literal "/usr/local/bin/dockerd")
|
|
9039
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9040
|
+
(literal "/usr/bin/docker")
|
|
9041
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9042
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9043
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9044
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9045
|
+
(literal "/usr/local/bin/podman")
|
|
9046
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9047
|
+
(literal "/usr/local/bin/colima")
|
|
9048
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9049
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9050
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9051
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9052
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9053
|
+
)
|
|
9054
|
+
(deny mach-lookup
|
|
9055
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9056
|
+
(global-name-prefix "com.docker.")
|
|
9057
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9058
|
+
)
|
|
9059
|
+
(deny ipc-posix-shm*
|
|
9060
|
+
(ipc-posix-name-prefix "docker")
|
|
9061
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9062
|
+
)`,
|
|
9022
9063
|
"permissive-proxied": `(version 1)
|
|
9023
9064
|
(deny default)
|
|
9024
9065
|
(allow file-read*)
|
|
@@ -9113,7 +9154,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9113
9154
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9114
9155
|
(allow network-inbound (local ip "localhost:9229"))
|
|
9115
9156
|
(allow network-bind (local ip "*:*"))
|
|
9116
|
-
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9157
|
+
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9158
|
+
(deny file-read* file-write*
|
|
9159
|
+
(literal "/var/run/docker.sock")
|
|
9160
|
+
(literal "/var/run/docker.sock.raw")
|
|
9161
|
+
(literal "/private/var/run/docker.sock")
|
|
9162
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9163
|
+
(subpath "/var/run/docker")
|
|
9164
|
+
(subpath "/private/var/run/docker")
|
|
9165
|
+
(subpath "/Users/Shared/.docker")
|
|
9166
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9167
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9168
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9169
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9170
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9171
|
+
)
|
|
9172
|
+
(deny process-exec
|
|
9173
|
+
(literal "/usr/local/bin/docker")
|
|
9174
|
+
(literal "/usr/local/bin/dockerd")
|
|
9175
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9176
|
+
(literal "/usr/bin/docker")
|
|
9177
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9178
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9179
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9180
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9181
|
+
(literal "/usr/local/bin/podman")
|
|
9182
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9183
|
+
(literal "/usr/local/bin/colima")
|
|
9184
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9185
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9186
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9187
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9188
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9189
|
+
)
|
|
9190
|
+
(deny mach-lookup
|
|
9191
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9192
|
+
(global-name-prefix "com.docker.")
|
|
9193
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9194
|
+
)
|
|
9195
|
+
(deny ipc-posix-shm*
|
|
9196
|
+
(ipc-posix-name-prefix "docker")
|
|
9197
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9198
|
+
)`,
|
|
9117
9199
|
"restrictive-open": `(version 1)
|
|
9118
9200
|
(deny default)
|
|
9119
9201
|
(allow file-read*)
|
|
@@ -9185,7 +9267,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9185
9267
|
(allow mach-lookup (global-name "com.apple.sysmond"))
|
|
9186
9268
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9187
9269
|
(allow network-inbound (local ip "localhost:9229"))
|
|
9188
|
-
(allow network-outbound)
|
|
9270
|
+
(allow network-outbound)
|
|
9271
|
+
(deny file-read* file-write*
|
|
9272
|
+
(literal "/var/run/docker.sock")
|
|
9273
|
+
(literal "/var/run/docker.sock.raw")
|
|
9274
|
+
(literal "/private/var/run/docker.sock")
|
|
9275
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9276
|
+
(subpath "/var/run/docker")
|
|
9277
|
+
(subpath "/private/var/run/docker")
|
|
9278
|
+
(subpath "/Users/Shared/.docker")
|
|
9279
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9280
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9281
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9282
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9283
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9284
|
+
)
|
|
9285
|
+
(deny process-exec
|
|
9286
|
+
(literal "/usr/local/bin/docker")
|
|
9287
|
+
(literal "/usr/local/bin/dockerd")
|
|
9288
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9289
|
+
(literal "/usr/bin/docker")
|
|
9290
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9291
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9292
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9293
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9294
|
+
(literal "/usr/local/bin/podman")
|
|
9295
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9296
|
+
(literal "/usr/local/bin/colima")
|
|
9297
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9298
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9299
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9300
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9301
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9302
|
+
)
|
|
9303
|
+
(deny mach-lookup
|
|
9304
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9305
|
+
(global-name-prefix "com.docker.")
|
|
9306
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9307
|
+
)
|
|
9308
|
+
(deny ipc-posix-shm*
|
|
9309
|
+
(ipc-posix-name-prefix "docker")
|
|
9310
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9311
|
+
)`,
|
|
9189
9312
|
"restrictive-proxied": `(version 1)
|
|
9190
9313
|
(deny default)
|
|
9191
9314
|
(allow file-read*)
|
|
@@ -9257,7 +9380,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9257
9380
|
(allow mach-lookup (global-name "com.apple.sysmond"))
|
|
9258
9381
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9259
9382
|
(allow network-inbound (local ip "localhost:9229"))
|
|
9260
|
-
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9383
|
+
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9384
|
+
(deny file-read* file-write*
|
|
9385
|
+
(literal "/var/run/docker.sock")
|
|
9386
|
+
(literal "/var/run/docker.sock.raw")
|
|
9387
|
+
(literal "/private/var/run/docker.sock")
|
|
9388
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9389
|
+
(subpath "/var/run/docker")
|
|
9390
|
+
(subpath "/private/var/run/docker")
|
|
9391
|
+
(subpath "/Users/Shared/.docker")
|
|
9392
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9393
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9394
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9395
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9396
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9397
|
+
)
|
|
9398
|
+
(deny process-exec
|
|
9399
|
+
(literal "/usr/local/bin/docker")
|
|
9400
|
+
(literal "/usr/local/bin/dockerd")
|
|
9401
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9402
|
+
(literal "/usr/bin/docker")
|
|
9403
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9404
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9405
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9406
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9407
|
+
(literal "/usr/local/bin/podman")
|
|
9408
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9409
|
+
(literal "/usr/local/bin/colima")
|
|
9410
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9411
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9412
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9413
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9414
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9415
|
+
)
|
|
9416
|
+
(deny mach-lookup
|
|
9417
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9418
|
+
(global-name-prefix "com.docker.")
|
|
9419
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9420
|
+
)
|
|
9421
|
+
(deny ipc-posix-shm*
|
|
9422
|
+
(ipc-posix-name-prefix "docker")
|
|
9423
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9424
|
+
)`,
|
|
9261
9425
|
"strict-open": `(version 1)
|
|
9262
9426
|
(deny default)
|
|
9263
9427
|
(allow file-read*
|
|
@@ -9358,7 +9522,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9358
9522
|
(allow mach-lookup (global-name "com.apple.sysmond"))
|
|
9359
9523
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9360
9524
|
(allow network-inbound (local ip "localhost:9229"))
|
|
9361
|
-
(allow network-outbound)
|
|
9525
|
+
(allow network-outbound)
|
|
9526
|
+
(deny file-read* file-write*
|
|
9527
|
+
(literal "/var/run/docker.sock")
|
|
9528
|
+
(literal "/var/run/docker.sock.raw")
|
|
9529
|
+
(literal "/private/var/run/docker.sock")
|
|
9530
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9531
|
+
(subpath "/var/run/docker")
|
|
9532
|
+
(subpath "/private/var/run/docker")
|
|
9533
|
+
(subpath "/Users/Shared/.docker")
|
|
9534
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9535
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9536
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9537
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9538
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9539
|
+
)
|
|
9540
|
+
(deny process-exec
|
|
9541
|
+
(literal "/usr/local/bin/docker")
|
|
9542
|
+
(literal "/usr/local/bin/dockerd")
|
|
9543
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9544
|
+
(literal "/usr/bin/docker")
|
|
9545
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9546
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9547
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9548
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9549
|
+
(literal "/usr/local/bin/podman")
|
|
9550
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9551
|
+
(literal "/usr/local/bin/colima")
|
|
9552
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9553
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9554
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9555
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9556
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9557
|
+
)
|
|
9558
|
+
(deny mach-lookup
|
|
9559
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9560
|
+
(global-name-prefix "com.docker.")
|
|
9561
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9562
|
+
)
|
|
9563
|
+
(deny ipc-posix-shm*
|
|
9564
|
+
(ipc-posix-name-prefix "docker")
|
|
9565
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9566
|
+
)`,
|
|
9362
9567
|
"strict-proxied": `(version 1)
|
|
9363
9568
|
(deny default)
|
|
9364
9569
|
(allow file-read*
|
|
@@ -9459,7 +9664,48 @@ var BUILTIN_SEATBELT_PROFILE_CONTENTS = {
|
|
|
9459
9664
|
(allow mach-lookup (global-name "com.apple.sysmond"))
|
|
9460
9665
|
(allow file-ioctl (regex #"^/dev/tty.*"))
|
|
9461
9666
|
(allow network-inbound (local ip "localhost:9229"))
|
|
9462
|
-
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9667
|
+
(allow network-outbound (remote tcp "localhost:8877"))
|
|
9668
|
+
(deny file-read* file-write*
|
|
9669
|
+
(literal "/var/run/docker.sock")
|
|
9670
|
+
(literal "/var/run/docker.sock.raw")
|
|
9671
|
+
(literal "/private/var/run/docker.sock")
|
|
9672
|
+
(literal "/private/var/run/docker.sock.raw")
|
|
9673
|
+
(subpath "/var/run/docker")
|
|
9674
|
+
(subpath "/private/var/run/docker")
|
|
9675
|
+
(subpath "/Users/Shared/.docker")
|
|
9676
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/run"))
|
|
9677
|
+
(subpath (string-append (param "HOME_DIR") "/.docker/desktop"))
|
|
9678
|
+
(subpath (string-append (param "HOME_DIR") "/.colima"))
|
|
9679
|
+
(subpath (string-append (param "HOME_DIR") "/.orbstack/run"))
|
|
9680
|
+
(subpath (string-append (param "HOME_DIR") "/.rd"))
|
|
9681
|
+
)
|
|
9682
|
+
(deny process-exec
|
|
9683
|
+
(literal "/usr/local/bin/docker")
|
|
9684
|
+
(literal "/usr/local/bin/dockerd")
|
|
9685
|
+
(literal "/usr/local/bin/docker-compose")
|
|
9686
|
+
(literal "/usr/bin/docker")
|
|
9687
|
+
(literal "/opt/homebrew/bin/docker")
|
|
9688
|
+
(literal "/opt/homebrew/bin/dockerd")
|
|
9689
|
+
(literal "/opt/homebrew/bin/docker-compose")
|
|
9690
|
+
(literal "/opt/homebrew/bin/podman")
|
|
9691
|
+
(literal "/usr/local/bin/podman")
|
|
9692
|
+
(literal "/opt/homebrew/bin/colima")
|
|
9693
|
+
(literal "/usr/local/bin/colima")
|
|
9694
|
+
(literal "/opt/homebrew/bin/orb")
|
|
9695
|
+
(literal "/Applications/Docker.app/Contents/Resources/bin/docker")
|
|
9696
|
+
(subpath "/Applications/Docker.app/Contents/MacOS/")
|
|
9697
|
+
(subpath "/Applications/OrbStack.app/Contents/MacOS/")
|
|
9698
|
+
(subpath "/Applications/Rancher Desktop.app/Contents/MacOS/")
|
|
9699
|
+
)
|
|
9700
|
+
(deny mach-lookup
|
|
9701
|
+
(xpc-service-name-prefix "com.docker.")
|
|
9702
|
+
(global-name-prefix "com.docker.")
|
|
9703
|
+
(global-name-prefix "dev.kdrag0n.OrbStack")
|
|
9704
|
+
)
|
|
9705
|
+
(deny ipc-posix-shm*
|
|
9706
|
+
(ipc-posix-name-prefix "docker")
|
|
9707
|
+
(ipc-posix-name-prefix "com.docker.")
|
|
9708
|
+
)`
|
|
9463
9709
|
};
|
|
9464
9710
|
BUILTIN_SEATBELT_PROFILE_CONTENTS["permissive-closed"] = BUILTIN_SEATBELT_PROFILE_CONTENTS["strict-open"];
|
|
9465
9711
|
BUILTIN_SEATBELT_PROFILE_CONTENTS["restrictive-closed"] = BUILTIN_SEATBELT_PROFILE_CONTENTS["strict-proxied"];
|
|
@@ -10855,7 +11101,7 @@ async function runNonInteractive({
|
|
|
10855
11101
|
}
|
|
10856
11102
|
});
|
|
10857
11103
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10858
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11104
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVSMN6.js");
|
|
10859
11105
|
setupInitialActivityLogger(config);
|
|
10860
11106
|
}
|
|
10861
11107
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -11365,7 +11611,7 @@ async function runNonInteractive2(params) {
|
|
|
11365
11611
|
}
|
|
11366
11612
|
});
|
|
11367
11613
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11368
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11614
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVSMN6.js");
|
|
11369
11615
|
setupInitialActivityLogger(config);
|
|
11370
11616
|
}
|
|
11371
11617
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -16575,7 +16821,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
16575
16821
|
}
|
|
16576
16822
|
}
|
|
16577
16823
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
16578
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
16824
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-N6VXS5Z4.js");
|
|
16579
16825
|
await doStartUI(
|
|
16580
16826
|
config,
|
|
16581
16827
|
settings,
|
|
@@ -16784,7 +17030,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16784
17030
|
await config.storage.initialize();
|
|
16785
17031
|
adminControlsListner.setConfig(config);
|
|
16786
17032
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16787
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17033
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-BUAVSMN6.js");
|
|
16788
17034
|
setupInitialActivityLogger(config);
|
|
16789
17035
|
}
|
|
16790
17036
|
registerTelemetryConfig(config);
|
|
@@ -16843,7 +17089,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16843
17089
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16844
17090
|
const initializationResult = await initializeApp(config, settings);
|
|
16845
17091
|
initAppHandle?.end();
|
|
16846
|
-
import("./liteRtServerManager-
|
|
17092
|
+
import("./liteRtServerManager-QUODN3RR.js").then(({ LiteRtServerManager }) => {
|
|
16847
17093
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16848
17094
|
if (!mergedGemma) return;
|
|
16849
17095
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|