feat(ai): add plugin recommendations and agent context

This commit is contained in:
二丫讲梵 authored and t8y2 committed 2026-09-27 12:04:09 +08:00
1 parent 1b6017b9c5
commit e6edd02bbe
43 files changed
+1210 -118

No files matched your search

+12 -1
View File
@@ -7,6 +7,7 @@
"publisher": "{{PUBLISHER_JSON}}",
"description": "{{DESCRIPTION_JSON}}",
"icon": "assets/plugin.svg",
"permissions": ["host.ai"],
"engines": { "dbx": ">=0.5.68", "host_api": "1" },
"entrypoints": { "ui": { "root": "ui", "entry": "ui/index.html" } },
"contributions": [
@@ -15,7 +16,17 @@
"id": "{{PLUGIN_ID}}.workbench",
"label": "{{PLUGIN_NAME_JSON}}",
"description": "Svelte workbench contributed by {{PLUGIN_NAME_JSON}}.",
"icon": "assets/plugin.svg"
"icon": "assets/plugin.svg",
"ai": {
"recommendations": [
{
"id": "inspect-context",
"label": "Inspect current workbench",
"prompt": "Analyze the current workbench context and list the most important risks.",
"order": 10
}
]
}
}
],
"localizations": {