/** Target card catalogue. Add new targets here; backend /api/analyze decides availability. */ export const TARGET_META: Record = { linux_appimage: { icon: "๐Ÿง", label: "Linux AppImage", platform: "x86_64 .AppImage ยท needs webkit2gtk-4.1 + gtk3" }, arch_pkgbuild: { icon: "๐Ÿ“ฆ", label: "Arch PKGBUILD", platform: "makepkg -si ยท Arch / CachyOS / Manjaro" }, windows_portable: { icon: "๐ŸชŸ", label: "Windows Portable", platform: "Not buildable inside the HF Space" }, firefox_ext: { icon: "๐ŸฆŠ", label: "Firefox Extension", platform: ".xpi (unsigned)" }, chromium_ext: { icon: "๐Ÿงฉ", label: "Chrome Extension", platform: "MV3 zip ยท load unpacked" }, pwa: { icon: "๐Ÿ“ฑ", label: "PWA", platform: "Installable web app zip" }, html_widget: { icon: "๐Ÿ”ฒ", label: "HTML Widget", platform: "Embeddable iframe widget zip" }, android: { icon: "๐Ÿค–", label: "Android", platform: "Capacitor debug APK (unsigned)" }, tauri: { icon: "๐Ÿฆ€", label: "Tauri Project", platform: "Source project zip โ€” build on your machine" }, mcp: { icon: "๐Ÿ”Œ", label: "MCP Server / Config", platform: "Cursor / Claude Desktop config or stdio server" }, }; export const TARGET_ORDER = Object.keys(TARGET_META); export const MODES = [ { id: "local", label: "Local", desc: "Runs on your machine. Project/source output; no live Space needed once built." }, { id: "hybrid", label: "Hybrid", desc: "Local frontend shell; the app/model still runs on the live HF Space (internet required)." }, { id: "hosted_wrapper", label: "Hosted Wrapper", desc: "Native shell (window / WebView / config) that loads the live HF Space. Not offline." }, ] as const;