mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Use native runtimes for flow entrypoints
This commit is contained in:
parent
54fc21b38d
commit
74955d6041
38 changed files with 233 additions and 134 deletions
|
|
@ -6,13 +6,6 @@
|
|||
* Env:
|
||||
* NATS_URL (default: nats://localhost:4222)
|
||||
*/
|
||||
import { run as runMcpToolService } from "../packages/flow/src/agent/mcp-tool/index.js";
|
||||
import { runMain } from "../packages/flow/src/agent/mcp-tool/index.js";
|
||||
|
||||
async function run(): Promise<void> {
|
||||
await runMcpToolService();
|
||||
}
|
||||
|
||||
run().catch((err) => {
|
||||
console.error("MCP tool service failed:", err);
|
||||
process.exit(1);
|
||||
});
|
||||
runMain();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue