()
| 21 | export const SHIMMER_INTERVAL_MS = 150 |
| 22 | |
| 23 | export function timestamp(): string { |
| 24 | const now = new Date() |
| 25 | const h = String(now.getHours()).padStart(2, '0') |
| 26 | const m = String(now.getMinutes()).padStart(2, '0') |
| 27 | const s = String(now.getSeconds()).padStart(2, '0') |
| 28 | return `${h}:${m}:${s}` |
| 29 | } |
| 30 | |
| 31 | export { formatDuration, truncateToWidth as truncatePrompt } |
| 32 |
no outgoing calls
no test coverage detected