Support dynamic environments without restarting eca (i.e. inherit ENV from each chat's ENV)
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 43/100
Direzione di ricerca
Start by tracing how user messages reach shell execution and how the editor plugin supplies message data; the issue names no files or tests. Review the existing session and environment handling, then assess the proposed opt-in behavior and the security questions raised here. Done means shell commands use the environment supplied with the current message, without restarting ECA.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Description
I use eca with eca-emacs inside virtual environments managed by guix/nix + direnv (envrc in Emacs). These environments have limited software (e.g., gcc might be missing) and custom environment variables.
Problems encountered
-
The environment depends on the first run of eca. If I start eca in an environment without gcc, then gcc is not available in other chats, even if those chats are opened later in environments that do have gcc.
-
No way to update the environment without killing all sessions. To change the environment, I have to kill all eca sessions and restart it in the correct environment.
Proposed solution
Send, alongside user messages, the current environment variables.
When the LLM invokes a shell, it should be executed with the environment provided by the user at the time of the message. The editor plugin should send the environment when configured to do so.
This should probably be opt-in, either via config or per session.
Questions for the community
- Are there security implications to consider?
- How are other users handling dynamic environments with eca?
- Lingua principale
- Clojure
- Stelle
- 1k
- Fork
- 82
- Merge medio
- 3g 39m
- PR unite (30g)
- 15
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di editor-code-assistant/eca
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
editor-code-assistant/eca#655 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
editor-code-assistant/eca#652 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
editor-code-assistant/eca#648 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
editor-code-assistant/eca#644 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Add the ability to see what changed in the system promptForse già presa @zikajk l’ha presa 9 giorni fa. Apertaenhancement
editor-code-assistant/eca#642 · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di editor-code-assistant/eca
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
IOP MCP
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
calcit-lang/calcit#2133 ·
I maintainer di solito rispondono entro 1 giorno
-
worker/start rejects middleware supplied as a VarForse già presa @rajp152k l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Profiler (Remotery) leaks a socket for every connection that fails the WebSocket handshakeForse già presa @rthery l’ha presa 3 giorni fa. Apertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno