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:

rUvcaff58447824
diff --git a/v3/mcp/__tests__/task-tools.test.ts b/v3/mcp/__tests__/task-tools.test.ts
index 8be09c8b61..6862f7d43d 100644
--- a/v3/mcp/__tests__/task-tools.test.ts
+++ b/v3/mcp/__tests__/task-tools.test.ts
@@ -396,16 +396,19 @@ describe('Task Tools', () => {
});
it('should add 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',
- }, mockContext);
+ }, simpleContext);
const result = await taskDependenciesTool.handler({
taskId: createResult.taskId,
action: 'add',
dependencies: ['task-1', 'task-2'],
- }, mockContext);
+ }, simpleContext);
expect(result).toBeDefined();
expect(result.action).toBe('add');