mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-05-03 00:30:26 +00:00
Introduce full AI orchestration ecosystem: - MCP Server with 16 tools, scoped auth, and audit logging - A2A v0.3 server with JSON-RPC 2.0, SSE streaming, and task manager - Auto-Combo engine with 6-factor scoring and self-healing - VS Code extension with smart dispatch and budget tracking - Harden CI pipeline: add static checks, remove continue-on-error - Add translator schema validation tests - Update .gitignore and CHANGELOG for release checklist
25 lines
680 B
JavaScript
25 lines
680 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { spawn } from "node:child_process";
|
|
import { sanitizeColorEnv } from "./runtime-env.mjs";
|
|
|
|
const defaultArgs = ["test", "tests/e2e/*.spec.ts"];
|
|
const forwardedArgs = process.argv.slice(2);
|
|
const args = forwardedArgs.length > 0 ? forwardedArgs : defaultArgs;
|
|
const playwrightEnv = sanitizeColorEnv(process.env);
|
|
|
|
delete playwrightEnv.NO_COLOR;
|
|
delete playwrightEnv.FORCE_COLOR;
|
|
|
|
const child = spawn(process.execPath, ["./node_modules/playwright/cli.js", ...args], {
|
|
stdio: "inherit",
|
|
env: playwrightEnv,
|
|
});
|
|
|
|
child.on("exit", (code, signal) => {
|
|
if (signal) {
|
|
process.kill(process.pid, signal);
|
|
return;
|
|
}
|
|
process.exit(code ?? 0);
|
|
});
|