Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support dynamic environments without restarting eca (i.e. inherit ENV from each chat's ENV)

Aperta
#466 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
clojure, emacs
Ambito
backend, tooling

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

  1. 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.

  2. 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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di editor-code-assistant/eca

Tutte le issue di editor-code-assistant/eca

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.