-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (80 loc) · 2.59 KB
/
Cargo.toml
File metadata and controls
100 lines (80 loc) · 2.59 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
[package]
name = "cortex-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "Cortex CLI - Modern AI coding agent"
[[bin]]
name = "Cortex"
path = "src/main.rs"
[lib]
name = "cortex_cli"
path = "src/lib.rs"
[lints]
workspace = true
[features]
default = ["cortex-tui", "audio"]
# Use the new Cortex TUI (120 FPS, Cortex theme)
cortex-tui = ["dep:cortex-tui"]
# Audio notifications - disabled on musl targets due to alsa-sys incompatibility
# Falls back to terminal bell when disabled
audio = ["cortex-tui?/audio"]
[dependencies]
cortex-engine = { workspace = true }
cortex-protocol = { workspace = true }
cortex-tui = { workspace = true, optional = true }
cortex-common = { workspace = true, features = ["cli"] }
cortex-commands = { workspace = true }
cortex-login = { workspace = true }
cortex-process-hardening = { workspace = true }
cortex-app-server = { workspace = true }
cortex-update = { workspace = true }
cortex-share = { path = "../cortex-share" }
cortex-snapshot = { workspace = true }
cortex-compact = { path = "../cortex-compact" }
cortex-agents = { workspace = true }
clap = { workspace = true }
clap_complete = { workspace = true }
# For colored help output
color-print = "0.3"
tokio = { workspace = true, features = ["full"] }
futures = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
tracing-appender = { workspace = true }
dirs = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }
toml = { workspace = true }
toml_edit = { workspace = true }
serde_yaml = "0.9"
serde = { workspace = true }
ctor = "0.5"
base64 = { workspace = true }
# For error types in utilities
thiserror = { workspace = true }
# For upgrade command (HTTP requests) and scrape command (cookie support)
reqwest = { workspace = true, features = ["json", "cookies"] }
# For scrape command (HTML parsing)
scraper = "0.25"
# For agent reference extraction from messages
regex = { workspace = true }
# For plugin dev --watch file watching
notify = { workspace = true }
# For plugin publish tar archive creation
tar = "0.4"
flate2 = "1.0"
# For Ctrl+C handling and terminal cleanup
ctrlc = { version = "3.4", features = ["termination"] }
# For file descriptor limit checking
libc = { workspace = true }
# For SIGTERM signal handling on Unix (graceful container shutdown)
[target.'cfg(unix)'.dependencies]
signal-hook = "0.3"
[build-dependencies]
chrono = "0.4"
[dev-dependencies]
serial_test = { workspace = true }
tempfile = { workspace = true }