From c332e9764a1aae34527d92661b26d22ecd40cff4 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 1 Dec 2025 16:24:50 -0800 Subject: [PATCH] Update .github/copilot-instructions.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- .github/copilot-instructions.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 1b40aba84..d3a985673 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.