Repository navigation
AFKSwitch 0.6.1
Same switch, written so the Claude plugin directory can review it. No behavior change from 0.6.0, which has the full notes.
- The switch module passes
$only to plain function declarations, and its registrations no longer chain an error fallback (Claude Code already skips a hook that throws). - The README states which events the switch hooks and which commands it runs:
/afkswitch:afkor/afkswitch:back, once per press, without context.
The switch still loads only from a plugin folder (--plugin-dir or CLAUDE_CODE_PLUGIN_DIRS) until Claude Code enables modules for installed plugins.