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

Refresh the project plugins of a remote checkout without a restart

Aperta
#7,221 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
63/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start with src/node/services/agentPlugins/remoteProjectPlugins.ts and read how clearRemoteProjectPluginSnapshots is used and how remote plugin snapshots are read. Then trace the workspace-open flow and command palette or keybind registration to compare the proposed refresh options. Done means a refresh clears the relevant cached snapshot and the next read performs one listing exec, while cache hits still avoid remote execs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

After #6426 (b2b), Xum reads the project Agent Plugins of a trusted SSH or Docker checkout once and keeps a snapshot until the project trust changes or Xum restarts. Edits to a plugin in a remote checkout show after you restart Xum or change the project's trust. No action refreshes the snapshot earlier.

Proposal

Pick one, or both:

  1. An explicit refresh action (command palette entry and keybind) that clears the remote plugin snapshots (clearRemoteProjectPluginSnapshots in src/node/services/agentPlugins/remoteProjectPlugins.ts).
  2. Clear the snapshot of a workspace when the workspace opens.

Constraints

  • Perf: no remote exec per turn on a cache hit. A refresh costs one listing exec (one SSH round trip) on the next read.
  • A TTL needs a perf OK first.

Refs #6426.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lingua principale
TypeScript
Stelle
2.1k
Fork
140
Merge medio
5h 8m
PR unite (30g)
952

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 coder/xum

Tutte le issue di coder/xum

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.