Claude Code mod: no way to turn off the automatic /reload-plugins without losing the Inbox tool

Aperta
#3,430 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ivarurdalen ci sta già lavorando.

Dal 15/11/2026.

  • #3429 di @ivarurdalen — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
tooling

Direzione di ricerca

Start in controller.ts where AutoReload is built for any session with the Inbox tool, and trace how auto_reload is sent on the bridge poll. The Pi mod already implements PLANNOTATOR_AUTO_RELOAD / autoReload with env-over-config precedence (#2356); mirror that lookup here. Done means: with the setting off, no AutoReload is constructed and no auto_reload is sent, while the Inbox tool, reminder and reply wake still work. Note a fix is already proposed in #3429, so check that before starting.

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

Descrizione

Summary

After a Plannotator update, the Claude Code mod runs /reload-plugins plannotator in every idle Claude Code session connected to the Inbox (#2873). There is no switch to turn this off while keeping the plannotator_inbox tool. Pi already has one (PLANNOTATOR_AUTO_RELOAD / autoReload, #2356), but the mod does not read it.

Environment

  • Plannotator plugin 0.28.65 (plannotator@plannotator), CLI 0.28.64
  • Claude Code 2.1.325
  • Linux (Debian 13)
  • 30+ Claude Code agent sessions running at once on one machine, all connected to the Inbox

What happens

  1. Run many Claude Code sessions with the mod and the Inbox tool on.
  2. A Plannotator release reaches the machine (plugin auto-update, or the install script).
  3. On their next Inbox poll, every idle session gets reload: { installed } from the Inbox and runs /reload-plugins plannotator.

All sessions reload together, without warning. With dozens of agent sessions, the update timing is outside the person's control.

Expected: a way to keep the Inbox tool and the reply wake, but reload sessions by hand (the Inbox's manual /reload-plugins notice, as before #2873).

Cause

  • controller.ts builds AutoReload whenever the session has the Inbox tool and the host can read the prompt box, run a command and report the loaded plugin. No setting is consulted.
  • With AutoReload built, the Inbox link sends auto_reload: true on every bridge poll. The Inbox then answers with a reload offer whenever claudeSessionOutdated says a reload loads a newer plugin.
  • The only way to stop it today is PLANNOTATOR_INBOX_TOOL=0. That also removes the plannotator_inbox tool, its reminder and the reply wake.

Proposed behavior

  • Extend the existing PLANNOTATOR_AUTO_RELOAD env var and autoReload config key to the Claude Code mod, rather than add a new setting. Same values and precedence: the env var wins over config.json, default stays on.
  • When off, the mod builds no AutoReload and never sends auto_reload. The Inbox keeps showing its manual /reload-plugins notice. The Inbox tool, reminder and reply wake are unchanged.

Workaround today

PLANNOTATOR_INBOX_TOOL=0, which gives up the Inbox tool in every session.

A fix is in #3429.

Lingua principale
TypeScript
Stelle
8.7k
Fork
649
Merge medio
11h 40m
PR unite (30g)
810

Preparare l'ambiente

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 backnotprop/plannotator

Tutte le issue di backnotprop/plannotator

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.