Skip to content

Request: include source for HotkeyManager, DictationManager, AudioRecorder #3

@hakanensari

Description

@hakanensari

Context

Three core Swift classes are compiled into the app binary but their source isn't in the repo:

  • HotkeyManager — global hotkey capture (flagsChanged monitoring, PTT key handling)
  • DictationManager — recording lifecycle, target app capture, text insertion
  • AudioRecorder — audio engine, mic capture, level history

Without these, the app can't be built from source, and key behavioral changes (like adding hold-to-talk mode) aren't possible.

Request

Could you add these source files to the repo? This would enable:

  1. Building from source — right now swift build fails because these types are missing
  2. Hold-to-talk mode — needs onKeyUp callback or key-down/key-up tracking in HotkeyManager
  3. Hands-free mode — needs continuous mic capture and silence detection in AudioRecorder
  4. Community contributions — others can propose changes to the core recording flow

If there's a reason they're kept separate (e.g., private dependency, licensing), happy to discuss alternatives.

Related: PR #2 (hands-free mode design) depends on access to these classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions