Offer nvim or OpenCode when creating a pipeline
This commit is contained in:
+11
@@ -64,6 +64,17 @@ Every submission, including agent-issued `submit`/`rpc`, still uses server valid
|
||||
|
||||
## Drafts in the TUI
|
||||
|
||||
Home's `n` / `:new` and Enter on a template first ask how to author the new
|
||||
pipeline: **nvim** opens a retained Markdown draft file, or **OpenCode** opens
|
||||
the collaborative harness with `@pipelines`. Tab/Shift+Tab or arrows select;
|
||||
typing fuzzy-searches the choices; Enter launches and Esc cancels without
|
||||
creating a draft. The choice overrides `VISUAL`/`EDITOR`. New drafts preserve
|
||||
the create-only publication guard and still require explicit submission unless
|
||||
you already published them from OpenCode. OpenCode can ask for a missing name;
|
||||
for an unnamed nvim draft, `pipelines submit <draft.md> --name NAME` names and
|
||||
publishes it. CLI `pipelines new` retains its existing direct-OpenCode behavior;
|
||||
`--no-open` creates the file without launching an editor.
|
||||
|
||||
Press `d` on the dashboard or use `:drafts` to browse the same retained drafts as
|
||||
`pipelines drafts`. Use `n/p` to select, `j/k` to scroll source, `e`/Enter to reopen
|
||||
the existing draft, `v` for server validation, and `s` for submission confirmation.
|
||||
|
||||
Reference in New Issue
Block a user