(value)
| 119 | } |
| 120 | |
| 121 | function compactTimestamp(value) { |
| 122 | const date = new Date(value || Date.now()); |
| 123 | if (Number.isNaN(date.getTime())) return 'unknown-time'; |
| 124 | return date.toISOString().replace(/[-:]/g, '').replace(/\.\d{3}Z$/, 'Z'); |
| 125 | } |
| 126 | |
| 127 | function isSetupCommand(command) { |
| 128 | return command === '/do setup' || command === '/do setup --express'; |
no outgoing calls
no test coverage detected