Skip to content

Transport: replace tmux keystroke delivery with harness-native input #358

Description

@woltspace-jerpint

Problem

Message delivery to running sessions is tmux keystroke emulation: set-buffer + paste-buffer + separate Enter. Every harness has its own TUI paste quirks, and we're accumulating timing hacks to compensate:

paste_settle works but it's a race dressed as a config value — flagged by jerpint at review as something to fix properly.

Direction

Per-harness programmatic input where it exists, keystrokes only as fallback:

The harness table already supports this shape: deliver() becomes a per-harness strategy (api | acp | tmux-paste) instead of tmux-paste with per-harness timing knobs.

Non-goals for now

The tmux-attach model for humans stays — this is about how the bot delivers messages, not how humans interact.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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