{"version":"2.1.242","anchor":"turns-emit-start-and-complete-events-and-a-plugin-can-append","canonical_anchor":"turns-emit-start-and-complete-events-and-a-plugin-can-append","heading":"Turns emit start and complete events, and a plugin can append to the final answer","tier":"soon","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/turns-emit-start-and-complete-events-and-a-plugin-can-append","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Turns emit start and complete events, and a plugin can append to the final answer\n\nEach turn now emits start and complete events a plugin module can hook and append text to.\n\n**What**\n\nEvery interactive turn now opens a turn id, emits `turn.start` with the text you submitted, and on finishing emits `turn.complete` with the last real assistant message, elapsed milliseconds, whether it was aborted, and the turn id. A module handler that returns text differing from the model's answer has that text appended to the transcript as a system notice prefixed with the names of the handlers that contributed. `turn.step` exists as a third event.\n\n**Details**\n\n- The events are emitted unconditionally for interactive turns; nothing happens unless a plugin module registers handlers for them.\n\n**Evidence**\n\n`turn.complete`\n\n- Area: Plugins\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}