{"version":"2.1.326","anchor":"plugin-hooks-modules-wasmcompile-and-tool-call-guard-rewor","canonical_anchor":"plugin-hooks-modules-wasmcompile-and-tool-call-guard-rewor","heading":"Plugin modules can compile WebAssembly and handle agent calls","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/plugin-hooks-modules-wasmcompile-and-tool-call-guard-rewor","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Plugin modules can compile WebAssembly and handle agent calls\n\nPlugin modules gain a way to compile WebAssembly from a file path or raw bytes, plus a new agent call handler\n\n**Unclear.** It is not clear whether these plugin module abilities are available to every user or held back behind a setting.\n\n**What**\n\nPlugin modules are pieces of JavaScript that a plugin runs inside Claude Code. They gain two new abilities:\n\n- `$.wasm.compile` compiles WebAssembly, a compact binary program format, from either a literal file path or raw bytes (an ArrayBuffer or a view of one).\n\n- `$.agent.call` is a new handler for calls made by the agent.\n\nThe check that guards tools which start work in the background has been reworked so that it also covers the new agent call handler.\n\n**Why**\n\nPlugin authors get new building blocks: they can ship WebAssembly code with a plugin and compile it at run time.\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}