chore: add code run entry check

This commit is contained in:
John
2026-07-02 07:22:49 +08:00
parent ac20ac212e
commit 304a9eaea2
4 changed files with 370 additions and 0 deletions
+5
View File
@@ -279,6 +279,10 @@ async function writeMetadata() {
path.join(root, 'scripts', 'check-tool-runtime.mjs'),
path.join(runtimeRoot, 'scripts', 'check-tool-runtime.mjs'),
);
await fs.copyFile(
path.join(root, 'scripts', 'check-agent-code-run-entry.mjs'),
path.join(runtimeRoot, 'scripts', 'check-agent-code-run-entry.mjs'),
);
await writeFile(
path.join(runtimeRoot, 'RUNBOOK.txt'),
[
@@ -323,6 +327,7 @@ async function writeMetadata() {
' node scripts/runtime-worker-drain.mjs drain goosed-3',
' node scripts/runtime-worker-drain.mjs undrain goosed-3',
' node scripts/check-tool-runtime.mjs',
' node scripts/check-agent-code-run-entry.mjs',
'',
].join('\n'),
);