If hook updates are enabled, opening the first float/panel should ensure the current captured editor context is written to the hook context file before the user submits the first prompt.
This avoids depending on a prior autocmd update while the agent job was already running
If hook updates are enabled, opening the first float/panel should ensure the current captured editor context is written to the hook context file before the user submits the first prompt.
This avoids depending on a prior autocmd update while the agent job was already running