{ "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": [] }