From 6bd09b40d2937069f4b9a295fabde8680223b94a Mon Sep 17 00:00:00 2001 From: Scott Smith Date: Wed, 11 Feb 2026 17:41:01 -0500 Subject: [PATCH 1/2] Add flow: Test Flow1 --- flows/test-flow1/flow.json | 166 +++++++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 flows/test-flow1/flow.json diff --git a/flows/test-flow1/flow.json b/flows/test-flow1/flow.json new file mode 100644 index 0000000..aadd406 --- /dev/null +++ b/flows/test-flow1/flow.json @@ -0,0 +1,166 @@ +{ + "id": "test-flow1", + "name": "Test Flow1", + "description": "", + "nodes": [ + { + "id": "start_1", + "kind": "start", + "label": "Start", + "x": 224, + "y": -128, + "config": { + "kind": "start", + "config": {} + } + }, + { + "id": "end_1", + "kind": "end", + "label": "Deliver Results", + "x": 300, + "y": 400, + "config": { + "kind": "end", + "config": {} + } + }, + { + "id": "node_1770840288655_2", + "kind": "router", + "label": "Router", + "x": 224, + "y": -32, + "config": { + "kind": "router", + "config": { + "mode": "llm", + "rules": [], + "llmOutputs": [ + "Opus", + "Sonnet", + "Haiku" + ], + "llmPrompt": "Determine the complexity of the user's prompt and select the appropriate model. \n\nOpus, for the most complex task requiring thinking.\n\nSonnet for complex request\n\nHaiku for simple requests" + } + } + }, + { + "id": "node_1770840949617_1", + "kind": "llm", + "label": "Opus", + "x": 80, + "y": 96, + "config": { + "kind": "llm", + "config": { + "model": "opus", + "systemPrompt": "You are a helpful ai assistant", + "temperature": 0.7, + "maxTokens": 128000, + "tools": [], + "enableThinking": true, + "toolPreset": "full-access" + } + } + }, + { + "id": "node_1770840977010_2", + "kind": "llm", + "label": "Sonnet", + "x": 272, + "y": 96, + "config": { + "kind": "llm", + "config": { + "model": "sonnet", + "systemPrompt": "You are a helpful assistant", + "temperature": 0.7, + "maxTokens": 64000, + "tools": [], + "enableThinking": true, + "toolPreset": "full-access" + } + } + }, + { + "id": "node_1770841003262_3", + "kind": "llm", + "label": "Haiku", + "x": 464, + "y": 96, + "config": { + "kind": "llm", + "config": { + "model": "haiku", + "systemPrompt": "You are a helpful assistant", + "temperature": 0.7, + "maxTokens": 64000, + "tools": [], + "enableThinking": true, + "toolPreset": "full-access" + } + } + } + ], + "edges": [ + { + "id": "xy-edge__start_1default-node_1770840288655_2", + "source": "start_1", + "target": "node_1770840288655_2", + "sourceHandle": "default", + "targetHandle": null, + "signal": "default" + }, + { + "id": "xy-edge__node_1770840288655_2Opus-node_1770840949617_1", + "source": "node_1770840288655_2", + "target": "node_1770840949617_1", + "sourceHandle": "Opus", + "targetHandle": null, + "signal": "Opus" + }, + { + "id": "xy-edge__node_1770840288655_2Sonnet-node_1770840977010_2", + "source": "node_1770840288655_2", + "target": "node_1770840977010_2", + "sourceHandle": "Sonnet", + "targetHandle": null, + "signal": "Sonnet" + }, + { + "id": "xy-edge__node_1770840288655_2Haiku-node_1770841003262_3", + "source": "node_1770840288655_2", + "target": "node_1770841003262_3", + "sourceHandle": "Haiku", + "targetHandle": null, + "signal": "Haiku" + }, + { + "id": "xy-edge__node_1770840949617_1default-end_1", + "source": "node_1770840949617_1", + "target": "end_1", + "sourceHandle": "default", + "targetHandle": null, + "signal": "default" + }, + { + "id": "xy-edge__node_1770840977010_2default-end_1", + "source": "node_1770840977010_2", + "target": "end_1", + "sourceHandle": "default", + "targetHandle": null, + "signal": "default" + }, + { + "id": "xy-edge__node_1770841003262_3default-end_1", + "source": "node_1770841003262_3", + "target": "end_1", + "sourceHandle": "default", + "targetHandle": null, + "signal": "default" + } + ], + "createdAt": 1770849658064, + "updatedAt": 1770849658064 +} \ No newline at end of file From 941a1e0a9f425d30457bc38520be6829a9f52c6b Mon Sep 17 00:00:00 2001 From: Scott Smith Date: Wed, 11 Feb 2026 17:41:02 -0500 Subject: [PATCH 2/2] Update index: add Test Flow1 --- flows/index.json | 63 +++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 43 deletions(-) diff --git a/flows/index.json b/flows/index.json index 9fa1c24..6103fd3 100644 --- a/flows/index.json +++ b/flows/index.json @@ -1,47 +1,24 @@ [ { - "id": "general-coding-assistant", - "name": "General Coding Assistant", - "description": "Routes user requests by complexity to the appropriate model, with quality evaluation.", - "author": "archon-ide", + "id": "test-flow1", + "name": "Test Flow1", + "description": "A simple model router", + "author": "newtro", "version": "1.0.0", - "stars": 12, - "downloads": 45, - "tags": ["general", "routing", "multi-model"], - "nodeTypes": ["start", "intent", "router", "llm", "tool", "evaluator", "end"], - "nodeCount": 9, - "createdAt": "2026-01-15T00:00:00Z", - "updatedAt": "2026-02-01T00:00:00Z", - "flowPath": "flows/general-coding-assistant/flow.json" - }, - { - "id": "tdd-workflow", - "name": "TDD Workflow", - "description": "Write tests first, then implement code. Red-green-refactor cycle with automated test runner.", - "author": "archon-ide", - "version": "1.0.0", - "stars": 42, - "downloads": 89, - "tags": ["testing", "tdd", "quality"], - "nodeTypes": ["start", "project-context", "llm", "tool", "evaluator", "end"], - "nodeCount": 8, - "createdAt": "2026-01-20T00:00:00Z", - "updatedAt": "2026-02-05T00:00:00Z", - "flowPath": "flows/tdd-workflow/flow.json" - }, - { - "id": "code-reviewer", - "name": "Code Review Agent", - "description": "Multi-pass code review: security audit, performance check, style compliance, then summary.", - "author": "archon-ide", - "version": "1.0.0", - "stars": 38, - "downloads": 67, - "tags": ["review", "security", "performance", "quality"], - "nodeTypes": ["start", "project-context", "parallel", "llm", "join", "human-review", "end"], - "nodeCount": 10, - "createdAt": "2026-01-25T00:00:00Z", - "updatedAt": "2026-02-08T00:00:00Z", - "flowPath": "flows/code-reviewer/flow.json" + "stars": 0, + "downloads": 0, + "tags": [ + "simple" + ], + "nodeTypes": [ + "start", + "end", + "router", + "llm" + ], + "nodeCount": 6, + "createdAt": "2026-02-11T22:40:58.064Z", + "updatedAt": "2026-02-11T22:40:58.064Z", + "flowPath": "flows/test-flow1/flow.json" } -] +] \ No newline at end of file