[Feature]: Add Claude interaction via TMUX in addition to existing -P mechanism
Problem or motivation
Currently, as I understand it, Ductor launches a new Claude Code session with each user prompt. It does this via the CLI -P argument in addition to the --resume argument to reattach to the session. This will become cost prohibitive to utilize Claude due to the shift towards API billing. Ultimately, this will force me to discontinue my usage of Ductor.
Proposed solution
In additional to -P support, please add options to utilize TMUX or --channels with long running Claude Code sessions.
Alternatives considered
No response
Before submitting
- [x] I have searched existing issues and feature requests for duplicates.
how would a tmux session be used here? will we do stdin back to the tmux session on new prompt?
Status update: there is a concrete implementation of exactly this in PR #156 (interactive Claude REPL provider with origin-based routing — human chat goes through a persistent interactive claude session, automation stays headless -p). Anthropic has paused the -p billing change for now, so headless still draws the normal subscription limits and #156 stays open/unmerged until the situation changes. Tracking continues there.