@kilnai/runtime 0.21.2 → 0.23.0
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/gateway/gateway-server.d.ts.map +1 -1
- package/dist/gateway/gateway-server.js +299 -2
- package/dist/gateway/gateway-server.js.map +1 -1
- package/dist/gateway/tenant-tool-factory.d.ts +2 -0
- package/dist/gateway/tenant-tool-factory.d.ts.map +1 -1
- package/dist/gateway/tenant-tool-factory.js +4 -0
- package/dist/gateway/tenant-tool-factory.js.map +1 -1
- package/dist/mcp/gateway-mcp-server.d.ts +8 -0
- package/dist/mcp/gateway-mcp-server.d.ts.map +1 -1
- package/dist/mcp/gateway-mcp-server.js +108 -13
- package/dist/mcp/gateway-mcp-server.js.map +1 -1
- package/dist/mcp/gateway-mcp-types.d.ts +37 -0
- package/dist/mcp/gateway-mcp-types.d.ts.map +1 -1
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -0
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/swarm-store.d.ts +36 -0
- package/dist/mcp/swarm-store.d.ts.map +1 -0
- package/dist/mcp/swarm-store.js +138 -0
- package/dist/mcp/swarm-store.js.map +1 -0
- package/dist/mcp/tool-schemas.d.ts +334 -0
- package/dist/mcp/tool-schemas.d.ts.map +1 -1
- package/dist/mcp/tool-schemas.js +126 -5
- package/dist/mcp/tool-schemas.js.map +1 -1
- package/package.json +2 -2
|
@@ -149,6 +149,17 @@ export declare const EVAL_SCORE_SCHEMA: {
|
|
|
149
149
|
};
|
|
150
150
|
description: string;
|
|
151
151
|
};
|
|
152
|
+
context: {
|
|
153
|
+
type: string;
|
|
154
|
+
items: {
|
|
155
|
+
type: string;
|
|
156
|
+
};
|
|
157
|
+
description: string;
|
|
158
|
+
};
|
|
159
|
+
scorerOptions: {
|
|
160
|
+
type: string;
|
|
161
|
+
description: string;
|
|
162
|
+
};
|
|
152
163
|
};
|
|
153
164
|
required: string[];
|
|
154
165
|
};
|
|
@@ -183,6 +194,10 @@ export declare const ENRICHMENT_LIST_SCHEMA: {
|
|
|
183
194
|
export declare const CROSS_AGENT_MEMORY_RECALL_SCHEMA: {
|
|
184
195
|
type: "object";
|
|
185
196
|
properties: {
|
|
197
|
+
teamId: {
|
|
198
|
+
type: string;
|
|
199
|
+
description: string;
|
|
200
|
+
};
|
|
186
201
|
key: {
|
|
187
202
|
type: string;
|
|
188
203
|
description: string;
|
|
@@ -191,12 +206,20 @@ export declare const CROSS_AGENT_MEMORY_RECALL_SCHEMA: {
|
|
|
191
206
|
type: string;
|
|
192
207
|
description: string;
|
|
193
208
|
};
|
|
209
|
+
tags: {
|
|
210
|
+
type: string;
|
|
211
|
+
description: string;
|
|
212
|
+
};
|
|
194
213
|
};
|
|
195
214
|
required: string[];
|
|
196
215
|
};
|
|
197
216
|
export declare const CROSS_AGENT_MEMORY_STORE_SCHEMA: {
|
|
198
217
|
type: "object";
|
|
199
218
|
properties: {
|
|
219
|
+
teamId: {
|
|
220
|
+
type: string;
|
|
221
|
+
description: string;
|
|
222
|
+
};
|
|
200
223
|
key: {
|
|
201
224
|
type: string;
|
|
202
225
|
description: string;
|
|
@@ -212,6 +235,38 @@ export declare const CROSS_AGENT_MEMORY_STORE_SCHEMA: {
|
|
|
212
235
|
};
|
|
213
236
|
required: string[];
|
|
214
237
|
};
|
|
238
|
+
export declare const CROSS_AGENT_MEMORY_LIST_SCHEMA: {
|
|
239
|
+
type: "object";
|
|
240
|
+
properties: {
|
|
241
|
+
teamId: {
|
|
242
|
+
type: string;
|
|
243
|
+
description: string;
|
|
244
|
+
};
|
|
245
|
+
tags: {
|
|
246
|
+
type: string;
|
|
247
|
+
description: string;
|
|
248
|
+
};
|
|
249
|
+
limit: {
|
|
250
|
+
type: string;
|
|
251
|
+
description: string;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
required: string[];
|
|
255
|
+
};
|
|
256
|
+
export declare const CROSS_AGENT_MEMORY_DELETE_SCHEMA: {
|
|
257
|
+
type: "object";
|
|
258
|
+
properties: {
|
|
259
|
+
teamId: {
|
|
260
|
+
type: string;
|
|
261
|
+
description: string;
|
|
262
|
+
};
|
|
263
|
+
id: {
|
|
264
|
+
type: string;
|
|
265
|
+
description: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
required: string[];
|
|
269
|
+
};
|
|
215
270
|
export declare const BUDGET_CHECK_SCHEMA: {
|
|
216
271
|
type: "object";
|
|
217
272
|
properties: {
|
|
@@ -252,6 +307,106 @@ export declare const BUDGET_REPORT_SCHEMA: {
|
|
|
252
307
|
};
|
|
253
308
|
required: string[];
|
|
254
309
|
};
|
|
310
|
+
export declare const SWARM_JOIN_SCHEMA: {
|
|
311
|
+
type: "object";
|
|
312
|
+
properties: {
|
|
313
|
+
swarmId: {
|
|
314
|
+
type: string;
|
|
315
|
+
description: string;
|
|
316
|
+
};
|
|
317
|
+
agentId: {
|
|
318
|
+
type: string;
|
|
319
|
+
description: string;
|
|
320
|
+
};
|
|
321
|
+
description: {
|
|
322
|
+
type: string;
|
|
323
|
+
description: string;
|
|
324
|
+
};
|
|
325
|
+
ttlSeconds: {
|
|
326
|
+
type: string;
|
|
327
|
+
description: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
required: string[];
|
|
331
|
+
};
|
|
332
|
+
export declare const SWARM_LEAVE_SCHEMA: {
|
|
333
|
+
type: "object";
|
|
334
|
+
properties: {
|
|
335
|
+
swarmId: {
|
|
336
|
+
type: string;
|
|
337
|
+
description: string;
|
|
338
|
+
};
|
|
339
|
+
agentId: {
|
|
340
|
+
type: string;
|
|
341
|
+
description: string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
required: string[];
|
|
345
|
+
};
|
|
346
|
+
export declare const SWARM_STATUS_SCHEMA: {
|
|
347
|
+
type: "object";
|
|
348
|
+
properties: {
|
|
349
|
+
swarmId: {
|
|
350
|
+
type: string;
|
|
351
|
+
description: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
required: string[];
|
|
355
|
+
};
|
|
356
|
+
export declare const SWARM_BROADCAST_SCHEMA: {
|
|
357
|
+
type: "object";
|
|
358
|
+
properties: {
|
|
359
|
+
swarmId: {
|
|
360
|
+
type: string;
|
|
361
|
+
description: string;
|
|
362
|
+
};
|
|
363
|
+
agentId: {
|
|
364
|
+
type: string;
|
|
365
|
+
description: string;
|
|
366
|
+
};
|
|
367
|
+
message: {
|
|
368
|
+
type: string;
|
|
369
|
+
description: string;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
required: string[];
|
|
373
|
+
};
|
|
374
|
+
export declare const SWARM_CLAIM_SCHEMA: {
|
|
375
|
+
type: "object";
|
|
376
|
+
properties: {
|
|
377
|
+
swarmId: {
|
|
378
|
+
type: string;
|
|
379
|
+
description: string;
|
|
380
|
+
};
|
|
381
|
+
agentId: {
|
|
382
|
+
type: string;
|
|
383
|
+
description: string;
|
|
384
|
+
};
|
|
385
|
+
resourceId: {
|
|
386
|
+
type: string;
|
|
387
|
+
description: string;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
required: string[];
|
|
391
|
+
};
|
|
392
|
+
export declare const SWARM_RELEASE_SCHEMA: {
|
|
393
|
+
type: "object";
|
|
394
|
+
properties: {
|
|
395
|
+
swarmId: {
|
|
396
|
+
type: string;
|
|
397
|
+
description: string;
|
|
398
|
+
};
|
|
399
|
+
agentId: {
|
|
400
|
+
type: string;
|
|
401
|
+
description: string;
|
|
402
|
+
};
|
|
403
|
+
resourceId: {
|
|
404
|
+
type: string;
|
|
405
|
+
description: string;
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
required: string[];
|
|
409
|
+
};
|
|
255
410
|
/** All tool definitions for the gateway MCP server */
|
|
256
411
|
export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
257
412
|
readonly name: "memory_recall";
|
|
@@ -437,6 +592,17 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
437
592
|
};
|
|
438
593
|
description: string;
|
|
439
594
|
};
|
|
595
|
+
context: {
|
|
596
|
+
type: string;
|
|
597
|
+
items: {
|
|
598
|
+
type: string;
|
|
599
|
+
};
|
|
600
|
+
description: string;
|
|
601
|
+
};
|
|
602
|
+
scorerOptions: {
|
|
603
|
+
type: string;
|
|
604
|
+
description: string;
|
|
605
|
+
};
|
|
440
606
|
};
|
|
441
607
|
required: string[];
|
|
442
608
|
};
|
|
@@ -480,6 +646,10 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
480
646
|
readonly inputSchema: {
|
|
481
647
|
type: "object";
|
|
482
648
|
properties: {
|
|
649
|
+
teamId: {
|
|
650
|
+
type: string;
|
|
651
|
+
description: string;
|
|
652
|
+
};
|
|
483
653
|
key: {
|
|
484
654
|
type: string;
|
|
485
655
|
description: string;
|
|
@@ -488,6 +658,10 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
488
658
|
type: string;
|
|
489
659
|
description: string;
|
|
490
660
|
};
|
|
661
|
+
tags: {
|
|
662
|
+
type: string;
|
|
663
|
+
description: string;
|
|
664
|
+
};
|
|
491
665
|
};
|
|
492
666
|
required: string[];
|
|
493
667
|
};
|
|
@@ -497,6 +671,10 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
497
671
|
readonly inputSchema: {
|
|
498
672
|
type: "object";
|
|
499
673
|
properties: {
|
|
674
|
+
teamId: {
|
|
675
|
+
type: string;
|
|
676
|
+
description: string;
|
|
677
|
+
};
|
|
500
678
|
key: {
|
|
501
679
|
type: string;
|
|
502
680
|
description: string;
|
|
@@ -512,6 +690,44 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
512
690
|
};
|
|
513
691
|
required: string[];
|
|
514
692
|
};
|
|
693
|
+
}, {
|
|
694
|
+
readonly name: "cross_agent_memory_list";
|
|
695
|
+
readonly description: "List all shared memory entries for a team";
|
|
696
|
+
readonly inputSchema: {
|
|
697
|
+
type: "object";
|
|
698
|
+
properties: {
|
|
699
|
+
teamId: {
|
|
700
|
+
type: string;
|
|
701
|
+
description: string;
|
|
702
|
+
};
|
|
703
|
+
tags: {
|
|
704
|
+
type: string;
|
|
705
|
+
description: string;
|
|
706
|
+
};
|
|
707
|
+
limit: {
|
|
708
|
+
type: string;
|
|
709
|
+
description: string;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
required: string[];
|
|
713
|
+
};
|
|
714
|
+
}, {
|
|
715
|
+
readonly name: "cross_agent_memory_delete";
|
|
716
|
+
readonly description: "Delete a shared memory entry by ID (validates team ownership)";
|
|
717
|
+
readonly inputSchema: {
|
|
718
|
+
type: "object";
|
|
719
|
+
properties: {
|
|
720
|
+
teamId: {
|
|
721
|
+
type: string;
|
|
722
|
+
description: string;
|
|
723
|
+
};
|
|
724
|
+
id: {
|
|
725
|
+
type: string;
|
|
726
|
+
description: string;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
required: string[];
|
|
730
|
+
};
|
|
515
731
|
}, {
|
|
516
732
|
readonly name: "budget_check";
|
|
517
733
|
readonly description: "Check remaining budget for a tenant against the app's billing endpoint";
|
|
@@ -558,6 +774,124 @@ export declare const GATEWAY_MCP_TOOLS: readonly [{
|
|
|
558
774
|
};
|
|
559
775
|
required: string[];
|
|
560
776
|
};
|
|
777
|
+
}, {
|
|
778
|
+
readonly name: "swarm_join";
|
|
779
|
+
readonly description: "Join a named agent swarm and get current membership list";
|
|
780
|
+
readonly inputSchema: {
|
|
781
|
+
type: "object";
|
|
782
|
+
properties: {
|
|
783
|
+
swarmId: {
|
|
784
|
+
type: string;
|
|
785
|
+
description: string;
|
|
786
|
+
};
|
|
787
|
+
agentId: {
|
|
788
|
+
type: string;
|
|
789
|
+
description: string;
|
|
790
|
+
};
|
|
791
|
+
description: {
|
|
792
|
+
type: string;
|
|
793
|
+
description: string;
|
|
794
|
+
};
|
|
795
|
+
ttlSeconds: {
|
|
796
|
+
type: string;
|
|
797
|
+
description: string;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
required: string[];
|
|
801
|
+
};
|
|
802
|
+
}, {
|
|
803
|
+
readonly name: "swarm_leave";
|
|
804
|
+
readonly description: "Leave a swarm and release all held claims";
|
|
805
|
+
readonly inputSchema: {
|
|
806
|
+
type: "object";
|
|
807
|
+
properties: {
|
|
808
|
+
swarmId: {
|
|
809
|
+
type: string;
|
|
810
|
+
description: string;
|
|
811
|
+
};
|
|
812
|
+
agentId: {
|
|
813
|
+
type: string;
|
|
814
|
+
description: string;
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
required: string[];
|
|
818
|
+
};
|
|
819
|
+
}, {
|
|
820
|
+
readonly name: "swarm_status";
|
|
821
|
+
readonly description: "Get current swarm members and active resource claims";
|
|
822
|
+
readonly inputSchema: {
|
|
823
|
+
type: "object";
|
|
824
|
+
properties: {
|
|
825
|
+
swarmId: {
|
|
826
|
+
type: string;
|
|
827
|
+
description: string;
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
required: string[];
|
|
831
|
+
};
|
|
832
|
+
}, {
|
|
833
|
+
readonly name: "swarm_broadcast";
|
|
834
|
+
readonly description: "Broadcast a message to all agents in a swarm";
|
|
835
|
+
readonly inputSchema: {
|
|
836
|
+
type: "object";
|
|
837
|
+
properties: {
|
|
838
|
+
swarmId: {
|
|
839
|
+
type: string;
|
|
840
|
+
description: string;
|
|
841
|
+
};
|
|
842
|
+
agentId: {
|
|
843
|
+
type: string;
|
|
844
|
+
description: string;
|
|
845
|
+
};
|
|
846
|
+
message: {
|
|
847
|
+
type: string;
|
|
848
|
+
description: string;
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
required: string[];
|
|
852
|
+
};
|
|
853
|
+
}, {
|
|
854
|
+
readonly name: "swarm_claim";
|
|
855
|
+
readonly description: "Claim exclusive ownership of a resource (optimistic lock)";
|
|
856
|
+
readonly inputSchema: {
|
|
857
|
+
type: "object";
|
|
858
|
+
properties: {
|
|
859
|
+
swarmId: {
|
|
860
|
+
type: string;
|
|
861
|
+
description: string;
|
|
862
|
+
};
|
|
863
|
+
agentId: {
|
|
864
|
+
type: string;
|
|
865
|
+
description: string;
|
|
866
|
+
};
|
|
867
|
+
resourceId: {
|
|
868
|
+
type: string;
|
|
869
|
+
description: string;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
required: string[];
|
|
873
|
+
};
|
|
874
|
+
}, {
|
|
875
|
+
readonly name: "swarm_release";
|
|
876
|
+
readonly description: "Release a previously claimed resource";
|
|
877
|
+
readonly inputSchema: {
|
|
878
|
+
type: "object";
|
|
879
|
+
properties: {
|
|
880
|
+
swarmId: {
|
|
881
|
+
type: string;
|
|
882
|
+
description: string;
|
|
883
|
+
};
|
|
884
|
+
agentId: {
|
|
885
|
+
type: string;
|
|
886
|
+
description: string;
|
|
887
|
+
};
|
|
888
|
+
resourceId: {
|
|
889
|
+
type: string;
|
|
890
|
+
description: string;
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
required: string[];
|
|
894
|
+
};
|
|
561
895
|
}];
|
|
562
896
|
export type GatewayMcpToolName = (typeof GATEWAY_MCP_TOOLS)[number]["name"];
|
|
563
897
|
//# sourceMappingURL=tool-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-schemas.d.ts","sourceRoot":"","sources":["../../src/mcp/tool-schemas.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAiBhC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAqB/B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;CAShC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;CAiBnC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;CASpC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;cAGd,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwThB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/mcp/tool-schemas.js
CHANGED
|
@@ -122,6 +122,15 @@ export const EVAL_SCORE_SCHEMA = {
|
|
|
122
122
|
items: { type: "string" },
|
|
123
123
|
description: "Scorer names to apply. If omitted, all configured scorers are used.",
|
|
124
124
|
},
|
|
125
|
+
context: {
|
|
126
|
+
type: "array",
|
|
127
|
+
items: { type: "string" },
|
|
128
|
+
description: "Context passages for faithfulness/context-relevance scorers",
|
|
129
|
+
},
|
|
130
|
+
scorerOptions: {
|
|
131
|
+
type: "object",
|
|
132
|
+
description: "Scorer-specific options (e.g. { policies: string[] } for policy-adherence, { prompt: string } for custom-prompt)",
|
|
133
|
+
},
|
|
125
134
|
},
|
|
126
135
|
required: ["input", "output"],
|
|
127
136
|
};
|
|
@@ -144,19 +153,39 @@ export const ENRICHMENT_LIST_SCHEMA = {
|
|
|
144
153
|
export const CROSS_AGENT_MEMORY_RECALL_SCHEMA = {
|
|
145
154
|
type: "object",
|
|
146
155
|
properties: {
|
|
147
|
-
|
|
156
|
+
teamId: { type: "string", description: "Team ID scoping this memory (injected as _team:<teamId> tag)" },
|
|
157
|
+
key: { type: "string", description: "Exact key for tag-based lookup" },
|
|
148
158
|
query: { type: "string", description: "FTS5 search query when exact key is unknown" },
|
|
159
|
+
tags: { type: "string", description: "Optional additional tag filter" },
|
|
149
160
|
},
|
|
150
|
-
required: [],
|
|
161
|
+
required: ["teamId"],
|
|
151
162
|
};
|
|
152
163
|
export const CROSS_AGENT_MEMORY_STORE_SCHEMA = {
|
|
153
164
|
type: "object",
|
|
154
165
|
properties: {
|
|
155
|
-
|
|
156
|
-
|
|
166
|
+
teamId: { type: "string", description: "Team ID scoping this memory" },
|
|
167
|
+
key: { type: "string", description: "Unique key for the memory entry" },
|
|
168
|
+
content: { type: "string", description: "Content to store" },
|
|
157
169
|
tags: { type: "string", description: "Optional comma-separated tags" },
|
|
158
170
|
},
|
|
159
|
-
required: ["key", "content"],
|
|
171
|
+
required: ["teamId", "key", "content"],
|
|
172
|
+
};
|
|
173
|
+
export const CROSS_AGENT_MEMORY_LIST_SCHEMA = {
|
|
174
|
+
type: "object",
|
|
175
|
+
properties: {
|
|
176
|
+
teamId: { type: "string", description: "Team ID to list memory entries for" },
|
|
177
|
+
tags: { type: "string", description: "Optional comma-separated tag filter" },
|
|
178
|
+
limit: { type: "number", description: "Maximum entries to return (default: 50)" },
|
|
179
|
+
},
|
|
180
|
+
required: ["teamId"],
|
|
181
|
+
};
|
|
182
|
+
export const CROSS_AGENT_MEMORY_DELETE_SCHEMA = {
|
|
183
|
+
type: "object",
|
|
184
|
+
properties: {
|
|
185
|
+
teamId: { type: "string", description: "Team ID owning this entry (validates ownership)" },
|
|
186
|
+
id: { type: "string", description: "ID of the memory entry to delete" },
|
|
187
|
+
},
|
|
188
|
+
required: ["teamId", "id"],
|
|
160
189
|
};
|
|
161
190
|
export const BUDGET_CHECK_SCHEMA = {
|
|
162
191
|
type: "object",
|
|
@@ -177,6 +206,58 @@ export const BUDGET_REPORT_SCHEMA = {
|
|
|
177
206
|
},
|
|
178
207
|
required: ["tenantId", "appName", "messages", "tokens", "model"],
|
|
179
208
|
};
|
|
209
|
+
export const SWARM_JOIN_SCHEMA = {
|
|
210
|
+
type: "object",
|
|
211
|
+
properties: {
|
|
212
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
213
|
+
agentId: { type: "string", description: "Joining agent identifier" },
|
|
214
|
+
description: { type: "string", description: "Optional agent description for swarm status" },
|
|
215
|
+
ttlSeconds: { type: "number", description: "Optional membership TTL in seconds" },
|
|
216
|
+
},
|
|
217
|
+
required: ["swarmId", "agentId"],
|
|
218
|
+
};
|
|
219
|
+
export const SWARM_LEAVE_SCHEMA = {
|
|
220
|
+
type: "object",
|
|
221
|
+
properties: {
|
|
222
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
223
|
+
agentId: { type: "string", description: "Leaving agent identifier" },
|
|
224
|
+
},
|
|
225
|
+
required: ["swarmId", "agentId"],
|
|
226
|
+
};
|
|
227
|
+
export const SWARM_STATUS_SCHEMA = {
|
|
228
|
+
type: "object",
|
|
229
|
+
properties: {
|
|
230
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
231
|
+
},
|
|
232
|
+
required: ["swarmId"],
|
|
233
|
+
};
|
|
234
|
+
export const SWARM_BROADCAST_SCHEMA = {
|
|
235
|
+
type: "object",
|
|
236
|
+
properties: {
|
|
237
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
238
|
+
agentId: { type: "string", description: "Sending agent identifier" },
|
|
239
|
+
message: { type: "string", description: "Broadcast message body" },
|
|
240
|
+
},
|
|
241
|
+
required: ["swarmId", "agentId", "message"],
|
|
242
|
+
};
|
|
243
|
+
export const SWARM_CLAIM_SCHEMA = {
|
|
244
|
+
type: "object",
|
|
245
|
+
properties: {
|
|
246
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
247
|
+
agentId: { type: "string", description: "Claiming agent identifier" },
|
|
248
|
+
resourceId: { type: "string", description: "Resource identifier to claim" },
|
|
249
|
+
},
|
|
250
|
+
required: ["swarmId", "agentId", "resourceId"],
|
|
251
|
+
};
|
|
252
|
+
export const SWARM_RELEASE_SCHEMA = {
|
|
253
|
+
type: "object",
|
|
254
|
+
properties: {
|
|
255
|
+
swarmId: { type: "string", description: "Swarm identifier" },
|
|
256
|
+
agentId: { type: "string", description: "Releasing agent identifier" },
|
|
257
|
+
resourceId: { type: "string", description: "Resource identifier to release" },
|
|
258
|
+
},
|
|
259
|
+
required: ["swarmId", "agentId", "resourceId"],
|
|
260
|
+
};
|
|
180
261
|
/** All tool definitions for the gateway MCP server */
|
|
181
262
|
export const GATEWAY_MCP_TOOLS = [
|
|
182
263
|
{
|
|
@@ -254,6 +335,16 @@ export const GATEWAY_MCP_TOOLS = [
|
|
|
254
335
|
description: "Store a shared memory entry in the team scope so all agents can access it",
|
|
255
336
|
inputSchema: CROSS_AGENT_MEMORY_STORE_SCHEMA,
|
|
256
337
|
},
|
|
338
|
+
{
|
|
339
|
+
name: "cross_agent_memory_list",
|
|
340
|
+
description: "List all shared memory entries for a team",
|
|
341
|
+
inputSchema: CROSS_AGENT_MEMORY_LIST_SCHEMA,
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: "cross_agent_memory_delete",
|
|
345
|
+
description: "Delete a shared memory entry by ID (validates team ownership)",
|
|
346
|
+
inputSchema: CROSS_AGENT_MEMORY_DELETE_SCHEMA,
|
|
347
|
+
},
|
|
257
348
|
{
|
|
258
349
|
name: "budget_check",
|
|
259
350
|
description: "Check remaining budget for a tenant against the app's billing endpoint",
|
|
@@ -264,5 +355,35 @@ export const GATEWAY_MCP_TOOLS = [
|
|
|
264
355
|
description: "Report token usage for a tenant to the app's billing endpoint",
|
|
265
356
|
inputSchema: BUDGET_REPORT_SCHEMA,
|
|
266
357
|
},
|
|
358
|
+
{
|
|
359
|
+
name: "swarm_join",
|
|
360
|
+
description: "Join a named agent swarm and get current membership list",
|
|
361
|
+
inputSchema: SWARM_JOIN_SCHEMA,
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: "swarm_leave",
|
|
365
|
+
description: "Leave a swarm and release all held claims",
|
|
366
|
+
inputSchema: SWARM_LEAVE_SCHEMA,
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: "swarm_status",
|
|
370
|
+
description: "Get current swarm members and active resource claims",
|
|
371
|
+
inputSchema: SWARM_STATUS_SCHEMA,
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
name: "swarm_broadcast",
|
|
375
|
+
description: "Broadcast a message to all agents in a swarm",
|
|
376
|
+
inputSchema: SWARM_BROADCAST_SCHEMA,
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
name: "swarm_claim",
|
|
380
|
+
description: "Claim exclusive ownership of a resource (optimistic lock)",
|
|
381
|
+
inputSchema: SWARM_CLAIM_SCHEMA,
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
name: "swarm_release",
|
|
385
|
+
description: "Release a previously claimed resource",
|
|
386
|
+
inputSchema: SWARM_RELEASE_SCHEMA,
|
|
387
|
+
},
|
|
267
388
|
];
|
|
268
389
|
//# sourceMappingURL=tool-schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-schemas.js","sourceRoot":"","sources":["../../src/mcp/tool-schemas.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,mFAAmF;AAEnF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,QAAiB;IACvB,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+DAA+D;SAC7E;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;SAC5D;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,qCAAqC;SACnD;KACF;IACD,QAAQ,EAAE,CAAC,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,IAAI,EAAE,QAAiB;IACvB,UAAU,EAAE;QACV,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,gDAAgD;SAC9D;QACD,GAAG,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iCAAiC;SAC/C;QACD,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kBAAkB;SAChC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,+BAA+B;SAC7C;KACF;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,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IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,+DAA+D;QAC5E,WAAW,EAAE,oBAAoB;KAClC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,0DAA0D;QACvE,WAAW,EAAE,iBAAiB;KAC/B;IACD;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,2CAA2C;QACxD,WAAW,EAAE,kBAAkB;KAChC;IACD;QACE,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,sDAAsD;QACnE,WAAW,EAAE,mBAAmB;KACjC;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE,8CAA8C;QAC3D,WAAW,EAAE,sBAAsB;KACpC;IACD;QACE,IAAI,EAAE,aAAa;QACnB,WAAW,EAAE,2DAA2D;QACxE,WAAW,EAAE,kBAAkB;KAChC;IACD;QACE,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,uCAAuC;QACpD,WAAW,EAAE,oBAAoB;KAClC;CACO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kilnai/runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Multi-app gateway server, multi-tenant management, and channel adapters for @kilnai/core",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"jose": "^5.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@kilnai/core": "^0.
|
|
46
|
+
"@kilnai/core": "^0.23.0",
|
|
47
47
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
48
48
|
"@opentelemetry/api": "^1.9.0",
|
|
49
49
|
"ioredis": ">=5.0.0"
|