Files
Aiden Cline 986ee8c060 feat(plugin): run session context hooks for every request kind
The context hook now fires for titles too and carries `kind`, so one rule
covers every outbound request: plugins that only want the agent loop
filter on `kind` instead of relying on the hook not firing.

`generation` and `providerOptions` collapse into one `options` bag. The
typed keys are the protocol-neutral generation settings; any other key is
passed to the protocol as a provider option. Core partitions them when it
builds the request.

Compaction no longer borrows the hidden `compaction` agent as its hook
identity. Every hook sees the session's agent and `kind: "compaction"`,
which removes the `contextAgentID` workaround. Retry hooks gain `kind`
so compaction retries stay distinguishable.
2026-09-04 00:50:22 -05:00
..