-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
154 lines (126 loc) · 3.53 KB
/
Cargo.toml
File metadata and controls
154 lines (126 loc) · 3.53 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
[workspace]
members = ["."]
resolver = "2"
[package]
name = "omnidotdev-cli"
version = "0.6.0"
edition = "2024"
rust-version = "1.86"
authors = ["Omni <team@omni.dev>"]
description = "Agentic CLI for the Omni ecosystem"
license = "Apache-2.0"
repository = "https://github.com/omnidotdev/cli"
homepage = "https://cli.omni.dev"
keywords = ["cli", "ai", "agent", "tui"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
[[bin]]
name = "omni"
path = "src/main.rs"
[lib]
name = "omni_cli"
path = "src/lib.rs"
[features]
default = ["clipboard"]
clipboard = ["dep:arboard"]
[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }
# TUI
ratatui = "0.30"
crossterm = "0.29"
arboard = { version = "3", optional = true }
pulldown-cmark = "0.13"
# HTTP API
axum = "0.8"
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
utoipa = { version = "5", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9", features = ["axum"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Error handling
thiserror = "2"
anyhow = "1"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Config
directories = "6"
dirs = "6"
toml = "1"
# Async utilities
futures = "0.3"
async-trait = "0.1"
# Agent core
agent-core = { git = "https://github.com/omnidotdev/agent-core.git", features = ["mcp", "memory", "skills", "tools"] }
# Synapse client
synapse-client = { git = "https://github.com/omnidotdev/synapse-gateway.git", features = ["agent-core"] }
# Synapse billing (Aether usage recording)
synapse-billing = { git = "https://github.com/omnidotdev/synapse-gateway.git" }
secrecy = "0.10"
url = "2"
# HTTP client
reqwest = { version = "0.13", default-features = false, features = ["json", "stream", "rustls"] }
# LLM providers
llm = { version = "1.3", default-features = false, features = ["openai", "anthropic", "google", "groq", "mistral", "rustls-tls"] }
# Async streams
async-stream = "0.3"
pin-project-lite = "0.2"
tokio-stream = "0.1"
# File watching
notify = "8"
ignore = "0.4"
# Diff
similar = "2.7"
# Regex for HTML parsing
regex = "1"
# Permission system
uuid = { version = "1", features = ["v4"] }
rand = "0.10"
rpassword = "7"
hex = "0.4"
chrono = { version = "0.4.43", features = ["serde"] }
parking_lot = "0.12.5"
ulid = "1"
indexmap = "2"
# LSP integration
which = "8"
[dev-dependencies]
cargo-husky = { version = "1", default-features = false, features = ["precommit-hook", "run-cargo-fmt", "run-cargo-clippy", "run-cargo-test"] }
tempfile = "3"
tokio-test = "0.4"
[patch.crates-io]
agent-core = { git = "https://github.com/omnidotdev/agent-core.git" }
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
cargo_common_metadata = "allow"
missing_errors_doc = "allow"
significant_drop_tightening = "allow"
option_if_let_else = "allow"
cast_possible_wrap = "allow"
unnecessary_wraps = "allow"
items_after_statements = "allow"
needless_pass_by_value = "allow"
question_mark = "allow"
collection_is_never_read = "allow"
assigning_clones = "allow"
or_fun_call = "allow"
self_only_used_in_recursion = "allow"
too_many_lines = "allow"
match_same_arms = "allow"