What
The runtime that handles hooks and plugins now takes shortcuts. Hooks are your own commands that run when certain events happen. The shortcuts are:
- skipping the usual handling when every matching handler is a default one
- answering
command.describeandenv.getevents directly when they arrive alone - loading fewer modules for
session.appendandprompt.attachmentevents
The shortcuts are on by default. Two environment variables turn them off:
Why
These shortcuts are there to save work. If hooks or plugins start behaving differently, setting these variables brings back the earlier handling.