Switch dependencies to crates.io and update metadata
- Use crates.io versions for onde, tqdm, and mistralrs crates - Update README and main.rs to use "siGit Code" as agent name - Update copyright - Fix chat banner rendering and message line handling
Seto Elkahfi committed
Apr 23, 2026 at 23:06 UTC
19a72c3fd78f7974f88787deec9d39d754ba2a3f
5 files changed
+71
-23
Cargo.lock
+63
-15
@@ -1045,6 +1045,22 @@ version = "0.8.21"
1045
source = "registry+https://github.com/rust-lang/crates.io-index"
1046
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
1047
1048
+[[package]]
1049
+name = "crossterm"
1050
+version = "0.25.0"
1051
+source = "registry+https://github.com/rust-lang/crates.io-index"
1052
+checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
1053
+dependencies = [
1054
+ "bitflags 1.3.2",
1055
+ "crossterm_winapi",
1056
+ "libc",
1057
+ "mio 0.8.11",
1058
+ "parking_lot",
1059
+ "signal-hook",
1060
+ "signal-hook-mio",
1061
+ "winapi",
1062
+]
1063
+
1064
[[package]]
1065
name = "crossterm"
1066
version = "0.28.1"
@@ -1053,7 +1069,7 @@ checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
1069
dependencies = [
1070
"bitflags 2.11.1",
1071
"crossterm_winapi",
1056
- "mio",
1072
+ "mio 1.2.0",
1073
"parking_lot",
1074
"rustix 0.38.44",
1075
"signal-hook",
@@ -1072,7 +1088,7 @@ dependencies = [
1088
"derive_more",
1089
"document-features",
1090
"futures-core",
1075
- "mio",
1091
+ "mio 1.2.0",
1092
"parking_lot",
1093
"rustix 1.1.4",
1094
"signal-hook",
@@ -3230,6 +3246,18 @@ dependencies = [
3246
"simd-adler32",
3247
]
3248
3249
+[[package]]
3250
+name = "mio"
3251
+version = "0.8.11"
3252
+source = "registry+https://github.com/rust-lang/crates.io-index"
3253
+checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
3254
+dependencies = [
3255
+ "libc",
3256
+ "log",
3257
+ "wasi",
3258
+ "windows-sys 0.48.0",
3259
+]
3260
+
3261
[[package]]
3262
name = "mio"
3263
version = "1.2.0"
@@ -3245,7 +3273,8 @@ dependencies = [
3273
[[package]]
3274
name = "mistralrs"
3275
version = "0.8.1"
3248
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3276
+source = "registry+https://github.com/rust-lang/crates.io-index"
3277
+checksum = "9bb0a83340b4492ebba9760ba6845364de369c7e10c1f91af8733d574c7405fa"
3278
dependencies = [
3279
"anyhow",
3280
"candle-core",
@@ -3272,7 +3301,8 @@ dependencies = [
3301
[[package]]
3302
name = "mistralrs-audio"
3303
version = "0.8.1"
3275
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3304
+source = "registry+https://github.com/rust-lang/crates.io-index"
3305
+checksum = "5ac5d36f634c7c20c45845bc995be3b6387ab01048410386a5b180cfeaf89c72"
3306
dependencies = [
3307
"anyhow",
3308
"apodize",
@@ -3283,7 +3313,8 @@ dependencies = [
3313
[[package]]
3314
name = "mistralrs-core"
3315
version = "0.8.1"
3286
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3316
+source = "registry+https://github.com/rust-lang/crates.io-index"
3317
+checksum = "a2b8b9e5c94491d9ceeded3a30291cb6af6ae74810a5776dd55e3bbb8b3429d4"
3318
dependencies = [
3319
"ahash",
3320
"akin",
@@ -3380,7 +3411,8 @@ dependencies = [
3411
[[package]]
3412
name = "mistralrs-macros"
3413
version = "0.8.1"
3383
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3414
+source = "registry+https://github.com/rust-lang/crates.io-index"
3415
+checksum = "5aa9b4794322d3f89fe61d21f33f67be494c16d5bd869604b111218f32544d32"
3416
dependencies = [
3417
"darling 0.23.0",
3418
"proc-macro2",
@@ -3391,7 +3423,8 @@ dependencies = [
3423
[[package]]
3424
name = "mistralrs-mcp"
3425
version = "0.8.1"
3394
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3426
+source = "registry+https://github.com/rust-lang/crates.io-index"
3427
+checksum = "4fa97d4e3189ed80ebbc730b7da5b2356df0ae004ab489066249340c33c089ab"
3428
dependencies = [
3429
"anyhow",
3430
"async-trait",
@@ -3411,7 +3444,8 @@ dependencies = [
3444
[[package]]
3445
name = "mistralrs-paged-attn"
3446
version = "0.8.1"
3414
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3447
+source = "registry+https://github.com/rust-lang/crates.io-index"
3448
+checksum = "6e53ddf1537426997b46abdadbe6ca8a7ce7668004ed2b7cf00115016558bae8"
3449
dependencies = [
3450
"anyhow",
3451
"candle-core",
@@ -3427,7 +3461,8 @@ dependencies = [
3461
[[package]]
3462
name = "mistralrs-quant"
3463
version = "0.8.1"
3430
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3464
+source = "registry+https://github.com/rust-lang/crates.io-index"
3465
+checksum = "980715493d252e9aaf0779c4c101576d67ef4dd9812bfd77a54987f6f17526f4"
3466
dependencies = [
3467
"byteorder",
3468
"candle-core",
@@ -3456,7 +3491,8 @@ dependencies = [
3491
[[package]]
3492
name = "mistralrs-vision"
3493
version = "0.8.1"
3459
-source = "git+https://github.com/setoelkahfi/mistral.rs?branch=fix%2Fall-platform-fixes#020dcbf8e2c4147c16bb015e89435811501baa28"
3494
+source = "registry+https://github.com/rust-lang/crates.io-index"
3495
+checksum = "10046a3da2de5b702d3e829b5ddef7aa829ad454819dcc4876dea481a6cb5456"
3496
dependencies = [
3497
"candle-core",
3498
"image",
@@ -3780,7 +3816,8 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"
3816
[[package]]
3817
name = "onde"
3818
version = "0.1.4"
3783
-source = "git+https://github.com/ondeinference/onde?branch=development#0cf8325b4b9ebcc7278bfc29c5a3d229ab05d632"
3819
+source = "registry+https://github.com/rust-lang/crates.io-index"
3820
+checksum = "939495589fec914220491600a00bddedcba437e5fd5e3926ca1af2e8da681bb0"
3821
dependencies = [
3822
"anyhow",
3823
"cc",
@@ -5270,7 +5307,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
5307
checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
5308
dependencies = [
5309
"libc",
5273
- "mio",
5310
+ "mio 0.8.11",
5311
+ "mio 1.2.0",
5312
"signal-hook",
5313
]
5314
@@ -6051,7 +6089,7 @@ checksum = "a91135f59b1cbf38c91e73cf3386fca9bb77915c45ce2771460c9d92f0f3d776"
6089
dependencies = [
6090
"bytes",
6091
"libc",
6054
- "mio",
6092
+ "mio 1.2.0",
6093
"parking_lot",
6094
"pin-project-lite",
6095
"signal-hook-registry",
@@ -6231,10 +6269,11 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
6269
[[package]]
6270
name = "tqdm"
6271
version = "0.8.0"
6234
-source = "git+https://github.com/setoelkahfi/tqdm?branch=deps%2Fbump-crossterm#41e4182829136e6dadbdd1c36af824d19219147a"
6272
+source = "registry+https://github.com/rust-lang/crates.io-index"
6273
+checksum = "b316d5c2ac649ca856dacd487d0ebb94f3b746bada51355d93dd2c007ab62a2e"
6274
dependencies = [
6275
"anyhow",
6237
- "crossterm 0.29.0",
6276
+ "crossterm 0.25.0",
6277
"once_cell",
6278
]
6279
@@ -7211,6 +7250,15 @@ dependencies = [
7250
"windows-targets 0.42.2",
7251
]
7252
7253
+[[package]]
7254
+name = "windows-sys"
7255
+version = "0.48.0"
7256
+source = "registry+https://github.com/rust-lang/crates.io-index"
7257
+checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
7258
+dependencies = [
7259
+ "windows-targets 0.48.5",
7260
+]
7261
+
7262
[[package]]
7263
name = "windows-sys"
7264
version = "0.52.0"
Cargo.toml
+2
-2
@@ -16,8 +16,8 @@ agent-client-protocol = "0.10.4"
16
17
# Onde Inference engine (local LLM)
18
# Can't use crates.io (core2 0.4.0 yanked). Git dep so CI builds without ../onde.
19
-onde = { git = "https://github.com/ondeinference/onde", branch = "development" }
20
-
19
+# onde = { git = "https://github.com/ondeinference/onde", branch = "development" }
20
+onde = { version = "0.1" }
21
# Async runtime
22
async-trait = "0.1"
23
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "io-std", "io-util", "sync", "time"] }
README.md
+3
-3
@@ -1,4 +1,4 @@
1
-# siGit
1
+# siGit Code
2
3
[](https://crates.io/crates/sigit)
4
@@ -25,7 +25,7 @@ Add to `~/.config/zed/settings.json`:
25
```json
26
{
27
"agent_servers": {
28
- "siGit": {
28
+ "siGit Code": {
29
"type": "custom",
30
"command": "/absolute/path/to/sigit"
31
}
@@ -41,4 +41,4 @@ Running `sigit` directly in a terminal opens an interactive chat UI. Same model,
41
42
## Copyright
43
44
-2026 Seto Elkahfi.
\ No newline at end of file
44
+2026 smbCloud (Splitfire AB).
src/chat.rs
+2
-2
@@ -169,7 +169,7 @@ impl App {
169
fn finish_loading(&mut self) {
170
self.is_loading = false;
171
for line in BANNER_ART.lines() {
172
- self.messages.push(ChatMessage::system(line));
172
+ self.messages.push(ChatMessage::banner(line));
173
}
174
self.messages.push(ChatMessage::system(""));
175
self.messages.push(ChatMessage::system(format!(
@@ -460,7 +460,7 @@ fn render_messages(frame: &mut Frame, app: &mut App, area: ratatui::layout::Rect
460
let buf_lines: Vec<&str> = app.stream_buf.split('\n').collect();
461
for (i, segment) in buf_lines.iter().enumerate() {
462
if i > 0 {
463
- lines.push(Line::from(spans.drain(..).collect::<Vec<_>>()));
463
+ lines.push(Line::from(std::mem::take(&mut spans)));
464
// Continuation lines get no prefix.
465
}
466
spans.push(Span::raw(segment.to_string()));
src/main.rs
+1
-1
@@ -22,7 +22,7 @@
22
//! ```json
23
//! {
24
//! "agent_servers": {
25
-//! "siGit": {
25
+//! "siGit Code": {
26
//! "type": "custom",
27
//! "command": "/absolute/path/to/target/release/sigit"
28
//! }