Repository navigation
fix: 记住单个 agent 的禁用,模式/全局开关不再重新启用 - #121
Merged
Merged
Conversation
`offload agent disable` 现在把选择写入 config 的 disabled_agents; `offload mode`、`offload enable|disable` 和不带 -agent 的 install-agent 会跳过这些 agent。`agent enable` 或 `install-agent -agent <name>` 清除该选择。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
offload agent disable --agent claude只删除文件、不记录选择。之后offload mode、设置页模式滑块、offload enable|disable都会调用默认-agent all的 install-agent,把已禁用的 agent 的 skill 和策略重新写回。修复
agent disable把选择存入 config 的disabled_agents;agent enable清除。install-agent(user scope、默认 all)跳过这些 agent 并打印skipped <agent>;显式-agent <name>安装后清除该选择。验证
go vet ./...、go test ./...全部通过。agent enable恢复并清除选择。🤖 Generated with Claude Code