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:
sayan-oai
2026-03-07 17:36:39 -08:00
committed by GitHub
parent bf5c2f48a5
commit 590cfa6176
6 changed files with 98 additions and 16 deletions

View 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 = '@';