chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:39:12 +08:00
commit d8dcd5f6d1
8604 changed files with 2479390 additions and 0 deletions
@@ -0,0 +1,12 @@
import React from "react";
import { Text } from "ink";
export function KeyMaskedDisplay({ apiKey, revealed = false }) {
if (!apiKey) return <Text dimColor>(none)</Text>;
const display = revealed
? apiKey
: apiKey.length <= 8
? "***"
: `${apiKey.slice(0, 6)}***${apiKey.slice(-4)}`;
return <Text>{display}</Text>;
}