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:
jake
2026-03-16 20:21:38 +00:00
commit 9926a42b7a
80 changed files with 13328 additions and 0 deletions

View 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" }

View 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
View 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
View File

@@ -0,0 +1,2 @@
// kon-audio: Microphone capture, voice activity detection, resampling,
// file decoding, and WAV I/O.

View 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" }

View 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
View 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
View File

@@ -0,0 +1,2 @@
// kon-core: Foundation types, constants, provider traits, hardware detection,
// model registry, and recommendation engine.

View 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" }

View File

@@ -0,0 +1,2 @@
// kon-storage: SQLite via sqlx, BM25 full-text search via probly-search,
// and file storage path management.

View 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" }

View File

@@ -0,0 +1,2 @@
// kon-transcription: transcribe-rs wrapper behind SpeechToText trait,
// unified model manager, and inference threading.