Skip to content

feat: automatic Company completion in AI Code vterm sessions - #520

Closed
tninja wants to merge 3 commits into
mainfrom
feat/terminal-company-completion
Closed

tninja wants to merge 3 commits into
mainfrom
feat/terminal-company-completion

Conversation

@tninja

@tninja tninja commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add an opt-in, agent-independent Company completion mode for AI Code vterm sessions, including Claude Code and Codex.
  • Reuse recorded prompt candidates and optional Cape dictionary words. Track ordinary typing and backspace; accept with Tab through the terminal adapter without submitting.
  • Drop tracked input on unknown edits, avoid /commands and @file tokens, and verify terminal text before replacing it. Fix the Cape merged CAPF invocation.

Verification

  • ERT: 7 terminal completion tests, 51 prompt completion tests, 163 terminal infrastructure tests passed.
  • Byte compilation of changed Lisp files passed with warnings treated as errors; checkdoc checked the new module.
  • Live Claude Code and Codex TUI sessions have not been exercised in this environment. Please verify timing, popup placement, Tab acceptance, CLI native menus, and paste behavior in each before merging.

Closes #515 after live validation.

@tninja tninja closed this Oct 3, 2026
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.

Feat: Extend the completion of this PR to the ai coding session input: https://github.com/tninja/ai-code-interface.el/pull/512

1 participant