(data: SubagentData)
| 676 | } |
| 677 | |
| 678 | function snapshotQueues(data: SubagentData) { |
| 679 | return { |
| 680 | permissions: listSubagentPermissions(data).sort((a, b) => a.id.localeCompare(b.id)), |
| 681 | questions: listSubagentQuestions(data).sort((a, b) => a.id.localeCompare(b.id)), |
| 682 | } |
| 683 | } |
| 684 | |
| 685 | function snapshotState(data: SubagentData, details: FooterSubagentState["details"]): FooterSubagentState { |
| 686 | return { |
no test coverage detected