Skip to content

feat(speech): add CoderApi speech IPC namespace (#845) - #858

Closed
currentbits wants to merge 2 commits into
mainfrom
coder/fork-execute-this-live-speech-to-text-de-e47061
Closed

currentbits wants to merge 2 commits into
mainfrom
coder/fork-execute-this-live-speech-to-text-de-e47061

Conversation

@currentbits

Copy link
Copy Markdown
Owner

First product PR for live speech-to-text (#845). IPC surface only — no sidecar, Composer mic, or packaging.

Locks speech.status/download/start/write/stop/cancel and desktop-only speech:changed across the six-place IPC declaration (CoderApi, ipcChannels, preload, IPC_HANDLERS, fakeCoder, devCoder). speech:changed is not on WIRE_PUSH_CHANNELS.

Stubs: status() returns missing; download/start throw Speech is not implemented yet.; write/stop/cancel reject bad/stale/missing session. PCM16 writes are capped at 3200 bytes (100 ms at 16 kHz mono).

Partials are incremental suffixes (delta); Composer must concatenate and replace the provisional range only on transcript.

Cherry-picked onto origin/main from worker commit 79ba3b37 so this PR is not the dirty leftover-merge ancestry.

Follow-ups: electron/speech.js manager, Composer + AudioWorklet, packaging.

Lock status/download/start/write/stop/cancel and desktop-only
speech:changed across the six-place IPC declaration. Stub rejects
until electron/speech.js. Partials are incremental suffixes (`delta`).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-03T12:15:06.789025Z a193b08 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Add electron/speech.js, wire it through registerIpc/makeCtx, and
construct it at boot with teardown plus media-permission gating.
Tests inject fetch, spawn, and WebSocket so the 700 MB GGUF is never
downloaded.

Co-authored-by: Willem <[email protected]>
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