Separate completion metadata from literal choices

This commit is contained in:
2026-11-03 13:12:05 +00:00
parent f39f27b5cd
commit b83c0a0dfc
3 changed files with 53 additions and 35 deletions

View File

@@ -67,7 +67,9 @@ hints. Coordinate with finding 1 so the same context drives safe shell calls.
### 3. Separate transport control records from literal candidates
Priority: P2. Status: open.
Priority: P2. Status: complete.
- [x] Completed: Successful replies frame replacement metadata in a dedicated first line. Bash and Zsh no longer interpret ActiveHelp-like candidate text. Interactive checks pass for literal control-like choices, attached choices, and empty replies.
[CompletionReply](../../internal/cobra/completion.go#L19) emits literal choices
in a stream where generated scripts also recognize Cobra's `_activeHelp_ `