Skip to content

Add KMP-backed local transcription runtime#46

Merged
watzon merged 5 commits intomainfrom
feature/kmp-local-transcription
Mar 29, 2026
Merged

Add KMP-backed local transcription runtime#46
watzon merged 5 commits intomainfrom
feature/kmp-local-transcription

Conversation

@watzon
Copy link
Copy Markdown
Owner

@watzon watzon commented Mar 29, 2026

Summary

  • Add a Kotlin Multiplatform local transcription runtime and model catalog for Whisper.cpp-backed local models.
  • Route macOS model install, refresh, delete, and load flows through the shared runtime when available.
  • Introduce new Swift adapters that bridge ModelManager and TranscriptionService to the KMP runtime.
  • Expand shared transcription coordination, backend selection, and filesystem model storage logic.
  • Update build scripts and shared workspace configuration to include the new transcription runtime module.

Testing

  • Not run in this branch snapshot.
  • Shared Kotlin tests added for session coordination, runtime behavior, filesystem storage, download client, and Whisper.cpp runtime.
  • Swift-side integration should be verified by building the macOS app and exercising local model install/load/delete flows.
  • Recommended manual checks: refresh downloaded models, install a local model, start a local transcription session, and delete the installed model.

watzon added 3 commits March 28, 2026 22:19
- Move local model catalog and install/delete flows into the shared runtime
- Bridge Swift model management to the KMP transcription APIs
- Add runtime module wiring and tests
- Add shared VoiceSessionCoordinator for recording, permissions, and results
- Introduce filesystem-backed model storage and Okio test support
- Cover startup, recording, transcription, and storage flows with tests
- Wire Ktor download client into shared model installer
- Add whisper.cpp backend, curated model repo, and factory
- Cover install, load, transcribe, and cleanup flows in tests
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 55f021a47d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@watzon watzon merged commit 784046c into main Mar 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant