Skip to content

OpenCode SSH: allow configurable local playback without relay #206

@evalexpr

Description

@evalexpr

When OpenCode runs over SSH into the same machine that should play audio (for example, SSH into a Mac mini), peon-ping currently forces relay mode and requires localhost:19998.

Current behavior routes SSH playback and notifications through relay only. If relay is not running, sounds do not play, even though local playback on the SSH host would work.

Request:

  • Keep current default behavior for compatibility.
  • Add a config option for SSH routing, for example:
    • relay (default, current behavior)
    • auto (try relay, fallback to local playback)
    • local (always local playback on SSH host)

This preserves existing setups while supporting common SSH-to-my-desktop workflows without requiring relay.

Does this make sense?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions