chore: mark CLI modes refactoring as complete
Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
8
PLAN.md
8
PLAN.md
@@ -6,7 +6,7 @@
|
||||
- [x] 3. Update database layer for batch operations
|
||||
- [x] 4. Create core services with clear boundaries (synchronous)
|
||||
- [ ] 5. Add async wrappers for API use
|
||||
- [ ] 6. Refactor CLI modes to use services (partially done)
|
||||
- [x] 6. Refactor CLI modes to use services (DONE)
|
||||
- [ ] 7. Refactor REST API to use async services
|
||||
- [ ] 8. Refactor MCP tools to use services
|
||||
- [x] 9. Create unified error handling
|
||||
@@ -107,14 +107,14 @@
|
||||
- Provide examples for safe async/sync boundaries
|
||||
- Use `tokio::task::spawn_blocking` for CPU-bound or blocking I/O operations
|
||||
|
||||
## 6. Refactor CLI Modes to Use Services (PARTIALLY DONE)
|
||||
## 6. Refactor CLI Modes to Use Services (DONE)
|
||||
**Files:**
|
||||
- Change: `src/modes/get.rs` (DONE)
|
||||
- Change: `src/modes/save.rs` (DONE)
|
||||
- Change: `src/modes/list.rs` (DONE)
|
||||
- Change: `src/modes/info.rs` (DONE)
|
||||
- Change: `src/modes/delete.rs` (DONE)
|
||||
- Change: `src/modes/diff.rs` (NOT DONE)
|
||||
- Change: `src/modes/diff.rs` (DONE)
|
||||
- Change: `src/modes/status.rs` (DONE, uses shared function)
|
||||
|
||||
**Functions:**
|
||||
@@ -123,7 +123,7 @@
|
||||
- Change: `mode_list` to use `item_service` (DONE)
|
||||
- Change: `mode_info` to use `item_service` (DONE)
|
||||
- Change: `mode_delete` to use `item_service` (DONE)
|
||||
- Change: `mode_diff` to use `item_service` (NOT DONE)
|
||||
- Change: `mode_diff` to use `item_service` (DONE)
|
||||
- Change: `mode_status` to use new status service functions (DONE, uses shared function)
|
||||
|
||||
**Reason:** Remove direct database and file system access from modes
|
||||
|
||||
Reference in New Issue
Block a user