feat(kon): scaffold hybrid modular workspace
- Cargo workspace with 6 domain crates: core, audio, transcription, ai-formatting, storage, cloud-providers - Minimal Tauri shell (lib.rs + main.rs) with plugin registration - Svelte 5 frontend copied from Ramble v0.2 - All crates compile as empty stubs - App identifier: uk.co.corbel.kon Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
8
crates/ai-formatting/Cargo.toml
Normal file
8
crates/ai-formatting/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "kon-ai-formatting"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Text post-processing pipeline: filler removal, British English conversion, formatting for Kon"
|
||||
|
||||
[dependencies]
|
||||
kon-core = { path = "../core" }
|
||||
2
crates/ai-formatting/src/lib.rs
Normal file
2
crates/ai-formatting/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-ai-formatting: Filler removal, British English conversion,
|
||||
// text formatting, hallucination filtering, and paragraph breaks.
|
||||
8
crates/audio/Cargo.toml
Normal file
8
crates/audio/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "kon-audio"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Audio capture (cpal), VAD, resampling (rubato), file decoding (symphonia), WAV I/O (hound) for Kon"
|
||||
|
||||
[dependencies]
|
||||
kon-core = { path = "../core" }
|
||||
2
crates/audio/src/lib.rs
Normal file
2
crates/audio/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-audio: Microphone capture, voice activity detection, resampling,
|
||||
// file decoding, and WAV I/O.
|
||||
8
crates/cloud-providers/Cargo.toml
Normal file
8
crates/cloud-providers/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "kon-cloud-providers"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "BYOK cloud STT provider stubs and API key storage for Kon"
|
||||
|
||||
[dependencies]
|
||||
kon-core = { path = "../core" }
|
||||
2
crates/cloud-providers/src/lib.rs
Normal file
2
crates/cloud-providers/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-cloud-providers: BYOK cloud STT provider implementations
|
||||
// and OS keychain API key storage.
|
||||
7
crates/core/Cargo.toml
Normal file
7
crates/core/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "kon-core"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Core types, constants, traits, hardware detection, and model registry for Kon"
|
||||
|
||||
[dependencies]
|
||||
2
crates/core/src/lib.rs
Normal file
2
crates/core/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-core: Foundation types, constants, provider traits, hardware detection,
|
||||
// model registry, and recommendation engine.
|
||||
8
crates/storage/Cargo.toml
Normal file
8
crates/storage/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "kon-storage"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "SQLite persistence, BM25 search, and file storage for Kon"
|
||||
|
||||
[dependencies]
|
||||
kon-core = { path = "../core" }
|
||||
2
crates/storage/src/lib.rs
Normal file
2
crates/storage/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-storage: SQLite via sqlx, BM25 full-text search via probly-search,
|
||||
// and file storage path management.
|
||||
8
crates/transcription/Cargo.toml
Normal file
8
crates/transcription/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "kon-transcription"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "Speech-to-text engine wrappers, model management, and inference concurrency for Kon"
|
||||
|
||||
[dependencies]
|
||||
kon-core = { path = "../core" }
|
||||
2
crates/transcription/src/lib.rs
Normal file
2
crates/transcription/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// kon-transcription: transcribe-rs wrapper behind SpeechToText trait,
|
||||
// unified model manager, and inference threading.
|
||||
Reference in New Issue
Block a user