{"version":"2.1.234","anchor":"repl-tool-has-an-async-dispatch-path-compiled-off","canonical_anchor":"repl-tool-has-an-async-dispatch-path-compiled-off","heading":"REPL tool has an async dispatch path, compiled off","tier":"soon","area":"REPL Tool","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234\/e\/repl-tool-has-an-async-dispatch-path-compiled-off","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234","markdown":"### REPL tool has an async dispatch path, compiled off\n\nThe REPL tool could return a receipt and deliver results later, but that path is compiled off.\n\n**What**\n\nThe REPL tool can now hand a script to a dispatcher, return a receipt immediately and deliver the real result later as a background poll event. The gate is a build-time constant that is false here, so every call runs the synchronous path.\n\n**Details**\n\n- The tool's output schema gained an `asyncDispatched` boolean.\n- There is a cap on how many dispatches can be outstanding; past it, further dispatches are refused.\n- Both the receipt and the refusal text point at a `<event kind=\"repl-eval\">` poll event, with the receipt assembled at runtime around the evaluation id and current queue depth.\n- Settle handling runs a PostToolUse pass over the deferred result, so hooks still see it.\n\n**Evidence**\n\n`asyncDispatched`\n\n- Area: REPL Tool\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 4\/5\n- Present in the build but not switched on"}