@agentmesh-md/mcp-server 0.2.1 → 0.3.3

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 (45) hide show
  1. package/README.md +130 -3
  2. package/dist/client.js +16 -5
  3. package/dist/codex-hooks.js +142 -0
  4. package/dist/connect.js +77 -202
  5. package/dist/context.js +7 -0
  6. package/dist/contract.js +5 -1
  7. package/dist/errors.js +0 -55
  8. package/dist/index.js +33 -7
  9. package/dist/legacy.js +2 -66
  10. package/dist/oauth-client.js +188 -36
  11. package/dist/plugin-install.js +97 -0
  12. package/dist/plugin-monitor.js +292 -0
  13. package/dist/plugin-permissions.js +212 -0
  14. package/dist/plugin-proxy.js +75 -0
  15. package/dist/plugin-session.js +381 -0
  16. package/dist/plugin-storage.js +94 -0
  17. package/dist/plugin-target.js +16 -0
  18. package/dist/schemas.js +8 -2
  19. package/dist/server.js +31 -5
  20. package/dist/session.js +118 -14
  21. package/dist/terminal-diagnostic.js +1 -1
  22. package/dist/terminal-runtime.js +149 -151
  23. package/dist/tool-annotations.js +57 -0
  24. package/dist/tools.js +36 -55
  25. package/dist/wake-storage.js +33 -49
  26. package/package.json +5 -4
  27. package/plugin-marketplace/.claude-plugin/marketplace.json +11 -0
  28. package/plugin-marketplace/plugins/agentmesh/.claude-plugin/plugin.json +23 -0
  29. package/plugin-marketplace/plugins/agentmesh/README.md +31 -0
  30. package/plugin-marketplace/plugins/agentmesh/hooks/codex.json +44 -0
  31. package/plugin-marketplace/plugins/agentmesh/hooks/hooks.json +44 -0
  32. package/plugin-marketplace/plugins/agentmesh/mcp.json +15 -0
  33. package/plugin-marketplace/plugins/agentmesh/monitors/monitors.json +7 -0
  34. package/plugin-marketplace/plugins/agentmesh/plugin.json +6 -0
  35. package/plugin-marketplace/plugins/agentmesh/release.json +1 -0
  36. package/plugin-marketplace/plugins/agentmesh/server/lib/agent-operating-contract.txt +120 -0
  37. package/plugin-marketplace/plugins/agentmesh/server/lib/agentmesh-mcp.js +39413 -0
  38. package/plugin-marketplace/plugins/agentmesh/server/package.json +4 -0
  39. package/plugin-marketplace/plugins/agentmesh/server/schemas/defs.json +121 -0
  40. package/plugin-marketplace/plugins/agentmesh/server/schemas/tools.json +1934 -0
  41. package/schemas/tools.json +591 -1
  42. package/dist/connect-bridge.js +0 -62
  43. package/dist/mentions.cjs +0 -22
  44. package/dist/wake-monitor.js +0 -117
  45. package/dist/wake.js +0 -521
@@ -0,0 +1,1934 @@
1
+ {
2
+ "read_board": {
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "properties": {},
6
+ "required": [],
7
+ "additionalProperties": false
8
+ },
9
+ "outputSchema": {
10
+ "type": "object",
11
+ "properties": {
12
+ "board": {
13
+ "anyOf": [
14
+ {
15
+ "type": "object",
16
+ "properties": {
17
+ "id": {
18
+ "type": "string",
19
+ "format": "uuid"
20
+ },
21
+ "name": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ "required": [
26
+ "id",
27
+ "name"
28
+ ],
29
+ "additionalProperties": false
30
+ },
31
+ {
32
+ "type": "null"
33
+ }
34
+ ]
35
+ },
36
+ "columns": {
37
+ "type": "array",
38
+ "items": {
39
+ "type": "object",
40
+ "properties": {
41
+ "id": {
42
+ "type": "string",
43
+ "format": "uuid"
44
+ },
45
+ "name": {
46
+ "type": "string"
47
+ },
48
+ "position": {
49
+ "type": "integer"
50
+ },
51
+ "cards": {
52
+ "type": "array",
53
+ "items": {
54
+ "$ref": "#/$defs/card"
55
+ }
56
+ }
57
+ },
58
+ "required": [
59
+ "id",
60
+ "name",
61
+ "position",
62
+ "cards"
63
+ ],
64
+ "additionalProperties": false
65
+ }
66
+ }
67
+ },
68
+ "required": [
69
+ "board",
70
+ "columns"
71
+ ],
72
+ "additionalProperties": false
73
+ }
74
+ },
75
+ "read_channels": {
76
+ "inputSchema": {
77
+ "type": "object",
78
+ "properties": {},
79
+ "required": [],
80
+ "additionalProperties": false
81
+ },
82
+ "outputSchema": {
83
+ "type": "object",
84
+ "properties": {
85
+ "channels": {
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "#/$defs/channel"
89
+ }
90
+ }
91
+ },
92
+ "required": [
93
+ "channels"
94
+ ],
95
+ "additionalProperties": false
96
+ }
97
+ },
98
+ "read_messages": {
99
+ "inputSchema": {
100
+ "type": "object",
101
+ "properties": {
102
+ "channel": {
103
+ "type": "string",
104
+ "pattern": "\\S"
105
+ },
106
+ "limit": {
107
+ "type": "integer",
108
+ "minimum": 1,
109
+ "maximum": 200
110
+ },
111
+ "before_id": {
112
+ "type": "string",
113
+ "format": "uuid"
114
+ }
115
+ },
116
+ "required": [],
117
+ "additionalProperties": false
118
+ },
119
+ "outputSchema": {
120
+ "type": "object",
121
+ "properties": {
122
+ "messages": {
123
+ "type": "array",
124
+ "items": {
125
+ "$ref": "#/$defs/message"
126
+ }
127
+ },
128
+ "next_before_id": {
129
+ "anyOf": [
130
+ {
131
+ "type": "string",
132
+ "format": "uuid"
133
+ },
134
+ {
135
+ "type": "null"
136
+ }
137
+ ]
138
+ }
139
+ },
140
+ "required": [
141
+ "messages",
142
+ "next_before_id"
143
+ ],
144
+ "additionalProperties": false
145
+ }
146
+ },
147
+ "list_asks": {
148
+ "inputSchema": {
149
+ "type": "object",
150
+ "properties": {
151
+ "state": {
152
+ "type": "string",
153
+ "enum": [
154
+ "open",
155
+ "claimed",
156
+ "resolved",
157
+ "expired"
158
+ ]
159
+ }
160
+ },
161
+ "required": [],
162
+ "additionalProperties": false
163
+ },
164
+ "outputSchema": {
165
+ "type": "object",
166
+ "properties": {
167
+ "asks": {
168
+ "type": "array",
169
+ "items": {
170
+ "$ref": "#/$defs/ask"
171
+ }
172
+ }
173
+ },
174
+ "required": [
175
+ "asks"
176
+ ],
177
+ "additionalProperties": false
178
+ }
179
+ },
180
+ "whoami": {
181
+ "inputSchema": {
182
+ "type": "object",
183
+ "properties": {},
184
+ "required": [],
185
+ "additionalProperties": false
186
+ },
187
+ "outputSchema": {
188
+ "type": "object",
189
+ "properties": {
190
+ "principal": {
191
+ "oneOf": [
192
+ {
193
+ "type": "object",
194
+ "properties": {
195
+ "kind": {
196
+ "type": "string",
197
+ "const": "agent"
198
+ },
199
+ "id": {
200
+ "type": "string",
201
+ "format": "uuid"
202
+ },
203
+ "name": {
204
+ "type": "string"
205
+ },
206
+ "workspace_id": {
207
+ "type": "string",
208
+ "format": "uuid"
209
+ },
210
+ "scopes": {
211
+ "type": "array",
212
+ "items": {
213
+ "type": "string"
214
+ }
215
+ },
216
+ "access_role": {
217
+ "type": "string",
218
+ "enum": [
219
+ "viewer",
220
+ "member"
221
+ ]
222
+ }
223
+ },
224
+ "required": [
225
+ "kind",
226
+ "id",
227
+ "name",
228
+ "workspace_id",
229
+ "scopes"
230
+ ],
231
+ "additionalProperties": false
232
+ },
233
+ {
234
+ "type": "object",
235
+ "properties": {
236
+ "kind": {
237
+ "type": "string",
238
+ "const": "human"
239
+ },
240
+ "id": {
241
+ "type": "string",
242
+ "minLength": 1
243
+ },
244
+ "name": {
245
+ "anyOf": [
246
+ {
247
+ "type": "string"
248
+ },
249
+ {
250
+ "type": "null"
251
+ }
252
+ ]
253
+ },
254
+ "email": {
255
+ "anyOf": [
256
+ {
257
+ "type": "string"
258
+ },
259
+ {
260
+ "type": "null"
261
+ }
262
+ ]
263
+ },
264
+ "workspace_id": {
265
+ "type": "string",
266
+ "format": "uuid"
267
+ },
268
+ "role": {
269
+ "type": "string",
270
+ "enum": [
271
+ "viewer",
272
+ "member",
273
+ "approver",
274
+ "owner"
275
+ ]
276
+ }
277
+ },
278
+ "required": [
279
+ "kind",
280
+ "id",
281
+ "name",
282
+ "email",
283
+ "workspace_id",
284
+ "role"
285
+ ],
286
+ "additionalProperties": false
287
+ }
288
+ ]
289
+ }
290
+ },
291
+ "required": [
292
+ "principal"
293
+ ],
294
+ "additionalProperties": false
295
+ }
296
+ },
297
+ "post_message": {
298
+ "inputSchema": {
299
+ "type": "object",
300
+ "properties": {
301
+ "body_md": {
302
+ "type": "string",
303
+ "minLength": 1,
304
+ "maxLength": 8192
305
+ },
306
+ "channel": {
307
+ "type": "string",
308
+ "pattern": "\\S"
309
+ },
310
+ "wake_context": {
311
+ "type": "object",
312
+ "properties": {
313
+ "event_id": {
314
+ "type": "string",
315
+ "format": "uuid"
316
+ },
317
+ "claim_id": {
318
+ "type": "string",
319
+ "format": "uuid"
320
+ },
321
+ "action_id": {
322
+ "type": "string",
323
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
324
+ }
325
+ },
326
+ "required": [
327
+ "event_id",
328
+ "claim_id",
329
+ "action_id"
330
+ ],
331
+ "additionalProperties": false
332
+ }
333
+ },
334
+ "required": [
335
+ "body_md"
336
+ ],
337
+ "additionalProperties": false
338
+ },
339
+ "outputSchema": {
340
+ "type": "object",
341
+ "properties": {
342
+ "message": {
343
+ "$ref": "#/$defs/message"
344
+ }
345
+ },
346
+ "required": [
347
+ "message"
348
+ ],
349
+ "additionalProperties": false
350
+ }
351
+ },
352
+ "claim_card": {
353
+ "inputSchema": {
354
+ "type": "object",
355
+ "properties": {
356
+ "card_id": {
357
+ "type": "string",
358
+ "format": "uuid"
359
+ },
360
+ "wake_context": {
361
+ "type": "object",
362
+ "properties": {
363
+ "event_id": {
364
+ "type": "string",
365
+ "format": "uuid"
366
+ },
367
+ "claim_id": {
368
+ "type": "string",
369
+ "format": "uuid"
370
+ },
371
+ "action_id": {
372
+ "type": "string",
373
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
374
+ }
375
+ },
376
+ "required": [
377
+ "event_id",
378
+ "claim_id",
379
+ "action_id"
380
+ ],
381
+ "additionalProperties": false
382
+ }
383
+ },
384
+ "required": [
385
+ "card_id"
386
+ ],
387
+ "additionalProperties": false
388
+ },
389
+ "outputSchema": {
390
+ "type": "object",
391
+ "properties": {
392
+ "card": {
393
+ "$ref": "#/$defs/card"
394
+ }
395
+ },
396
+ "required": [
397
+ "card"
398
+ ],
399
+ "additionalProperties": false
400
+ }
401
+ },
402
+ "complete_card": {
403
+ "inputSchema": {
404
+ "type": "object",
405
+ "properties": {
406
+ "card_id": {
407
+ "type": "string",
408
+ "format": "uuid"
409
+ },
410
+ "wake_context": {
411
+ "type": "object",
412
+ "properties": {
413
+ "event_id": {
414
+ "type": "string",
415
+ "format": "uuid"
416
+ },
417
+ "claim_id": {
418
+ "type": "string",
419
+ "format": "uuid"
420
+ },
421
+ "action_id": {
422
+ "type": "string",
423
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
424
+ }
425
+ },
426
+ "required": [
427
+ "event_id",
428
+ "claim_id",
429
+ "action_id"
430
+ ],
431
+ "additionalProperties": false
432
+ }
433
+ },
434
+ "required": [
435
+ "card_id"
436
+ ],
437
+ "additionalProperties": false
438
+ },
439
+ "outputSchema": {
440
+ "type": "object",
441
+ "properties": {
442
+ "card": {
443
+ "$ref": "#/$defs/card"
444
+ }
445
+ },
446
+ "required": [
447
+ "card"
448
+ ],
449
+ "additionalProperties": false
450
+ }
451
+ },
452
+ "create_card": {
453
+ "inputSchema": {
454
+ "type": "object",
455
+ "properties": {
456
+ "title": {
457
+ "type": "string",
458
+ "pattern": "\\S"
459
+ },
460
+ "body_md": {
461
+ "type": "string",
462
+ "maxLength": 16384
463
+ },
464
+ "column_id": {
465
+ "type": "string",
466
+ "format": "uuid"
467
+ },
468
+ "wake_context": {
469
+ "type": "object",
470
+ "properties": {
471
+ "event_id": {
472
+ "type": "string",
473
+ "format": "uuid"
474
+ },
475
+ "claim_id": {
476
+ "type": "string",
477
+ "format": "uuid"
478
+ },
479
+ "action_id": {
480
+ "type": "string",
481
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
482
+ }
483
+ },
484
+ "required": [
485
+ "event_id",
486
+ "claim_id",
487
+ "action_id"
488
+ ],
489
+ "additionalProperties": false
490
+ }
491
+ },
492
+ "required": [
493
+ "title"
494
+ ],
495
+ "additionalProperties": false
496
+ },
497
+ "outputSchema": {
498
+ "type": "object",
499
+ "properties": {
500
+ "card": {
501
+ "$ref": "#/$defs/card"
502
+ }
503
+ },
504
+ "required": [
505
+ "card"
506
+ ],
507
+ "additionalProperties": false
508
+ }
509
+ },
510
+ "read_roster": {
511
+ "inputSchema": {
512
+ "type": "object",
513
+ "properties": {},
514
+ "required": [],
515
+ "additionalProperties": false
516
+ },
517
+ "outputSchema": {
518
+ "type": "object",
519
+ "properties": {
520
+ "humans": {
521
+ "type": "array",
522
+ "items": {
523
+ "type": "object",
524
+ "properties": {
525
+ "user_uid": {
526
+ "type": "string",
527
+ "minLength": 1
528
+ },
529
+ "display_name": {
530
+ "type": "string"
531
+ },
532
+ "role": {
533
+ "type": "string"
534
+ },
535
+ "last_seen_at": {
536
+ "anyOf": [
537
+ {
538
+ "type": "string",
539
+ "format": "date-time"
540
+ },
541
+ {
542
+ "type": "null"
543
+ }
544
+ ]
545
+ },
546
+ "avatar_id": {
547
+ "anyOf": [
548
+ {
549
+ "type": "string",
550
+ "format": "uuid"
551
+ },
552
+ {
553
+ "type": "null"
554
+ }
555
+ ]
556
+ },
557
+ "display_kind": {
558
+ "type": "string",
559
+ "enum": [
560
+ "human",
561
+ "agent"
562
+ ]
563
+ }
564
+ },
565
+ "required": [
566
+ "user_uid",
567
+ "display_name",
568
+ "role",
569
+ "last_seen_at",
570
+ "avatar_id"
571
+ ],
572
+ "additionalProperties": false
573
+ }
574
+ },
575
+ "agents": {
576
+ "type": "array",
577
+ "items": {
578
+ "type": "object",
579
+ "properties": {
580
+ "id": {
581
+ "type": "string",
582
+ "format": "uuid"
583
+ },
584
+ "name": {
585
+ "type": "string"
586
+ },
587
+ "role": {
588
+ "type": "string"
589
+ },
590
+ "key_display": {
591
+ "type": "string"
592
+ },
593
+ "model": {
594
+ "anyOf": [
595
+ {
596
+ "type": "string"
597
+ },
598
+ {
599
+ "type": "null"
600
+ }
601
+ ]
602
+ },
603
+ "last_seen_at": {
604
+ "anyOf": [
605
+ {
606
+ "type": "string",
607
+ "format": "date-time"
608
+ },
609
+ {
610
+ "type": "null"
611
+ }
612
+ ]
613
+ },
614
+ "avatar_id": {
615
+ "anyOf": [
616
+ {
617
+ "type": "string",
618
+ "format": "uuid"
619
+ },
620
+ {
621
+ "type": "null"
622
+ }
623
+ ]
624
+ },
625
+ "assignable": {
626
+ "type": "boolean"
627
+ }
628
+ },
629
+ "required": [
630
+ "id",
631
+ "name",
632
+ "role",
633
+ "key_display",
634
+ "model",
635
+ "last_seen_at",
636
+ "avatar_id",
637
+ "assignable"
638
+ ],
639
+ "additionalProperties": false
640
+ }
641
+ }
642
+ },
643
+ "required": [
644
+ "humans",
645
+ "agents"
646
+ ],
647
+ "additionalProperties": false
648
+ }
649
+ },
650
+ "list_conversations": {
651
+ "inputSchema": {
652
+ "type": "object",
653
+ "properties": {
654
+ "limit": {
655
+ "type": "integer",
656
+ "minimum": 1,
657
+ "maximum": 200
658
+ },
659
+ "before_id": {
660
+ "type": "string",
661
+ "format": "uuid"
662
+ }
663
+ },
664
+ "required": [],
665
+ "additionalProperties": false
666
+ },
667
+ "outputSchema": {
668
+ "type": "object",
669
+ "properties": {
670
+ "conversations": {
671
+ "type": "array",
672
+ "items": {
673
+ "$ref": "#/$defs/conversation"
674
+ }
675
+ },
676
+ "next_before_id": {
677
+ "anyOf": [
678
+ {
679
+ "type": "string",
680
+ "format": "uuid"
681
+ },
682
+ {
683
+ "type": "null"
684
+ }
685
+ ]
686
+ }
687
+ },
688
+ "required": [
689
+ "conversations",
690
+ "next_before_id"
691
+ ],
692
+ "additionalProperties": false
693
+ }
694
+ },
695
+ "create_conversation": {
696
+ "inputSchema": {
697
+ "type": "object",
698
+ "properties": {
699
+ "participants": {
700
+ "type": "array",
701
+ "items": {
702
+ "type": "object",
703
+ "properties": {
704
+ "kind": {
705
+ "type": "string",
706
+ "enum": [
707
+ "human",
708
+ "agent"
709
+ ]
710
+ },
711
+ "id": {
712
+ "type": "string",
713
+ "minLength": 1
714
+ }
715
+ },
716
+ "required": [
717
+ "kind",
718
+ "id"
719
+ ],
720
+ "additionalProperties": false
721
+ }
722
+ },
723
+ "wake_context": {
724
+ "type": "object",
725
+ "properties": {
726
+ "event_id": {
727
+ "type": "string",
728
+ "format": "uuid"
729
+ },
730
+ "claim_id": {
731
+ "type": "string",
732
+ "format": "uuid"
733
+ },
734
+ "action_id": {
735
+ "type": "string",
736
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
737
+ }
738
+ },
739
+ "required": [
740
+ "event_id",
741
+ "claim_id",
742
+ "action_id"
743
+ ],
744
+ "additionalProperties": false
745
+ }
746
+ },
747
+ "required": [
748
+ "participants"
749
+ ],
750
+ "additionalProperties": false
751
+ },
752
+ "outputSchema": {
753
+ "type": "object",
754
+ "properties": {
755
+ "conversation": {
756
+ "$ref": "#/$defs/conversation"
757
+ }
758
+ },
759
+ "required": [
760
+ "conversation"
761
+ ],
762
+ "additionalProperties": false
763
+ }
764
+ },
765
+ "read_conversation_messages": {
766
+ "inputSchema": {
767
+ "type": "object",
768
+ "properties": {
769
+ "conversation_id": {
770
+ "type": "string",
771
+ "format": "uuid"
772
+ },
773
+ "limit": {
774
+ "type": "integer",
775
+ "minimum": 1,
776
+ "maximum": 200
777
+ },
778
+ "before_id": {
779
+ "type": "string",
780
+ "format": "uuid"
781
+ }
782
+ },
783
+ "required": [
784
+ "conversation_id"
785
+ ],
786
+ "additionalProperties": false
787
+ },
788
+ "outputSchema": {
789
+ "type": "object",
790
+ "properties": {
791
+ "messages": {
792
+ "type": "array",
793
+ "items": {
794
+ "$ref": "#/$defs/conversation_message"
795
+ }
796
+ },
797
+ "next_before_id": {
798
+ "anyOf": [
799
+ {
800
+ "type": "string",
801
+ "format": "uuid"
802
+ },
803
+ {
804
+ "type": "null"
805
+ }
806
+ ]
807
+ }
808
+ },
809
+ "required": [
810
+ "messages",
811
+ "next_before_id"
812
+ ],
813
+ "additionalProperties": false
814
+ }
815
+ },
816
+ "post_conversation_message": {
817
+ "inputSchema": {
818
+ "type": "object",
819
+ "properties": {
820
+ "conversation_id": {
821
+ "type": "string",
822
+ "format": "uuid"
823
+ },
824
+ "body_md": {
825
+ "type": "string",
826
+ "minLength": 1,
827
+ "maxLength": 8192
828
+ },
829
+ "wake_context": {
830
+ "type": "object",
831
+ "properties": {
832
+ "event_id": {
833
+ "type": "string",
834
+ "format": "uuid"
835
+ },
836
+ "claim_id": {
837
+ "type": "string",
838
+ "format": "uuid"
839
+ },
840
+ "action_id": {
841
+ "type": "string",
842
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
843
+ }
844
+ },
845
+ "required": [
846
+ "event_id",
847
+ "claim_id",
848
+ "action_id"
849
+ ],
850
+ "additionalProperties": false
851
+ }
852
+ },
853
+ "required": [
854
+ "conversation_id",
855
+ "body_md"
856
+ ],
857
+ "additionalProperties": false
858
+ },
859
+ "outputSchema": {
860
+ "type": "object",
861
+ "properties": {
862
+ "message": {
863
+ "$ref": "#/$defs/conversation_message"
864
+ }
865
+ },
866
+ "required": [
867
+ "message"
868
+ ],
869
+ "additionalProperties": false
870
+ }
871
+ },
872
+ "edit_card": {
873
+ "inputSchema": {
874
+ "type": "object",
875
+ "properties": {
876
+ "card_id": {
877
+ "type": "string",
878
+ "format": "uuid"
879
+ },
880
+ "title": {
881
+ "type": "string",
882
+ "pattern": "\\S"
883
+ },
884
+ "body_md": {
885
+ "type": [
886
+ "string",
887
+ "null"
888
+ ],
889
+ "maxLength": 16384,
890
+ "description": "Complete replacement markdown description, including acceptance criteria. Read the current card first and preserve any sections you are not changing."
891
+ },
892
+ "wake_context": {
893
+ "type": "object",
894
+ "properties": {
895
+ "event_id": {
896
+ "type": "string",
897
+ "format": "uuid"
898
+ },
899
+ "claim_id": {
900
+ "type": "string",
901
+ "format": "uuid"
902
+ },
903
+ "action_id": {
904
+ "type": "string",
905
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
906
+ }
907
+ },
908
+ "required": [
909
+ "event_id",
910
+ "claim_id",
911
+ "action_id"
912
+ ],
913
+ "additionalProperties": false
914
+ }
915
+ },
916
+ "required": [
917
+ "card_id",
918
+ "title",
919
+ "body_md"
920
+ ],
921
+ "additionalProperties": false
922
+ },
923
+ "outputSchema": {
924
+ "type": "object",
925
+ "properties": {
926
+ "card": {
927
+ "$ref": "#/$defs/card"
928
+ }
929
+ },
930
+ "required": [
931
+ "card"
932
+ ],
933
+ "additionalProperties": false
934
+ }
935
+ },
936
+ "assign_card": {
937
+ "inputSchema": {
938
+ "type": "object",
939
+ "properties": {
940
+ "card_id": {
941
+ "type": "string",
942
+ "format": "uuid"
943
+ },
944
+ "assignee_kind": {
945
+ "type": "string",
946
+ "enum": [
947
+ "human",
948
+ "agent"
949
+ ]
950
+ },
951
+ "assignee_id": {
952
+ "type": "string",
953
+ "minLength": 1
954
+ },
955
+ "wake_context": {
956
+ "type": "object",
957
+ "properties": {
958
+ "event_id": {
959
+ "type": "string",
960
+ "format": "uuid"
961
+ },
962
+ "claim_id": {
963
+ "type": "string",
964
+ "format": "uuid"
965
+ },
966
+ "action_id": {
967
+ "type": "string",
968
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
969
+ }
970
+ },
971
+ "required": [
972
+ "event_id",
973
+ "claim_id",
974
+ "action_id"
975
+ ],
976
+ "additionalProperties": false
977
+ }
978
+ },
979
+ "required": [
980
+ "card_id",
981
+ "assignee_kind",
982
+ "assignee_id"
983
+ ],
984
+ "additionalProperties": false
985
+ },
986
+ "outputSchema": {
987
+ "type": "object",
988
+ "properties": {
989
+ "card": {
990
+ "$ref": "#/$defs/card"
991
+ }
992
+ },
993
+ "required": [
994
+ "card"
995
+ ],
996
+ "additionalProperties": false
997
+ }
998
+ },
999
+ "create_ask": {
1000
+ "inputSchema": {
1001
+ "type": "object",
1002
+ "properties": {
1003
+ "text": {
1004
+ "type": "string",
1005
+ "minLength": 1,
1006
+ "maxLength": 8192
1007
+ },
1008
+ "ttl_minutes": {
1009
+ "type": [
1010
+ "integer",
1011
+ "null"
1012
+ ],
1013
+ "minimum": 1,
1014
+ "maximum": 10080
1015
+ },
1016
+ "wake_context": {
1017
+ "type": "object",
1018
+ "properties": {
1019
+ "event_id": {
1020
+ "type": "string",
1021
+ "format": "uuid"
1022
+ },
1023
+ "claim_id": {
1024
+ "type": "string",
1025
+ "format": "uuid"
1026
+ },
1027
+ "action_id": {
1028
+ "type": "string",
1029
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1030
+ }
1031
+ },
1032
+ "required": [
1033
+ "event_id",
1034
+ "claim_id",
1035
+ "action_id"
1036
+ ],
1037
+ "additionalProperties": false
1038
+ }
1039
+ },
1040
+ "required": [
1041
+ "text"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ },
1045
+ "outputSchema": {
1046
+ "type": "object",
1047
+ "properties": {
1048
+ "ask": {
1049
+ "$ref": "#/$defs/ask"
1050
+ }
1051
+ },
1052
+ "required": [
1053
+ "ask"
1054
+ ],
1055
+ "additionalProperties": false
1056
+ }
1057
+ },
1058
+ "claim_ask": {
1059
+ "inputSchema": {
1060
+ "type": "object",
1061
+ "properties": {
1062
+ "ask_id": {
1063
+ "type": "string",
1064
+ "format": "uuid"
1065
+ },
1066
+ "wake_context": {
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "event_id": {
1070
+ "type": "string",
1071
+ "format": "uuid"
1072
+ },
1073
+ "claim_id": {
1074
+ "type": "string",
1075
+ "format": "uuid"
1076
+ },
1077
+ "action_id": {
1078
+ "type": "string",
1079
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1080
+ }
1081
+ },
1082
+ "required": [
1083
+ "event_id",
1084
+ "claim_id",
1085
+ "action_id"
1086
+ ],
1087
+ "additionalProperties": false
1088
+ }
1089
+ },
1090
+ "required": [
1091
+ "ask_id"
1092
+ ],
1093
+ "additionalProperties": false
1094
+ },
1095
+ "outputSchema": {
1096
+ "type": "object",
1097
+ "properties": {
1098
+ "ask": {
1099
+ "$ref": "#/$defs/ask"
1100
+ }
1101
+ },
1102
+ "required": [
1103
+ "ask"
1104
+ ],
1105
+ "additionalProperties": false
1106
+ }
1107
+ },
1108
+ "resolve_ask": {
1109
+ "inputSchema": {
1110
+ "type": "object",
1111
+ "properties": {
1112
+ "ask_id": {
1113
+ "type": "string",
1114
+ "format": "uuid"
1115
+ },
1116
+ "note": {
1117
+ "type": "string",
1118
+ "maxLength": 8192
1119
+ },
1120
+ "wake_context": {
1121
+ "type": "object",
1122
+ "properties": {
1123
+ "event_id": {
1124
+ "type": "string",
1125
+ "format": "uuid"
1126
+ },
1127
+ "claim_id": {
1128
+ "type": "string",
1129
+ "format": "uuid"
1130
+ },
1131
+ "action_id": {
1132
+ "type": "string",
1133
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1134
+ }
1135
+ },
1136
+ "required": [
1137
+ "event_id",
1138
+ "claim_id",
1139
+ "action_id"
1140
+ ],
1141
+ "additionalProperties": false
1142
+ }
1143
+ },
1144
+ "required": [
1145
+ "ask_id"
1146
+ ],
1147
+ "additionalProperties": false
1148
+ },
1149
+ "outputSchema": {
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "ask": {
1153
+ "$ref": "#/$defs/ask"
1154
+ }
1155
+ },
1156
+ "required": [
1157
+ "ask"
1158
+ ],
1159
+ "additionalProperties": false
1160
+ }
1161
+ },
1162
+ "list_documents": {
1163
+ "inputSchema": {
1164
+ "type": "object",
1165
+ "properties": {
1166
+ "lifecycle": {
1167
+ "type": "string",
1168
+ "enum": [
1169
+ "trashed"
1170
+ ]
1171
+ }
1172
+ },
1173
+ "required": [],
1174
+ "additionalProperties": false
1175
+ },
1176
+ "outputSchema": {
1177
+ "type": "object",
1178
+ "properties": {
1179
+ "documents": {
1180
+ "type": "array",
1181
+ "items": {
1182
+ "type": "object",
1183
+ "properties": {
1184
+ "id": {
1185
+ "type": "string",
1186
+ "format": "uuid"
1187
+ },
1188
+ "title": {
1189
+ "type": "string"
1190
+ },
1191
+ "current_version": {
1192
+ "type": "integer",
1193
+ "minimum": 1
1194
+ },
1195
+ "updated_by": {
1196
+ "type": "string"
1197
+ },
1198
+ "updated_at": {
1199
+ "type": "string",
1200
+ "format": "date-time"
1201
+ }
1202
+ },
1203
+ "required": [
1204
+ "id",
1205
+ "title",
1206
+ "current_version"
1207
+ ],
1208
+ "additionalProperties": true
1209
+ }
1210
+ }
1211
+ },
1212
+ "required": [
1213
+ "documents"
1214
+ ],
1215
+ "additionalProperties": false
1216
+ }
1217
+ },
1218
+ "read_document": {
1219
+ "inputSchema": {
1220
+ "type": "object",
1221
+ "properties": {
1222
+ "document_id": {
1223
+ "type": "string",
1224
+ "format": "uuid"
1225
+ }
1226
+ },
1227
+ "required": [
1228
+ "document_id"
1229
+ ],
1230
+ "additionalProperties": false
1231
+ },
1232
+ "outputSchema": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "id": {
1236
+ "type": "string",
1237
+ "format": "uuid"
1238
+ },
1239
+ "title": {
1240
+ "type": "string"
1241
+ },
1242
+ "current_version": {
1243
+ "type": "integer",
1244
+ "minimum": 1
1245
+ },
1246
+ "updated_by": {
1247
+ "type": "string"
1248
+ },
1249
+ "updated_at": {
1250
+ "type": "string",
1251
+ "format": "date-time"
1252
+ },
1253
+ "body_md": {
1254
+ "type": "string"
1255
+ }
1256
+ },
1257
+ "required": [
1258
+ "id",
1259
+ "title",
1260
+ "body_md",
1261
+ "current_version"
1262
+ ],
1263
+ "additionalProperties": true
1264
+ }
1265
+ },
1266
+ "create_document": {
1267
+ "inputSchema": {
1268
+ "type": "object",
1269
+ "properties": {
1270
+ "title": {
1271
+ "type": "string",
1272
+ "pattern": "\\S"
1273
+ },
1274
+ "body_md": {
1275
+ "type": "string"
1276
+ },
1277
+ "collection": {
1278
+ "type": [
1279
+ "string",
1280
+ "null"
1281
+ ]
1282
+ },
1283
+ "tags": {
1284
+ "type": "array",
1285
+ "items": {
1286
+ "type": "string"
1287
+ }
1288
+ },
1289
+ "summary": {
1290
+ "type": [
1291
+ "string",
1292
+ "null"
1293
+ ]
1294
+ },
1295
+ "wake_context": {
1296
+ "type": "object",
1297
+ "properties": {
1298
+ "event_id": {
1299
+ "type": "string",
1300
+ "format": "uuid"
1301
+ },
1302
+ "claim_id": {
1303
+ "type": "string",
1304
+ "format": "uuid"
1305
+ },
1306
+ "action_id": {
1307
+ "type": "string",
1308
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1309
+ }
1310
+ },
1311
+ "required": [
1312
+ "event_id",
1313
+ "claim_id",
1314
+ "action_id"
1315
+ ],
1316
+ "additionalProperties": false
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "title"
1321
+ ],
1322
+ "additionalProperties": false
1323
+ },
1324
+ "outputSchema": {
1325
+ "type": "object",
1326
+ "properties": {
1327
+ "document_id": {
1328
+ "type": "string",
1329
+ "format": "uuid"
1330
+ },
1331
+ "version": {
1332
+ "type": "integer",
1333
+ "minimum": 1
1334
+ }
1335
+ },
1336
+ "required": [
1337
+ "document_id",
1338
+ "version"
1339
+ ],
1340
+ "additionalProperties": false
1341
+ }
1342
+ },
1343
+ "edit_document": {
1344
+ "inputSchema": {
1345
+ "type": "object",
1346
+ "properties": {
1347
+ "document_id": {
1348
+ "type": "string",
1349
+ "format": "uuid"
1350
+ },
1351
+ "body_md": {
1352
+ "type": "string"
1353
+ },
1354
+ "expected_version": {
1355
+ "type": "integer",
1356
+ "minimum": 1
1357
+ },
1358
+ "summary": {
1359
+ "type": "string"
1360
+ },
1361
+ "allow_clear": {
1362
+ "type": "boolean",
1363
+ "description": "Explicitly permit the API wipe guard to clear a document. Default false."
1364
+ },
1365
+ "wake_context": {
1366
+ "type": "object",
1367
+ "properties": {
1368
+ "event_id": {
1369
+ "type": "string",
1370
+ "format": "uuid"
1371
+ },
1372
+ "claim_id": {
1373
+ "type": "string",
1374
+ "format": "uuid"
1375
+ },
1376
+ "action_id": {
1377
+ "type": "string",
1378
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1379
+ }
1380
+ },
1381
+ "required": [
1382
+ "event_id",
1383
+ "claim_id",
1384
+ "action_id"
1385
+ ],
1386
+ "additionalProperties": false
1387
+ }
1388
+ },
1389
+ "required": [
1390
+ "document_id",
1391
+ "body_md",
1392
+ "expected_version"
1393
+ ],
1394
+ "additionalProperties": false
1395
+ },
1396
+ "outputSchema": {
1397
+ "type": "object",
1398
+ "properties": {
1399
+ "document_id": {
1400
+ "type": "string",
1401
+ "format": "uuid"
1402
+ },
1403
+ "version": {
1404
+ "type": "integer",
1405
+ "minimum": 1
1406
+ }
1407
+ },
1408
+ "required": [
1409
+ "document_id",
1410
+ "version"
1411
+ ],
1412
+ "additionalProperties": false
1413
+ }
1414
+ },
1415
+ "get_my_instructions": {
1416
+ "inputSchema": {
1417
+ "type": "object",
1418
+ "properties": {},
1419
+ "additionalProperties": false
1420
+ },
1421
+ "outputSchema": {
1422
+ "type": "object",
1423
+ "properties": {
1424
+ "instructions": {
1425
+ "type": "string"
1426
+ },
1427
+ "version": {
1428
+ "anyOf": [
1429
+ {
1430
+ "type": "integer",
1431
+ "minimum": 1
1432
+ },
1433
+ {
1434
+ "type": "null"
1435
+ }
1436
+ ]
1437
+ }
1438
+ },
1439
+ "required": [
1440
+ "instructions",
1441
+ "version"
1442
+ ],
1443
+ "additionalProperties": false
1444
+ }
1445
+ },
1446
+ "terminal_wake_start": {
1447
+ "inputSchema": {
1448
+ "type": "object",
1449
+ "properties": {
1450
+ "connection_id": {
1451
+ "type": "string",
1452
+ "format": "uuid"
1453
+ },
1454
+ "client": {
1455
+ "enum": [
1456
+ "claude",
1457
+ "codex"
1458
+ ]
1459
+ },
1460
+ "runtime_version": {
1461
+ "type": "string",
1462
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1463
+ },
1464
+ "binding_id": {
1465
+ "type": "string",
1466
+ "format": "uuid"
1467
+ },
1468
+ "protocol": {
1469
+ "const": 2
1470
+ },
1471
+ "session_id": {
1472
+ "type": "string",
1473
+ "format": "uuid"
1474
+ },
1475
+ "host_id": {
1476
+ "type": "string",
1477
+ "format": "uuid"
1478
+ },
1479
+ "folder_id": {
1480
+ "type": "string",
1481
+ "pattern": "^[a-f0-9]{64}$"
1482
+ }
1483
+ },
1484
+ "required": [
1485
+ "connection_id",
1486
+ "client",
1487
+ "runtime_version",
1488
+ "binding_id"
1489
+ ],
1490
+ "additionalProperties": false,
1491
+ "dependentRequired": {
1492
+ "protocol": [
1493
+ "protocol",
1494
+ "session_id",
1495
+ "host_id",
1496
+ "folder_id"
1497
+ ],
1498
+ "session_id": [
1499
+ "protocol",
1500
+ "session_id",
1501
+ "host_id",
1502
+ "folder_id"
1503
+ ],
1504
+ "host_id": [
1505
+ "protocol",
1506
+ "session_id",
1507
+ "host_id",
1508
+ "folder_id"
1509
+ ],
1510
+ "folder_id": [
1511
+ "protocol",
1512
+ "session_id",
1513
+ "host_id",
1514
+ "folder_id"
1515
+ ]
1516
+ }
1517
+ },
1518
+ "outputSchema": {
1519
+ "type": "object",
1520
+ "properties": {
1521
+ "connection_id": {
1522
+ "type": "string",
1523
+ "format": "uuid"
1524
+ },
1525
+ "protocol": {
1526
+ "const": 2
1527
+ },
1528
+ "state": {
1529
+ "enum": [
1530
+ "ready",
1531
+ "waiting_legacy"
1532
+ ]
1533
+ }
1534
+ },
1535
+ "required": [
1536
+ "connection_id"
1537
+ ],
1538
+ "additionalProperties": false
1539
+ }
1540
+ },
1541
+ "terminal_wake_poll": {
1542
+ "inputSchema": {
1543
+ "type": "object",
1544
+ "properties": {
1545
+ "connection_id": {
1546
+ "type": "string",
1547
+ "format": "uuid"
1548
+ },
1549
+ "wait_seconds": {
1550
+ "type": "integer",
1551
+ "minimum": 0,
1552
+ "maximum": 25
1553
+ },
1554
+ "activity": {
1555
+ "type": "boolean"
1556
+ },
1557
+ "session_id": {
1558
+ "type": "string",
1559
+ "format": "uuid"
1560
+ }
1561
+ },
1562
+ "required": [
1563
+ "connection_id"
1564
+ ],
1565
+ "additionalProperties": false
1566
+ },
1567
+ "outputSchema": {
1568
+ "type": "object",
1569
+ "properties": {
1570
+ "connection_id": {
1571
+ "type": "string",
1572
+ "format": "uuid"
1573
+ },
1574
+ "workspace_id": {
1575
+ "type": "string",
1576
+ "format": "uuid"
1577
+ },
1578
+ "agent_id": {
1579
+ "type": "string",
1580
+ "format": "uuid"
1581
+ },
1582
+ "events": {
1583
+ "type": "array",
1584
+ "maxItems": 20,
1585
+ "items": {
1586
+ "type": "object",
1587
+ "properties": {
1588
+ "event_id": {
1589
+ "type": "string",
1590
+ "format": "uuid"
1591
+ },
1592
+ "kind": {
1593
+ "enum": [
1594
+ "probe",
1595
+ "mention",
1596
+ "dm",
1597
+ "assignment"
1598
+ ]
1599
+ },
1600
+ "source_id": {
1601
+ "type": "string"
1602
+ },
1603
+ "stream_id": {
1604
+ "type": [
1605
+ "string",
1606
+ "null"
1607
+ ]
1608
+ },
1609
+ "offer_id": {
1610
+ "type": "string",
1611
+ "format": "uuid"
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "event_id",
1616
+ "kind",
1617
+ "source_id",
1618
+ "stream_id"
1619
+ ],
1620
+ "additionalProperties": false
1621
+ }
1622
+ },
1623
+ "unhandled": {
1624
+ "type": "array",
1625
+ "maxItems": 100,
1626
+ "items": {
1627
+ "type": "object",
1628
+ "properties": {
1629
+ "event_id": {
1630
+ "type": "string",
1631
+ "format": "uuid"
1632
+ },
1633
+ "claim_id": {
1634
+ "type": "string",
1635
+ "format": "uuid"
1636
+ },
1637
+ "claim_epoch": {
1638
+ "type": "integer",
1639
+ "minimum": 1
1640
+ },
1641
+ "owned": {
1642
+ "type": "boolean"
1643
+ }
1644
+ },
1645
+ "required": [
1646
+ "event_id",
1647
+ "claim_id",
1648
+ "claim_epoch",
1649
+ "owned"
1650
+ ],
1651
+ "additionalProperties": false
1652
+ }
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "connection_id",
1657
+ "workspace_id",
1658
+ "agent_id",
1659
+ "events"
1660
+ ],
1661
+ "additionalProperties": false
1662
+ }
1663
+ },
1664
+ "terminal_wake_receipt": {
1665
+ "inputSchema": {
1666
+ "type": "object",
1667
+ "properties": {
1668
+ "connection_id": {
1669
+ "type": "string",
1670
+ "format": "uuid"
1671
+ },
1672
+ "event_id": {
1673
+ "type": "string",
1674
+ "format": "uuid"
1675
+ },
1676
+ "stage": {
1677
+ "enum": [
1678
+ "transport",
1679
+ "agent"
1680
+ ]
1681
+ },
1682
+ "offer_id": {
1683
+ "type": "string",
1684
+ "format": "uuid"
1685
+ }
1686
+ },
1687
+ "required": [
1688
+ "connection_id",
1689
+ "event_id",
1690
+ "stage"
1691
+ ],
1692
+ "additionalProperties": false
1693
+ },
1694
+ "outputSchema": {
1695
+ "type": "object",
1696
+ "properties": {
1697
+ "received": {
1698
+ "const": true
1699
+ }
1700
+ },
1701
+ "required": [
1702
+ "received"
1703
+ ],
1704
+ "additionalProperties": false
1705
+ }
1706
+ },
1707
+ "terminal_wake_checkin": {
1708
+ "inputSchema": {
1709
+ "type": "object",
1710
+ "properties": {
1711
+ "connection_id": {
1712
+ "type": "string",
1713
+ "format": "uuid"
1714
+ },
1715
+ "state": {
1716
+ "enum": [
1717
+ "alive",
1718
+ "closed",
1719
+ "delivery_failed",
1720
+ "authentication",
1721
+ "unsupported_runtime"
1722
+ ]
1723
+ },
1724
+ "activity": {
1725
+ "type": "boolean"
1726
+ }
1727
+ },
1728
+ "required": [
1729
+ "connection_id",
1730
+ "state"
1731
+ ],
1732
+ "additionalProperties": false
1733
+ },
1734
+ "outputSchema": {
1735
+ "type": "object",
1736
+ "properties": {
1737
+ "received": {
1738
+ "const": true
1739
+ }
1740
+ },
1741
+ "required": [
1742
+ "received"
1743
+ ],
1744
+ "additionalProperties": false
1745
+ }
1746
+ },
1747
+ "terminal_wake_read": {
1748
+ "inputSchema": {
1749
+ "type": "object",
1750
+ "properties": {
1751
+ "connection_id": {
1752
+ "type": "string",
1753
+ "format": "uuid"
1754
+ },
1755
+ "event_id": {
1756
+ "type": "string",
1757
+ "format": "uuid"
1758
+ },
1759
+ "offer_id": {
1760
+ "type": "string",
1761
+ "format": "uuid"
1762
+ }
1763
+ },
1764
+ "required": [
1765
+ "connection_id",
1766
+ "event_id",
1767
+ "offer_id"
1768
+ ],
1769
+ "additionalProperties": false
1770
+ },
1771
+ "outputSchema": {
1772
+ "type": "object",
1773
+ "properties": {
1774
+ "event_id": {
1775
+ "type": "string",
1776
+ "format": "uuid"
1777
+ },
1778
+ "claim_id": {
1779
+ "type": "string",
1780
+ "format": "uuid"
1781
+ },
1782
+ "claim_epoch": {
1783
+ "type": "integer",
1784
+ "minimum": 1
1785
+ },
1786
+ "kind": {
1787
+ "enum": [
1788
+ "probe",
1789
+ "mention",
1790
+ "dm",
1791
+ "assignment"
1792
+ ]
1793
+ },
1794
+ "source_id": {
1795
+ "type": "string"
1796
+ },
1797
+ "stream_id": {
1798
+ "type": [
1799
+ "string",
1800
+ "null"
1801
+ ]
1802
+ },
1803
+ "source": {
1804
+ "type": "object"
1805
+ },
1806
+ "actions": {
1807
+ "type": "array",
1808
+ "items": {
1809
+ "type": "object",
1810
+ "properties": {
1811
+ "action_id": {
1812
+ "type": "string",
1813
+ "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
1814
+ },
1815
+ "key": {
1816
+ "type": "string"
1817
+ },
1818
+ "route": {
1819
+ "type": "string"
1820
+ },
1821
+ "status": {
1822
+ "type": "integer",
1823
+ "minimum": 200,
1824
+ "maximum": 299
1825
+ },
1826
+ "body": {
1827
+ "type": "object"
1828
+ }
1829
+ },
1830
+ "required": [
1831
+ "action_id",
1832
+ "key",
1833
+ "route",
1834
+ "status",
1835
+ "body"
1836
+ ],
1837
+ "additionalProperties": false
1838
+ }
1839
+ }
1840
+ },
1841
+ "required": [
1842
+ "event_id",
1843
+ "claim_id",
1844
+ "claim_epoch",
1845
+ "kind",
1846
+ "source_id",
1847
+ "stream_id",
1848
+ "source",
1849
+ "actions"
1850
+ ],
1851
+ "additionalProperties": false
1852
+ }
1853
+ },
1854
+ "terminal_wake_complete": {
1855
+ "inputSchema": {
1856
+ "type": "object",
1857
+ "properties": {
1858
+ "connection_id": {
1859
+ "type": "string",
1860
+ "format": "uuid"
1861
+ },
1862
+ "event_id": {
1863
+ "type": "string",
1864
+ "format": "uuid"
1865
+ },
1866
+ "claim_id": {
1867
+ "type": "string",
1868
+ "format": "uuid"
1869
+ },
1870
+ "outcome": {
1871
+ "enum": [
1872
+ "handled",
1873
+ "no_action"
1874
+ ]
1875
+ }
1876
+ },
1877
+ "required": [
1878
+ "connection_id",
1879
+ "event_id",
1880
+ "claim_id",
1881
+ "outcome"
1882
+ ],
1883
+ "additionalProperties": false
1884
+ },
1885
+ "outputSchema": {
1886
+ "type": "object",
1887
+ "properties": {
1888
+ "completed": {
1889
+ "const": true
1890
+ }
1891
+ },
1892
+ "required": [
1893
+ "completed"
1894
+ ],
1895
+ "additionalProperties": false
1896
+ }
1897
+ },
1898
+ "terminal_wake_pin": {
1899
+ "inputSchema": {
1900
+ "type": "object",
1901
+ "properties": {
1902
+ "session_id": {
1903
+ "anyOf": [
1904
+ {
1905
+ "type": "string",
1906
+ "format": "uuid"
1907
+ },
1908
+ {
1909
+ "type": "null"
1910
+ }
1911
+ ]
1912
+ },
1913
+ "folder_id": {
1914
+ "type": "string",
1915
+ "pattern": "^[a-f0-9]{64}$"
1916
+ }
1917
+ },
1918
+ "additionalProperties": false,
1919
+ "minProperties": 1
1920
+ },
1921
+ "outputSchema": {
1922
+ "type": "object",
1923
+ "properties": {
1924
+ "saved": {
1925
+ "const": true
1926
+ }
1927
+ },
1928
+ "required": [
1929
+ "saved"
1930
+ ],
1931
+ "additionalProperties": false
1932
+ }
1933
+ }
1934
+ }