(footer: FooterApi)
| 162 | } |
| 163 | |
| 164 | function clearSubagent(footer: FooterApi): void { |
| 165 | footer.event({ |
| 166 | type: "stream.subagent", |
| 167 | state: { |
| 168 | tabs: [], |
| 169 | details: {}, |
| 170 | permissions: [], |
| 171 | questions: [], |
| 172 | }, |
| 173 | }) |
| 174 | } |
| 175 | |
| 176 | function showSubagent( |
| 177 | state: State, |