Files
cindy/scripts/examples/plugin-model-picker/ghost.json
MagicLizi b21813a8a3 feat(plugins): allow plugin pages to reuse the host model picker
Open the shared model selector beside plugin page buttons and return the full
validated model route. Bind requests to the approved page and original host,
support detached windows and native tab views, and preserve legacy dialogs.

Remove the inherited three-second picker cooldown so closing and reopening a
selector works normally. Include an interactive demo plugin and regression
coverage for page ownership, cancellation, remote sources and catalog leases.

Assisted-by: Cindy (https://cindy.app)
Signed-off-by: MagicLizi <jiali@magiclizi.com>
2026-11-05 15:13:54 +08:00

15 lines
562 B
JSON

{
"schemaVersion": 3,
"minCindyVersion": "0.1.125",
"id": "model-picker-demo",
"name": "模型选择器体验",
"description": "在插件面板体验宿主模型选择器,查看完整选择结果。",
"whenToUse": "在插件面板体验宿主模型选择器,查看完整选择结果。",
"version": "1.0.0",
"kind": "chip",
"entry": "main.js",
"icon": "assets/icon.png",
"panel": { "title": "模型选择器体验", "html": "panel.html", "position": "right" },
"mainView": { "title": "模型选择器体验", "html": "panel.html" }
}