mcacp 0.1.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.
Files changed (49) hide show
  1. package/LICENSE +190 -0
  2. package/README.md +195 -0
  3. package/dist/acp/agent-requests.d.ts +19 -0
  4. package/dist/acp/agent-requests.js +166 -0
  5. package/dist/acp/agent-requests.js.map +1 -0
  6. package/dist/acp/lifecycle.d.ts +50 -0
  7. package/dist/acp/lifecycle.js +127 -0
  8. package/dist/acp/lifecycle.js.map +1 -0
  9. package/dist/acp/status.d.ts +31 -0
  10. package/dist/acp/status.js +72 -0
  11. package/dist/acp/status.js.map +1 -0
  12. package/dist/acp/transport.d.ts +34 -0
  13. package/dist/acp/transport.js +175 -0
  14. package/dist/acp/transport.js.map +1 -0
  15. package/dist/config/index.d.ts +27 -0
  16. package/dist/config/index.js +162 -0
  17. package/dist/config/index.js.map +1 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.js +11 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/permissions/index.d.ts +16 -0
  22. package/dist/permissions/index.js +70 -0
  23. package/dist/permissions/index.js.map +1 -0
  24. package/dist/registry/index.d.ts +52 -0
  25. package/dist/registry/index.js +240 -0
  26. package/dist/registry/index.js.map +1 -0
  27. package/dist/server/index.d.ts +5 -0
  28. package/dist/server/index.js +271 -0
  29. package/dist/server/index.js.map +1 -0
  30. package/dist/sessions/index.d.ts +91 -0
  31. package/dist/sessions/index.js +151 -0
  32. package/dist/sessions/index.js.map +1 -0
  33. package/dist/sessions/prompt.d.ts +78 -0
  34. package/dist/sessions/prompt.js +361 -0
  35. package/dist/sessions/prompt.js.map +1 -0
  36. package/dist/types/acp.d.ts +343 -0
  37. package/dist/types/acp.js +17 -0
  38. package/dist/types/acp.js.map +1 -0
  39. package/dist/types/config.d.ts +135 -0
  40. package/dist/types/config.js +43 -0
  41. package/dist/types/config.js.map +1 -0
  42. package/dist/types/index.d.ts +3 -0
  43. package/dist/types/index.js +4 -0
  44. package/dist/types/index.js.map +1 -0
  45. package/dist/types/tools.d.ts +619 -0
  46. package/dist/types/tools.js +441 -0
  47. package/dist/types/tools.js.map +1 -0
  48. package/docs/configuration.md +164 -0
  49. package/package.json +58 -0
@@ -0,0 +1,619 @@
1
+ import { z } from 'zod';
2
+ export interface ToolDefinition {
3
+ name: string;
4
+ description: string;
5
+ inputSchema: z.ZodType<any>;
6
+ }
7
+ /**
8
+ * Configuration for an MCP server that can be forwarded to a sub-agent.
9
+ *
10
+ * Two variants:
11
+ * - stdio: launch a local process (command + optional args / env)
12
+ * - http: connect to a remote server over HTTP/SSE (url + optional headers)
13
+ */
14
+ export declare const McpServerConfigSchema: z.ZodUnion<[z.ZodObject<{
15
+ name: z.ZodString;
16
+ command: z.ZodString;
17
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ name: z.ZodString;
20
+ value: z.ZodString;
21
+ }, "strip", z.ZodTypeAny, {
22
+ value: string;
23
+ name: string;
24
+ }, {
25
+ value: string;
26
+ name: string;
27
+ }>, "many">>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ command: string;
30
+ name: string;
31
+ args?: string[] | undefined;
32
+ env?: {
33
+ value: string;
34
+ name: string;
35
+ }[] | undefined;
36
+ }, {
37
+ command: string;
38
+ name: string;
39
+ args?: string[] | undefined;
40
+ env?: {
41
+ value: string;
42
+ name: string;
43
+ }[] | undefined;
44
+ }>, z.ZodObject<{
45
+ type: z.ZodLiteral<"http">;
46
+ name: z.ZodString;
47
+ url: z.ZodString;
48
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
49
+ name: z.ZodString;
50
+ value: z.ZodString;
51
+ }, "strip", z.ZodTypeAny, {
52
+ value: string;
53
+ name: string;
54
+ }, {
55
+ value: string;
56
+ name: string;
57
+ }>, "many">>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ type: "http";
60
+ name: string;
61
+ url: string;
62
+ headers?: {
63
+ value: string;
64
+ name: string;
65
+ }[] | undefined;
66
+ }, {
67
+ type: "http";
68
+ name: string;
69
+ url: string;
70
+ headers?: {
71
+ value: string;
72
+ name: string;
73
+ }[] | undefined;
74
+ }>]>;
75
+ export type McpServerConfig = z.infer<typeof McpServerConfigSchema>;
76
+ /**
77
+ * A single content block inside a structured prompt.
78
+ *
79
+ * - text: plain or markdown text
80
+ * - resource_link: reference to an external resource by URI
81
+ */
82
+ export declare const ContentBlockInputSchema: z.ZodUnion<[z.ZodObject<{
83
+ type: z.ZodLiteral<"text">;
84
+ text: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ type: "text";
87
+ text: string;
88
+ }, {
89
+ type: "text";
90
+ text: string;
91
+ }>, z.ZodObject<{
92
+ type: z.ZodLiteral<"resource_link">;
93
+ uri: z.ZodString;
94
+ mimeType: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ type: "resource_link";
97
+ uri: string;
98
+ mimeType?: string | undefined;
99
+ }, {
100
+ type: "resource_link";
101
+ uri: string;
102
+ mimeType?: string | undefined;
103
+ }>]>;
104
+ export type ContentBlockInput = z.infer<typeof ContentBlockInputSchema>;
105
+ /**
106
+ * Client capability flags passed during initialize.
107
+ */
108
+ export declare const ClientCapabilitiesSchema: z.ZodOptional<z.ZodObject<{
109
+ fs: z.ZodOptional<z.ZodObject<{
110
+ readTextFile: z.ZodOptional<z.ZodBoolean>;
111
+ writeTextFile: z.ZodOptional<z.ZodBoolean>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ readTextFile?: boolean | undefined;
114
+ writeTextFile?: boolean | undefined;
115
+ }, {
116
+ readTextFile?: boolean | undefined;
117
+ writeTextFile?: boolean | undefined;
118
+ }>>;
119
+ terminal: z.ZodOptional<z.ZodBoolean>;
120
+ }, "strip", z.ZodTypeAny, {
121
+ fs?: {
122
+ readTextFile?: boolean | undefined;
123
+ writeTextFile?: boolean | undefined;
124
+ } | undefined;
125
+ terminal?: boolean | undefined;
126
+ }, {
127
+ fs?: {
128
+ readTextFile?: boolean | undefined;
129
+ writeTextFile?: boolean | undefined;
130
+ } | undefined;
131
+ terminal?: boolean | undefined;
132
+ }>>;
133
+ /**
134
+ * Client identification passed during initialize.
135
+ */
136
+ export declare const ClientInfoSchema: z.ZodObject<{
137
+ name: z.ZodString;
138
+ version: z.ZodString;
139
+ title: z.ZodOptional<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ name: string;
142
+ version: string;
143
+ title?: string | undefined;
144
+ }, {
145
+ name: string;
146
+ version: string;
147
+ title?: string | undefined;
148
+ }>;
149
+ export type ClientInfo = z.infer<typeof ClientInfoSchema>;
150
+ export declare const ListInstalledAgentsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
151
+ export declare const RegistrySearchInputSchema: z.ZodObject<{
152
+ query: z.ZodOptional<z.ZodString>;
153
+ showIncompatible: z.ZodDefault<z.ZodBoolean>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ showIncompatible: boolean;
156
+ query?: string | undefined;
157
+ }, {
158
+ query?: string | undefined;
159
+ showIncompatible?: boolean | undefined;
160
+ }>;
161
+ export declare const AgentInstallInputSchema: z.ZodObject<{
162
+ agentId: z.ZodString;
163
+ version: z.ZodOptional<z.ZodString>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ agentId: string;
166
+ version?: string | undefined;
167
+ }, {
168
+ agentId: string;
169
+ version?: string | undefined;
170
+ }>;
171
+ export declare const AgentUninstallInputSchema: z.ZodObject<{
172
+ agentId: z.ZodString;
173
+ }, "strip", z.ZodTypeAny, {
174
+ agentId: string;
175
+ }, {
176
+ agentId: string;
177
+ }>;
178
+ export declare const AgentCheckUpgradesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
179
+ export declare const InitializeInputSchema: z.ZodObject<{
180
+ agentId: z.ZodString;
181
+ protocolVersion: z.ZodOptional<z.ZodNumber>;
182
+ clientInfo: z.ZodOptional<z.ZodObject<{
183
+ name: z.ZodString;
184
+ version: z.ZodString;
185
+ title: z.ZodOptional<z.ZodString>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ name: string;
188
+ version: string;
189
+ title?: string | undefined;
190
+ }, {
191
+ name: string;
192
+ version: string;
193
+ title?: string | undefined;
194
+ }>>;
195
+ clientCapabilities: z.ZodOptional<z.ZodObject<{
196
+ fs: z.ZodOptional<z.ZodObject<{
197
+ readTextFile: z.ZodOptional<z.ZodBoolean>;
198
+ writeTextFile: z.ZodOptional<z.ZodBoolean>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ readTextFile?: boolean | undefined;
201
+ writeTextFile?: boolean | undefined;
202
+ }, {
203
+ readTextFile?: boolean | undefined;
204
+ writeTextFile?: boolean | undefined;
205
+ }>>;
206
+ terminal: z.ZodOptional<z.ZodBoolean>;
207
+ }, "strip", z.ZodTypeAny, {
208
+ fs?: {
209
+ readTextFile?: boolean | undefined;
210
+ writeTextFile?: boolean | undefined;
211
+ } | undefined;
212
+ terminal?: boolean | undefined;
213
+ }, {
214
+ fs?: {
215
+ readTextFile?: boolean | undefined;
216
+ writeTextFile?: boolean | undefined;
217
+ } | undefined;
218
+ terminal?: boolean | undefined;
219
+ }>>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ agentId: string;
222
+ clientInfo?: {
223
+ name: string;
224
+ version: string;
225
+ title?: string | undefined;
226
+ } | undefined;
227
+ clientCapabilities?: {
228
+ fs?: {
229
+ readTextFile?: boolean | undefined;
230
+ writeTextFile?: boolean | undefined;
231
+ } | undefined;
232
+ terminal?: boolean | undefined;
233
+ } | undefined;
234
+ protocolVersion?: number | undefined;
235
+ }, {
236
+ agentId: string;
237
+ clientInfo?: {
238
+ name: string;
239
+ version: string;
240
+ title?: string | undefined;
241
+ } | undefined;
242
+ clientCapabilities?: {
243
+ fs?: {
244
+ readTextFile?: boolean | undefined;
245
+ writeTextFile?: boolean | undefined;
246
+ } | undefined;
247
+ terminal?: boolean | undefined;
248
+ } | undefined;
249
+ protocolVersion?: number | undefined;
250
+ }>;
251
+ export declare const ShutdownInputSchema: z.ZodObject<{
252
+ agentId: z.ZodString;
253
+ }, "strip", z.ZodTypeAny, {
254
+ agentId: string;
255
+ }, {
256
+ agentId: string;
257
+ }>;
258
+ export declare const NewSessionInputSchema: z.ZodObject<{
259
+ agentId: z.ZodString;
260
+ cwd: z.ZodString;
261
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
262
+ name: z.ZodString;
263
+ command: z.ZodString;
264
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
265
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
266
+ name: z.ZodString;
267
+ value: z.ZodString;
268
+ }, "strip", z.ZodTypeAny, {
269
+ value: string;
270
+ name: string;
271
+ }, {
272
+ value: string;
273
+ name: string;
274
+ }>, "many">>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ command: string;
277
+ name: string;
278
+ args?: string[] | undefined;
279
+ env?: {
280
+ value: string;
281
+ name: string;
282
+ }[] | undefined;
283
+ }, {
284
+ command: string;
285
+ name: string;
286
+ args?: string[] | undefined;
287
+ env?: {
288
+ value: string;
289
+ name: string;
290
+ }[] | undefined;
291
+ }>, z.ZodObject<{
292
+ type: z.ZodLiteral<"http">;
293
+ name: z.ZodString;
294
+ url: z.ZodString;
295
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
296
+ name: z.ZodString;
297
+ value: z.ZodString;
298
+ }, "strip", z.ZodTypeAny, {
299
+ value: string;
300
+ name: string;
301
+ }, {
302
+ value: string;
303
+ name: string;
304
+ }>, "many">>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ type: "http";
307
+ name: string;
308
+ url: string;
309
+ headers?: {
310
+ value: string;
311
+ name: string;
312
+ }[] | undefined;
313
+ }, {
314
+ type: "http";
315
+ name: string;
316
+ url: string;
317
+ headers?: {
318
+ value: string;
319
+ name: string;
320
+ }[] | undefined;
321
+ }>]>, "many">>;
322
+ permissionPolicy: z.ZodOptional<z.ZodEnum<["elicit", "allow_all", "deny_all", "operator"]>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ agentId: string;
325
+ cwd: string;
326
+ permissionPolicy?: "elicit" | "allow_all" | "deny_all" | "operator" | undefined;
327
+ mcpServers?: ({
328
+ command: string;
329
+ name: string;
330
+ args?: string[] | undefined;
331
+ env?: {
332
+ value: string;
333
+ name: string;
334
+ }[] | undefined;
335
+ } | {
336
+ type: "http";
337
+ name: string;
338
+ url: string;
339
+ headers?: {
340
+ value: string;
341
+ name: string;
342
+ }[] | undefined;
343
+ })[] | undefined;
344
+ }, {
345
+ agentId: string;
346
+ cwd: string;
347
+ permissionPolicy?: "elicit" | "allow_all" | "deny_all" | "operator" | undefined;
348
+ mcpServers?: ({
349
+ command: string;
350
+ name: string;
351
+ args?: string[] | undefined;
352
+ env?: {
353
+ value: string;
354
+ name: string;
355
+ }[] | undefined;
356
+ } | {
357
+ type: "http";
358
+ name: string;
359
+ url: string;
360
+ headers?: {
361
+ value: string;
362
+ name: string;
363
+ }[] | undefined;
364
+ })[] | undefined;
365
+ }>;
366
+ export declare const LoadSessionInputSchema: z.ZodObject<{
367
+ agentId: z.ZodString;
368
+ sessionId: z.ZodString;
369
+ cwd: z.ZodString;
370
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
371
+ name: z.ZodString;
372
+ command: z.ZodString;
373
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
374
+ env: z.ZodOptional<z.ZodArray<z.ZodObject<{
375
+ name: z.ZodString;
376
+ value: z.ZodString;
377
+ }, "strip", z.ZodTypeAny, {
378
+ value: string;
379
+ name: string;
380
+ }, {
381
+ value: string;
382
+ name: string;
383
+ }>, "many">>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ command: string;
386
+ name: string;
387
+ args?: string[] | undefined;
388
+ env?: {
389
+ value: string;
390
+ name: string;
391
+ }[] | undefined;
392
+ }, {
393
+ command: string;
394
+ name: string;
395
+ args?: string[] | undefined;
396
+ env?: {
397
+ value: string;
398
+ name: string;
399
+ }[] | undefined;
400
+ }>, z.ZodObject<{
401
+ type: z.ZodLiteral<"http">;
402
+ name: z.ZodString;
403
+ url: z.ZodString;
404
+ headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
+ name: z.ZodString;
406
+ value: z.ZodString;
407
+ }, "strip", z.ZodTypeAny, {
408
+ value: string;
409
+ name: string;
410
+ }, {
411
+ value: string;
412
+ name: string;
413
+ }>, "many">>;
414
+ }, "strip", z.ZodTypeAny, {
415
+ type: "http";
416
+ name: string;
417
+ url: string;
418
+ headers?: {
419
+ value: string;
420
+ name: string;
421
+ }[] | undefined;
422
+ }, {
423
+ type: "http";
424
+ name: string;
425
+ url: string;
426
+ headers?: {
427
+ value: string;
428
+ name: string;
429
+ }[] | undefined;
430
+ }>]>, "many">>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ sessionId: string;
433
+ agentId: string;
434
+ cwd: string;
435
+ mcpServers?: ({
436
+ command: string;
437
+ name: string;
438
+ args?: string[] | undefined;
439
+ env?: {
440
+ value: string;
441
+ name: string;
442
+ }[] | undefined;
443
+ } | {
444
+ type: "http";
445
+ name: string;
446
+ url: string;
447
+ headers?: {
448
+ value: string;
449
+ name: string;
450
+ }[] | undefined;
451
+ })[] | undefined;
452
+ }, {
453
+ sessionId: string;
454
+ agentId: string;
455
+ cwd: string;
456
+ mcpServers?: ({
457
+ command: string;
458
+ name: string;
459
+ args?: string[] | undefined;
460
+ env?: {
461
+ value: string;
462
+ name: string;
463
+ }[] | undefined;
464
+ } | {
465
+ type: "http";
466
+ name: string;
467
+ url: string;
468
+ headers?: {
469
+ value: string;
470
+ name: string;
471
+ }[] | undefined;
472
+ })[] | undefined;
473
+ }>;
474
+ export declare const ListSessionsInputSchema: z.ZodObject<{
475
+ agentId: z.ZodString;
476
+ }, "strip", z.ZodTypeAny, {
477
+ agentId: string;
478
+ }, {
479
+ agentId: string;
480
+ }>;
481
+ export declare const CloseSessionInputSchema: z.ZodObject<{
482
+ sessionId: z.ZodString;
483
+ }, "strip", z.ZodTypeAny, {
484
+ sessionId: string;
485
+ }, {
486
+ sessionId: string;
487
+ }>;
488
+ export declare const PromptInputSchema: z.ZodObject<{
489
+ sessionId: z.ZodString;
490
+ prompt: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodObject<{
491
+ type: z.ZodLiteral<"text">;
492
+ text: z.ZodString;
493
+ }, "strip", z.ZodTypeAny, {
494
+ type: "text";
495
+ text: string;
496
+ }, {
497
+ type: "text";
498
+ text: string;
499
+ }>, z.ZodObject<{
500
+ type: z.ZodLiteral<"resource_link">;
501
+ uri: z.ZodString;
502
+ mimeType: z.ZodOptional<z.ZodString>;
503
+ }, "strip", z.ZodTypeAny, {
504
+ type: "resource_link";
505
+ uri: string;
506
+ mimeType?: string | undefined;
507
+ }, {
508
+ type: "resource_link";
509
+ uri: string;
510
+ mimeType?: string | undefined;
511
+ }>]>, "many">]>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ sessionId: string;
514
+ prompt: string | ({
515
+ type: "text";
516
+ text: string;
517
+ } | {
518
+ type: "resource_link";
519
+ uri: string;
520
+ mimeType?: string | undefined;
521
+ })[];
522
+ }, {
523
+ sessionId: string;
524
+ prompt: string | ({
525
+ type: "text";
526
+ text: string;
527
+ } | {
528
+ type: "resource_link";
529
+ uri: string;
530
+ mimeType?: string | undefined;
531
+ })[];
532
+ }>;
533
+ export declare const GrantPermissionInputSchema: z.ZodObject<{
534
+ sessionId: z.ZodString;
535
+ toolCallId: z.ZodString;
536
+ optionId: z.ZodString;
537
+ }, "strip", z.ZodTypeAny, {
538
+ sessionId: string;
539
+ toolCallId: string;
540
+ optionId: string;
541
+ }, {
542
+ sessionId: string;
543
+ toolCallId: string;
544
+ optionId: string;
545
+ }>;
546
+ export declare const CancelInputSchema: z.ZodObject<{
547
+ sessionId: z.ZodString;
548
+ }, "strip", z.ZodTypeAny, {
549
+ sessionId: string;
550
+ }, {
551
+ sessionId: string;
552
+ }>;
553
+ export declare const SetModeInputSchema: z.ZodObject<{
554
+ sessionId: z.ZodString;
555
+ modeId: z.ZodString;
556
+ }, "strip", z.ZodTypeAny, {
557
+ sessionId: string;
558
+ modeId: string;
559
+ }, {
560
+ sessionId: string;
561
+ modeId: string;
562
+ }>;
563
+ export declare const EventsInputSchema: z.ZodObject<{
564
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
565
+ nagleMs: z.ZodOptional<z.ZodNumber>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ nagleMs?: number | undefined;
568
+ timeoutMs?: number | undefined;
569
+ }, {
570
+ nagleMs?: number | undefined;
571
+ timeoutMs?: number | undefined;
572
+ }>;
573
+ export declare const ListRunningAgentsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
574
+ export declare const GetAgentStatusInputSchema: z.ZodObject<{
575
+ agentId: z.ZodString;
576
+ }, "strip", z.ZodTypeAny, {
577
+ agentId: string;
578
+ }, {
579
+ agentId: string;
580
+ }>;
581
+ export declare const SetAgentStatusInputSchema: z.ZodObject<{
582
+ agentId: z.ZodString;
583
+ status: z.ZodString;
584
+ }, "strip", z.ZodTypeAny, {
585
+ status: string;
586
+ agentId: string;
587
+ }, {
588
+ status: string;
589
+ agentId: string;
590
+ }>;
591
+ export declare const listInstalledAgents: ToolDefinition;
592
+ export declare const registrySearch: ToolDefinition;
593
+ export declare const agentInstall: ToolDefinition;
594
+ export declare const agentUninstall: ToolDefinition;
595
+ export declare const agentCheckUpgrades: ToolDefinition;
596
+ export declare const initialize: ToolDefinition;
597
+ export declare const shutdown: ToolDefinition;
598
+ export declare const newSession: ToolDefinition;
599
+ export declare const loadSession: ToolDefinition;
600
+ export declare const listSessions: ToolDefinition;
601
+ export declare const closeSession: ToolDefinition;
602
+ export declare const prompt: ToolDefinition;
603
+ export declare const grantPermission: ToolDefinition;
604
+ export declare const cancel: ToolDefinition;
605
+ export declare const setMode: ToolDefinition;
606
+ export declare const events: ToolDefinition;
607
+ export declare const listRunningAgents: ToolDefinition;
608
+ export declare const getAgentStatus: ToolDefinition;
609
+ export declare const setAgentStatus: ToolDefinition;
610
+ /**
611
+ * All MCACP tool definitions in a single array.
612
+ * Useful for bulk registration with an MCP server.
613
+ */
614
+ export declare const ALL_TOOLS: ToolDefinition[];
615
+ /**
616
+ * Record mapping every tool name to its Zod input schema.
617
+ * Useful for runtime validation of incoming tool-call arguments.
618
+ */
619
+ export declare const TOOL_SCHEMAS: Record<string, z.ZodType<any>>;