Remove Codex plugin feature and mention residue

This commit is contained in:
Meta Vens 2026-05-13 22:55:06 +01:00
commit 1933d8c175
29 changed files with 61 additions and 212 deletions

View file

@ -1,17 +0,0 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Plugins
Figma · Can be installed · ChatGPT Marketplace
Data shared with this app is subject to the app's terms of service and privacy policy. Learn
more.
Turn Figma files into implementation context.
› 1. Back to plugins Return to the plugin list.
2. Install plugin Install this plugin now.
Skills design-review, extract-copy
Apps Figma, Slack
MCP Servers figma-mcp, docs-mcp
Press esc to close.

View file

@ -1,15 +0,0 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Plugins
Figma · Installed · ChatGPT Marketplace
Turn Figma files into implementation context.
› 1. Back to plugins Return to the plugin list.
2. Uninstall plugin Remove this plugin now.
Skills design-review, extract-copy
Apps Figma, Slack
MCP Servers figma-mcp, docs-mcp
Press esc to close.

View file

@ -1,17 +0,0 @@
---
source: tui/src/chatwidget/tests/popups_and_settings.rs
expression: popup
---
Plugins
Browse plugins from available marketplaces.
Installed 1 of 4 available plugins.
[All Plugins] Installed (1) OpenAI Curated Repo Marketplace
Type to search plugins
› [ ] Alpha Sync Disabled Space to enable; Enter view details.
[-] Bravo Search Available · ChatGPT Marketplace · Search docs and tickets.
[-] Hidden Repo Plugin Available · Repo Marketplace · Should not be shown in /plugins.
[-] Starter Available · ChatGPT Marketplace · Included by default.
space enable/disable · ←/→ select marketplace · enter view details · esc close

View file

@ -1,9 +0,0 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Plugins
Loading available plugins...
This updates when the marketplace list is ready.
› Loading plugins... This updates when the marketplace list is ready.

View file

@ -1,14 +0,0 @@
---
source: tui/src/chatwidget/tests.rs
expression: popup
---
Plugins
Browse plugins from available marketplaces.
Installed 0 of 3 available plugins.
[All Plugins] Installed (0) OpenAI Curated
sla
› [-] Slack Available Press Enter to view plugin details.
space enable/disable · ←/→ select marketplace · enter view details · esc close

View file

@ -1080,7 +1080,7 @@ async fn submit_user_message_ignores_plugin_mentions_from_bindings() {
text_elements: Vec::new(),
mention_bindings: vec![MentionBinding {
mention: "sample".to_string(),
path: "plugin://sample@test".to_string(),
path: "skill://sample".to_string(),
}],
});

View file

@ -200,7 +200,6 @@ fn is_common_env_var(name: &str) -> bool {
fn is_tool_path(path: &str) -> bool {
path.starts_with("mcp://")
|| path.starts_with("plugin://")
|| path.starts_with("skill://")
|| path
.rsplit(['/', '\\'])
@ -216,7 +215,7 @@ mod tests {
#[test]
fn decode_history_mentions_restores_visible_tokens() {
let decoded = decode_history_mentions(
"Use [$repo](mcp://repo), [$sample](plugin://sample@test), and [$figma](/tmp/figma/SKILL.md).",
"Use [$repo](mcp://repo), [$sample](skill://sample), and [$figma](/tmp/figma/SKILL.md).",
);
assert_eq!(decoded.text, "Use $repo, $sample, and $figma.");
assert_eq!(
@ -228,7 +227,7 @@ mod tests {
},
LinkedMention {
mention: "sample".to_string(),
path: "plugin://sample@test".to_string(),
path: "skill://sample".to_string(),
},
LinkedMention {
mention: "figma".to_string(),
@ -258,7 +257,7 @@ mod tests {
},
LinkedMention {
mention: "sample".to_string(),
path: "plugin://sample@test".to_string(),
path: "skill://sample".to_string(),
},
LinkedMention {
mention: "figma".to_string(),
@ -268,7 +267,7 @@ mod tests {
);
assert_eq!(
encoded,
"[$figma](mcp://figma) then [$sample](plugin://sample@test) then [$figma](/tmp/figma/SKILL.md) then $other"
"[$figma](mcp://figma) then [$sample](skill://sample) then [$figma](/tmp/figma/SKILL.md) then $other"
);
}
}