Add fleet ops dashboard, Calibrate enforcement, and dead-code cleanup.

Ship live alerts, pool status, AI monitor, remote agent commands, build manager, and uninstall flow; wire Calibrate settings (WS ping, pool traffic log, retention limits) at runtime and exclude server/data from git.
This commit is contained in:
drjones
2026-05-27 09:16:04 -07:00
parent 9d223b8137
commit df81eb7744
75 changed files with 8891 additions and 966 deletions

View File

@@ -0,0 +1,17 @@
import { describe, expect, it } from 'vitest';
import { previewInstallPath } from './installPreview';
describe('previewInstallPath', () => {
it('expands worker and build tokens (F-14)', () => {
const path = previewInstallPath({
install_base: 'localappdata',
install_relative_path: 'CryptoMiner/{worker}-{build_short}',
worker_name: 'office-pc',
process_name: 'RuntimeHelper',
});
expect(path).toContain('office-pc-abc12345');
expect(path).toContain('CryptoMiner\\office-pc-abc12345');
expect(path).toContain('RuntimeHelper.exe');
expect(path.startsWith('%LOCALAPPDATA%')).toBe(true);
});
});