happy icon indicating copy to clipboard operation
happy copied to clipboard

Add autocomplete for filepaths when creating new session

Open GrocerPublishAgent opened this issue 1 year ago • 1 comments

It would be really nice if the same filepicker autocomplete from the AgentInput was also available for the creating a new session with the daemon.

Image

See my experience report video: I have to switch back to my laptop terminal to find the path. I would be completely blocked here if I was away from my computer.

https://youtu.be/Pa1lQ1EMXQw?t=402

GrocerPublishAgent avatar Aug 24 '25 16:08 GrocerPublishAgent

Heads up — this issue looks like it was auto-closed by mistake on 2026-01-22, by merge commit 6e7c2a75 whose message is Merge pull request #45 from CodingCanuck/vuln-restrict-file-access — Fix #44: Restrict file access in RPC handlers. That commit hardens RPC file access (pathSecurity.ts plus handlers, 5 files under cli/src) and has nothing to do with path autocomplete, so the Fix #44 reads as a number collision.

(Correcting my own earlier wording in this comment: the 45 there is the PR number in the contributor's fork, not an issue in this repo — sorry for the confusion.)

The autocomplete behavior described above is not in main. PR #1077 implements it: live <dir>/<prefix> suggestions in the new-session path picker, fetched per-machine via machineBash with debounce + cache.

If the feature is still wanted, this issue can be reopened so it tracks correctly with the PR. Otherwise #970 asks for the same thing and is still open, so #1077 now points there instead.

chphch avatar May 04 '26 02:05 chphch