Skip to content

Commit e075f2d

Browse files
GeneAIclaude
authored andcommitted
feat(vscode): Open sync-claude output in webview report panel
- sync-claude now displays full output in webview instead of notification - Added display names for Quick Actions (morning, ship, learn, sync-claude) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3af62fa commit e075f2d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

vscode-extension/src/extension.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,12 @@ async function cmdSyncClaude() {
506506
},
507507
async () => {
508508
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`);
509+
// Open in webview report panel for full visibility
510+
await vscode.commands.executeCommand('empathy.openReportInEditor', {
511+
workflowName: 'sync-claude',
512+
output,
513+
input: 'Sync Patterns to Claude Code'
514+
});
513515
}
514516
);
515517
}

vscode-extension/src/panels/EmpathyDashboardPanel.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,11 @@ export class EmpathyDashboardProvider implements vscode.WebviewViewProvider {
13861386
'health-check': 'Health Check',
13871387
'pr-review': 'PR Review',
13881388
'pro-review': 'Code Analysis',
1389+
// Quick Actions
1390+
'morning': 'Morning Briefing',
1391+
'ship': 'Pre-Ship Check',
1392+
'learn': 'Learn Patterns',
1393+
'sync-claude': 'Sync to Claude Code',
13891394
};
13901395

13911396
const displayName = workflowNames[workflowName] || workflowName;

0 commit comments

Comments
 (0)