Features: - Combat system with AP/EP hit calculation and three-layer defense - Auto-combat/farming mode - Item system with stacking support - Skill system with levels, milestones, and parent skill sync - Shop system with dynamic pricing - Inventory management with bulk selling - Event system - Game loop with offline earnings - Save/Load system Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
290 lines
6.9 KiB
JSON
290 lines
6.9 KiB
JSON
{
|
|
"id": "workflow-1768961987404",
|
|
"name": "req",
|
|
"version": "1.0.0",
|
|
"nodes": [
|
|
{
|
|
"id": "start-node-default",
|
|
"type": "start",
|
|
"name": "start-node-default",
|
|
"position": {
|
|
"x": 120,
|
|
"y": -135
|
|
},
|
|
"data": {
|
|
"label": "Start"
|
|
}
|
|
},
|
|
{
|
|
"id": "prompt-requirements",
|
|
"type": "prompt",
|
|
"name": "prompt-requirements",
|
|
"position": {
|
|
"x": 330,
|
|
"y": -165
|
|
},
|
|
"data": {
|
|
"label": "获取需求",
|
|
"prompt": "请描述您的需求细节",
|
|
"variables": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "analyze-project",
|
|
"type": "subAgent",
|
|
"name": "analyze-project",
|
|
"position": {
|
|
"x": 615,
|
|
"y": -180
|
|
},
|
|
"data": {
|
|
"description": "分析当前项目",
|
|
"prompt": "请分析当前项目的架构、功能、技术栈和代码结构",
|
|
"model": "opus",
|
|
"outputPorts": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "compare-requirements",
|
|
"type": "subAgent",
|
|
"name": "compare-requirements",
|
|
"position": {
|
|
"x": 105,
|
|
"y": 0
|
|
},
|
|
"data": {
|
|
"description": "需求比对分析",
|
|
"prompt": "对比分析当前项目与需求的差异,识别需要修改的地方",
|
|
"model": "opus",
|
|
"outputPorts": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "confirm-details",
|
|
"type": "askUserQuestion",
|
|
"name": "confirm-details",
|
|
"position": {
|
|
"x": 450,
|
|
"y": -15
|
|
},
|
|
"data": {
|
|
"questionText": "是否需要确认细节?",
|
|
"options": [
|
|
{
|
|
"label": "是",
|
|
"description": "需要确认细节后再继续"
|
|
},
|
|
{
|
|
"label": "否",
|
|
"description": "不需要确认,直接进行比对"
|
|
}
|
|
],
|
|
"outputPorts": 2
|
|
}
|
|
},
|
|
{
|
|
"id": "confirm-questions",
|
|
"type": "prompt",
|
|
"name": "confirm-questions",
|
|
"position": {
|
|
"x": 750,
|
|
"y": -15
|
|
},
|
|
"data": {
|
|
"label": "确认细节",
|
|
"prompt": "提出需要确认的问题清单",
|
|
"variables": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "check-complexity",
|
|
"type": "ifElse",
|
|
"name": "check-complexity",
|
|
"position": {
|
|
"x": 765,
|
|
"y": 150
|
|
},
|
|
"data": {
|
|
"evaluationTarget": "modificationComplexity",
|
|
"branches": [
|
|
{
|
|
"label": "复杂",
|
|
"condition": "修改复杂度高,需要多步骤"
|
|
},
|
|
{
|
|
"label": "简单",
|
|
"condition": "修改相对简单,可直接进行"
|
|
}
|
|
],
|
|
"outputPorts": 2
|
|
}
|
|
},
|
|
{
|
|
"id": "plan-steps",
|
|
"type": "subAgent",
|
|
"name": "plan-steps",
|
|
"position": {
|
|
"x": 1005,
|
|
"y": 150
|
|
},
|
|
"data": {
|
|
"description": "步骤规划",
|
|
"prompt": "规划可验证的修改步骤,确保每个步骤都可验证",
|
|
"model": "opus",
|
|
"outputPorts": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "create-doc",
|
|
"type": "prompt",
|
|
"name": "create-doc",
|
|
"position": {
|
|
"x": 1320,
|
|
"y": 150
|
|
},
|
|
"data": {
|
|
"label": "形成文档",
|
|
"prompt": "生成步骤文档,包含所有可验证的修改步骤",
|
|
"variables": {}
|
|
}
|
|
},
|
|
{
|
|
"id": "modify-direct",
|
|
"type": "subAgent",
|
|
"name": "modify-direct",
|
|
"position": {
|
|
"x": 1005,
|
|
"y": 315
|
|
},
|
|
"data": {
|
|
"description": "直接修改",
|
|
"prompt": "直接进行修改并验证结果",
|
|
"model": "opus",
|
|
"outputPorts": 1
|
|
}
|
|
},
|
|
{
|
|
"id": "end-node-default",
|
|
"type": "end",
|
|
"name": "end-node-default",
|
|
"position": {
|
|
"x": 1845,
|
|
"y": 315
|
|
},
|
|
"data": {
|
|
"label": "End"
|
|
}
|
|
}
|
|
],
|
|
"connections": [
|
|
{
|
|
"id": "c1",
|
|
"from": "start-node-default",
|
|
"to": "prompt-requirements",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c2",
|
|
"from": "prompt-requirements",
|
|
"to": "analyze-project",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c3",
|
|
"from": "analyze-project",
|
|
"to": "compare-requirements",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c4",
|
|
"from": "compare-requirements",
|
|
"to": "confirm-details",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c5",
|
|
"from": "confirm-details",
|
|
"to": "confirm-questions",
|
|
"fromPort": "branch-0",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c6",
|
|
"from": "confirm-questions",
|
|
"to": "check-complexity",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c7",
|
|
"from": "confirm-details",
|
|
"to": "check-complexity",
|
|
"fromPort": "branch-1",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c8",
|
|
"from": "check-complexity",
|
|
"to": "plan-steps",
|
|
"fromPort": "branch-0",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c9",
|
|
"from": "plan-steps",
|
|
"to": "create-doc",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c12",
|
|
"from": "check-complexity",
|
|
"to": "modify-direct",
|
|
"fromPort": "branch-1",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "c13",
|
|
"from": "modify-direct",
|
|
"to": "end-node-default",
|
|
"fromPort": "output",
|
|
"toPort": "input"
|
|
},
|
|
{
|
|
"id": "reactflow__edge-create-docout-end-node-defaultin",
|
|
"from": "create-doc",
|
|
"to": "end-node-default",
|
|
"fromPort": "out",
|
|
"toPort": "in"
|
|
}
|
|
],
|
|
"createdAt": "2026-01-21T02:19:47.404Z",
|
|
"updatedAt": "2026-01-21T02:19:47.404Z",
|
|
"conversationHistory": {
|
|
"schemaVersion": "1.0.0",
|
|
"messages": [
|
|
{
|
|
"id": "c2485fab-419e-4178-a1d7-523b38d819e0",
|
|
"sender": "user",
|
|
"content": "这是一个需求分析的工作流,获取到需求后,分析当前项目,然后和需求比对,如果有需要确认的细节,优先确认。确认完细节之后,如果修改比较复杂,则开始进行步骤规划,要求每个步骤都可验证,然后形成步骤文档,然后开启逐步的修改和验证。如果不需要多步修改,则直接进行改动和验证",
|
|
"timestamp": "2026-01-21T02:17:36.276Z"
|
|
},
|
|
{
|
|
"id": "f0773c1d-57f4-44a1-baaf-7bb9caac04e6",
|
|
"sender": "ai",
|
|
"content": "Created a complete requirements analysis workflow with all nodes and connections based on user feedback",
|
|
"timestamp": "2026-01-21T02:17:36.276Z"
|
|
}
|
|
],
|
|
"currentIteration": 1,
|
|
"maxIterations": 20,
|
|
"createdAt": "2026-01-21T02:12:16.962Z",
|
|
"updatedAt": "2026-01-21T02:17:36.276Z",
|
|
"sessionId": "eeb4044d-005d-4e95-8eef-6d944ad236fd"
|
|
},
|
|
"subAgentFlows": []
|
|
} |