- 后端:项目/运行 API、上下文服务与数据模型 - 前端:Studio 列表、编辑页(R1/R2 布局)、运行页与节点图 - 编辑页顶部:CSS Grid 统一标签行与控件行对齐,项目按钮独立第三行 - Docker 开发配置与文档脚本 Co-authored-by: Cursor <cursoragent@cursor.com>
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"templates": [
|
|
{
|
|
"skillId": "studio.init_bind",
|
|
"displayName": "创建并绑定",
|
|
"description": "创建角色卡与世界书,并绑定到当前 Studio 项目",
|
|
"displayParams": [
|
|
{
|
|
"key": "characterName",
|
|
"label": "角色卡名称",
|
|
"type": "text",
|
|
"required": true,
|
|
"placeholder": "例如:帝国骑士维尔"
|
|
},
|
|
{
|
|
"key": "worldbookName",
|
|
"label": "世界书名称",
|
|
"type": "text",
|
|
"required": true,
|
|
"placeholder": "例如:维尔的世界观"
|
|
}
|
|
],
|
|
"configWhitelist": [],
|
|
"artifacts": [],
|
|
"supportsLoopUntilSatisfied": false,
|
|
"supportsInputs": false,
|
|
"supportsInsertion": false,
|
|
"supportsScoring": false
|
|
},
|
|
{
|
|
"skillId": "studio.worldbook_entry",
|
|
"displayName": "创作世界书条目",
|
|
"description": "根据 stepGoal 与上文引用,生成并写入世界书条目",
|
|
"displayParams": [],
|
|
"configWhitelist": [
|
|
"stepGoal",
|
|
"thinkingPrompt",
|
|
"insertion.position",
|
|
"insertion.activationType",
|
|
"insertion.key",
|
|
"insertion.keysecondary",
|
|
"insertion.ragConfig",
|
|
"insertion.comment",
|
|
"scoring"
|
|
],
|
|
"artifacts": [
|
|
{
|
|
"type": "worldbook.entries",
|
|
"displayName": "世界书条目"
|
|
}
|
|
],
|
|
"supportsLoopUntilSatisfied": true,
|
|
"supportsInputs": true,
|
|
"supportsInsertion": true,
|
|
"supportsScoring": true
|
|
}
|
|
]
|
|
}
|