Cole Miller
8697b91ea0
acp: Automatically install gemini under Zed's data dir ( #37054 )
...
Closes: https://github.com/zed-industries/zed/issues/37089
Instead of looking for the gemini command on `$PATH`, by default we'll
install our own copy on demand under our data dir, as we already do for
language servers and debug adapters. This also means we can handle
keeping the binary up to date instead of prompting the user to upgrade.
Notes:
- The download is only triggered if you open a new Gemini thread
- Custom commands from `agent_servers.gemini` in settings are respected
as before
- A new `agent_servers.gemini.ignore_system_version` setting is added,
similar to the existing settings for language servers. It's `true` by
default, and setting it to `false` disables the automatic download and
makes Zed search `$PATH` as before.
- If `agent_servers.gemini.ignore_system_version` is `false` and no
binary is found on `$PATH`, we'll fall back to automatic installation.
If it's `false` and a binary is found, but the version is older than
v0.2.1, we'll show an error.
Release Notes:
- acp: By default, Zed will now download and use a private copy of the
Gemini CLI binary, instead of searching your `$PATH`. To make Zed search
your `$PATH` for Gemini CLI before attempting to download it, use the
following setting:
```
{
"agent_servers": {
"gemini": {
"ignore_system_version": false
}
}
}
```
2025-08-28 19:33:00 +00:00
..
2025-08-28 19:33:00 +00:00
2025-08-25 16:04:44 -06:00
2025-08-20 14:07:37 +02:00
2025-08-20 14:07:37 +02:00
2025-08-26 13:55:09 +00:00
2025-08-28 19:33:00 +00:00
2025-08-28 19:33:00 +00:00
2025-08-20 12:05:58 +02:00
2025-08-28 19:33:00 +00:00
2025-08-25 17:21:20 +00:00
2025-08-28 12:00:44 +00:00
2025-08-19 21:26:17 +02:00
2025-08-13 13:25:52 -06:00
2025-08-20 12:20:13 +02:00
2025-08-27 23:24:19 +00:00
2025-08-28 13:32:30 -06:00
2025-08-27 23:24:19 +00:00
2025-08-28 14:40:43 +00:00
2025-08-21 15:56:16 +02:00
2025-08-19 14:20:01 +00:00
2025-08-20 12:05:58 +02:00
2025-08-20 12:20:13 +02:00
2025-07-22 11:55:24 -04:00
2025-08-19 21:26:17 +02:00
2025-08-27 23:24:19 +00:00
2025-08-22 03:48:47 -04:00
2025-08-27 00:15:39 +00:00
2025-08-20 12:20:13 +02:00
2025-08-20 12:20:13 +02:00
2025-08-28 18:15:08 +00:00
2025-05-04 08:28:39 +00:00
2025-08-22 11:45:47 -04:00
2025-08-07 01:28:41 +00:00
2025-08-11 15:34:34 +02:00
2025-08-28 15:32:44 +03:00
2025-08-28 18:15:08 +00:00
2025-04-02 13:26:34 -07:00
2025-08-26 00:27:52 +00:00
2025-04-02 13:26:34 -07:00
2025-08-20 12:20:13 +02:00
2025-08-22 13:16:42 +00:00
2025-08-28 15:32:15 +00:00
2025-08-21 19:59:42 -04:00
2025-08-19 21:26:17 +02:00
2025-08-20 12:05:58 +02:00
2025-08-28 07:53:32 +00:00
2025-08-26 00:27:52 +00:00
2025-07-06 14:52:16 +02:00
2025-08-20 12:20:13 +02:00
2025-08-28 14:40:43 +00:00
2025-08-28 12:00:44 +00:00
2025-08-23 07:03:36 +00:00
2025-08-27 03:24:50 +08:00
2025-08-22 11:45:47 -04:00
2025-08-22 11:45:47 -04:00
2025-08-28 08:40:43 +00:00
2025-08-20 20:14:30 +02:00
2025-07-10 21:08:43 +02:00
2025-08-19 20:33:44 +00:00
2025-08-20 12:05:58 +02:00
2025-08-16 19:00:31 +00:00
2025-08-27 00:15:39 +00:00
2025-08-20 12:20:13 +02:00
2025-08-26 15:30:26 +02:00
2025-08-21 19:59:42 -04:00
2025-08-27 00:15:39 +00:00
2025-08-19 21:26:17 +02:00
2025-08-28 13:32:30 -06:00
2025-08-19 13:27:24 +00:00
2025-08-06 10:53:20 +02:00
2025-08-20 20:14:30 +02:00
2025-08-19 13:27:24 +00:00
2025-08-26 13:55:09 +00:00
2025-08-20 14:07:37 +02:00
2025-08-28 12:00:44 +00:00
2025-08-28 13:32:30 -06:00
2025-08-20 18:45:40 +00:00
2025-08-21 17:19:57 +00:00
2025-08-19 13:27:24 +00:00
2025-08-20 12:20:13 +02:00
2025-04-02 13:26:34 -07:00
2025-08-28 07:53:32 +00:00
2025-08-26 00:27:52 +00:00
2025-08-24 11:01:42 +00:00
2025-08-18 21:54:35 +00:00
2025-08-19 20:33:44 +00:00
2025-06-18 16:01:28 +05:30
2025-08-20 12:20:13 +02:00
2025-08-28 14:40:43 +00:00
2025-08-18 21:54:35 +00:00
2025-08-27 12:53:07 +00:00
2025-08-28 11:28:22 -04:00
2025-08-19 13:27:24 +00:00
2025-08-28 15:32:44 +03:00
2025-08-28 17:40:48 +02:00
2025-05-20 23:06:07 +00:00
2025-08-21 15:56:16 +02:00
2025-07-25 09:36:43 -04:00
2025-08-27 21:01:36 +05:30
2025-08-26 12:55:40 -03:00
2025-08-20 12:20:13 +02:00
2025-05-20 23:06:07 +00:00
2025-07-02 21:14:33 -04:00
2025-08-20 12:20:13 +02:00
2025-08-28 12:00:44 +00:00
2025-08-24 09:59:32 +03:00
2025-07-17 14:25:55 +00:00
2025-07-08 14:34:57 +00:00
2025-08-19 20:33:44 +00:00
2025-08-19 13:27:24 +00:00
2025-08-06 10:44:15 -04:00
2025-08-26 00:27:52 +00:00
2025-08-28 12:00:44 +00:00
2025-08-28 12:00:44 +00:00
2025-06-27 14:31:31 -06:00
2025-08-27 00:15:39 +00:00
2025-08-20 12:20:13 +02:00
2025-08-28 13:32:30 -06:00
2025-08-20 12:20:13 +02:00
2025-08-19 21:26:17 +02:00
2025-08-28 13:32:30 -06:00
2025-08-27 00:15:39 +00:00
2025-08-20 12:20:13 +02:00
2025-08-20 12:20:13 +02:00
2025-08-28 14:40:43 +00:00
2025-08-27 00:15:39 +00:00
2025-08-19 13:27:24 +00:00
2025-05-23 14:53:53 +00:00
2025-08-28 13:32:30 -06:00
2025-08-28 15:32:44 +03:00
2025-08-20 12:20:13 +02:00
2025-08-20 12:05:58 +02:00
2025-08-19 13:27:24 +00:00
2025-08-20 12:20:13 +02:00
2025-08-21 06:48:04 +00:00
2025-08-28 03:51:22 +00:00
2025-04-02 13:26:34 -07:00
2025-08-27 19:27:02 -06:00
2025-08-20 12:20:13 +02:00
2025-05-20 23:06:07 +00:00
2025-08-19 13:27:24 +00:00
2025-08-28 15:32:44 +03:00
2025-08-20 12:20:13 +02:00
2025-08-28 08:40:43 +00:00
2025-08-19 21:26:17 +02:00
2025-08-19 21:26:17 +02:00
2025-08-19 13:27:24 +00:00
2025-08-26 00:27:52 +00:00
2025-04-02 13:26:34 -07:00
2025-08-20 12:20:13 +02:00
2025-08-19 20:33:44 +00:00
2025-08-18 21:54:35 +00:00
2025-08-19 21:26:17 +02:00
2025-08-20 12:20:13 +02:00
2025-08-19 21:26:17 +02:00
2025-08-19 20:33:44 +00:00
2025-08-21 19:59:42 -04:00
2025-08-27 16:21:28 +00:00
2025-08-28 14:40:43 +00:00
2025-08-20 14:35:59 +00:00
2025-08-19 21:26:17 +02:00
2025-08-15 15:37:52 -04:00
2025-08-28 14:40:43 +00:00
2025-08-28 12:59:31 -06:00
2025-08-19 21:26:17 +02:00
2025-08-20 12:20:13 +02:00
2025-04-02 13:26:34 -07:00
2025-08-20 12:20:13 +02:00
2025-08-08 15:34:36 -03:00
2025-05-06 10:18:48 +00:00
2025-08-28 03:51:22 +00:00
2025-08-21 09:37:45 +00:00
2025-08-28 08:40:43 +00:00
2025-08-20 12:20:13 +02:00
2025-05-23 19:31:25 +00:00
2025-07-30 23:03:53 +05:30
2025-08-28 13:32:30 -06:00
2025-06-13 06:32:29 +00:00
2025-08-15 13:54:24 +03:00
2025-08-27 20:25:00 -05:00
2025-06-18 21:26:12 +00:00
2025-08-25 14:28:11 -04:00
2025-08-20 12:20:13 +02:00
2025-08-19 20:33:44 +00:00
2025-08-28 13:32:30 -06:00
2025-08-28 13:32:30 -06:00
2025-08-26 21:08:45 +00:00
2025-08-28 15:32:44 +03:00
2025-08-26 16:59:12 -03:00
2025-08-22 11:45:47 -04:00
2025-08-20 12:20:13 +02:00
2025-08-20 12:20:13 +02:00
2025-04-23 20:54:09 +00:00