Skip to content

Build your personal knowledge base with Trilium Notes

Update .github/copilot-instructions.md

Lucasc332e9764a1a
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 1b40aba840..d3a985673d 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -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.