{"version":"2.1.246","anchor":"tools-can-trigger-a-plugin-reload-and-drop-departed-director","canonical_anchor":"tools-can-trigger-a-plugin-reload-and-drop-departed-director","heading":"Tools can trigger a plugin reload and drop departed directories","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/tools-can-trigger-a-plugin-reload-and-drop-departed-director","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Tools can trigger a plugin reload and drop departed directories\n\nTools can now reload plugins and drop extra directories that no longer apply.\n\n**What**\n\nThe context passed to tools now carries a way to re-apply plugins without installing anything staged, and a way to rewrite the permission context so additional directories that no longer apply are dropped. The latter is the counterpart to the directory re-homing done on `set_cwd`.\n\n**Details**\n\n- Also in this refactor: the background-pending reference became a `gesture` object with `clearPending()` and `pending`; the input reference became a `draft` with `.value`; and message and event application moved into the REPL query class.\n\n**Evidence**\n\n`retireDepartedAdditionalDirectories`\n\n- Area: Plugins\n- Names: `set_cwd`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}