CI / Typecheck, lint, tests, e2e (push) Failing after 3m51s
- Title screen over a real-time voxel office rendered at low resolution and quantized to a rotating 32-colour palette with Bayer dithering; day part and season re-light the scene and every surface. - 16-bit UI kit: name-plate dialogs, menu cursor, inventory, XP bar, badges, NPC speech, GAME OVER with CONTINUE, hand-placed 12x12 icons, Fusion Pixel font (Latin subset preloaded). - Sections as a game: quest log (onboarding), character select (AI CEO / AI Co-Founder), inventory (features), party roster (providers), live download XP, save point (all v1.5.1 builds), FAQ as NPC dialog, credits. - Downloads and source point to the Gitea release; the download function only redirects to git.zacharyzhang.com. - Tailwind and the old components removed; unit tests for platform/downloads, rewritten e2e suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
79 lines
2.3 KiB
TypeScript
79 lines
2.3 KiB
TypeScript
export type ReleaseArchitecture = "arm64" | "x64";
|
|
|
|
export type PlatformDownloadAsset = {
|
|
architectures: ReleaseArchitecture[];
|
|
id: string;
|
|
label: string;
|
|
fileName: string;
|
|
href: string;
|
|
sizeBytes: number;
|
|
size: string;
|
|
note: string;
|
|
};
|
|
|
|
export type PlatformDownload = {
|
|
id: "macos" | "windows" | "linux";
|
|
packageDescription: string;
|
|
title: string;
|
|
note: string;
|
|
assets: PlatformDownloadAsset[];
|
|
};
|
|
|
|
export const releaseVersion = "1.5.1";
|
|
export const RELEASE_HOST = "git.zacharyzhang.com";
|
|
export const SOURCE_URL = `https://${RELEASE_HOST}/ZacharyZhang-NY/AgentCompany`;
|
|
export const RELEASE_PAGE_URL = `${SOURCE_URL}/releases/tag/v${releaseVersion}`;
|
|
|
|
function asset(
|
|
id: string,
|
|
label: string,
|
|
architecture: ReleaseArchitecture,
|
|
fileName: string,
|
|
sizeBytes: number,
|
|
): PlatformDownloadAsset {
|
|
return {
|
|
architectures: [architecture],
|
|
id,
|
|
label,
|
|
fileName,
|
|
href: `${SOURCE_URL}/releases/download/v${releaseVersion}/${fileName}`,
|
|
sizeBytes,
|
|
size: `${Math.round(sizeBytes / 1_000_000)} MB`,
|
|
note: `${architecture} · v${releaseVersion}`,
|
|
};
|
|
}
|
|
|
|
export const platformDownloads: PlatformDownload[] = [
|
|
{
|
|
id: "macos",
|
|
packageDescription: "signed and notarized DMG and ZIP builds",
|
|
title: "macOS",
|
|
note: "Signed + notarized DMG and ZIP builds",
|
|
assets: [
|
|
asset("macos-arm64-dmg", "Apple Silicon DMG", "arm64", "AgentCompany-1.5.1-arm64.dmg", 118584099),
|
|
asset("macos-arm64-zip", "Apple Silicon ZIP", "arm64", "AgentCompany-1.5.1-arm64-mac.zip", 321953469),
|
|
asset("macos-x64-dmg", "Intel Mac DMG", "x64", "AgentCompany-1.5.1.dmg", 126949692),
|
|
asset("macos-x64-zip", "Intel Mac ZIP", "x64", "AgentCompany-1.5.1-mac.zip", 346581782),
|
|
],
|
|
},
|
|
{
|
|
id: "windows",
|
|
packageDescription: "an NSIS installer build",
|
|
title: "Windows",
|
|
note: "NSIS installer build",
|
|
assets: [
|
|
asset("windows-x64-installer", "Windows Installer (x64)", "x64", "AgentCompany-1.5.1-x64.exe", 98672653),
|
|
],
|
|
},
|
|
{
|
|
id: "linux",
|
|
packageDescription: "AppImage and .deb builds",
|
|
title: "Linux",
|
|
note: "AppImage and .deb builds",
|
|
assets: [
|
|
asset("linux-x64-appimage", "Linux AppImage (x64)", "x64", "AgentCompany-1.5.1.AppImage", 122224922),
|
|
asset("linux-x64-deb", "Debian/Ubuntu .deb (x64)", "x64", "agentcompany-new_1.5.1_amd64.deb", 95501700),
|
|
],
|
|
},
|
|
];
|