agent-ecosystem/agent-teams-controller/src/internal/processes.js
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

25 lines
578 B
JavaScript

const processStore = require('./processStore.js');
function registerProcess(context, flags) {
return processStore.registerProcess(context.paths, flags);
}
function unregisterProcess(context, flags) {
processStore.unregisterProcess(context.paths, flags);
return listProcesses(context);
}
function listProcesses(context) {
return processStore.listProcesses(context.paths);
}
function stopProcess(context, flags) {
return processStore.stopProcess(context.paths, flags);
}
module.exports = {
registerProcess,
stopProcess,
unregisterProcess,
listProcesses,
};