()
| 17 | diagnosticsPromise: Promise<Diagnostic[]>; |
| 18 | }; |
| 19 | function buildPrimarySection(): Property[] { |
| 20 | const sessionId = getSessionId(); |
| 21 | const customTitle = getCurrentSessionTitle(sessionId); |
| 22 | const nameValue = customTitle ?? <Text dimColor>/rename to add a name</Text>; |
| 23 | return [{ |
| 24 | label: 'Version', |
| 25 | value: MACRO.VERSION |
| 26 | }, { |
| 27 | label: 'Session name', |
| 28 | value: nameValue |
| 29 | }, { |
| 30 | label: 'Session ID', |
| 31 | value: sessionId |
| 32 | }, { |
| 33 | label: 'cwd', |
| 34 | value: getCwd() |
| 35 | }, ...buildAccountProperties(), ...buildAPIProviderProperties()]; |
| 36 | } |
| 37 | function buildSecondarySection({ |
| 38 | mainLoopModel, |
| 39 | mcp, |
no test coverage detected