(mode: string)
| 1301 | * else this metadata ever carries. |
| 1302 | */ |
| 1303 | export function permissionModeLabel(mode: string): string { |
| 1304 | if (mode === 'bypass') return 'Full access'; |
| 1305 | if (mode === 'explore') return 'Read only'; |
| 1306 | return 'Auto'; |
| 1307 | } |
| 1308 | |
| 1309 | export function renderMakaPiStatusLine(metadata: MakaPiTranscriptMetadata, width: number): string { |
| 1310 | const safeWidth = Math.max(1, width); |
no outgoing calls
no test coverage detected