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

未关闭
#3,430 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@ivarurdalen 已经在做这个了。

开始于 2026年11月15日。

  • #3429 来自 @ivarurdalen —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
tooling

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
8.7k
派生
649
平均合并
11 小时 40 分钟
30 天内合并 PR
810

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

backnotprop/plannotator 的其他 Issue

查看 backnotprop/plannotator 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。