Update .github/copilot-instructions.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Lucas 2025-12-01 16:24:50 -08:00 committed by GitHub
parent 004d48d36c
commit c332e9764a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,10 +53,9 @@ Use `TaskContext` for operations with progress reporting (imports, exports, bulk
```typescript
const taskContext = new TaskContext("task-id", "import", "Import Notes");
taskContext.reportProgress(50, "Processing...");
taskContext.increaseProgressCount();
// WebSocket messages: { type: 'task-progress-update', taskId, progress, message }
```
// WebSocket messages: { type: 'taskProgressCount', taskId, taskType, data, progressCount }
**Pattern**: All long-running operations (delete note trees, export, import) use TaskContext to send WebSocket updates to the frontend.