- 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.
25 lines
578 B
JavaScript
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,
|
|
};
|