feat(FN-3211): document app CPU metric in system stats

Updated the architecture documentation to document the app CPU metric in the system stats section.

Fusion-Task-Id: FN-3211
This commit is contained in:
Fusion
2026-05-04 15:11:17 -07:00
committed by gsxdsm
parent e87961825f
commit 6dfe7c5e09
8 changed files with 133 additions and 12 deletions

View File

@@ -17,11 +17,6 @@ import { homedir } from "node:os";
import { createRequire } from "node:module";
const processRef = globalThis.process;
const fetchRef = globalThis.fetch;
const abortControllerRef = globalThis.AbortController;
const setTimeoutRef = globalThis.setTimeout;
const clearTimeoutRef = globalThis.clearTimeout;
const args = processRef.argv.slice(2);
const invokedAs = basename(processRef.argv[1] || "").replace(/\.(js|cjs|mjs|exe)$/i, "");
const isAliasInvocation = invokedAs === "runfusion.ai" || invokedAs === "runfusion";