taskqueue-mcp
taskqueue-mcp copied to clipboard
Change name of CLI entrypoint and update --help doc
- CLI is using an outdated name. We will switch from taskmanager-mcp-cli to 'taskqueue'.
- Help doc does not reflect new generate project functionality; we need to update it.
- I also notice that functionality is giving me an unknown error.
Moved file reading logic into a FileSystemService method that is called from TaskManager.ts; need to update tests to reflect this. Also probably need to mechanically append instructions about response JSON schema to the user's prompt.
This output from the generateProjectPlan tool is a mess. We should make sure not to call the markdown formatting function as part of this pipeline. We want to just return nice, clean JSON.
✕ should generate a project plan using OpenAI (3365 ms)
● MCP Client Integration › should generate a project plan using OpenAI
expect(received).toHaveProperty(path)
Expected path: "projectPlan"
Received path: []
Received value: {"message": "Project proj-2 created with 1 tasks.·
Progress Status:
| Task ID | Title | Description | Status | Approval | Tools | Rules |
|----------|----------|-------------|--------|----------|-------|-------|
| task-2 | AmazingTask | AmazingDescription | ⏳ Not Started | ⏳ Pending | - | - |
", "projectId": "proj-2", "tasks": [{"description": "AmazingDescription", "id": "task-2", "title": "AmazingTask"}], "totalTasks": 1}
336 | // Verify the generated plan structure
337 | expect(planData).toHaveProperty('data');
> 338 | expect(planData.data).toHaveProperty('projectPlan');
| ^
339 | expect(planData.data).toHaveProperty('tasks');
340 | expect(Array.isArray(planData.data.tasks)).toBe(true);
341 | expect(planData.data.tasks.length).toBeGreaterThan(0);
at Object.<anonymous> (tests/integration/e2e.integration.test.ts:338:27)