feat(action): direct accept/reject buttons — no mirror tab needed, Extension /api/action endpoint

This commit is contained in:
2026-03-08 01:32:29 +09:00
parent 8568985e7a
commit 79c2b1b6d9
7 changed files with 83 additions and 23 deletions

View File

@@ -230,9 +230,10 @@
if (nu.isBlocking) {
messages.push({
type: 'actions',
label: '⚠️ Antigravity에서 리뷰가 필요합니다',
label: '⚠️ 사용자 승인 대기 중',
buttons: [
{ label: '미러 탭에서 확인', action: 'switch_mirror' },
{ label: '✅ 진행', action: 'api_call', endpoint: '/api/bridge/action', body: { action: 'acceptStep' } },
{ label: '❌ 거절', action: 'api_call', endpoint: '/api/bridge/action', body: { action: 'rejectStep' }, variant: 'danger' },
],
});
}