feat: add tool-specific approval overrides

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-03-24 20:02:29 +01:00
co-authored by Copilot
parent f896fa6442
commit d5c538eed9
22 changed files with 897 additions and 221 deletions
+5
View File
@@ -181,6 +181,11 @@ export function duplicateSessionRecord(
enabledLspProfileIds: [...session.tooling.enabledLspProfileIds],
}
: undefined,
approvalSettings: session.approvalSettings
? {
autoApprovedToolNames: [...session.approvalSettings.autoApprovedToolNames],
}
: undefined,
pendingApproval: undefined,
pendingApprovalQueue: undefined,
runs: [],