Commit af4809fb
af4809fbfb40Merged
Scott Nixon <[email protected]> ยท 5 months ago ยท 6 files ยท ~6 modified
Description
feat(attractor-quality,attractor-cli): trust store, LLM enrichment stub, Trust CLI commands
Implements attractor-ido (trust store XDG JSON + prompt_and_add) and attractor-g5g (enrich stub with file filtering + enrich_needed logic). Wires Trust subcommand (add/remove/list) into the CLI main dispatch.
Details
- Commit
- af4809fbfb40
- Parent
- b24eabdcaf08
Cargo.lockmodifiedView file
@@ -176,6 +176,7 @@
176176
"attractor-types",177177
"chrono",178178
"clap",179+
"dialoguer",179180
"regex",180181
"serde",181182
"serde_json",@@ -222,6 +223,7 @@
222223
"attractor-agent",223224
"attractor-dot",224225
"attractor-llm",226+
"attractor-quality",225227
"attractor-tools",226228
"attractor-types",227229
"chrono",@@ -241,6 +243,8 @@
241243
version = "0.7.1"242244
dependencies = [243245
"blake3",246+
"chrono",247+
"dirs",244248
"serde",245249
"serde_json",246250
"tempfile",@@ -623,6 +627,18 @@
623627
]624628
625629
[[package]]630+
name = "console"631+
version = "0.16.3"632+
source = "registry+https://github.com/rust-lang/crates.io-index"633+
checksum = "d64e8af5551369d19cf50138de61f1c42074ab970f74e99be916646777f8fc87"634+
dependencies = [635+
"encode_unicode",636+
"libc",637+
"unicode-width",638+
"windows-sys 0.61.2",639+
]640+
641+
[[package]]626642
name = "console_error_panic_hook"627643
version = "0.1.7"628644
source = "registry+https://github.com/rust-lang/crates.io-index"@@ -795,6 +811,18 @@
795811
]796812
797813
[[package]]814+
name = "dialoguer"815+
version = "0.12.0"816+
source = "registry+https://github.com/rust-lang/crates.io-index"817+
checksum = "25f104b501bf2364e78d0d3974cbc774f738f5865306ed128e1e0d7499c0ad96"818+
dependencies = [819+
"console",820+
"shell-words",821+
"tempfile",822+
"zeroize",823+
]824+
825+
[[package]]798826
name = "digest"799827
version = "0.10.7"800828
source = "registry+https://github.com/rust-lang/crates.io-index"@@ -807,6 +835,27 @@
807835
]808836
809837
[[package]]838+
name = "dirs"839+
version = "5.0.1"840+
source = "registry+https://github.com/rust-lang/crates.io-index"841+
checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225"842+
dependencies = [843+
"dirs-sys",844+
]845+
846+
[[package]]847+
name = "dirs-sys"848+
version = "0.4.1"849+
source = "registry+https://github.com/rust-lang/crates.io-index"850+
checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c"851+
dependencies = [852+
"libc",853+
"option-ext",854+
"redox_users",855+
"windows-sys 0.48.0",856+
]857+
858+
[[package]]810859
name = "displaydoc"811860
version = "0.2.5"812861
source = "registry+https://github.com/rust-lang/crates.io-index"@@ -861,6 +910,12 @@
861910
]862911
863912
[[package]]913+
name = "encode_unicode"914+
version = "1.0.0"915+
source = "registry+https://github.com/rust-lang/crates.io-index"916+
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"917+
918+
[[package]]864919
name = "encoding_rs"865920
version = "0.8.35"866921
source = "registry+https://github.com/rust-lang/crates.io-index"@@ -2192,6 +2247,12 @@
21922247
checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe"21932248
21942249
[[package]]2250+
name = "option-ext"2251+
version = "0.2.0"2252+
source = "registry+https://github.com/rust-lang/crates.io-index"2253+
checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"2254+
2255+
[[package]]21952256
name = "or_poisoned"21962257
version = "0.1.0"21972258
source = "registry+https://github.com/rust-lang/crates.io-index"@@ -2654,6 +2715,17 @@
26542715
]26552716
26562717
[[package]]2718+
name = "redox_users"2719+
version = "0.4.6"2720+
source = "registry+https://github.com/rust-lang/crates.io-index"2721+
checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"2722+
dependencies = [2723+
"getrandom 0.2.17",2724+
"libredox",2725+
"thiserror 1.0.69",2726+
]2727+
2728+
[[package]]26572729
name = "regex"26582730
version = "1.12.3"26592731
source = "registry+https://github.com/rust-lang/crates.io-index"crates/attractor-cli/src/main.rsmodifiedView file
Loading diffโฆ
crates/attractor-quality/Cargo.tomlmodifiedView file
Loading diffโฆ
crates/attractor-quality/src/enrich.rsmodifiedView file
Loading diffโฆ
crates/attractor-quality/src/lib.rsmodifiedView file
Loading diffโฆ
crates/attractor-quality/src/trust.rsmodifiedView file
Loading diffโฆ