(
updatedInput: Record<string, unknown>,
permissionUpdates: PermissionUpdate[],
)
| 303 | ) |
| 304 | }, |
| 305 | onAllow( |
| 306 | updatedInput: Record<string, unknown>, |
| 307 | permissionUpdates: PermissionUpdate[], |
| 308 | ) { |
| 309 | void sendPermissionResponseViaMailbox( |
| 310 | parsed.agent_id, |
| 311 | { |
| 312 | decision: 'approved', |
| 313 | resolvedBy: 'leader', |
| 314 | updatedInput, |
| 315 | permissionUpdates, |
| 316 | }, |
| 317 | parsed.request_id, |
| 318 | teamName, |
| 319 | ) |
| 320 | }, |
| 321 | onReject(feedback?: string) { |
| 322 | void sendPermissionResponseViaMailbox( |
| 323 | parsed.agent_id, |
nothing calls this directly
no test coverage detected