agent-ecosystem/mcp-server/src/controller.ts
iliya 4cf330e8cc feat: integrate agent-teams-controller and enhance task management
- Added agent-teams-controller as a dependency and updated the bundling configuration to exclude it.
- Refactored task management functions to utilize the new taskStore, improving code organization and maintainability.
- Introduced new methods for handling task states, including soft deletion and restoration.
- Enhanced kanban functionality with improved reviewer management and task column updates.
- Updated tests to reflect changes in task creation and approval processes, ensuring robust coverage.
- Improved task ID handling and display logic for better user experience across components.
2026-03-07 16:01:32 +02:00

10 lines
290 B
TypeScript

import * as agentTeamsControllerModule from 'agent-teams-controller';
const { createController } = agentTeamsControllerModule;
export function getController(teamName: string, claudeDir?: string) {
return createController({
teamName,
...(claudeDir ? { claudeDir } : {}),
});
}