{"version":"2.1.277","anchor":"hook-manifest-scan-capability-list-expanded","canonical_anchor":"hook-manifest-scan-capability-list-expanded","heading":"Hook manifest scan capability list expanded","tier":"internal","area":"Plugin Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/hook-manifest-scan-capability-list-expanded","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Hook manifest scan capability list expanded\n\nThe 'scan' hook set's allowed capabilities were expanded and ui.toast was removed\n\n**What**\n\nThe capability manifest for the 'scan' hook set (a declared list of what that group of hooks is allowed to do) now permits calling `env.get`, `telemetry.log`, and `telemetry.mark`, and explicitly lists reading the `HOME` and `USERPROFILE` environment variables. The `ui.toast` call, previously allowed, was removed from this set's permitted calls.\n\n**Why**\n\nThis changes what 'scan' hooks are allowed to do: they gain access to environment lookups and telemetry logging, but can no longer show toast notifications directly.\n\n- Area: Plugin Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}