* Registers hook handlers for session lifecycle events. * * Hooks allow custom logic to be executed at various points during * the session lifecycle (before/after tool use, session start/end, etc.). * * @param hooks - The hook handlers object, or undefined to remove all hook
(hooks?: SessionHooks)
| 1130 | * @internal This method is typically called internally when creating a session. |
| 1131 | */ |
| 1132 | registerHooks(hooks?: SessionHooks): void { |
| 1133 | this.hooks = hooks; |
| 1134 | } |
| 1135 | |
| 1136 | /** |
| 1137 | * Registers transform callbacks for system message sections. |
no outgoing calls
no test coverage detected