core-agent-ide/codex-rs/app-server-protocol
sayan-oai 8a54d3caaa
feat: structured plugin parsing (#13711)
#### What

Add structured `@plugin` parsing and TUI support for plugin mentions.

- Core: switch from plain-text `@display_name` parsing to structured
`plugin://...` mentions via `UserInput::Mention` and
`[$...](plugin://...)` links in text, same pattern as apps/skills.
- TUI: add plugin mention popup, autocomplete, and chips when typing
`$`. Load plugin capability summaries and feed them into the composer;
plugin mentions appear alongside skills and apps.
- Generalize mention parsing to a sigil parameter, still defaults to `$`

<img width="797" height="119" alt="image"
src="https://github.com/user-attachments/assets/f0fe2658-d908-4927-9139-73f850805ceb"
/>

Builds on #13510. Currently clients have to build their own `id` via
`plugin@marketplace` and filter plugins to show by `enabled`, but we
will add `id` and `available` as fields returned from `plugin/list`
soon.

####Tests

Added tests, verified locally.
2026-03-06 11:08:36 -08:00
..
schema feat: structured plugin parsing (#13711) 2026-03-06 11:08:36 -08:00
src [elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621) 2026-03-06 01:50:26 -08:00
tests feat: vendor app-server protocol schema fixtures (#10371) 2026-02-01 23:38:43 -08:00
BUILD.bazel feat: vendor app-server protocol schema fixtures (#10371) 2026-02-01 23:38:43 -08:00
Cargo.toml feat(app-server): support mcp elicitations in v2 api (#13425) 2026-03-05 07:20:20 -08:00