fix(ext): browser_subagent Allow 버튼 RPC 매핑 수정 — runExtensionCode payload 적용 (v0.5.1)

This commit is contained in:
Variet Worker
2026-03-20 18:12:07 +09:00
parent e306fae130
commit 549af6dae2
6 changed files with 18 additions and 7 deletions

View File

@@ -381,7 +381,7 @@ export async function tryApprovalStrategies(approved: boolean, sessionId: string
interactionPayload = { readUrlContent: { confirm: true } };
} else if (typeLower.includes('mcp')) {
interactionPayload = { mcpTool: { confirm: true } };
} else if (typeLower.includes('invoke_subagent') || typeLower.includes('extension_code')) {
} else if (typeLower.includes('invoke_subagent') || typeLower.includes('extension_code') || typeLower.includes('browser_subagent')) {
interactionPayload = { runExtensionCode: { confirm: true } };
} else if (typeLower.includes('file_permission')) {
const scope = typeLower.includes('conversation') ? 2 : 1;