zhi-2026-04-18 #1
Reference in New Issue
Block a user
Delete Branch "zhi-2026-04-18"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- plugin/ directory structure: hooks/, tools/, core/ - export default { id, name, register } entry format - globalThis state management with lifecycle protection - WeakSet dedup on before_prompt_build hook - Tool uses inputSchema + execute (not parameters + handler) - additionalProperties: false in config schema - Core logic in plugin/core/ (no plugin-sdk dependency) - Install/uninstall script (scripts/install.mjs) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>- inputSchema → parameters - { result: text } → { content: [{ type: "text", text }] } Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>