feat: 完成A线详细大纲
- 加入巫族首领摄司的设定(开放祖庭、贡献值制度) - 修正人族演化路径:底层献祭品→贡献值→祖庭核心→导演终局 - 修正终局之战逻辑:人族制造假情报,坐收渔利 - 修正刑天结局:至死都是巫族,战死沙场 - 修正九黎阙设定:后期配角,主动被寄生50年后自爆 - 核心主题:人族成长=否定血脉论 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
359
.vscode/workflows/dagang.json
vendored
Normal file
359
.vscode/workflows/dagang.json
vendored
Normal file
@@ -0,0 +1,359 @@
|
||||
{
|
||||
"id": "workflow-1769511490193",
|
||||
"name": "dagang",
|
||||
"version": "1.0.0",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "start-node-default",
|
||||
"type": "start",
|
||||
"name": "start-node-default",
|
||||
"position": {
|
||||
"x": 100,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"label": "Start"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "check-settings",
|
||||
"type": "subAgent",
|
||||
"name": "check-settings",
|
||||
"position": {
|
||||
"x": 350,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"description": "检查设定是否存在",
|
||||
"prompt": "检查项目中是否已有小说设定文件(如世界观、角色设定、背景设定等)。如果存在,请列出已有的设定内容;如果不存在或设定不完整,请明确说明需要补充哪些设定。",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "settings-exists-check",
|
||||
"type": "ifElse",
|
||||
"name": "settings-exists-check",
|
||||
"position": {
|
||||
"x": 650,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"branches": [
|
||||
{
|
||||
"id": "branch-0",
|
||||
"label": "设定存在",
|
||||
"condition": "设定文件已存在且内容完整"
|
||||
},
|
||||
{
|
||||
"id": "branch-1",
|
||||
"label": "设定缺失",
|
||||
"condition": "设定文件不存在或内容不完整"
|
||||
}
|
||||
],
|
||||
"outputPorts": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "prompt-supplement-settings",
|
||||
"type": "prompt",
|
||||
"name": "prompt-supplement-settings",
|
||||
"position": {
|
||||
"x": 950,
|
||||
"y": 350
|
||||
},
|
||||
"data": {
|
||||
"label": "提示补充设定",
|
||||
"prompt": "您的小说设定尚未完整。请先补充以下设定内容后再进行大纲创作:\n\n1. 世界观设定(时代背景、地理环境、社会结构等)\n2. 角色设定(主要角色性格、背景、动机等)\n3. 核心主题/内核(您想通过故事表达什么)\n\n请补充完整设定后重新启动流程。",
|
||||
"variables": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "discuss-story-core",
|
||||
"type": "subAgent",
|
||||
"name": "discuss-story-core",
|
||||
"position": {
|
||||
"x": 950,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"description": "与作者讨论故事和内核",
|
||||
"prompt": "基于已有的设定内容,与作者深入讨论想要讲述的故事。探讨以下问题:\n\n1. 这个故事的核心主题是什么?\n2. 作者想通过故事表达什么思想或情感?\n3. 故事的基调如何?(温馨、悬疑、悲剧、喜剧等)\n4. 最想打动读者的点是什么?\n\n请引导作者深入思考,帮助明确故事内核。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "discuss-plot-conflicts",
|
||||
"type": "subAgent",
|
||||
"name": "discuss-plot-conflicts",
|
||||
"position": {
|
||||
"x": 1250,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"description": "讨论剧情节点和主要冲突",
|
||||
"prompt": "基于已有设定和确定的故事内核,与作者一起规划剧情结构:\n\n1. 故事的开端、发展、高潮、结局如何安排?\n2. 主要的冲突点有哪些?(人物冲突、价值观冲突、外部冲突等)\n3. 关键转折点是什么?\n4. 各章节/段落的主要情节安排\n\n请引导作者思考,确保剧情逻辑连贯且服务于故事内核。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "generate-outline",
|
||||
"type": "subAgent",
|
||||
"name": "generate-outline",
|
||||
"position": {
|
||||
"x": 1550,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"description": "生成剧情大纲",
|
||||
"prompt": "基于以上所有讨论内容(设定、故事内核、剧情节点、冲突设计),生成一份完整的小说剧情大纲。大纲应包括:\n\n1. 故事梗概(100-200字)\n2. 主要人物介绍\n3. 分章/分段剧情概要\n4. 核心冲突的发展脉络\n5. 主题表达方式说明\n\n请生成结构清晰、内容充实的大纲供作者审阅。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "check-conflicts",
|
||||
"type": "subAgent",
|
||||
"name": "check-conflicts",
|
||||
"position": {
|
||||
"x": 1850,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"description": "检查剧情与设定的冲突",
|
||||
"prompt": "仔细核对生成的剧情大纲与原始设定之间是否存在冲突:\n\n1. 角色行为是否符合其设定性格\n2. 剧情发展是否符合世界观设定\n3. 时间线、因果关系是否自洽\n4. 是否有违反已有设定的情节\n\n请列出所有发现的冲突,并说明冲突的具体内容。",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "has-conflicts-check",
|
||||
"type": "ifElse",
|
||||
"name": "has-conflicts-check",
|
||||
"position": {
|
||||
"x": 2150,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"branches": [
|
||||
{
|
||||
"id": "branch-0",
|
||||
"label": "有冲突",
|
||||
"condition": "检测到剧情与设定存在冲突"
|
||||
},
|
||||
{
|
||||
"id": "branch-1",
|
||||
"label": "无冲突",
|
||||
"condition": "未发现冲突或所有冲突已解决"
|
||||
}
|
||||
],
|
||||
"outputPorts": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "resolve-conflicts",
|
||||
"type": "askUserQuestion",
|
||||
"name": "resolve-conflicts",
|
||||
"position": {
|
||||
"x": 2385,
|
||||
"y": 210
|
||||
},
|
||||
"data": {
|
||||
"questionText": "发现剧情与设定存在冲突,您希望如何处理?",
|
||||
"options": [
|
||||
{
|
||||
"id": "opt-keep-plot",
|
||||
"label": "保留剧情,修改设定",
|
||||
"description": "剧情更重要,相应调整原有设定以配合剧情发展"
|
||||
},
|
||||
{
|
||||
"id": "opt-keep-setting",
|
||||
"label": "保留设定,修改剧情",
|
||||
"description": "设定更核心,调整剧情使其符合原有设定"
|
||||
},
|
||||
{
|
||||
"id": "opt-review-both",
|
||||
"label": "重新审视",
|
||||
"description": "需要进一步讨论,综合考虑后决定"
|
||||
}
|
||||
],
|
||||
"multiSelect": false,
|
||||
"useAiSuggestions": false,
|
||||
"outputPorts": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "apply-plot-changes",
|
||||
"type": "subAgent",
|
||||
"name": "apply-plot-changes",
|
||||
"position": {
|
||||
"x": 2115,
|
||||
"y": 435
|
||||
},
|
||||
"data": {
|
||||
"description": "根据用户选择修改剧情",
|
||||
"prompt": "根据作者的选择,对剧情大纲进行相应修改:\n\n- 如果选择保留剧情修改设定:说明需要调整的设定内容\n- 如果选择保留设定修改剧情:调整大纲中冲突的部分,使其符合设定\n- 如果选择重新审视:提出折中方案供作者参考\n\n请执行修改并输出更新后的大纲。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "end-node-default",
|
||||
"type": "end",
|
||||
"name": "end-node-default",
|
||||
"position": {
|
||||
"x": 3050,
|
||||
"y": 50
|
||||
},
|
||||
"data": {
|
||||
"label": "完成"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "end-node-incomplete",
|
||||
"type": "end",
|
||||
"name": "end-node-incomplete",
|
||||
"position": {
|
||||
"x": 1320,
|
||||
"y": 345
|
||||
},
|
||||
"data": {
|
||||
"label": "待补充设定"
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"id": "conn-1",
|
||||
"from": "start-node-default",
|
||||
"to": "check-settings",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-2",
|
||||
"from": "check-settings",
|
||||
"to": "settings-exists-check",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-3",
|
||||
"from": "settings-exists-check",
|
||||
"to": "discuss-story-core",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-4",
|
||||
"from": "settings-exists-check",
|
||||
"to": "prompt-supplement-settings",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-5",
|
||||
"from": "prompt-supplement-settings",
|
||||
"to": "end-node-incomplete",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-6",
|
||||
"from": "discuss-story-core",
|
||||
"to": "discuss-plot-conflicts",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-7",
|
||||
"from": "discuss-plot-conflicts",
|
||||
"to": "generate-outline",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-8",
|
||||
"from": "generate-outline",
|
||||
"to": "check-conflicts",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-9",
|
||||
"from": "check-conflicts",
|
||||
"to": "has-conflicts-check",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-10",
|
||||
"from": "has-conflicts-check",
|
||||
"to": "resolve-conflicts",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-11",
|
||||
"from": "has-conflicts-check",
|
||||
"to": "end-node-default",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-12",
|
||||
"from": "resolve-conflicts",
|
||||
"to": "apply-plot-changes",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-13",
|
||||
"from": "resolve-conflicts",
|
||||
"to": "apply-plot-changes",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-14",
|
||||
"from": "resolve-conflicts",
|
||||
"to": "apply-plot-changes",
|
||||
"fromPort": "branch-2",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-15",
|
||||
"from": "apply-plot-changes",
|
||||
"to": "check-conflicts",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
}
|
||||
],
|
||||
"createdAt": "2026-01-27T10:58:10.193Z",
|
||||
"updatedAt": "2026-01-27T10:58:10.193Z",
|
||||
"conversationHistory": {
|
||||
"schemaVersion": "1.0.0",
|
||||
"messages": [
|
||||
{
|
||||
"id": "235ec221-0d26-4598-8327-be967867b658",
|
||||
"sender": "user",
|
||||
"content": "这里是完成小说大纲的流程,需要确认设定的存在,设定不存在则提示补充设定,然后退出;如果存在设定,则按照设定已经存在的内容,和作者讨论想要讲述的故事和内核,然后按照已有的信息,和作者一起讨论剧情节点和主要冲突等内容,补充大纲完成需要的信息,然后完成作者认可的剧情大纲,最后比对剧情和设定的冲突,存在冲突则向作者确认保留哪个,直到没有冲突",
|
||||
"timestamp": "2026-01-27T09:58:45.310Z"
|
||||
},
|
||||
{
|
||||
"id": "68ce810d-b531-42f6-9e66-57e993c8e6e0",
|
||||
"sender": "ai",
|
||||
"content": "创建小说大纲工作流程:包含设定检查、故事讨论、剧情节点规划、大纲生成和冲突检测",
|
||||
"timestamp": "2026-01-27T09:58:45.310Z"
|
||||
}
|
||||
],
|
||||
"currentIteration": 1,
|
||||
"maxIterations": 20,
|
||||
"createdAt": "2026-01-27T09:53:41.428Z",
|
||||
"updatedAt": "2026-01-27T09:58:45.310Z",
|
||||
"sessionId": "117a84b6-f8ba-4060-b9e2-34c6f038da30"
|
||||
},
|
||||
"subAgentFlows": []
|
||||
}
|
||||
238
.vscode/workflows/sheding.json
vendored
Normal file
238
.vscode/workflows/sheding.json
vendored
Normal file
@@ -0,0 +1,238 @@
|
||||
{
|
||||
"id": "workflow-1769507153935",
|
||||
"name": "dagang",
|
||||
"version": "1.0.0",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "start-node-default",
|
||||
"type": "start",
|
||||
"name": "start-node-default",
|
||||
"position": {
|
||||
"x": 100,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"label": "Start"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "check-settings",
|
||||
"type": "askUserQuestion",
|
||||
"name": "check-settings",
|
||||
"position": {
|
||||
"x": 350,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"questionText": "是否已有小说世界观设定?",
|
||||
"options": [
|
||||
{
|
||||
"id": "opt-no",
|
||||
"label": "无设定",
|
||||
"description": "暂无任何设定,需要从零开始创作"
|
||||
},
|
||||
{
|
||||
"id": "opt-yes",
|
||||
"label": "有设定",
|
||||
"description": "已有部分或完整的世界观设定需要完善"
|
||||
}
|
||||
],
|
||||
"multiSelect": false,
|
||||
"useAiSuggestions": false,
|
||||
"outputPorts": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "discuss-new",
|
||||
"type": "subAgent",
|
||||
"name": "discuss-new",
|
||||
"position": {
|
||||
"x": 650,
|
||||
"y": 100
|
||||
},
|
||||
"data": {
|
||||
"description": "与作者讨论创作主题和基本设定",
|
||||
"prompt": "与作者讨论小说创作的主题方向、世界观类型(如奇幻、科幻、现实等)、基本背景设定。引导作者明确核心概念、故事背景、主要势力或元素等基础信息。",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "read-existing",
|
||||
"type": "subAgent",
|
||||
"name": "read-existing",
|
||||
"position": {
|
||||
"x": 650,
|
||||
"y": 300
|
||||
},
|
||||
"data": {
|
||||
"description": "读取已存在的世界观设定",
|
||||
"prompt": "读取并理解已有的小说世界观设定文档,梳理当前设定的完整内容,包括但不限于:世界背景、势力体系、人物关系、历史时间线、魔法/科技体系等。",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "discuss-direction",
|
||||
"type": "subAgent",
|
||||
"name": "discuss-direction",
|
||||
"position": {
|
||||
"x": 950,
|
||||
"y": 300
|
||||
},
|
||||
"data": {
|
||||
"description": "与作者确定设定完善方向",
|
||||
"prompt": "基于已有的世界观设定,与作者讨论需要完善和扩展的方向。分析当前设定的薄弱环节,确定需要新增、修改或深化的内容领域。",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "modify-settings",
|
||||
"type": "subAgent",
|
||||
"name": "modify-settings",
|
||||
"position": {
|
||||
"x": 1250,
|
||||
"y": 300
|
||||
},
|
||||
"data": {
|
||||
"description": "执行设定的修改、完善和新增",
|
||||
"prompt": "根据与作者确定的完善方向,对世界观设定进行具体的修改、完善和新增工作。包括:补充缺失的设定、完善现有细节、修正矛盾之处、添加新的世界观元素等。输出更新后的完整设定文档。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "create-new-settings",
|
||||
"type": "subAgent",
|
||||
"name": "create-new-settings",
|
||||
"position": {
|
||||
"x": 950,
|
||||
"y": 100
|
||||
},
|
||||
"data": {
|
||||
"description": "创建新的世界观设定",
|
||||
"prompt": "基于与作者讨论确定的主题和基本设定,创建完整的小说世界观。包括:世界背景、地理环境、势力体系、魔法/科技规则、历史时间线、文化特色等。确保设定具有内在一致性和故事发展潜力。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "worldview-check",
|
||||
"type": "subAgent",
|
||||
"name": "worldview-check",
|
||||
"position": {
|
||||
"x": 1550,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"description": "世界观检查:确认无冲突且有故事性",
|
||||
"prompt": "对完成的世界观设定进行全面检查:\n1. 一致性检查:识别设定内部的逻辑矛盾或冲突\n2. 完整性检查:确认关键设定要素完备\n3. 故事性评估:分析设定的戏剧冲突潜力、故事发展空间\n4. 输出检查报告,如有问题提供修改建议",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "end-node-default",
|
||||
"type": "end",
|
||||
"name": "end-node-default",
|
||||
"position": {
|
||||
"x": 1900,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"label": "End"
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"id": "c1",
|
||||
"from": "start-node-default",
|
||||
"to": "check-settings",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c2",
|
||||
"from": "check-settings",
|
||||
"to": "discuss-new",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c3",
|
||||
"from": "check-settings",
|
||||
"to": "read-existing",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c4",
|
||||
"from": "read-existing",
|
||||
"to": "discuss-direction",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c5",
|
||||
"from": "discuss-direction",
|
||||
"to": "modify-settings",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c6",
|
||||
"from": "modify-settings",
|
||||
"to": "worldview-check",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c7",
|
||||
"from": "discuss-new",
|
||||
"to": "create-new-settings",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c8",
|
||||
"from": "create-new-settings",
|
||||
"to": "worldview-check",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "c9",
|
||||
"from": "worldview-check",
|
||||
"to": "end-node-default",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
}
|
||||
],
|
||||
"createdAt": "2026-01-27T09:45:53.935Z",
|
||||
"updatedAt": "2026-01-27T09:45:53.935Z",
|
||||
"conversationHistory": {
|
||||
"schemaVersion": "1.0.0",
|
||||
"messages": [
|
||||
{
|
||||
"id": "623e80ac-9376-43d7-bfce-4939a6be051e",
|
||||
"sender": "user",
|
||||
"content": "我需要创建一个小说世界观创作的流程,第一步确定是否存在已有的设定,没有的话需要和作者讨论需要创作的主题和基本的设定,如果存在的话,先读取已经存在的设定,根据已有的设定和作者确定完善的方向,然后进行设定方面的修改,完善,新增。设定完成后,需要进行一次世界观的检查,确定世界观不存在冲突,有故事性",
|
||||
"timestamp": "2026-01-27T09:37:46.700Z"
|
||||
},
|
||||
{
|
||||
"id": "069c6669-cddb-4256-aaa8-ae33c9db7010",
|
||||
"sender": "ai",
|
||||
"content": "已创建小说世界观创作工作流,包含设定存在性检查、两条创作路径和设定完善后的检查环节",
|
||||
"timestamp": "2026-01-27T09:37:46.700Z"
|
||||
}
|
||||
],
|
||||
"currentIteration": 1,
|
||||
"maxIterations": 20,
|
||||
"createdAt": "2026-01-27T09:36:16.986Z",
|
||||
"updatedAt": "2026-01-27T09:37:46.700Z",
|
||||
"sessionId": "85644ebc-40b6-49ac-b438-8ceae8d9bcdb"
|
||||
},
|
||||
"subAgentFlows": []
|
||||
}
|
||||
239
.vscode/workflows/xigang.json
vendored
Normal file
239
.vscode/workflows/xigang.json
vendored
Normal file
@@ -0,0 +1,239 @@
|
||||
{
|
||||
"id": "workflow-1769507614568",
|
||||
"name": "xigang",
|
||||
"version": "1.0.0",
|
||||
"nodes": [
|
||||
{
|
||||
"id": "start-node-default",
|
||||
"type": "start",
|
||||
"name": "start-node-default",
|
||||
"position": {
|
||||
"x": 100,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"label": "Start"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "check-outline",
|
||||
"type": "ifElse",
|
||||
"name": "check-outline",
|
||||
"position": {
|
||||
"x": 350,
|
||||
"y": 200
|
||||
},
|
||||
"data": {
|
||||
"branches": [
|
||||
{
|
||||
"id": "branch-0",
|
||||
"label": "存在大纲",
|
||||
"condition": "项目目录中存在大纲文件(outline.md或大纲.md或类似文件)"
|
||||
},
|
||||
{
|
||||
"id": "branch-1",
|
||||
"label": "不存在大纲",
|
||||
"condition": "项目目录中不存在大纲文件"
|
||||
}
|
||||
],
|
||||
"outputPorts": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "prompt-add-outline",
|
||||
"type": "prompt",
|
||||
"name": "prompt-add-outline",
|
||||
"position": {
|
||||
"x": 650,
|
||||
"y": 350
|
||||
},
|
||||
"data": {
|
||||
"label": "提示新增大纲",
|
||||
"prompt": "请先创建小说大纲文件,然后再使用此助手。\n\n大纲文件应包含:\n- 故事背景设定\n- 主要人物设定\n- 整体剧情结构\n- 主要情节节点\n\n请创建大纲后重新运行。"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "end-no-outline",
|
||||
"type": "end",
|
||||
"name": "end-no-outline",
|
||||
"position": {
|
||||
"x": 1050,
|
||||
"y": 405
|
||||
},
|
||||
"data": {
|
||||
"label": "结束"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "check-progress",
|
||||
"type": "ifElse",
|
||||
"name": "check-progress",
|
||||
"position": {
|
||||
"x": 660,
|
||||
"y": 120
|
||||
},
|
||||
"data": {
|
||||
"branches": [
|
||||
{
|
||||
"id": "branch-0",
|
||||
"label": "存在进度文件",
|
||||
"condition": "项目中存在进度文档文件(progress.md或进度.md)"
|
||||
},
|
||||
{
|
||||
"id": "branch-1",
|
||||
"label": "不存在进度文件",
|
||||
"condition": "项目中不存在进度文档文件"
|
||||
}
|
||||
],
|
||||
"outputPorts": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "analyze-progress",
|
||||
"type": "subAgent",
|
||||
"name": "analyze-progress",
|
||||
"position": {
|
||||
"x": 975,
|
||||
"y": 210
|
||||
},
|
||||
"data": {
|
||||
"description": "分析项目进度并创建进度文件",
|
||||
"prompt": "请执行以下任务:\n\n1. 扫描项目目录中的所有文件\n2. 读取大纲文件,理解整体剧情结构\n3. 检查已存在的章节文件和细纲文件\n4. 对比大纲,确定当前项目已完成到哪个情节节点\n5. 创建或更新进度文件(progress.md),记录:\n - 当前进度位置\n - 已完成的章节/细纲\n - 下一步需要创作的情节节点\n - 整体完成百分比",
|
||||
"model": "sonnet",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "create-detailed-outline",
|
||||
"type": "subAgent",
|
||||
"name": "create-detailed-outline",
|
||||
"position": {
|
||||
"x": 1275,
|
||||
"y": 210
|
||||
},
|
||||
"data": {
|
||||
"description": "创建剧情细纲",
|
||||
"prompt": "请基于大纲和进度文件,创作接下来的剧情细纲:\n\n任务要求:\n1. 读取大纲文件,理解整体设定和剧情走向\n2. 读取进度文件,确定当前创作位置\n3. 读取已有的细纲文件,了解之前的剧情发展\n4. 为接下来的3-5个情节节点创建详细细纲\n\n细纲要求:\n- 符合大纲设定,不偏离主线\n- 与之前细纲保持连贯性,不存在矛盾\n- 剧情有吸引力,包含冲突和转折\n- 人物行为符合其设定\n- 每个细纲包含:场景、人物、事件、冲突、结果\n\n请将细纲写入新的细纲文件中。",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "review-and-refine",
|
||||
"type": "subAgent",
|
||||
"name": "review-and-refine",
|
||||
"position": {
|
||||
"x": 1590,
|
||||
"y": 210
|
||||
},
|
||||
"data": {
|
||||
"description": "检查并完善大纲和细纲",
|
||||
"prompt": "请执行大纲与细纲的互相检查和完善:\n\n任务步骤:\n1. 读取完整的大纲文件\n2. 读取所有细纲文件(包括刚创建的)\n3. 检查细纲是否符合大纲设定:\n - 人物设定是否一致\n - 世界观设定是否一致\n - 剧情走向是否符合大纲主线\n4. 检查细纲之间是否存在矛盾\n5. 反向检查:细纲中好的设定是否可以补充到大纲中\n6. 生成完善建议\n7. 如果发现需要修改的地方,更新相关文件\n\n输出格式:\n- 检查报告(列出发现的问题)\n- 完善建议\n- 如果确认无误,输出\"细纲检查通过,符合大纲设定\"",
|
||||
"model": "opus",
|
||||
"outputPorts": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "end-node-default",
|
||||
"type": "end",
|
||||
"name": "end-node-default",
|
||||
"position": {
|
||||
"x": 1935,
|
||||
"y": 225
|
||||
},
|
||||
"data": {
|
||||
"label": "End"
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": [
|
||||
{
|
||||
"id": "conn-1",
|
||||
"from": "start-node-default",
|
||||
"to": "check-outline",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-2",
|
||||
"from": "check-outline",
|
||||
"to": "check-progress",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-3",
|
||||
"from": "check-outline",
|
||||
"to": "prompt-add-outline",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-4",
|
||||
"from": "prompt-add-outline",
|
||||
"to": "end-no-outline",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-5",
|
||||
"from": "check-progress",
|
||||
"to": "create-detailed-outline",
|
||||
"fromPort": "branch-0",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-6",
|
||||
"from": "check-progress",
|
||||
"to": "analyze-progress",
|
||||
"fromPort": "branch-1",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-7",
|
||||
"from": "analyze-progress",
|
||||
"to": "create-detailed-outline",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-8",
|
||||
"from": "create-detailed-outline",
|
||||
"to": "review-and-refine",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
},
|
||||
{
|
||||
"id": "conn-9",
|
||||
"from": "review-and-refine",
|
||||
"to": "end-node-default",
|
||||
"fromPort": "output",
|
||||
"toPort": "input"
|
||||
}
|
||||
],
|
||||
"createdAt": "2026-01-27T09:53:34.568Z",
|
||||
"updatedAt": "2026-01-27T09:53:34.568Z",
|
||||
"conversationHistory": {
|
||||
"schemaVersion": "1.0.0",
|
||||
"messages": [
|
||||
{
|
||||
"id": "07765d6b-cfca-4aca-848a-0bd4f9b05c37",
|
||||
"sender": "user",
|
||||
"content": "这是一个小说剧情细分助手,第一步检查是否存在大纲,如果不存在大纲则提示作者新增大纲并退出。如果存在大纲,则检查会否存在进度文档,如果不存在进度文件,则检查所有文件,并确定当前项目在大纲中的进度,新增进度文件,然后进入存在进度文件的流程。如果存在进度文件,则对比项目大纲,进行接下来接下来的剧情的细分,设置接下来的剧情细纲,剧情细纲要求符合大纲设定,和之前的细纲不存在冲突,剧情有吸引力不矛盾。最后检查细纲和大纲,互相补充完善",
|
||||
"timestamp": "2026-01-27T09:52:27.792Z"
|
||||
},
|
||||
{
|
||||
"id": "bae66f19-83e5-44c5-a6be-113e1f2fe42a",
|
||||
"sender": "ai",
|
||||
"content": "创建小说剧情细分助手工作流,包含大纲检查、进度检查、剧情细分和互相补充完善功能",
|
||||
"timestamp": "2026-01-27T09:52:27.792Z"
|
||||
}
|
||||
],
|
||||
"currentIteration": 1,
|
||||
"maxIterations": 20,
|
||||
"createdAt": "2026-01-27T09:46:16.577Z",
|
||||
"updatedAt": "2026-01-27T09:52:27.792Z",
|
||||
"sessionId": "6800ea8a-fb73-443f-85dc-2e488bd75464"
|
||||
},
|
||||
"subAgentFlows": []
|
||||
}
|
||||
499
.vscode/workflows/zhangjie.json
vendored
Normal file
499
.vscode/workflows/zhangjie.json
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user