Skip to content

Commit 3af62fa

Browse files
GeneAIclaude
authored andcommitted
fix(vscode): Show notification feedback for sync-claude command
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent a5d697e commit 3af62fa

File tree

3 files changed

+59
-3
lines changed

3 files changed

+59
-3
lines changed

.claude/rules/empathy/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Debugging Patterns
22

33
Auto-generated from Empathy Framework learned patterns.
4-
Total patterns: 40
4+
Total patterns: 43
55

66
---
77

patterns/debugging.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,50 @@
550550
"pytest.ini"
551551
],
552552
"source": "git_history"
553+
},
554+
{
555+
"pattern_id": "bug_20251231_a5d697eb",
556+
"bug_type": "unknown",
557+
"status": "resolved",
558+
"root_cause": "style: Auto-fix formatting with ruff/black (19 files)",
559+
"fix": "See commit a5d697eb",
560+
"resolved_by": "@geneai",
561+
"resolved_at": "2025-12-31",
562+
"files_affected": [
563+
".claude/CLAUDE.md",
564+
"patterns/debugging/bug_20251231_02d986b6.json",
565+
"patterns/debugging/bug_20251231_29c10759.json"
566+
],
567+
"source": "git_history"
568+
},
569+
{
570+
"pattern_id": "bug_20251231_d0b81efc",
571+
"bug_type": "unknown",
572+
"status": "resolved",
573+
"root_cause": "feat: Bug scanner tuning, VSCode cleanup, and PR review fix",
574+
"fix": "See commit d0b81efc",
575+
"resolved_by": "@geneai",
576+
"resolved_at": "2025-12-31",
577+
"files_affected": [
578+
".claude/CLAUDE.md",
579+
".claude/python-standards.md",
580+
".claude/rules/empathy/debugging.md"
581+
],
582+
"source": "git_history"
583+
},
584+
{
585+
"pattern_id": "bug_20251230_657f4e5c",
586+
"bug_type": "unknown",
587+
"status": "resolved",
588+
"root_cause": "fix(bug-predict): Reduce false positives in dangerous_eval detection",
589+
"fix": "See commit 657f4e5c",
590+
"resolved_by": "@geneai",
591+
"resolved_at": "2025-12-30",
592+
"files_affected": [
593+
"src/empathy_os/workflows/bug_predict.py"
594+
],
595+
"source": "git_history"
553596
}
554597
],
555-
"last_updated": "2025-12-29T17:23:49.800773"
598+
"last_updated": "2025-12-31T14:04:23.220934"
556599
}

vscode-extension/src/extension.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,20 @@ async function cmdDashboard() {
498498
}
499499

500500
async function cmdSyncClaude() {
501-
runEmpathyCommand('sync-claude', 'Sync to Claude Code');
501+
await vscode.window.withProgress(
502+
{
503+
location: vscode.ProgressLocation.Notification,
504+
title: 'Empathy: Syncing patterns to Claude Code...',
505+
cancellable: false
506+
},
507+
async () => {
508+
const output = await runEmpathyCommandSilent('sync-claude');
509+
// Extract pattern count from output
510+
const match = output.match(/Total: (\d+) patterns synced/);
511+
const count = match ? match[1] : 'patterns';
512+
vscode.window.showInformationMessage(`✓ ${count} patterns synced to .claude/rules/empathy`);
513+
}
514+
);
502515
}
503516

504517
async function cmdStatus() {

0 commit comments

Comments
 (0)