@theaiplatform/miniapp-sdk 0.0.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.
@@ -0,0 +1,3192 @@
1
+ {
2
+ "$defs": {
3
+ "ActorKind": {
4
+ "enum": ["human", "specialist"],
5
+ "type": "string"
6
+ },
7
+ "AuthorizationBinding": {
8
+ "additionalProperties": false,
9
+ "properties": {
10
+ "allOf": {
11
+ "items": {
12
+ "type": "string"
13
+ },
14
+ "type": "array"
15
+ },
16
+ "effects": {
17
+ "items": {
18
+ "$ref": "#/$defs/RuntimeEffect"
19
+ },
20
+ "type": "array"
21
+ }
22
+ },
23
+ "type": "object"
24
+ },
25
+ "AutonomyLevel": {
26
+ "enum": ["listen", "plan", "do"],
27
+ "type": "string"
28
+ },
29
+ "BrowserExtensionOptions": {
30
+ "additionalProperties": false,
31
+ "properties": {
32
+ "manifest": {
33
+ "type": "string"
34
+ },
35
+ "permissions": {
36
+ "items": {
37
+ "type": "string"
38
+ },
39
+ "type": "array"
40
+ },
41
+ "restartRequired": {
42
+ "default": false,
43
+ "type": "boolean"
44
+ }
45
+ },
46
+ "required": ["manifest"],
47
+ "type": "object"
48
+ },
49
+ "ChatBlockOptions": {
50
+ "additionalProperties": false,
51
+ "properties": {
52
+ "accessibilityLabel": {
53
+ "type": "string"
54
+ },
55
+ "fallbackFormat": {
56
+ "$ref": "#/$defs/FallbackFormat"
57
+ },
58
+ "payloadSchema": {
59
+ "type": "string"
60
+ },
61
+ "protocol": {
62
+ "$ref": "#/$defs/ChatBlockProtocol"
63
+ }
64
+ },
65
+ "required": [
66
+ "protocol",
67
+ "payloadSchema",
68
+ "fallbackFormat",
69
+ "accessibilityLabel"
70
+ ],
71
+ "type": "object"
72
+ },
73
+ "ChatBlockProtocol": {
74
+ "enum": [
75
+ "tap-primitives-v1",
76
+ "tap-federated-view-v1",
77
+ "isolated-html-v1",
78
+ "mcp-app-2026-01-26"
79
+ ],
80
+ "type": "string"
81
+ },
82
+ "CommandOptions": {
83
+ "additionalProperties": false,
84
+ "properties": {
85
+ "inputSchema": {
86
+ "type": ["string", "null"]
87
+ },
88
+ "label": {
89
+ "type": "string"
90
+ },
91
+ "placements": {
92
+ "items": {
93
+ "type": "string"
94
+ },
95
+ "type": "array"
96
+ }
97
+ },
98
+ "required": ["label"],
99
+ "type": "object"
100
+ },
101
+ "CompositionOptions": {
102
+ "additionalProperties": false,
103
+ "properties": {
104
+ "childPackageIds": {
105
+ "items": {
106
+ "type": "string"
107
+ },
108
+ "type": "array"
109
+ },
110
+ "contributionIds": {
111
+ "items": {
112
+ "type": "string"
113
+ },
114
+ "type": "array"
115
+ }
116
+ },
117
+ "type": "object"
118
+ },
119
+ "ConsentPolicy": {
120
+ "enum": ["none", "once", "channel", "reusable", "fresh-decision"],
121
+ "type": "string"
122
+ },
123
+ "ContributionScope": {
124
+ "enum": [
125
+ "user",
126
+ "workspace",
127
+ "channel",
128
+ "conversation",
129
+ "project",
130
+ "resource"
131
+ ],
132
+ "type": "string"
133
+ },
134
+ "ContributionTarget": {
135
+ "additionalProperties": false,
136
+ "description": "A target-specific expose selected for a contribution.",
137
+ "properties": {
138
+ "expose": {
139
+ "type": "string"
140
+ },
141
+ "runtime": {
142
+ "$ref": "#/$defs/ExecutionRuntime"
143
+ }
144
+ },
145
+ "required": ["expose", "runtime"],
146
+ "type": "object"
147
+ },
148
+ "DeclarativeOptions": {
149
+ "additionalProperties": false,
150
+ "properties": {
151
+ "schema": {
152
+ "type": "string"
153
+ }
154
+ },
155
+ "required": ["schema"],
156
+ "type": "object"
157
+ },
158
+ "EventDelivery": {
159
+ "enum": ["ephemeral", "durable"],
160
+ "type": "string"
161
+ },
162
+ "ExecutableOptions": {
163
+ "additionalProperties": false,
164
+ "properties": {
165
+ "effects": {
166
+ "items": {
167
+ "$ref": "#/$defs/RuntimeEffect"
168
+ },
169
+ "type": "array"
170
+ },
171
+ "inputSchema": {
172
+ "type": ["string", "null"]
173
+ },
174
+ "outputSchema": {
175
+ "type": ["string", "null"]
176
+ },
177
+ "timeoutMs": {
178
+ "format": "uint64",
179
+ "minimum": 0,
180
+ "type": ["integer", "null"]
181
+ }
182
+ },
183
+ "type": "object"
184
+ },
185
+ "ExecutionRuntime": {
186
+ "enum": [
187
+ "webview",
188
+ "quickjs",
189
+ "worker",
190
+ "node",
191
+ "workflow-host",
192
+ "host-declarative"
193
+ ],
194
+ "type": "string"
195
+ },
196
+ "FallbackFormat": {
197
+ "enum": ["text", "markdown"],
198
+ "type": "string"
199
+ },
200
+ "FederationExpose": {
201
+ "additionalProperties": false,
202
+ "description": "One exposed module in the locked Federation graph.",
203
+ "properties": {
204
+ "integrity": {
205
+ "type": "string"
206
+ },
207
+ "runtime": {
208
+ "$ref": "#/$defs/ExecutionRuntime"
209
+ }
210
+ },
211
+ "required": ["integrity", "runtime"],
212
+ "type": "object"
213
+ },
214
+ "FederationLibraryType": {
215
+ "enum": ["module", "script", "commonjs-module"],
216
+ "type": "string"
217
+ },
218
+ "FederationTarget": {
219
+ "additionalProperties": false,
220
+ "description": "One target-specific Module Federation remote container.",
221
+ "properties": {
222
+ "assetLock": {
223
+ "description": "Relative path to the build-generated content-addressed asset graph lock.",
224
+ "type": "string"
225
+ },
226
+ "assetLockIntegrity": {
227
+ "description": "SHA-256 integrity of the canonical asset-lock bytes.",
228
+ "type": "string"
229
+ },
230
+ "exposes": {
231
+ "additionalProperties": {
232
+ "$ref": "#/$defs/FederationExpose"
233
+ },
234
+ "type": "object"
235
+ },
236
+ "libraryType": {
237
+ "$ref": "#/$defs/FederationLibraryType"
238
+ },
239
+ "manifest": {
240
+ "type": ["string", "null"]
241
+ },
242
+ "manifestIntegrity": {
243
+ "type": ["string", "null"]
244
+ },
245
+ "remoteEntry": {
246
+ "type": "string"
247
+ },
248
+ "remoteEntryIntegrity": {
249
+ "type": "string"
250
+ },
251
+ "remoteName": {
252
+ "type": "string"
253
+ }
254
+ },
255
+ "required": [
256
+ "remoteName",
257
+ "remoteEntry",
258
+ "remoteEntryIntegrity",
259
+ "assetLock",
260
+ "assetLockIntegrity",
261
+ "libraryType",
262
+ "exposes"
263
+ ],
264
+ "type": "object"
265
+ },
266
+ "InstancePolicy": {
267
+ "enum": [
268
+ "per-mount",
269
+ "per-conversation",
270
+ "per-channel",
271
+ "per-workspace",
272
+ "singleton"
273
+ ],
274
+ "type": "string"
275
+ },
276
+ "KnowledgeOptions": {
277
+ "additionalProperties": false,
278
+ "properties": {
279
+ "materialization": {
280
+ "type": ["string", "null"]
281
+ },
282
+ "schema": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "required": ["schema"],
287
+ "type": "object"
288
+ },
289
+ "LifecycleScope": {
290
+ "enum": ["installation", "realm", "contribution", "mount"],
291
+ "type": "string"
292
+ },
293
+ "McpOptions": {
294
+ "additionalProperties": false,
295
+ "properties": {
296
+ "protocolVersion": {
297
+ "type": "string"
298
+ },
299
+ "resourceUri": {
300
+ "type": ["string", "null"]
301
+ },
302
+ "transport": {
303
+ "type": ["string", "null"]
304
+ }
305
+ },
306
+ "required": ["protocolVersion"],
307
+ "type": "object"
308
+ },
309
+ "MiniAppBundleManifest": {
310
+ "additionalProperties": false,
311
+ "description": "Manifest for a single TAP miniapp bundle.",
312
+ "properties": {
313
+ "$schema": {
314
+ "description": "Optional JSON Schema reference for editor support.",
315
+ "type": ["string", "null"]
316
+ },
317
+ "description": {
318
+ "description": "Short human-readable summary of the miniapp.",
319
+ "minLength": 1,
320
+ "type": "string"
321
+ },
322
+ "entry": {
323
+ "$ref": "#/$defs/MiniAppSource",
324
+ "description": "Entry file, package specifier, or URL for the miniapp config."
325
+ },
326
+ "icon": {
327
+ "description": "Lucide-compatible icon name shown by host UI surfaces.",
328
+ "minLength": 1,
329
+ "type": ["string", "null"]
330
+ },
331
+ "name": {
332
+ "description": "Display name for the miniapp.",
333
+ "minLength": 1,
334
+ "type": "string"
335
+ },
336
+ "runtime": {
337
+ "$ref": "#/$defs/TapRuntime",
338
+ "description": "TAP miniapp runtime version."
339
+ },
340
+ "version": {
341
+ "description": "Miniapp version.",
342
+ "minLength": 1,
343
+ "type": "string"
344
+ }
345
+ },
346
+ "required": ["name", "description", "version", "runtime", "entry"],
347
+ "title": "Tap Miniapp Bundle Manifest",
348
+ "type": "object"
349
+ },
350
+ "MiniAppReferencesManifest": {
351
+ "additionalProperties": false,
352
+ "description": "Manifest that references built TAP miniapp manifests.",
353
+ "properties": {
354
+ "$schema": {
355
+ "description": "Optional JSON Schema reference for editor support.",
356
+ "type": ["string", "null"]
357
+ },
358
+ "references": {
359
+ "description": "References to built TAP miniapp manifests.\n\nString shorthand remains available for local and mutable development sources. An\nimmutable remote collection uses the object form (`{ \"url\": ..., \"hash\": ... }`) so\nevery child manifest carries its own SHA-256 integrity boundary.",
360
+ "items": {
361
+ "$ref": "#/$defs/MiniAppSource"
362
+ },
363
+ "minItems": 1,
364
+ "type": "array"
365
+ }
366
+ },
367
+ "required": ["references"],
368
+ "title": "Tap Miniapp References Manifest",
369
+ "type": "object"
370
+ },
371
+ "MiniAppSource": {
372
+ "description": "Absolute URL or local path. Bundle entry paths are resolved relative to the manifest that declares them.",
373
+ "oneOf": [
374
+ {
375
+ "additionalProperties": false,
376
+ "properties": {
377
+ "Path": {
378
+ "additionalProperties": false,
379
+ "properties": {
380
+ "path": {
381
+ "minLength": 1,
382
+ "type": "string"
383
+ }
384
+ },
385
+ "required": ["path"],
386
+ "type": "object"
387
+ }
388
+ },
389
+ "required": ["Path"],
390
+ "type": "object"
391
+ },
392
+ {
393
+ "additionalProperties": false,
394
+ "properties": {
395
+ "Url": {
396
+ "additionalProperties": false,
397
+ "properties": {
398
+ "hash": {
399
+ "description": "Expected SHA-256 hex digest for the remote source bytes.",
400
+ "type": ["string", "null"]
401
+ },
402
+ "url": {
403
+ "format": "uri",
404
+ "type": "string"
405
+ }
406
+ },
407
+ "required": ["url"],
408
+ "type": "object"
409
+ }
410
+ },
411
+ "required": ["Url"],
412
+ "type": "object"
413
+ },
414
+ {
415
+ "description": "Absolute URL or local path. Bundle entry paths are resolved relative to the manifest that declares them.",
416
+ "minLength": 1,
417
+ "type": "string"
418
+ },
419
+ {
420
+ "additionalProperties": false,
421
+ "properties": {
422
+ "hash": {
423
+ "description": "Expected SHA-256 hex digest for the remote source bytes.",
424
+ "type": ["string", "null"]
425
+ },
426
+ "url": {
427
+ "format": "uri",
428
+ "type": "string"
429
+ }
430
+ },
431
+ "required": ["url"],
432
+ "type": "object"
433
+ }
434
+ ]
435
+ },
436
+ "PackageCompatibility": {
437
+ "additionalProperties": false,
438
+ "description": "Host and SDK compatibility checked before remote loading.",
439
+ "properties": {
440
+ "tapHost": {
441
+ "type": "string"
442
+ },
443
+ "tapSdk": {
444
+ "type": "string"
445
+ }
446
+ },
447
+ "required": ["tapSdk", "tapHost"],
448
+ "type": "object"
449
+ },
450
+ "PackageContribution": {
451
+ "description": "Strict contribution union covering the initial TAP extension catalog.",
452
+ "oneOf": [
453
+ {
454
+ "additionalProperties": false,
455
+ "description": "Fields shared by every package contribution.",
456
+ "properties": {
457
+ "apiVersion": {
458
+ "format": "uint16",
459
+ "maximum": 65535,
460
+ "minimum": 0,
461
+ "type": "integer"
462
+ },
463
+ "authorization": {
464
+ "$ref": "#/$defs/AuthorizationBinding",
465
+ "default": {}
466
+ },
467
+ "id": {
468
+ "type": "string"
469
+ },
470
+ "kind": {
471
+ "const": "ui.surface",
472
+ "type": "string"
473
+ },
474
+ "lifecycleScope": {
475
+ "$ref": "#/$defs/LifecycleScope",
476
+ "default": "mount"
477
+ },
478
+ "options": {
479
+ "$ref": "#/$defs/UiSurfaceOptions"
480
+ },
481
+ "publishes": {
482
+ "items": {
483
+ "type": "string"
484
+ },
485
+ "type": "array"
486
+ },
487
+ "subscribes": {
488
+ "items": {
489
+ "type": "string"
490
+ },
491
+ "type": "array"
492
+ },
493
+ "targets": {
494
+ "additionalProperties": false,
495
+ "properties": {
496
+ "desktop": {
497
+ "$ref": "#/$defs/ContributionTarget"
498
+ },
499
+ "mobile": {
500
+ "$ref": "#/$defs/ContributionTarget"
501
+ },
502
+ "node": {
503
+ "$ref": "#/$defs/ContributionTarget"
504
+ },
505
+ "quickjs": {
506
+ "$ref": "#/$defs/ContributionTarget"
507
+ },
508
+ "worker": {
509
+ "$ref": "#/$defs/ContributionTarget"
510
+ },
511
+ "workflow-host": {
512
+ "$ref": "#/$defs/ContributionTarget"
513
+ }
514
+ },
515
+ "type": "object"
516
+ }
517
+ },
518
+ "required": ["kind", "id", "apiVersion", "options"],
519
+ "type": "object"
520
+ },
521
+ {
522
+ "additionalProperties": false,
523
+ "description": "Fields shared by every package contribution.",
524
+ "properties": {
525
+ "apiVersion": {
526
+ "format": "uint16",
527
+ "maximum": 65535,
528
+ "minimum": 0,
529
+ "type": "integer"
530
+ },
531
+ "authorization": {
532
+ "$ref": "#/$defs/AuthorizationBinding",
533
+ "default": {}
534
+ },
535
+ "id": {
536
+ "type": "string"
537
+ },
538
+ "kind": {
539
+ "const": "ui.renderer",
540
+ "type": "string"
541
+ },
542
+ "lifecycleScope": {
543
+ "$ref": "#/$defs/LifecycleScope",
544
+ "default": "mount"
545
+ },
546
+ "options": {
547
+ "$ref": "#/$defs/RendererOptions"
548
+ },
549
+ "publishes": {
550
+ "items": {
551
+ "type": "string"
552
+ },
553
+ "type": "array"
554
+ },
555
+ "subscribes": {
556
+ "items": {
557
+ "type": "string"
558
+ },
559
+ "type": "array"
560
+ },
561
+ "targets": {
562
+ "additionalProperties": false,
563
+ "properties": {
564
+ "desktop": {
565
+ "$ref": "#/$defs/ContributionTarget"
566
+ },
567
+ "mobile": {
568
+ "$ref": "#/$defs/ContributionTarget"
569
+ },
570
+ "node": {
571
+ "$ref": "#/$defs/ContributionTarget"
572
+ },
573
+ "quickjs": {
574
+ "$ref": "#/$defs/ContributionTarget"
575
+ },
576
+ "worker": {
577
+ "$ref": "#/$defs/ContributionTarget"
578
+ },
579
+ "workflow-host": {
580
+ "$ref": "#/$defs/ContributionTarget"
581
+ }
582
+ },
583
+ "type": "object"
584
+ }
585
+ },
586
+ "required": ["kind", "id", "apiVersion", "options"],
587
+ "type": "object"
588
+ },
589
+ {
590
+ "additionalProperties": false,
591
+ "description": "Fields shared by every package contribution.",
592
+ "properties": {
593
+ "apiVersion": {
594
+ "format": "uint16",
595
+ "maximum": 65535,
596
+ "minimum": 0,
597
+ "type": "integer"
598
+ },
599
+ "authorization": {
600
+ "$ref": "#/$defs/AuthorizationBinding",
601
+ "default": {}
602
+ },
603
+ "id": {
604
+ "type": "string"
605
+ },
606
+ "kind": {
607
+ "const": "chat.block",
608
+ "type": "string"
609
+ },
610
+ "lifecycleScope": {
611
+ "$ref": "#/$defs/LifecycleScope",
612
+ "default": "mount"
613
+ },
614
+ "options": {
615
+ "$ref": "#/$defs/ChatBlockOptions"
616
+ },
617
+ "publishes": {
618
+ "items": {
619
+ "type": "string"
620
+ },
621
+ "type": "array"
622
+ },
623
+ "subscribes": {
624
+ "items": {
625
+ "type": "string"
626
+ },
627
+ "type": "array"
628
+ },
629
+ "targets": {
630
+ "additionalProperties": false,
631
+ "properties": {
632
+ "desktop": {
633
+ "$ref": "#/$defs/ContributionTarget"
634
+ },
635
+ "mobile": {
636
+ "$ref": "#/$defs/ContributionTarget"
637
+ },
638
+ "node": {
639
+ "$ref": "#/$defs/ContributionTarget"
640
+ },
641
+ "quickjs": {
642
+ "$ref": "#/$defs/ContributionTarget"
643
+ },
644
+ "worker": {
645
+ "$ref": "#/$defs/ContributionTarget"
646
+ },
647
+ "workflow-host": {
648
+ "$ref": "#/$defs/ContributionTarget"
649
+ }
650
+ },
651
+ "type": "object"
652
+ }
653
+ },
654
+ "required": ["kind", "id", "apiVersion", "options"],
655
+ "type": "object"
656
+ },
657
+ {
658
+ "additionalProperties": false,
659
+ "description": "Fields shared by every package contribution.",
660
+ "properties": {
661
+ "apiVersion": {
662
+ "format": "uint16",
663
+ "maximum": 65535,
664
+ "minimum": 0,
665
+ "type": "integer"
666
+ },
667
+ "authorization": {
668
+ "$ref": "#/$defs/AuthorizationBinding",
669
+ "default": {}
670
+ },
671
+ "id": {
672
+ "type": "string"
673
+ },
674
+ "kind": {
675
+ "const": "action.command",
676
+ "type": "string"
677
+ },
678
+ "lifecycleScope": {
679
+ "$ref": "#/$defs/LifecycleScope",
680
+ "default": "mount"
681
+ },
682
+ "options": {
683
+ "$ref": "#/$defs/CommandOptions"
684
+ },
685
+ "publishes": {
686
+ "items": {
687
+ "type": "string"
688
+ },
689
+ "type": "array"
690
+ },
691
+ "subscribes": {
692
+ "items": {
693
+ "type": "string"
694
+ },
695
+ "type": "array"
696
+ },
697
+ "targets": {
698
+ "additionalProperties": false,
699
+ "properties": {
700
+ "desktop": {
701
+ "$ref": "#/$defs/ContributionTarget"
702
+ },
703
+ "mobile": {
704
+ "$ref": "#/$defs/ContributionTarget"
705
+ },
706
+ "node": {
707
+ "$ref": "#/$defs/ContributionTarget"
708
+ },
709
+ "quickjs": {
710
+ "$ref": "#/$defs/ContributionTarget"
711
+ },
712
+ "worker": {
713
+ "$ref": "#/$defs/ContributionTarget"
714
+ },
715
+ "workflow-host": {
716
+ "$ref": "#/$defs/ContributionTarget"
717
+ }
718
+ },
719
+ "type": "object"
720
+ }
721
+ },
722
+ "required": ["kind", "id", "apiVersion", "options"],
723
+ "type": "object"
724
+ },
725
+ {
726
+ "additionalProperties": false,
727
+ "description": "Fields shared by every package contribution.",
728
+ "properties": {
729
+ "apiVersion": {
730
+ "format": "uint16",
731
+ "maximum": 65535,
732
+ "minimum": 0,
733
+ "type": "integer"
734
+ },
735
+ "authorization": {
736
+ "$ref": "#/$defs/AuthorizationBinding",
737
+ "default": {}
738
+ },
739
+ "id": {
740
+ "type": "string"
741
+ },
742
+ "kind": {
743
+ "const": "prompt",
744
+ "type": "string"
745
+ },
746
+ "lifecycleScope": {
747
+ "$ref": "#/$defs/LifecycleScope",
748
+ "default": "mount"
749
+ },
750
+ "options": {
751
+ "$ref": "#/$defs/ExecutableOptions"
752
+ },
753
+ "publishes": {
754
+ "items": {
755
+ "type": "string"
756
+ },
757
+ "type": "array"
758
+ },
759
+ "subscribes": {
760
+ "items": {
761
+ "type": "string"
762
+ },
763
+ "type": "array"
764
+ },
765
+ "targets": {
766
+ "additionalProperties": false,
767
+ "properties": {
768
+ "desktop": {
769
+ "$ref": "#/$defs/ContributionTarget"
770
+ },
771
+ "mobile": {
772
+ "$ref": "#/$defs/ContributionTarget"
773
+ },
774
+ "node": {
775
+ "$ref": "#/$defs/ContributionTarget"
776
+ },
777
+ "quickjs": {
778
+ "$ref": "#/$defs/ContributionTarget"
779
+ },
780
+ "worker": {
781
+ "$ref": "#/$defs/ContributionTarget"
782
+ },
783
+ "workflow-host": {
784
+ "$ref": "#/$defs/ContributionTarget"
785
+ }
786
+ },
787
+ "type": "object"
788
+ }
789
+ },
790
+ "required": ["kind", "id", "apiVersion", "options"],
791
+ "type": "object"
792
+ },
793
+ {
794
+ "additionalProperties": false,
795
+ "description": "Fields shared by every package contribution.",
796
+ "properties": {
797
+ "apiVersion": {
798
+ "format": "uint16",
799
+ "maximum": 65535,
800
+ "minimum": 0,
801
+ "type": "integer"
802
+ },
803
+ "authorization": {
804
+ "$ref": "#/$defs/AuthorizationBinding",
805
+ "default": {}
806
+ },
807
+ "id": {
808
+ "type": "string"
809
+ },
810
+ "kind": {
811
+ "const": "skill",
812
+ "type": "string"
813
+ },
814
+ "lifecycleScope": {
815
+ "$ref": "#/$defs/LifecycleScope",
816
+ "default": "mount"
817
+ },
818
+ "options": {
819
+ "$ref": "#/$defs/ExecutableOptions"
820
+ },
821
+ "publishes": {
822
+ "items": {
823
+ "type": "string"
824
+ },
825
+ "type": "array"
826
+ },
827
+ "subscribes": {
828
+ "items": {
829
+ "type": "string"
830
+ },
831
+ "type": "array"
832
+ },
833
+ "targets": {
834
+ "additionalProperties": false,
835
+ "properties": {
836
+ "desktop": {
837
+ "$ref": "#/$defs/ContributionTarget"
838
+ },
839
+ "mobile": {
840
+ "$ref": "#/$defs/ContributionTarget"
841
+ },
842
+ "node": {
843
+ "$ref": "#/$defs/ContributionTarget"
844
+ },
845
+ "quickjs": {
846
+ "$ref": "#/$defs/ContributionTarget"
847
+ },
848
+ "worker": {
849
+ "$ref": "#/$defs/ContributionTarget"
850
+ },
851
+ "workflow-host": {
852
+ "$ref": "#/$defs/ContributionTarget"
853
+ }
854
+ },
855
+ "type": "object"
856
+ }
857
+ },
858
+ "required": ["kind", "id", "apiVersion", "options"],
859
+ "type": "object"
860
+ },
861
+ {
862
+ "additionalProperties": false,
863
+ "description": "Fields shared by every package contribution.",
864
+ "properties": {
865
+ "apiVersion": {
866
+ "format": "uint16",
867
+ "maximum": 65535,
868
+ "minimum": 0,
869
+ "type": "integer"
870
+ },
871
+ "authorization": {
872
+ "$ref": "#/$defs/AuthorizationBinding",
873
+ "default": {}
874
+ },
875
+ "id": {
876
+ "type": "string"
877
+ },
878
+ "kind": {
879
+ "const": "tool",
880
+ "type": "string"
881
+ },
882
+ "lifecycleScope": {
883
+ "$ref": "#/$defs/LifecycleScope",
884
+ "default": "mount"
885
+ },
886
+ "options": {
887
+ "$ref": "#/$defs/ExecutableOptions"
888
+ },
889
+ "publishes": {
890
+ "items": {
891
+ "type": "string"
892
+ },
893
+ "type": "array"
894
+ },
895
+ "subscribes": {
896
+ "items": {
897
+ "type": "string"
898
+ },
899
+ "type": "array"
900
+ },
901
+ "targets": {
902
+ "additionalProperties": false,
903
+ "properties": {
904
+ "desktop": {
905
+ "$ref": "#/$defs/ContributionTarget"
906
+ },
907
+ "mobile": {
908
+ "$ref": "#/$defs/ContributionTarget"
909
+ },
910
+ "node": {
911
+ "$ref": "#/$defs/ContributionTarget"
912
+ },
913
+ "quickjs": {
914
+ "$ref": "#/$defs/ContributionTarget"
915
+ },
916
+ "worker": {
917
+ "$ref": "#/$defs/ContributionTarget"
918
+ },
919
+ "workflow-host": {
920
+ "$ref": "#/$defs/ContributionTarget"
921
+ }
922
+ },
923
+ "type": "object"
924
+ }
925
+ },
926
+ "required": ["kind", "id", "apiVersion", "options"],
927
+ "type": "object"
928
+ },
929
+ {
930
+ "additionalProperties": false,
931
+ "description": "Fields shared by every package contribution.",
932
+ "properties": {
933
+ "apiVersion": {
934
+ "format": "uint16",
935
+ "maximum": 65535,
936
+ "minimum": 0,
937
+ "type": "integer"
938
+ },
939
+ "authorization": {
940
+ "$ref": "#/$defs/AuthorizationBinding",
941
+ "default": {}
942
+ },
943
+ "id": {
944
+ "type": "string"
945
+ },
946
+ "kind": {
947
+ "const": "specialist",
948
+ "type": "string"
949
+ },
950
+ "lifecycleScope": {
951
+ "$ref": "#/$defs/LifecycleScope",
952
+ "default": "mount"
953
+ },
954
+ "options": {
955
+ "$ref": "#/$defs/ExecutableOptions"
956
+ },
957
+ "publishes": {
958
+ "items": {
959
+ "type": "string"
960
+ },
961
+ "type": "array"
962
+ },
963
+ "subscribes": {
964
+ "items": {
965
+ "type": "string"
966
+ },
967
+ "type": "array"
968
+ },
969
+ "targets": {
970
+ "additionalProperties": false,
971
+ "properties": {
972
+ "desktop": {
973
+ "$ref": "#/$defs/ContributionTarget"
974
+ },
975
+ "mobile": {
976
+ "$ref": "#/$defs/ContributionTarget"
977
+ },
978
+ "node": {
979
+ "$ref": "#/$defs/ContributionTarget"
980
+ },
981
+ "quickjs": {
982
+ "$ref": "#/$defs/ContributionTarget"
983
+ },
984
+ "worker": {
985
+ "$ref": "#/$defs/ContributionTarget"
986
+ },
987
+ "workflow-host": {
988
+ "$ref": "#/$defs/ContributionTarget"
989
+ }
990
+ },
991
+ "type": "object"
992
+ }
993
+ },
994
+ "required": ["kind", "id", "apiVersion", "options"],
995
+ "type": "object"
996
+ },
997
+ {
998
+ "additionalProperties": false,
999
+ "description": "Fields shared by every package contribution.",
1000
+ "properties": {
1001
+ "apiVersion": {
1002
+ "format": "uint16",
1003
+ "maximum": 65535,
1004
+ "minimum": 0,
1005
+ "type": "integer"
1006
+ },
1007
+ "authorization": {
1008
+ "$ref": "#/$defs/AuthorizationBinding",
1009
+ "default": {}
1010
+ },
1011
+ "id": {
1012
+ "type": "string"
1013
+ },
1014
+ "kind": {
1015
+ "const": "task.type",
1016
+ "type": "string"
1017
+ },
1018
+ "lifecycleScope": {
1019
+ "$ref": "#/$defs/LifecycleScope",
1020
+ "default": "mount"
1021
+ },
1022
+ "options": {
1023
+ "$ref": "#/$defs/TaskOptions"
1024
+ },
1025
+ "publishes": {
1026
+ "items": {
1027
+ "type": "string"
1028
+ },
1029
+ "type": "array"
1030
+ },
1031
+ "subscribes": {
1032
+ "items": {
1033
+ "type": "string"
1034
+ },
1035
+ "type": "array"
1036
+ },
1037
+ "targets": {
1038
+ "additionalProperties": false,
1039
+ "properties": {
1040
+ "desktop": {
1041
+ "$ref": "#/$defs/ContributionTarget"
1042
+ },
1043
+ "mobile": {
1044
+ "$ref": "#/$defs/ContributionTarget"
1045
+ },
1046
+ "node": {
1047
+ "$ref": "#/$defs/ContributionTarget"
1048
+ },
1049
+ "quickjs": {
1050
+ "$ref": "#/$defs/ContributionTarget"
1051
+ },
1052
+ "worker": {
1053
+ "$ref": "#/$defs/ContributionTarget"
1054
+ },
1055
+ "workflow-host": {
1056
+ "$ref": "#/$defs/ContributionTarget"
1057
+ }
1058
+ },
1059
+ "type": "object"
1060
+ }
1061
+ },
1062
+ "required": ["kind", "id", "apiVersion", "options"],
1063
+ "type": "object"
1064
+ },
1065
+ {
1066
+ "additionalProperties": false,
1067
+ "description": "Fields shared by every package contribution.",
1068
+ "properties": {
1069
+ "apiVersion": {
1070
+ "format": "uint16",
1071
+ "maximum": 65535,
1072
+ "minimum": 0,
1073
+ "type": "integer"
1074
+ },
1075
+ "authorization": {
1076
+ "$ref": "#/$defs/AuthorizationBinding",
1077
+ "default": {}
1078
+ },
1079
+ "id": {
1080
+ "type": "string"
1081
+ },
1082
+ "kind": {
1083
+ "const": "task.attribute",
1084
+ "type": "string"
1085
+ },
1086
+ "lifecycleScope": {
1087
+ "$ref": "#/$defs/LifecycleScope",
1088
+ "default": "mount"
1089
+ },
1090
+ "options": {
1091
+ "$ref": "#/$defs/TaskOptions"
1092
+ },
1093
+ "publishes": {
1094
+ "items": {
1095
+ "type": "string"
1096
+ },
1097
+ "type": "array"
1098
+ },
1099
+ "subscribes": {
1100
+ "items": {
1101
+ "type": "string"
1102
+ },
1103
+ "type": "array"
1104
+ },
1105
+ "targets": {
1106
+ "additionalProperties": false,
1107
+ "properties": {
1108
+ "desktop": {
1109
+ "$ref": "#/$defs/ContributionTarget"
1110
+ },
1111
+ "mobile": {
1112
+ "$ref": "#/$defs/ContributionTarget"
1113
+ },
1114
+ "node": {
1115
+ "$ref": "#/$defs/ContributionTarget"
1116
+ },
1117
+ "quickjs": {
1118
+ "$ref": "#/$defs/ContributionTarget"
1119
+ },
1120
+ "worker": {
1121
+ "$ref": "#/$defs/ContributionTarget"
1122
+ },
1123
+ "workflow-host": {
1124
+ "$ref": "#/$defs/ContributionTarget"
1125
+ }
1126
+ },
1127
+ "type": "object"
1128
+ }
1129
+ },
1130
+ "required": ["kind", "id", "apiVersion", "options"],
1131
+ "type": "object"
1132
+ },
1133
+ {
1134
+ "additionalProperties": false,
1135
+ "description": "Fields shared by every package contribution.",
1136
+ "properties": {
1137
+ "apiVersion": {
1138
+ "format": "uint16",
1139
+ "maximum": 65535,
1140
+ "minimum": 0,
1141
+ "type": "integer"
1142
+ },
1143
+ "authorization": {
1144
+ "$ref": "#/$defs/AuthorizationBinding",
1145
+ "default": {}
1146
+ },
1147
+ "id": {
1148
+ "type": "string"
1149
+ },
1150
+ "kind": {
1151
+ "const": "task.view",
1152
+ "type": "string"
1153
+ },
1154
+ "lifecycleScope": {
1155
+ "$ref": "#/$defs/LifecycleScope",
1156
+ "default": "mount"
1157
+ },
1158
+ "options": {
1159
+ "$ref": "#/$defs/TaskOptions"
1160
+ },
1161
+ "publishes": {
1162
+ "items": {
1163
+ "type": "string"
1164
+ },
1165
+ "type": "array"
1166
+ },
1167
+ "subscribes": {
1168
+ "items": {
1169
+ "type": "string"
1170
+ },
1171
+ "type": "array"
1172
+ },
1173
+ "targets": {
1174
+ "additionalProperties": false,
1175
+ "properties": {
1176
+ "desktop": {
1177
+ "$ref": "#/$defs/ContributionTarget"
1178
+ },
1179
+ "mobile": {
1180
+ "$ref": "#/$defs/ContributionTarget"
1181
+ },
1182
+ "node": {
1183
+ "$ref": "#/$defs/ContributionTarget"
1184
+ },
1185
+ "quickjs": {
1186
+ "$ref": "#/$defs/ContributionTarget"
1187
+ },
1188
+ "worker": {
1189
+ "$ref": "#/$defs/ContributionTarget"
1190
+ },
1191
+ "workflow-host": {
1192
+ "$ref": "#/$defs/ContributionTarget"
1193
+ }
1194
+ },
1195
+ "type": "object"
1196
+ }
1197
+ },
1198
+ "required": ["kind", "id", "apiVersion", "options"],
1199
+ "type": "object"
1200
+ },
1201
+ {
1202
+ "additionalProperties": false,
1203
+ "description": "Fields shared by every package contribution.",
1204
+ "properties": {
1205
+ "apiVersion": {
1206
+ "format": "uint16",
1207
+ "maximum": 65535,
1208
+ "minimum": 0,
1209
+ "type": "integer"
1210
+ },
1211
+ "authorization": {
1212
+ "$ref": "#/$defs/AuthorizationBinding",
1213
+ "default": {}
1214
+ },
1215
+ "id": {
1216
+ "type": "string"
1217
+ },
1218
+ "kind": {
1219
+ "const": "task.action",
1220
+ "type": "string"
1221
+ },
1222
+ "lifecycleScope": {
1223
+ "$ref": "#/$defs/LifecycleScope",
1224
+ "default": "mount"
1225
+ },
1226
+ "options": {
1227
+ "$ref": "#/$defs/TaskOptions"
1228
+ },
1229
+ "publishes": {
1230
+ "items": {
1231
+ "type": "string"
1232
+ },
1233
+ "type": "array"
1234
+ },
1235
+ "subscribes": {
1236
+ "items": {
1237
+ "type": "string"
1238
+ },
1239
+ "type": "array"
1240
+ },
1241
+ "targets": {
1242
+ "additionalProperties": false,
1243
+ "properties": {
1244
+ "desktop": {
1245
+ "$ref": "#/$defs/ContributionTarget"
1246
+ },
1247
+ "mobile": {
1248
+ "$ref": "#/$defs/ContributionTarget"
1249
+ },
1250
+ "node": {
1251
+ "$ref": "#/$defs/ContributionTarget"
1252
+ },
1253
+ "quickjs": {
1254
+ "$ref": "#/$defs/ContributionTarget"
1255
+ },
1256
+ "worker": {
1257
+ "$ref": "#/$defs/ContributionTarget"
1258
+ },
1259
+ "workflow-host": {
1260
+ "$ref": "#/$defs/ContributionTarget"
1261
+ }
1262
+ },
1263
+ "type": "object"
1264
+ }
1265
+ },
1266
+ "required": ["kind", "id", "apiVersion", "options"],
1267
+ "type": "object"
1268
+ },
1269
+ {
1270
+ "additionalProperties": false,
1271
+ "description": "Fields shared by every package contribution.",
1272
+ "properties": {
1273
+ "apiVersion": {
1274
+ "format": "uint16",
1275
+ "maximum": 65535,
1276
+ "minimum": 0,
1277
+ "type": "integer"
1278
+ },
1279
+ "authorization": {
1280
+ "$ref": "#/$defs/AuthorizationBinding",
1281
+ "default": {}
1282
+ },
1283
+ "id": {
1284
+ "type": "string"
1285
+ },
1286
+ "kind": {
1287
+ "const": "task.template",
1288
+ "type": "string"
1289
+ },
1290
+ "lifecycleScope": {
1291
+ "$ref": "#/$defs/LifecycleScope",
1292
+ "default": "mount"
1293
+ },
1294
+ "options": {
1295
+ "$ref": "#/$defs/TaskOptions"
1296
+ },
1297
+ "publishes": {
1298
+ "items": {
1299
+ "type": "string"
1300
+ },
1301
+ "type": "array"
1302
+ },
1303
+ "subscribes": {
1304
+ "items": {
1305
+ "type": "string"
1306
+ },
1307
+ "type": "array"
1308
+ },
1309
+ "targets": {
1310
+ "additionalProperties": false,
1311
+ "properties": {
1312
+ "desktop": {
1313
+ "$ref": "#/$defs/ContributionTarget"
1314
+ },
1315
+ "mobile": {
1316
+ "$ref": "#/$defs/ContributionTarget"
1317
+ },
1318
+ "node": {
1319
+ "$ref": "#/$defs/ContributionTarget"
1320
+ },
1321
+ "quickjs": {
1322
+ "$ref": "#/$defs/ContributionTarget"
1323
+ },
1324
+ "worker": {
1325
+ "$ref": "#/$defs/ContributionTarget"
1326
+ },
1327
+ "workflow-host": {
1328
+ "$ref": "#/$defs/ContributionTarget"
1329
+ }
1330
+ },
1331
+ "type": "object"
1332
+ }
1333
+ },
1334
+ "required": ["kind", "id", "apiVersion", "options"],
1335
+ "type": "object"
1336
+ },
1337
+ {
1338
+ "additionalProperties": false,
1339
+ "description": "Fields shared by every package contribution.",
1340
+ "properties": {
1341
+ "apiVersion": {
1342
+ "format": "uint16",
1343
+ "maximum": 65535,
1344
+ "minimum": 0,
1345
+ "type": "integer"
1346
+ },
1347
+ "authorization": {
1348
+ "$ref": "#/$defs/AuthorizationBinding",
1349
+ "default": {}
1350
+ },
1351
+ "id": {
1352
+ "type": "string"
1353
+ },
1354
+ "kind": {
1355
+ "const": "workflow",
1356
+ "type": "string"
1357
+ },
1358
+ "lifecycleScope": {
1359
+ "$ref": "#/$defs/LifecycleScope",
1360
+ "default": "mount"
1361
+ },
1362
+ "options": {
1363
+ "$ref": "#/$defs/ExecutableOptions"
1364
+ },
1365
+ "publishes": {
1366
+ "items": {
1367
+ "type": "string"
1368
+ },
1369
+ "type": "array"
1370
+ },
1371
+ "subscribes": {
1372
+ "items": {
1373
+ "type": "string"
1374
+ },
1375
+ "type": "array"
1376
+ },
1377
+ "targets": {
1378
+ "additionalProperties": false,
1379
+ "properties": {
1380
+ "desktop": {
1381
+ "$ref": "#/$defs/ContributionTarget"
1382
+ },
1383
+ "mobile": {
1384
+ "$ref": "#/$defs/ContributionTarget"
1385
+ },
1386
+ "node": {
1387
+ "$ref": "#/$defs/ContributionTarget"
1388
+ },
1389
+ "quickjs": {
1390
+ "$ref": "#/$defs/ContributionTarget"
1391
+ },
1392
+ "worker": {
1393
+ "$ref": "#/$defs/ContributionTarget"
1394
+ },
1395
+ "workflow-host": {
1396
+ "$ref": "#/$defs/ContributionTarget"
1397
+ }
1398
+ },
1399
+ "type": "object"
1400
+ }
1401
+ },
1402
+ "required": ["kind", "id", "apiVersion", "options"],
1403
+ "type": "object"
1404
+ },
1405
+ {
1406
+ "additionalProperties": false,
1407
+ "description": "Fields shared by every package contribution.",
1408
+ "properties": {
1409
+ "apiVersion": {
1410
+ "format": "uint16",
1411
+ "maximum": 65535,
1412
+ "minimum": 0,
1413
+ "type": "integer"
1414
+ },
1415
+ "authorization": {
1416
+ "$ref": "#/$defs/AuthorizationBinding",
1417
+ "default": {}
1418
+ },
1419
+ "id": {
1420
+ "type": "string"
1421
+ },
1422
+ "kind": {
1423
+ "const": "workflow.node",
1424
+ "type": "string"
1425
+ },
1426
+ "lifecycleScope": {
1427
+ "$ref": "#/$defs/LifecycleScope",
1428
+ "default": "mount"
1429
+ },
1430
+ "options": {
1431
+ "$ref": "#/$defs/ExecutableOptions"
1432
+ },
1433
+ "publishes": {
1434
+ "items": {
1435
+ "type": "string"
1436
+ },
1437
+ "type": "array"
1438
+ },
1439
+ "subscribes": {
1440
+ "items": {
1441
+ "type": "string"
1442
+ },
1443
+ "type": "array"
1444
+ },
1445
+ "targets": {
1446
+ "additionalProperties": false,
1447
+ "properties": {
1448
+ "desktop": {
1449
+ "$ref": "#/$defs/ContributionTarget"
1450
+ },
1451
+ "mobile": {
1452
+ "$ref": "#/$defs/ContributionTarget"
1453
+ },
1454
+ "node": {
1455
+ "$ref": "#/$defs/ContributionTarget"
1456
+ },
1457
+ "quickjs": {
1458
+ "$ref": "#/$defs/ContributionTarget"
1459
+ },
1460
+ "worker": {
1461
+ "$ref": "#/$defs/ContributionTarget"
1462
+ },
1463
+ "workflow-host": {
1464
+ "$ref": "#/$defs/ContributionTarget"
1465
+ }
1466
+ },
1467
+ "type": "object"
1468
+ }
1469
+ },
1470
+ "required": ["kind", "id", "apiVersion", "options"],
1471
+ "type": "object"
1472
+ },
1473
+ {
1474
+ "additionalProperties": false,
1475
+ "description": "Fields shared by every package contribution.",
1476
+ "properties": {
1477
+ "apiVersion": {
1478
+ "format": "uint16",
1479
+ "maximum": 65535,
1480
+ "minimum": 0,
1481
+ "type": "integer"
1482
+ },
1483
+ "authorization": {
1484
+ "$ref": "#/$defs/AuthorizationBinding",
1485
+ "default": {}
1486
+ },
1487
+ "id": {
1488
+ "type": "string"
1489
+ },
1490
+ "kind": {
1491
+ "const": "automation.trigger",
1492
+ "type": "string"
1493
+ },
1494
+ "lifecycleScope": {
1495
+ "$ref": "#/$defs/LifecycleScope",
1496
+ "default": "mount"
1497
+ },
1498
+ "options": {
1499
+ "$ref": "#/$defs/ExecutableOptions"
1500
+ },
1501
+ "publishes": {
1502
+ "items": {
1503
+ "type": "string"
1504
+ },
1505
+ "type": "array"
1506
+ },
1507
+ "subscribes": {
1508
+ "items": {
1509
+ "type": "string"
1510
+ },
1511
+ "type": "array"
1512
+ },
1513
+ "targets": {
1514
+ "additionalProperties": false,
1515
+ "properties": {
1516
+ "desktop": {
1517
+ "$ref": "#/$defs/ContributionTarget"
1518
+ },
1519
+ "mobile": {
1520
+ "$ref": "#/$defs/ContributionTarget"
1521
+ },
1522
+ "node": {
1523
+ "$ref": "#/$defs/ContributionTarget"
1524
+ },
1525
+ "quickjs": {
1526
+ "$ref": "#/$defs/ContributionTarget"
1527
+ },
1528
+ "worker": {
1529
+ "$ref": "#/$defs/ContributionTarget"
1530
+ },
1531
+ "workflow-host": {
1532
+ "$ref": "#/$defs/ContributionTarget"
1533
+ }
1534
+ },
1535
+ "type": "object"
1536
+ }
1537
+ },
1538
+ "required": ["kind", "id", "apiVersion", "options"],
1539
+ "type": "object"
1540
+ },
1541
+ {
1542
+ "additionalProperties": false,
1543
+ "description": "Fields shared by every package contribution.",
1544
+ "properties": {
1545
+ "apiVersion": {
1546
+ "format": "uint16",
1547
+ "maximum": 65535,
1548
+ "minimum": 0,
1549
+ "type": "integer"
1550
+ },
1551
+ "authorization": {
1552
+ "$ref": "#/$defs/AuthorizationBinding",
1553
+ "default": {}
1554
+ },
1555
+ "id": {
1556
+ "type": "string"
1557
+ },
1558
+ "kind": {
1559
+ "const": "mcp.server",
1560
+ "type": "string"
1561
+ },
1562
+ "lifecycleScope": {
1563
+ "$ref": "#/$defs/LifecycleScope",
1564
+ "default": "mount"
1565
+ },
1566
+ "options": {
1567
+ "$ref": "#/$defs/McpOptions"
1568
+ },
1569
+ "publishes": {
1570
+ "items": {
1571
+ "type": "string"
1572
+ },
1573
+ "type": "array"
1574
+ },
1575
+ "subscribes": {
1576
+ "items": {
1577
+ "type": "string"
1578
+ },
1579
+ "type": "array"
1580
+ },
1581
+ "targets": {
1582
+ "additionalProperties": false,
1583
+ "properties": {
1584
+ "desktop": {
1585
+ "$ref": "#/$defs/ContributionTarget"
1586
+ },
1587
+ "mobile": {
1588
+ "$ref": "#/$defs/ContributionTarget"
1589
+ },
1590
+ "node": {
1591
+ "$ref": "#/$defs/ContributionTarget"
1592
+ },
1593
+ "quickjs": {
1594
+ "$ref": "#/$defs/ContributionTarget"
1595
+ },
1596
+ "worker": {
1597
+ "$ref": "#/$defs/ContributionTarget"
1598
+ },
1599
+ "workflow-host": {
1600
+ "$ref": "#/$defs/ContributionTarget"
1601
+ }
1602
+ },
1603
+ "type": "object"
1604
+ }
1605
+ },
1606
+ "required": ["kind", "id", "apiVersion", "options"],
1607
+ "type": "object"
1608
+ },
1609
+ {
1610
+ "additionalProperties": false,
1611
+ "description": "Fields shared by every package contribution.",
1612
+ "properties": {
1613
+ "apiVersion": {
1614
+ "format": "uint16",
1615
+ "maximum": 65535,
1616
+ "minimum": 0,
1617
+ "type": "integer"
1618
+ },
1619
+ "authorization": {
1620
+ "$ref": "#/$defs/AuthorizationBinding",
1621
+ "default": {}
1622
+ },
1623
+ "id": {
1624
+ "type": "string"
1625
+ },
1626
+ "kind": {
1627
+ "const": "mcp.tool",
1628
+ "type": "string"
1629
+ },
1630
+ "lifecycleScope": {
1631
+ "$ref": "#/$defs/LifecycleScope",
1632
+ "default": "mount"
1633
+ },
1634
+ "options": {
1635
+ "$ref": "#/$defs/McpOptions"
1636
+ },
1637
+ "publishes": {
1638
+ "items": {
1639
+ "type": "string"
1640
+ },
1641
+ "type": "array"
1642
+ },
1643
+ "subscribes": {
1644
+ "items": {
1645
+ "type": "string"
1646
+ },
1647
+ "type": "array"
1648
+ },
1649
+ "targets": {
1650
+ "additionalProperties": false,
1651
+ "properties": {
1652
+ "desktop": {
1653
+ "$ref": "#/$defs/ContributionTarget"
1654
+ },
1655
+ "mobile": {
1656
+ "$ref": "#/$defs/ContributionTarget"
1657
+ },
1658
+ "node": {
1659
+ "$ref": "#/$defs/ContributionTarget"
1660
+ },
1661
+ "quickjs": {
1662
+ "$ref": "#/$defs/ContributionTarget"
1663
+ },
1664
+ "worker": {
1665
+ "$ref": "#/$defs/ContributionTarget"
1666
+ },
1667
+ "workflow-host": {
1668
+ "$ref": "#/$defs/ContributionTarget"
1669
+ }
1670
+ },
1671
+ "type": "object"
1672
+ }
1673
+ },
1674
+ "required": ["kind", "id", "apiVersion", "options"],
1675
+ "type": "object"
1676
+ },
1677
+ {
1678
+ "additionalProperties": false,
1679
+ "description": "Fields shared by every package contribution.",
1680
+ "properties": {
1681
+ "apiVersion": {
1682
+ "format": "uint16",
1683
+ "maximum": 65535,
1684
+ "minimum": 0,
1685
+ "type": "integer"
1686
+ },
1687
+ "authorization": {
1688
+ "$ref": "#/$defs/AuthorizationBinding",
1689
+ "default": {}
1690
+ },
1691
+ "id": {
1692
+ "type": "string"
1693
+ },
1694
+ "kind": {
1695
+ "const": "mcp.prompt",
1696
+ "type": "string"
1697
+ },
1698
+ "lifecycleScope": {
1699
+ "$ref": "#/$defs/LifecycleScope",
1700
+ "default": "mount"
1701
+ },
1702
+ "options": {
1703
+ "$ref": "#/$defs/McpOptions"
1704
+ },
1705
+ "publishes": {
1706
+ "items": {
1707
+ "type": "string"
1708
+ },
1709
+ "type": "array"
1710
+ },
1711
+ "subscribes": {
1712
+ "items": {
1713
+ "type": "string"
1714
+ },
1715
+ "type": "array"
1716
+ },
1717
+ "targets": {
1718
+ "additionalProperties": false,
1719
+ "properties": {
1720
+ "desktop": {
1721
+ "$ref": "#/$defs/ContributionTarget"
1722
+ },
1723
+ "mobile": {
1724
+ "$ref": "#/$defs/ContributionTarget"
1725
+ },
1726
+ "node": {
1727
+ "$ref": "#/$defs/ContributionTarget"
1728
+ },
1729
+ "quickjs": {
1730
+ "$ref": "#/$defs/ContributionTarget"
1731
+ },
1732
+ "worker": {
1733
+ "$ref": "#/$defs/ContributionTarget"
1734
+ },
1735
+ "workflow-host": {
1736
+ "$ref": "#/$defs/ContributionTarget"
1737
+ }
1738
+ },
1739
+ "type": "object"
1740
+ }
1741
+ },
1742
+ "required": ["kind", "id", "apiVersion", "options"],
1743
+ "type": "object"
1744
+ },
1745
+ {
1746
+ "additionalProperties": false,
1747
+ "description": "Fields shared by every package contribution.",
1748
+ "properties": {
1749
+ "apiVersion": {
1750
+ "format": "uint16",
1751
+ "maximum": 65535,
1752
+ "minimum": 0,
1753
+ "type": "integer"
1754
+ },
1755
+ "authorization": {
1756
+ "$ref": "#/$defs/AuthorizationBinding",
1757
+ "default": {}
1758
+ },
1759
+ "id": {
1760
+ "type": "string"
1761
+ },
1762
+ "kind": {
1763
+ "const": "mcp.resource",
1764
+ "type": "string"
1765
+ },
1766
+ "lifecycleScope": {
1767
+ "$ref": "#/$defs/LifecycleScope",
1768
+ "default": "mount"
1769
+ },
1770
+ "options": {
1771
+ "$ref": "#/$defs/McpOptions"
1772
+ },
1773
+ "publishes": {
1774
+ "items": {
1775
+ "type": "string"
1776
+ },
1777
+ "type": "array"
1778
+ },
1779
+ "subscribes": {
1780
+ "items": {
1781
+ "type": "string"
1782
+ },
1783
+ "type": "array"
1784
+ },
1785
+ "targets": {
1786
+ "additionalProperties": false,
1787
+ "properties": {
1788
+ "desktop": {
1789
+ "$ref": "#/$defs/ContributionTarget"
1790
+ },
1791
+ "mobile": {
1792
+ "$ref": "#/$defs/ContributionTarget"
1793
+ },
1794
+ "node": {
1795
+ "$ref": "#/$defs/ContributionTarget"
1796
+ },
1797
+ "quickjs": {
1798
+ "$ref": "#/$defs/ContributionTarget"
1799
+ },
1800
+ "worker": {
1801
+ "$ref": "#/$defs/ContributionTarget"
1802
+ },
1803
+ "workflow-host": {
1804
+ "$ref": "#/$defs/ContributionTarget"
1805
+ }
1806
+ },
1807
+ "type": "object"
1808
+ }
1809
+ },
1810
+ "required": ["kind", "id", "apiVersion", "options"],
1811
+ "type": "object"
1812
+ },
1813
+ {
1814
+ "additionalProperties": false,
1815
+ "description": "Fields shared by every package contribution.",
1816
+ "properties": {
1817
+ "apiVersion": {
1818
+ "format": "uint16",
1819
+ "maximum": 65535,
1820
+ "minimum": 0,
1821
+ "type": "integer"
1822
+ },
1823
+ "authorization": {
1824
+ "$ref": "#/$defs/AuthorizationBinding",
1825
+ "default": {}
1826
+ },
1827
+ "id": {
1828
+ "type": "string"
1829
+ },
1830
+ "kind": {
1831
+ "const": "mcp.resource-template",
1832
+ "type": "string"
1833
+ },
1834
+ "lifecycleScope": {
1835
+ "$ref": "#/$defs/LifecycleScope",
1836
+ "default": "mount"
1837
+ },
1838
+ "options": {
1839
+ "$ref": "#/$defs/McpOptions"
1840
+ },
1841
+ "publishes": {
1842
+ "items": {
1843
+ "type": "string"
1844
+ },
1845
+ "type": "array"
1846
+ },
1847
+ "subscribes": {
1848
+ "items": {
1849
+ "type": "string"
1850
+ },
1851
+ "type": "array"
1852
+ },
1853
+ "targets": {
1854
+ "additionalProperties": false,
1855
+ "properties": {
1856
+ "desktop": {
1857
+ "$ref": "#/$defs/ContributionTarget"
1858
+ },
1859
+ "mobile": {
1860
+ "$ref": "#/$defs/ContributionTarget"
1861
+ },
1862
+ "node": {
1863
+ "$ref": "#/$defs/ContributionTarget"
1864
+ },
1865
+ "quickjs": {
1866
+ "$ref": "#/$defs/ContributionTarget"
1867
+ },
1868
+ "worker": {
1869
+ "$ref": "#/$defs/ContributionTarget"
1870
+ },
1871
+ "workflow-host": {
1872
+ "$ref": "#/$defs/ContributionTarget"
1873
+ }
1874
+ },
1875
+ "type": "object"
1876
+ }
1877
+ },
1878
+ "required": ["kind", "id", "apiVersion", "options"],
1879
+ "type": "object"
1880
+ },
1881
+ {
1882
+ "additionalProperties": false,
1883
+ "description": "Fields shared by every package contribution.",
1884
+ "properties": {
1885
+ "apiVersion": {
1886
+ "format": "uint16",
1887
+ "maximum": 65535,
1888
+ "minimum": 0,
1889
+ "type": "integer"
1890
+ },
1891
+ "authorization": {
1892
+ "$ref": "#/$defs/AuthorizationBinding",
1893
+ "default": {}
1894
+ },
1895
+ "id": {
1896
+ "type": "string"
1897
+ },
1898
+ "kind": {
1899
+ "const": "mcp.app",
1900
+ "type": "string"
1901
+ },
1902
+ "lifecycleScope": {
1903
+ "$ref": "#/$defs/LifecycleScope",
1904
+ "default": "mount"
1905
+ },
1906
+ "options": {
1907
+ "$ref": "#/$defs/McpOptions"
1908
+ },
1909
+ "publishes": {
1910
+ "items": {
1911
+ "type": "string"
1912
+ },
1913
+ "type": "array"
1914
+ },
1915
+ "subscribes": {
1916
+ "items": {
1917
+ "type": "string"
1918
+ },
1919
+ "type": "array"
1920
+ },
1921
+ "targets": {
1922
+ "additionalProperties": false,
1923
+ "properties": {
1924
+ "desktop": {
1925
+ "$ref": "#/$defs/ContributionTarget"
1926
+ },
1927
+ "mobile": {
1928
+ "$ref": "#/$defs/ContributionTarget"
1929
+ },
1930
+ "node": {
1931
+ "$ref": "#/$defs/ContributionTarget"
1932
+ },
1933
+ "quickjs": {
1934
+ "$ref": "#/$defs/ContributionTarget"
1935
+ },
1936
+ "worker": {
1937
+ "$ref": "#/$defs/ContributionTarget"
1938
+ },
1939
+ "workflow-host": {
1940
+ "$ref": "#/$defs/ContributionTarget"
1941
+ }
1942
+ },
1943
+ "type": "object"
1944
+ }
1945
+ },
1946
+ "required": ["kind", "id", "apiVersion", "options"],
1947
+ "type": "object"
1948
+ },
1949
+ {
1950
+ "additionalProperties": false,
1951
+ "description": "Fields shared by every package contribution.",
1952
+ "properties": {
1953
+ "apiVersion": {
1954
+ "format": "uint16",
1955
+ "maximum": 65535,
1956
+ "minimum": 0,
1957
+ "type": "integer"
1958
+ },
1959
+ "authorization": {
1960
+ "$ref": "#/$defs/AuthorizationBinding",
1961
+ "default": {}
1962
+ },
1963
+ "id": {
1964
+ "type": "string"
1965
+ },
1966
+ "kind": {
1967
+ "const": "miniapp",
1968
+ "type": "string"
1969
+ },
1970
+ "lifecycleScope": {
1971
+ "$ref": "#/$defs/LifecycleScope",
1972
+ "default": "mount"
1973
+ },
1974
+ "options": {
1975
+ "$ref": "#/$defs/CompositionOptions"
1976
+ },
1977
+ "publishes": {
1978
+ "items": {
1979
+ "type": "string"
1980
+ },
1981
+ "type": "array"
1982
+ },
1983
+ "subscribes": {
1984
+ "items": {
1985
+ "type": "string"
1986
+ },
1987
+ "type": "array"
1988
+ },
1989
+ "targets": {
1990
+ "additionalProperties": false,
1991
+ "properties": {
1992
+ "desktop": {
1993
+ "$ref": "#/$defs/ContributionTarget"
1994
+ },
1995
+ "mobile": {
1996
+ "$ref": "#/$defs/ContributionTarget"
1997
+ },
1998
+ "node": {
1999
+ "$ref": "#/$defs/ContributionTarget"
2000
+ },
2001
+ "quickjs": {
2002
+ "$ref": "#/$defs/ContributionTarget"
2003
+ },
2004
+ "worker": {
2005
+ "$ref": "#/$defs/ContributionTarget"
2006
+ },
2007
+ "workflow-host": {
2008
+ "$ref": "#/$defs/ContributionTarget"
2009
+ }
2010
+ },
2011
+ "type": "object"
2012
+ }
2013
+ },
2014
+ "required": ["kind", "id", "apiVersion", "options"],
2015
+ "type": "object"
2016
+ },
2017
+ {
2018
+ "additionalProperties": false,
2019
+ "description": "Fields shared by every package contribution.",
2020
+ "properties": {
2021
+ "apiVersion": {
2022
+ "format": "uint16",
2023
+ "maximum": 65535,
2024
+ "minimum": 0,
2025
+ "type": "integer"
2026
+ },
2027
+ "authorization": {
2028
+ "$ref": "#/$defs/AuthorizationBinding",
2029
+ "default": {}
2030
+ },
2031
+ "id": {
2032
+ "type": "string"
2033
+ },
2034
+ "kind": {
2035
+ "const": "integration.connector",
2036
+ "type": "string"
2037
+ },
2038
+ "lifecycleScope": {
2039
+ "$ref": "#/$defs/LifecycleScope",
2040
+ "default": "mount"
2041
+ },
2042
+ "options": {
2043
+ "$ref": "#/$defs/CompositionOptions"
2044
+ },
2045
+ "publishes": {
2046
+ "items": {
2047
+ "type": "string"
2048
+ },
2049
+ "type": "array"
2050
+ },
2051
+ "subscribes": {
2052
+ "items": {
2053
+ "type": "string"
2054
+ },
2055
+ "type": "array"
2056
+ },
2057
+ "targets": {
2058
+ "additionalProperties": false,
2059
+ "properties": {
2060
+ "desktop": {
2061
+ "$ref": "#/$defs/ContributionTarget"
2062
+ },
2063
+ "mobile": {
2064
+ "$ref": "#/$defs/ContributionTarget"
2065
+ },
2066
+ "node": {
2067
+ "$ref": "#/$defs/ContributionTarget"
2068
+ },
2069
+ "quickjs": {
2070
+ "$ref": "#/$defs/ContributionTarget"
2071
+ },
2072
+ "worker": {
2073
+ "$ref": "#/$defs/ContributionTarget"
2074
+ },
2075
+ "workflow-host": {
2076
+ "$ref": "#/$defs/ContributionTarget"
2077
+ }
2078
+ },
2079
+ "type": "object"
2080
+ }
2081
+ },
2082
+ "required": ["kind", "id", "apiVersion", "options"],
2083
+ "type": "object"
2084
+ },
2085
+ {
2086
+ "additionalProperties": false,
2087
+ "description": "Fields shared by every package contribution.",
2088
+ "properties": {
2089
+ "apiVersion": {
2090
+ "format": "uint16",
2091
+ "maximum": 65535,
2092
+ "minimum": 0,
2093
+ "type": "integer"
2094
+ },
2095
+ "authorization": {
2096
+ "$ref": "#/$defs/AuthorizationBinding",
2097
+ "default": {}
2098
+ },
2099
+ "id": {
2100
+ "type": "string"
2101
+ },
2102
+ "kind": {
2103
+ "const": "browser.extension",
2104
+ "type": "string"
2105
+ },
2106
+ "lifecycleScope": {
2107
+ "$ref": "#/$defs/LifecycleScope",
2108
+ "default": "mount"
2109
+ },
2110
+ "options": {
2111
+ "$ref": "#/$defs/BrowserExtensionOptions"
2112
+ },
2113
+ "publishes": {
2114
+ "items": {
2115
+ "type": "string"
2116
+ },
2117
+ "type": "array"
2118
+ },
2119
+ "subscribes": {
2120
+ "items": {
2121
+ "type": "string"
2122
+ },
2123
+ "type": "array"
2124
+ },
2125
+ "targets": {
2126
+ "additionalProperties": false,
2127
+ "properties": {
2128
+ "desktop": {
2129
+ "$ref": "#/$defs/ContributionTarget"
2130
+ },
2131
+ "mobile": {
2132
+ "$ref": "#/$defs/ContributionTarget"
2133
+ },
2134
+ "node": {
2135
+ "$ref": "#/$defs/ContributionTarget"
2136
+ },
2137
+ "quickjs": {
2138
+ "$ref": "#/$defs/ContributionTarget"
2139
+ },
2140
+ "worker": {
2141
+ "$ref": "#/$defs/ContributionTarget"
2142
+ },
2143
+ "workflow-host": {
2144
+ "$ref": "#/$defs/ContributionTarget"
2145
+ }
2146
+ },
2147
+ "type": "object"
2148
+ }
2149
+ },
2150
+ "required": ["kind", "id", "apiVersion", "options"],
2151
+ "type": "object"
2152
+ },
2153
+ {
2154
+ "additionalProperties": false,
2155
+ "description": "Fields shared by every package contribution.",
2156
+ "properties": {
2157
+ "apiVersion": {
2158
+ "format": "uint16",
2159
+ "maximum": 65535,
2160
+ "minimum": 0,
2161
+ "type": "integer"
2162
+ },
2163
+ "authorization": {
2164
+ "$ref": "#/$defs/AuthorizationBinding",
2165
+ "default": {}
2166
+ },
2167
+ "id": {
2168
+ "type": "string"
2169
+ },
2170
+ "kind": {
2171
+ "const": "knowledge.plot-template",
2172
+ "type": "string"
2173
+ },
2174
+ "lifecycleScope": {
2175
+ "$ref": "#/$defs/LifecycleScope",
2176
+ "default": "mount"
2177
+ },
2178
+ "options": {
2179
+ "$ref": "#/$defs/KnowledgeOptions"
2180
+ },
2181
+ "publishes": {
2182
+ "items": {
2183
+ "type": "string"
2184
+ },
2185
+ "type": "array"
2186
+ },
2187
+ "subscribes": {
2188
+ "items": {
2189
+ "type": "string"
2190
+ },
2191
+ "type": "array"
2192
+ },
2193
+ "targets": {
2194
+ "additionalProperties": false,
2195
+ "properties": {
2196
+ "desktop": {
2197
+ "$ref": "#/$defs/ContributionTarget"
2198
+ },
2199
+ "mobile": {
2200
+ "$ref": "#/$defs/ContributionTarget"
2201
+ },
2202
+ "node": {
2203
+ "$ref": "#/$defs/ContributionTarget"
2204
+ },
2205
+ "quickjs": {
2206
+ "$ref": "#/$defs/ContributionTarget"
2207
+ },
2208
+ "worker": {
2209
+ "$ref": "#/$defs/ContributionTarget"
2210
+ },
2211
+ "workflow-host": {
2212
+ "$ref": "#/$defs/ContributionTarget"
2213
+ }
2214
+ },
2215
+ "type": "object"
2216
+ }
2217
+ },
2218
+ "required": ["kind", "id", "apiVersion", "options"],
2219
+ "type": "object"
2220
+ },
2221
+ {
2222
+ "additionalProperties": false,
2223
+ "description": "Fields shared by every package contribution.",
2224
+ "properties": {
2225
+ "apiVersion": {
2226
+ "format": "uint16",
2227
+ "maximum": 65535,
2228
+ "minimum": 0,
2229
+ "type": "integer"
2230
+ },
2231
+ "authorization": {
2232
+ "$ref": "#/$defs/AuthorizationBinding",
2233
+ "default": {}
2234
+ },
2235
+ "id": {
2236
+ "type": "string"
2237
+ },
2238
+ "kind": {
2239
+ "const": "knowledge.source-provider",
2240
+ "type": "string"
2241
+ },
2242
+ "lifecycleScope": {
2243
+ "$ref": "#/$defs/LifecycleScope",
2244
+ "default": "mount"
2245
+ },
2246
+ "options": {
2247
+ "$ref": "#/$defs/KnowledgeOptions"
2248
+ },
2249
+ "publishes": {
2250
+ "items": {
2251
+ "type": "string"
2252
+ },
2253
+ "type": "array"
2254
+ },
2255
+ "subscribes": {
2256
+ "items": {
2257
+ "type": "string"
2258
+ },
2259
+ "type": "array"
2260
+ },
2261
+ "targets": {
2262
+ "additionalProperties": false,
2263
+ "properties": {
2264
+ "desktop": {
2265
+ "$ref": "#/$defs/ContributionTarget"
2266
+ },
2267
+ "mobile": {
2268
+ "$ref": "#/$defs/ContributionTarget"
2269
+ },
2270
+ "node": {
2271
+ "$ref": "#/$defs/ContributionTarget"
2272
+ },
2273
+ "quickjs": {
2274
+ "$ref": "#/$defs/ContributionTarget"
2275
+ },
2276
+ "worker": {
2277
+ "$ref": "#/$defs/ContributionTarget"
2278
+ },
2279
+ "workflow-host": {
2280
+ "$ref": "#/$defs/ContributionTarget"
2281
+ }
2282
+ },
2283
+ "type": "object"
2284
+ }
2285
+ },
2286
+ "required": ["kind", "id", "apiVersion", "options"],
2287
+ "type": "object"
2288
+ },
2289
+ {
2290
+ "additionalProperties": false,
2291
+ "description": "Fields shared by every package contribution.",
2292
+ "properties": {
2293
+ "apiVersion": {
2294
+ "format": "uint16",
2295
+ "maximum": 65535,
2296
+ "minimum": 0,
2297
+ "type": "integer"
2298
+ },
2299
+ "authorization": {
2300
+ "$ref": "#/$defs/AuthorizationBinding",
2301
+ "default": {}
2302
+ },
2303
+ "id": {
2304
+ "type": "string"
2305
+ },
2306
+ "kind": {
2307
+ "const": "knowledge.enricher",
2308
+ "type": "string"
2309
+ },
2310
+ "lifecycleScope": {
2311
+ "$ref": "#/$defs/LifecycleScope",
2312
+ "default": "mount"
2313
+ },
2314
+ "options": {
2315
+ "$ref": "#/$defs/KnowledgeOptions"
2316
+ },
2317
+ "publishes": {
2318
+ "items": {
2319
+ "type": "string"
2320
+ },
2321
+ "type": "array"
2322
+ },
2323
+ "subscribes": {
2324
+ "items": {
2325
+ "type": "string"
2326
+ },
2327
+ "type": "array"
2328
+ },
2329
+ "targets": {
2330
+ "additionalProperties": false,
2331
+ "properties": {
2332
+ "desktop": {
2333
+ "$ref": "#/$defs/ContributionTarget"
2334
+ },
2335
+ "mobile": {
2336
+ "$ref": "#/$defs/ContributionTarget"
2337
+ },
2338
+ "node": {
2339
+ "$ref": "#/$defs/ContributionTarget"
2340
+ },
2341
+ "quickjs": {
2342
+ "$ref": "#/$defs/ContributionTarget"
2343
+ },
2344
+ "worker": {
2345
+ "$ref": "#/$defs/ContributionTarget"
2346
+ },
2347
+ "workflow-host": {
2348
+ "$ref": "#/$defs/ContributionTarget"
2349
+ }
2350
+ },
2351
+ "type": "object"
2352
+ }
2353
+ },
2354
+ "required": ["kind", "id", "apiVersion", "options"],
2355
+ "type": "object"
2356
+ },
2357
+ {
2358
+ "additionalProperties": false,
2359
+ "description": "Fields shared by every package contribution.",
2360
+ "properties": {
2361
+ "apiVersion": {
2362
+ "format": "uint16",
2363
+ "maximum": 65535,
2364
+ "minimum": 0,
2365
+ "type": "integer"
2366
+ },
2367
+ "authorization": {
2368
+ "$ref": "#/$defs/AuthorizationBinding",
2369
+ "default": {}
2370
+ },
2371
+ "id": {
2372
+ "type": "string"
2373
+ },
2374
+ "kind": {
2375
+ "const": "knowledge.retriever",
2376
+ "type": "string"
2377
+ },
2378
+ "lifecycleScope": {
2379
+ "$ref": "#/$defs/LifecycleScope",
2380
+ "default": "mount"
2381
+ },
2382
+ "options": {
2383
+ "$ref": "#/$defs/KnowledgeOptions"
2384
+ },
2385
+ "publishes": {
2386
+ "items": {
2387
+ "type": "string"
2388
+ },
2389
+ "type": "array"
2390
+ },
2391
+ "subscribes": {
2392
+ "items": {
2393
+ "type": "string"
2394
+ },
2395
+ "type": "array"
2396
+ },
2397
+ "targets": {
2398
+ "additionalProperties": false,
2399
+ "properties": {
2400
+ "desktop": {
2401
+ "$ref": "#/$defs/ContributionTarget"
2402
+ },
2403
+ "mobile": {
2404
+ "$ref": "#/$defs/ContributionTarget"
2405
+ },
2406
+ "node": {
2407
+ "$ref": "#/$defs/ContributionTarget"
2408
+ },
2409
+ "quickjs": {
2410
+ "$ref": "#/$defs/ContributionTarget"
2411
+ },
2412
+ "worker": {
2413
+ "$ref": "#/$defs/ContributionTarget"
2414
+ },
2415
+ "workflow-host": {
2416
+ "$ref": "#/$defs/ContributionTarget"
2417
+ }
2418
+ },
2419
+ "type": "object"
2420
+ }
2421
+ },
2422
+ "required": ["kind", "id", "apiVersion", "options"],
2423
+ "type": "object"
2424
+ },
2425
+ {
2426
+ "additionalProperties": false,
2427
+ "description": "Fields shared by every package contribution.",
2428
+ "properties": {
2429
+ "apiVersion": {
2430
+ "format": "uint16",
2431
+ "maximum": 65535,
2432
+ "minimum": 0,
2433
+ "type": "integer"
2434
+ },
2435
+ "authorization": {
2436
+ "$ref": "#/$defs/AuthorizationBinding",
2437
+ "default": {}
2438
+ },
2439
+ "id": {
2440
+ "type": "string"
2441
+ },
2442
+ "kind": {
2443
+ "const": "provider.adapter",
2444
+ "type": "string"
2445
+ },
2446
+ "lifecycleScope": {
2447
+ "$ref": "#/$defs/LifecycleScope",
2448
+ "default": "mount"
2449
+ },
2450
+ "options": {
2451
+ "$ref": "#/$defs/ExecutableOptions"
2452
+ },
2453
+ "publishes": {
2454
+ "items": {
2455
+ "type": "string"
2456
+ },
2457
+ "type": "array"
2458
+ },
2459
+ "subscribes": {
2460
+ "items": {
2461
+ "type": "string"
2462
+ },
2463
+ "type": "array"
2464
+ },
2465
+ "targets": {
2466
+ "additionalProperties": false,
2467
+ "properties": {
2468
+ "desktop": {
2469
+ "$ref": "#/$defs/ContributionTarget"
2470
+ },
2471
+ "mobile": {
2472
+ "$ref": "#/$defs/ContributionTarget"
2473
+ },
2474
+ "node": {
2475
+ "$ref": "#/$defs/ContributionTarget"
2476
+ },
2477
+ "quickjs": {
2478
+ "$ref": "#/$defs/ContributionTarget"
2479
+ },
2480
+ "worker": {
2481
+ "$ref": "#/$defs/ContributionTarget"
2482
+ },
2483
+ "workflow-host": {
2484
+ "$ref": "#/$defs/ContributionTarget"
2485
+ }
2486
+ },
2487
+ "type": "object"
2488
+ }
2489
+ },
2490
+ "required": ["kind", "id", "apiVersion", "options"],
2491
+ "type": "object"
2492
+ },
2493
+ {
2494
+ "additionalProperties": false,
2495
+ "description": "Fields shared by every package contribution.",
2496
+ "properties": {
2497
+ "apiVersion": {
2498
+ "format": "uint16",
2499
+ "maximum": 65535,
2500
+ "minimum": 0,
2501
+ "type": "integer"
2502
+ },
2503
+ "authorization": {
2504
+ "$ref": "#/$defs/AuthorizationBinding",
2505
+ "default": {}
2506
+ },
2507
+ "id": {
2508
+ "type": "string"
2509
+ },
2510
+ "kind": {
2511
+ "const": "template",
2512
+ "type": "string"
2513
+ },
2514
+ "lifecycleScope": {
2515
+ "$ref": "#/$defs/LifecycleScope",
2516
+ "default": "mount"
2517
+ },
2518
+ "options": {
2519
+ "$ref": "#/$defs/DeclarativeOptions"
2520
+ },
2521
+ "publishes": {
2522
+ "items": {
2523
+ "type": "string"
2524
+ },
2525
+ "type": "array"
2526
+ },
2527
+ "subscribes": {
2528
+ "items": {
2529
+ "type": "string"
2530
+ },
2531
+ "type": "array"
2532
+ },
2533
+ "targets": {
2534
+ "additionalProperties": false,
2535
+ "properties": {
2536
+ "desktop": {
2537
+ "$ref": "#/$defs/ContributionTarget"
2538
+ },
2539
+ "mobile": {
2540
+ "$ref": "#/$defs/ContributionTarget"
2541
+ },
2542
+ "node": {
2543
+ "$ref": "#/$defs/ContributionTarget"
2544
+ },
2545
+ "quickjs": {
2546
+ "$ref": "#/$defs/ContributionTarget"
2547
+ },
2548
+ "worker": {
2549
+ "$ref": "#/$defs/ContributionTarget"
2550
+ },
2551
+ "workflow-host": {
2552
+ "$ref": "#/$defs/ContributionTarget"
2553
+ }
2554
+ },
2555
+ "type": "object"
2556
+ }
2557
+ },
2558
+ "required": ["kind", "id", "apiVersion", "options"],
2559
+ "type": "object"
2560
+ },
2561
+ {
2562
+ "additionalProperties": false,
2563
+ "description": "Fields shared by every package contribution.",
2564
+ "properties": {
2565
+ "apiVersion": {
2566
+ "format": "uint16",
2567
+ "maximum": 65535,
2568
+ "minimum": 0,
2569
+ "type": "integer"
2570
+ },
2571
+ "authorization": {
2572
+ "$ref": "#/$defs/AuthorizationBinding",
2573
+ "default": {}
2574
+ },
2575
+ "id": {
2576
+ "type": "string"
2577
+ },
2578
+ "kind": {
2579
+ "const": "permission.catalog",
2580
+ "type": "string"
2581
+ },
2582
+ "lifecycleScope": {
2583
+ "$ref": "#/$defs/LifecycleScope",
2584
+ "default": "mount"
2585
+ },
2586
+ "options": {
2587
+ "$ref": "#/$defs/PermissionCatalogOptions"
2588
+ },
2589
+ "publishes": {
2590
+ "items": {
2591
+ "type": "string"
2592
+ },
2593
+ "type": "array"
2594
+ },
2595
+ "subscribes": {
2596
+ "items": {
2597
+ "type": "string"
2598
+ },
2599
+ "type": "array"
2600
+ },
2601
+ "targets": {
2602
+ "additionalProperties": false,
2603
+ "properties": {
2604
+ "desktop": {
2605
+ "$ref": "#/$defs/ContributionTarget"
2606
+ },
2607
+ "mobile": {
2608
+ "$ref": "#/$defs/ContributionTarget"
2609
+ },
2610
+ "node": {
2611
+ "$ref": "#/$defs/ContributionTarget"
2612
+ },
2613
+ "quickjs": {
2614
+ "$ref": "#/$defs/ContributionTarget"
2615
+ },
2616
+ "worker": {
2617
+ "$ref": "#/$defs/ContributionTarget"
2618
+ },
2619
+ "workflow-host": {
2620
+ "$ref": "#/$defs/ContributionTarget"
2621
+ }
2622
+ },
2623
+ "type": "object"
2624
+ }
2625
+ },
2626
+ "required": ["kind", "id", "apiVersion", "options"],
2627
+ "type": "object"
2628
+ }
2629
+ ]
2630
+ },
2631
+ "PackageDependency": {
2632
+ "additionalProperties": false,
2633
+ "properties": {
2634
+ "alias": {
2635
+ "type": "string"
2636
+ },
2637
+ "optional": {
2638
+ "default": false,
2639
+ "type": "boolean"
2640
+ },
2641
+ "packageId": {
2642
+ "type": "string"
2643
+ },
2644
+ "version": {
2645
+ "type": "string"
2646
+ }
2647
+ },
2648
+ "required": ["alias", "packageId", "version"],
2649
+ "type": "object"
2650
+ },
2651
+ "PackageEventCatalog": {
2652
+ "additionalProperties": false,
2653
+ "description": "Package-defined published and consumed events.",
2654
+ "properties": {
2655
+ "publishes": {
2656
+ "items": {
2657
+ "$ref": "#/$defs/PublishedEvent"
2658
+ },
2659
+ "type": "array"
2660
+ },
2661
+ "subscribes": {
2662
+ "items": {
2663
+ "$ref": "#/$defs/SubscribedEvent"
2664
+ },
2665
+ "type": "array"
2666
+ }
2667
+ },
2668
+ "type": "object"
2669
+ },
2670
+ "PackageIdentity": {
2671
+ "additionalProperties": false,
2672
+ "description": "Immutable identity carried by a package descriptor.",
2673
+ "properties": {
2674
+ "namespace": {
2675
+ "type": "string"
2676
+ },
2677
+ "organizationId": {
2678
+ "type": ["string", "null"]
2679
+ },
2680
+ "packageId": {
2681
+ "type": "string"
2682
+ },
2683
+ "parentPackageId": {
2684
+ "type": ["string", "null"]
2685
+ },
2686
+ "publisherId": {
2687
+ "type": "string"
2688
+ },
2689
+ "slug": {
2690
+ "type": "string"
2691
+ }
2692
+ },
2693
+ "required": ["packageId", "publisherId", "namespace", "slug"],
2694
+ "type": "object"
2695
+ },
2696
+ "PackageLifecyclePolicy": {
2697
+ "additionalProperties": false,
2698
+ "properties": {
2699
+ "checkpoint": {
2700
+ "$ref": "#/$defs/PersistencePolicy",
2701
+ "default": "none"
2702
+ },
2703
+ "checkpointSchema": {
2704
+ "type": ["string", "null"]
2705
+ },
2706
+ "lifecycleExpose": {
2707
+ "type": ["string", "null"]
2708
+ }
2709
+ },
2710
+ "type": "object"
2711
+ },
2712
+ "PackagePermissionAction": {
2713
+ "additionalProperties": false,
2714
+ "properties": {
2715
+ "autonomyCeiling": {
2716
+ "$ref": "#/$defs/AutonomyLevel"
2717
+ },
2718
+ "consent": {
2719
+ "$ref": "#/$defs/ConsentPolicy"
2720
+ },
2721
+ "delegatedActors": {
2722
+ "items": {
2723
+ "$ref": "#/$defs/ActorKind"
2724
+ },
2725
+ "type": "array"
2726
+ },
2727
+ "directActors": {
2728
+ "items": {
2729
+ "$ref": "#/$defs/ActorKind"
2730
+ },
2731
+ "type": "array"
2732
+ },
2733
+ "id": {
2734
+ "type": "string"
2735
+ },
2736
+ "resource": {
2737
+ "type": "string"
2738
+ },
2739
+ "risk": {
2740
+ "$ref": "#/$defs/PermissionRisk"
2741
+ },
2742
+ "scopes": {
2743
+ "items": {
2744
+ "$ref": "#/$defs/ContributionScope"
2745
+ },
2746
+ "type": "array"
2747
+ }
2748
+ },
2749
+ "required": [
2750
+ "id",
2751
+ "resource",
2752
+ "scopes",
2753
+ "directActors",
2754
+ "delegatedActors",
2755
+ "autonomyCeiling",
2756
+ "consent",
2757
+ "risk"
2758
+ ],
2759
+ "type": "object"
2760
+ },
2761
+ "PackagePermissionLevel": {
2762
+ "additionalProperties": false,
2763
+ "properties": {
2764
+ "actions": {
2765
+ "items": {
2766
+ "type": "string"
2767
+ },
2768
+ "type": "array"
2769
+ },
2770
+ "assignableTo": {
2771
+ "items": {
2772
+ "$ref": "#/$defs/ActorKind"
2773
+ },
2774
+ "type": "array"
2775
+ },
2776
+ "id": {
2777
+ "type": "string"
2778
+ },
2779
+ "includes": {
2780
+ "items": {
2781
+ "type": "string"
2782
+ },
2783
+ "type": "array"
2784
+ }
2785
+ },
2786
+ "required": ["id", "assignableTo"],
2787
+ "type": "object"
2788
+ },
2789
+ "PackagePresentation": {
2790
+ "additionalProperties": false,
2791
+ "description": "Package presentation metadata and content-addressed visual assets.",
2792
+ "properties": {
2793
+ "assets": {
2794
+ "items": {
2795
+ "$ref": "#/$defs/PresentationAsset"
2796
+ },
2797
+ "type": "array"
2798
+ },
2799
+ "description": {
2800
+ "type": "string"
2801
+ },
2802
+ "iconAssets": {
2803
+ "default": [],
2804
+ "description": "Ordered parent-package icon candidates. Empty inherits every app-icon\nfor backwards compatibility; collection packages should select their\nparent artwork explicitly so child surfaces cannot replace it.",
2805
+ "items": {
2806
+ "type": "string"
2807
+ },
2808
+ "type": "array"
2809
+ },
2810
+ "name": {
2811
+ "type": "string"
2812
+ }
2813
+ },
2814
+ "required": ["name", "description"],
2815
+ "type": "object"
2816
+ },
2817
+ "PermissionCatalogOptions": {
2818
+ "additionalProperties": false,
2819
+ "description": "A signed package-local permission catalog. These are definitions, never grants.",
2820
+ "properties": {
2821
+ "actions": {
2822
+ "items": {
2823
+ "$ref": "#/$defs/PackagePermissionAction"
2824
+ },
2825
+ "type": "array"
2826
+ },
2827
+ "levels": {
2828
+ "items": {
2829
+ "$ref": "#/$defs/PackagePermissionLevel"
2830
+ },
2831
+ "type": "array"
2832
+ },
2833
+ "roleRecommendations": {
2834
+ "items": {
2835
+ "$ref": "#/$defs/RoleRecommendation"
2836
+ },
2837
+ "type": "array"
2838
+ }
2839
+ },
2840
+ "type": "object"
2841
+ },
2842
+ "PermissionRisk": {
2843
+ "enum": ["read", "write", "consequential", "financial"],
2844
+ "type": "string"
2845
+ },
2846
+ "PersistencePolicy": {
2847
+ "enum": ["none", "checkpoint", "retained"],
2848
+ "type": "string"
2849
+ },
2850
+ "PresentationAsset": {
2851
+ "additionalProperties": false,
2852
+ "description": "A PNG or SVG package, publisher, or organization presentation asset.",
2853
+ "properties": {
2854
+ "integrity": {
2855
+ "type": "string"
2856
+ },
2857
+ "mediaType": {
2858
+ "$ref": "#/$defs/PresentationAssetMediaType"
2859
+ },
2860
+ "path": {
2861
+ "type": "string"
2862
+ },
2863
+ "role": {
2864
+ "$ref": "#/$defs/PresentationAssetRole"
2865
+ },
2866
+ "sizes": {
2867
+ "items": {
2868
+ "type": "string"
2869
+ },
2870
+ "type": "array"
2871
+ },
2872
+ "theme": {
2873
+ "$ref": "#/$defs/PresentationAssetTheme",
2874
+ "default": "any"
2875
+ }
2876
+ },
2877
+ "required": ["role", "mediaType", "path", "integrity"],
2878
+ "type": "object"
2879
+ },
2880
+ "PresentationAssetMediaType": {
2881
+ "enum": ["image/png", "image/svg+xml"],
2882
+ "type": "string"
2883
+ },
2884
+ "PresentationAssetRole": {
2885
+ "enum": [
2886
+ "app-icon",
2887
+ "publisher-icon",
2888
+ "organization-icon",
2889
+ "marketplace-card",
2890
+ "wordmark"
2891
+ ],
2892
+ "type": "string"
2893
+ },
2894
+ "PresentationAssetTheme": {
2895
+ "enum": ["any", "light", "dark"],
2896
+ "type": "string"
2897
+ },
2898
+ "PublishedEvent": {
2899
+ "additionalProperties": false,
2900
+ "properties": {
2901
+ "delivery": {
2902
+ "$ref": "#/$defs/EventDelivery"
2903
+ },
2904
+ "name": {
2905
+ "type": "string"
2906
+ },
2907
+ "schema": {
2908
+ "type": "string"
2909
+ },
2910
+ "schemaVersion": {
2911
+ "format": "uint16",
2912
+ "maximum": 65535,
2913
+ "minimum": 0,
2914
+ "type": "integer"
2915
+ },
2916
+ "visibility": {
2917
+ "$ref": "#/$defs/ContributionScope"
2918
+ }
2919
+ },
2920
+ "required": ["name", "schema", "schemaVersion", "visibility", "delivery"],
2921
+ "type": "object"
2922
+ },
2923
+ "ReleaseIdentity": {
2924
+ "additionalProperties": false,
2925
+ "description": "Immutable release identity carried by a package descriptor.",
2926
+ "properties": {
2927
+ "contentDigest": {
2928
+ "type": "string"
2929
+ },
2930
+ "releaseId": {
2931
+ "type": "string"
2932
+ },
2933
+ "version": {
2934
+ "type": "string"
2935
+ }
2936
+ },
2937
+ "required": ["releaseId", "version", "contentDigest"],
2938
+ "type": "object"
2939
+ },
2940
+ "RendererOptions": {
2941
+ "additionalProperties": false,
2942
+ "properties": {
2943
+ "payloadSchema": {
2944
+ "type": ["string", "null"]
2945
+ },
2946
+ "protocol": {
2947
+ "type": "string"
2948
+ }
2949
+ },
2950
+ "required": ["protocol"],
2951
+ "type": "object"
2952
+ },
2953
+ "RoleRecommendation": {
2954
+ "additionalProperties": false,
2955
+ "properties": {
2956
+ "actor": {
2957
+ "$ref": "#/$defs/ActorKind"
2958
+ },
2959
+ "level": {
2960
+ "type": "string"
2961
+ },
2962
+ "workspaceRole": {
2963
+ "type": "string"
2964
+ }
2965
+ },
2966
+ "required": ["actor", "workspaceRole", "level"],
2967
+ "type": "object"
2968
+ },
2969
+ "RuntimeEffect": {
2970
+ "additionalProperties": false,
2971
+ "properties": {
2972
+ "kind": {
2973
+ "type": "string"
2974
+ },
2975
+ "resources": {
2976
+ "items": {
2977
+ "type": "string"
2978
+ },
2979
+ "type": "array"
2980
+ }
2981
+ },
2982
+ "required": ["kind"],
2983
+ "type": "object"
2984
+ },
2985
+ "SubscribedEvent": {
2986
+ "additionalProperties": false,
2987
+ "properties": {
2988
+ "dependency": {
2989
+ "type": ["string", "null"]
2990
+ },
2991
+ "event": {
2992
+ "type": "string"
2993
+ },
2994
+ "versions": {
2995
+ "items": {
2996
+ "format": "uint16",
2997
+ "maximum": 65535,
2998
+ "minimum": 0,
2999
+ "type": "integer"
3000
+ },
3001
+ "type": "array"
3002
+ }
3003
+ },
3004
+ "required": ["event", "versions"],
3005
+ "type": "object"
3006
+ },
3007
+ "TapPackageDescriptorV1": {
3008
+ "additionalProperties": false,
3009
+ "description": "Versioned package descriptor inspected before a remote entry is evaluated.",
3010
+ "properties": {
3011
+ "$schema": {
3012
+ "description": "Optional JSON Schema reference for editor validation and completion.",
3013
+ "type": ["string", "null"]
3014
+ },
3015
+ "compatibility": {
3016
+ "$ref": "#/$defs/PackageCompatibility",
3017
+ "description": "Host and SDK compatibility requirements."
3018
+ },
3019
+ "contributions": {
3020
+ "description": "Statically declared contributions. Code cannot add undeclared contributions at runtime.",
3021
+ "items": {
3022
+ "$ref": "#/$defs/PackageContribution"
3023
+ },
3024
+ "type": "array"
3025
+ },
3026
+ "dependencies": {
3027
+ "description": "Package dependencies and optional collection children.",
3028
+ "items": {
3029
+ "$ref": "#/$defs/PackageDependency"
3030
+ },
3031
+ "type": "array"
3032
+ },
3033
+ "descriptorVersion": {
3034
+ "description": "Descriptor schema version. Version 1 is the first Federation package contract.",
3035
+ "format": "uint16",
3036
+ "maximum": 1,
3037
+ "minimum": 1,
3038
+ "type": "integer"
3039
+ },
3040
+ "events": {
3041
+ "$ref": "#/$defs/PackageEventCatalog",
3042
+ "default": {},
3043
+ "description": "Statically declared package event catalog."
3044
+ },
3045
+ "lifecycle": {
3046
+ "$ref": "#/$defs/PackageLifecyclePolicy",
3047
+ "default": {
3048
+ "checkpoint": "none"
3049
+ },
3050
+ "description": "Package lifecycle and checkpoint policy."
3051
+ },
3052
+ "package": {
3053
+ "$ref": "#/$defs/PackageIdentity",
3054
+ "description": "Immutable package, publisher, namespace, and collection identity."
3055
+ },
3056
+ "presentation": {
3057
+ "$ref": "#/$defs/PackagePresentation",
3058
+ "description": "Marketplace and host presentation metadata."
3059
+ },
3060
+ "release": {
3061
+ "$ref": "#/$defs/ReleaseIdentity",
3062
+ "description": "Immutable release identity and content digest."
3063
+ },
3064
+ "targets": {
3065
+ "additionalProperties": false,
3066
+ "description": "Target-specific Module Federation containers.",
3067
+ "properties": {
3068
+ "desktop": {
3069
+ "$ref": "#/$defs/FederationTarget"
3070
+ },
3071
+ "mobile": {
3072
+ "$ref": "#/$defs/FederationTarget"
3073
+ },
3074
+ "node": {
3075
+ "$ref": "#/$defs/FederationTarget"
3076
+ },
3077
+ "quickjs": {
3078
+ "$ref": "#/$defs/FederationTarget"
3079
+ },
3080
+ "worker": {
3081
+ "$ref": "#/$defs/FederationTarget"
3082
+ },
3083
+ "workflow-host": {
3084
+ "$ref": "#/$defs/FederationTarget"
3085
+ }
3086
+ },
3087
+ "type": "object"
3088
+ }
3089
+ },
3090
+ "required": [
3091
+ "descriptorVersion",
3092
+ "package",
3093
+ "release",
3094
+ "presentation",
3095
+ "compatibility",
3096
+ "targets",
3097
+ "contributions"
3098
+ ],
3099
+ "type": "object"
3100
+ },
3101
+ "TapRuntime": {
3102
+ "description": "Supported TAP miniapp runtime versions.",
3103
+ "enum": [0, 1],
3104
+ "type": "integer"
3105
+ },
3106
+ "TaskOptions": {
3107
+ "additionalProperties": false,
3108
+ "properties": {
3109
+ "canonicalStatuses": {
3110
+ "additionalProperties": {
3111
+ "type": "string"
3112
+ },
3113
+ "type": "object"
3114
+ },
3115
+ "migrationExpose": {
3116
+ "type": ["string", "null"]
3117
+ },
3118
+ "schema": {
3119
+ "type": "string"
3120
+ }
3121
+ },
3122
+ "required": ["schema"],
3123
+ "type": "object"
3124
+ },
3125
+ "UiPlacement": {
3126
+ "enum": [
3127
+ "workspace-left",
3128
+ "channel-apps",
3129
+ "chat-right",
3130
+ "route",
3131
+ "settings",
3132
+ "dialog",
3133
+ "standalone-window"
3134
+ ],
3135
+ "type": "string"
3136
+ },
3137
+ "UiSurfaceOptions": {
3138
+ "additionalProperties": false,
3139
+ "properties": {
3140
+ "description": {
3141
+ "type": ["string", "null"]
3142
+ },
3143
+ "displayName": {
3144
+ "description": "Surface-specific label. Packages with multiple mini apps must not rely\non the package-wide Marketplace name for every navigation entry.",
3145
+ "type": ["string", "null"]
3146
+ },
3147
+ "iconAssets": {
3148
+ "default": [],
3149
+ "description": "Ordered package presentation assets eligible for this contribution.\nEmpty inherits the package-level `presentation.iconAssets` selection.",
3150
+ "items": {
3151
+ "type": "string"
3152
+ },
3153
+ "type": "array"
3154
+ },
3155
+ "instancePolicy": {
3156
+ "$ref": "#/$defs/InstancePolicy",
3157
+ "default": "per-mount"
3158
+ },
3159
+ "persistence": {
3160
+ "$ref": "#/$defs/PersistencePolicy",
3161
+ "default": "none"
3162
+ },
3163
+ "placement": {
3164
+ "$ref": "#/$defs/UiPlacement"
3165
+ },
3166
+ "scope": {
3167
+ "$ref": "#/$defs/ContributionScope"
3168
+ }
3169
+ },
3170
+ "required": ["placement", "scope"],
3171
+ "type": "object"
3172
+ }
3173
+ },
3174
+ "$id": "https://tap.local/schemas/manifest.tap.schema.json",
3175
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3176
+ "anyOf": [
3177
+ {
3178
+ "$ref": "#/$defs/TapPackageDescriptorV1",
3179
+ "description": "A static TAP package descriptor, validated before its remote code is evaluated."
3180
+ },
3181
+ {
3182
+ "$ref": "#/$defs/MiniAppBundleManifest",
3183
+ "description": "A single miniapp bundle with its runtime entrypoint."
3184
+ },
3185
+ {
3186
+ "$ref": "#/$defs/MiniAppReferencesManifest",
3187
+ "description": "A collection manifest that points at built miniapp manifests."
3188
+ }
3189
+ ],
3190
+ "description": "Manifest for a Tap miniapp bundle or a collection of built miniapps.",
3191
+ "title": "Tap Miniapp Manifest"
3192
+ }