Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

5 pages for turn.complete.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Claude Code changelog Claude Code CLI · in the page changelog …t an object" error * Fixed plugin hooks reading an empty `answer` on `turn.complete` for a subagent that hands its report back in auto mode * Fixed a mod being unloaded without a message when a refres… Use the mods API Claude Code CLI · in the page plugins/mods/api …hooks run first and can take a while: ```javascript theme={null} on('turn.complete', ($, e, next) => { const isMainTurn = e.agentId === undefined && !e.isAborted const fallBack = () => $.ui.toast… React to events with a mod Claude Code CLI · in the page plugins/mods/events …does in answer to one prompt. Handle `turn.start`, `turn.step`, and `turn.complete` to follow one: | Event | When it fires | What a hook can do | | :- | :- | :- | | `turn.start` | A turn begins | Ob… Mods reference Claude Code CLI · in the page plugins/mods/reference …next(e)`, or `next({ ...e, model })`, `next({ ...e, effort })` | | [`turn.complete`](https://code.claude.com/docs/en/plugins/mods/events#follow-a-turn) | A turn ended | `next(e)`, or `{ text }` to sh… Test a mod Claude Code CLI · in the page plugins/mods/test ….call`. `$.command.run`, `$.prompt.submit`, `$.session.start`, and `$.turn.complete` work the same way, and `$.classic.Stop` and the other `$.classic` methods fire a [settings hook event](https://code…
Feedback