mirror of
https://github.com/openai/codex.git
synced 2026-04-29 00:55:38 +00:00
chore: use @plugin instead of $plugin for plaintext mentions (#13921)
change plaintext plugin-mentions from `$plugin` to `@plugin`, ensure TUI can correctly decode these from history. tested locally, added/updated tests.
This commit is contained in:
4
codex-rs/core/src/mention_syntax.rs
Normal file
4
codex-rs/core/src/mention_syntax.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
// Default plaintext sigil for tools.
|
||||
pub const TOOL_MENTION_SIGIL: char = '$';
|
||||
// Plugins use `@` in linked plaintext outside TUI.
|
||||
pub const PLUGIN_TEXT_MENTION_SIGIL: char = '@';
|
||||
Reference in New Issue
Block a user