()
| 159 | } |
| 160 | |
| 161 | function currentUserHash(): string { |
| 162 | const username = userInfo().username || "unknown"; |
| 163 | return createHash("sha256").update(username).digest("hex").slice(0, 12); |
| 164 | } |
| 165 | |
| 166 | function redactSecretString(value: string): string { |
| 167 | // Apply the shared comprehensive redactor (OpenCode parity: adds |