()
| 63 | } |
| 64 | |
| 65 | function maskToken(token: string): string { |
| 66 | if (!token) return "(未配置)"; |
| 67 | if (token.length <= 10) return `${token.slice(0, 2)}***${token.slice(-2)}`; |
| 68 | return `${token.slice(0, 4)}***${token.slice(-4)}`; |
| 69 | } |
| 70 | |
| 71 | function formatDuration(ms: number): string { |
no test coverage detected