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:
YeonGyu-Kim
2025-12-11 17:29:20 +09:00
parent 80cfe87390
commit 24a7f333a2
3 changed files with 10 additions and 95 deletions

View File

@@ -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}