@spencerbeggs/claude-coordinator-mcp 0.1.1 → 0.1.2
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/client.js +2 -0
- package/index.d.ts +13 -2
- package/mcp-server.js +2 -0
- package/package.json +5 -4
- package/tsdoc-metadata.json +1 -1
package/client.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Agent, ContextEntry, Decision, JoinInput, JoinResult, Question } from "@spencerbeggs/claude-coordinator-core";
|
|
2
|
-
|
|
3
2
|
//#region src/client.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for creating the coordinator client
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
6
7
|
*/
|
|
7
8
|
interface ClientOptions {
|
|
8
9
|
url?: string;
|
|
@@ -10,6 +11,8 @@ interface ClientOptions {
|
|
|
10
11
|
/**
|
|
11
12
|
* Typed tRPC client interface matching the coordinator server's router
|
|
12
13
|
* This provides type safety without requiring cross-package type inference
|
|
14
|
+
*
|
|
15
|
+
* @public
|
|
13
16
|
*/
|
|
14
17
|
interface TypedTRPCClient {
|
|
15
18
|
session: {
|
|
@@ -84,6 +87,8 @@ interface TypedTRPCClient {
|
|
|
84
87
|
}
|
|
85
88
|
/**
|
|
86
89
|
* Coordinator client instance
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
87
92
|
*/
|
|
88
93
|
interface CoordinatorClient {
|
|
89
94
|
trpc: TypedTRPCClient;
|
|
@@ -91,20 +96,26 @@ interface CoordinatorClient {
|
|
|
91
96
|
}
|
|
92
97
|
/**
|
|
93
98
|
* Create a tRPC client that connects to the coordinator server
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
94
101
|
*/
|
|
95
102
|
declare function createCoordinatorClient(options?: ClientOptions): CoordinatorClient;
|
|
96
103
|
//#endregion
|
|
97
104
|
//#region src/mcp-server.d.ts
|
|
98
105
|
/**
|
|
99
106
|
* MCP server options
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
100
109
|
*/
|
|
101
110
|
interface McpServerOptions {
|
|
102
111
|
url?: string;
|
|
103
112
|
}
|
|
104
113
|
/**
|
|
105
114
|
* Create and run the MCP server
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
106
117
|
*/
|
|
107
118
|
declare function createMcpServer(options?: McpServerOptions): Promise<void>;
|
|
108
119
|
//#endregion
|
|
109
|
-
export { type ClientOptions, type CoordinatorClient, type McpServerOptions, createCoordinatorClient, createMcpServer };
|
|
120
|
+
export { type ClientOptions, type CoordinatorClient, type McpServerOptions, type TypedTRPCClient, createCoordinatorClient, createMcpServer };
|
|
110
121
|
//# sourceMappingURL=index.d.ts.map
|
package/mcp-server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spencerbeggs/claude-coordinator-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP stdio bridge for Claude Coordinator",
|
|
6
6
|
"keywords": [
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
27
|
"types": "./index.d.ts",
|
|
28
|
-
"import": "./index.js"
|
|
28
|
+
"import": "./index.js",
|
|
29
|
+
"default": "./index.js"
|
|
29
30
|
},
|
|
30
31
|
"./package.json": "./package.json"
|
|
31
32
|
},
|
|
@@ -35,10 +36,10 @@
|
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
37
38
|
"@spencerbeggs/claude-coordinator-core": "0.1.0",
|
|
38
|
-
"@spencerbeggs/claude-coordinator-server": "0.1.
|
|
39
|
+
"@spencerbeggs/claude-coordinator-server": "0.1.2",
|
|
39
40
|
"@trpc/client": "^11.18.0",
|
|
40
41
|
"@trpc/server": "^11.18.0",
|
|
41
|
-
"ws": "^8.21.
|
|
42
|
+
"ws": "^8.21.1",
|
|
42
43
|
"zod": "^4.4.3"
|
|
43
44
|
},
|
|
44
45
|
"engines": {
|