Skip to content

Add Kotlin Multiplatform transcription bridge#45

Merged
watzon merged 9 commits intomainfrom
kotlin-mp-rewrite
Mar 29, 2026
Merged

Add Kotlin Multiplatform transcription bridge#45
watzon merged 9 commits intomainfrom
kotlin-mp-rewrite

Conversation

@watzon
Copy link
Copy Markdown
Owner

@watzon watzon commented Mar 28, 2026

Summary

  • Integrates the shared Kotlin Multiplatform transcription modules into the macOS app build and embeds the generated XCFrameworks.
  • Moves several transcription and media workflow decisions behind shared bridge/policy layers so Swift and KMP stay aligned.
  • Adds the new shared/ Gradle workspace, Kotlin contracts/orchestrators, and associated tests for the shared transcription logic.
  • Updates app startup and media transcription flows to use the new shared model-selection and state-management behavior.
  • Documents the KMP rewrite and build workflow in the README and repository guidelines.

Testing

  • Not run locally.
  • Added/updated unit tests in PindropTests/ for model resolution and transcription service behavior.
  • Added Kotlin tests for the shared job state machine and transcription orchestrator under shared/.
  • Build integration is wired through the new Xcode shell script phase and just recipes, but the full app/test suite was not executed in this turn.

watzon added 3 commits March 28, 2026 15:14
- Add KMP bridge and native adapters for transcription flows
- Wire shared frameworks into the Xcode build
- Move transcription policy and model startup logic behind shared code
- Update project overview to reflect shared KMP core
- Clarify macOS remains the shipped native app with platform-specific transcription adapters
- Note planned Windows and Linux targets
- Pass recovery timing as KotlinDouble in the transcription bridge
- Bump shared multiplatform Gradle plugin to 2.3.10
- Refresh repo guidance for the KMP workspace
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: 4260fcb693

ℹ️ 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 added 6 commits March 28, 2026 16:02
- Track hover on the compact indicator state
- Ignore hover while recording, processing, dragging, or in a context menu
- Align recording-start trigger naming across Swift and KMP
- Preserve load failure state when local model loading is unsupported
- Add tests for dedup bypass and unsupported provider handling
- Wire app and Xcode project to new shared UI KMP modules
- Move dashboard, history, and dictionary state into shared presenters
- Update related services, tests, and build scripts for the rewrite
@watzon watzon merged commit e031fb7 into main Mar 29, 2026
0 of 2 checks passed
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