refactor(background-agent): remove file persistence, use memory-only
- Remove background_tasks.json persistence (race condition with multiple instances) - Pure memory-based task management - Add logging for promptAsync errors - Remove unused persist/restore methods 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -207,8 +207,6 @@ Only running tasks can be cancelled.`
|
||||
task.status = "cancelled"
|
||||
task.completedAt = new Date()
|
||||
|
||||
manager.persist()
|
||||
|
||||
return `✅ Task cancelled successfully
|
||||
|
||||
Task ID: ${task.id}
|
||||
|
||||
Reference in New Issue
Block a user