@shoppingjaws/peer
v0.1.1
Published
CLI tool for managing wezterm panes, peer groups, and inter-pane messaging
Downloads
28
Readme
@shoppingjaws/peer
A CLI tool for managing WezTerm panes, peer groups, and inter-pane messaging.
Prerequisites
Install
npm install -g @shoppingjaws/peerCommands
peer <list|peek|inbox|new-pane|new-tab|history|clean>peer list
List panes in the same tab and peer group.
peer listWINID TABID PANEID RELATION WORKSPACE SIZE TITLE
0 0 0 self default 120x40 ~
0 0 1 child default 120x20 ~RELATION shows the relationship from your perspective:
self— current panechild— pane you createdparent— pane that created younone— same tab but no peer relation
peer peek <pane-id>
Read terminal output from a pane. Only works for panes in the same tab or peer group.
peer peek 1
peer peek 1 --start-line 0 --end-line 50| Option | Description |
|---|---|
| --start-line N | Start reading from line N |
| --end-line N | Stop reading at line N |
peer new-pane [opts] [-- cmd]
Split a new pane in the current tab and register it as a child in the peer group. Options are passed through to wezterm cli split-pane.
peer new-pane
peer new-pane --horizontal
peer new-pane -- bashpeer new-tab [opts] [-- cmd]
Spawn a new tab and register it as a child in the peer group. Options are passed through to wezterm cli spawn.
peer new-tab
peer new-tab -- zshpeer inbox send <pane-id> <message>
Send a message to the specified pane.
peer inbox send 1 "build done"peer inbox open
Show unread messages and mark them as read.
peer inbox open[#1 from:0 2025-04-05 12:00:00] build done
1 message(s) marked as read.peer history [pane-id]
Show message history. Optionally filter by a specific pane.
peer history
peer history 1peer clean
Delete all messages for the current session.
peer cleanData Storage
Messages and peer group data are stored in /tmp/peer/peer.db (SQLite), isolated per session (WEZTERM_UNIX_SOCKET).
License
MIT
