feat: verify functional worker delivery and prepare version 1.13

This commit is contained in:
Agent Workbench Dev
2026-10-31 02:28:09 +08:00
parent 2ada7b899f
commit e1a2661bf4
47 changed files with 12740 additions and 30 deletions
@@ -0,0 +1,9 @@
import fs from 'node:fs';
import { spawnSync } from 'node:child_process';
for (const file of ['src/add.mjs', 'src/range.mjs']) {
const checked = spawnSync(process.execPath, ['--check', file], { windowsHide: true, stdio: 'inherit' });
if (checked.status !== 0) process.exit(checked.status ?? 1);
}
fs.mkdirSync('dist', { recursive: true });
fs.cpSync('src', 'dist', { recursive: true });
console.log('Built two checked ESM library modules');