From bf648391430f86fc73c0b55acd985799b14a2fe4 Mon Sep 17 00:00:00 2001 From: Parfii-bot Date: Sat, 2 May 2026 21:40:46 +0800 Subject: [PATCH] chore(workspace): SSoT inheritance + version unification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Group E — Cargo workspace hygiene (post-audit 2026-05-02). Workspace dependency inheritance: - 40+ member crates migrated from inline dep pinning to { workspace = true }. Was: every crate redeclared clap/serde/rusqlite/tokio/etc inline, defeating the [workspace.dependencies] SSoT and forcing N edits per upgrade. Authoritative pins now live solely in _primitives/_rust/Cargo.toml. Major version splits resolved: - dashmap: 5 vs 6 (kei-cortex/kei-gateway) -> 6 in workspace - tower: 0.4 vs 0.5 (kei-cortex/kei-forge) -> 0.5 in workspace - notify: 6 vs 8 (kei-projects-watcher/kei-watch+kei-skills) -> 8 in workspace - thiserror: 1 vs 2 (workspace/keisei) -> kept 1; keisei downgraded Closed: dual-major compilation = wasted build time + ABI mismatch risk at trait boundaries. Profile / orphan cleanup: - kei-changelog/Cargo.toml: deleted [profile.release] block (workspace member profiles are silently ignored by Cargo since 1.0). - kei-brain-view/Cargo.toml: removed dangling "[workspace] table stripped on merge" comment (orphan from prior decomposition). rust-version SSoT: - 27+ member crates migrated from inline rust-version = "1.75" to rust-version.workspace = true. Workspace declares 1.77; the inline 1.75 pins were stale and misleading (with resolver 2 the workspace MSRV won anyway). cargo check --workspace: clean (only pre-existing sqlx-postgres future-incompat warning + frustration-matrix dead-code warning, neither introduced by this change). Note: _assembler/ lives outside _primitives/_rust workspace, so its Cargo.toml was not touched here. Remaining edition-2024 question for _assembler is a separate decision. Co-Authored-By: Claude Opus 4.7 (1M context) --- _primitives/_rust/Cargo.lock | 94 +++++++++++-------- _primitives/_rust/Cargo.toml | 4 + .../_rust/frustration-matrix/Cargo.toml | 4 +- .../_rust/kei-agent-runtime/Cargo.toml | 22 ++--- _primitives/_rust/kei-artifact/Cargo.toml | 20 ++-- .../_rust/kei-atom-discovery/Cargo.toml | 14 +-- .../_rust/kei-backend-daytona/Cargo.toml | 4 +- _primitives/_rust/kei-brain-view/Cargo.toml | 17 ++-- _primitives/_rust/kei-cache/Cargo.toml | 12 +-- _primitives/_rust/kei-capability/Cargo.toml | 16 ++-- _primitives/_rust/kei-changelog/Cargo.toml | 14 +-- _primitives/_rust/kei-chat-store/Cargo.toml | 18 ++-- .../_rust/kei-compute-digitalocean/Cargo.toml | 4 +- .../_rust/kei-compute-linode/Cargo.toml | 4 +- .../_rust/kei-compute-vultr/Cargo.toml | 4 +- .../_rust/kei-conflict-scan/Cargo.toml | 8 +- .../_rust/kei-content-store/Cargo.toml | 20 ++-- .../_rust/kei-cron-scheduler/Cargo.toml | 4 +- _primitives/_rust/kei-crossdomain/Cargo.toml | 18 ++-- _primitives/_rust/kei-curator/Cargo.toml | 18 ++-- _primitives/_rust/kei-db-contract/Cargo.toml | 2 +- _primitives/_rust/kei-decision/Cargo.toml | 4 +- _primitives/_rust/kei-decompose/Cargo.toml | 4 +- _primitives/_rust/kei-diff/Cargo.toml | 4 +- _primitives/_rust/kei-discover/Cargo.toml | 16 ++-- _primitives/_rust/kei-dna-index/Cargo.toml | 16 ++-- _primitives/_rust/kei-entity-store/Cargo.toml | 18 ++-- .../_rust/kei-export-trajectories/Cargo.toml | 16 ++-- _primitives/_rust/kei-forge/Cargo.toml | 16 ++-- _primitives/_rust/kei-fork/Cargo.toml | 20 ++-- _primitives/_rust/kei-gateway/Cargo.toml | 6 +- .../_rust/kei-gdrive-import/Cargo.toml | 4 +- .../_rust/kei-git-bitbucket/Cargo.toml | 4 +- _primitives/_rust/kei-git-forgejo/Cargo.toml | 4 +- _primitives/_rust/kei-git-gitea/Cargo.toml | 4 +- _primitives/_rust/kei-git-gitlab/Cargo.toml | 6 +- _primitives/_rust/kei-graph-check/Cargo.toml | 8 +- _primitives/_rust/kei-hibernate/Cargo.toml | 20 ++-- _primitives/_rust/kei-ledger-sign/Cargo.toml | 14 +-- _primitives/_rust/kei-ledger/Cargo.toml | 16 ++-- .../_rust/kei-llm-bridge-mlx/Cargo.toml | 6 +- _primitives/_rust/kei-llm-mlx/Cargo.toml | 4 +- _primitives/_rust/kei-llm-ollama/Cargo.toml | 4 +- _primitives/_rust/kei-llm-router/Cargo.toml | 4 +- .../_rust/kei-machine-probe/Cargo.toml | 4 +- _primitives/_rust/kei-mcp/Cargo.toml | 8 +- .../_rust/kei-memory-postgres/Cargo.toml | 4 +- _primitives/_rust/kei-memory-redis/Cargo.toml | 6 +- _primitives/_rust/kei-memory-sled/Cargo.toml | 4 +- .../_rust/kei-memory-sqlite/Cargo.toml | 4 +- _primitives/_rust/kei-memory/Cargo.toml | 20 ++-- _primitives/_rust/kei-migrate/Cargo.toml | 14 +-- _primitives/_rust/kei-model-router/Cargo.toml | 10 +- _primitives/_rust/kei-model/Cargo.toml | 4 +- _primitives/_rust/kei-net-ipsec/Cargo.toml | 4 +- _primitives/_rust/kei-net-openvpn/Cargo.toml | 4 +- .../_rust/kei-notify-telegram/Cargo.toml | 4 +- _primitives/_rust/kei-pet/Cargo.toml | 22 ++--- _primitives/_rust/kei-ping/Cargo.toml | 4 +- _primitives/_rust/kei-pipe/Cargo.toml | 20 ++-- .../_rust/kei-projects-index/Cargo.toml | 22 ++--- .../_rust/kei-projects-watcher/Cargo.toml | 21 +++-- _primitives/_rust/kei-provision/Cargo.toml | 6 +- _primitives/_rust/kei-prune/Cargo.toml | 14 +-- .../_rust/kei-refactor-engine/Cargo.toml | 4 +- _primitives/_rust/kei-registry/Cargo.toml | 4 +- _primitives/_rust/kei-replay/Cargo.toml | 14 +-- _primitives/_rust/kei-router/Cargo.toml | 8 +- _primitives/_rust/kei-sage/Cargo.toml | 22 ++--- _primitives/_rust/kei-scheduler/Cargo.toml | 20 ++-- _primitives/_rust/kei-search-core/Cargo.toml | 18 ++-- _primitives/_rust/kei-shared/Cargo.toml | 8 +- .../_rust/kei-skill-importer/Cargo.toml | 10 +- _primitives/_rust/kei-skills/Cargo.toml | 16 ++-- _primitives/_rust/kei-social-store/Cargo.toml | 18 ++-- _primitives/_rust/kei-spawn/Cargo.toml | 16 ++-- _primitives/_rust/kei-store/Cargo.toml | 10 +- _primitives/_rust/kei-svc-systemd/Cargo.toml | 6 +- _primitives/_rust/kei-task/Cargo.toml | 18 ++-- _primitives/_rust/kei-tlog/Cargo.toml | 4 +- _primitives/_rust/kei-tty/Cargo.toml | 4 +- _primitives/_rust/kei-watch/Cargo.toml | 14 +-- _primitives/_rust/keisei/Cargo.toml | 20 ++-- 83 files changed, 492 insertions(+), 480 deletions(-) diff --git a/_primitives/_rust/Cargo.lock b/_primitives/_rust/Cargo.lock index 3d018c2..897a6ea 100644 --- a/_primitives/_rust/Cargo.lock +++ b/_primitives/_rust/Cargo.lock @@ -713,7 +713,7 @@ dependencies = [ "rustls-pki-types", "tokio", "tokio-rustls 0.26.4", - "tower 0.5.3", + "tower", "tracing", ] @@ -889,7 +889,7 @@ dependencies = [ "sync_wrapper 1.0.2", "tokio", "tokio-tungstenite 0.24.0", - "tower 0.5.3", + "tower", "tower-layer", "tower-service", "tracing", @@ -1572,19 +1572,6 @@ dependencies = [ "syn 2.0.117", ] -[[package]] -name = "dashmap" -version = "5.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" -dependencies = [ - "cfg-if", - "hashbrown 0.14.5", - "lock_api", - "once_cell", - "parking_lot_core 0.9.12", -] - [[package]] name = "dashmap" version = "6.1.0" @@ -3030,6 +3017,21 @@ dependencies = [ "uuid", ] +[[package]] +name = "jsonwebtoken" +version = "9.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" +dependencies = [ + "base64 0.22.1", + "js-sys", + "pem", + "ring", + "serde", + "serde_json", + "simple_asn1", +] + [[package]] name = "kei-agent-runtime" version = "0.1.0" @@ -3097,10 +3099,13 @@ version = "0.1.0" dependencies = [ "async-trait", "base64 0.22.1", + "jsonwebtoken", "kei-runtime-core", "reqwest 0.12.28", "serde", "serde_json", + "sha2 0.10.9", + "subtle", "thiserror 1.0.69", "tokio", "wiremock", @@ -3111,10 +3116,13 @@ name = "kei-auth-google" version = "0.1.0" dependencies = [ "async-trait", + "base64 0.22.1", "kei-runtime-core", "reqwest 0.12.28", "serde", "serde_json", + "sha2 0.10.9", + "subtle", "thiserror 1.0.69", "tokio", "wiremock", @@ -3333,7 +3341,7 @@ dependencies = [ "bytes", "chrono", "clap", - "dashmap 5.5.3", + "dashmap", "futures", "kei-ledger", "kei-model", @@ -3358,7 +3366,7 @@ dependencies = [ "tokio-stream", "tokio-util", "toml", - "tower 0.4.13", + "tower", "tower-http 0.5.2", "url", "uuid", @@ -3522,7 +3530,7 @@ dependencies = [ "serde_json", "tempfile", "tokio", - "tower 0.5.3", + "tower", "tracing", "tracing-subscriber", ] @@ -3564,7 +3572,7 @@ dependencies = [ "async-trait", "blake3", "chrono", - "dashmap 6.1.0", + "dashmap", "futures", "lru", "pretty_assertions", @@ -4251,6 +4259,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.9", + "subtle", "thiserror 1.0.69", "tokio", ] @@ -4475,7 +4484,7 @@ dependencies = [ "serde_json", "serde_yaml", "tempfile", - "thiserror 2.0.18", + "thiserror 1.0.69", "toml", ] @@ -5219,6 +5228,16 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec" +[[package]] +name = "pem" +version = "3.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +dependencies = [ + "base64 0.22.1", + "serde_core", +] + [[package]] name = "pem-rfc7468" version = "0.7.0" @@ -5875,7 +5894,7 @@ dependencies = [ "tokio", "tokio-rustls 0.26.4", "tokio-util", - "tower 0.5.3", + "tower", "tower-http 0.6.8", "tower-service", "url", @@ -6594,6 +6613,18 @@ version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +[[package]] +name = "simple_asn1" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d585997b0ac10be3c5ee635f1bab02d512760d14b7c468801ac8a01d9ae5f1d" +dependencies = [ + "num-bigint", + "num-traits", + "thiserror 2.0.18", + "time", +] + [[package]] name = "siphasher" version = "1.0.2" @@ -7329,7 +7360,6 @@ dependencies = [ "bytes", "libc", "mio 1.2.0", - "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", "socket2 0.6.3", @@ -7516,23 +7546,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801" -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tokio-util", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "tower" version = "0.5.3" @@ -7544,6 +7557,7 @@ dependencies = [ "pin-project-lite", "sync_wrapper 1.0.2", "tokio", + "tokio-util", "tower-layer", "tower-service", "tracing", @@ -7579,7 +7593,7 @@ dependencies = [ "http-body 1.0.1", "iri-string", "pin-project-lite", - "tower 0.5.3", + "tower", "tower-layer", "tower-service", ] diff --git a/_primitives/_rust/Cargo.toml b/_primitives/_rust/Cargo.toml index 5e62b09..fd641ee 100644 --- a/_primitives/_rust/Cargo.toml +++ b/_primitives/_rust/Cargo.toml @@ -224,6 +224,10 @@ lru = "0.12" nix = { version = "0.29", default-features = false, features = ["fs"] } # A2.1 — kei-import-project trait pattern matcher (syn AST parsing) syn = { version = "2", features = ["full"] } +# Fix 2: hoisted from member crates for SSoT +dashmap = "6" +tower = { version = "0.5", features = ["limit", "buffer", "util"] } +notify = "8" [profile.release] opt-level = "z" diff --git a/_primitives/_rust/frustration-matrix/Cargo.toml b/_primitives/_rust/frustration-matrix/Cargo.toml index ccbafb1..a1f14a7 100644 --- a/_primitives/_rust/frustration-matrix/Cargo.toml +++ b/_primitives/_rust/frustration-matrix/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "frustration-matrix" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Longitudinal user-frustration matrix — regex-based chatlog scan (no ML)" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-agent-runtime/Cargo.toml b/_primitives/_rust/kei-agent-runtime/Cargo.toml index 8f7b302..4b4a57d 100644 --- a/_primitives/_rust/kei-agent-runtime/Cargo.toml +++ b/_primitives/_rust/kei-agent-runtime/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-agent-runtime" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Agent substrate v1 — Capability trait + registry + compose/spawn/verify runtime" authors = ["Denis Parfionovich "] @@ -15,21 +15,21 @@ name = "kei_agent_runtime" path = "src/lib.rs" [dependencies] -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -toml = "0.8" -anyhow = "1" -thiserror = "1" -regex = "1" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +toml = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } +regex = { workspace = true } once_cell = "1" -walkdir = "2" +walkdir = { workspace = true } sha2 = { workspace = true } rand = "0.8" kei-shared = { path = "../kei-shared" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-artifact/Cargo.toml b/_primitives/_rust/kei-artifact/Cargo.toml index ae986bf..a0c18ef 100644 --- a/_primitives/_rust/kei-artifact/Cargo.toml +++ b/_primitives/_rust/kei-artifact/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-artifact" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Typed artifact handoff pipeline — BMAD-style document pass-between agents with JSON Schema validation" authors = ["Denis Parfionovich "] @@ -15,13 +15,13 @@ name = "kei_artifact" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -sha2 = "0.10" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +sha2 = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-atom-discovery/Cargo.toml b/_primitives/_rust/kei-atom-discovery/Cargo.toml index ff6dfb4..4db0ba6 100644 --- a/_primitives/_rust/kei-atom-discovery/Cargo.toml +++ b/_primitives/_rust/kei-atom-discovery/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-atom-discovery" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Shared atom discovery + frontmatter parsing + safe path join" authors = ["Denis Parfionovich "] @@ -11,13 +11,13 @@ name = "kei_atom_discovery" path = "src/lib.rs" [dependencies] -serde = { version = "1", features = ["derive"] } -serde_yaml_ng = "0.10" -walkdir = "2" -thiserror = "1" +serde = { workspace = true } +serde_yaml_ng = { workspace = true } +walkdir = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-backend-daytona/Cargo.toml b/_primitives/_rust/kei-backend-daytona/Cargo.toml index 9baf030..94d74ad 100644 --- a/_primitives/_rust/kei-backend-daytona/Cargo.toml +++ b/_primitives/_rust/kei-backend-daytona/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-backend-daytona" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Daytona serverless backend with hibernation (HERMES-MIGRATION P1.2). Resume-or-create sandboxes via REST." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-brain-view/Cargo.toml b/_primitives/_rust/kei-brain-view/Cargo.toml index c5e9702..820cc56 100644 --- a/_primitives/_rust/kei-brain-view/Cargo.toml +++ b/_primitives/_rust/kei-brain-view/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-brain-view" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Read-only TUI/CLI visualizer of kei-ledger taxonomy graph + agent lineage (Wave 14)" authors = ["Denis Parfionovich "] @@ -15,14 +15,11 @@ name = "kei_brain_view" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -thiserror = "1" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +thiserror = { workspace = true } kei-dna-index = { path = "../kei-dna-index" } [dev-dependencies] -tempfile = "3" - -# Empty [workspace] table so the crate stands alone during agent dev. -# Orchestrator strips this on merge and adds the crate to the parent +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-cache/Cargo.toml b/_primitives/_rust/kei-cache/Cargo.toml index 994138a..c120b11 100644 --- a/_primitives/_rust/kei-cache/Cargo.toml +++ b/_primitives/_rust/kei-cache/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-cache" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Atom result cache — deterministic wrapping of pure (query/transform) atom invocations" authors = ["Denis Parfionovich "] @@ -15,14 +15,14 @@ name = "kei_cache" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } +rusqlite = { workspace = true } clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } sha2 = { workspace = true } -anyhow = "1" -thiserror = "1" +anyhow = { workspace = true } +thiserror = { workspace = true } kei-atom-discovery = { path = "../kei-atom-discovery" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-capability/Cargo.toml b/_primitives/_rust/kei-capability/Cargo.toml index f6d2513..cd59322 100644 --- a/_primitives/_rust/kei-capability/Cargo.toml +++ b/_primitives/_rust/kei-capability/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-capability" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Hook-protocol CLI adapter — routes PreToolUse check + on-return verify to kei-agent-runtime capabilities" authors = ["Denis Parfionovich "] @@ -16,14 +16,14 @@ path = "src/lib.rs" [dependencies] kei-agent-runtime = { path = "../kei-agent-runtime" } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -toml = "0.8" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +toml = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-changelog/Cargo.toml b/_primitives/_rust/kei-changelog/Cargo.toml index 98b04d6..b2761e5 100644 --- a/_primitives/_rust/kei-changelog/Cargo.toml +++ b/_primitives/_rust/kei-changelog/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kei-changelog" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "Git-cliff-style CHANGELOG.md generator from Conventional Commits." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -14,12 +14,8 @@ path = "src/main.rs" path = "src/lib.rs" [dependencies] -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } -clap = { version = "4", features = ["derive"] } +anyhow = { workspace = true } +chrono = { workspace = true } +clap = { workspace = true } git2 = { version = "0.19", default-features = false } -regex = "1" - -[profile.release] -opt-level = 3 -lto = "thin" +regex = { workspace = true } diff --git a/_primitives/_rust/kei-chat-store/Cargo.toml b/_primitives/_rust/kei-chat-store/Cargo.toml index 116fe33..b9ae5d2 100644 --- a/_primitives/_rust/kei-chat-store/Cargo.toml +++ b/_primitives/_rust/kei-chat-store/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-chat-store" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Session persistence for Claude conversations. Port of LBM internal/chat." authors = ["Denis Parfionovich "] @@ -16,13 +16,13 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } uuid = { version = "1", features = ["v4"] } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-compute-digitalocean/Cargo.toml b/_primitives/_rust/kei-compute-digitalocean/Cargo.toml index fe081e2..d182f2d 100644 --- a/_primitives/_rust/kei-compute-digitalocean/Cargo.toml +++ b/_primitives/_rust/kei-compute-digitalocean/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-compute-digitalocean" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "DigitalOcean ComputeProvider impl for kei-runtime-core (Wave 2 redo). REST v2 + bearer-token auth, mocked tests via wiremock." license = "Apache-2.0" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-compute-linode/Cargo.toml b/_primitives/_rust/kei-compute-linode/Cargo.toml index c4d134e..b3ef430 100644 --- a/_primitives/_rust/kei-compute-linode/Cargo.toml +++ b/_primitives/_rust/kei-compute-linode/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-compute-linode" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "ComputeProvider impl for Linode (Akamai Cloud) v4 API. Wave 2 atomar — sibling of kei-compute-hetzner. Honors LINODE_TOKEN env ref per RULE 0.8." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-compute-vultr/Cargo.toml b/_primitives/_rust/kei-compute-vultr/Cargo.toml index 975401c..265cebd 100644 --- a/_primitives/_rust/kei-compute-vultr/Cargo.toml +++ b/_primitives/_rust/kei-compute-vultr/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-compute-vultr" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Vultr Cloud (v2 API) implementation of the kei-runtime-core ComputeProvider trait" authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-conflict-scan/Cargo.toml b/_primitives/_rust/kei-conflict-scan/Cargo.toml index da76c1e..0a8a267 100644 --- a/_primitives/_rust/kei-conflict-scan/Cargo.toml +++ b/_primitives/_rust/kei-conflict-scan/Cargo.toml @@ -17,9 +17,9 @@ path = "src/lib.rs" clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -regex = "1" -walkdir = "2" -anyhow = "1" +regex = { workspace = true } +walkdir = { workspace = true } +anyhow = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-content-store/Cargo.toml b/_primitives/_rust/kei-content-store/Cargo.toml index c023989..573790a 100644 --- a/_primitives/_rust/kei-content-store/Cargo.toml +++ b/_primitives/_rust/kei-content-store/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-content-store" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Asset + prompt + campaign registry. Port of LBM internal/content." authors = ["Denis Parfionovich "] @@ -16,13 +16,13 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } -sha2 = "0.10" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } +sha2 = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-cron-scheduler/Cargo.toml b/_primitives/_rust/kei-cron-scheduler/Cargo.toml index 8f63013..edc32bc 100644 --- a/_primitives/_rust/kei-cron-scheduler/Cargo.toml +++ b/_primitives/_rust/kei-cron-scheduler/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-cron-scheduler" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "P4.2 — Hermes-equivalent cron/at/interval scheduler with JSON persistence." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-crossdomain/Cargo.toml b/_primitives/_rust/kei-crossdomain/Cargo.toml index b15f1a4..f43c7a5 100644 --- a/_primitives/_rust/kei-crossdomain/Cargo.toml +++ b/_primitives/_rust/kei-crossdomain/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-crossdomain" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Typed-edge cross-domain store. Port of LBM internal/crossdomain." authors = ["Denis Parfionovich "] @@ -16,12 +16,12 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-curator/Cargo.toml b/_primitives/_rust/kei-curator/Cargo.toml index 31e0b4c..58d6eca 100644 --- a/_primitives/_rust/kei-curator/Cargo.toml +++ b/_primitives/_rust/kei-curator/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-curator" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Edge-decay + orphan-prune graph hygiene. Port of LBM internal/curator." authors = ["Denis Parfionovich "] @@ -15,12 +15,12 @@ name = "kei_curator" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-db-contract/Cargo.toml b/_primitives/_rust/kei-db-contract/Cargo.toml index b95cd02..bf0e3bd 100644 --- a/_primitives/_rust/kei-db-contract/Cargo.toml +++ b/_primitives/_rust/kei-db-contract/Cargo.toml @@ -25,4 +25,4 @@ anyhow = { workspace = true } sqlparser = "0.51" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-decision/Cargo.toml b/_primitives/_rust/kei-decision/Cargo.toml index fe95b77..d3d208b 100644 --- a/_primitives/_rust/kei-decision/Cargo.toml +++ b/_primitives/_rust/kei-decision/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-decision" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Linking layer between research output (MASTER-REPORT.md) and decision execution (kei-spawn task.toml + kei-ledger pre-fork)" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-decompose/Cargo.toml b/_primitives/_rust/kei-decompose/Cargo.toml index f55fb63..907ed34 100644 --- a/_primitives/_rust/kei-decompose/Cargo.toml +++ b/_primitives/_rust/kei-decompose/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-decompose" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Universal decomposition layer — turns ANY MD output (research / audit / sleep / architecture / new-project) into kei-spawn-compatible task.toml + dispatch." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-diff/Cargo.toml b/_primitives/_rust/kei-diff/Cargo.toml index c856f42..44703f0 100644 --- a/_primitives/_rust/kei-diff/Cargo.toml +++ b/_primitives/_rust/kei-diff/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-diff" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Structural JSON diff (RFC 6902 subset: add/remove/replace). Pure computation primitive for drift detection in kei-replay and invalidation in kei-cache." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-discover/Cargo.toml b/_primitives/_rust/kei-discover/Cargo.toml index 0ea54c8..e4a1cfc 100644 --- a/_primitives/_rust/kei-discover/Cargo.toml +++ b/_primitives/_rust/kei-discover/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-discover" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Wave 14 — federated marketplace discovery stub for KeiSei primitives (metadata-only)." authors = ["Denis Parfionovich "] @@ -16,11 +16,11 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-dna-index/Cargo.toml b/_primitives/_rust/kei-dna-index/Cargo.toml index 13c438f..51807a1 100644 --- a/_primitives/_rust/kei-dna-index/Cargo.toml +++ b/_primitives/_rust/kei-dna-index/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-dna-index" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Read-only adjacency/cluster/precedent index over kei-ledger DNAs" authors = ["Denis Parfionovich "] @@ -15,12 +15,12 @@ name = "kei_dna_index" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } kei-shared = { path = "../kei-shared" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-entity-store/Cargo.toml b/_primitives/_rust/kei-entity-store/Cargo.toml index f0a1d6c..6f27386 100644 --- a/_primitives/_rust/kei-entity-store/Cargo.toml +++ b/_primitives/_rust/kei-entity-store/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-entity-store" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Convergence-Layer-A engine: schema-driven SQLite CRUD + graph verbs shared across kei-*-store crates (kei-task pilot)." authors = ["Denis Parfionovich "] @@ -11,12 +11,12 @@ name = "kei_entity_store" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -thiserror = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-export-trajectories/Cargo.toml b/_primitives/_rust/kei-export-trajectories/Cargo.toml index 5474ffc..052a8d6 100644 --- a/_primitives/_rust/kei-export-trajectories/Cargo.toml +++ b/_primitives/_rust/kei-export-trajectories/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kei-export-trajectories" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "Export agent trajectories to ShareGPT JSONL format." authors = ["Denis Parfionovich "] @@ -19,13 +19,13 @@ path = "src/lib.rs" [dependencies] # rusqlite "bundled" matches every other primitive in this workspace — # no system-libsqlite3 surprise on macOS / Modal / Daytona. -rusqlite = { version = "0.31", features = ["bundled"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -clap = { version = "4", features = ["derive"] } +rusqlite = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +clap = { workspace = true } # chrono only used to parse the `--from-ts` ISO-8601 string into an epoch. -chrono = { version = "0.4", default-features = false, features = ["clock"] } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-forge/Cargo.toml b/_primitives/_rust/kei-forge/Cargo.toml index 9b5eba3..11667e1 100644 --- a/_primitives/_rust/kei-forge/Cargo.toml +++ b/_primitives/_rust/kei-forge/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-forge" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Local web wizard for scaffolding new atoms" authors = ["Denis Parfionovich "] @@ -21,13 +21,13 @@ path = "src/lib.rs" [dependencies] axum = "0.7" -tokio = { version = "1", features = ["full"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -tower = "0.5" +tokio = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +tower = { workspace = true } tracing = "0.1" tracing-subscriber = "0.3" [dev-dependencies] -tower = { version = "0.5", features = ["util"] } -tempfile = "3" +tower = { workspace = true } +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-fork/Cargo.toml b/_primitives/_rust/kei-fork/Cargo.toml index f257247..76d514e 100644 --- a/_primitives/_rust/kei-fork/Cargo.toml +++ b/_primitives/_rust/kei-fork/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-fork" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Managed git-worktree + ledger lifecycle for agent spawns (Wave 15 foundation)" authors = ["Denis Parfionovich "] @@ -16,13 +16,13 @@ path = "src/lib.rs" [dependencies] kei-agent-runtime = { path = "../kei-agent-runtime" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -toml = "0.8" -thiserror = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +toml = { workspace = true } +thiserror = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-gateway/Cargo.toml b/_primitives/_rust/kei-gateway/Cargo.toml index 3c41d84..aa71b57 100644 --- a/_primitives/_rust/kei-gateway/Cargo.toml +++ b/_primitives/_rust/kei-gateway/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-gateway" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "P4.1 — Unified messaging gateway: platform adapters, sessions, agent cache, delivery router." authors = ["Denis Parfionovich "] @@ -41,7 +41,7 @@ thiserror = { workspace = true } lru = { workspace = true } sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "macros", "chrono"] } blake3 = "1" -dashmap = "6" +dashmap = { workspace = true } # Optional — only pulled when the `telegram` feature is enabled. teloxide = { version = "0.13", default-features = false, features = ["rustls", "ctrlc_handler"], optional = true } futures = { workspace = true, optional = true } diff --git a/_primitives/_rust/kei-gdrive-import/Cargo.toml b/_primitives/_rust/kei-gdrive-import/Cargo.toml index 5df1581..9264add 100644 --- a/_primitives/_rust/kei-gdrive-import/Cargo.toml +++ b/_primitives/_rust/kei-gdrive-import/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-gdrive-import" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Project-folder classifier for one-shot Google Drive → Forgejo import. Detects build manifests (Cargo.toml, package.json, pyproject.toml, go.mod, pom.xml, build.gradle, Gemfile, composer.json) and emits PROJECT/AMBIGUOUS/NOT-A-PROJECT/ALREADY-REPO verdicts." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-git-bitbucket/Cargo.toml b/_primitives/_rust/kei-git-bitbucket/Cargo.toml index 7c23153..f810f0f 100644 --- a/_primitives/_rust/kei-git-bitbucket/Cargo.toml +++ b/_primitives/_rust/kei-git-bitbucket/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-git-bitbucket" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Bitbucket Cloud GitBackend impl for kei-runtime-core (Wave 5). REST v2.0 + HTTP Basic auth (username + app password), mocked tests via wiremock." license = "Apache-2.0" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-git-forgejo/Cargo.toml b/_primitives/_rust/kei-git-forgejo/Cargo.toml index 0fe2c65..4e26e5a 100644 --- a/_primitives/_rust/kei-git-forgejo/Cargo.toml +++ b/_primitives/_rust/kei-git-forgejo/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-git-forgejo" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "GitBackend impl for public Forgejo (Gitea-compatible /api/v1). Wave 5 atomar; sibling of kei-git-keigit (private)." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-git-gitea/Cargo.toml b/_primitives/_rust/kei-git-gitea/Cargo.toml index 7fa3dfb..6a9b42d 100644 --- a/_primitives/_rust/kei-git-gitea/Cargo.toml +++ b/_primitives/_rust/kei-git-gitea/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-git-gitea" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "GitBackend impl for Gitea (gitea.com / self-hosted) over /api/v1. Wave 5 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-git-gitlab/Cargo.toml b/_primitives/_rust/kei-git-gitlab/Cargo.toml index 7b247bd..e2609b7 100644 --- a/_primitives/_rust/kei-git-gitlab/Cargo.toml +++ b/_primitives/_rust/kei-git-gitlab/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-git-gitlab" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "GitBackend impl for GitLab.com SaaS (and self-hosted via GITLAB_URL). REST API v4 + PRIVATE-TOKEN auth + git CLI shell-out for clone/push. Wave 5 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -12,7 +12,7 @@ name = "kei_git_gitlab" path = "src/lib.rs" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } thiserror = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/_primitives/_rust/kei-graph-check/Cargo.toml b/_primitives/_rust/kei-graph-check/Cargo.toml index 00b4b8c..3d898dd 100644 --- a/_primitives/_rust/kei-graph-check/Cargo.toml +++ b/_primitives/_rust/kei-graph-check/Cargo.toml @@ -17,9 +17,9 @@ path = "src/lib.rs" clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -regex = "1" -walkdir = "2" -anyhow = "1" +regex = { workspace = true } +walkdir = { workspace = true } +anyhow = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-hibernate/Cargo.toml b/_primitives/_rust/kei-hibernate/Cargo.toml index 17a8e5f..4a403a3 100644 --- a/_primitives/_rust/kei-hibernate/Cargo.toml +++ b/_primitives/_rust/kei-hibernate/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-hibernate" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Whole-brain export/import — tar.zst bundle of KeiSeiKit state (Wave 14)" authors = ["Denis Parfionovich "] @@ -17,13 +17,13 @@ path = "src/lib.rs" [dependencies] tar = "0.4" zstd = "0.13" -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -toml = "0.8" -thiserror = "1" -sha2 = "0.10" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +toml = { workspace = true } +thiserror = { workspace = true } +sha2 = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-ledger-sign/Cargo.toml b/_primitives/_rust/kei-ledger-sign/Cargo.toml index 4a30f44..a03270d 100644 --- a/_primitives/_rust/kei-ledger-sign/Cargo.toml +++ b/_primitives/_rust/kei-ledger-sign/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-ledger-sign" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "ed25519 signing of ledger rows for creator attestation (RULE 0.12 companion)" authors = ["Denis Parfionovich "] @@ -18,11 +18,11 @@ path = "src/lib.rs" ed25519-dalek = "2" rand = "0.8" rand_core = "0.6" -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } hex = "0.4" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-ledger/Cargo.toml b/_primitives/_rust/kei-ledger/Cargo.toml index 045930c..fa83103 100644 --- a/_primitives/_rust/kei-ledger/Cargo.toml +++ b/_primitives/_rust/kei-ledger/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-ledger" version = "0.2.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Agent fork / done / fail ledger — SQLite-backed, SSoT for RULE 0.12. v0.2 adds schema v6 cost tracking + library API." authors = ["Denis Parfionovich "] @@ -15,11 +15,11 @@ name = "kei_ledger" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +chrono = { workspace = true, features = ["serde"] } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-llm-bridge-mlx/Cargo.toml b/_primitives/_rust/kei-llm-bridge-mlx/Cargo.toml index 4e31c47..5f0ee3c 100644 --- a/_primitives/_rust/kei-llm-bridge-mlx/Cargo.toml +++ b/_primitives/_rust/kei-llm-bridge-mlx/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-llm-bridge-mlx" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "LlmBackend trait-bridge wrapping kei-llm-mlx (Wave 59, Apple Silicon only). Wave 4 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -12,7 +12,7 @@ name = "kei_llm_bridge_mlx" path = "src/lib.rs" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } kei-runtime-core = { path = "../kei-runtime-core" } diff --git a/_primitives/_rust/kei-llm-mlx/Cargo.toml b/_primitives/_rust/kei-llm-mlx/Cargo.toml index feb8201..31d9aa8 100644 --- a/_primitives/_rust/kei-llm-mlx/Cargo.toml +++ b/_primitives/_rust/kei-llm-mlx/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-llm-mlx" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Wave 59 — Apple MLX adapter (mlx_lm shell-out, macOS Apple Silicon only). Parallel sibling of kei-llm-ollama (W57) and kei-llm-llamacpp (W58). Glued by kei-llm-router (W60)." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-llm-ollama/Cargo.toml b/_primitives/_rust/kei-llm-ollama/Cargo.toml index 7a0bf6e..14993c7 100644 --- a/_primitives/_rust/kei-llm-ollama/Cargo.toml +++ b/_primitives/_rust/kei-llm-ollama/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-llm-ollama" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "HTTP adapter for the Ollama daemon (localhost:11434). Wave 57 of the local-LLM stack — wraps existing Ollama, does not reinvent inference." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-llm-router/Cargo.toml b/_primitives/_rust/kei-llm-router/Cargo.toml index 97d21ab..ff1d512 100644 --- a/_primitives/_rust/kei-llm-router/Cargo.toml +++ b/_primitives/_rust/kei-llm-router/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-llm-router" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Wave 60 — UNIVERSAL local-LLM backend selector. Glues W55-W59 (kei-model + kei-machine-probe + kei-llm-{ollama,llamacpp,mlx}) into a single route(machine, model_id, opts) decision." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-machine-probe/Cargo.toml b/_primitives/_rust/kei-machine-probe/Cargo.toml index 2e9d5c3..dcb125b 100644 --- a/_primitives/_rust/kei-machine-probe/Cargo.toml +++ b/_primitives/_rust/kei-machine-probe/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-machine-probe" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Wave 56 — Mac hardware/OS/tooling capability detector. Foundation for the local-LLM stack (Waves 57-60: ollama / llamacpp / mlx / router)." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-mcp/Cargo.toml b/_primitives/_rust/kei-mcp/Cargo.toml index 356839a..93d824e 100644 --- a/_primitives/_rust/kei-mcp/Cargo.toml +++ b/_primitives/_rust/kei-mcp/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-mcp" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Model Context Protocol (MCP) server — exposes atom registry over stdio JSON-RPC" authors = ["Denis Parfionovich "] @@ -17,14 +17,14 @@ path = "src/lib.rs" [dependencies] serde = { workspace = true } serde_json = { workspace = true } -tokio = { version = "1", features = ["rt", "macros", "io-util", "io-std", "process", "time"] } +tokio = { workspace = true } anyhow = { workspace = true } kei-atom-discovery = { path = "../kei-atom-discovery" } kei-skills = { path = "../kei-skills" } [dev-dependencies] tempfile = { workspace = true } -tokio = { version = "1", features = ["rt", "macros", "io-util", "io-std", "process", "time", "test-util"] } +tokio = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-memory-postgres/Cargo.toml b/_primitives/_rust/kei-memory-postgres/Cargo.toml index 0ebb6e4..29fbe6b 100644 --- a/_primitives/_rust/kei-memory-postgres/Cargo.toml +++ b/_primitives/_rust/kei-memory-postgres/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-memory-postgres" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "MemoryBackend impl over PostgreSQL (tokio-postgres) for kei-runtime-core" authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-memory-redis/Cargo.toml b/_primitives/_rust/kei-memory-redis/Cargo.toml index 64f6d21..f992a07 100644 --- a/_primitives/_rust/kei-memory-redis/Cargo.toml +++ b/_primitives/_rust/kei-memory-redis/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-memory-redis" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "MemoryBackend trait-impl backed by Redis 7+ (async). Wave 6 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -12,7 +12,7 @@ name = "kei_memory_redis" path = "src/lib.rs" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } thiserror = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/_primitives/_rust/kei-memory-sled/Cargo.toml b/_primitives/_rust/kei-memory-sled/Cargo.toml index 931c78e..9a48766 100644 --- a/_primitives/_rust/kei-memory-sled/Cargo.toml +++ b/_primitives/_rust/kei-memory-sled/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-memory-sled" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "MemoryBackend impl over sled (embedded key-value store) for kei-runtime-core" authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-memory-sqlite/Cargo.toml b/_primitives/_rust/kei-memory-sqlite/Cargo.toml index 0699e2c..18f8fc6 100644 --- a/_primitives/_rust/kei-memory-sqlite/Cargo.toml +++ b/_primitives/_rust/kei-memory-sqlite/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-memory-sqlite" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "MemoryBackend impl over SQLite (rusqlite bundled). Wave 6 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-memory/Cargo.toml b/_primitives/_rust/kei-memory/Cargo.toml index ca30f56..82a5e71 100644 --- a/_primitives/_rust/kei-memory/Cargo.toml +++ b/_primitives/_rust/kei-memory/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-memory" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Session retrospective + recurring pattern detector (offline-first, RULE 0.14)" authors = ["Denis Parfionovich "] @@ -15,13 +15,13 @@ name = "kei-memory" path = "src/main.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } -regex = "1" -thiserror = "1" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +chrono = { workspace = true, features = ["serde"] } +regex = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-migrate/Cargo.toml b/_primitives/_rust/kei-migrate/Cargo.toml index ac2ae6b..3209b50 100644 --- a/_primitives/_rust/kei-migrate/Cargo.toml +++ b/_primitives/_rust/kei-migrate/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kei-migrate" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "Universal SQL migration runner — Postgres/SQLite/MySQL autodetect from DATABASE_URL" authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -11,10 +11,10 @@ name = "kei-migrate" path = "src/main.rs" [dependencies] -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } -clap = { version = "4", features = ["derive", "env"] } -sha2 = "0.10" +anyhow = { workspace = true } +chrono = { workspace = true } +clap = { workspace = true } +sha2 = { workspace = true } sqlx = { version = "0.8", default-features = false, features = [ "runtime-tokio", "tls-rustls", @@ -23,7 +23,7 @@ sqlx = { version = "0.8", default-features = false, features = [ "sqlite", "mysql", ] } -tokio = { version = "1", features = ["rt-multi-thread", "macros", "fs"] } +tokio = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-model-router/Cargo.toml b/_primitives/_rust/kei-model-router/Cargo.toml index e3b17d1..fee63fd 100644 --- a/_primitives/_rust/kei-model-router/Cargo.toml +++ b/_primitives/_rust/kei-model-router/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kei-model-router" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "Model selection (Haiku/Sonnet/Opus) for Claude Code Agent spawns. Empirical-posterior decision rule keyed on task-class DNA + Beta posterior + cost minimization." authors = ["Denis Parfionovich "] @@ -13,9 +13,9 @@ name = "kei-model-router" path = "src/main.rs" [dependencies] -serde = { version = "1", features = ["derive"] } -serde_json = "1" -rusqlite = { version = "0.31", features = ["bundled"] } +serde = { workspace = true } +serde_json = { workspace = true } +rusqlite = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-model/Cargo.toml b/_primitives/_rust/kei-model/Cargo.toml index f4027ed..bc23ff2 100644 --- a/_primitives/_rust/kei-model/Cargo.toml +++ b/_primitives/_rust/kei-model/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-model" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Universal model registry + selector. SSoT TOML catalog of LLM models across 6 providers with pricing, capabilities, role-tags, and fallback chains. Closes the META-gap of hardcoded MODEL constants in kei-cortex/kei-router/kei-spawn." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-net-ipsec/Cargo.toml b/_primitives/_rust/kei-net-ipsec/Cargo.toml index b4c42fb..17374d5 100644 --- a/_primitives/_rust/kei-net-ipsec/Cargo.toml +++ b/_primitives/_rust/kei-net-ipsec/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-net-ipsec" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Wave 9 — IPsec NetworkMode impl for kei-runtime-core via strongSwan / swanctl shell-out. Public-IP path; sibling of kei-net-tailscale (private-only) and kei-net-wireguard (private-only)." license = "Apache-2.0" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-net-openvpn/Cargo.toml b/_primitives/_rust/kei-net-openvpn/Cargo.toml index dfc6038..7a0bc8d 100644 --- a/_primitives/_rust/kei-net-openvpn/Cargo.toml +++ b/_primitives/_rust/kei-net-openvpn/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-net-openvpn" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "NetworkMode impl for OpenVPN — systemctl start/stop openvpn-server@ + management interface UNIX socket status parser. Wave 9 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-notify-telegram/Cargo.toml b/_primitives/_rust/kei-notify-telegram/Cargo.toml index 9e9c23f..7540496 100644 --- a/_primitives/_rust/kei-notify-telegram/Cargo.toml +++ b/_primitives/_rust/kei-notify-telegram/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-notify-telegram" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "NotifyChannel impl for Telegram Bot API (sendMessage with HTML parse_mode + severity emoji prefix). Wave 8 atomar." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-pet/Cargo.toml b/_primitives/_rust/kei-pet/Cargo.toml index 8fa37d2..001f068 100644 --- a/_primitives/_rust/kei-pet/Cargo.toml +++ b/_primitives/_rust/kei-pet/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-pet" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Pet persona manifest: pet.toml parse, validate, system-prompt overlay. Standard Ed25519 identity. CQRS-compatible; no proprietary math." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -16,19 +16,19 @@ name = "kei_pet" path = "src/lib.rs" [dependencies] -serde = { version = "1", features = ["derive"] } -toml = "0.8" -thiserror = "1" -anyhow = "1" -clap = { version = "4", features = ["derive"] } -chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } +serde = { workspace = true } +toml = { workspace = true } +thiserror = { workspace = true } +anyhow = { workspace = true } +clap = { workspace = true } +chrono = { workspace = true, features = ["serde"] } ed25519-dalek = { version = "2", features = ["rand_core", "std"] } rand_core = { version = "0.6", features = ["std"] } blake3 = "1" hex = "0.4" -rusqlite = { version = "0.31", features = ["bundled"] } -sha2 = "0.10" +rusqlite = { workspace = true } +sha2 = { workspace = true } kei-dna-index = { path = "../kei-dna-index" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-ping/Cargo.toml b/_primitives/_rust/kei-ping/Cargo.toml index cf6cde5..6d94827 100644 --- a/_primitives/_rust/kei-ping/Cargo.toml +++ b/_primitives/_rust/kei-ping/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-ping" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Cross-window agent presence (heartbeat / list / watch). Auto-selects backend: Redis if redis-cli ping == PONG on localhost, else SQLite." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-pipe/Cargo.toml b/_primitives/_rust/kei-pipe/Cargo.toml index 6e73788..c220cd6 100644 --- a/_primitives/_rust/kei-pipe/Cargo.toml +++ b/_primitives/_rust/kei-pipe/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-pipe" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Atom DAG pipe runtime — topo-sorts steps, pipes JSON between atoms." authors = ["Denis Parfionovich "] @@ -15,19 +15,19 @@ name = "kei_pipe" path = "src/lib.rs" [dependencies] -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -toml = "0.8" -anyhow = "1" -thiserror = "1" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +toml = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } kei-cache = { path = "../kei-cache" } kei-watch = { path = "../kei-watch" } kei-scheduler = { path = "../kei-scheduler" } -rusqlite = { version = "0.31", features = ["bundled"] } +rusqlite = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-projects-index/Cargo.toml b/_primitives/_rust/kei-projects-index/Cargo.toml index 7329d54..1c1d776 100644 --- a/_primitives/_rust/kei-projects-index/Cargo.toml +++ b/_primitives/_rust/kei-projects-index/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-projects-index" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "SQLite index of git-repo state under ~/Projects/. Feeds dev-hub dashboard view (kei-cortex /projects)." authors = ["Denis Parfionovich "] @@ -16,15 +16,15 @@ path = "src/lib.rs" [dependencies] git2 = { version = "0.19", default-features = false, features = ["vendored-libgit2"] } -rusqlite = { version = "0.31", features = ["bundled"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -walkdir = "2" -clap = { version = "4", features = ["derive"] } -anyhow = "1" -thiserror = "1" -chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } +rusqlite = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +walkdir = { workspace = true } +clap = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } +chrono = { workspace = true, features = ["serde"] } dirs = "5" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-projects-watcher/Cargo.toml b/_primitives/_rust/kei-projects-watcher/Cargo.toml index 423a099..67193c6 100644 --- a/_primitives/_rust/kei-projects-watcher/Cargo.toml +++ b/_primitives/_rust/kei-projects-watcher/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-projects-watcher" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Long-running fsevents daemon — watches ~/Projects/, debounces 2 s, calls kei_projects_index::reindex_one per touched project." authors = ["Denis Parfionovich "] @@ -15,18 +15,19 @@ name = "kei_projects_watcher" path = "src/lib.rs" [dependencies] +# TODO migrate to notify 8 (workspace) — pinned to 6 pending API migration notify = "6" -rusqlite = { version = "0.31", features = ["bundled"] } -tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "time", "sync"] } -anyhow = "1" -thiserror = "1" -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" +rusqlite = { workspace = true } +tokio = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } dirs = "5" kei-projects-index = { path = "../kei-projects-index" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-provision/Cargo.toml b/_primitives/_rust/kei-provision/Cargo.toml index 4c24664..0b45ba0 100644 --- a/_primitives/_rust/kei-provision/Cargo.toml +++ b/_primitives/_rust/kei-provision/Cargo.toml @@ -18,11 +18,11 @@ path = "src/lib.rs" clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -anyhow = "1" -thiserror = "1" +anyhow = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } [package.metadata.keisei] backend = "external-cli" diff --git a/_primitives/_rust/kei-prune/Cargo.toml b/_primitives/_rust/kei-prune/Cargo.toml index fef054a..77b31f6 100644 --- a/_primitives/_rust/kei-prune/Cargo.toml +++ b/_primitives/_rust/kei-prune/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-prune" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Metadata primitive — mark unused ledger agents as retired (biological pruning analog)" authors = ["Denis Parfionovich "] @@ -15,8 +15,8 @@ name = "kei-prune" path = "src/main.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -thiserror = "1" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } diff --git a/_primitives/_rust/kei-refactor-engine/Cargo.toml b/_primitives/_rust/kei-refactor-engine/Cargo.toml index f6d340d..f523e2a 100644 --- a/_primitives/_rust/kei-refactor-engine/Cargo.toml +++ b/_primitives/_rust/kei-refactor-engine/Cargo.toml @@ -17,8 +17,8 @@ path = "src/lib.rs" clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -anyhow = "1" +anyhow = { workspace = true } similar = "2" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-registry/Cargo.toml b/_primitives/_rust/kei-registry/Cargo.toml index fd9effe..7f21e88 100644 --- a/_primitives/_rust/kei-registry/Cargo.toml +++ b/_primitives/_rust/kei-registry/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-registry" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Universal block identity layer — generalises agent DNA to any kit block (primitive / skill / rule / hook / atom). SQLite-backed, idempotent, supersede-aware." authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-replay/Cargo.toml b/_primitives/_rust/kei-replay/Cargo.toml index 76a64eb..f8a5790 100644 --- a/_primitives/_rust/kei-replay/Cargo.toml +++ b/_primitives/_rust/kei-replay/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-replay" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Reconstruct agent spawn from DNA — reads ledger row + task.toml, re-composes, detects drift" authors = ["Denis Parfionovich "] @@ -16,15 +16,15 @@ path = "src/lib.rs" [dependencies] kei-agent-runtime = { path = "../kei-agent-runtime" } -rusqlite = { version = "0.31", features = ["bundled"] } +rusqlite = { workspace = true } clap = { workspace = true } -anyhow = "1" -thiserror = "1" +anyhow = { workspace = true } +thiserror = { workspace = true } sha2 = { workspace = true } [dev-dependencies] -tempfile = "3" -toml = "0.8" +tempfile = { workspace = true } +toml = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-router/Cargo.toml b/_primitives/_rust/kei-router/Cargo.toml index 32eb349..444dec0 100644 --- a/_primitives/_rust/kei-router/Cargo.toml +++ b/_primitives/_rust/kei-router/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-router" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Routing primitives: (1) NL query → tool-call (LBM port). (2) Multi-provider LLM abstraction (Anthropic / OpenAI / Kimi)." authors = ["Denis Parfionovich "] @@ -15,12 +15,12 @@ name = "kei_router" path = "src/lib.rs" [dependencies] -regex = "1" +regex = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } anyhow = { workspace = true } thiserror = { workspace = true } -clap = { version = "4", features = ["derive"] } +clap = { workspace = true } # LLM provider abstraction (v0.40 Wave 32) reqwest = { workspace = true } tokio = { workspace = true } diff --git a/_primitives/_rust/kei-sage/Cargo.toml b/_primitives/_rust/kei-sage/Cargo.toml index 2308d18..f060500 100644 --- a/_primitives/_rust/kei-sage/Cargo.toml +++ b/_primitives/_rust/kei-sage/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-sage" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Obsidian-style knowledge graph (SQLite + FTS5). Port of LBM internal/sage." authors = ["Denis Parfionovich "] @@ -15,16 +15,16 @@ name = "kei_sage" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } -toml = "0.8" -walkdir = "2" +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } +toml = { workspace = true } +walkdir = { workspace = true } kei-atom-discovery = { path = "../kei-atom-discovery" } kei-entity-store = { path = "../kei-entity-store" } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-scheduler/Cargo.toml b/_primitives/_rust/kei-scheduler/Cargo.toml index 2a60679..5810e67 100644 --- a/_primitives/_rust/kei-scheduler/Cargo.toml +++ b/_primitives/_rust/kei-scheduler/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-scheduler" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Durable task scheduler (cron / at / interval) — metadata primitive." authors = ["Denis Parfionovich "] @@ -22,14 +22,14 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -thiserror = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +thiserror = { workspace = true } +chrono = { workspace = true } cron = "0.15" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-search-core/Cargo.toml b/_primitives/_rust/kei-search-core/Cargo.toml index 2adb741..cdda04f 100644 --- a/_primitives/_rust/kei-search-core/Cargo.toml +++ b/_primitives/_rust/kei-search-core/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-search-core" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "3-wave deep research scaffolding with budget cap. Port of LBM internal/search (fetch stubbed)." authors = ["Denis Parfionovich "] @@ -15,12 +15,12 @@ name = "kei_search_core" path = "src/lib.rs" [dependencies] -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-shared/Cargo.toml b/_primitives/_rust/kei-shared/Cargo.toml index 515095f..da9ed5a 100644 --- a/_primitives/_rust/kei-shared/Cargo.toml +++ b/_primitives/_rust/kei-shared/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-shared" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Shared substrate types — single source of truth for DNA format + small utility types" authors = ["Denis Parfionovich "] @@ -11,5 +11,5 @@ name = "kei_shared" path = "src/lib.rs" [dependencies] -serde = { version = "1", features = ["derive"] } -thiserror = "1" +serde = { workspace = true } +thiserror = { workspace = true } diff --git a/_primitives/_rust/kei-skill-importer/Cargo.toml b/_primitives/_rust/kei-skill-importer/Cargo.toml index b25dcc0..32e92de 100644 --- a/_primitives/_rust/kei-skill-importer/Cargo.toml +++ b/_primitives/_rust/kei-skill-importer/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-skill-importer" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Universal parser/canonicalizer/emitter for external AI-coding-tool skill formats (OpenClaw, Cline, Cursor, Claude Code, Kimi)." authors = ["Denis Parfionovich "] @@ -17,18 +17,18 @@ path = "src/lib.rs" [dependencies] serde = { workspace = true } serde_json = { workspace = true } -serde_yaml_ng = "0.10" +serde_yaml_ng = { workspace = true } toml = { workspace = true } regex = { workspace = true } clap = { workspace = true } -anyhow = "1" +anyhow = { workspace = true } chrono = { workspace = true } walkdir = { workspace = true } kei-atom-discovery = { path = "../kei-atom-discovery" } [dev-dependencies] tempfile = { workspace = true } -pretty_assertions = "1" +pretty_assertions = { workspace = true } [package.metadata.keisei] backend = "none" diff --git a/_primitives/_rust/kei-skills/Cargo.toml b/_primitives/_rust/kei-skills/Cargo.toml index 3b09ec4..3d9e1a5 100644 --- a/_primitives/_rust/kei-skills/Cargo.toml +++ b/_primitives/_rust/kei-skills/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kei-skills" version = "0.1.0" -edition = "2021" +edition.workspace = true description = "SKILL.md format — parser, validator, fuzzy patcher, loader, hot-reload registry." authors = ["Denis Parfionovich "] @@ -10,13 +10,13 @@ name = "kei_skills" path = "src/lib.rs" [dependencies] -serde = { version = "1", features = ["derive"] } -serde_yaml = "0.9" +serde = { workspace = true } +serde_yaml = { workspace = true } similar = "2" -notify = "8" -anyhow = "1" -regex = "1" -walkdir = "2" +notify = { workspace = true } +anyhow = { workspace = true } +regex = { workspace = true } +walkdir = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-social-store/Cargo.toml b/_primitives/_rust/kei-social-store/Cargo.toml index f2c2240..1073831 100644 --- a/_primitives/_rust/kei-social-store/Cargo.toml +++ b/_primitives/_rust/kei-social-store/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-social-store" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "People + interaction CRM (lite). Port of LBM internal/social." authors = ["Denis Parfionovich "] @@ -16,12 +16,12 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-spawn/Cargo.toml b/_primitives/_rust/kei-spawn/Cargo.toml index b05d5e3..75f201c 100644 --- a/_primitives/_rust/kei-spawn/Cargo.toml +++ b/_primitives/_rust/kei-spawn/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-spawn" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Agent substrate v1 — automation envelope around prepare + ledger fork + verify" authors = ["Denis Parfionovich "] @@ -22,16 +22,16 @@ http-driver = ["dep:reqwest"] [dependencies] kei-agent-runtime = { path = "../kei-agent-runtime" } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } sha2 = { workspace = true } toml = { workspace = true } -reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "rustls-tls"], optional = true } +reqwest = { workspace = true, optional = true, features = ["blocking"] } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } httpmock = "0.7" [package.metadata.keisei] diff --git a/_primitives/_rust/kei-store/Cargo.toml b/_primitives/_rust/kei-store/Cargo.toml index 6af2ac6..17078e8 100644 --- a/_primitives/_rust/kei-store/Cargo.toml +++ b/_primitives/_rust/kei-store/Cargo.toml @@ -24,16 +24,16 @@ s3 = ["dep:aws-config", "dep:aws-sdk-s3", "dep:aws-credential-types", "dep:tokio clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -anyhow = "1" -toml = "0.8" +anyhow = { workspace = true } +toml = { workspace = true } git2 = { version = "0.19", default-features = false } # v0.21 — optional cloud stack behind `s3` feature. aws-config = { version = "1", default-features = false, features = ["behavior-version-latest", "rustls", "rt-tokio"], optional = true } aws-sdk-s3 = { version = "1", default-features = false, features = ["behavior-version-latest", "rustls", "rt-tokio"], optional = true } aws-credential-types = { version = "1", optional = true } -tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"], optional = true } -async-trait = { version = "0.1", optional = true } +tokio = { workspace = true, optional = true } +async-trait = { workspace = true, optional = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-svc-systemd/Cargo.toml b/_primitives/_rust/kei-svc-systemd/Cargo.toml index 84d8ca7..0c41109 100644 --- a/_primitives/_rust/kei-svc-systemd/Cargo.toml +++ b/_primitives/_rust/kei-svc-systemd/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-svc-systemd" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "ServiceManager impl: systemd unit + timer generator. Wave 1 atomar #7." authors = ["Denis Parfionovich "] license = "Apache-2.0" @@ -16,7 +16,7 @@ name = "kei-svc-systemd" path = "src/main.rs" [dependencies] -async-trait = "0.1" +async-trait = { workspace = true } clap = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } diff --git a/_primitives/_rust/kei-task/Cargo.toml b/_primitives/_rust/kei-task/Cargo.toml index 60e3480..99ce256 100644 --- a/_primitives/_rust/kei-task/Cargo.toml +++ b/_primitives/_rust/kei-task/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-task" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Task DAG with deps + milestones (SQLite). Port of LBM internal/task." authors = ["Denis Parfionovich "] @@ -23,12 +23,12 @@ path = "src/lib.rs" [dependencies] kei-entity-store = { path = "../kei-entity-store" } -rusqlite = { version = "0.31", features = ["bundled"] } -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -anyhow = "1" -chrono = { version = "0.4", default-features = false, features = ["clock"] } +rusqlite = { workspace = true } +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +anyhow = { workspace = true } +chrono = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/kei-tlog/Cargo.toml b/_primitives/_rust/kei-tlog/Cargo.toml index d13d765..cfa3031 100644 --- a/_primitives/_rust/kei-tlog/Cargo.toml +++ b/_primitives/_rust/kei-tlog/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-tlog" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "RULE 0.17 — atomar time-logger for agents and pipelines. Emits JSONL lines to ~/.claude/memory/time-metrics/tasks.jsonl." authors = ["Denis Parfionovich "] license = "Apache-2.0" diff --git a/_primitives/_rust/kei-tty/Cargo.toml b/_primitives/_rust/kei-tty/Cargo.toml index bca44a4..044e0cb 100644 --- a/_primitives/_rust/kei-tty/Cargo.toml +++ b/_primitives/_rust/kei-tty/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-tty" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Ratatui-based terminal UI client for the kei-cortex daemon" authors = ["Denis Parfionovich "] diff --git a/_primitives/_rust/kei-watch/Cargo.toml b/_primitives/_rust/kei-watch/Cargo.toml index ff9b3d3..36ec915 100644 --- a/_primitives/_rust/kei-watch/Cargo.toml +++ b/_primitives/_rust/kei-watch/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kei-watch" version = "0.1.0" -edition = "2021" -rust-version = "1.77" +edition.workspace = true +rust-version.workspace = true description = "Filesystem watcher primitive — thin canonical wrapper around notify" authors = ["Denis Parfionovich "] @@ -15,10 +15,10 @@ name = "kei_watch" path = "src/lib.rs" [dependencies] -notify = "8" -serde = { version = "1", features = ["derive"] } -serde_json = "1" -clap = { version = "4", features = ["derive"] } +notify = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +clap = { workspace = true } [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true } diff --git a/_primitives/_rust/keisei/Cargo.toml b/_primitives/_rust/keisei/Cargo.toml index 103e44e..fd14034 100644 --- a/_primitives/_rust/keisei/Cargo.toml +++ b/_primitives/_rust/keisei/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "keisei" version = "0.1.0" -edition = "2021" -rust-version = "1.75" +edition.workspace = true +rust-version.workspace = true description = "Exobrain attach/status CLI — mounts a portable brain (memory + manifests + artifacts + MCP bin) into an AI client (MVP: Claude Code)" authors = ["Denis Parfionovich "] @@ -11,17 +11,17 @@ name = "keisei" path = "src/main.rs" [dependencies] -clap = { version = "4", features = ["derive"] } -serde = { version = "1", features = ["derive"] } -serde_json = "1" -serde_yaml = "0.9" -toml = "0.8" -thiserror = "2" +clap = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +serde_yaml = { workspace = true } +toml = { workspace = true } +thiserror = { workspace = true } regex = { workspace = true } -tempfile = "3" +tempfile = { workspace = true } [target.'cfg(unix)'.dependencies] libc = "0.2" [dev-dependencies] -tempfile = "3" +tempfile = { workspace = true }