Add Studio run interrupt, confirm actions, and template-bound controls.

AbortController cancels message/reroll streams; undo/reroll use in-place confirm; runControls in skill templates gate UI by skillId.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-31 23:03:39 +08:00
parent 5bfe7a733f
commit 0f50c98cf3
7 changed files with 318 additions and 110 deletions

View File

@@ -25,7 +25,8 @@
"supportsLoopUntilSatisfied": false,
"supportsInputs": false,
"supportsInsertion": false,
"supportsScoring": false
"supportsScoring": false,
"runControls": []
},
{
"skillId": "studio.worldbook_entry",
@@ -67,7 +68,8 @@
"enabled": true,
"dimensions": []
}
}
},
"runControls": ["undo", "reroll", "interrupt", "nextStep", "questions"]
}
]
}