Unclear What switches WebAssembly on for a hooks module is not known.
What
Plugins are add-on packages that extend Claude Code. A plugin's hooks module is its own code, run inside a closed-off sandbox. That runtime now offers more:
- WebAssembly, a compact compiled code format, can be enabled (
isWasmOn). A reduced, hardened WebAssembly global is installed, and a module that declares shared memory is refused.$.wasm.compileand thewasm.compileoperation are added, and$.wasm.compiletakes a string naming a .wasm file of the plugin's own. - Shader and Backdrop elements are validated.
$.agent.calland$.agent.limitsare added, and$.audio.speaktakes a signal.- New events:
tool.judge,tool.run,ui.pointerandagent.call. Aprocess.hookEnvoperation is also added. plugin.registernow carriesprovides,unreadandrequiredByOrganization, and a module that hooksplugin.registermakes a reload run plugin storage setup.- The module scanner records
$.wasm.compilecalls and their .wasm files, detects Shader use, and storeswasm,namesShaderandshaderson each module record. - A plugin whose hooks module is not running shows the hint "Update or fix the plugin, then run /reload-plugins".
Why
Plugin authors can do considerably more inside a hooks module. If a plugin's hooks module stops running, update or fix it and use /reload-plugins instead of restarting.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What switches WebAssembly on for a hooks module is not known.