Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.259 ·

New plugin/hook events 'prompt.context' and 'session.start'

Two hook events arrive: session.start fires on terminal session start, and prompt.context is registered but has no emitter here.

Use it now Notable New Features
JSON All of v2.1.259
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
New FeaturesKind: in v2.1.259,
What probably matters to youSection of the release

Two new hook/event kinds, prompt.context and session.start, are now recognized for host-plugin messaging validation and payload-shape mapping. session.start is wired up: the terminal REPL calls a new _raiseSessionStart() unconditionally during session start, sending {loaded, surface: "terminal", interactive: true}, with a corresponding event schema payload of {cwd}. prompt.context appears in the same validation and telemetry site tables alongside other prompt-family events, but no direct emitter was found in this slice. Both event kinds were also added to the telemetry site registry alongside existing tool/prompt/agent/turn sites.

Read from
Names in the bundlesession.startprompt.context
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up session.start, on Use the mods API. Work that outlives one event, such as checking on something once a minute, runs on a timer you start from `session.start`. A hook itself runs for one event and has a [time limit](/docs/en/plugins/mods/reference#limits) on its own execution… plugins/mods/api see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up session.start, on Use the mods API.

See this entry in the whole of v2.1.259 →

Feedback