Govern task context and advance execution pointer
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-20 06:02:43 -04:00
parent 380cbed4ff
commit 10640aeb3c
984 changed files with 543475 additions and 327 deletions

View File

@@ -0,0 +1,7 @@
import { buildTaskContext, contextSizeReport } from "./task-context-lib.mjs";
const index = process.argv.indexOf("--task");
const task = index >= 0 ? process.argv[index + 1] : undefined;
const bundle = buildTaskContext(task);
const report = contextSizeReport(bundle);
process.stdout.write(`${JSON.stringify({ ...bundle.context, size: report }, null, 2)}\n`);