mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-12-01 18:07:00 +01:00
feat: review connection actions from tasks (#13063)
Bring governed connection reviews into task history and composer approvals. Share resolution with Connections, add scoped remembered permissions, and resume agents through durable outcome receipts. Keep cards compact, collapse raw results, isolate untrusted provider output, bound continuation payloads, and reconcile missed live events. Add Storybook coverage, browser journeys, and service regression tests. Verification: all PR CI gates passed, Greptile 5/5, security scans passed, five connection-review browser journeys passed, and real native Codex approval/continuation was verified against the local MCP fixture. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
fe5e68d7a5
commit
e200104727
57 files changed
+46449
-627
No files matched your search
@@ -289,7 +289,7 @@ export const issuesApi = {
|
||||
acceptInteraction: (
|
||||
id: string,
|
||||
interactionId: string,
|
||||
data?: { selectedClientKeys?: string[]; selectedOptionIds?: string[] },
|
||||
data?: { selectedClientKeys?: string[]; selectedOptionIds?: string[]; rememberAction?: boolean },
|
||||
) =>
|
||||
api.post<IssueThreadInteraction>(`/issues/${id}/interactions/${interactionId}/accept`, data ?? {}),
|
||||
rejectInteraction: (id: string, interactionId: string, reason?: string) =>
|
||||
|
||||
+4
-4
@@ -550,10 +550,10 @@ export const toolsApi = {
|
||||
api.get<ToolActionRequestsResponse>(
|
||||
`/companies/${companyId}/tools/action-requests?status=${encodeURIComponent(status)}`,
|
||||
),
|
||||
approveActionRequest: (companyId: string, actionRequestId: string) =>
|
||||
api.post<ToolActionRequest>(`/tool-gateway/action-requests/${actionRequestId}/approve`, { companyId }),
|
||||
declineActionRequest: (companyId: string, actionRequestId: string) =>
|
||||
api.post<ToolActionRequest>(`/tool-gateway/action-requests/${actionRequestId}/decline`, { companyId }),
|
||||
approveActionRequest: (companyId: string, actionRequestId: string, rememberAction = false) =>
|
||||
api.post<ToolActionRequest>(`/tool-gateway/action-requests/${actionRequestId}/approve`, { companyId, rememberAction }),
|
||||
declineActionRequest: (companyId: string, actionRequestId: string, reason?: string) =>
|
||||
api.post<ToolActionRequest>(`/tool-gateway/action-requests/${actionRequestId}/decline`, { companyId, reason }),
|
||||
createTrustRuleFromActionRequest: (
|
||||
companyId: string,
|
||||
actionRequestId: string,
|
||||
|
||||
Reference in new issue
Block a user