feat(autopilot): Mission composer — evolving mission editor, paste, and polish#290
feat(autopilot): Mission composer — evolving mission editor, paste, and polish#290yanmxa wants to merge 2 commits into
Conversation
The /autopilot Mission composer dropped bracketed paste because the panel never implemented the paste handler. Implement HandlePaste for the Mission and System Prompt editors — insert at the cursor, preserve multi-line. Also add a thin focus-accent rail down the composer's left edge so it reads as the active input field. Signed-off-by: Meng Yan <yanmxa@gmail.com>
|
[REBASE NOTIFIER] Hi @yanmxa! This PR is behind the base branch and needs to be rebased. The How to fix thisrebase your branch — Run After fixing:
|
The first message sets the mission verbatim; each later message refines the running draft via the copilot — folding the new instruction into the existing mission and replacing it — instead of piling raw turns on. With no model wired, later messages fold in verbatim so briefing still works offline. The dialog shows the draft evolving in place, with a spinner while a refine runs. Rename the injected function and its message from reply/respond to refine throughout, so the names state what it now does. Signed-off-by: Meng Yan <yanmxa@gmail.com>
|
[REBASE NOTIFIER] Hi @yanmxa! This PR has merge conflicts. The How to fix thisresolve the conflicts — Fix the merge conflicts locally, then push the resolved changes. After fixing:
|
|
Superseded by the direct-editor Mission redesign shipped in v1.21.1. That version makes the Mission dialog a plain text editor — the box holds the whole mission — with |
Improvements to the /autopilot Mission composer:
HandlePasteso bracketed paste reaches the Mission and System Prompt editors (was dropped) — inserts at the cursor, preserves multi-line.