Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,086 changes: 132 additions & 1,954 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions opentui-rs/crates/opentui-buffer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ description = "Double-buffered terminal rendering for OpenTUI"
[dependencies]
opentui-core = { path = "../opentui-core" }
smallvec = { workspace = true }
unicode-segmentation = { workspace = true }
unicode-width = { workspace = true }
1 change: 0 additions & 1 deletion opentui-rs/crates/opentui-layout/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ license = "MIT"
description = "Flexbox layout engine for OpenTUI"

[dependencies]
opentui-core = { path = "../opentui-core" }
taffy = { workspace = true }
slotmap = { workspace = true }
1 change: 0 additions & 1 deletion opentui-rs/crates/opentui-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ description = "Syntax highlighting for OpenTUI"
[dependencies]
opentui-text = { path = "../opentui-text" }
tree-sitter = { workspace = true }
tree-sitter-highlight = { workspace = true }
streaming-iterator = "0.1"
ahash = { workspace = true }
thiserror = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions opentui-rs/crates/opentui-terminal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,3 @@ opentui-core = { path = "../opentui-core" }
opentui-buffer = { path = "../opentui-buffer" }
opentui-input = { path = "../opentui-input" }
crossterm = { workspace = true }
thiserror = { workspace = true }
log = { workspace = true }
2 changes: 1 addition & 1 deletion src/cortex-agents/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
description = "Multi-agent system for Cortex CLI"

[dependencies]
tokio = { version = "1", features = ["full"] }
tokio = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
Expand Down
13 changes: 2 additions & 11 deletions src/cortex-app-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ cortex-protocol = { path = "../cortex-protocol" }
cortex-common = { path = "../cortex-common" }

# Web framework
axum = { version = "0.7", features = ["ws", "multipart", "macros"] }
axum-extra = { version = "0.9", features = ["typed-header"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["cors", "trace", "compression-gzip", "limit", "request-id"] }
axum = { workspace = true }
tower-http = { workspace = true }

# Async
tokio = { workspace = true, features = ["full"] }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }
async-stream = { workspace = true }
async-channel = { workspace = true }
Expand All @@ -58,18 +55,12 @@ clap = { workspace = true }
# Utilities
uuid = { workspace = true }
chrono = { workspace = true }
url = { workspace = true }
bytes = { workspace = true }
base64 = { workspace = true }
dirs = "5"
fs2 = "0.4" # File locking for concurrent access

# Authentication
jsonwebtoken = "9"
argon2 = "0.5"

# Rate limiting
governor = "0.6"

# File watching
notify = "6"
Expand Down
2 changes: 1 addition & 1 deletion src/cortex-app-server/src/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn handle_sender(
}
};

if let Err(e) = sender.send(Message::Text(text)).await {
if let Err(e) = sender.send(Message::Text(text.into())).await {
error!("Failed to send message: {}", e);
break;
}
Expand Down
4 changes: 1 addition & 3 deletions src/cortex-batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ edition = "2021"
description = "Batch operations and MultiEdit tools for Cortex CLI"

[dependencies]
tokio = { version = "1", features = ["full", "fs", "time", "sync"] }
tokio = { workspace = true, features = ["fs", "time", "sync"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
thiserror = "1"
glob = "0.3"
similar = "2"
once_cell = "1"

[dev-dependencies]
Expand Down
21 changes: 3 additions & 18 deletions src/cortex-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,26 @@ workspace = true
default = ["cortex-tui"]
# Use the new Cortex TUI (120 FPS, Cortex theme)
cortex-tui = ["dep:cortex-tui"]
# Enable HTTP transport for MCP server
mcp-http = ["cortex-mcp-server/http"]

[dependencies]
cortex-engine = { workspace = true }
cortex-protocol = { workspace = true }
cortex-tui = { workspace = true, optional = true }
cortex-exec = { workspace = 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-mcp-server = { 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 }
clap_mangen = { workspace = true }

# For colored help output
color-print = "0.3"
Expand All @@ -69,24 +66,12 @@ thiserror = { workspace = true }
# For upgrade command (HTTP requests) and scrape command (cookie support)
reqwest = { workspace = true, features = ["json", "cookies"] }

# For upgrade command (archive extraction)
zip = { workspace = true }
flate2 = "1.0"
tar = "0.4"

# For scrape command (HTML parsing and URL handling)
# For scrape command (HTML parsing)
scraper = "0.22"
url = "2.5"

# For agent reference extraction from messages
regex = { workspace = true }

# For mDNS service discovery
hostname = { workspace = true }

# For finding binary location in PATH
which = { workspace = true }

# For Ctrl+C handling and terminal cleanup
ctrlc = { version = "3.4", features = ["termination"] }

Expand Down
14 changes: 0 additions & 14 deletions src/cortex-collab/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,12 @@ tokio = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# Error handling
anyhow = { workspace = true }
thiserror = { workspace = true }

# Async traits
async-trait = { workspace = true }

# Logging
tracing = { workspace = true }

# Utilities
uuid = { workspace = true }

# Channels
tokio-stream = { workspace = true }

# Internal crates
cortex-agents = { workspace = true }

[dev-dependencies]
tokio-test = { workspace = true }
1 change: 0 additions & 1 deletion src/cortex-commands/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ chrono = { workspace = true }
dirs = { workspace = true }
tracing = { workspace = true }
regex-lite = { workspace = true }
walkdir = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion src/cortex-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ workspace = true

[dependencies]
cortex-protocol = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
once_cell = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions src/cortex-compact/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ edition = "2021"
description = "Auto-compaction for Cortex CLI conversations"

[dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
thiserror = "1"

Expand Down
2 changes: 0 additions & 2 deletions src/cortex-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ crossterm = { workspace = true }
tokio = { workspace = true, features = ["full", "sync", "time", "macros", "rt-multi-thread", "signal"] }
unicode-width = { workspace = true }
pulldown-cmark = { workspace = true }
image = { workspace = true }
tui-textarea = "0.7"
anyhow = { workspace = true }
futures = { workspace = true }
Expand All @@ -31,7 +30,6 @@ once_cell = { workspace = true }
ahash = { workspace = true }

# Tree-sitter grammars (optional features)
tree-sitter = { workspace = true }
tree-sitter-bash = { workspace = true }

[target.'cfg(unix)'.dependencies]
Expand Down
10 changes: 0 additions & 10 deletions src/cortex-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ async-stream = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
toml_edit = { workspace = true }

# HTTP
reqwest = { workspace = true, features = ["multipart"] }
futures-util = "0.3"
eventsource-stream = { workspace = true }
url = { workspace = true }

Expand All @@ -67,8 +65,6 @@ thiserror = { workspace = true }
tracing = { workspace = true }

# Parsing
tree-sitter = { workspace = true }
tree-sitter-bash = { workspace = true }
regex = { workspace = true }
shlex = { workspace = true }

Expand All @@ -80,21 +76,15 @@ dunce = { workspace = true }
which = { workspace = true }
similar = { workspace = true }
once_cell = { workspace = true }
indexmap = { workspace = true }
base64 = { workspace = true }
sha2 = { workspace = true }
hmac = "0.12"
hex = "0.4"
tempfile = { workspace = true }
bytes = { workspace = true }
rand = "0.8"
urlencoding = "2.1"
serde_yaml = "0.9"
num_cpus = "1.16"
notify = "6.1"
glob = "0.3"
walkdir = "2.5"
ignore = "0.4"

# Security - credential encryption
# Note: keyring with linux-native is platform-specific, moved to target dependencies
Expand Down
3 changes: 0 additions & 3 deletions src/cortex-exec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ cortex-engine = { workspace = true }
cortex-protocol = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tokio-stream = { workspace = true }
async-channel = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
2 changes: 0 additions & 2 deletions src/cortex-execpolicy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ path = "src/lib.rs"
workspace = true

[dependencies]
anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
shlex = { workspace = true }
starlark = { workspace = true }
thiserror = { workspace = true }
2 changes: 0 additions & 2 deletions src/cortex-experimental/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ description = "Experimental features management for Cortex CLI"

[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tokio = { version = "1", features = ["fs"] }
toml = "0.8"
4 changes: 0 additions & 4 deletions src/cortex-feedback/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,10 @@ cortex-protocol = { workspace = true }
cortex-engine = { workspace = true }

anyhow = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
chrono = { workspace = true }
uuid = { workspace = true }
reqwest = { workspace = true, features = ["json"] }

[dev-dependencies]
tempfile = { workspace = true }
4 changes: 1 addition & 3 deletions src/cortex-ghost/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ edition = "2021"
description = "Ghost commits for automatic undo in Cortex CLI"

[dependencies]
tokio = { version = "1", features = ["full", "process"] }
tokio = { workspace = true, features = ["process"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
thiserror = "1"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
tempfile = "3"
12 changes: 0 additions & 12 deletions src/cortex-gui/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,10 @@ path = "src/main.rs"
# CLI argument parsing
clap = { version = "4", features = ["derive", "wrap_help", "string"] }

# Async runtime
tokio = { version = "1", features = ["full"] }

# Error handling
anyhow = "1"
thiserror = "2"

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# URL encoding for deep links
url = "2"
urlencoding = "2"

# Path handling
Expand All @@ -37,9 +28,6 @@ dirs = "6"
# Process management
sysinfo = { version = "0.32", default-features = false, features = ["system"] }

# Inter-process communication (named pipes on Windows, Unix sockets on others)
interprocess = { version = "2.2", features = ["tokio"] }

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Expand Down
7 changes: 0 additions & 7 deletions src/cortex-gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ tauri-plugin-notification = "2.3"
# Workspace dependencies - Cortex crates
cortex-engine = { path = "../../cortex-engine" }
cortex-protocol = { path = "../../cortex-protocol" }
cortex-common = { path = "../../cortex-common" }
cortex-storage = { path = "../../cortex-storage" }

# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1"
serde_bytes = "0.11"

# Async runtime
tokio = { version = "1", features = ["full"] }
Expand Down Expand Up @@ -79,9 +77,6 @@ url = "2"

# AI/LLM dependencies
async-trait = "0.1"
tokio-stream = "0.1"
eventsource-stream = "0.2"
async-openai = "0.23"

# Data storage
rusqlite = { version = "0.32", features = ["bundled"] }
Expand All @@ -108,8 +103,6 @@ image = "0.24"
# Security - credential encryption
keyring = { version = "3", default-features = false, features = ["windows-native", "apple-native", "linux-native"] }
secrecy = { version = "0.10", features = ["serde"] }
aes-gcm = "0.10"
argon2 = "0.5"
zeroize = { version = "1.8", features = ["derive"] }

[target.'cfg(target_os = "windows")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/cortex-gui/src-tauri/gen/schemas/acl-manifests.json

Large diffs are not rendered by default.

Loading
Loading