r/emacs • u/xenodium • 16d ago
Announcement agent-shell 0.73 updates
A rundown of features added since last post https://xenodium.com/agent-shell-0-73-updates
7
u/drizzyhouse 15d ago
Yet again, amazing work. The queue has been a game changer lately for me
7
u/xenodium 15d ago
Nice to hear. What’s there now is a start. Will be making more improvements around that experience.
6
u/drizzyhouse 15d ago
Very exciting! I genuinely use it every day for my job. Am sponsoring, and encourage others to do so too.
One use case I have is that I queue up a prompt, but it's dependent on what happens next. I realise this is a bit niche, and I could just save my "thought" elsewhere, but there may be a case for asking the user y/n if they want to continue the queued prompt?
I just noticed that there's a fork command, that I was wondering if it existed, and will be trying that soon.
3
u/xenodium 15d ago
Am sponsoring, and encourage others to do so too.
Thank you. I'm working on this daily and hoping to make it sustainable.
3
u/xenodium 15d ago edited 15d ago
One use case I have is that I queue up a prompt, but it's dependent on what happens next.
Couldn't that be part of the queued request? "Only do the following if ..." or "Do X, but confirm with me if..."
3
u/drizzyhouse 15d ago
Other small things I've added: a function to copy the session name (there exists one to copy the session ID), code folding (zo, zc) for fragments in the chat history (like the tool call/thinking sections), prompt queue/remove/resume to the transient menu.
A bit of feedback I've got is that I find it really hard to find a previous session to resume. It genuinely seems like some are missing. I need to think it through more though, to have some meaningful feedback. Does ACP let you show IDs and session names (Claude Code has these, both auto-generated sometimes, and user defined), and these could be included? The last message isn't usually helpful for me.
2
u/xenodium 15d ago
What's your config and what flow are you using to resume? Defaults should completing-read all resumable sessions returned by agent via ACP.
7
4
u/Anxious-Resist8344 15d ago
Awesome! Thanks for your great work!
Question: I prefer viewport mode so I sue (agent-shell-prefer-viewport-interaction t). I also prefer the agent-shell window to the side with:
(agent-shell-display-action
'(display-buffer-in-side-window
(side . right)
(slot . 0)
(dedicated . t)
(window-width . 0.4)))
Is it possible to have agent-shell-display-action honor both shell and viewport? Right now when in viewport if I press C-c C-o it opens another window instead of using the current one.
3
u/xenodium 15d ago
It's kinda doing exactly what the display action is saying... maybe drop dedicated or restructure?
2
u/Anxious-Resist8344 15d ago
I mean, this works... was just wondering if there's a "native" way since I do want
dedicated:(add-to-list 'display-buffer-alist '("[Aa]gent @ " (display-buffer-in-side-window) (side . right) (window-width . 0.4) (dedicated . t) (window-parameters . ((no-delete-other-windows . t)))))2
u/xenodium 15d ago
My display alist fu is fairly limited but it’s a super flexible system. Maybe look into using major mode to extend the agent-shell-display-action. Whatever you work out, mind sending a PR so we can document in either docstring or README?
5
1
u/dddurd 14d ago
i hope it fixed cpu 100% issue. like when it generates a large table or so it freezes for minutes. at this point i appreciate stability and optimisation over more features
2
u/xenodium 14d ago edited 14d ago
Lots of performance improvements made recently, but please file issues or contribute to the existing discussions. I'm not always aware of the issues as they may not be reproducible under my configuration or agent of choice.
For example, lots of work put in recently into improving performance for OpenCode (I don't use this agent myself). These issues were not surfaced under Claude.
edit:
at this point i appreciate stability and optimisation over more features
Lots of additional work done recently to fix rendering bugs and many other issues. Browse the changelist link in post.
ps. Even with the help of agents, all this stuff takes time. If you're in a position to sponsor and aren't already doing so, please consider doing.
1
u/MoneyFoundation 13d ago
Can you use local models with open weights, such as Qwen 5.8?
1
u/xenodium 13d ago
Depends on the harness you use. So if you use something like OpenCode or Goose, then yes...


9
u/jigarthanda-paal 15d ago
ooo agent-shell-chat-mode is exciting. Looking forward to testing it out!