프로젝트 이름 `kb` → `kebab` rename 의 첫 단계. - workspace `Cargo.toml`: members `crates/kb-*` → `crates/kebab-*`, repository URL `altair823/kb` → `altair823/kebab`. - 18 crate 폴더 rename via `git mv` (history 보존). - 각 crate `Cargo.toml`: `name = "kb-*"` → `"kebab-*"`, path deps `../kb-*` → `../kebab-*`. - 모든 `.rs`: `kb_<id>` snake-case 모듈 path 18 개 (`kb_core`, `kb_config`, `kb_app`, `kb_cli`, `kb_eval`, `kb_search`, `kb_chunk`, `kb_normalize`, `kb_source_fs`, `kb_parse_md`, `kb_parse_types`, `kb_store_sqlite`, `kb_store_vector`, `kb_embed`, `kb_embed_local`, `kb_llm`, `kb_llm_local`, `kb_rag`) → `kebab_<id>` 일괄 sed (단어 경계 \\b 사용해 영어 문장 안의 "kb" 약어 미오염). CLI binary 이름 (`[[bin]] name = "kb"`), 환경변수 `KB_*`, XDG paths, tracing target, 그리고 docs sweep 은 다음 commit 에서. ## 검증 - `cargo check --workspace` clean — 모든 crate 빌드 통과 후 commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
40 lines
1.7 KiB
TOML
40 lines
1.7 KiB
TOML
[package]
|
|
name = "kebab-store-sqlite"
|
|
version = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
description = "SQLite-backed DocumentStore + JobRepo for kb (§5 DDL, §7.2 traits)"
|
|
|
|
[dependencies]
|
|
kebab-core = { path = "../kebab-core" }
|
|
kebab-config = { path = "../kebab-config" }
|
|
# `bundled` ships SQLite source + builds in-tree (no system libsqlite3).
|
|
# Explicitly NOT `bundled-sqlcipher` per task allowed-deps list.
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
refinery = { version = "0.8", features = ["rusqlite"] }
|
|
# Used by `filter_chunks` for the optional `path_glob` post-filter.
|
|
# The SQL prefilter handles tags / lang / trust / committed-status; the
|
|
# Rust-side glob keeps the SQL surface small (no LIKE-vs-glob impedance
|
|
# mismatch) and matches the pattern kb-search/src/lexical.rs uses.
|
|
globset = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
time = { workspace = true }
|
|
blake3 = { workspace = true }
|
|
tracing = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
serde_json = { workspace = true }
|
|
# kb-parse-md / kb-normalize / kb-chunk are dev-only — used to build a
|
|
# CanonicalDocument + Vec<Chunk> from a fixture in the contract round-trip
|
|
# test. Forbidden as regular deps per design §8 (store consumes domain
|
|
# types from kb-core only); `cargo tree -p kb-store-sqlite --depth 1`
|
|
# (default scope, excludes dev-deps) confirms this.
|
|
kebab-parse-md = { path = "../kebab-parse-md" }
|
|
kebab-normalize = { path = "../kebab-normalize" }
|
|
kebab-chunk = { path = "../kebab-chunk" }
|