replicas-engine 0.1.815 → 0.1.816
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/src/{asp-host-LHDELXWM.js → asp-host-GPNVHNDJ.js} +2 -2
- package/dist/src/chunk-JA23HN6S.js +46 -0
- package/dist/src/{chunk-WRUZSBSF.js → chunk-QIDTIQQU.js} +2 -2
- package/dist/src/{chunk-UUQYVSQY.js → chunk-T7RJYRCH.js} +1 -1
- package/dist/src/headless-agent.js +1 -1
- package/dist/src/index.js +223 -250
- package/dist/src/relay-mcp.js +4 -1
- package/package.json +1 -1
package/dist/src/relay-mcp.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __createRequire } from 'node:module';
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
|
+
import {
|
|
5
|
+
RELAY_MCP_SERVER_NAME
|
|
6
|
+
} from "./chunk-JA23HN6S.js";
|
|
4
7
|
import {
|
|
5
8
|
messageRelaySubagentRequestSchema,
|
|
6
9
|
spawnRelaySubagentRequestSchema
|
|
@@ -36,7 +39,7 @@ async function request(path, method, body) {
|
|
|
36
39
|
if (!response.ok) throw new Error(text || `Relay request failed (${response.status})`);
|
|
37
40
|
return text || JSON.stringify({ success: true });
|
|
38
41
|
}
|
|
39
|
-
var server = new McpServer({ name:
|
|
42
|
+
var server = new McpServer({ name: RELAY_MCP_SERVER_NAME, version: "1.0.0" });
|
|
40
43
|
server.registerTool("get_providers", {
|
|
41
44
|
description: "List the agent providers Relay is allowed to use and the configured Relay base provider."
|
|
42
45
|
}, async () => ({
|