Skip to content

Introduce structured completion sources and cancellable native capture - #233

Open
raiseCatError wants to merge 1 commit into
tooling/155-performance-benchmarksfrom
feature/140-structured-completion
Open

raiseCatError wants to merge 1 commit into
tooling/155-performance-benchmarksfrom
feature/140-structured-completion

Conversation

@raiseCatError

Copy link
Copy Markdown
Owner

Native completion now produces source-independent candidates with replacement values/ranges, buffer/cwd context, display text, descriptions, kind and source. The existing zsh capture helper and full-buffer insertion behavior remain the source and compatibility contract; no configured-zsh parity is claimed. Future engines can implement CompletionSource without coupling the composer to their output format.

Completion requests cancel superseded work and discard late results even from sources that ignore abort. The shared external runner accepts AbortSignal while retaining detached process-group isolation, timeout and output bounds; app shutdown cancels active capture work.

Depends on #193; base is tooling/155-performance-benchmarks. Merge order: #193, then this PR. Do not merge during milestone development.

Validation: build/typecheck/diff check, model and real provider-abort tests, full suite (inherited NO_COLOR removed). Physical QA: ordinary native completion and rapid edits; richer menu integration follows in #141. Existing native insertion limitations for complex quoting remain; this PR preserves that behavior.

Refs #140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant