diff --git a/.github/actions/build_docs/action.yml b/.github/actions/build_docs/action.yml
index a7effad247..9a2d7e1ec7 100644
--- a/.github/actions/build_docs/action.yml
+++ b/.github/actions/build_docs/action.yml
@@ -19,7 +19,7 @@ runs:
shell: bash -euxo pipefail {0}
run: ./script/linux
- - name: Check for broken links (in MD)
+ - name: Check for broken links
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
with:
args: --no-progress --exclude '^http' './docs/src/**/*'
@@ -30,9 +30,3 @@ runs:
run: |
mkdir -p target/deploy
mdbook build ./docs --dest-dir=../target/deploy/docs/
-
- - name: Check for broken links (in HTML)
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
- with:
- args: --no-progress --exclude '^http' 'target/deploy/docs/'
- fail: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7dfc33e0d2..a4da5e99ba 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -269,10 +269,6 @@ jobs:
mkdir -p ./../.cargo
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
- - name: Check that Cargo.lock is up to date
- run: |
- cargo update --locked --workspace
-
- name: cargo clippy
run: ./script/clippy
@@ -771,8 +767,7 @@ jobs:
timeout-minutes: 120
name: Create a Windows installer
runs-on: [self-hosted, Windows, X64]
- if: contains(github.event.pull_request.labels.*.name, 'run-bundling')
- # if: (startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling'))
+ if: false && (startsWith(github.ref, 'refs/tags/v') || contains(github.event.pull_request.labels.*.name, 'run-bundling'))
needs: [windows_tests]
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_SIGNING_TENANT_ID }}
diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml
index 4f7506967b..f799133ea7 100644
--- a/.github/workflows/release_nightly.yml
+++ b/.github/workflows/release_nightly.yml
@@ -111,11 +111,6 @@ jobs:
echo "Publishing version: ${version} on release channel nightly"
echo "nightly" > crates/zed/RELEASE_CHANNEL
- - name: Setup Sentry CLI
- uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b #v2
- with:
- token: ${{ SECRETS.SENTRY_AUTH_TOKEN }}
-
- name: Create macOS app bundle
run: script/bundle-mac
@@ -141,11 +136,6 @@ jobs:
- name: Install Linux dependencies
run: ./script/linux && ./script/install-mold 2.34.0
- - name: Setup Sentry CLI
- uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b #v2
- with:
- token: ${{ SECRETS.SENTRY_AUTH_TOKEN }}
-
- name: Limit target directory size
run: script/clear-target-dir-if-larger-than 100
@@ -178,11 +168,6 @@ jobs:
- name: Install Linux dependencies
run: ./script/linux
- - name: Setup Sentry CLI
- uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b #v2
- with:
- token: ${{ SECRETS.SENTRY_AUTH_TOKEN }}
-
- name: Limit target directory size
run: script/clear-target-dir-if-larger-than 100
@@ -277,11 +262,6 @@ jobs:
Write-Host "Publishing version: $version on release channel nightly"
"nightly" | Set-Content -Path "crates/zed/RELEASE_CHANNEL"
- - name: Setup Sentry CLI
- uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b #v2
- with:
- token: ${{ SECRETS.SENTRY_AUTH_TOKEN }}
-
- name: Build Zed installer
working-directory: ${{ env.ZED_WORKSPACE }}
run: script/bundle-windows.ps1
diff --git a/Cargo.lock b/Cargo.lock
index 2a89b8c6ee..1245e113d2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -6,7 +6,6 @@ version = 4
name = "acp_thread"
version = "0.1.0"
dependencies = [
- "agent-client-protocol",
"agentic-coding-protocol",
"anyhow",
"assistant_tool",
@@ -90,7 +89,6 @@ dependencies = [
"assistant_tools",
"chrono",
"client",
- "cloud_llm_client",
"collections",
"component",
"context_server",
@@ -133,26 +131,15 @@ dependencies = [
"uuid",
"workspace",
"workspace-hack",
+ "zed_llm_client",
"zstd",
]
-[[package]]
-name = "agent-client-protocol"
-version = "0.0.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72ec54650c1fc2d63498bab47eeeaa9eddc7d239d53f615b797a0e84f7ccc87b"
-dependencies = [
- "schemars",
- "serde",
- "serde_json",
-]
-
[[package]]
name = "agent_servers"
version = "0.1.0"
dependencies = [
"acp_thread",
- "agent-client-protocol",
"agentic-coding-protocol",
"anyhow",
"collections",
@@ -168,7 +155,6 @@ dependencies = [
"nix 0.29.0",
"paths",
"project",
- "rand 0.8.5",
"schemars",
"serde",
"serde_json",
@@ -189,7 +175,6 @@ name = "agent_settings"
version = "0.1.0"
dependencies = [
"anyhow",
- "cloud_llm_client",
"collections",
"fs",
"gpui",
@@ -201,6 +186,7 @@ dependencies = [
"serde_json_lenient",
"settings",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -209,9 +195,9 @@ version = "0.1.0"
dependencies = [
"acp_thread",
"agent",
- "agent-client-protocol",
"agent_servers",
"agent_settings",
+ "agentic-coding-protocol",
"ai_onboarding",
"anyhow",
"assistant_context",
@@ -223,7 +209,6 @@ dependencies = [
"buffer_diff",
"chrono",
"client",
- "cloud_llm_client",
"collections",
"command_palette_hooks",
"component",
@@ -295,6 +280,7 @@ dependencies = [
"workspace",
"workspace-hack",
"zed_actions",
+ "zed_llm_client",
]
[[package]]
@@ -687,7 +673,6 @@ dependencies = [
"chrono",
"client",
"clock",
- "cloud_llm_client",
"collections",
"context_server",
"fs",
@@ -721,6 +706,7 @@ dependencies = [
"uuid",
"workspace",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -828,7 +814,6 @@ dependencies = [
"chrono",
"client",
"clock",
- "cloud_llm_client",
"collections",
"component",
"derive_more 0.99.19",
@@ -882,6 +867,7 @@ dependencies = [
"which 6.0.3",
"workspace",
"workspace-hack",
+ "zed_llm_client",
"zlog",
]
@@ -2976,8 +2962,6 @@ dependencies = [
"base64 0.22.1",
"chrono",
"clock",
- "cloud_api_client",
- "cloud_llm_client",
"cocoa 0.26.0",
"collections",
"credentials_provider",
@@ -3020,6 +3004,7 @@ dependencies = [
"windows 0.61.1",
"workspace-hack",
"worktree",
+ "zed_llm_client",
]
[[package]]
@@ -3032,44 +3017,6 @@ dependencies = [
"workspace-hack",
]
-[[package]]
-name = "cloud_api_client"
-version = "0.1.0"
-dependencies = [
- "anyhow",
- "cloud_api_types",
- "futures 0.3.31",
- "http_client",
- "parking_lot",
- "serde_json",
- "workspace-hack",
-]
-
-[[package]]
-name = "cloud_api_types"
-version = "0.1.0"
-dependencies = [
- "chrono",
- "cloud_llm_client",
- "pretty_assertions",
- "serde",
- "serde_json",
- "workspace-hack",
-]
-
-[[package]]
-name = "cloud_llm_client"
-version = "0.1.0"
-dependencies = [
- "anyhow",
- "pretty_assertions",
- "serde",
- "serde_json",
- "strum 0.27.1",
- "uuid",
- "workspace-hack",
-]
-
[[package]]
name = "clru"
version = "0.6.2"
@@ -3196,7 +3143,6 @@ dependencies = [
"chrono",
"client",
"clock",
- "cloud_llm_client",
"collab_ui",
"collections",
"command_palette_hooks",
@@ -3283,6 +3229,7 @@ dependencies = [
"workspace",
"workspace-hack",
"worktree",
+ "zed_llm_client",
"zlog",
]
@@ -3723,6 +3670,17 @@ dependencies = [
"libm",
]
+[[package]]
+name = "coreaudio-rs"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "321077172d79c662f64f5071a03120748d5bb652f5231570141be24cfcd2bace"
+dependencies = [
+ "bitflags 1.3.2",
+ "core-foundation-sys",
+ "coreaudio-sys",
+]
+
[[package]]
name = "coreaudio-rs"
version = "0.12.1"
@@ -3780,6 +3738,29 @@ dependencies = [
"unicode-segmentation",
]
+[[package]]
+name = "cpal"
+version = "0.15.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "873dab07c8f743075e57f524c583985fbaf745602acbe916a01539364369a779"
+dependencies = [
+ "alsa",
+ "core-foundation-sys",
+ "coreaudio-rs 0.11.3",
+ "dasp_sample",
+ "jni",
+ "js-sys",
+ "libc",
+ "mach2",
+ "ndk 0.8.0",
+ "ndk-context",
+ "oboe",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+ "windows 0.54.0",
+]
+
[[package]]
name = "cpal"
version = "0.16.0"
@@ -3793,7 +3774,7 @@ dependencies = [
"js-sys",
"libc",
"mach2",
- "ndk",
+ "ndk 0.9.0",
"ndk-context",
"num-derive",
"num-traits",
@@ -4263,7 +4244,7 @@ dependencies = [
[[package]]
name = "dap-types"
version = "0.0.1"
-source = "git+https://github.com/zed-industries/dap-types?rev=1b461b310481d01e02b2603c16d7144b926339f8#1b461b310481d01e02b2603c16d7144b926339f8"
+source = "git+https://github.com/zed-industries/dap-types?rev=7f39295b441614ca9dbf44293e53c32f666897f9#7f39295b441614ca9dbf44293e53c32f666897f9"
dependencies = [
"schemars",
"serde",
@@ -4295,6 +4276,41 @@ dependencies = [
"workspace-hack",
]
+[[package]]
+name = "darling"
+version = "0.20.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee"
+dependencies = [
+ "darling_core",
+ "darling_macro",
+]
+
+[[package]]
+name = "darling_core"
+version = "0.20.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e"
+dependencies = [
+ "fnv",
+ "ident_case",
+ "proc-macro2",
+ "quote",
+ "strsim",
+ "syn 2.0.101",
+]
+
+[[package]]
+name = "darling_macro"
+version = "0.20.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead"
+dependencies = [
+ "darling_core",
+ "quote",
+ "syn 2.0.101",
+]
+
[[package]]
name = "dashmap"
version = "5.5.3"
@@ -4510,6 +4526,37 @@ dependencies = [
"serde",
]
+[[package]]
+name = "derive_builder"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947"
+dependencies = [
+ "derive_builder_macro",
+]
+
+[[package]]
+name = "derive_builder_core"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8"
+dependencies = [
+ "darling",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.101",
+]
+
+[[package]]
+name = "derive_builder_macro"
+version = "0.20.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c"
+dependencies = [
+ "derive_builder_core",
+ "syn 2.0.101",
+]
+
[[package]]
name = "derive_more"
version = "0.99.19"
@@ -4731,6 +4778,7 @@ name = "docs_preprocessor"
version = "0.1.0"
dependencies = [
"anyhow",
+ "clap",
"command_palette",
"gpui",
"mdbook",
@@ -4741,7 +4789,6 @@ dependencies = [
"util",
"workspace-hack",
"zed",
- "zlog",
]
[[package]]
@@ -4919,7 +4966,6 @@ dependencies = [
"text",
"theme",
"time",
- "tree-sitter-bash",
"tree-sitter-html",
"tree-sitter-python",
"tree-sitter-rust",
@@ -5202,7 +5248,6 @@ dependencies = [
"chrono",
"clap",
"client",
- "cloud_llm_client",
"collections",
"debug_adapter_extension",
"dirs 4.0.0",
@@ -5242,6 +5287,7 @@ dependencies = [
"uuid",
"watch",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -5306,12 +5352,6 @@ dependencies = [
"zune-inflate",
]
-[[package]]
-name = "extended"
-version = "0.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af9673d8203fcb076b19dfd17e38b3d4ae9f44959416ea532ce72415a6020365"
-
[[package]]
name = "extension"
version = "0.1.0"
@@ -5331,13 +5371,11 @@ dependencies = [
"log",
"lsp",
"parking_lot",
- "pretty_assertions",
"semantic_version",
"serde",
"serde_json",
"task",
"toml 0.8.20",
- "url",
"util",
"wasm-encoder 0.221.3",
"wasmparser 0.221.3",
@@ -5888,7 +5926,7 @@ dependencies = [
"ignore",
"libc",
"log",
- "notify 8.0.0",
+ "notify",
"objc",
"parking_lot",
"paths",
@@ -6323,7 +6361,6 @@ dependencies = [
"call",
"chrono",
"client",
- "cloud_llm_client",
"collections",
"command_palette_hooks",
"component",
@@ -6366,6 +6403,7 @@ dependencies = [
"workspace",
"workspace-hack",
"zed_actions",
+ "zed_llm_client",
"zlog",
]
@@ -7364,9 +7402,9 @@ dependencies = [
[[package]]
name = "grid"
-version = "0.17.0"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "71b01d27060ad58be4663b9e4ac9e2d4806918e8876af8912afbddd1a91d5eaa"
+checksum = "be136d9dacc2a13cc70bb6c8f902b414fb2641f8db1314637c6b7933411a8f82"
[[package]]
name = "group"
@@ -7445,16 +7483,18 @@ dependencies = [
[[package]]
name = "handlebars"
-version = "5.1.2"
+version = "6.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b"
+checksum = "759e2d5aea3287cb1190c8ec394f42866cb5bf74fcbf213f354e3c856ea26098"
dependencies = [
+ "derive_builder",
"log",
+ "num-order",
"pest",
"pest_derive",
"serde",
"serde_json",
- "thiserror 1.0.69",
+ "thiserror 2.0.12",
]
[[package]]
@@ -7679,6 +7719,12 @@ dependencies = [
"windows-sys 0.59.0",
]
+[[package]]
+name = "hound"
+version = "3.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "62adaabb884c94955b19907d60019f4e145d091c75345379e70d1ee696f7854f"
+
[[package]]
name = "html5ever"
version = "0.27.0"
@@ -8119,6 +8165,12 @@ version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"
+[[package]]
+name = "ident_case"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
+
[[package]]
name = "idna"
version = "1.0.3"
@@ -8311,7 +8363,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"client",
- "cloud_llm_client",
"copilot",
"editor",
"feature_flags",
@@ -8334,20 +8385,10 @@ dependencies = [
"workspace",
"workspace-hack",
"zed_actions",
+ "zed_llm_client",
"zeta",
]
-[[package]]
-name = "inotify"
-version = "0.9.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
-dependencies = [
- "bitflags 1.3.2",
- "inotify-sys",
- "libc",
-]
-
[[package]]
name = "inotify"
version = "0.11.0"
@@ -8501,7 +8542,7 @@ dependencies = [
"fnv",
"lazy_static",
"libc",
- "mio 1.0.3",
+ "mio",
"rand 0.8.5",
"serde",
"tempfile",
@@ -9026,7 +9067,6 @@ dependencies = [
"anyhow",
"base64 0.22.1",
"client",
- "cloud_llm_client",
"collections",
"futures 0.3.31",
"gpui",
@@ -9044,6 +9084,7 @@ dependencies = [
"thiserror 2.0.12",
"util",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -9059,7 +9100,6 @@ dependencies = [
"bedrock",
"chrono",
"client",
- "cloud_llm_client",
"collections",
"component",
"convert_case 0.8.0",
@@ -9101,6 +9141,7 @@ dependencies = [
"vercel",
"workspace-hack",
"x_ai",
+ "zed_llm_client",
]
[[package]]
@@ -9162,7 +9203,6 @@ dependencies = [
"chrono",
"collections",
"dap",
- "feature_flags",
"futures 0.3.31",
"gpui",
"http_client",
@@ -9355,7 +9395,7 @@ dependencies = [
[[package]]
name = "libwebrtc"
version = "0.3.10"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"cxx",
"jni",
@@ -9435,7 +9475,7 @@ checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856"
[[package]]
name = "livekit"
version = "0.7.8"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"chrono",
"futures-util",
@@ -9458,7 +9498,7 @@ dependencies = [
[[package]]
name = "livekit-api"
version = "0.4.2"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"futures-util",
"http 0.2.12",
@@ -9482,7 +9522,7 @@ dependencies = [
[[package]]
name = "livekit-protocol"
version = "0.3.9"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"futures-util",
"livekit-runtime",
@@ -9499,7 +9539,7 @@ dependencies = [
[[package]]
name = "livekit-runtime"
version = "0.4.0"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"tokio",
"tokio-stream",
@@ -9531,7 +9571,7 @@ dependencies = [
"core-foundation 0.10.0",
"core-video",
"coreaudio-rs 0.12.1",
- "cpal",
+ "cpal 0.16.0",
"futures 0.3.31",
"gpui",
"gpui_tokio",
@@ -9941,9 +9981,9 @@ dependencies = [
[[package]]
name = "mdbook"
-version = "0.4.40"
+version = "0.4.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b45a38e19bd200220ef07c892b0157ad3d2365e5b5a267ca01ad12182491eea5"
+checksum = "8b6fbb4ac2d9fd7aa987c3510309ea3c80004a968d063c42f0d34fea070817c1"
dependencies = [
"ammonia",
"anyhow",
@@ -9953,11 +9993,12 @@ dependencies = [
"elasticlunr-rs",
"env_logger 0.11.8",
"futures-util",
- "handlebars 5.1.2",
+ "handlebars 6.3.2",
+ "hex",
"ignore",
"log",
"memchr",
- "notify 6.1.1",
+ "notify",
"notify-debouncer-mini",
"once_cell",
"opener",
@@ -9966,6 +10007,7 @@ dependencies = [
"regex",
"serde",
"serde_json",
+ "sha2",
"shlex",
"tempfile",
"tokio",
@@ -10108,18 +10150,6 @@ version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e53debba6bda7a793e5f99b8dacf19e626084f525f7829104ba9898f367d85ff"
-[[package]]
-name = "mio"
-version = "0.8.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
-dependencies = [
- "libc",
- "log",
- "wasi 0.11.0+wasi-snapshot-preview1",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "mio"
version = "1.0.3"
@@ -10312,6 +10342,20 @@ dependencies = [
"workspace-hack",
]
+[[package]]
+name = "ndk"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7"
+dependencies = [
+ "bitflags 2.9.0",
+ "jni-sys",
+ "log",
+ "ndk-sys 0.5.0+25.2.9519653",
+ "num_enum",
+ "thiserror 1.0.69",
+]
+
[[package]]
name = "ndk"
version = "0.9.0"
@@ -10321,7 +10365,7 @@ dependencies = [
"bitflags 2.9.0",
"jni-sys",
"log",
- "ndk-sys",
+ "ndk-sys 0.6.0+11769913",
"num_enum",
"thiserror 1.0.69",
]
@@ -10332,6 +10376,15 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
+[[package]]
+name = "ndk-sys"
+version = "0.5.0+25.2.9519653"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691"
+dependencies = [
+ "jni-sys",
+]
+
[[package]]
name = "ndk-sys"
version = "0.6.0+11769913"
@@ -10466,25 +10519,6 @@ dependencies = [
"zed_actions",
]
-[[package]]
-name = "notify"
-version = "6.1.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d"
-dependencies = [
- "bitflags 2.9.0",
- "crossbeam-channel",
- "filetime",
- "fsevent-sys 4.1.0",
- "inotify 0.9.6",
- "kqueue",
- "libc",
- "log",
- "mio 0.8.11",
- "walkdir",
- "windows-sys 0.48.0",
-]
-
[[package]]
name = "notify"
version = "8.0.0"
@@ -10493,11 +10527,11 @@ dependencies = [
"bitflags 2.9.0",
"filetime",
"fsevent-sys 4.1.0",
- "inotify 0.11.0",
+ "inotify",
"kqueue",
"libc",
"log",
- "mio 1.0.3",
+ "mio",
"notify-types",
"walkdir",
"windows-sys 0.59.0",
@@ -10505,13 +10539,14 @@ dependencies = [
[[package]]
name = "notify-debouncer-mini"
-version = "0.4.1"
+version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d40b221972a1fc5ef4d858a2f671fb34c75983eb385463dff3780eeff6a9d43"
+checksum = "a689eb4262184d9a1727f9087cd03883ea716682ab03ed24efec57d7716dccb8"
dependencies = [
- "crossbeam-channel",
"log",
- "notify 6.1.1",
+ "notify",
+ "notify-types",
+ "tempfile",
]
[[package]]
@@ -10651,6 +10686,21 @@ dependencies = [
"num-traits",
]
+[[package]]
+name = "num-modular"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17bb261bf36fa7d83f4c294f834e91256769097b3cb505d44831e0a179ac647f"
+
+[[package]]
+name = "num-order"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "537b596b97c40fcf8056d153049eb22f481c17ebce72a513ec9286e4986d1bb6"
+dependencies = [
+ "num-modular",
+]
+
[[package]]
name = "num-rational"
version = "0.4.2"
@@ -10904,6 +10954,29 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "oboe"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e8b61bebd49e5d43f5f8cc7ee2891c16e0f41ec7954d36bcb6c14c5e0de867fb"
+dependencies = [
+ "jni",
+ "ndk 0.8.0",
+ "ndk-context",
+ "num-derive",
+ "num-traits",
+ "oboe-sys",
+]
+
+[[package]]
+name = "oboe-sys"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c8bb09a4a2b1d668170cfe0a7d5bc103f8999fb316c98099b6a9939c9f2e79d"
+dependencies = [
+ "cc",
+]
+
[[package]]
name = "ollama"
version = "0.1.0"
@@ -10924,22 +10997,14 @@ dependencies = [
"anyhow",
"command_palette_hooks",
"db",
- "editor",
"feature_flags",
"fs",
"gpui",
- "language",
- "project",
- "schemars",
- "serde",
"settings",
"theme",
"ui",
- "util",
"workspace",
"workspace-hack",
- "zed_actions",
- "zlog",
]
[[package]]
@@ -13690,15 +13755,12 @@ dependencies = [
[[package]]
name = "rodio"
-version = "0.21.1"
+version = "0.20.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e40ecf59e742e03336be6a3d53755e789fd05a059fa22dfa0ed624722319e183"
+checksum = "e7ceb6607dd738c99bc8cb28eff249b7cd5c8ec88b9db96c0608c1480d140fb1"
dependencies = [
- "cpal",
- "dasp_sample",
- "num-rational",
- "symphonia",
- "tracing",
+ "cpal 0.15.3",
+ "hound",
]
[[package]]
@@ -14703,27 +14765,6 @@ dependencies = [
"zlog",
]
-[[package]]
-name = "settings_profile_selector"
-version = "0.1.0"
-dependencies = [
- "client",
- "editor",
- "fuzzy",
- "gpui",
- "language",
- "menu",
- "picker",
- "project",
- "serde_json",
- "settings",
- "theme",
- "ui",
- "workspace",
- "workspace-hack",
- "zed_actions",
-]
-
[[package]]
name = "settings_ui"
version = "0.1.0"
@@ -14746,6 +14787,7 @@ dependencies = [
"notifications",
"paths",
"project",
+ "schemars",
"search",
"serde",
"serde_json",
@@ -15739,66 +15781,6 @@ dependencies = [
"zeno",
]
-[[package]]
-name = "symphonia"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "815c942ae7ee74737bb00f965fa5b5a2ac2ce7b6c01c0cc169bbeaf7abd5f5a9"
-dependencies = [
- "lazy_static",
- "symphonia-codec-pcm",
- "symphonia-core",
- "symphonia-format-riff",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "symphonia-codec-pcm"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f395a67057c2ebc5e84d7bb1be71cce1a7ba99f64e0f0f0e303a03f79116f89b"
-dependencies = [
- "log",
- "symphonia-core",
-]
-
-[[package]]
-name = "symphonia-core"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "798306779e3dc7d5231bd5691f5a813496dc79d3f56bf82e25789f2094e022c3"
-dependencies = [
- "arrayvec",
- "bitflags 1.3.2",
- "bytemuck",
- "lazy_static",
- "log",
-]
-
-[[package]]
-name = "symphonia-format-riff"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "05f7be232f962f937f4b7115cbe62c330929345434c834359425e043bfd15f50"
-dependencies = [
- "extended",
- "log",
- "symphonia-core",
- "symphonia-metadata",
-]
-
-[[package]]
-name = "symphonia-metadata"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bc622b9841a10089c5b18e99eb904f4341615d5aa55bbf4eedde1be721a4023c"
-dependencies = [
- "encoding_rs",
- "lazy_static",
- "log",
- "symphonia-core",
-]
-
[[package]]
name = "syn"
version = "1.0.109"
@@ -15979,12 +15961,13 @@ dependencies = [
[[package]]
name = "taffy"
-version = "0.8.3"
+version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7aaef0ac998e6527d6d0d5582f7e43953bb17221ac75bb8eb2fcc2db3396db1c"
+checksum = "e8b61630cba2afd2c851821add2e1bb1b7851a2436e839ab73b56558b009035e"
dependencies = [
"arrayvec",
"grid",
+ "num-traits",
"serde",
"slotmap",
]
@@ -16531,7 +16514,6 @@ dependencies = [
"call",
"chrono",
"client",
- "cloud_llm_client",
"collections",
"db",
"gpui",
@@ -16567,7 +16549,7 @@ dependencies = [
"backtrace",
"bytes 1.10.1",
"libc",
- "mio 1.0.3",
+ "mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
@@ -18500,11 +18482,11 @@ name = "web_search"
version = "0.1.0"
dependencies = [
"anyhow",
- "cloud_llm_client",
"collections",
"gpui",
"serde",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -18513,7 +18495,6 @@ version = "0.1.0"
dependencies = [
"anyhow",
"client",
- "cloud_llm_client",
"futures 0.3.31",
"gpui",
"http_client",
@@ -18522,6 +18503,7 @@ dependencies = [
"serde_json",
"web_search",
"workspace-hack",
+ "zed_llm_client",
]
[[package]]
@@ -18545,7 +18527,7 @@ dependencies = [
[[package]]
name = "webrtc-sys"
version = "0.3.7"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"cc",
"cxx",
@@ -18558,7 +18540,7 @@ dependencies = [
[[package]]
name = "webrtc-sys-build"
version = "0.3.6"
-source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=5f04705ac3f356350ae31534ffbc476abc9ea83d#5f04705ac3f356350ae31534ffbc476abc9ea83d"
+source = "git+https://github.com/zed-industries/livekit-rust-sdks?rev=d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4#d2eade7a6b15d6dbdb38ba12a1ff7bf07fcebba4"
dependencies = [
"fs2",
"regex",
@@ -19685,12 +19667,14 @@ dependencies = [
"cc",
"chrono",
"cipher",
+ "clang-sys",
"clap",
"clap_builder",
"codespan-reporting 0.12.0",
"concurrent-queue",
"core-foundation 0.9.4",
"core-foundation-sys",
+ "coreaudio-sys",
"cranelift-codegen",
"crc32fast",
"crossbeam-epoch",
@@ -19742,7 +19726,7 @@ dependencies = [
"md-5",
"memchr",
"miniz_oxide",
- "mio 1.0.3",
+ "mio",
"naga",
"nix 0.29.0",
"nom",
@@ -20186,7 +20170,7 @@ dependencies = [
[[package]]
name = "zed"
-version = "0.199.0"
+version = "0.197.3"
dependencies = [
"activity_indicator",
"agent",
@@ -20227,7 +20211,6 @@ dependencies = [
"extension",
"extension_host",
"extensions_ui",
- "feature_flags",
"feedback",
"file_finder",
"fs",
@@ -20289,7 +20272,6 @@ dependencies = [
"serde_json",
"session",
"settings",
- "settings_profile_selector",
"settings_ui",
"shellexpand 2.1.2",
"smol",
@@ -20348,7 +20330,7 @@ dependencies = [
[[package]]
name = "zed_emmet"
-version = "0.0.4"
+version = "0.0.3"
dependencies = [
"zed_extension_api 0.1.0",
]
@@ -20387,6 +20369,19 @@ dependencies = [
"zed_extension_api 0.1.0",
]
+[[package]]
+name = "zed_llm_client"
+version = "0.8.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6607f74dee2a18a9ce0f091844944a0e59881359ab62e0768fb0618f55d4c1dc"
+dependencies = [
+ "anyhow",
+ "serde",
+ "serde_json",
+ "strum 0.27.1",
+ "uuid",
+]
+
[[package]]
name = "zed_proto"
version = "0.2.2"
@@ -20566,7 +20561,6 @@ dependencies = [
"call",
"client",
"clock",
- "cloud_llm_client",
"collections",
"command_palette_hooks",
"copilot",
@@ -20608,6 +20602,7 @@ dependencies = [
"workspace-hack",
"worktree",
"zed_actions",
+ "zed_llm_client",
"zlog",
]
diff --git a/Cargo.toml b/Cargo.toml
index 9a05d89e53..ec793a7429 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,13 +1,13 @@
[workspace]
resolver = "2"
members = [
- "crates/acp_thread",
"crates/activity_indicator",
- "crates/agent",
- "crates/agent_servers",
- "crates/agent_settings",
+ "crates/acp_thread",
"crates/agent_ui",
+ "crates/agent",
+ "crates/agent_settings",
"crates/ai_onboarding",
+ "crates/agent_servers",
"crates/anthropic",
"crates/askpass",
"crates/assets",
@@ -29,9 +29,6 @@ members = [
"crates/cli",
"crates/client",
"crates/clock",
- "crates/cloud_api_client",
- "crates/cloud_api_types",
- "crates/cloud_llm_client",
"crates/collab",
"crates/collab_ui",
"crates/collections",
@@ -51,8 +48,8 @@ members = [
"crates/diagnostics",
"crates/docs_preprocessor",
"crates/editor",
- "crates/eval",
"crates/explorer_command_injector",
+ "crates/eval",
"crates/extension",
"crates/extension_api",
"crates/extension_cli",
@@ -73,6 +70,7 @@ members = [
"crates/gpui",
"crates/gpui_macros",
"crates/gpui_tokio",
+
"crates/html_to_markdown",
"crates/http_client",
"crates/http_client_tls",
@@ -101,6 +99,7 @@ members = [
"crates/markdown_preview",
"crates/media",
"crates/menu",
+ "crates/svg_preview",
"crates/migrator",
"crates/mistral",
"crates/multi_buffer",
@@ -141,7 +140,6 @@ members = [
"crates/semantic_version",
"crates/session",
"crates/settings",
- "crates/settings_profile_selector",
"crates/settings_ui",
"crates/snippet",
"crates/snippet_provider",
@@ -154,7 +152,6 @@ members = [
"crates/sum_tree",
"crates/supermaven",
"crates/supermaven_api",
- "crates/svg_preview",
"crates/tab_switcher",
"crates/task",
"crates/tasks_ui",
@@ -254,9 +251,6 @@ channel = { path = "crates/channel" }
cli = { path = "crates/cli" }
client = { path = "crates/client" }
clock = { path = "crates/clock" }
-cloud_api_client = { path = "crates/cloud_api_client" }
-cloud_api_types = { path = "crates/cloud_api_types" }
-cloud_llm_client = { path = "crates/cloud_llm_client" }
collab = { path = "crates/collab" }
collab_ui = { path = "crates/collab_ui" }
collections = { path = "crates/collections" }
@@ -343,7 +337,6 @@ picker = { path = "crates/picker" }
plugin = { path = "crates/plugin" }
plugin_macros = { path = "crates/plugin_macros" }
prettier = { path = "crates/prettier" }
-settings_profile_selector = { path = "crates/settings_profile_selector" }
project = { path = "crates/project" }
project_panel = { path = "crates/project_panel" }
project_symbols = { path = "crates/project_symbols" }
@@ -420,7 +413,6 @@ zlog_settings = { path = "crates/zlog_settings" }
#
agentic-coding-protocol = "0.0.10"
-agent-client-protocol = "0.0.11"
aho-corasick = "1.1"
alacritty_terminal = { git = "https://github.com/zed-industries/alacritty.git", branch = "add-hush-login-flag" }
any_vec = "0.14"
@@ -467,7 +459,7 @@ core-video = { version = "0.4.3", features = ["metal"] }
cpal = "0.16"
criterion = { version = "0.5", features = ["html_reports"] }
ctor = "0.4.0"
-dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "1b461b310481d01e02b2603c16d7144b926339f8" }
+dap-types = { git = "https://github.com/zed-industries/dap-types", rev = "7f39295b441614ca9dbf44293e53c32f666897f9" }
dashmap = "6.0"
derive_more = "0.99.17"
dirs = "4.0"
@@ -652,6 +644,7 @@ which = "6.0.0"
windows-core = "0.61"
wit-component = "0.221"
workspace-hack = "0.1.0"
+zed_llm_client = "= 0.8.6"
zstd = "0.11"
[workspace.dependencies.async-stripe]
@@ -680,13 +673,8 @@ features = [
"Win32_Globalization",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct2D_Common",
- "Win32_Graphics_Direct3D",
- "Win32_Graphics_Direct3D11",
- "Win32_Graphics_Direct3D_Fxc",
- "Win32_Graphics_DirectComposition",
"Win32_Graphics_DirectWrite",
"Win32_Graphics_Dwm",
- "Win32_Graphics_Dxgi",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Gdi",
"Win32_Graphics_Imaging",
@@ -731,11 +719,6 @@ workspace-hack = { path = "tooling/workspace-hack" }
split-debuginfo = "unpacked"
codegen-units = 16
-# mirror configuration for crates compiled for the build platform
-# (without this cargo will compile ~400 crates twice)
-[profile.dev.build-override]
-codegen-units = 16
-
[profile.dev.package]
taffy = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
diff --git a/README.md b/README.md
index 38547c1ca4..4c794efc3d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
# Zed
-[](https://zed.dev)
[](https://github.com/zed-industries/zed/actions/workflows/ci.yml)
Welcome to Zed, a high-performance, multiplayer code editor from the creators of [Atom](https://github.com/atom/atom) and [Tree-sitter](https://github.com/tree-sitter/tree-sitter).
diff --git a/assets/badge/v0.json b/assets/badge/v0.json
deleted file mode 100644
index c7d18bb42b..0000000000
--- a/assets/badge/v0.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "label": "",
- "message": "Zed",
- "logoSvg": "",
- "logoWidth": 16,
- "labelColor": "black",
- "color": "white"
-}
diff --git a/assets/icons/audio_off.svg b/assets/icons/audio_off.svg
index dfb5a1c458..93b98471ca 100644
--- a/assets/icons/audio_off.svg
+++ b/assets/icons/audio_off.svg
@@ -1,7 +1 @@
-
+
diff --git a/assets/icons/audio_on.svg b/assets/icons/audio_on.svg
index d1bef0d337..42310ea32c 100644
--- a/assets/icons/audio_on.svg
+++ b/assets/icons/audio_on.svg
@@ -1,5 +1 @@
-
+
diff --git a/assets/icons/cloud_download.svg b/assets/icons/cloud_download.svg
deleted file mode 100644
index bc7a8376d1..0000000000
--- a/assets/icons/cloud_download.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/assets/icons/exit.svg b/assets/icons/exit.svg
index 1ff9d78824..2cc6ce120d 100644
--- a/assets/icons/exit.svg
+++ b/assets/icons/exit.svg
@@ -1,5 +1,8 @@
-