forked from warpdotdev/warp
-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathCargo.toml
More file actions
559 lines (537 loc) · 20.6 KB
/
Copy pathCargo.toml
File metadata and controls
559 lines (537 loc) · 20.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
[workspace]
members = [
"crates/*",
"app",
]
resolver = "2"
# Include all members except serve-wasm (since it's a helper helper for serving
# wasm binaries and not something we want to regularly compile or run
# tests against) and integration (since it is only used for testing).
default-members = [
"app",
"crates/channel_versions",
"crates/command",
"crates/editor",
"crates/markdown_parser",
"crates/sum_tree",
"crates/warpui",
"crates/warp_completer",
"crates/warp_terminal",
"crates/warp_util",
]
[workspace.package]
authors = ["Warp Team <dev@warp.dev>"]
license = "AGPL-3.0-only"
publish = false
[workspace.dependencies]
# Local workspace crates. This lets us reference them in other crates without specifying a path.
ai = { path = "crates/ai" }
app-installation-detection = { path = "crates/app-installation-detection" }
asset_cache = { path = "crates/asset_cache" }
asset_macro = { path = "crates/asset_macro" }
channel_versions = { path = "crates/channel_versions", default-features = false }
command = { path = "crates/command" }
command-signatures-v2 = { path = "crates/command-signatures-v2" }
computer_use = { path = "crates/computer_use" }
field_mask = { path = "crates/field_mask" }
fuzzy_match = { path = "crates/fuzzy_match" }
handlebars = { path = "crates/handlebars" }
http_client = { path = "crates/http_client" }
http_server = { path = "crates/http_server" }
input_classifier = { path = "crates/input_classifier" }
integration = { path = "crates/integration" }
ipc = { path = "crates/ipc" }
jsonrpc = { path = "crates/jsonrpc" }
languages = { path = "crates/languages" }
markdown_parser = { path = "crates/markdown_parser" }
natural_language_detection = { path = "crates/natural_language_detection" }
node_runtime = { path = "crates/node_runtime" }
onboarding = { path = "crates/onboarding" }
persistence = { path = "crates/persistence" }
prevent_sleep = { path = "crates/prevent_sleep" }
repo_metadata = { path = "crates/repo_metadata" }
settings = { path = "crates/settings" }
settings_value = { path = "crates/settings_value", default-features = false }
settings_value_derive = { path = "crates/settings_value_derive" }
simple_logger = { path = "crates/simple_logger" }
string-offset = { path = "crates/string-offset" }
sum_tree = { path = "crates/sum_tree" }
syntax_tree = { path = "crates/syntax_tree" }
ui_components = { path = "crates/ui_components" }
vim = { path = "crates/vim" }
virtual-fs = { path = "crates/virtual_fs" }
voice_input = { path = "crates/voice_input" }
warp = { path = "app" }
warp_cli = { path = "crates/warp_cli" }
warp_completer = { path = "crates/warp_completer" }
warp_core = { path = "crates/warp_core" }
warp_editor = { path = "crates/editor" }
warp_features = { path = "crates/warp_features" }
remote_server = { path = "crates/remote_server" }
warp_files = { path = "crates/warp_files" }
warp_isolation_platform = { path = "crates/isolation_platform" }
warp_js = { path = "crates/warp_js" }
warp_logging = { path = "crates/warp_logging" }
warp_managed_secrets = { path = "crates/managed_secrets" }
warp_ripgrep = { path = "crates/warp_ripgrep" }
warp_ssh_manager = { path = "crates/warp_ssh_manager" }
warp_terminal = { path = "crates/warp_terminal" }
warp_util = { path = "crates/warp_util" }
zap_sync = { path = "crates/zap_sync" }
warp_web_event_bus = { path = "crates/warp_web_event_bus" }
warpui = { path = "crates/warpui" }
warpui_core = { path = "crates/warpui_core" }
warpui_extras = { path = "crates/warpui_extras", default-features = false }
watcher = { path = "crates/watcher" }
websocket = { path = "crates/websocket" }
# Workspace-level dependencies used by multiple crates. Prefer adding dependencies
# here to copying-and-pasting versions.
axum = "0.8.4"
anyhow = "1.0"
arboard = { version = "3.6.1", default-features = false }
arrayvec = "0.7.4"
async-broadcast = "0.7.2"
ashpd = { version = "0.11", default-features = false, features = ["async-std"] }
async-channel = "2.3.1"
async-compat = "0.2.5"
async-io = "2.4.0"
async-process = "2.3.0"
async-stream = "0.3.5"
async-task = "4.2.0"
async-trait = "0.1.89"
async-fs = "2.1.2"
backtrace = "0.3.76"
base64 = "0.22"
bincode = "1.3.3"
bitflags = { version = "2.4.0", features = ["serde"] }
bitflags-serde-legacy = "0.1.1"
block = "0.1.6"
blocking = "1.6.2"
bytemuck = { version = "1.13.1" }
bytes = { version = "1.11.1", features = ["serde"] }
command-corrections = { git = "https://github.com/warpdotdev/command-corrections.git", rev = "eae08c8c51d9bc9741fcb17eef2c21f696aebbeb" }
core-foundation = "0.10.1"
concat-idents = "1.1.4"
cfg_aliases = "0.2.1"
cfg-if = "1.0.0"
chrono = { version = "0.4.38", features = ["serde"] }
clap = { version = "4.5", features = ["derive"] }
cocoa = "=0.26.0"
ctrlc = "3.4.7"
crc = "3.4.0"
dashmap = "6.1.0"
derive_more = "0.99.17"
diesel = { version = "2.3.8", default-features = false }
directories = "6.0"
dunce = "1.0.1"
enum-iterator = "1.1.3"
env_logger = "0.10.0"
float-cmp = "0.9.0"
font-kit = { git = "https://github.com/warpdotdev/font-kit", rev = "a04b225ecb639bb850f21d05212cfdc7465000f3", default-features = false, features = [
"source",
] }
futures = { version = "0.3", features = ["executor", "thread-pool"] }
futures-lite = "1.13.0"
futures-util = { version = "0.3", default-features = false }
get-size = { version = "0.1.4", features = ["derive"] }
globset = "0.4.18"
gloo = { version = "0.11.0", default-features = false, features = [
"events",
"futures",
"utils",
] }
hex = "0.4.3"
# This matches the version of hyper used by reqwest.
hyper = "1.6.0"
html5ever = "0.35.0"
# Zap BYOP webfetch:HTML→Markdown(纯 Rust 端口的 Turndown 实现,
# 对应 opencode webfetch.ts 用的 turndown JS 库)。
htmd = "0.2"
http = "1.1.0"
humantime = "2.1.0"
image = { version = "0.25.9", default-features = false, features = [
"rayon",
"jpeg",
"png",
"gif",
"webp",
"bmp",
] }
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
itertools = "0.14.0"
jaq-json = { version = "2.0", features = ["serde"] }
# Disabling the default `formats` feature is intended to avoid pulling in
# CBOR/TOML/XML/YAML support, but `jaq-all` currently depends on `jaq-fmts`
# with its default features enabled, which re-enables all those parsers transitively.
# The long-term fix is https://github.com/01mf02/jaq/issues/431.
jaq-all = { version = "0.1", default-features = false }
jsonschema = { version = "0.45", default-features = false }
keyring = { version = "3.6", features = [
"apple-native",
"windows-native",
"sync-secret-service",
"linux-native",
"linux-native-sync-persistent",
"crypto-rust",
# vendored:让 dbus-secret-service → dbus → libdbus-sys 从 C 源码编译 dbus,
# 不再依赖系统 `libdbus-1-dev` + pkg-config。这样:
# 1. 把 warp 交叉编译到 x86_64-unknown-linux-musl(dev 自动上传 remote-server、
# release CI 的 musl CLI 产物)时,libdbus-sys 不会因 pkg-config 不支持
# cross 而失败;
# 2. 普通 Linux 构建也不再需要预装 dbus 开发包。
# 代价是每次 clean build 多编译一个小 C 库(可缓存),换来构建自洽。
"vendored",
] }
lasso = { version = "0.7.3", features = ["multi-threaded"] }
lazy_static = "1.4.0"
libc = "0.2.81"
line-ending = "1.4.0"
log = { version = "0.4", features = ["serde", "std"] }
mermaid_to_svg = { git = "https://github.com/warpdotdev/mermaid-to-svg.git", rev = "f7233f69965c59760fad98d684c786569814d821" }
mime_guess = "2.0"
minimp4 = "0.1.2"
nix = { version = "0.26.4", default-features = false, features = ["signal"] }
notify-debouncer-full = { git = "https://github.com/warpdotdev/notify", rev = "f3afcda3058941e17e09689afea40e2a2db057e0" }
nom = "7.1.1"
num-traits = "0.2"
# We disable default features as the "rustls-tls" feature enables the reqwest
# feature of the same name, which itself enables the "rustls-tls-webpki-roots"
# feature, whereas we want to use native roots instead.
oauth2 = { version = "5.0.0", default-features = false, features = ["reqwest"] }
openh264 = "0.8"
static_assertions = "1.1.0"
url = "2.5.4"
urlocator = "0.1.4"
objc = "0.2"
objc2 = "0.6.3"
objc2-app-kit = { version = "0.3.2", default-features = false, features = ["NSScreen", "objc2-core-foundation"] }
objc2-core-foundation = "0.3.2"
objc2-core-graphics = "0.3.2"
objc2-foundation = { version = "0.3", default-features = false, features = ["std"] }
once_cell = "1.20.2"
ordered-float = { version = "3.0.0", features = ["serde"] }
parking_lot = "0.12.1"
pathfinder_color = "0.5"
pathfinder_geometry = "0.5.1"
pin-project = "1.0.10"
pprof = "0.15.0"
prost = "0.14.3"
prost-build = "0.14.3"
prost-reflect = "0.16.3"
prost-types = "0.14.3"
rand = "0.8.6"
rangemap = "1.3.0"
# BYOP(Bring Your Own Provider)模式下用 genai 调用原生协议:
# - OpenAI / OpenAIResp / DeepSeek / Anthropic / Gemini / Ollama
# 通过 ServiceTargetResolver 显式绑定 endpoint + auth + AdapterKind,
# 完全绕过 genai 的"按模型名识别 provider"默认行为,避免误识别。
# pin 到精确 beta patch — 0.6.x 仍在 beta,API 有可能再调,锁版本避免被动升级。
# 选 0.6 而非 0.5.3 stable 是为了拿 ChatMessage::with_reasoning_content 方法,
# 这是 DeepSeek thinking-mode + tool calling 多轮回传 reasoning_content 的唯一干净口子
# (0.5.3 没有此 API,会触发 issue #138 — assistant 含 tool_calls 的 turn 缺
# reasoning_content 字段被 DeepSeek 服务端 400)。
# 实际通过 [patch.crates-io] 重定向到本地 fork lib/rust-genai(含 DeepSeek
# reasoning_effort 解锁的 1 行修改,见 patch 段注释)。
genai = "=0.6.0-beta.18"
reqwest = { version = "0.12.28", default-features = false, features = [
"blocking",
"brotli",
"charset",
"gzip",
"http2",
"json",
"macos-system-configuration",
"rustls-tls-native-roots-no-provider",
"stream",
"system-proxy",
] }
reqwest-eventsource = "0.6.0"
resvg = "0.47.0"
rust-embed = { version = "8.7.0", features = ["include-exclude"] }
# i18n: Fluent-based localization with fallback chain (zh-CN → zh → en)
i18n-embed = { version = "0.15", features = ["fluent-system", "desktop-requester"] }
i18n-embed-fl = "0.9"
fluent = "0.16"
unic-langid = { version = "0.9", features = ["macros"] }
sys-locale = "0.3"
rustc-hash = "2.1.1"
rustls = "0.23.39"
schemars = { version = "1", features = ["chrono04"] }
serde = { version = "1.0", features = ["derive", "rc"] }
serde_bytes = "0.11"
serde-bytes-repr = "0.3"
serde_json = { version = "1.0", features = ["raw_value"] }
serde_urlencoded = "0.7"
serde_with = "2.0.1"
serde_yaml = "0.8"
similar = { version = "2.7", features = ["inline"] }
simplelog = "0.12.2"
smallvec = "1.6.1"
smol_str = "0.2.2"
strsim = "0.11"
strum = "0.27"
strum_macros = "0.27"
tempfile = "3.8.0"
thiserror = "2.0.17"
tokio = "1.47.1"
tokio-util = { version = "0.7", features = ["io"] }
toml_edit = "0.25.5"
tower = "0.5.2"
tower-http = "0.6.6"
tracing = "0.1.40"
arborium = { version = "2", default-features = false, features = [
"lang-rust",
"lang-go",
"lang-yaml",
"lang-python",
"lang-javascript",
"lang-typescript",
"lang-tsx",
"lang-java",
"lang-cpp",
"lang-bash",
"lang-c-sharp",
"lang-html",
"lang-css",
"lang-c",
"lang-json",
"lang-hcl",
"lang-lua",
"lang-ruby",
"lang-php",
"lang-toml",
"lang-swift",
"lang-kotlin",
"lang-scala",
"lang-powershell",
"lang-elixir",
"lang-sql",
"lang-starlark",
"lang-objc",
"lang-xml",
"lang-vue",
"lang-dockerfile",
"lang-dart",
"lang-zig",
"lang-scss",
"lang-r",
"lang-julia",
"lang-ocaml",
"lang-erlang",
"lang-nix",
"lang-groovy",
"lang-solidity",
"lang-graphql",
"lang-proto",
"lang-clojure",
"lang-elm",
"lang-cmake",
] }
unicode-width = "0.1.12"
uuid = { version = "1.1.2", features = ["v4", "serde", "js"] }
vec1 = { version = "1.8.0", features = ["serde"] }
version-compare = "0.1"
vte = { git = "https://github.com/warpdotdev/vte.git", rev = "4b399c87b63ba88f45709edaa6383fc519f6c900", default-features = false }
walkdir = "2"
warp-workflows = { git = "https://github.com/warpdotdev/workflows", rev = "793a98ddda6ef19682aed66364faebd2829f0e01" }
warp_multi_agent_api = { git = "https://github.com/zerx-lab/warp-proto-apis.git", rev = "14ab9a71ea3e9521b2ffab2f97a64e7c21050669" }
wasm-bindgen = "0.2.89"
wasm-bindgen-futures = "0.4.42"
web-sys = { version = "0.3.69", features = [
"Blob",
"Clipboard",
"ClipboardEvent",
"ClipboardItem",
"CompositionEvent",
"Document",
"DataTransfer",
"Event",
"HtmlCanvasElement",
"HtmlInputElement",
"InputEvent",
"Navigator",
"MediaQueryList",
"Window",
"Notification",
"NotificationPermission",
] }
# Disable default features to disable support for WebGPU, which does not yet
# have wide browser support. We enable all other default feature of wgpu,
# though.
wgpu = { version = "29.0.1", default-features = false, features = [
"dx12",
"gles",
"metal",
"parking_lot",
"std",
"vulkan",
"wgsl",
] }
zbus = "5.9.0"
memchr = "2"
memo-map = "0.3.1"
async-recursion = "1.0.0"
getset = "0.1.1"
regex = "1.11.1"
rquickjs = { version = "0.3.1" }
dirs = "6.0.0"
rayon = "1.10.0"
aes-gcm = "0.10"
sha2 = "0.10"
shell-escape = "0.1.5"
shellexpand = "3.1.1"
warp-command-signatures = { git = "https://github.com/warpdotdev/command-signatures.git", rev = "00a032b8ea0ee5711e2077e39a92dc9ca2051cd3", default-features = false }
winit = { git = "https://github.com/chenx-dust/winit.git", rev = "7ef914a440ad203da05355e6c3f8c482766987ec" }
x11rb = "0.13.0"
mockito = "1.7.0"
sysinfo = { version = "0.37.0", default-features = false, features = [
"system",
"multithread",
] }
windows = { version = "0.62.2", features = [
"Win32",
"Win32_System",
"Win32_System_Kernel",
"Win32_System_Threading",
"Wdk_System",
"Wdk_System_SystemServices",
"Win32_System_Com",
"Win32_System_SecurityCenter",
"Win32_System_SystemInformation",
"Win32_System_Console",
] }
windows-core = { version = "0.62.2" }
windows-registry = { version = "0.2.0" }
windows-result = { version = "0.2.0" }
winreg = "0.55.0"
typed-path = "0.10.0"
streaming-iterator = "0.1.0"
derivative = "2.2.0"
parquet = { version = "55.0.0", features = ["arrow"] }
rmcp = { git = "https://github.com/warpdotdev/rmcp.git", rev = "c0f65dc441af7d714b9c453ac5e7ef641451abe3" }
[profile.release]
# 使用 line-tables-only(debug = 1),而不是完整 debuginfo(debug = 2 / `true`)。
# 行号表足够为本地 crash stack 提供文件/行号,同时省略体积最大的变量/类型 DWARF。
# 这能显著降低 ThinLTO + codegen 时 rustc 的峰值内存,代价是 release binary
# 调试时无法查看 locals/types。
debug = 1
# Force the rust compiler to create a dSYM. Starting in 1.53 the default on MacOS is "unpacked".
split-debuginfo = "packed"
[profile.dev]
# Use line-tables-only to speed up dev builds. Change to `debug = true` if you
# need full debuginfo for step-through debugging (gdb/lldb).
debug = "line-tables-only"
# loads debuginfo without needing to run dsymutil, leave the .o object files
# in the build output directory instead of deleting them, and skips the step of running dsymutil.
# Rust's backtrace support is smart enough to know how to find these .o files.
# This should work as long as you don't need to move the binary to a different
# location while retaining the debug information.
split-debuginfo = "unpacked"
[profile.dev.package]
# Minimize the runtime overhead of CPU profiling at the cost of a small
# increase in compile time for this crate.
backtrace.opt-level = 3
# Minimize the runtime overhead of CPU profiling at the cost of a small
# increase in compile time for this crate.
pprof.opt-level = 3
# Ensure jemalloc is optimized for performance.
tikv-jemallocator.opt-level = 3
tikv-jemalloc-sys.opt-level = 3
jemalloc_pprof.opt-level = 3
pprof_util.opt-level = 3
# Vastly improve runtime performance of some font and text layout logic
# at the cost of a small increase in compile time for this crate.
ttf-parser.opt-level = 3
# Improve the performance of Agent Mode diff application, particularly in tests.
strsim.opt-level = 3
# Improve performance of SSE stream parsing.
eventsource-stream.opt-level = 3
memchr.opt-level = 3
nom.opt-level = 3
# Improve performance of core runtime components slightly.
tokio.opt-level = 1
rayon-core.opt-level = 1
# Improve performance of image processing for debug builds.
fdeflate.opt-level = 3
image.opt-level = 3
png.opt-level = 3
miniz_oxide.opt-level = 3
# A profile that behaves like release but enables ThinLTO, which should produce
# binaries with better runtime performance with little build-time overhead.
[profile.release-lto]
inherits = "release"
lto = "thin"
# A shorthand profile for `release-lto`.
# Windows enforces that any path is a maximum of 255 characters and
# the length of this profile is sufficiently long that it can cause
# compiler errors. We use a shorthand to get around these issues.
[profile.rlto]
inherits = "release-lto"
# A custom release-like profile that forces debug assertions on.
[profile.release-lto-debug_assertions]
inherits = "release-lto"
debug-assertions = true
# A shorthand profile for `release-lto-debug_assertions`.
# Windows enforces that any path is a maximum of 255 characters and
# the length of this profile is sufficiently long that it can cause
# compiler errors. We use a shorthand to get around these issues.
[profile.rltoda]
inherits = "release-lto-debug_assertions"
# A profile tuned for the `oz` CLI tarball. The CLI is shipped over the network
# and run headlessly, so we trade some compile time and a small amount of
# runtime perf for a smaller binary by mirroring the size-leaning settings used
# by `release-wasm`.
[profile.release-cli]
inherits = "release-lto"
opt-level = "s"
codegen-units = 1
# A custom CLI release-like profile that forces debug assertions on, used for
# dev/local channel CLI bundles.
[profile.release-cli-debug_assertions]
inherits = "release-cli"
debug-assertions = true
[profile.release-wasm]
inherits = "release"
opt-level = "s"
lto = true
codegen-units = 1
[profile.release-wasm-debug_assertions]
inherits = "release-wasm"
debug-assertions = true
# A dev profile optimized for remote server deployment. Strips symbols to
# reduce binary size and improve rsync delta transfer efficiency.
[profile.dev-remote]
inherits = "dev"
strip = "symbols"
[profile.dev-wasm]
inherits = "dev"
opt-level = "s"
[patch.crates-io]
# Pinned to the merge commit of servo/core-foundation-rs#746, which fixes a
# double-retain bug in `CTFontCollection::get_descriptors` that leaks the
# CoreText font-descriptor NSArray on every call. The fix is not yet in any
# crates.io release; the latest published `core-text` (21.1.0) was cut from
# a commit that predates the merge.
core-foundation = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
core-foundation-sys = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
core-graphics = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
core-text = { git = "https://github.com/servo/core-foundation-rs", rev = "6f844cf1a1a18e25b70fcdf1bcdc458555bd2eff" }
objc = { git = "https://github.com/warpdotdev/rust-objc.git", rev = "5b656827fa9f863ef0eb22e444a3fedac009e78a" }
pathfinder_simd = { git = "https://github.com/warpdotdev/pathfinder.git", rev = "34128a129ca6aee168fbc5060a4f21b4f7e486a9" }
yaml-rust = { git = "https://github.com/warpdotdev/yaml-rust.git", rev = "51684719d0102ca85ff4b21cec39877a0c669e19" }
tink-core = { git = "https://github.com/warpdotdev/tink-rust", branch = "warpdotdev/main" }
tink-proto = { git = "https://github.com/warpdotdev/tink-rust", branch = "warpdotdev/main" }
tink-hybrid = { git = "https://github.com/warpdotdev/tink-rust", branch = "warpdotdev/main" }
tikv-jemallocator = { git = "https://github.com/warpdotdev/jemallocator.git", rev = "2ee30bfdf7059223b54810e4ea6c666f0a379e0b" }
tikv-jemalloc-sys = { git = "https://github.com/warpdotdev/jemallocator.git", rev = "2ee30bfdf7059223b54810e4ea6c666f0a379e0b" }
# Zap 本地 fork — 解锁 DeepSeek thinking_mode `reasoning_effort` 顶层注入。
# 上游 genai 0.6.0-beta.18 在 adapter_shared.rs:85 把 reasoning_effort 注入条件
# 硬编码为 `adapter_kind == OpenAI`,DeepSeek 走 else 分支被吞,即便 client 端把
# ChatOptions::reasoning_effort 设为 high/medium/low,HTTP body 顶层也不会出现该字段。
# fork 把判定改为 `OpenAI | DeepSeek`,符合 DeepSeek 官方 thinking_mode 文档。
# 同时上游计划提 PR(deepseek-reasoning-effort 分支),合并后可撤回这条 patch。
genai = { path = "lib/rust-genai" }
[patch."https://github.com/warpdotdev/warp-proto-apis.git"]
# Zap 已切到 zerx-lab fork(见上方 dependency 改动),保留这条 patch 以
# 便其它 transitive deps 若意外引用上游 url 时也走 fork。
warp_multi_agent_api = { git = "https://github.com/zerx-lab/warp-proto-apis.git", rev = "14ab9a71ea3e9521b2ffab2f97a64e7c21050669" }