Skip to content

fix(server): dictation loads its native packages in the single executable - #47

Merged
collissimo merged 1 commit into
collin/mainfrom
t3/dictation-sea-imports
Nov 13, 2026
Merged

collissimo merged 1 commit into
collin/mainfrom
t3/dictation-sea-imports

Conversation

@collissimo

Copy link
Copy Markdown
Owner

node apps/server/scripts/cli.ts build-exe failed on collin/main with ServerCliExecutableImportError: … imports file-backed packages that a single-executable cannot resolve: koffi, transcribe-cpp, so the fork release could not build the Linux CLI archive added in #46.

localDictation.ts now loads both packages through require from disk, the way speech/native.ts already loads transcribe-cpp.

Checked: build-exe succeeds on this branch and the executable starts; check:changed passes except the React Compiler coverage test for DictationHistoryDialog.tsx, a file this PR does not touch. Not checked: dictation itself in the desktop app.

Claude Fable 5.2, Claude Code

🤖 Generated with Claude Code

…able

build-exe refused collin/main: localDictation imported koffi and transcribe-cpp with import(),
which a Node single-executable cannot resolve. Both now load through require from disk, as
speech/native.ts already does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@collissimo
collissimo merged commit 5305926 into collin/main Nov 13, 2026
1 check 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