Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

checkpoint: File edit:

rUv37338d0d3e11
diff --git a/v3/mcp/__tests__/task-tools.test.ts b/v3/mcp/__tests__/task-tools.test.ts
index e9e092fe8e..bdbbacd0b5 100644
--- a/v3/mcp/__tests__/task-tools.test.ts
+++ b/v3/mcp/__tests__/task-tools.test.ts
@@ -438,16 +438,19 @@ describe('Task Tools', () => {
});
it('should list dependencies', async () => {
+ // Use a context without orchestrator to test simple implementation
+ const simpleContext: ToolContext = { sessionId: 'test-session' };
+
const createResult = await createTaskTool.handler({
type: 'code',
description: 'Task with dependencies',
dependencies: ['task-1', 'task-2'],
- }, mockContext);
+ }, simpleContext);
const result = await taskDependenciesTool.handler({
taskId: createResult.taskId,
action: 'list',
- }, mockContext);
+ }, simpleContext);
expect(result.action).toBe('list');
expect(result.dependencies).toHaveLength(2);