Skip to content

Add inter-extension dictation events - #7

Open
tkoenig wants to merge 1 commit into
earendil-works:mainfrom
tkoenig:feature/inter-extension-events
Open

tkoenig wants to merge 1 commit into
earendil-works:mainfrom
tkoenig:feature/inter-extension-events

Conversation

@tkoenig

@tkoenig tkoenig commented Aug 24, 2026

Copy link
Copy Markdown

Closes #6

Summary

  • accept pi-transcribe:toggle on Pi's shared event bus and route it through the same capture toggle used by the keyboard shortcut
  • emit pi-transcribe:state with only { state: "starting" | "recording" | "transcribing" | "idle" }
  • bind the event listener to the active session context, clean it up on shutdown, and return to idle after cancellation or failure paths
  • document the small inter-extension contract and add a focused lifecycle test

The integration is process-local and generic; it does not add an HTTP server or any Stream Deck-specific behavior to pi-transcribe. Existing shortcut behavior remains unchanged.

Testing

  • npm test

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.

Expose dictation control and state through Pi's extension event bus

1 participant