You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b4e0c8
Browse filesBrowse the repository at this point in the historyBrowse files
return'When exec returns approval-pending on this channel, rely on native approval card/buttons when they appear and do not also send plain chat /approve instructions. Only include the concrete /approve command if the tool result says chat approvals are unavailable or only manual approval is possible; when needed, copy the exact /approve command from the tool output\'s "Reply with:" line.';
153
155
}
@@ -769,6 +771,7 @@ export function buildAgentSystemPrompt(params: {
769
771
buildExecApprovalPromptGuidance({
770
772
runtimeChannel: params.runtimeInfo?.channel,
771
773
inlineButtonsEnabled,
774
+
runtimeCapabilities,
772
775
}),
773
776
"Never execute /approve through exec or any other shell/tool path; /approve is a user-facing approval command, not a shell command.",
774
777
"Treat allow-once as single-command only: if another elevated command needs approval, request a fresh /approve and do not claim prior approval covered it.",
0 commit comments