Files
oh-my-pi/packages/coding-agent
kamafozilov 17bfadcb5f fix(coding-agent): submit plan refinement directly instead of requiring double enter
When selecting 'Refine plan' during plan review, the refinement text was
placed into the editor via setText() but not submitted. The user had to
press Enter a second time to actually send the message.

After session.abort() at the start of handleExitPlanModeTool, the main
loop cycles back to getUserInput() which sets onInputCallback before the
hook selector and input can resolve. By the time the user finishes typing
the refinement, onInputCallback is available. Submit the refinement
directly through onInputCallback + startPendingSubmission, matching the
pattern already used by handlePlanModeCommand for initial prompts.

Falls back to editor.setText() if onInputCallback is unexpectedly absent.

Fixes #597
2026-04-04 03:42:31 +05:00
..
2026-01-03 14:53:38 +01:00

@oh-my-pi/pi-coding-agent

Core implementation package for the omp coding agent in the oh-my-pi monorepo.

For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:

Package-specific references: