{"version":"2.1.299","anchor":"plugin-runtime-mods-gain-uilog-envget-envset","canonical_anchor":"plugin-runtime-mods-gain-uilog-envget-envset","heading":"Plugins gain entries for logging and environment variables","tier":"use","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/plugin-runtime-mods-gain-uilog-envget-envset","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Plugins gain entries for logging and environment variables\n\nThe plugin runtime's list next to tool.register and tool.list now also includes ui.log, env.get and env.set\n\n**Unclear.** It is not clear whether this list grants plugins these abilities, sets permissions for them, or does something else.\n\n**What**\n\nPlugins are add-on packages that extend Claude Code. The plugin runtime keeps a list of entries that includes `tool.register`, `tool.list`, `tool.check` and `plugin.register`. That list now also includes:\n\n- `ui.log`\n\n- `env.get`\n\n- `env.set`\n\n**Why**\n\nGoing by their names, these entries would let plugin code write messages and read or set environment variables, which are named settings passed to running programs.\n\n- Area: Plugins\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}