chore: bump version to 0.1390

This commit is contained in:
arkon
2026-01-27 00:41:00 +01:00
parent 11d4666d19
commit 59b22337a5
4 changed files with 121 additions and 26 deletions
+12
View File
@@ -1972,6 +1972,18 @@ export class WebServer extends EventEmitter {
return createErrorResponse(ApiErrorCode.OPERATION_FAILED, 'Subagent not found or already completed');
});
// Trigger cleanup of stale subagents
this.app.post('/api/subagents/cleanup', async () => {
const removed = subagentWatcher.cleanupNow();
return { success: true, data: { removed, remaining: subagentWatcher.getSubagents().length } };
});
// Clear all tracked subagents (memory only - does not delete files)
this.app.delete('/api/subagents', async () => {
const cleared = subagentWatcher.clearAll();
return { success: true, data: { cleared } };
});
// ========== Hook Events ==========