What's wrong with this entry?
Anonymous. No account, no email.
What: New architecture for temporary, session-scoped hooks that automatically clean up when sessions end How it works:
- Session hooks are stored separately from user settings (
sessionHooksfield in app state at line 141240) - Automatically cleared on session end to prevent accumulation
- Support callback functions (
onMatch) for programmatic responses - Cannot be removed through settings UI (protected at diff lines 2057-2059)
Details:
- Three new management functions:
wB1() at line 457341- Retrieves session hooks for a specific sessionll2() at line 457356- Finds and returns matching hook callbacksil2() at line 457367- Clears all hooks for a session- Session hooks are merged with permanent hooks at execution time (merge logic in
nl2() at line 457391) - Hooks are marked with
source: "sessionHook"to distinguish from settings-based hooks - Designed for plugins, agents, and temporary automation without polluting user settings
- Evidence: State initialization at
line 141240, management functions atlines 457341-457367, integration innl2() at lines 457391-457413