Mods reference changedplugins/mods/reference
Nearest release: v2.1.332, published 4 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 24 Nov 2026 17:29 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Nov 2026 17:37 UTC.
Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line
146
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits54to this page, all time
The whole hunk
from line 146, old and new numbered
/
from line 146
146146| `session.end` | The session ends, or `/clear`, `/resume`, or `/branch` runs. `e.reason` is `clear`, `resume`, `logout`, `prompt_input_exit`, or `other`. `/branch` reports `resume`. | `next(e)` |
147147| `session.compact` | The conversation is about to be compacted | `{ skip: reason }` |
148148| [`session.receive`](https://code.claude.com/docs/en/plugins/mods/api#send-and-receive-messages-between-sessions), [`session.send`](https://code.claude.com/docs/en/plugins/mods/api#send-and-receive-messages-between-sessions) | A message arrives from, or is about to go to, another agent or session. See [Send and receive messages between sessions](https://code.claude.com/docs/en/plugins/mods/api.md#send-and-receive-messages-between-sessions). | `{ consumed: reason }` for `receive`, `{ isDelivered: false, reason }` for `send` |
149| `session.append` | Once for each row the conversation keeps, such as a prompt, a response block, a tool result, or a notice, before it's stored | `next({ ...e, message })` with a changed `message.content`, to rewrite the row's text blocks or the `content` of a `tool_result` block in it |
149| `session.append` | Once for each row the conversation keeps, such as a prompt, a response block, a tool result, or a notice, before it's stored | `next({ ...e, message })` with a changed `message.content`, to rewrite the row's text blocks or the `content` of a `tool_result` block in it. You can't rewrite a row that holds a [skill from an MCP server](https://code.claude.com/docs/en/mcp.md#use-skills-from-mcp-servers). To change that skill's text, hook [`skill.prompt`](#prompts-and-what-claude-reads) instead. |
150150| `session.attach`, `session.detach` | Another app connects to or disconnects from the session | `next(e)` |
151151| `session.measure` | After each turn, and when a plan limit's percent used changes | `next(e)` |
152152| `session.stop` | The user stops Claude, such as with Esc during a turn. Requires Claude Code v2.1.326 or later. | `next(e)` |
No line in this hunk matches that.