Why: The example plugin needs a bound intent and a plugin-shipped script so the three P4 paths can be checked against a real plugin. Evidence: TestRepoExamplePluginLoads accepts the plugin, asks 主题是什么?, and keeps the topic slot. Impact: demo.brief starts the five-step workflow. demo.script stays unbound and needs runtime.workflowScripts. Refs: feature/agent-harness-p4 Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
557 B
JSON
42 lines
557 B
JSON
{
|
|
"id": "example",
|
|
"name": "示例插件",
|
|
"version": "0.1.0",
|
|
"apiVersion": "1.0",
|
|
"requires": {
|
|
"network": [
|
|
"api.example.com"
|
|
]
|
|
},
|
|
"provides": {
|
|
"tools": [
|
|
"http_echo"
|
|
],
|
|
"intents": [
|
|
"demo"
|
|
],
|
|
"panels": [
|
|
"demo"
|
|
],
|
|
"cards": [
|
|
"note"
|
|
],
|
|
"prompts": [
|
|
"assistant"
|
|
],
|
|
"settings": [
|
|
"greeting"
|
|
],
|
|
"workspaces": [
|
|
"main"
|
|
],
|
|
"commands": [
|
|
"demo"
|
|
],
|
|
"workflows": [
|
|
"demo-brief",
|
|
"demo-script"
|
|
]
|
|
}
|
|
}
|