channels: add tmux pane channel daemon

Standalone daemon that streams tmux pane output via pipe-pane
(no polling). Each configured pane becomes a channel "tmux.<label>"
accessible through the standard channel.capnp protocol.

- pipe-pane streams PTY output directly to FIFOs
- Async readers push new lines into ChannelLogs
- send works via tmux send-keys
- Cleanup disconnects pipe-pane on daemon exit

Config: ~/.consciousness/channels/tmux.json5
Socket: ~/.consciousness/channels/tmux.sock

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-04-04 14:15:33 -04:00 committed by Kent Overstreet
parent c2c5530ecc
commit 1ef137fb3a
3 changed files with 325 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[workspace]
members = ["channels/irc", "channels/telegram"]
members = ["channels/irc", "channels/telegram", "channels/tmux"]
resolver = "2"
[workspace.package]