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>
14 lines
323 B
JSON
14 lines
323 B
JSON
{
|
|
"id": "demo.script",
|
|
"title": "示例脚本",
|
|
"description": "插件自带脚本。需要打开 runtime.workflowScripts。不绑定意图,用 run_workflow 启动。",
|
|
"steps": [
|
|
{
|
|
"id": "run",
|
|
"title": "跑脚本",
|
|
"kind": "script",
|
|
"script": "workflows/scripts/demo.py"
|
|
}
|
|
]
|
|
}
|