{"version":"2.1.328","anchor":"plugin-mods-can-run-ops-via-a-new-mod-op-dispatcher-process","canonical_anchor":"plugin-mods-can-run-ops-via-a-new-mod-op-dispatcher-process","heading":"Mods get code that carries out their requests to run programs, fetch and change settings","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/plugin-mods-can-run-ops-via-a-new-mod-op-dispatcher-process","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### Mods get code that carries out their requests to run programs, fetch and change settings\n\nClaude Code now has code that carries out mod requests such as running programs, fetching web pages, setting environment variables and changing config\n\n**Unclear.** What switches on the mods runtime that would use this code is not known.\n\n**What**\n\nMods are add-ons that run inside Claude Code and ask it to do things for them. Claude Code now has code that receives those requests and carries them out. It handles:\n\n- `process.run`, to run a program.\n\n- `process.spawn`, to start a program and read its output bit by bit, with steps to pull more output, keep the program running or stop it.\n\n- `http.fetch`, to fetch from the web.\n\n- `env.get` and `env.set`, to read and set environment variables.\n\n- `store.get` and `store.set`, to save and read the mod's own data.\n\n- `settings.read`, `config.list` and `config.set`, to read settings and list or change config.\n\nThe amount of output a request can return is capped. `env.set` refuses to change a variable that a policy has fixed.\n\n**Why**\n\nThis gives mods a large set of new abilities, including changing your environment and settings. The limits on output size and on policy-fixed variables are what keep that in check.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}