this might fit very nicely with gascity/gastown which orchestrates other coding agent over tmux. currently, i finds it's tmux orchestration code is too complex. will check it out
curious, what was the usecase here?
81–90 of 111 posts
this might fit very nicely with gascity/gastown which orchestrates other coding agent over tmux. currently, i finds it's tmux orchestration code is too complex. will check it out
curious, what was the usecase here?
It's not clear to me what this does that tmux doesn't? Agents can already interact with tmux, so what does this provide?
I think it's trying to be like a code-first/API alternative to Tmux. So instead of:
```
tmux new-session -d -s atmux send-keys -t a 'npm test' Enter
sleep 2
tmux capture-pane -p -t a ```
you'd do something like:
```
pane.send_text("npm test\n").await?;pane.wait_for_text("Tests passed").await?;
let snapshot = pane.snapshot().await?; ```
I don't know why it would be better for agents, maybe the author also works on an LLM agent harness.Congrats on the launch. If emacs was unavailable and I needed tmux, I would try it. I am old school, and use emacs daemons for all shell multiplexing. The agents dont need explanations and know how to use emacsclient to create, read, or send inputs to named buffers that run the shells. Elisp is powerful, so manipulating windows is a breeze. Lots of people on tmux would benefit from this design though.
Are there any guides on accomplishing this with Emacs? Perhaps something that might be useful for someone coming from Tmux?
It's not clear to me what this does that tmux doesn't? Agents can already interact with tmux, so what does this provide?
this might fit very nicely with gascity/gastown which orchestrates other coding agent over tmux. currently, i finds it's tmux orchestration code is too complex. will check it out
> got tired of scraping output with grep and sleeps to automate anything. curious, what was the usecase here?
a week ago I was using cmux but its osx only and doen't work on remote terminals. then I switched to herdr which is great so far except its not s great at managing panes. I can't move them around or change ordering. now another terminal multiplexer. I'm getting whiplash. all that said, none of the existing solutions are perfect and rust codebases are nice. how easy is it to reorder panes? is there a cli that lets me…
I built https://zmx.sh to make it easier to interact with your terminal sessions programmatically. 1 window = 1 session which might feel like a negative but it makes programmatic access easy and agents can use it just by pointing it at the zmx help command. Basically, an agent just needs 2 commands (run and write) for full control and the commands are synchronous so you don’t need to do any polling.
Earlier quoted context omitted.
I thought I was too zealous because I created 11 crates respecting single responsibility principles.. I would have been all in to risk it further and separating responsibilities for session and window management but it would have diverged too much from tmux. I wanted a 1-1 port for now
Fair point, given it is more unconventional design, it is a riskier way in order to get something that works.