- 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.
10 lines
290 B
TypeScript
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 } : {}),
|
|
});
|
|
}
|