eca icon indicating copy to clipboard operation
eca copied to clipboard

Support adding/update workspaces to running sessions

Open bobrowadam opened this issue 1 year ago • 8 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

A user should be able to add a directory path to the current working project. This is very useful when you want to add more context to the LLM, and/or make changes that are external to the current project. For instance, working on a server and a client on 2 separate repos, such as eca and eca-emacs :)

I'll be happy to implement that and open a PR.

bobrowadam avatar Sep 16 '25 13:09 bobrowadam

@bobrowadam this is already possible via relative @ completion like ../my-directory, maybe it's just not that intuitive yet

ericdallo avatar Sep 16 '25 14:09 ericdallo

But eca and eca-emacs support starting with multiple workspace folders via C-u eca which should solve that as well

ericdallo avatar Sep 16 '25 14:09 ericdallo

Oh great! so I'll close this issue thanks.

bobrowadam avatar Sep 16 '25 14:09 bobrowadam

After working with ECA a bit I realized that when using the @ command and adding a directory, all the nested files are added to the context, so this method is not practical when adding external projects. The solution of using C-u eca is good but sometimes you need to add additional directories root to the workspace after you already started the agent. If you like I can try and implement that.

bobrowadam avatar Oct 12 '25 19:10 bobrowadam

@bobrowadam I think we need some way to add a new workspace to a running session, we will need changes in the protocol for that, I'm thinking that maybe a generic notification like clientConfig/updated may work like we have similar for server (config/updated)

ericdallo avatar Oct 13 '25 00:10 ericdallo

I can take a look when I find the time.

bobrowadam avatar Oct 13 '25 10:10 bobrowadam

Would be nice to discuss the API/changes in client as well before impl that so we can make sure we agree on that. I still think this is no big deal as user can start with the desired workspaces

ericdallo avatar Oct 13 '25 12:10 ericdallo

We have that now, clients can add a workspace to running session (ex: eca-chat-add-workspace-folder or clicking on [+])

ericdallo avatar Mar 15 '26 14:03 ericdallo