agent-shell-queue-request reads its prompt via read-string, so the minibuffer has none of the agent-shell-completion-mode hooks. @ and / don't complete in the queue path the way they do at the shell prompt.
Proposal
Install the existing CAPFs in the minibuffer for the duration of the read, sourcing data from the originating shell buffer via a buffer-local override. Wrap read-string with minibuffer-with-setup-hook; clean up on minibuffer-exit-hook.
I've this implemented locally and it seems to work well! Can share a PR if you find this useful.
Checklist
agent-shell-queue-requestreads its prompt viaread-string, so the minibuffer has none of theagent-shell-completion-modehooks.@and/don't complete in the queue path the way they do at the shell prompt.Proposal
Install the existing CAPFs in the minibuffer for the duration of the read, sourcing data from the originating shell buffer via a buffer-local override. Wrap
read-stringwithminibuffer-with-setup-hook; clean up onminibuffer-exit-hook.I've this implemented locally and it seems to work well! Can share a PR if you find this useful.
Checklist