mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-05-05 17:56:56 +00:00
Stop shipping a default Gemini OAuth client secret and require it to come from the environment instead. Also tighten proxy fetch typing to avoid any-based undici calls and move db setup utilities under scripts while removing generated debug and scratch artifacts.
14 lines
529 B
JavaScript
14 lines
529 B
JavaScript
import process from "node:process";
|
|
import("./tests/integration/chat-pipeline.test.mjs").then((mod) => {
|
|
setTimeout(() => {
|
|
const activeHandles = process._getActiveHandles();
|
|
console.log("ACTIVE HANDLES: " + activeHandles.length);
|
|
activeHandles.forEach((handle, i) => {
|
|
console.log(`Handle ${i}:`, handle?.constructor?.name);
|
|
if (handle?.constructor?.name === "Socket") {
|
|
console.log("Socket ports:", handle?.localPort, handle?.remotePort);
|
|
}
|
|
});
|
|
process.exit(1);
|
|
}, 15000);
|
|
});
|