@pruddiman/dispatch 1.5.0-beta.7469bf9 → 1.5.0-beta.82cfb11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +7 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7824,7 +7824,12 @@ var init_fork_run = __esm({
|
|
|
7824
7824
|
init_server();
|
|
7825
7825
|
__filename = fileURLToPath(import.meta.url);
|
|
7826
7826
|
__dirname = dirname5(__filename);
|
|
7827
|
-
WORKER_PATH =
|
|
7827
|
+
WORKER_PATH = [
|
|
7828
|
+
join14(__dirname, "mcp", "dispatch-worker.js"),
|
|
7829
|
+
// bundled: __dirname = dist/
|
|
7830
|
+
join14(__dirname, "..", "dispatch-worker.js")
|
|
7831
|
+
// unbundled: __dirname = dist/mcp/tools/
|
|
7832
|
+
].find((p) => existsSync2(p)) ?? join14(__dirname, "mcp", "dispatch-worker.js");
|
|
7828
7833
|
HEARTBEAT_INTERVAL_MS = 3e4;
|
|
7829
7834
|
}
|
|
7830
7835
|
});
|
|
@@ -9121,7 +9126,7 @@ async function main() {
|
|
|
9121
9126
|
process.exit(0);
|
|
9122
9127
|
}
|
|
9123
9128
|
if (args.version) {
|
|
9124
|
-
console.log(`dispatch v${"1.5.0-beta.
|
|
9129
|
+
console.log(`dispatch v${"1.5.0-beta.82cfb11"}`);
|
|
9125
9130
|
process.exit(0);
|
|
9126
9131
|
}
|
|
9127
9132
|
const orchestrator = await boot5({ cwd: args.cwd });
|