@floegence/redevplugin-ui 0.4.3 → 0.6.5

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,3991 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ "/_redevplugin/api/plugins/{plugin_instance_id}/local-import": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ get?: never;
14
+ put: operations["updateLocalPackage"];
15
+ post: operations["importLocalPackage"];
16
+ delete?: never;
17
+ options?: never;
18
+ head?: never;
19
+ patch?: never;
20
+ trace?: never;
21
+ };
22
+ "/_redevplugin/api/plugins/install-release-ref": {
23
+ parameters: {
24
+ query?: never;
25
+ header?: never;
26
+ path?: never;
27
+ cookie?: never;
28
+ };
29
+ get?: never;
30
+ put?: never;
31
+ post: operations["installReleaseRef"];
32
+ delete?: never;
33
+ options?: never;
34
+ head?: never;
35
+ patch?: never;
36
+ trace?: never;
37
+ };
38
+ "/_redevplugin/api/plugins/enable": {
39
+ parameters: {
40
+ query?: never;
41
+ header?: never;
42
+ path?: never;
43
+ cookie?: never;
44
+ };
45
+ get?: never;
46
+ put?: never;
47
+ post: operations["enablePlugin"];
48
+ delete?: never;
49
+ options?: never;
50
+ head?: never;
51
+ patch?: never;
52
+ trace?: never;
53
+ };
54
+ "/_redevplugin/api/plugins/disable": {
55
+ parameters: {
56
+ query?: never;
57
+ header?: never;
58
+ path?: never;
59
+ cookie?: never;
60
+ };
61
+ get?: never;
62
+ put?: never;
63
+ post: operations["disablePlugin"];
64
+ delete?: never;
65
+ options?: never;
66
+ head?: never;
67
+ patch?: never;
68
+ trace?: never;
69
+ };
70
+ "/_redevplugin/api/plugins/uninstall": {
71
+ parameters: {
72
+ query?: never;
73
+ header?: never;
74
+ path?: never;
75
+ cookie?: never;
76
+ };
77
+ get?: never;
78
+ put?: never;
79
+ post: operations["uninstallPlugin"];
80
+ delete?: never;
81
+ options?: never;
82
+ head?: never;
83
+ patch?: never;
84
+ trace?: never;
85
+ };
86
+ "/_redevplugin/api/plugins/update-release-ref": {
87
+ parameters: {
88
+ query?: never;
89
+ header?: never;
90
+ path?: never;
91
+ cookie?: never;
92
+ };
93
+ get?: never;
94
+ put?: never;
95
+ post: operations["updateReleaseRef"];
96
+ delete?: never;
97
+ options?: never;
98
+ head?: never;
99
+ patch?: never;
100
+ trace?: never;
101
+ };
102
+ "/_redevplugin/api/plugins/downgrade": {
103
+ parameters: {
104
+ query?: never;
105
+ header?: never;
106
+ path?: never;
107
+ cookie?: never;
108
+ };
109
+ get?: never;
110
+ put?: never;
111
+ post: operations["downgradePlugin"];
112
+ delete?: never;
113
+ options?: never;
114
+ head?: never;
115
+ patch?: never;
116
+ trace?: never;
117
+ };
118
+ "/_redevplugin/api/plugins/catalog/query": {
119
+ parameters: {
120
+ query?: never;
121
+ header?: never;
122
+ path?: never;
123
+ cookie?: never;
124
+ };
125
+ get?: never;
126
+ put?: never;
127
+ post: operations["listPlugins"];
128
+ delete?: never;
129
+ options?: never;
130
+ head?: never;
131
+ patch?: never;
132
+ trace?: never;
133
+ };
134
+ "/_redevplugin/api/plugins/features/query": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ get?: never;
142
+ put?: never;
143
+ post: operations["getPluginFeatures"];
144
+ delete?: never;
145
+ options?: never;
146
+ head?: never;
147
+ patch?: never;
148
+ trace?: never;
149
+ };
150
+ "/_redevplugin/api/plugins/platform/compatibility/query": {
151
+ parameters: {
152
+ query?: never;
153
+ header?: never;
154
+ path?: never;
155
+ cookie?: never;
156
+ };
157
+ get?: never;
158
+ put?: never;
159
+ /** @description Returns the host-consumable ReDevPlugin compatibility manifest for the mounted platform artifact set. */
160
+ post: operations["getPluginPlatformCompatibility"];
161
+ delete?: never;
162
+ options?: never;
163
+ head?: never;
164
+ patch?: never;
165
+ trace?: never;
166
+ };
167
+ "/_redevplugin/api/plugins/surfaces/open": {
168
+ parameters: {
169
+ query?: never;
170
+ header?: never;
171
+ path?: never;
172
+ cookie?: never;
173
+ };
174
+ get?: never;
175
+ put?: never;
176
+ post: operations["openPluginSurface"];
177
+ delete?: never;
178
+ options?: never;
179
+ head?: never;
180
+ patch?: never;
181
+ trace?: never;
182
+ };
183
+ "/_redevplugin/api/plugins/session/revoke-scope": {
184
+ parameters: {
185
+ query?: never;
186
+ header?: never;
187
+ path?: never;
188
+ cookie?: never;
189
+ };
190
+ get?: never;
191
+ put?: never;
192
+ /** @description Irreversibly fences the authenticated session, drains every exact-session platform and runtime resource, and returns only public cumulative counts. */
193
+ post: operations["revokePluginSessionScope"];
194
+ delete?: never;
195
+ options?: never;
196
+ head?: never;
197
+ patch?: never;
198
+ trace?: never;
199
+ };
200
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/prepare": {
201
+ parameters: {
202
+ query?: never;
203
+ header?: never;
204
+ path?: never;
205
+ cookie?: never;
206
+ };
207
+ get?: never;
208
+ put?: never;
209
+ post: operations["preparePluginSurface"];
210
+ delete?: never;
211
+ options?: never;
212
+ head?: never;
213
+ patch?: never;
214
+ trace?: never;
215
+ };
216
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/bridge-token": {
217
+ parameters: {
218
+ query?: never;
219
+ header?: never;
220
+ path?: never;
221
+ cookie?: never;
222
+ };
223
+ get?: never;
224
+ put?: never;
225
+ post: operations["createSurfaceBridgeToken"];
226
+ delete?: never;
227
+ options?: never;
228
+ head?: never;
229
+ patch?: never;
230
+ trace?: never;
231
+ };
232
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/assets/read": {
233
+ parameters: {
234
+ query?: never;
235
+ header?: never;
236
+ path?: never;
237
+ cookie?: never;
238
+ };
239
+ get?: never;
240
+ put?: never;
241
+ post: operations["readPreparedSurfaceAsset"];
242
+ delete?: never;
243
+ options?: never;
244
+ head?: never;
245
+ patch?: never;
246
+ trace?: never;
247
+ };
248
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/read": {
249
+ parameters: {
250
+ query?: never;
251
+ header?: never;
252
+ path?: never;
253
+ cookie?: never;
254
+ };
255
+ get?: never;
256
+ put?: never;
257
+ post: operations["readPreparedSurfaceStream"];
258
+ delete?: never;
259
+ options?: never;
260
+ head?: never;
261
+ patch?: never;
262
+ trace?: never;
263
+ };
264
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/ack": {
265
+ parameters: {
266
+ query?: never;
267
+ header?: never;
268
+ path?: never;
269
+ cookie?: never;
270
+ };
271
+ get?: never;
272
+ put?: never;
273
+ post: operations["acknowledgePreparedSurfaceStream"];
274
+ delete?: never;
275
+ options?: never;
276
+ head?: never;
277
+ patch?: never;
278
+ trace?: never;
279
+ };
280
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/operations/cancel": {
281
+ parameters: {
282
+ query?: never;
283
+ header?: never;
284
+ path?: never;
285
+ cookie?: never;
286
+ };
287
+ get?: never;
288
+ put?: never;
289
+ /** @description Cancels an operation only when it belongs to the authenticated surface, session, and private bridge channel. */
290
+ post: operations["cancelSurfacePluginOperation"];
291
+ delete?: never;
292
+ options?: never;
293
+ head?: never;
294
+ patch?: never;
295
+ trace?: never;
296
+ };
297
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject": {
298
+ parameters: {
299
+ query?: never;
300
+ header?: never;
301
+ path?: never;
302
+ cookie?: never;
303
+ };
304
+ get?: never;
305
+ put?: never;
306
+ /** @description Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel. */
307
+ post: operations["rejectSurfacePluginConfirmation"];
308
+ delete?: never;
309
+ options?: never;
310
+ head?: never;
311
+ patch?: never;
312
+ trace?: never;
313
+ };
314
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose": {
315
+ parameters: {
316
+ query?: never;
317
+ header?: never;
318
+ path?: never;
319
+ cookie?: never;
320
+ };
321
+ get?: never;
322
+ put?: never;
323
+ post: operations["disposePluginSurface"];
324
+ delete?: never;
325
+ options?: never;
326
+ head?: never;
327
+ patch?: never;
328
+ trace?: never;
329
+ };
330
+ "/_redevplugin/api/plugins/rpc": {
331
+ parameters: {
332
+ query?: never;
333
+ header?: never;
334
+ path?: never;
335
+ cookie?: never;
336
+ };
337
+ get?: never;
338
+ put?: never;
339
+ post: operations["callPluginMethod"];
340
+ delete?: never;
341
+ options?: never;
342
+ head?: never;
343
+ patch?: never;
344
+ trace?: never;
345
+ };
346
+ "/_redevplugin/api/plugins/confirmations/prepare": {
347
+ parameters: {
348
+ query?: never;
349
+ header?: never;
350
+ path?: never;
351
+ cookie?: never;
352
+ };
353
+ get?: never;
354
+ put?: never;
355
+ post: operations["preparePluginMethodConfirmation"];
356
+ delete?: never;
357
+ options?: never;
358
+ head?: never;
359
+ patch?: never;
360
+ trace?: never;
361
+ };
362
+ "/_redevplugin/api/plugins/intents/query": {
363
+ parameters: {
364
+ query?: never;
365
+ header?: never;
366
+ path?: never;
367
+ cookie?: never;
368
+ };
369
+ get?: never;
370
+ put?: never;
371
+ /** @description Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ "intents": [...] }`. */
372
+ post: operations["listPluginIntents"];
373
+ delete?: never;
374
+ options?: never;
375
+ head?: never;
376
+ patch?: never;
377
+ trace?: never;
378
+ };
379
+ "/_redevplugin/api/plugins/intents/invoke": {
380
+ parameters: {
381
+ query?: never;
382
+ header?: never;
383
+ path?: never;
384
+ cookie?: never;
385
+ };
386
+ get?: never;
387
+ put?: never;
388
+ /** @description Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks. */
389
+ post: operations["invokePluginIntent"];
390
+ delete?: never;
391
+ options?: never;
392
+ head?: never;
393
+ patch?: never;
394
+ trace?: never;
395
+ };
396
+ "/_redevplugin/api/plugins/operations/query": {
397
+ parameters: {
398
+ query?: never;
399
+ header?: never;
400
+ path?: never;
401
+ cookie?: never;
402
+ };
403
+ get?: never;
404
+ put?: never;
405
+ post: operations["listPluginOperations"];
406
+ delete?: never;
407
+ options?: never;
408
+ head?: never;
409
+ patch?: never;
410
+ trace?: never;
411
+ };
412
+ "/_redevplugin/api/plugins/operations/{operation_id}/query": {
413
+ parameters: {
414
+ query?: never;
415
+ header?: never;
416
+ path?: never;
417
+ cookie?: never;
418
+ };
419
+ get?: never;
420
+ put?: never;
421
+ post: operations["getPluginOperation"];
422
+ delete?: never;
423
+ options?: never;
424
+ head?: never;
425
+ patch?: never;
426
+ trace?: never;
427
+ };
428
+ "/_redevplugin/api/plugins/operations/{operation_id}/cancel": {
429
+ parameters: {
430
+ query?: never;
431
+ header?: never;
432
+ path?: never;
433
+ cookie?: never;
434
+ };
435
+ get?: never;
436
+ put?: never;
437
+ post: operations["cancelPluginOperation"];
438
+ delete?: never;
439
+ options?: never;
440
+ head?: never;
441
+ patch?: never;
442
+ trace?: never;
443
+ };
444
+ "/_redevplugin/api/plugins/runtime/start": {
445
+ parameters: {
446
+ query?: never;
447
+ header?: never;
448
+ path?: never;
449
+ cookie?: never;
450
+ };
451
+ get?: never;
452
+ put?: never;
453
+ post: operations["startPluginRuntime"];
454
+ delete?: never;
455
+ options?: never;
456
+ head?: never;
457
+ patch?: never;
458
+ trace?: never;
459
+ };
460
+ "/_redevplugin/api/plugins/runtime/stop": {
461
+ parameters: {
462
+ query?: never;
463
+ header?: never;
464
+ path?: never;
465
+ cookie?: never;
466
+ };
467
+ get?: never;
468
+ put?: never;
469
+ post: operations["stopPluginRuntime"];
470
+ delete?: never;
471
+ options?: never;
472
+ head?: never;
473
+ patch?: never;
474
+ trace?: never;
475
+ };
476
+ "/_redevplugin/api/plugins/runtime/refresh-enabled": {
477
+ parameters: {
478
+ query?: never;
479
+ header?: never;
480
+ path?: never;
481
+ cookie?: never;
482
+ };
483
+ get?: never;
484
+ put?: never;
485
+ /** @description Replays runtime-derived state for enabled plugins after the embedding host process restarts or reattaches adapters. The response data is `{ "results": [...] }`. */
486
+ post: operations["refreshEnabledPluginRuntimeState"];
487
+ delete?: never;
488
+ options?: never;
489
+ head?: never;
490
+ patch?: never;
491
+ trace?: never;
492
+ };
493
+ "/_redevplugin/api/plugins/runtime/health/query": {
494
+ parameters: {
495
+ query?: never;
496
+ header?: never;
497
+ path?: never;
498
+ cookie?: never;
499
+ };
500
+ get?: never;
501
+ put?: never;
502
+ post: operations["getPluginRuntimeHealth"];
503
+ delete?: never;
504
+ options?: never;
505
+ head?: never;
506
+ patch?: never;
507
+ trace?: never;
508
+ };
509
+ "/_redevplugin/api/plugins/data/export": {
510
+ parameters: {
511
+ query?: never;
512
+ header?: never;
513
+ path?: never;
514
+ cookie?: never;
515
+ };
516
+ get?: never;
517
+ put?: never;
518
+ post: operations["exportPluginData"];
519
+ delete?: never;
520
+ options?: never;
521
+ head?: never;
522
+ patch?: never;
523
+ trace?: never;
524
+ };
525
+ "/_redevplugin/api/plugins/data/export/delete": {
526
+ parameters: {
527
+ query?: never;
528
+ header?: never;
529
+ path?: never;
530
+ cookie?: never;
531
+ };
532
+ get?: never;
533
+ put?: never;
534
+ post: operations["deletePluginDataExport"];
535
+ delete?: never;
536
+ options?: never;
537
+ head?: never;
538
+ patch?: never;
539
+ trace?: never;
540
+ };
541
+ "/_redevplugin/api/plugins/data/import": {
542
+ parameters: {
543
+ query?: never;
544
+ header?: never;
545
+ path?: never;
546
+ cookie?: never;
547
+ };
548
+ get?: never;
549
+ put?: never;
550
+ post: operations["importPluginData"];
551
+ delete?: never;
552
+ options?: never;
553
+ head?: never;
554
+ patch?: never;
555
+ trace?: never;
556
+ };
557
+ "/_redevplugin/api/plugins/retained-data/query": {
558
+ parameters: {
559
+ query?: never;
560
+ header?: never;
561
+ path?: never;
562
+ cookie?: never;
563
+ };
564
+ get?: never;
565
+ put?: never;
566
+ post: operations["listPluginRetainedData"];
567
+ delete?: never;
568
+ options?: never;
569
+ head?: never;
570
+ patch?: never;
571
+ trace?: never;
572
+ };
573
+ "/_redevplugin/api/plugins/retained-data/delete": {
574
+ parameters: {
575
+ query?: never;
576
+ header?: never;
577
+ path?: never;
578
+ cookie?: never;
579
+ };
580
+ get?: never;
581
+ put?: never;
582
+ post: operations["deletePluginRetainedData"];
583
+ delete?: never;
584
+ options?: never;
585
+ head?: never;
586
+ patch?: never;
587
+ trace?: never;
588
+ };
589
+ "/_redevplugin/api/plugins/retained-data/bind": {
590
+ parameters: {
591
+ query?: never;
592
+ header?: never;
593
+ path?: never;
594
+ cookie?: never;
595
+ };
596
+ get?: never;
597
+ put?: never;
598
+ post: operations["bindPluginRetainedData"];
599
+ delete?: never;
600
+ options?: never;
601
+ head?: never;
602
+ patch?: never;
603
+ trace?: never;
604
+ };
605
+ "/_redevplugin/api/plugins/retained-data/cleanup-expired": {
606
+ parameters: {
607
+ query?: never;
608
+ header?: never;
609
+ path?: never;
610
+ cookie?: never;
611
+ };
612
+ get?: never;
613
+ put?: never;
614
+ post: operations["cleanupExpiredPluginRetainedData"];
615
+ delete?: never;
616
+ options?: never;
617
+ head?: never;
618
+ patch?: never;
619
+ trace?: never;
620
+ };
621
+ "/_redevplugin/api/plugins/permissions/query": {
622
+ parameters: {
623
+ query?: never;
624
+ header?: never;
625
+ path?: never;
626
+ cookie?: never;
627
+ };
628
+ get?: never;
629
+ put?: never;
630
+ post: operations["listPluginPermissionGrants"];
631
+ delete?: never;
632
+ options?: never;
633
+ head?: never;
634
+ patch?: never;
635
+ trace?: never;
636
+ };
637
+ "/_redevplugin/api/plugins/permissions/grant": {
638
+ parameters: {
639
+ query?: never;
640
+ header?: never;
641
+ path?: never;
642
+ cookie?: never;
643
+ };
644
+ get?: never;
645
+ put?: never;
646
+ post: operations["grantPluginPermission"];
647
+ delete?: never;
648
+ options?: never;
649
+ head?: never;
650
+ patch?: never;
651
+ trace?: never;
652
+ };
653
+ "/_redevplugin/api/plugins/permissions/revoke": {
654
+ parameters: {
655
+ query?: never;
656
+ header?: never;
657
+ path?: never;
658
+ cookie?: never;
659
+ };
660
+ get?: never;
661
+ put?: never;
662
+ post: operations["revokePluginPermission"];
663
+ delete?: never;
664
+ options?: never;
665
+ head?: never;
666
+ patch?: never;
667
+ trace?: never;
668
+ };
669
+ "/_redevplugin/api/plugins/security-policies/query": {
670
+ parameters: {
671
+ query?: never;
672
+ header?: never;
673
+ path?: never;
674
+ cookie?: never;
675
+ };
676
+ get?: never;
677
+ put?: never;
678
+ post: operations["listPluginSecurityPolicies"];
679
+ delete?: never;
680
+ options?: never;
681
+ head?: never;
682
+ patch?: never;
683
+ trace?: never;
684
+ };
685
+ "/_redevplugin/api/plugins/security-policies/{plugin_instance_id}/query": {
686
+ parameters: {
687
+ query?: never;
688
+ header?: never;
689
+ path?: never;
690
+ cookie?: never;
691
+ };
692
+ get?: never;
693
+ put?: never;
694
+ post: operations["getPluginSecurityPolicy"];
695
+ delete?: never;
696
+ options?: never;
697
+ head?: never;
698
+ patch?: never;
699
+ trace?: never;
700
+ };
701
+ "/_redevplugin/api/plugins/security-policies/{plugin_instance_id}": {
702
+ parameters: {
703
+ query?: never;
704
+ header?: never;
705
+ path?: never;
706
+ cookie?: never;
707
+ };
708
+ get?: never;
709
+ put: operations["putPluginSecurityPolicy"];
710
+ post?: never;
711
+ delete: operations["deletePluginSecurityPolicy"];
712
+ options?: never;
713
+ head?: never;
714
+ patch?: never;
715
+ trace?: never;
716
+ };
717
+ "/_redevplugin/api/plugins/diagnostics/query": {
718
+ parameters: {
719
+ query?: never;
720
+ header?: never;
721
+ path?: never;
722
+ cookie?: never;
723
+ };
724
+ get?: never;
725
+ put?: never;
726
+ post: operations["listPluginDiagnosticEvents"];
727
+ delete?: never;
728
+ options?: never;
729
+ head?: never;
730
+ patch?: never;
731
+ trace?: never;
732
+ };
733
+ "/_redevplugin/api/plugins/secrets/bind": {
734
+ parameters: {
735
+ query?: never;
736
+ header?: never;
737
+ path?: never;
738
+ cookie?: never;
739
+ };
740
+ get?: never;
741
+ put?: never;
742
+ post: operations["bindPluginSecret"];
743
+ delete?: never;
744
+ options?: never;
745
+ head?: never;
746
+ patch?: never;
747
+ trace?: never;
748
+ };
749
+ "/_redevplugin/api/plugins/secrets/test": {
750
+ parameters: {
751
+ query?: never;
752
+ header?: never;
753
+ path?: never;
754
+ cookie?: never;
755
+ };
756
+ get?: never;
757
+ put?: never;
758
+ post: operations["testPluginSecret"];
759
+ delete?: never;
760
+ options?: never;
761
+ head?: never;
762
+ patch?: never;
763
+ trace?: never;
764
+ };
765
+ "/_redevplugin/api/plugins/secrets/delete": {
766
+ parameters: {
767
+ query?: never;
768
+ header?: never;
769
+ path?: never;
770
+ cookie?: never;
771
+ };
772
+ get?: never;
773
+ put?: never;
774
+ post: operations["deletePluginSecret"];
775
+ delete?: never;
776
+ options?: never;
777
+ head?: never;
778
+ patch?: never;
779
+ trace?: never;
780
+ };
781
+ "/_redevplugin/api/plugins/{plugin_instance_id}/settings/schema/query": {
782
+ parameters: {
783
+ query?: never;
784
+ header?: never;
785
+ path?: never;
786
+ cookie?: never;
787
+ };
788
+ get?: never;
789
+ put?: never;
790
+ post: operations["getPluginSettingsSchema"];
791
+ delete?: never;
792
+ options?: never;
793
+ head?: never;
794
+ patch?: never;
795
+ trace?: never;
796
+ };
797
+ "/_redevplugin/api/plugins/{plugin_instance_id}/settings/query": {
798
+ parameters: {
799
+ query?: never;
800
+ header?: never;
801
+ path?: never;
802
+ cookie?: never;
803
+ };
804
+ get?: never;
805
+ put?: never;
806
+ post: operations["getPluginSettings"];
807
+ delete?: never;
808
+ options?: never;
809
+ head?: never;
810
+ patch?: never;
811
+ trace?: never;
812
+ };
813
+ "/_redevplugin/api/plugins/{plugin_instance_id}/settings": {
814
+ parameters: {
815
+ query?: never;
816
+ header?: never;
817
+ path?: never;
818
+ cookie?: never;
819
+ };
820
+ get?: never;
821
+ put?: never;
822
+ post?: never;
823
+ delete?: never;
824
+ options?: never;
825
+ head?: never;
826
+ patch: operations["patchPluginSettings"];
827
+ trace?: never;
828
+ };
829
+ }
830
+ export type webhooks = Record<string, never>;
831
+ export interface components {
832
+ schemas: {
833
+ PlatformErrorResponse: {
834
+ /** @constant */
835
+ ok: false;
836
+ error: components["schemas"]["PlatformError"];
837
+ };
838
+ MutationPlatformErrorResponse: {
839
+ /** @constant */
840
+ ok: false;
841
+ error: components["schemas"]["MutationPlatformError"];
842
+ };
843
+ RPCSuccessResponse: {
844
+ /** @constant */
845
+ ok: true;
846
+ data: components["schemas"]["RPCResult"];
847
+ };
848
+ SurfaceBootstrapSuccessResponse: {
849
+ /** @constant */
850
+ ok: true;
851
+ data: components["schemas"]["SurfaceBootstrap"];
852
+ };
853
+ SurfacePreparationSuccessResponse: {
854
+ /** @constant */
855
+ ok: true;
856
+ data: components["schemas"]["SurfacePreparation"];
857
+ };
858
+ BridgeTokenSuccessResponse: {
859
+ /** @constant */
860
+ ok: true;
861
+ data: components["schemas"]["BridgeTokenResult"];
862
+ };
863
+ SurfaceAssetSuccessResponse: {
864
+ /** @constant */
865
+ ok: true;
866
+ data: components["schemas"]["SurfaceAssetResult"];
867
+ };
868
+ SurfaceStreamSuccessResponse: {
869
+ /** @constant */
870
+ ok: true;
871
+ data: components["schemas"]["SurfaceStreamResult"];
872
+ };
873
+ SurfaceStreamAcknowledgementSuccessResponse: {
874
+ /** @constant */
875
+ ok: true;
876
+ data: components["schemas"]["SurfaceStreamAcknowledgementResult"];
877
+ };
878
+ SurfaceDisposeSuccessResponse: {
879
+ /** @constant */
880
+ ok: true;
881
+ data: components["schemas"]["SurfaceDisposeResult"];
882
+ };
883
+ SessionScopeRevokeSuccessResponse: {
884
+ /** @constant */
885
+ ok: true;
886
+ data: components["schemas"]["SessionScopeRevokeCompleteResult"];
887
+ };
888
+ PluginRecordSuccessResponse: {
889
+ /** @constant */
890
+ ok: true;
891
+ data: components["schemas"]["PluginRecord"];
892
+ };
893
+ PluginCatalogSuccessResponse: {
894
+ /** @constant */
895
+ ok: true;
896
+ data: components["schemas"]["PluginCatalogResult"];
897
+ };
898
+ PluginFeaturesSuccessResponse: {
899
+ /** @constant */
900
+ ok: true;
901
+ data: ("release" | "runtime" | "capability" | "connectivity" | "secrets" | "core_action")[];
902
+ };
903
+ CompatibilitySuccessResponse: {
904
+ /** @constant */
905
+ ok: true;
906
+ data: components["schemas"]["PluginCompatibilityManifest"];
907
+ };
908
+ PluginMethodConfirmationPreparationSuccessResponse: {
909
+ /** @constant */
910
+ ok: true;
911
+ data: components["schemas"]["PluginMethodConfirmationPreparation"];
912
+ };
913
+ ConfirmationRejectionSuccessResponse: {
914
+ /** @constant */
915
+ ok: true;
916
+ data: components["schemas"]["ConfirmationRejectionResult"];
917
+ };
918
+ IntentListSuccessResponse: {
919
+ /** @constant */
920
+ ok: true;
921
+ data: components["schemas"]["PluginIntentList"];
922
+ };
923
+ RetainedDataListSuccessResponse: {
924
+ /** @constant */
925
+ ok: true;
926
+ data: components["schemas"]["RetainedDataList"];
927
+ };
928
+ RetainedDataBindingSuccessResponse: {
929
+ /** @constant */
930
+ ok: true;
931
+ data: components["schemas"]["PluginDataBinding"];
932
+ };
933
+ RetainedDataCleanupSuccessResponse: {
934
+ /** @constant */
935
+ ok: true;
936
+ data: components["schemas"]["RetainedDataCleanupResult"];
937
+ };
938
+ OperationRecordSuccessResponse: {
939
+ /** @constant */
940
+ ok: true;
941
+ data: components["schemas"]["OperationRecord"];
942
+ };
943
+ OperationListSuccessResponse: {
944
+ /** @constant */
945
+ ok: true;
946
+ data: components["schemas"]["PluginOperationList"];
947
+ };
948
+ RuntimeHealthSuccessResponse: {
949
+ /** @constant */
950
+ ok: true;
951
+ data: components["schemas"]["PluginRuntimeHealth"];
952
+ };
953
+ RuntimeStopSuccessResponse: {
954
+ /** @constant */
955
+ ok: true;
956
+ data: components["schemas"]["PluginRuntimeStopResult"];
957
+ };
958
+ RuntimeRefreshSuccessResponse: {
959
+ /** @constant */
960
+ ok: true;
961
+ data: components["schemas"]["PluginRuntimeRefreshResult"];
962
+ };
963
+ DataExportSuccessResponse: {
964
+ /** @constant */
965
+ ok: true;
966
+ data: components["schemas"]["PluginDataExportResult"];
967
+ };
968
+ DataExportDeleteSuccessResponse: {
969
+ /** @constant */
970
+ ok: true;
971
+ data: components["schemas"]["PluginDataExportDeleteResult"];
972
+ };
973
+ PermissionListSuccessResponse: {
974
+ /** @constant */
975
+ ok: true;
976
+ data: components["schemas"]["PluginPermissionList"];
977
+ };
978
+ PermissionMutationSuccessResponse: {
979
+ /** @constant */
980
+ ok: true;
981
+ data: components["schemas"]["PluginPermissionMutationResult"];
982
+ };
983
+ SecurityPolicyListSuccessResponse: {
984
+ /** @constant */
985
+ ok: true;
986
+ data: components["schemas"]["PluginSecurityPolicyList"];
987
+ };
988
+ SecurityPolicyRecordSuccessResponse: {
989
+ /** @constant */
990
+ ok: true;
991
+ data: components["schemas"]["PluginSecurityPolicy"];
992
+ };
993
+ SecurityPolicyDeleteSuccessResponse: {
994
+ /** @constant */
995
+ ok: true;
996
+ data: components["schemas"]["PluginSecurityPolicyDeleteResult"];
997
+ };
998
+ DiagnosticEventListSuccessResponse: {
999
+ /** @constant */
1000
+ ok: true;
1001
+ data: components["schemas"]["PluginDiagnosticEventList"];
1002
+ };
1003
+ SecretBindSuccessResponse: {
1004
+ /** @constant */
1005
+ ok: true;
1006
+ data: components["schemas"]["PluginSecretBindResult"];
1007
+ };
1008
+ SecretTestSuccessResponse: {
1009
+ /** @constant */
1010
+ ok: true;
1011
+ data: components["schemas"]["PluginSecretTestResult"];
1012
+ };
1013
+ SecretDeleteSuccessResponse: {
1014
+ /** @constant */
1015
+ ok: true;
1016
+ data: components["schemas"]["PluginSecretDeleteResult"];
1017
+ };
1018
+ SettingsSchemaSuccessResponse: {
1019
+ /** @constant */
1020
+ ok: true;
1021
+ data: components["schemas"]["PluginSettingsSchema"];
1022
+ };
1023
+ SettingsSnapshotSuccessResponse: {
1024
+ /** @constant */
1025
+ ok: true;
1026
+ data: components["schemas"]["PluginSettingsSnapshot"];
1027
+ };
1028
+ PlatformError: components["schemas"]["GenericPlatformError"] | components["schemas"]["JSONLimitPlatformError"] | components["schemas"]["PackageValidationPlatformError"] | components["schemas"]["ManagementRevisionPlatformError"] | components["schemas"]["AuthorizationRevisionPlatformError"] | components["schemas"]["BindingRevisionPlatformError"] | components["schemas"]["ValuesRevisionPlatformError"] | components["schemas"]["CapabilityPlatformError"] | components["schemas"]["WorkerPlatformError"];
1029
+ MutationPlatformError: components["schemas"]["MutationGenericPlatformError"] | components["schemas"]["MutationJSONLimitPlatformError"] | components["schemas"]["MutationPackageValidationPlatformError"] | components["schemas"]["MutationManagementRevisionPlatformError"] | components["schemas"]["MutationAuthorizationRevisionPlatformError"] | components["schemas"]["MutationBindingRevisionPlatformError"] | components["schemas"]["MutationValuesRevisionPlatformError"] | components["schemas"]["MutationCapabilityPlatformError"] | components["schemas"]["MutationWorkerPlatformError"] | components["schemas"]["MutationSessionTeardownPlatformError"];
1030
+ GenericPlatformError: {
1031
+ code: components["schemas"]["GenericPlatformErrorCode"];
1032
+ message: components["schemas"]["PlatformErrorMessage"];
1033
+ details: components["schemas"]["EmptyErrorDetails"];
1034
+ };
1035
+ JSONLimitPlatformError: {
1036
+ /** @constant */
1037
+ code: "PLUGIN_JSON_LIMIT_EXCEEDED";
1038
+ message: components["schemas"]["PlatformErrorMessage"];
1039
+ details: components["schemas"]["JSONLimitErrorDetails"];
1040
+ };
1041
+ PackageValidationPlatformError: {
1042
+ /** @enum {string} */
1043
+ code: "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN";
1044
+ message: components["schemas"]["PlatformErrorMessage"];
1045
+ details: components["schemas"]["PackageValidationErrorDetails"];
1046
+ };
1047
+ ManagementRevisionPlatformError: {
1048
+ /** @constant */
1049
+ code: "PLUGIN_MANAGEMENT_REVISION_MISMATCH";
1050
+ message: components["schemas"]["PlatformErrorMessage"];
1051
+ details: components["schemas"]["ManagementRevisionMismatchDetails"];
1052
+ };
1053
+ AuthorizationRevisionPlatformError: {
1054
+ /** @constant */
1055
+ code: "PLUGIN_AUTHORIZATION_REVISION_MISMATCH";
1056
+ message: components["schemas"]["PlatformErrorMessage"];
1057
+ details: components["schemas"]["AuthorizationRevisionMismatchDetails"];
1058
+ };
1059
+ BindingRevisionPlatformError: {
1060
+ /** @constant */
1061
+ code: "PLUGIN_BINDING_REVISION_MISMATCH";
1062
+ message: components["schemas"]["PlatformErrorMessage"];
1063
+ details: components["schemas"]["BindingRevisionMismatchDetails"];
1064
+ };
1065
+ ValuesRevisionPlatformError: {
1066
+ /** @constant */
1067
+ code: "PLUGIN_VALUES_REVISION_MISMATCH";
1068
+ message: components["schemas"]["PlatformErrorMessage"];
1069
+ details: components["schemas"]["ValuesRevisionMismatchDetails"];
1070
+ };
1071
+ CapabilityPlatformError: {
1072
+ /** @constant */
1073
+ code: "PLUGIN_CAPABILITY_ERROR";
1074
+ message: components["schemas"]["PlatformErrorMessage"];
1075
+ details: components["schemas"]["CapabilityBusinessErrorDetails"];
1076
+ };
1077
+ WorkerPlatformError: {
1078
+ /** @constant */
1079
+ code: "PLUGIN_WORKER_ERROR";
1080
+ message: components["schemas"]["PlatformErrorMessage"];
1081
+ details: components["schemas"]["WorkerErrorDetails"];
1082
+ };
1083
+ MutationGenericPlatformError: {
1084
+ code: components["schemas"]["GenericPlatformErrorCode"];
1085
+ message: components["schemas"]["PlatformErrorMessage"];
1086
+ details: components["schemas"]["EmptyErrorDetails"];
1087
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1088
+ };
1089
+ MutationJSONLimitPlatformError: {
1090
+ /** @constant */
1091
+ code: "PLUGIN_JSON_LIMIT_EXCEEDED";
1092
+ message: components["schemas"]["PlatformErrorMessage"];
1093
+ details: components["schemas"]["JSONLimitErrorDetails"];
1094
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1095
+ };
1096
+ MutationPackageValidationPlatformError: {
1097
+ /** @enum {string} */
1098
+ code: "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN";
1099
+ message: components["schemas"]["PlatformErrorMessage"];
1100
+ details: components["schemas"]["PackageValidationErrorDetails"];
1101
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1102
+ };
1103
+ MutationManagementRevisionPlatformError: {
1104
+ /** @constant */
1105
+ code: "PLUGIN_MANAGEMENT_REVISION_MISMATCH";
1106
+ message: components["schemas"]["PlatformErrorMessage"];
1107
+ details: components["schemas"]["ManagementRevisionMismatchDetails"];
1108
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1109
+ };
1110
+ MutationAuthorizationRevisionPlatformError: {
1111
+ /** @constant */
1112
+ code: "PLUGIN_AUTHORIZATION_REVISION_MISMATCH";
1113
+ message: components["schemas"]["PlatformErrorMessage"];
1114
+ details: components["schemas"]["AuthorizationRevisionMismatchDetails"];
1115
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1116
+ };
1117
+ MutationBindingRevisionPlatformError: {
1118
+ /** @constant */
1119
+ code: "PLUGIN_BINDING_REVISION_MISMATCH";
1120
+ message: components["schemas"]["PlatformErrorMessage"];
1121
+ details: components["schemas"]["BindingRevisionMismatchDetails"];
1122
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1123
+ };
1124
+ MutationValuesRevisionPlatformError: {
1125
+ /** @constant */
1126
+ code: "PLUGIN_VALUES_REVISION_MISMATCH";
1127
+ message: components["schemas"]["PlatformErrorMessage"];
1128
+ details: components["schemas"]["ValuesRevisionMismatchDetails"];
1129
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1130
+ };
1131
+ MutationCapabilityPlatformError: {
1132
+ /** @constant */
1133
+ code: "PLUGIN_CAPABILITY_ERROR";
1134
+ message: components["schemas"]["PlatformErrorMessage"];
1135
+ details: components["schemas"]["CapabilityBusinessErrorDetails"];
1136
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1137
+ };
1138
+ MutationWorkerPlatformError: {
1139
+ /** @constant */
1140
+ code: "PLUGIN_WORKER_ERROR";
1141
+ message: components["schemas"]["PlatformErrorMessage"];
1142
+ details: components["schemas"]["WorkerErrorDetails"];
1143
+ mutation_outcome: components["schemas"]["MutationOutcome"];
1144
+ };
1145
+ MutationSessionTeardownPlatformError: {
1146
+ /** @constant */
1147
+ code: "PLUGIN_SESSION_TEARDOWN_INCOMPLETE";
1148
+ message: components["schemas"]["PlatformErrorMessage"];
1149
+ details: components["schemas"]["SessionTeardownIncompleteErrorDetails"];
1150
+ /** @constant */
1151
+ mutation_outcome: "committed";
1152
+ };
1153
+ /** @enum {string} */
1154
+ MutationOutcome: "committed" | "not_committed" | "unknown";
1155
+ EmptyErrorDetails: Record<string, never>;
1156
+ JSONLimitErrorDetails: {
1157
+ /** @enum {string} */
1158
+ reason: "payload_bytes" | "json_depth" | "prototype_key" | "number_precision";
1159
+ };
1160
+ PackageValidationErrorDetails: {
1161
+ /** @enum {string} */
1162
+ reason: "manifest_missing" | "manifest_field" | "manifest_decode" | "zip_invalid" | "file_count" | "duplicate_entry" | "ambiguous_entry" | "non_regular_entry" | "invalid_utf8_path" | "non_nfc_path" | "symlink_entry" | "directory_entry" | "entry_bytes" | "path_length" | "compression_ratio" | "total_uncompressed_bytes" | "entry_open_failed" | "entry_read_failed" | "entry_close_failed" | "entry_size_mismatch" | "unsupported_signature_entry" | "manifest_artifact" | "package_asset_security" | "package_artifact_boundary" | "entry_path" | "manifest_canonical_json" | "canonical_hash" | "package_signature" | "empty_path" | "slash_separator" | "non_canonical_path" | "path_traversal" | "hidden_path" | "external_icon_path" | "unsupported_icon_format" | "missing_icon_asset" | "icon_magic_mismatch" | "query_or_fragment";
1163
+ /** @description Package-local entry path related to the error, when available. */
1164
+ path?: string;
1165
+ /** @description JSON Pointer into manifest.json related to the error, when available. */
1166
+ pointer?: string;
1167
+ };
1168
+ CapabilityBusinessErrorDetails: {
1169
+ capability_id: string;
1170
+ capability_version: components["schemas"]["StrictSemVer"];
1171
+ detail_schema_sha256: string;
1172
+ business_error_code: string;
1173
+ business_error_details?: {
1174
+ [key: string]: unknown;
1175
+ };
1176
+ };
1177
+ WorkerErrorDetails: {
1178
+ worker_error_code: string;
1179
+ worker_error_message: string;
1180
+ /** @enum {string} */
1181
+ worker_error_origin: "runtime" | "hostcall" | "plugin";
1182
+ };
1183
+ SessionTeardownIncompleteErrorDetails: {
1184
+ session_scope: components["schemas"]["SessionScopeRevokeIncompleteResult"];
1185
+ };
1186
+ ManagementRevisionMismatchDetails: {
1187
+ plugin_instance_id: string;
1188
+ expected_management_revision: number;
1189
+ actual_management_revision: number;
1190
+ };
1191
+ AuthorizationRevisionMismatchDetails: {
1192
+ plugin_instance_id: string;
1193
+ expected_policy_revision: number;
1194
+ actual_policy_revision: number;
1195
+ expected_management_revision: number;
1196
+ actual_management_revision: number;
1197
+ expected_revoke_epoch: number;
1198
+ actual_revoke_epoch: number;
1199
+ };
1200
+ BindingRevisionMismatchDetails: {
1201
+ plugin_instance_id: string;
1202
+ expected_binding_revision: number;
1203
+ actual_binding_revision: number;
1204
+ };
1205
+ ValuesRevisionMismatchDetails: {
1206
+ plugin_instance_id: string;
1207
+ expected_values_revision: number;
1208
+ actual_values_revision: number;
1209
+ };
1210
+ ErrorCode: components["schemas"]["ErrorCodesV6PlatformErrorCode"];
1211
+ PlatformErrorMessage: string;
1212
+ /** @enum {string} */
1213
+ GenericPlatformErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
1214
+ SurfaceDisposeResult: {
1215
+ /** @constant */
1216
+ disposed: true;
1217
+ };
1218
+ SessionScopeRevokeCounts: components["schemas"]["SessionScopeV1RevokeCounts"];
1219
+ SessionScopeRevokeResult: components["schemas"]["SessionScopeV1PublicRevokeResult"];
1220
+ SessionScopeRevokeCompleteResult: components["schemas"]["SessionScopeV1CompleteRevokeResult"];
1221
+ SessionScopeRevokeIncompleteResult: components["schemas"]["SessionScopeV1IncompleteRevokeResult"];
1222
+ PluginCatalogResult: {
1223
+ plugins: components["schemas"]["PluginRecord"][];
1224
+ };
1225
+ PluginCompatibilityManifest: components["schemas"]["CompatibilityManifestV8"];
1226
+ PluginOperationList: {
1227
+ operations: components["schemas"]["OperationRecord"][];
1228
+ next_cursor?: string;
1229
+ };
1230
+ PluginIntentRecord: {
1231
+ plugin_id: string;
1232
+ plugin_instance_id: string;
1233
+ publisher_id: string;
1234
+ display_name: string;
1235
+ version: components["schemas"]["StrictSemVer"];
1236
+ active_fingerprint: string;
1237
+ intent_id: string;
1238
+ method: string;
1239
+ /** @enum {string} */
1240
+ effect: "read" | "write" | "delete" | "execute" | "admin";
1241
+ /** @enum {string} */
1242
+ execution: "sync" | "operation" | "subscription";
1243
+ payload_schema?: {
1244
+ [key: string]: unknown;
1245
+ };
1246
+ };
1247
+ PluginIntentList: {
1248
+ intents: components["schemas"]["PluginIntentRecord"][];
1249
+ };
1250
+ /** @description Explicit public HTTP projection of a permission grant. Internal actor ownership hashes are never returned. */
1251
+ PluginPermissionGrant: {
1252
+ plugin_instance_id: string;
1253
+ permission_id: string;
1254
+ /** @enum {string} */
1255
+ effect: "grant" | "deny";
1256
+ /** Format: date-time */
1257
+ granted_at: string;
1258
+ /** Format: date-time */
1259
+ expires_at?: string;
1260
+ /** Format: date-time */
1261
+ revoked_at?: string;
1262
+ revoked_reason?: string;
1263
+ };
1264
+ PluginPermissionList: {
1265
+ permissions: components["schemas"]["PluginPermissionGrant"][];
1266
+ };
1267
+ AuthorizationRevisions: {
1268
+ policy_revision: number;
1269
+ management_revision: number;
1270
+ revoke_epoch: number;
1271
+ };
1272
+ PluginPermissionMutationResult: {
1273
+ permission: components["schemas"]["PluginPermissionGrant"];
1274
+ revisions: components["schemas"]["AuthorizationRevisions"];
1275
+ };
1276
+ PluginSecurityPolicy: {
1277
+ plugin_instance_id: string;
1278
+ allowed_permissions: string[];
1279
+ denied_methods: string[];
1280
+ policy_revision: number;
1281
+ management_revision: number;
1282
+ revoke_epoch: number;
1283
+ /** Format: date-time */
1284
+ updated_at: string;
1285
+ };
1286
+ PluginSecurityPolicyList: {
1287
+ security_policies: components["schemas"]["PluginSecurityPolicy"][];
1288
+ };
1289
+ PluginSecurityPolicyDeleteResult: {
1290
+ plugin_instance_id: string;
1291
+ /** @constant */
1292
+ deleted: true;
1293
+ policy_revision: number;
1294
+ management_revision: number;
1295
+ revoke_epoch: number;
1296
+ };
1297
+ /** @enum {string} */
1298
+ DiagnosticMutationOutcome: "committed" | "not_committed" | "unknown";
1299
+ PluginDiagnosticDetails: {
1300
+ operations_deleted?: number;
1301
+ streams_deleted?: number;
1302
+ invocation_id?: string;
1303
+ method?: string;
1304
+ failure_code?: string;
1305
+ runtime_process_failure_code?: components["schemas"]["ErrorCodesV6RuntimeProcessFailureCode"];
1306
+ operation_id?: string;
1307
+ stream_id?: string;
1308
+ runtime_instance_id?: string;
1309
+ runtime_generation_id?: string;
1310
+ runtime_version?: string;
1311
+ rust_ipc_version?: string;
1312
+ wasm_abi_version?: string;
1313
+ contract_set_sha256?: string;
1314
+ runtime_target_os?: string;
1315
+ runtime_target_arch?: string;
1316
+ runtime_binary_sha256?: string;
1317
+ os?: string;
1318
+ arch?: string;
1319
+ stream?: string;
1320
+ package_hash?: string;
1321
+ artifact?: string;
1322
+ plugin_instance_id?: string;
1323
+ store_id?: string;
1324
+ operation?: string;
1325
+ hostcall?: string;
1326
+ code?: string;
1327
+ connector_id?: string;
1328
+ transport?: string;
1329
+ revoke_epoch?: number;
1330
+ stage_id?: string;
1331
+ reason?: string;
1332
+ surface_instance_id?: string;
1333
+ };
1334
+ PluginDiagnosticEvent: {
1335
+ event_id?: string;
1336
+ type: string;
1337
+ /** @enum {string} */
1338
+ severity: "info" | "warning";
1339
+ message: string;
1340
+ plugin_id?: string;
1341
+ plugin_instance_id?: string;
1342
+ surface_id?: string;
1343
+ surface_instance_id?: string;
1344
+ active_fingerprint?: string;
1345
+ request_id?: string;
1346
+ correlation_id?: string;
1347
+ mutation_outcome?: components["schemas"]["DiagnosticMutationOutcome"];
1348
+ /** Format: date-time */
1349
+ occurred_at?: string;
1350
+ details?: components["schemas"]["PluginDiagnosticDetails"];
1351
+ };
1352
+ PluginDiagnosticEventList: {
1353
+ diagnostic_events: components["schemas"]["PluginDiagnosticEvent"][];
1354
+ };
1355
+ /** @description Explicit public HTTP projection of runtime shard health. IPC channel credentials and connection nonces are excluded. */
1356
+ PluginRuntimeShardHealth: {
1357
+ runtime_shard_id: string;
1358
+ runtime_instance_id: string;
1359
+ runtime_generation_id: string;
1360
+ descriptor: components["schemas"]["RuntimeDescriptor"];
1361
+ ready: boolean;
1362
+ active_invocations: number;
1363
+ queued_invocations: number;
1364
+ limits: components["schemas"]["RuntimeLimits"];
1365
+ module_cache: components["schemas"]["RuntimeModuleCacheMetrics"];
1366
+ };
1367
+ /** @description Explicit public HTTP projection of runtime manager health. */
1368
+ PluginRuntimeHealth: {
1369
+ ready: boolean;
1370
+ descriptor: components["schemas"]["RuntimeDescriptor"];
1371
+ shards: components["schemas"]["PluginRuntimeShardHealth"][];
1372
+ };
1373
+ RuntimeTarget: {
1374
+ /** @constant */
1375
+ os: "darwin";
1376
+ /** @constant */
1377
+ arch: "amd64";
1378
+ } | {
1379
+ /** @constant */
1380
+ os: "darwin";
1381
+ /** @constant */
1382
+ arch: "arm64";
1383
+ } | {
1384
+ /** @constant */
1385
+ os: "linux";
1386
+ /** @constant */
1387
+ arch: "amd64";
1388
+ } | {
1389
+ /** @constant */
1390
+ os: "linux";
1391
+ /** @constant */
1392
+ arch: "arm64";
1393
+ };
1394
+ /** @enum {string} */
1395
+ RuntimeAdmissionTarget: "linux/amd64" | "linux/arm64";
1396
+ StrictSemVer: string;
1397
+ RuntimeDescriptor: {
1398
+ /** @constant */
1399
+ schema_version: "runtime-descriptor-v2";
1400
+ platform_version: components["schemas"]["StrictSemVer"];
1401
+ target: components["schemas"]["RuntimeAdmissionTarget"];
1402
+ /** @constant */
1403
+ rust_ipc_version: "rust-ipc-v6";
1404
+ /** @constant */
1405
+ wasm_abi_version: "redevplugin-wasm-worker-v2";
1406
+ contract_set_sha256: string;
1407
+ binary_sha256: string;
1408
+ };
1409
+ /** @description Negotiated runtime capacities. per_plugin_concurrency must not exceed worker_count. Route capacities are derived exactly from negotiated limits: active hostcall routes = worker_count, canceled hostcall retention = worker_count + queue_capacity, and compile-flight artifact routes = worker_count. */
1410
+ RuntimeLimits: {
1411
+ /** @description Number of runtime worker threads. */
1412
+ worker_count: number;
1413
+ /** @description Maximum queued worker invocations. */
1414
+ queue_capacity: number;
1415
+ /** @description Maximum concurrent invocations for one plugin; must not exceed worker_count. */
1416
+ per_plugin_concurrency: number;
1417
+ /** @description Maximum compiled modules retained by the runtime cache. */
1418
+ module_cache_entries: number;
1419
+ /** @description Maximum source WASM bytes retained by the runtime cache (128 MiB). */
1420
+ module_cache_source_bytes: number;
1421
+ };
1422
+ RuntimeModuleCacheMetrics: {
1423
+ hits: number;
1424
+ misses: number;
1425
+ compiles: number;
1426
+ entries: number;
1427
+ source_bytes: number;
1428
+ };
1429
+ PluginRuntimeStopResult: {
1430
+ /** @constant */
1431
+ stopped: true;
1432
+ };
1433
+ PluginRuntimeRefreshResult: {
1434
+ results: components["schemas"]["PluginRuntimeRefreshEntry"][];
1435
+ };
1436
+ PluginRuntimeRefreshEntry: components["schemas"]["PluginRuntimeRefreshSuccess"] | components["schemas"]["PluginRuntimeRefreshFailure"];
1437
+ PluginRuntimeRefreshSuccess: {
1438
+ plugin_instance_id: string;
1439
+ /** @constant */
1440
+ status: "refreshed";
1441
+ };
1442
+ PluginRuntimeRefreshFailure: {
1443
+ plugin_instance_id: string;
1444
+ /** @constant */
1445
+ status: "failed";
1446
+ error: components["schemas"]["PluginRuntimeRefreshPublicError"];
1447
+ };
1448
+ PluginRuntimeRefreshPublicError: {
1449
+ /** @enum {string} */
1450
+ code: "PLUGIN_RUNTIME_UNAVAILABLE";
1451
+ /** @constant */
1452
+ message: "Plugin runtime state could not be refreshed";
1453
+ };
1454
+ PluginDataExportResult: {
1455
+ bundle_ref: string;
1456
+ };
1457
+ PluginDataExportDeleteResult: {
1458
+ /** @constant */
1459
+ deleted: true;
1460
+ };
1461
+ PluginSecretBindResult: {
1462
+ /** @constant */
1463
+ bound: true;
1464
+ };
1465
+ PluginSecretTestResult: {
1466
+ /** @constant */
1467
+ tested: true;
1468
+ };
1469
+ PluginSecretDeleteResult: {
1470
+ /** @constant */
1471
+ deleted: true;
1472
+ };
1473
+ PluginSettingsField: {
1474
+ key: string;
1475
+ type: string;
1476
+ label: string;
1477
+ scope: components["schemas"]["ResourceScopeKind"];
1478
+ default?: unknown;
1479
+ secret_ref?: string;
1480
+ options?: string[];
1481
+ validation?: {
1482
+ [key: string]: unknown;
1483
+ };
1484
+ };
1485
+ /** @description Explicit public HTTP projection of the settings schema for one owner scope. */
1486
+ PluginSettingsSchema: {
1487
+ plugin_instance_id: string;
1488
+ scope: components["schemas"]["ResourceScopeKind"];
1489
+ schema_version: number;
1490
+ fields: components["schemas"]["PluginSettingsField"][];
1491
+ values_revision: number;
1492
+ };
1493
+ /** @description Explicit public HTTP projection of settings values and redacted secret metadata for one owner scope. */
1494
+ PluginSettingsSnapshot: {
1495
+ plugin_instance_id: string;
1496
+ scope: components["schemas"]["ResourceScopeKind"];
1497
+ schema_version: number;
1498
+ values_revision: number;
1499
+ values: {
1500
+ [key: string]: unknown;
1501
+ };
1502
+ secret_metadata: components["schemas"]["PluginSettingsSecretMetadata"][];
1503
+ };
1504
+ PluginSettingsSecretMetadata: {
1505
+ key: string;
1506
+ secret_ref: string;
1507
+ /** @enum {string} */
1508
+ scope: "user" | "environment";
1509
+ bound: boolean;
1510
+ last_test_status?: string;
1511
+ /** Format: date-time */
1512
+ bound_at?: string;
1513
+ /** Format: date-time */
1514
+ tested_at?: string;
1515
+ /** Format: date-time */
1516
+ updated_at?: string;
1517
+ };
1518
+ /** @enum {string} */
1519
+ TrustState: "verified" | "unsigned_local" | "untrusted" | "needs_review" | "trust_unavailable" | "blocked_security";
1520
+ TrustHashSet: {
1521
+ package_sha256: string;
1522
+ manifest_sha256: string;
1523
+ entries_sha256: string;
1524
+ };
1525
+ VerifiedSignature: {
1526
+ algorithm: string;
1527
+ key_id: string;
1528
+ };
1529
+ TrustAssessment: {
1530
+ trust_state: components["schemas"]["TrustState"];
1531
+ reason_codes?: string[];
1532
+ verified_hashes: components["schemas"]["TrustHashSet"];
1533
+ verified_signature?: components["schemas"]["VerifiedSignature"];
1534
+ trust_assessment_epoch?: string;
1535
+ policy_epoch?: string;
1536
+ revocation_epoch?: string;
1537
+ metadata?: {
1538
+ [key: string]: string;
1539
+ };
1540
+ };
1541
+ PluginVersion: {
1542
+ version: components["schemas"]["StrictSemVer"];
1543
+ active_fingerprint: string;
1544
+ package_hash: string;
1545
+ manifest_hash: string;
1546
+ entries_hash: string;
1547
+ trust_state: components["schemas"]["TrustState"];
1548
+ trust_assessment: components["schemas"]["TrustAssessment"];
1549
+ source_policy_snapshot_hash?: string;
1550
+ source_policy_snapshot?: {
1551
+ [key: string]: unknown;
1552
+ };
1553
+ local_import_provenance?: components["schemas"]["LocalImportProvenance"];
1554
+ capability_contracts?: components["schemas"]["CapabilityContractPin"][];
1555
+ manifest: components["schemas"]["ManifestV5"];
1556
+ package_entries: components["schemas"]["PackageEntry"][];
1557
+ runtime_requirement?: components["schemas"]["RuntimeRequirement"];
1558
+ /** Format: date-time */
1559
+ activated_at: string;
1560
+ metadata?: {
1561
+ [key: string]: string;
1562
+ };
1563
+ };
1564
+ /** @description Explicit public HTTP projection of a registry record. Persistent owner identity is excluded. */
1565
+ PluginRecord: {
1566
+ plugin_instance_id: string;
1567
+ publisher_id: string;
1568
+ plugin_id: string;
1569
+ version: components["schemas"]["StrictSemVer"];
1570
+ active_fingerprint: string;
1571
+ package_hash: string;
1572
+ manifest_hash: string;
1573
+ entries_hash: string;
1574
+ trust_state: components["schemas"]["TrustState"];
1575
+ trust_assessment: components["schemas"]["TrustAssessment"];
1576
+ source_policy_snapshot_hash?: string;
1577
+ source_policy_snapshot?: {
1578
+ [key: string]: unknown;
1579
+ };
1580
+ local_import_provenance?: components["schemas"]["LocalImportProvenance"];
1581
+ capability_contracts?: components["schemas"]["CapabilityContractPin"][];
1582
+ /** @enum {string} */
1583
+ enable_state: "disabled" | "enabled" | "disabled_by_policy" | "disabled_incompatible";
1584
+ disabled_reason?: string;
1585
+ policy_revision: number;
1586
+ management_revision: number;
1587
+ revoke_epoch: number;
1588
+ manifest: components["schemas"]["ManifestV5"];
1589
+ package_entries: components["schemas"]["PackageEntry"][];
1590
+ runtime_requirement?: components["schemas"]["RuntimeRequirement"];
1591
+ version_history?: components["schemas"]["PluginVersion"][];
1592
+ /** Format: date-time */
1593
+ installed_at: string;
1594
+ /** Format: date-time */
1595
+ enabled_at?: string;
1596
+ /** Format: date-time */
1597
+ updated_at: string;
1598
+ /** Format: date-time */
1599
+ deleted_at?: string;
1600
+ metadata?: {
1601
+ [key: string]: string;
1602
+ };
1603
+ };
1604
+ PackageEntry: {
1605
+ path: string;
1606
+ size: number;
1607
+ sha256: string;
1608
+ mode: string;
1609
+ content_type?: string;
1610
+ };
1611
+ RuntimeRequirement: {
1612
+ min_version: components["schemas"]["StrictSemVer"];
1613
+ supported_targets?: ("darwin/amd64" | "darwin/arm64" | "linux/amd64" | "linux/arm64")[];
1614
+ };
1615
+ LocalImportProvenance: {
1616
+ import_id: string;
1617
+ /** @enum {unknown} */
1618
+ distribution: "local_import";
1619
+ policy_epoch: string;
1620
+ /** @enum {unknown} */
1621
+ unsigned_policy: "dev_only" | "review_required" | "block";
1622
+ /** Format: date-time */
1623
+ assessed_at: string;
1624
+ };
1625
+ PackageHashSet: {
1626
+ package_sha256: string;
1627
+ manifest_sha256: string;
1628
+ entries_sha256: string;
1629
+ };
1630
+ PluginReleaseRef: {
1631
+ source_id: string;
1632
+ channel: string;
1633
+ release_metadata_ref: string;
1634
+ release_metadata_sha256: string;
1635
+ publisher_id: string;
1636
+ plugin_id: string;
1637
+ version: components["schemas"]["StrictSemVer"];
1638
+ expected_hashes: components["schemas"]["PackageHashSet"];
1639
+ };
1640
+ InstallReleaseRefRequest: {
1641
+ release_ref: components["schemas"]["PluginReleaseRef"];
1642
+ plugin_instance_id: string;
1643
+ };
1644
+ UpdateReleaseRefRequest: {
1645
+ plugin_instance_id: string;
1646
+ release_ref: components["schemas"]["PluginReleaseRef"];
1647
+ expected_management_revision: number;
1648
+ };
1649
+ DowngradeRequest: {
1650
+ plugin_instance_id: string;
1651
+ version?: components["schemas"]["StrictSemVer"];
1652
+ package_hash?: string;
1653
+ expected_management_revision: number;
1654
+ };
1655
+ EnableRequest: {
1656
+ plugin_instance_id: string;
1657
+ expected_management_revision: number;
1658
+ };
1659
+ DisableRequest: {
1660
+ plugin_instance_id: string;
1661
+ reason?: string;
1662
+ expected_management_revision: number;
1663
+ };
1664
+ UninstallRequest: {
1665
+ plugin_instance_id: string;
1666
+ delete_data: boolean;
1667
+ expected_management_revision: number;
1668
+ };
1669
+ OpenSurfaceRequest: {
1670
+ plugin_instance_id: string;
1671
+ surface_id: string;
1672
+ surface_instance_id?: string;
1673
+ expected_management_revision: number;
1674
+ };
1675
+ RevokeSessionScopeRequest: Record<string, never>;
1676
+ EmptyRequest: Record<string, never>;
1677
+ EmptyQueryRequest: Record<string, never>;
1678
+ ListIntentsQueryRequest: {
1679
+ intent_id?: string;
1680
+ plugin_instance_id?: string;
1681
+ };
1682
+ ListOperationsQueryRequest: {
1683
+ plugin_instance_id?: string;
1684
+ cursor?: string;
1685
+ limit?: number;
1686
+ };
1687
+ ListRetainedDataQueryRequest: {
1688
+ plugin_instance_id?: string;
1689
+ };
1690
+ ListPermissionsQueryRequest: {
1691
+ plugin_instance_id?: string;
1692
+ active_only?: boolean;
1693
+ };
1694
+ ListDiagnosticsQueryRequest: {
1695
+ plugin_id?: string;
1696
+ plugin_instance_id?: string;
1697
+ surface_instance_id?: string;
1698
+ type?: string;
1699
+ /** @enum {string} */
1700
+ severity?: "info" | "warning";
1701
+ limit?: number;
1702
+ };
1703
+ SettingsQueryRequest: {
1704
+ scope: components["schemas"]["ResourceScopeKind"];
1705
+ };
1706
+ SurfaceBootstrap: {
1707
+ plugin_id: string;
1708
+ plugin_instance_id: string;
1709
+ plugin_version: components["schemas"]["StrictSemVer"];
1710
+ surface_id: string;
1711
+ surface_instance_id: string;
1712
+ active_fingerprint: string;
1713
+ entry_path: string;
1714
+ entry_sha256: string;
1715
+ asset_session_nonce: string;
1716
+ management_revision: number;
1717
+ revoke_epoch: number;
1718
+ runtime_generation_id: string;
1719
+ asset_ticket: string;
1720
+ asset_ticket_id: string;
1721
+ bridge_nonce: string;
1722
+ /** Format: date-time */
1723
+ issued_at: string;
1724
+ /** Format: date-time */
1725
+ expires_at: string;
1726
+ };
1727
+ PrepareSurfaceRequest: {
1728
+ asset_ticket: string;
1729
+ };
1730
+ SurfacePreparation: {
1731
+ asset_session: string;
1732
+ asset_session_id: string;
1733
+ asset_session_nonce: string;
1734
+ entry_path: string;
1735
+ entry_sha256: string;
1736
+ management_revision: number;
1737
+ revoke_epoch: number;
1738
+ /** Format: date-time */
1739
+ issued_at: string;
1740
+ /** Format: date-time */
1741
+ expires_at: string;
1742
+ document: components["schemas"]["OpaqueSurfaceDocumentV3"];
1743
+ };
1744
+ TrustedParentBridgeHandshake: {
1745
+ /** @constant */
1746
+ type: "redevplugin.bridge.handshake";
1747
+ plugin_id: string;
1748
+ surface_id: string;
1749
+ surface_instance_id: string;
1750
+ active_fingerprint: string;
1751
+ bridge_nonce: string;
1752
+ asset_session_nonce: string;
1753
+ management_revision: number;
1754
+ revoke_epoch: number;
1755
+ /** @constant */
1756
+ ui_protocol_version: "plugin-ui-v5";
1757
+ };
1758
+ TrustedParentBridgeTokenRequest: {
1759
+ handshake: components["schemas"]["TrustedParentBridgeHandshake"];
1760
+ bridge_channel_id: string;
1761
+ handshake_transcript_sha256: string;
1762
+ /** @description Required only when renewing the current bridge channel lease. */
1763
+ previous_plugin_gateway_token?: string;
1764
+ };
1765
+ BridgeTokenResult: {
1766
+ plugin_gateway_token: string;
1767
+ plugin_gateway_token_id: string;
1768
+ asset_session: string;
1769
+ asset_session_id: string;
1770
+ /** Format: date-time */
1771
+ issued_at: string;
1772
+ /** Format: date-time */
1773
+ expires_at: string;
1774
+ };
1775
+ ReadSurfaceAssetRequest: {
1776
+ asset_session: string;
1777
+ asset_session_id: string;
1778
+ binding_id: string;
1779
+ };
1780
+ SurfaceAssetResult: {
1781
+ path: string;
1782
+ sha256: string;
1783
+ content_type: string;
1784
+ content_base64: string;
1785
+ };
1786
+ ReadSurfaceStreamRequest: {
1787
+ stream_id: string;
1788
+ stream_ticket: string;
1789
+ read_id: string;
1790
+ };
1791
+ AcknowledgeSurfaceStreamRequest: {
1792
+ stream_id: string;
1793
+ stream_ticket: string;
1794
+ delivery_id: string;
1795
+ };
1796
+ SurfaceStreamResult: {
1797
+ delivery_id?: string;
1798
+ read_id: string;
1799
+ events: components["schemas"]["StreamEvent"][];
1800
+ done: boolean;
1801
+ /** @enum {unknown} */
1802
+ terminal_status?: "closed" | "canceled" | "failed" | "orphaned_after_disable" | "orphaned_after_uninstall";
1803
+ } & (unknown & unknown & unknown);
1804
+ SurfaceStreamAcknowledgementResult: {
1805
+ /** @constant */
1806
+ acknowledged: true;
1807
+ };
1808
+ CancelSurfaceOperationRequest: {
1809
+ operation_id: string;
1810
+ bridge_channel_id: string;
1811
+ reason?: string;
1812
+ };
1813
+ RejectSurfaceConfirmationRequest: {
1814
+ plugin_instance_id: string;
1815
+ bridge_channel_id: string;
1816
+ plugin_gateway_token: string;
1817
+ confirmation_id: string;
1818
+ };
1819
+ ConfirmationRejectionResult: {
1820
+ /** @constant */
1821
+ rejected: true;
1822
+ };
1823
+ StreamEvent: {
1824
+ stream_id: string;
1825
+ sequence: number;
1826
+ kind: string;
1827
+ data?: string;
1828
+ error?: string;
1829
+ /** Format: date-time */
1830
+ at: string;
1831
+ };
1832
+ DisposeSurfaceRequest: {
1833
+ bridge_nonce: string;
1834
+ };
1835
+ RPCRequest: {
1836
+ plugin_instance_id: string;
1837
+ surface_instance_id: string;
1838
+ bridge_channel_id: string;
1839
+ plugin_gateway_token: string;
1840
+ confirmation_id?: string;
1841
+ method: string;
1842
+ params?: {
1843
+ [key: string]: unknown;
1844
+ };
1845
+ };
1846
+ PrepareMethodConfirmationRequest: {
1847
+ plugin_instance_id: string;
1848
+ surface_instance_id: string;
1849
+ bridge_channel_id: string;
1850
+ plugin_gateway_token: string;
1851
+ method: string;
1852
+ params?: {
1853
+ [key: string]: unknown;
1854
+ };
1855
+ };
1856
+ RPCResult: {
1857
+ data?: unknown;
1858
+ } | {
1859
+ data?: unknown;
1860
+ operation_id: string;
1861
+ } | {
1862
+ data?: unknown;
1863
+ operation_id: string;
1864
+ stream_id: string;
1865
+ stream_ticket: string;
1866
+ stream_ticket_id: string;
1867
+ /** Format: date-time */
1868
+ stream_expires_at: string;
1869
+ } | {
1870
+ /** @constant */
1871
+ confirmation_required: true;
1872
+ confirmation_token_id: string;
1873
+ request_hash: string;
1874
+ plan_hash: string;
1875
+ };
1876
+ RiskFlag: {
1877
+ /** @description Stable machine-readable risk identifier. */
1878
+ id: string;
1879
+ /** @enum {string} */
1880
+ severity: "info" | "low" | "medium" | "high" | "critical";
1881
+ summary: string;
1882
+ description?: string;
1883
+ requires_confirmation?: boolean;
1884
+ requires_admin?: boolean;
1885
+ data_loss_risk?: boolean;
1886
+ destructive?: boolean;
1887
+ };
1888
+ RiskPlan: {
1889
+ /** @constant */
1890
+ schema_version: "redevplugin.capability.risk_plan.v1";
1891
+ capability_id?: string;
1892
+ binding_id?: string;
1893
+ method?: string;
1894
+ target_method?: string;
1895
+ action?: string;
1896
+ /** @enum {string} */
1897
+ effect?: "read" | "write" | "execute" | "delete" | "admin";
1898
+ resource_ref?: string;
1899
+ resource_display_name?: string;
1900
+ summary: string;
1901
+ risk_flags: components["schemas"]["RiskFlag"][];
1902
+ requires_confirmation?: boolean;
1903
+ requires_admin?: boolean;
1904
+ data_loss_risk?: boolean;
1905
+ destructive?: boolean;
1906
+ deny_reason?: string;
1907
+ details?: {
1908
+ [key: string]: unknown;
1909
+ };
1910
+ };
1911
+ PluginMethodConfirmationPreparation: {
1912
+ confirmation_id: string;
1913
+ /** @description Opaque audit/display id for the server-held confirmation token. It is not a credential. */
1914
+ confirmation_token_id: string;
1915
+ request_hash: string;
1916
+ plan_hash: string;
1917
+ /** @description Host-redacted confirmation plan payload returned by the declared preflight method, when available. */
1918
+ plan?: components["schemas"]["RiskPlan"] | {
1919
+ [key: string]: unknown;
1920
+ };
1921
+ /** Format: date-time */
1922
+ expires_at: string;
1923
+ };
1924
+ InvokeIntentRequest: {
1925
+ plugin_instance_id?: string;
1926
+ intent_id: string;
1927
+ params?: {
1928
+ [key: string]: unknown;
1929
+ };
1930
+ };
1931
+ CancelOperationRequest: {
1932
+ reason?: string;
1933
+ };
1934
+ CapabilityContractPin: components["schemas"]["HostCapabilityPinV1"];
1935
+ /** @description Public immutable execution evidence embedded into operation responses. Session and bridge channel ownership fields are excluded. */
1936
+ PublicOperationBinding: {
1937
+ invocation_id: string;
1938
+ audit_correlation_id: string;
1939
+ operation_id?: string;
1940
+ stream_id?: string;
1941
+ publisher_id: string;
1942
+ plugin_id: string;
1943
+ plugin_instance_id: string;
1944
+ plugin_version: components["schemas"]["StrictSemVer"];
1945
+ active_fingerprint: string;
1946
+ surface_instance_id?: string;
1947
+ /** @enum {string} */
1948
+ route_kind: "capability" | "worker" | "core_action";
1949
+ capability_id: string;
1950
+ capability_version: components["schemas"]["StrictSemVer"];
1951
+ binding_id: string;
1952
+ contract?: components["schemas"]["CapabilityContractPin"];
1953
+ method: string;
1954
+ target_method: string;
1955
+ /** @enum {string} */
1956
+ effect: "read" | "write" | "execute" | "delete" | "admin";
1957
+ /** @enum {string} */
1958
+ execution: "sync" | "operation" | "subscription";
1959
+ permissions: {
1960
+ required: string[];
1961
+ granted: string[];
1962
+ };
1963
+ confirmation: {
1964
+ required: boolean;
1965
+ confirmed: boolean;
1966
+ confirmation_id?: string;
1967
+ request_sha256?: string;
1968
+ plan_sha256?: string;
1969
+ target_sha256?: string;
1970
+ };
1971
+ revision: {
1972
+ policy_revision: number;
1973
+ management_revision: number;
1974
+ revoke_epoch: number;
1975
+ };
1976
+ quota: {
1977
+ max_concurrent?: number;
1978
+ max_duration_ms?: number;
1979
+ max_stream_bytes?: number;
1980
+ /** Format: date-time */
1981
+ expires_at?: string;
1982
+ };
1983
+ target: {
1984
+ kind: string;
1985
+ fields: {
1986
+ [key: string]: unknown;
1987
+ };
1988
+ };
1989
+ target_descriptor_sha256: string;
1990
+ stream_event_type_name?: string;
1991
+ stream_event_schema_sha256?: string;
1992
+ } & ({
1993
+ /** @constant */
1994
+ route_kind: "capability";
1995
+ } | {
1996
+ /** @constant */
1997
+ route_kind: "worker";
1998
+ } | {
1999
+ /** @constant */
2000
+ route_kind: "core_action";
2001
+ });
2002
+ OperationRecord: components["schemas"]["PublicOperationBinding"] & ({
2003
+ operation_id: string;
2004
+ /** @enum {string} */
2005
+ execution?: "operation" | "subscription";
2006
+ cancelable: boolean;
2007
+ cancel_ack_timeout_ms?: number;
2008
+ /** @enum {string} */
2009
+ disable_behavior?: "cancel" | "orphan" | "wait";
2010
+ /** @enum {string} */
2011
+ uninstall_behavior?: "cancel_then_block_delete" | "force_cleanup_allowed";
2012
+ /** Format: date-time */
2013
+ created_at: string;
2014
+ /** Format: date-time */
2015
+ updated_at: string;
2016
+ /** Format: date-time */
2017
+ cancel_requested_at?: string;
2018
+ /** Format: date-time */
2019
+ orphaned_at?: string;
2020
+ /** Format: date-time */
2021
+ terminal_at?: string;
2022
+ } & ({
2023
+ /** @constant */
2024
+ status: "failed";
2025
+ failure_code: components["schemas"]["ExecutionFailureCode"];
2026
+ /** @constant */
2027
+ reason: "execution failed";
2028
+ } | {
2029
+ /** @enum {unknown} */
2030
+ status: "running" | "cancel_requested" | "canceled" | "completed" | "orphaned_after_disable" | "orphaned_after_uninstall";
2031
+ reason?: string;
2032
+ }));
2033
+ /** @enum {string} */
2034
+ ExecutionFailureCode: "adapter_failed" | "contract_invalid" | "platform_failed" | "quota_exceeded" | "runtime_failed";
2035
+ StartRuntimeRequest: {
2036
+ target: components["schemas"]["RuntimeTarget"];
2037
+ };
2038
+ ExportDataRequest: {
2039
+ plugin_instance_id: string;
2040
+ };
2041
+ DeleteDataExportRequest: {
2042
+ plugin_instance_id: string;
2043
+ bundle_ref: string;
2044
+ };
2045
+ ImportDataRequest: {
2046
+ plugin_instance_id: string;
2047
+ bundle_ref: string;
2048
+ expected_management_revision: number;
2049
+ };
2050
+ PluginDataBinding: {
2051
+ plugin_instance_id: string;
2052
+ generation_id: string;
2053
+ /** @enum {string} */
2054
+ state: "active" | "retained";
2055
+ revision: number;
2056
+ shape_hash: string;
2057
+ /** Format: date-time */
2058
+ retained_at?: string;
2059
+ /** Format: date-time */
2060
+ expires_at?: string;
2061
+ };
2062
+ RetainedDataList: {
2063
+ retained_data: components["schemas"]["PluginDataBinding"][];
2064
+ };
2065
+ RetainedDataCleanupResult: {
2066
+ deleted: components["schemas"]["PluginDataBinding"][];
2067
+ };
2068
+ DeleteRetainedDataRequest: {
2069
+ plugin_instance_id: string;
2070
+ expected_binding_revision: number;
2071
+ };
2072
+ BindRetainedDataRequest: {
2073
+ source_plugin_instance_id: string;
2074
+ expected_source_binding_revision: number;
2075
+ target_plugin_instance_id: string;
2076
+ target_expected_management_revision: number;
2077
+ };
2078
+ CleanupExpiredRetainedDataRequest: Record<string, never>;
2079
+ GrantPermissionRequest: {
2080
+ plugin_instance_id: string;
2081
+ permission_id: string;
2082
+ expected_policy_revision: number;
2083
+ expected_management_revision: number;
2084
+ expected_revoke_epoch: number;
2085
+ /** Format: date-time */
2086
+ expires_at?: string;
2087
+ };
2088
+ RevokePermissionRequest: {
2089
+ plugin_instance_id: string;
2090
+ permission_id: string;
2091
+ expected_policy_revision: number;
2092
+ expected_management_revision: number;
2093
+ expected_revoke_epoch: number;
2094
+ reason?: string;
2095
+ };
2096
+ PutSecurityPolicyRequest: {
2097
+ expected_policy_revision: number;
2098
+ expected_management_revision: number;
2099
+ expected_revoke_epoch: number;
2100
+ allowed_permissions: string[];
2101
+ denied_methods: string[];
2102
+ };
2103
+ DeleteSecurityPolicyRequest: {
2104
+ expected_policy_revision: number;
2105
+ expected_management_revision: number;
2106
+ expected_revoke_epoch: number;
2107
+ };
2108
+ SecretRefRequest: {
2109
+ plugin_instance_id: string;
2110
+ secret_ref: string;
2111
+ /** @enum {string} */
2112
+ scope: "user" | "environment";
2113
+ };
2114
+ /** @enum {string} */
2115
+ ResourceScopeKind: "user" | "environment";
2116
+ PatchSettingsRequest: {
2117
+ scope: components["schemas"]["ResourceScopeKind"];
2118
+ expected_values_revision: number;
2119
+ set?: {
2120
+ [key: string]: unknown;
2121
+ };
2122
+ remove?: string[];
2123
+ };
2124
+ ErrorCodesV6: Record<string, never>;
2125
+ /** @enum {string} */
2126
+ ErrorCodesV6PlatformErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
2127
+ /** @enum {string} */
2128
+ ErrorCodesV6BridgeErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED";
2129
+ /** @enum {string} */
2130
+ ErrorCodesV6TypescriptClientErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED" | "PLUGIN_PLATFORM_REQUEST_FAILED" | "PLUGIN_STREAM_FAILED";
2131
+ /** @enum {string} */
2132
+ ErrorCodesV6RustIpcErrorCode: "ARTIFACT_HANDLE_FAILED" | "HANDLE_GRANT_VALIDATION_FAILED" | "STORAGE_FILE_FAILED" | "STORAGE_KV_FAILED" | "STORAGE_SQLITE_FAILED" | "NETWORK_GRANT_FAILED" | "NETWORK_EXECUTE_FAILED" | "NETWORK_STREAM_STORE_UNAVAILABLE" | "NETWORK_STREAM_FAILED" | "NETWORK_STREAM_BACKPRESSURE" | "NETWORK_STREAM_INVALID" | "NETWORK_STREAM_NOT_FOUND" | "NETWORK_STREAM_CLOSED" | "WORKER_INVOCATION_INVALID" | "RUNTIME_CAPABILITY_REVOKED" | "RUNTIME_CONTROL_CHANNEL_STALE" | "RUNTIME_LEASE_INVALID" | "RUNTIME_LEASE_SIGNATURE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "WASM_WORKER_INVALID" | "WASM_WORKER_FAILED" | "WASM_HOSTCALL_FAILED" | "RUNTIME_CAPACITY_EXCEEDED" | "RUNTIME_INVOCATION_CANCELED" | "PLUGIN_SESSION_REVOKED" | "SESSION_REVOKE_SEQUENCE_STALE" | "SESSION_REVOKE_DRAIN_TIMEOUT" | "UNSUPPORTED_FRAME";
2133
+ /** @enum {string} */
2134
+ ErrorCodesV6RuntimeProcessFailureCode: "RUNTIME_PROCESS_FAILED" | "RUNTIME_PROCESS_EXIT_UNEXPECTED" | "RUNTIME_PROCESS_EXIT_UNRECOGNIZED" | "RUNTIME_PROCESS_SIGNALLED" | "IPC_WRITER_CAPACITY_OVERFLOW" | "IPC_WRITER_CAPACITY_LIMIT_EXCEEDED" | "IPC_WRITER_START_FAILED" | "IPC_WRITER_CLOSED" | "IPC_WRITER_BATCH_SIZE_OVERFLOW" | "IPC_WRITER_WRITE_FAILED" | "IPC_WRITER_FLUSH_FAILED" | "IPC_WRITER_PANICKED";
2135
+ ErrorCodesV6RuntimeProcessExitFailure: {
2136
+ /** @constant */
2137
+ exit_code: 1;
2138
+ /** @constant */
2139
+ code: "RUNTIME_PROCESS_FAILED";
2140
+ } | {
2141
+ /** @constant */
2142
+ exit_code: 80;
2143
+ /** @constant */
2144
+ code: "IPC_WRITER_CAPACITY_OVERFLOW";
2145
+ } | {
2146
+ /** @constant */
2147
+ exit_code: 81;
2148
+ /** @constant */
2149
+ code: "IPC_WRITER_CAPACITY_LIMIT_EXCEEDED";
2150
+ } | {
2151
+ /** @constant */
2152
+ exit_code: 82;
2153
+ /** @constant */
2154
+ code: "IPC_WRITER_START_FAILED";
2155
+ } | {
2156
+ /** @constant */
2157
+ exit_code: 83;
2158
+ /** @constant */
2159
+ code: "IPC_WRITER_CLOSED";
2160
+ } | {
2161
+ /** @constant */
2162
+ exit_code: 84;
2163
+ /** @constant */
2164
+ code: "IPC_WRITER_BATCH_SIZE_OVERFLOW";
2165
+ } | {
2166
+ /** @constant */
2167
+ exit_code: 85;
2168
+ /** @constant */
2169
+ code: "IPC_WRITER_WRITE_FAILED";
2170
+ } | {
2171
+ /** @constant */
2172
+ exit_code: 86;
2173
+ /** @constant */
2174
+ code: "IPC_WRITER_FLUSH_FAILED";
2175
+ } | {
2176
+ /** @constant */
2177
+ exit_code: 87;
2178
+ /** @constant */
2179
+ code: "IPC_WRITER_PANICKED";
2180
+ };
2181
+ SessionScopeV1: components["schemas"]["SessionScopeV1PublicRevokeResult"];
2182
+ SessionScopeV1OwnerHash: string;
2183
+ SessionScopeV1SessionScope: {
2184
+ owner_session_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2185
+ owner_user_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2186
+ owner_env_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2187
+ session_channel_id_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2188
+ };
2189
+ /** @enum {string} */
2190
+ SessionScopeV1TeardownPhase: "bridge" | "confirmation" | "execution" | "operation" | "stream" | "runtime";
2191
+ SessionScopeV1RevokeCounts: {
2192
+ surfaces: components["schemas"]["SessionScopeV1Count"];
2193
+ asset_tickets: components["schemas"]["SessionScopeV1Count"];
2194
+ asset_sessions: components["schemas"]["SessionScopeV1Count"];
2195
+ plugin_gateway_tokens: components["schemas"]["SessionScopeV1Count"];
2196
+ confirmation_tokens: components["schemas"]["SessionScopeV1Count"];
2197
+ stream_tickets: components["schemas"]["SessionScopeV1Count"];
2198
+ handle_grants: components["schemas"]["SessionScopeV1Count"];
2199
+ confirmations: components["schemas"]["SessionScopeV1Count"];
2200
+ operations: components["schemas"]["SessionScopeV1Count"];
2201
+ streams: components["schemas"]["SessionScopeV1Count"];
2202
+ runtime_executions: components["schemas"]["SessionScopeV1Count"];
2203
+ active_network_requests: components["schemas"]["SessionScopeV1Count"];
2204
+ sockets: components["schemas"]["SessionScopeV1Count"];
2205
+ network_streams: components["schemas"]["SessionScopeV1Count"];
2206
+ storage_hostcalls: components["schemas"]["SessionScopeV1Count"];
2207
+ };
2208
+ SessionScopeV1Count: number;
2209
+ SessionScopeV1CompleteRevokeResult: {
2210
+ /** @constant */
2211
+ state: "complete";
2212
+ /** @constant */
2213
+ fenced: true;
2214
+ /** @constant */
2215
+ complete: true;
2216
+ counts: components["schemas"]["SessionScopeV1RevokeCounts"];
2217
+ };
2218
+ SessionScopeV1IncompleteRevokeResult: {
2219
+ /** @constant */
2220
+ state: "incomplete";
2221
+ /** @constant */
2222
+ fenced: true;
2223
+ /** @constant */
2224
+ complete: false;
2225
+ counts: components["schemas"]["SessionScopeV1RevokeCounts"];
2226
+ };
2227
+ SessionScopeV1PublicRevokeResult: components["schemas"]["SessionScopeV1CompleteRevokeResult"] | components["schemas"]["SessionScopeV1IncompleteRevokeResult"];
2228
+ CompatibilityManifestV8: {
2229
+ /** @constant */
2230
+ schema_version: "redevplugin.compatibility.v8";
2231
+ package_set: components["schemas"]["PlatformPackageSetV1"];
2232
+ matrix: {
2233
+ /** @constant */
2234
+ plugin_ui_protocol_version: "plugin-ui-v5";
2235
+ /** @constant */
2236
+ plugin_host_protocol_version: "plugin-host-v6";
2237
+ /** @constant */
2238
+ rust_ipc_version: "rust-ipc-v6";
2239
+ /** @constant */
2240
+ wasm_abi_version: "redevplugin-wasm-worker-v2";
2241
+ /** @constant */
2242
+ manifest_schema_version: "manifest-v5";
2243
+ /** @constant */
2244
+ package_signature_schema_version: "package-signature-v1";
2245
+ /** @constant */
2246
+ release_metadata_schema_version: "release-metadata-v5";
2247
+ /** @constant */
2248
+ release_root_delegation_schema_version: "release-root-delegation-v1";
2249
+ /** @constant */
2250
+ release_source_policy_schema_version: "release-source-policy-v2";
2251
+ /** @constant */
2252
+ release_source_policy_pointer_schema_version: "release-source-policy-pointer-v1";
2253
+ /** @constant */
2254
+ release_revocation_schema_version: "release-revocation-v2";
2255
+ /** @constant */
2256
+ release_revocation_pointer_schema_version: "release-revocation-pointer-v1";
2257
+ /** @constant */
2258
+ release_trust_state_schema_version: "release-trust-state-v1";
2259
+ /** @constant */
2260
+ trusted_time_evidence_schema_version: "trusted-time-evidence-v1";
2261
+ /** @constant */
2262
+ trusted_time_leaf_schema_version: "trusted-time-leaf-v1";
2263
+ /** @constant */
2264
+ release_signing_ledger_schema_version: "release-signing-ledger-v1";
2265
+ /** @constant */
2266
+ release_signing_subject_schema_version: "release-signing-subject-v1";
2267
+ /** @constant */
2268
+ release_signature_envelope_schema_version: "release-signature-envelope-v1";
2269
+ /** @constant */
2270
+ release_signing_ledger_receipt_schema_version: "release-signing-ledger-receipt-v1";
2271
+ /** @constant */
2272
+ release_signing_ledger_evidence_schema_version: "release-signing-ledger-evidence-v1";
2273
+ /** @constant */
2274
+ token_ticket_schema_version: "token-ticket-v4";
2275
+ /** @constant */
2276
+ bridge_schema_version: "bridge-v5";
2277
+ /** @constant */
2278
+ opaque_surface_document_schema_version: "opaque-surface-document-v3";
2279
+ /** @constant */
2280
+ opaque_surface_transport_schema_version: "opaque-surface-transport-v4";
2281
+ /** @constant */
2282
+ target_classifier_version: "target-classifier-v2";
2283
+ /** @constant */
2284
+ network_grant_schema_version: "network-grant-v2";
2285
+ /** @constant */
2286
+ resource_scope_schema_version: "resource-scope-v1";
2287
+ /** @constant */
2288
+ session_scope_schema_version: "session-scope-v1";
2289
+ /** @constant */
2290
+ plugin_platform_openapi_version: "plugin-platform-v8";
2291
+ /** @constant */
2292
+ compatibility_schema_version: "compatibility-manifest-v8";
2293
+ /** @constant */
2294
+ worker_invocation_schema_version: "worker-invocation-v3";
2295
+ /** @constant */
2296
+ host_capability_contract_schema_version: "host-capability-contract-v1";
2297
+ /** @constant */
2298
+ host_capability_pin_schema_version: "host-capability-pin-v1";
2299
+ /** @constant */
2300
+ host_capability_manifest_schema_version: "host-capability-manifest-v1";
2301
+ /** @constant */
2302
+ host_capability_compatibility_schema_version: "host-capability-compatibility-v1";
2303
+ /** @constant */
2304
+ host_capability_signature_schema_version: "host-capability-signature-v1";
2305
+ /** @constant */
2306
+ host_capability_notices_schema_version: "host-capability-notices-v1";
2307
+ /** @constant */
2308
+ error_codes_schema_version: "error-codes-v6";
2309
+ /** @constant */
2310
+ performance_contract_version: "performance-contract-v3";
2311
+ /** @constant */
2312
+ performance_evidence_schema_version: "performance-evidence-v3";
2313
+ /** @constant */
2314
+ contract_registry_version: "contract-registry-v2";
2315
+ /** @constant */
2316
+ platform_package_set_schema_version: "platform-package-set-v1";
2317
+ /** @constant */
2318
+ platform_package_publication_schema_version: "platform-package-publication-v1";
2319
+ /** @constant */
2320
+ runtime_admission_schema_version: "runtime-admission-v1";
2321
+ /** @constant */
2322
+ runtime_descriptor_schema_version: "runtime-descriptor-v2";
2323
+ /** @constant */
2324
+ owner_scope_inventory_registry_version: "owner-scope-inventory-registry-v1";
2325
+ /** @constant */
2326
+ owner_scope_inventory_schema_version: "owner-scope-inventory-v1";
2327
+ /** @constant */
2328
+ owner_scope_migration_schema_version: "owner-scope-migration-v1";
2329
+ /** @constant */
2330
+ process_containment_schema_version: "process-containment-v1";
2331
+ /** @constant */
2332
+ runtime_exec_journal_schema_version: "runtime-exec-journal-v1";
2333
+ /** @constant */
2334
+ quarantine_cleanup_schema_version: "quarantine-cleanup-v1";
2335
+ };
2336
+ contract_set_sha256: string;
2337
+ contracts: components["schemas"]["CompatibilityManifestV8Contract"][];
2338
+ };
2339
+ CompatibilityManifestV8Contract: {
2340
+ id: string;
2341
+ path: string;
2342
+ version: string;
2343
+ sha256: string;
2344
+ };
2345
+ PlatformPackageSetV1: {
2346
+ /** @constant */
2347
+ schema_version: "redevplugin.platform_package_set.v1";
2348
+ platform_version: components["schemas"]["PlatformPackageSetV1Version"];
2349
+ go_module: components["schemas"]["PlatformPackageSetV1GoModule"];
2350
+ npm_packages: [
2351
+ components["schemas"]["PlatformPackageSetV1NpmContracts"],
2352
+ components["schemas"]["PlatformPackageSetV1NpmUi"]
2353
+ ];
2354
+ rust_crates: [
2355
+ components["schemas"]["PlatformPackageSetV1RustContracts"],
2356
+ components["schemas"]["PlatformPackageSetV1RustIpc"],
2357
+ components["schemas"]["PlatformPackageSetV1RustWasmAbi"],
2358
+ components["schemas"]["PlatformPackageSetV1RustTargetClassifier"],
2359
+ components["schemas"]["PlatformPackageSetV1RustWorkerSdk"],
2360
+ components["schemas"]["PlatformPackageSetV1RustRuntime"]
2361
+ ];
2362
+ /** @constant */
2363
+ contract_registry_version: "contract-registry-v2";
2364
+ contract_set_sha256: components["schemas"]["PlatformPackageSetV1Sha256"];
2365
+ };
2366
+ PlatformPackageSetV1Version: string;
2367
+ PlatformPackageSetV1Sha256: string;
2368
+ PlatformPackageSetV1GoModule: {
2369
+ /** @constant */
2370
+ module: "github.com/floegence/redevplugin";
2371
+ version: string;
2372
+ };
2373
+ PlatformPackageSetV1NpmPackage: {
2374
+ name: string;
2375
+ version: components["schemas"]["PlatformPackageSetV1Version"];
2376
+ };
2377
+ PlatformPackageSetV1NpmContracts: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2378
+ /** @constant */
2379
+ name?: "@floegence/redevplugin-contracts";
2380
+ };
2381
+ PlatformPackageSetV1NpmUi: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2382
+ /** @constant */
2383
+ name?: "@floegence/redevplugin-ui";
2384
+ };
2385
+ PlatformPackageSetV1RustCrate: {
2386
+ name: string;
2387
+ version: components["schemas"]["PlatformPackageSetV1Version"];
2388
+ /** @enum {unknown} */
2389
+ role: "contracts" | "ipc" | "wasm_abi" | "target_classifier" | "worker_sdk" | "runtime";
2390
+ };
2391
+ PlatformPackageSetV1RustContracts: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2392
+ /** @constant */
2393
+ name?: "redevplugin-contracts";
2394
+ /** @constant */
2395
+ role?: "contracts";
2396
+ };
2397
+ PlatformPackageSetV1RustIpc: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2398
+ /** @constant */
2399
+ name?: "redevplugin-ipc";
2400
+ /** @constant */
2401
+ role?: "ipc";
2402
+ };
2403
+ PlatformPackageSetV1RustWasmAbi: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2404
+ /** @constant */
2405
+ name?: "redevplugin-wasm-abi";
2406
+ /** @constant */
2407
+ role?: "wasm_abi";
2408
+ };
2409
+ PlatformPackageSetV1RustTargetClassifier: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2410
+ /** @constant */
2411
+ name?: "redevplugin-target-classifier";
2412
+ /** @constant */
2413
+ role?: "target_classifier";
2414
+ };
2415
+ PlatformPackageSetV1RustWorkerSdk: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2416
+ /** @constant */
2417
+ name?: "redevplugin-worker-sdk";
2418
+ /** @constant */
2419
+ role?: "worker_sdk";
2420
+ };
2421
+ PlatformPackageSetV1RustRuntime: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2422
+ /** @constant */
2423
+ name?: "redevplugin-runtime";
2424
+ /** @constant */
2425
+ role?: "runtime";
2426
+ };
2427
+ ManifestV5: {
2428
+ /** @constant */
2429
+ schema_version: "redevplugin.manifest.v5";
2430
+ publisher: {
2431
+ publisher_id: string;
2432
+ display_name?: string;
2433
+ };
2434
+ plugin: {
2435
+ plugin_id: string;
2436
+ display_name: string;
2437
+ version: components["schemas"]["ManifestV5Semver"];
2438
+ /** @constant */
2439
+ api_version: "plugin-v1";
2440
+ min_runtime_version: components["schemas"]["ManifestV5Semver"];
2441
+ /** @constant */
2442
+ ui_protocol_version: "plugin-ui-v5";
2443
+ };
2444
+ surfaces: {
2445
+ surface_id: string;
2446
+ /** @enum {unknown} */
2447
+ kind: "view" | "command" | "background";
2448
+ /** @enum {unknown} */
2449
+ intent?: "primary" | "secondary" | "utility";
2450
+ label: string;
2451
+ entry: string;
2452
+ icon?: string;
2453
+ default_size?: {
2454
+ width: number;
2455
+ height: number;
2456
+ };
2457
+ }[];
2458
+ capability_bindings?: {
2459
+ binding_id: string;
2460
+ contract: components["schemas"]["HostCapabilityPinV1"];
2461
+ }[];
2462
+ methods?: ({
2463
+ method: string;
2464
+ /** @enum {unknown} */
2465
+ effect?: "read" | "write" | "delete" | "execute" | "admin";
2466
+ /** @enum {unknown} */
2467
+ execution?: "sync" | "operation" | "subscription";
2468
+ dangerous?: boolean;
2469
+ preflight_only?: boolean;
2470
+ broker_access?: {
2471
+ storage?: {
2472
+ store_id: string;
2473
+ operations: ("read" | "write" | "delete" | "list" | "get" | "put" | "query" | "exec")[];
2474
+ }[];
2475
+ network?: ({
2476
+ connector_id: string;
2477
+ /** @enum {unknown} */
2478
+ transport: "http" | "websocket" | "tcp" | "udp";
2479
+ operations: ("http" | "http_stream" | "websocket_round_trip" | "tcp_round_trip" | "udp_round_trip")[];
2480
+ http_methods?: ("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS")[];
2481
+ } & unknown)[];
2482
+ };
2483
+ route: {
2484
+ /** @enum {unknown} */
2485
+ kind: "capability" | "worker" | "core_action";
2486
+ binding_id?: string;
2487
+ target_method?: string;
2488
+ worker_id?: string;
2489
+ action_id?: string;
2490
+ } & (unknown & unknown & unknown);
2491
+ confirmation?: {
2492
+ /** @enum {unknown} */
2493
+ mode: "none" | "required" | "risk_based";
2494
+ preflight_method?: string | null;
2495
+ request_hash_fields?: string[];
2496
+ plan_hash_required?: boolean;
2497
+ };
2498
+ cancel_policy?: {
2499
+ cancelable: boolean;
2500
+ /** @enum {unknown} */
2501
+ disable_behavior?: "cancel" | "orphan" | "wait";
2502
+ /** @enum {unknown} */
2503
+ uninstall_behavior?: "cancel_then_block_delete" | "force_cleanup_allowed";
2504
+ ack_timeout_ms?: number;
2505
+ } & (unknown & unknown);
2506
+ request_schema?: components["schemas"]["ManifestV5MethodSchema"] & {
2507
+ /** @constant */
2508
+ type: "object";
2509
+ /** @constant */
2510
+ additionalProperties: false;
2511
+ };
2512
+ response_schema?: components["schemas"]["ManifestV5MethodSchema"] & {
2513
+ /** @constant */
2514
+ type: "object";
2515
+ /** @constant */
2516
+ additionalProperties: false;
2517
+ };
2518
+ } & (unknown & unknown & unknown & unknown))[];
2519
+ workers?: {
2520
+ worker_id: string;
2521
+ artifact: string;
2522
+ /** @constant */
2523
+ abi: "redevplugin-wasm-worker-v2";
2524
+ /** @constant */
2525
+ mode: "job";
2526
+ /** @enum {unknown} */
2527
+ scope: "user" | "environment";
2528
+ memory_limit_bytes: number;
2529
+ idle_timeout_ms?: number;
2530
+ }[];
2531
+ storage?: {
2532
+ stores?: {
2533
+ store_id: string;
2534
+ /** @enum {unknown} */
2535
+ kind: "kv" | "files" | "sqlite";
2536
+ /** @enum {unknown} */
2537
+ scope: "user" | "environment";
2538
+ quota_bytes: number;
2539
+ quota_files?: number;
2540
+ schema_version: number;
2541
+ }[];
2542
+ };
2543
+ network_access?: {
2544
+ connectors?: {
2545
+ connector_id: string;
2546
+ /** @enum {unknown} */
2547
+ transport: "http" | "websocket" | "tcp" | "udp";
2548
+ /** @enum {unknown} */
2549
+ scope: "user" | "environment";
2550
+ destinations: string[];
2551
+ auth?: Record<string, never>;
2552
+ tls?: Record<string, never>;
2553
+ }[];
2554
+ };
2555
+ settings?: {
2556
+ schema_version: number;
2557
+ fields?: {
2558
+ key: string;
2559
+ type: string;
2560
+ /** @enum {unknown} */
2561
+ scope: "user" | "environment";
2562
+ label: string;
2563
+ default?: unknown;
2564
+ secret_ref?: string;
2565
+ options?: string[];
2566
+ validation?: Record<string, never>;
2567
+ }[];
2568
+ };
2569
+ intents?: {
2570
+ intent_id: string;
2571
+ method: string;
2572
+ payload_schema?: Record<string, never>;
2573
+ }[];
2574
+ };
2575
+ ManifestV5Semver: string;
2576
+ ManifestV5MethodSchema: false | (({
2577
+ description?: string;
2578
+ readOnly?: boolean;
2579
+ writeOnly?: boolean;
2580
+ $ref?: string;
2581
+ type?: ("null" | "boolean" | "object" | "array" | "number" | "integer" | "string") | ("null" | "boolean" | "object" | "array" | "number" | "integer" | "string")[];
2582
+ properties?: {
2583
+ [key: string]: components["schemas"]["ManifestV5MethodSchema"];
2584
+ };
2585
+ patternProperties?: {
2586
+ [key: string]: components["schemas"]["ManifestV5MethodSchema"];
2587
+ };
2588
+ required?: string[];
2589
+ /** @constant */
2590
+ additionalProperties?: false;
2591
+ items?: components["schemas"]["ManifestV5MethodSchema"];
2592
+ allOf?: components["schemas"]["ManifestV5MethodSchema"][];
2593
+ anyOf?: components["schemas"]["ManifestV5MethodSchema"][];
2594
+ oneOf?: components["schemas"]["ManifestV5MethodSchema"][];
2595
+ enum?: unknown[];
2596
+ const?: unknown;
2597
+ default?: unknown;
2598
+ examples?: unknown[];
2599
+ minimum?: number;
2600
+ maximum?: number;
2601
+ exclusiveMinimum?: number;
2602
+ exclusiveMaximum?: number;
2603
+ multipleOf?: number;
2604
+ minLength?: number;
2605
+ maxLength?: number;
2606
+ pattern?: string;
2607
+ format?: string;
2608
+ minItems?: number;
2609
+ maxItems?: number;
2610
+ uniqueItems?: boolean;
2611
+ minProperties?: number;
2612
+ maxProperties?: number;
2613
+ } & (unknown & unknown)) | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown);
2614
+ HostCapabilityPinV1: {
2615
+ publisher_id: components["schemas"]["HostCapabilityPinV1Id"];
2616
+ contract_id: components["schemas"]["HostCapabilityPinV1Id"];
2617
+ contract_version: components["schemas"]["HostCapabilityPinV1Semver"];
2618
+ artifact_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2619
+ artifact_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2620
+ manifest_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2621
+ manifest_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2622
+ signature_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2623
+ signature_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2624
+ signature_key_id: components["schemas"]["HostCapabilityPinV1Id"];
2625
+ signature_policy_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
2626
+ signature_revocation_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
2627
+ compatibility_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2628
+ compatibility_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2629
+ generated_client_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2630
+ generated_client_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2631
+ notices_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
2632
+ notices_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
2633
+ };
2634
+ HostCapabilityPinV1Id: string;
2635
+ HostCapabilityPinV1Semver: string;
2636
+ HostCapabilityPinV1ArtifactRef: string;
2637
+ HostCapabilityPinV1Sha256: string;
2638
+ HostCapabilityPinV1DecimalEpoch: string;
2639
+ OpaqueSurfaceDocumentV3: {
2640
+ /** @constant */
2641
+ schema_version: "redevplugin.opaque_surface_document.v3";
2642
+ entry_path: components["schemas"]["OpaqueSurfaceDocumentV3PackagePath"];
2643
+ entry_sha256: components["schemas"]["OpaqueSurfaceDocumentV3Sha256"];
2644
+ language?: string;
2645
+ /** @enum {unknown} */
2646
+ direction?: "ltr" | "rtl" | "auto";
2647
+ body_html: string;
2648
+ styles: components["schemas"]["OpaqueSurfaceDocumentV3Style"][];
2649
+ worker: components["schemas"]["OpaqueSurfaceDocumentV3Worker"];
2650
+ assets: components["schemas"]["OpaqueSurfaceDocumentV3Asset"][];
2651
+ critical_bytes: number;
2652
+ };
2653
+ OpaqueSurfaceDocumentV3Sha256: string;
2654
+ OpaqueSurfaceDocumentV3PackagePath: string;
2655
+ OpaqueSurfaceDocumentV3Style: {
2656
+ path: components["schemas"]["OpaqueSurfaceDocumentV3PackagePath"];
2657
+ sha256: components["schemas"]["OpaqueSurfaceDocumentV3Sha256"];
2658
+ content: string;
2659
+ };
2660
+ OpaqueSurfaceDocumentV3Worker: {
2661
+ path: components["schemas"]["OpaqueSurfaceDocumentV3PackagePath"];
2662
+ sha256: components["schemas"]["OpaqueSurfaceDocumentV3Sha256"];
2663
+ /** @constant */
2664
+ type: "classic";
2665
+ content: string;
2666
+ };
2667
+ OpaqueSurfaceDocumentV3Asset: {
2668
+ binding_id: string;
2669
+ logical_ids: string[];
2670
+ path: components["schemas"]["OpaqueSurfaceDocumentV3PackagePath"];
2671
+ sha256: components["schemas"]["OpaqueSurfaceDocumentV3Sha256"];
2672
+ size: number;
2673
+ content_type: string;
2674
+ };
2675
+ };
2676
+ responses: {
2677
+ /** @description Closed non-success response for read-only platform operations. */
2678
+ PlatformErrorResponse: {
2679
+ headers: {
2680
+ [name: string]: unknown;
2681
+ };
2682
+ content: {
2683
+ "application/json": components["schemas"]["PlatformErrorResponse"];
2684
+ };
2685
+ };
2686
+ /** @description Closed non-success response for operations that may change durable platform state. */
2687
+ MutationPlatformErrorResponse: {
2688
+ headers: {
2689
+ [name: string]: unknown;
2690
+ };
2691
+ content: {
2692
+ "application/json": components["schemas"]["MutationPlatformErrorResponse"];
2693
+ };
2694
+ };
2695
+ /** @description Typed plugin method result. Subscriptions always bind one operation and one stream. */
2696
+ RPCResponse: {
2697
+ headers: {
2698
+ [name: string]: unknown;
2699
+ };
2700
+ content: {
2701
+ "application/json": components["schemas"]["RPCSuccessResponse"];
2702
+ };
2703
+ };
2704
+ /** @description Trusted-parent surface bootstrap. Capability-bearing fields are never forwarded into the opaque iframe or plugin worker. */
2705
+ SurfaceBootstrapResponse: {
2706
+ headers: {
2707
+ [name: string]: unknown;
2708
+ };
2709
+ content: {
2710
+ "application/json": components["schemas"]["SurfaceBootstrapSuccessResponse"];
2711
+ };
2712
+ };
2713
+ /** @description Trusted-parent asset-session exchange and validated opaque surface document. */
2714
+ SurfacePreparationResponse: {
2715
+ headers: {
2716
+ [name: string]: unknown;
2717
+ };
2718
+ content: {
2719
+ "application/json": components["schemas"]["SurfacePreparationSuccessResponse"];
2720
+ };
2721
+ };
2722
+ /** @description Trusted-parent plugin gateway token response. */
2723
+ BridgeTokenResponse: {
2724
+ headers: {
2725
+ [name: string]: unknown;
2726
+ };
2727
+ content: {
2728
+ "application/json": components["schemas"]["BridgeTokenSuccessResponse"];
2729
+ };
2730
+ };
2731
+ /** @description Trusted-parent package asset response. The plugin receives only a renderer-created blob URL. */
2732
+ SurfaceAssetResponse: {
2733
+ headers: {
2734
+ [name: string]: unknown;
2735
+ };
2736
+ content: {
2737
+ "application/json": components["schemas"]["SurfaceAssetSuccessResponse"];
2738
+ };
2739
+ };
2740
+ /** @description Trusted-parent stream redemption response. Stream tickets remain outside the plugin worker. */
2741
+ SurfaceStreamResponse: {
2742
+ headers: {
2743
+ [name: string]: unknown;
2744
+ };
2745
+ content: {
2746
+ "application/json": components["schemas"]["SurfaceStreamSuccessResponse"];
2747
+ };
2748
+ };
2749
+ /** @description Confirms one exact stream delivery so the platform may release its events. */
2750
+ SurfaceStreamAcknowledgementResponse: {
2751
+ headers: {
2752
+ [name: string]: unknown;
2753
+ };
2754
+ content: {
2755
+ "application/json": components["schemas"]["SurfaceStreamAcknowledgementSuccessResponse"];
2756
+ };
2757
+ };
2758
+ /** @description Surface revocation response. */
2759
+ SurfaceDisposeResponse: {
2760
+ headers: {
2761
+ [name: string]: unknown;
2762
+ };
2763
+ content: {
2764
+ "application/json": components["schemas"]["SurfaceDisposeSuccessResponse"];
2765
+ };
2766
+ };
2767
+ /** @description Completed authenticated-session teardown response. */
2768
+ SessionScopeRevokeResponse: {
2769
+ headers: {
2770
+ [name: string]: unknown;
2771
+ };
2772
+ content: {
2773
+ "application/json": components["schemas"]["SessionScopeRevokeSuccessResponse"];
2774
+ };
2775
+ };
2776
+ /** @description Plugin lifecycle response with typed registry trust assessment. */
2777
+ PluginRecordResponse: {
2778
+ headers: {
2779
+ [name: string]: unknown;
2780
+ };
2781
+ content: {
2782
+ "application/json": components["schemas"]["PluginRecordSuccessResponse"];
2783
+ };
2784
+ };
2785
+ /** @description Installed plugin catalog response with typed registry records. */
2786
+ PluginCatalogResponse: {
2787
+ headers: {
2788
+ [name: string]: unknown;
2789
+ };
2790
+ content: {
2791
+ "application/json": components["schemas"]["PluginCatalogSuccessResponse"];
2792
+ };
2793
+ };
2794
+ /** @description Closed set of optional host modules configured for this platform. */
2795
+ PluginFeaturesResponse: {
2796
+ headers: {
2797
+ [name: string]: unknown;
2798
+ };
2799
+ content: {
2800
+ "application/json": components["schemas"]["PluginFeaturesSuccessResponse"];
2801
+ };
2802
+ };
2803
+ /** @description Released platform compatibility manifest. */
2804
+ CompatibilityResponse: {
2805
+ headers: {
2806
+ [name: string]: unknown;
2807
+ };
2808
+ content: {
2809
+ "application/json": components["schemas"]["CompatibilitySuccessResponse"];
2810
+ };
2811
+ };
2812
+ /** @description Prepared plugin method confirmation. The raw confirmation token stays server-side and is never returned to parent JavaScript or the plugin iframe. */
2813
+ PluginMethodConfirmationPreparationResponse: {
2814
+ headers: {
2815
+ [name: string]: unknown;
2816
+ };
2817
+ content: {
2818
+ "application/json": components["schemas"]["PluginMethodConfirmationPreparationSuccessResponse"];
2819
+ };
2820
+ };
2821
+ /** @description Trusted-parent acknowledgement that the pending confirmation was atomically rejected and cannot be replayed. */
2822
+ ConfirmationRejectionResponse: {
2823
+ headers: {
2824
+ [name: string]: unknown;
2825
+ };
2826
+ content: {
2827
+ "application/json": components["schemas"]["ConfirmationRejectionSuccessResponse"];
2828
+ };
2829
+ };
2830
+ /** @description Enabled plugin intent records. */
2831
+ IntentListResponse: {
2832
+ headers: {
2833
+ [name: string]: unknown;
2834
+ };
2835
+ content: {
2836
+ "application/json": components["schemas"]["IntentListSuccessResponse"];
2837
+ };
2838
+ };
2839
+ /** @description Retained plugin data list response. */
2840
+ RetainedDataListResponse: {
2841
+ headers: {
2842
+ [name: string]: unknown;
2843
+ };
2844
+ content: {
2845
+ "application/json": components["schemas"]["RetainedDataListSuccessResponse"];
2846
+ };
2847
+ };
2848
+ /** @description Plugin data binding returned after a retained-data mutation. */
2849
+ RetainedDataBindingResponse: {
2850
+ headers: {
2851
+ [name: string]: unknown;
2852
+ };
2853
+ content: {
2854
+ "application/json": components["schemas"]["RetainedDataBindingSuccessResponse"];
2855
+ };
2856
+ };
2857
+ /** @description Retained plugin data cleanup response. */
2858
+ RetainedDataCleanupResponse: {
2859
+ headers: {
2860
+ [name: string]: unknown;
2861
+ };
2862
+ content: {
2863
+ "application/json": components["schemas"]["RetainedDataCleanupSuccessResponse"];
2864
+ };
2865
+ };
2866
+ /** @description Host-owned operation record with its immutable execution binding. */
2867
+ OperationRecordResponse: {
2868
+ headers: {
2869
+ [name: string]: unknown;
2870
+ };
2871
+ content: {
2872
+ "application/json": components["schemas"]["OperationRecordSuccessResponse"];
2873
+ };
2874
+ };
2875
+ /** @description Host-owned operation records with immutable execution bindings. */
2876
+ OperationListResponse: {
2877
+ headers: {
2878
+ [name: string]: unknown;
2879
+ };
2880
+ content: {
2881
+ "application/json": components["schemas"]["OperationListSuccessResponse"];
2882
+ };
2883
+ };
2884
+ /** @description Runtime manager and shard health. */
2885
+ RuntimeHealthResponse: {
2886
+ headers: {
2887
+ [name: string]: unknown;
2888
+ };
2889
+ content: {
2890
+ "application/json": components["schemas"]["RuntimeHealthSuccessResponse"];
2891
+ };
2892
+ };
2893
+ /** @description Runtime manager stop acknowledgement. */
2894
+ RuntimeStopResponse: {
2895
+ headers: {
2896
+ [name: string]: unknown;
2897
+ };
2898
+ content: {
2899
+ "application/json": components["schemas"]["RuntimeStopSuccessResponse"];
2900
+ };
2901
+ };
2902
+ /** @description Enabled plugin runtime refresh result. */
2903
+ RuntimeRefreshResponse: {
2904
+ headers: {
2905
+ [name: string]: unknown;
2906
+ };
2907
+ content: {
2908
+ "application/json": components["schemas"]["RuntimeRefreshSuccessResponse"];
2909
+ };
2910
+ };
2911
+ /** @description Plugin data export result. */
2912
+ DataExportResponse: {
2913
+ headers: {
2914
+ [name: string]: unknown;
2915
+ };
2916
+ content: {
2917
+ "application/json": components["schemas"]["DataExportSuccessResponse"];
2918
+ };
2919
+ };
2920
+ /** @description Immutable plugin data export deletion acknowledgement. */
2921
+ DataExportDeleteResponse: {
2922
+ headers: {
2923
+ [name: string]: unknown;
2924
+ };
2925
+ content: {
2926
+ "application/json": components["schemas"]["DataExportDeleteSuccessResponse"];
2927
+ };
2928
+ };
2929
+ /** @description Plugin record after the imported dataset becomes active. */
2930
+ DataImportResponse: {
2931
+ headers: {
2932
+ [name: string]: unknown;
2933
+ };
2934
+ content: {
2935
+ "application/json": components["schemas"]["PluginRecordSuccessResponse"];
2936
+ };
2937
+ };
2938
+ /** @description Permission grants for the requested plugin scope. */
2939
+ PermissionListResponse: {
2940
+ headers: {
2941
+ [name: string]: unknown;
2942
+ };
2943
+ content: {
2944
+ "application/json": components["schemas"]["PermissionListSuccessResponse"];
2945
+ };
2946
+ };
2947
+ /** @description Permission grant mutation result. */
2948
+ PermissionMutationResponse: {
2949
+ headers: {
2950
+ [name: string]: unknown;
2951
+ };
2952
+ content: {
2953
+ "application/json": components["schemas"]["PermissionMutationSuccessResponse"];
2954
+ };
2955
+ };
2956
+ /** @description Complete list of configured plugin security policies. */
2957
+ SecurityPolicyListResponse: {
2958
+ headers: {
2959
+ [name: string]: unknown;
2960
+ };
2961
+ content: {
2962
+ "application/json": components["schemas"]["SecurityPolicyListSuccessResponse"];
2963
+ };
2964
+ };
2965
+ /** @description Complete security policy for one plugin instance. */
2966
+ SecurityPolicyRecordResponse: {
2967
+ headers: {
2968
+ [name: string]: unknown;
2969
+ };
2970
+ content: {
2971
+ "application/json": components["schemas"]["SecurityPolicyRecordSuccessResponse"];
2972
+ };
2973
+ };
2974
+ /** @description Security policy deletion acknowledgement. */
2975
+ SecurityPolicyDeleteResponse: {
2976
+ headers: {
2977
+ [name: string]: unknown;
2978
+ };
2979
+ content: {
2980
+ "application/json": components["schemas"]["SecurityPolicyDeleteSuccessResponse"];
2981
+ };
2982
+ };
2983
+ /** @description Diagnostic events matching the requested filters. */
2984
+ DiagnosticEventListResponse: {
2985
+ headers: {
2986
+ [name: string]: unknown;
2987
+ };
2988
+ content: {
2989
+ "application/json": components["schemas"]["DiagnosticEventListSuccessResponse"];
2990
+ };
2991
+ };
2992
+ /** @description Secret reference bind acknowledgement. */
2993
+ SecretBindResponse: {
2994
+ headers: {
2995
+ [name: string]: unknown;
2996
+ };
2997
+ content: {
2998
+ "application/json": components["schemas"]["SecretBindSuccessResponse"];
2999
+ };
3000
+ };
3001
+ /** @description Secret reference test acknowledgement. */
3002
+ SecretTestResponse: {
3003
+ headers: {
3004
+ [name: string]: unknown;
3005
+ };
3006
+ content: {
3007
+ "application/json": components["schemas"]["SecretTestSuccessResponse"];
3008
+ };
3009
+ };
3010
+ /** @description Secret reference deletion acknowledgement. */
3011
+ SecretDeleteResponse: {
3012
+ headers: {
3013
+ [name: string]: unknown;
3014
+ };
3015
+ content: {
3016
+ "application/json": components["schemas"]["SecretDeleteSuccessResponse"];
3017
+ };
3018
+ };
3019
+ /** @description Plugin settings schema. */
3020
+ SettingsSchemaResponse: {
3021
+ headers: {
3022
+ [name: string]: unknown;
3023
+ };
3024
+ content: {
3025
+ "application/json": components["schemas"]["SettingsSchemaSuccessResponse"];
3026
+ };
3027
+ };
3028
+ /** @description Plugin settings snapshot. */
3029
+ SettingsSnapshotResponse: {
3030
+ headers: {
3031
+ [name: string]: unknown;
3032
+ };
3033
+ content: {
3034
+ "application/json": components["schemas"]["SettingsSnapshotSuccessResponse"];
3035
+ };
3036
+ };
3037
+ };
3038
+ parameters: {
3039
+ OperationID: string;
3040
+ PluginInstanceID: string;
3041
+ SurfaceInstanceID: string;
3042
+ };
3043
+ requestBodies: {
3044
+ InstallReleaseRefRequest: {
3045
+ content: {
3046
+ "application/json": components["schemas"]["InstallReleaseRefRequest"];
3047
+ };
3048
+ };
3049
+ UpdateReleaseRefRequest: {
3050
+ content: {
3051
+ "application/json": components["schemas"]["UpdateReleaseRefRequest"];
3052
+ };
3053
+ };
3054
+ DowngradeRequest: {
3055
+ content: {
3056
+ "application/json": components["schemas"]["DowngradeRequest"];
3057
+ };
3058
+ };
3059
+ EnableRequest: {
3060
+ content: {
3061
+ "application/json": components["schemas"]["EnableRequest"];
3062
+ };
3063
+ };
3064
+ DisableRequest: {
3065
+ content: {
3066
+ "application/json": components["schemas"]["DisableRequest"];
3067
+ };
3068
+ };
3069
+ UninstallRequest: {
3070
+ content: {
3071
+ "application/json": components["schemas"]["UninstallRequest"];
3072
+ };
3073
+ };
3074
+ OpenSurfaceRequest: {
3075
+ content: {
3076
+ "application/json": components["schemas"]["OpenSurfaceRequest"];
3077
+ };
3078
+ };
3079
+ RevokeSessionScopeRequest: {
3080
+ content: {
3081
+ "application/json": components["schemas"]["RevokeSessionScopeRequest"];
3082
+ };
3083
+ };
3084
+ EmptyRequest: {
3085
+ content: {
3086
+ "application/json": components["schemas"]["EmptyRequest"];
3087
+ };
3088
+ };
3089
+ EmptyQueryRequest: {
3090
+ content: {
3091
+ "application/json": components["schemas"]["EmptyQueryRequest"];
3092
+ };
3093
+ };
3094
+ ListIntentsQueryRequest: {
3095
+ content: {
3096
+ "application/json": components["schemas"]["ListIntentsQueryRequest"];
3097
+ };
3098
+ };
3099
+ ListOperationsQueryRequest: {
3100
+ content: {
3101
+ "application/json": components["schemas"]["ListOperationsQueryRequest"];
3102
+ };
3103
+ };
3104
+ ListRetainedDataQueryRequest: {
3105
+ content: {
3106
+ "application/json": components["schemas"]["ListRetainedDataQueryRequest"];
3107
+ };
3108
+ };
3109
+ ListPermissionsQueryRequest: {
3110
+ content: {
3111
+ "application/json": components["schemas"]["ListPermissionsQueryRequest"];
3112
+ };
3113
+ };
3114
+ ListDiagnosticsQueryRequest: {
3115
+ content: {
3116
+ "application/json": components["schemas"]["ListDiagnosticsQueryRequest"];
3117
+ };
3118
+ };
3119
+ SettingsQueryRequest: {
3120
+ content: {
3121
+ "application/json": components["schemas"]["SettingsQueryRequest"];
3122
+ };
3123
+ };
3124
+ PrepareSurfaceRequest: {
3125
+ content: {
3126
+ "application/json": components["schemas"]["PrepareSurfaceRequest"];
3127
+ };
3128
+ };
3129
+ TrustedParentBridgeTokenRequest: {
3130
+ content: {
3131
+ "application/json": components["schemas"]["TrustedParentBridgeTokenRequest"];
3132
+ };
3133
+ };
3134
+ ReadSurfaceAssetRequest: {
3135
+ content: {
3136
+ "application/json": components["schemas"]["ReadSurfaceAssetRequest"];
3137
+ };
3138
+ };
3139
+ ReadSurfaceStreamRequest: {
3140
+ content: {
3141
+ "application/json": components["schemas"]["ReadSurfaceStreamRequest"];
3142
+ };
3143
+ };
3144
+ AcknowledgeSurfaceStreamRequest: {
3145
+ content: {
3146
+ "application/json": components["schemas"]["AcknowledgeSurfaceStreamRequest"];
3147
+ };
3148
+ };
3149
+ CancelSurfaceOperationRequest: {
3150
+ content: {
3151
+ "application/json": components["schemas"]["CancelSurfaceOperationRequest"];
3152
+ };
3153
+ };
3154
+ RejectSurfaceConfirmationRequest: {
3155
+ content: {
3156
+ "application/json": components["schemas"]["RejectSurfaceConfirmationRequest"];
3157
+ };
3158
+ };
3159
+ DisposeSurfaceRequest: {
3160
+ content: {
3161
+ "application/json": components["schemas"]["DisposeSurfaceRequest"];
3162
+ };
3163
+ };
3164
+ RPCRequest: {
3165
+ content: {
3166
+ "application/json": components["schemas"]["RPCRequest"];
3167
+ };
3168
+ };
3169
+ PrepareMethodConfirmationRequest: {
3170
+ content: {
3171
+ "application/json": components["schemas"]["PrepareMethodConfirmationRequest"];
3172
+ };
3173
+ };
3174
+ InvokeIntentRequest: {
3175
+ content: {
3176
+ "application/json": components["schemas"]["InvokeIntentRequest"];
3177
+ };
3178
+ };
3179
+ CancelOperationRequest: {
3180
+ content: {
3181
+ "application/json": components["schemas"]["CancelOperationRequest"];
3182
+ };
3183
+ };
3184
+ StartRuntimeRequest: {
3185
+ content: {
3186
+ "application/json": components["schemas"]["StartRuntimeRequest"];
3187
+ };
3188
+ };
3189
+ ExportDataRequest: {
3190
+ content: {
3191
+ "application/json": components["schemas"]["ExportDataRequest"];
3192
+ };
3193
+ };
3194
+ DeleteDataExportRequest: {
3195
+ content: {
3196
+ "application/json": components["schemas"]["DeleteDataExportRequest"];
3197
+ };
3198
+ };
3199
+ ImportDataRequest: {
3200
+ content: {
3201
+ "application/json": components["schemas"]["ImportDataRequest"];
3202
+ };
3203
+ };
3204
+ DeleteRetainedDataRequest: {
3205
+ content: {
3206
+ "application/json": components["schemas"]["DeleteRetainedDataRequest"];
3207
+ };
3208
+ };
3209
+ BindRetainedDataRequest: {
3210
+ content: {
3211
+ "application/json": components["schemas"]["BindRetainedDataRequest"];
3212
+ };
3213
+ };
3214
+ CleanupExpiredRetainedDataRequest: {
3215
+ content: {
3216
+ "application/json": components["schemas"]["CleanupExpiredRetainedDataRequest"];
3217
+ };
3218
+ };
3219
+ GrantPermissionRequest: {
3220
+ content: {
3221
+ "application/json": components["schemas"]["GrantPermissionRequest"];
3222
+ };
3223
+ };
3224
+ RevokePermissionRequest: {
3225
+ content: {
3226
+ "application/json": components["schemas"]["RevokePermissionRequest"];
3227
+ };
3228
+ };
3229
+ PutSecurityPolicyRequest: {
3230
+ content: {
3231
+ "application/json": components["schemas"]["PutSecurityPolicyRequest"];
3232
+ };
3233
+ };
3234
+ DeleteSecurityPolicyRequest: {
3235
+ content: {
3236
+ "application/json": components["schemas"]["DeleteSecurityPolicyRequest"];
3237
+ };
3238
+ };
3239
+ SecretRefRequest: {
3240
+ content: {
3241
+ "application/json": components["schemas"]["SecretRefRequest"];
3242
+ };
3243
+ };
3244
+ PatchSettingsRequest: {
3245
+ content: {
3246
+ "application/json": components["schemas"]["PatchSettingsRequest"];
3247
+ };
3248
+ };
3249
+ };
3250
+ headers: never;
3251
+ pathItems: never;
3252
+ }
3253
+ export type $defs = Record<string, never>;
3254
+ export interface operations {
3255
+ updateLocalPackage: {
3256
+ parameters: {
3257
+ query?: never;
3258
+ header: {
3259
+ /** @description Canonical decimal management revision. Duplicate, combined, empty, or whitespace-padded values are rejected. */
3260
+ "X-ReDevPlugin-Expected-Management-Revision": number;
3261
+ };
3262
+ path: {
3263
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3264
+ };
3265
+ cookie?: never;
3266
+ };
3267
+ requestBody: {
3268
+ content: {
3269
+ "application/vnd.redevplugin.package+zip": string;
3270
+ };
3271
+ };
3272
+ responses: {
3273
+ 200: components["responses"]["PluginRecordResponse"];
3274
+ default: components["responses"]["MutationPlatformErrorResponse"];
3275
+ };
3276
+ };
3277
+ importLocalPackage: {
3278
+ parameters: {
3279
+ query?: never;
3280
+ header?: never;
3281
+ path: {
3282
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3283
+ };
3284
+ cookie?: never;
3285
+ };
3286
+ requestBody: {
3287
+ content: {
3288
+ "application/vnd.redevplugin.package+zip": string;
3289
+ };
3290
+ };
3291
+ responses: {
3292
+ 200: components["responses"]["PluginRecordResponse"];
3293
+ default: components["responses"]["MutationPlatformErrorResponse"];
3294
+ };
3295
+ };
3296
+ installReleaseRef: {
3297
+ parameters: {
3298
+ query?: never;
3299
+ header?: never;
3300
+ path?: never;
3301
+ cookie?: never;
3302
+ };
3303
+ requestBody: components["requestBodies"]["InstallReleaseRefRequest"];
3304
+ responses: {
3305
+ 200: components["responses"]["PluginRecordResponse"];
3306
+ default: components["responses"]["MutationPlatformErrorResponse"];
3307
+ };
3308
+ };
3309
+ enablePlugin: {
3310
+ parameters: {
3311
+ query?: never;
3312
+ header?: never;
3313
+ path?: never;
3314
+ cookie?: never;
3315
+ };
3316
+ requestBody: components["requestBodies"]["EnableRequest"];
3317
+ responses: {
3318
+ 200: components["responses"]["PluginRecordResponse"];
3319
+ default: components["responses"]["MutationPlatformErrorResponse"];
3320
+ };
3321
+ };
3322
+ disablePlugin: {
3323
+ parameters: {
3324
+ query?: never;
3325
+ header?: never;
3326
+ path?: never;
3327
+ cookie?: never;
3328
+ };
3329
+ requestBody: components["requestBodies"]["DisableRequest"];
3330
+ responses: {
3331
+ 200: components["responses"]["PluginRecordResponse"];
3332
+ default: components["responses"]["MutationPlatformErrorResponse"];
3333
+ };
3334
+ };
3335
+ uninstallPlugin: {
3336
+ parameters: {
3337
+ query?: never;
3338
+ header?: never;
3339
+ path?: never;
3340
+ cookie?: never;
3341
+ };
3342
+ requestBody: components["requestBodies"]["UninstallRequest"];
3343
+ responses: {
3344
+ 200: components["responses"]["PluginRecordResponse"];
3345
+ default: components["responses"]["MutationPlatformErrorResponse"];
3346
+ };
3347
+ };
3348
+ updateReleaseRef: {
3349
+ parameters: {
3350
+ query?: never;
3351
+ header?: never;
3352
+ path?: never;
3353
+ cookie?: never;
3354
+ };
3355
+ requestBody: components["requestBodies"]["UpdateReleaseRefRequest"];
3356
+ responses: {
3357
+ 200: components["responses"]["PluginRecordResponse"];
3358
+ default: components["responses"]["MutationPlatformErrorResponse"];
3359
+ };
3360
+ };
3361
+ downgradePlugin: {
3362
+ parameters: {
3363
+ query?: never;
3364
+ header?: never;
3365
+ path?: never;
3366
+ cookie?: never;
3367
+ };
3368
+ requestBody: components["requestBodies"]["DowngradeRequest"];
3369
+ responses: {
3370
+ 200: components["responses"]["PluginRecordResponse"];
3371
+ default: components["responses"]["MutationPlatformErrorResponse"];
3372
+ };
3373
+ };
3374
+ listPlugins: {
3375
+ parameters: {
3376
+ query?: never;
3377
+ header?: never;
3378
+ path?: never;
3379
+ cookie?: never;
3380
+ };
3381
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3382
+ responses: {
3383
+ 200: components["responses"]["PluginCatalogResponse"];
3384
+ default: components["responses"]["PlatformErrorResponse"];
3385
+ };
3386
+ };
3387
+ getPluginFeatures: {
3388
+ parameters: {
3389
+ query?: never;
3390
+ header?: never;
3391
+ path?: never;
3392
+ cookie?: never;
3393
+ };
3394
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3395
+ responses: {
3396
+ 200: components["responses"]["PluginFeaturesResponse"];
3397
+ default: components["responses"]["PlatformErrorResponse"];
3398
+ };
3399
+ };
3400
+ getPluginPlatformCompatibility: {
3401
+ parameters: {
3402
+ query?: never;
3403
+ header?: never;
3404
+ path?: never;
3405
+ cookie?: never;
3406
+ };
3407
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3408
+ responses: {
3409
+ 200: components["responses"]["CompatibilityResponse"];
3410
+ default: components["responses"]["PlatformErrorResponse"];
3411
+ };
3412
+ };
3413
+ openPluginSurface: {
3414
+ parameters: {
3415
+ query?: never;
3416
+ header?: never;
3417
+ path?: never;
3418
+ cookie?: never;
3419
+ };
3420
+ requestBody: components["requestBodies"]["OpenSurfaceRequest"];
3421
+ responses: {
3422
+ 200: components["responses"]["SurfaceBootstrapResponse"];
3423
+ default: components["responses"]["MutationPlatformErrorResponse"];
3424
+ };
3425
+ };
3426
+ revokePluginSessionScope: {
3427
+ parameters: {
3428
+ query?: never;
3429
+ header?: never;
3430
+ path?: never;
3431
+ cookie?: never;
3432
+ };
3433
+ requestBody: components["requestBodies"]["RevokeSessionScopeRequest"];
3434
+ responses: {
3435
+ 200: components["responses"]["SessionScopeRevokeResponse"];
3436
+ default: components["responses"]["MutationPlatformErrorResponse"];
3437
+ };
3438
+ };
3439
+ preparePluginSurface: {
3440
+ parameters: {
3441
+ query?: never;
3442
+ header?: never;
3443
+ path: {
3444
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3445
+ };
3446
+ cookie?: never;
3447
+ };
3448
+ requestBody: components["requestBodies"]["PrepareSurfaceRequest"];
3449
+ responses: {
3450
+ 200: components["responses"]["SurfacePreparationResponse"];
3451
+ default: components["responses"]["MutationPlatformErrorResponse"];
3452
+ };
3453
+ };
3454
+ createSurfaceBridgeToken: {
3455
+ parameters: {
3456
+ query?: never;
3457
+ header?: never;
3458
+ path: {
3459
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3460
+ };
3461
+ cookie?: never;
3462
+ };
3463
+ requestBody: components["requestBodies"]["TrustedParentBridgeTokenRequest"];
3464
+ responses: {
3465
+ 200: components["responses"]["BridgeTokenResponse"];
3466
+ default: components["responses"]["MutationPlatformErrorResponse"];
3467
+ };
3468
+ };
3469
+ readPreparedSurfaceAsset: {
3470
+ parameters: {
3471
+ query?: never;
3472
+ header?: never;
3473
+ path: {
3474
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3475
+ };
3476
+ cookie?: never;
3477
+ };
3478
+ requestBody: components["requestBodies"]["ReadSurfaceAssetRequest"];
3479
+ responses: {
3480
+ 200: components["responses"]["SurfaceAssetResponse"];
3481
+ default: components["responses"]["PlatformErrorResponse"];
3482
+ };
3483
+ };
3484
+ readPreparedSurfaceStream: {
3485
+ parameters: {
3486
+ query?: never;
3487
+ header?: never;
3488
+ path: {
3489
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3490
+ };
3491
+ cookie?: never;
3492
+ };
3493
+ requestBody: components["requestBodies"]["ReadSurfaceStreamRequest"];
3494
+ responses: {
3495
+ 200: components["responses"]["SurfaceStreamResponse"];
3496
+ default: components["responses"]["PlatformErrorResponse"];
3497
+ };
3498
+ };
3499
+ acknowledgePreparedSurfaceStream: {
3500
+ parameters: {
3501
+ query?: never;
3502
+ header?: never;
3503
+ path: {
3504
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3505
+ };
3506
+ cookie?: never;
3507
+ };
3508
+ requestBody: components["requestBodies"]["AcknowledgeSurfaceStreamRequest"];
3509
+ responses: {
3510
+ 200: components["responses"]["SurfaceStreamAcknowledgementResponse"];
3511
+ default: components["responses"]["MutationPlatformErrorResponse"];
3512
+ };
3513
+ };
3514
+ cancelSurfacePluginOperation: {
3515
+ parameters: {
3516
+ query?: never;
3517
+ header?: never;
3518
+ path: {
3519
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3520
+ };
3521
+ cookie?: never;
3522
+ };
3523
+ requestBody: components["requestBodies"]["CancelSurfaceOperationRequest"];
3524
+ responses: {
3525
+ 200: components["responses"]["OperationRecordResponse"];
3526
+ default: components["responses"]["MutationPlatformErrorResponse"];
3527
+ };
3528
+ };
3529
+ rejectSurfacePluginConfirmation: {
3530
+ parameters: {
3531
+ query?: never;
3532
+ header?: never;
3533
+ path: {
3534
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3535
+ };
3536
+ cookie?: never;
3537
+ };
3538
+ requestBody: components["requestBodies"]["RejectSurfaceConfirmationRequest"];
3539
+ responses: {
3540
+ 200: components["responses"]["ConfirmationRejectionResponse"];
3541
+ default: components["responses"]["MutationPlatformErrorResponse"];
3542
+ };
3543
+ };
3544
+ disposePluginSurface: {
3545
+ parameters: {
3546
+ query?: never;
3547
+ header?: never;
3548
+ path: {
3549
+ surface_instance_id: components["parameters"]["SurfaceInstanceID"];
3550
+ };
3551
+ cookie?: never;
3552
+ };
3553
+ requestBody: components["requestBodies"]["DisposeSurfaceRequest"];
3554
+ responses: {
3555
+ 200: components["responses"]["SurfaceDisposeResponse"];
3556
+ default: components["responses"]["MutationPlatformErrorResponse"];
3557
+ };
3558
+ };
3559
+ callPluginMethod: {
3560
+ parameters: {
3561
+ query?: never;
3562
+ header?: never;
3563
+ path?: never;
3564
+ cookie?: never;
3565
+ };
3566
+ requestBody: components["requestBodies"]["RPCRequest"];
3567
+ responses: {
3568
+ 200: components["responses"]["RPCResponse"];
3569
+ default: components["responses"]["MutationPlatformErrorResponse"];
3570
+ };
3571
+ };
3572
+ preparePluginMethodConfirmation: {
3573
+ parameters: {
3574
+ query?: never;
3575
+ header?: never;
3576
+ path?: never;
3577
+ cookie?: never;
3578
+ };
3579
+ requestBody: components["requestBodies"]["PrepareMethodConfirmationRequest"];
3580
+ responses: {
3581
+ 200: components["responses"]["PluginMethodConfirmationPreparationResponse"];
3582
+ default: components["responses"]["MutationPlatformErrorResponse"];
3583
+ };
3584
+ };
3585
+ listPluginIntents: {
3586
+ parameters: {
3587
+ query?: never;
3588
+ header?: never;
3589
+ path?: never;
3590
+ cookie?: never;
3591
+ };
3592
+ requestBody: components["requestBodies"]["ListIntentsQueryRequest"];
3593
+ responses: {
3594
+ 200: components["responses"]["IntentListResponse"];
3595
+ default: components["responses"]["PlatformErrorResponse"];
3596
+ };
3597
+ };
3598
+ invokePluginIntent: {
3599
+ parameters: {
3600
+ query?: never;
3601
+ header?: never;
3602
+ path?: never;
3603
+ cookie?: never;
3604
+ };
3605
+ requestBody: components["requestBodies"]["InvokeIntentRequest"];
3606
+ responses: {
3607
+ 200: components["responses"]["RPCResponse"];
3608
+ default: components["responses"]["MutationPlatformErrorResponse"];
3609
+ };
3610
+ };
3611
+ listPluginOperations: {
3612
+ parameters: {
3613
+ query?: never;
3614
+ header?: never;
3615
+ path?: never;
3616
+ cookie?: never;
3617
+ };
3618
+ requestBody: components["requestBodies"]["ListOperationsQueryRequest"];
3619
+ responses: {
3620
+ 200: components["responses"]["OperationListResponse"];
3621
+ default: components["responses"]["PlatformErrorResponse"];
3622
+ };
3623
+ };
3624
+ getPluginOperation: {
3625
+ parameters: {
3626
+ query?: never;
3627
+ header?: never;
3628
+ path: {
3629
+ operation_id: components["parameters"]["OperationID"];
3630
+ };
3631
+ cookie?: never;
3632
+ };
3633
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3634
+ responses: {
3635
+ 200: components["responses"]["OperationRecordResponse"];
3636
+ default: components["responses"]["PlatformErrorResponse"];
3637
+ };
3638
+ };
3639
+ cancelPluginOperation: {
3640
+ parameters: {
3641
+ query?: never;
3642
+ header?: never;
3643
+ path: {
3644
+ operation_id: components["parameters"]["OperationID"];
3645
+ };
3646
+ cookie?: never;
3647
+ };
3648
+ requestBody: components["requestBodies"]["CancelOperationRequest"];
3649
+ responses: {
3650
+ 200: components["responses"]["OperationRecordResponse"];
3651
+ default: components["responses"]["MutationPlatformErrorResponse"];
3652
+ };
3653
+ };
3654
+ startPluginRuntime: {
3655
+ parameters: {
3656
+ query?: never;
3657
+ header?: never;
3658
+ path?: never;
3659
+ cookie?: never;
3660
+ };
3661
+ requestBody: components["requestBodies"]["StartRuntimeRequest"];
3662
+ responses: {
3663
+ 200: components["responses"]["RuntimeHealthResponse"];
3664
+ default: components["responses"]["MutationPlatformErrorResponse"];
3665
+ };
3666
+ };
3667
+ stopPluginRuntime: {
3668
+ parameters: {
3669
+ query?: never;
3670
+ header?: never;
3671
+ path?: never;
3672
+ cookie?: never;
3673
+ };
3674
+ requestBody: components["requestBodies"]["EmptyRequest"];
3675
+ responses: {
3676
+ 200: components["responses"]["RuntimeStopResponse"];
3677
+ default: components["responses"]["MutationPlatformErrorResponse"];
3678
+ };
3679
+ };
3680
+ refreshEnabledPluginRuntimeState: {
3681
+ parameters: {
3682
+ query?: never;
3683
+ header?: never;
3684
+ path?: never;
3685
+ cookie?: never;
3686
+ };
3687
+ requestBody: components["requestBodies"]["EmptyRequest"];
3688
+ responses: {
3689
+ 200: components["responses"]["RuntimeRefreshResponse"];
3690
+ default: components["responses"]["MutationPlatformErrorResponse"];
3691
+ };
3692
+ };
3693
+ getPluginRuntimeHealth: {
3694
+ parameters: {
3695
+ query?: never;
3696
+ header?: never;
3697
+ path?: never;
3698
+ cookie?: never;
3699
+ };
3700
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3701
+ responses: {
3702
+ 200: components["responses"]["RuntimeHealthResponse"];
3703
+ default: components["responses"]["PlatformErrorResponse"];
3704
+ };
3705
+ };
3706
+ exportPluginData: {
3707
+ parameters: {
3708
+ query?: never;
3709
+ header?: never;
3710
+ path?: never;
3711
+ cookie?: never;
3712
+ };
3713
+ requestBody: components["requestBodies"]["ExportDataRequest"];
3714
+ responses: {
3715
+ 200: components["responses"]["DataExportResponse"];
3716
+ default: components["responses"]["MutationPlatformErrorResponse"];
3717
+ };
3718
+ };
3719
+ deletePluginDataExport: {
3720
+ parameters: {
3721
+ query?: never;
3722
+ header?: never;
3723
+ path?: never;
3724
+ cookie?: never;
3725
+ };
3726
+ requestBody: components["requestBodies"]["DeleteDataExportRequest"];
3727
+ responses: {
3728
+ 200: components["responses"]["DataExportDeleteResponse"];
3729
+ default: components["responses"]["MutationPlatformErrorResponse"];
3730
+ };
3731
+ };
3732
+ importPluginData: {
3733
+ parameters: {
3734
+ query?: never;
3735
+ header?: never;
3736
+ path?: never;
3737
+ cookie?: never;
3738
+ };
3739
+ requestBody: components["requestBodies"]["ImportDataRequest"];
3740
+ responses: {
3741
+ 200: components["responses"]["DataImportResponse"];
3742
+ default: components["responses"]["MutationPlatformErrorResponse"];
3743
+ };
3744
+ };
3745
+ listPluginRetainedData: {
3746
+ parameters: {
3747
+ query?: never;
3748
+ header?: never;
3749
+ path?: never;
3750
+ cookie?: never;
3751
+ };
3752
+ requestBody: components["requestBodies"]["ListRetainedDataQueryRequest"];
3753
+ responses: {
3754
+ 200: components["responses"]["RetainedDataListResponse"];
3755
+ default: components["responses"]["PlatformErrorResponse"];
3756
+ };
3757
+ };
3758
+ deletePluginRetainedData: {
3759
+ parameters: {
3760
+ query?: never;
3761
+ header?: never;
3762
+ path?: never;
3763
+ cookie?: never;
3764
+ };
3765
+ requestBody: components["requestBodies"]["DeleteRetainedDataRequest"];
3766
+ responses: {
3767
+ 200: components["responses"]["RetainedDataBindingResponse"];
3768
+ default: components["responses"]["MutationPlatformErrorResponse"];
3769
+ };
3770
+ };
3771
+ bindPluginRetainedData: {
3772
+ parameters: {
3773
+ query?: never;
3774
+ header?: never;
3775
+ path?: never;
3776
+ cookie?: never;
3777
+ };
3778
+ requestBody: components["requestBodies"]["BindRetainedDataRequest"];
3779
+ responses: {
3780
+ 200: components["responses"]["RetainedDataBindingResponse"];
3781
+ default: components["responses"]["MutationPlatformErrorResponse"];
3782
+ };
3783
+ };
3784
+ cleanupExpiredPluginRetainedData: {
3785
+ parameters: {
3786
+ query?: never;
3787
+ header?: never;
3788
+ path?: never;
3789
+ cookie?: never;
3790
+ };
3791
+ requestBody: components["requestBodies"]["CleanupExpiredRetainedDataRequest"];
3792
+ responses: {
3793
+ 200: components["responses"]["RetainedDataCleanupResponse"];
3794
+ default: components["responses"]["MutationPlatformErrorResponse"];
3795
+ };
3796
+ };
3797
+ listPluginPermissionGrants: {
3798
+ parameters: {
3799
+ query?: never;
3800
+ header?: never;
3801
+ path?: never;
3802
+ cookie?: never;
3803
+ };
3804
+ requestBody: components["requestBodies"]["ListPermissionsQueryRequest"];
3805
+ responses: {
3806
+ 200: components["responses"]["PermissionListResponse"];
3807
+ default: components["responses"]["PlatformErrorResponse"];
3808
+ };
3809
+ };
3810
+ grantPluginPermission: {
3811
+ parameters: {
3812
+ query?: never;
3813
+ header?: never;
3814
+ path?: never;
3815
+ cookie?: never;
3816
+ };
3817
+ requestBody: components["requestBodies"]["GrantPermissionRequest"];
3818
+ responses: {
3819
+ 200: components["responses"]["PermissionMutationResponse"];
3820
+ default: components["responses"]["MutationPlatformErrorResponse"];
3821
+ };
3822
+ };
3823
+ revokePluginPermission: {
3824
+ parameters: {
3825
+ query?: never;
3826
+ header?: never;
3827
+ path?: never;
3828
+ cookie?: never;
3829
+ };
3830
+ requestBody: components["requestBodies"]["RevokePermissionRequest"];
3831
+ responses: {
3832
+ 200: components["responses"]["PermissionMutationResponse"];
3833
+ default: components["responses"]["MutationPlatformErrorResponse"];
3834
+ };
3835
+ };
3836
+ listPluginSecurityPolicies: {
3837
+ parameters: {
3838
+ query?: never;
3839
+ header?: never;
3840
+ path?: never;
3841
+ cookie?: never;
3842
+ };
3843
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3844
+ responses: {
3845
+ 200: components["responses"]["SecurityPolicyListResponse"];
3846
+ default: components["responses"]["PlatformErrorResponse"];
3847
+ };
3848
+ };
3849
+ getPluginSecurityPolicy: {
3850
+ parameters: {
3851
+ query?: never;
3852
+ header?: never;
3853
+ path: {
3854
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3855
+ };
3856
+ cookie?: never;
3857
+ };
3858
+ requestBody: components["requestBodies"]["EmptyQueryRequest"];
3859
+ responses: {
3860
+ 200: components["responses"]["SecurityPolicyRecordResponse"];
3861
+ default: components["responses"]["PlatformErrorResponse"];
3862
+ };
3863
+ };
3864
+ putPluginSecurityPolicy: {
3865
+ parameters: {
3866
+ query?: never;
3867
+ header?: never;
3868
+ path: {
3869
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3870
+ };
3871
+ cookie?: never;
3872
+ };
3873
+ requestBody: components["requestBodies"]["PutSecurityPolicyRequest"];
3874
+ responses: {
3875
+ 200: components["responses"]["SecurityPolicyRecordResponse"];
3876
+ default: components["responses"]["MutationPlatformErrorResponse"];
3877
+ };
3878
+ };
3879
+ deletePluginSecurityPolicy: {
3880
+ parameters: {
3881
+ query?: never;
3882
+ header?: never;
3883
+ path: {
3884
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3885
+ };
3886
+ cookie?: never;
3887
+ };
3888
+ requestBody: components["requestBodies"]["DeleteSecurityPolicyRequest"];
3889
+ responses: {
3890
+ 200: components["responses"]["SecurityPolicyDeleteResponse"];
3891
+ default: components["responses"]["MutationPlatformErrorResponse"];
3892
+ };
3893
+ };
3894
+ listPluginDiagnosticEvents: {
3895
+ parameters: {
3896
+ query?: never;
3897
+ header?: never;
3898
+ path?: never;
3899
+ cookie?: never;
3900
+ };
3901
+ requestBody: components["requestBodies"]["ListDiagnosticsQueryRequest"];
3902
+ responses: {
3903
+ 200: components["responses"]["DiagnosticEventListResponse"];
3904
+ default: components["responses"]["PlatformErrorResponse"];
3905
+ };
3906
+ };
3907
+ bindPluginSecret: {
3908
+ parameters: {
3909
+ query?: never;
3910
+ header?: never;
3911
+ path?: never;
3912
+ cookie?: never;
3913
+ };
3914
+ requestBody: components["requestBodies"]["SecretRefRequest"];
3915
+ responses: {
3916
+ 200: components["responses"]["SecretBindResponse"];
3917
+ default: components["responses"]["MutationPlatformErrorResponse"];
3918
+ };
3919
+ };
3920
+ testPluginSecret: {
3921
+ parameters: {
3922
+ query?: never;
3923
+ header?: never;
3924
+ path?: never;
3925
+ cookie?: never;
3926
+ };
3927
+ requestBody: components["requestBodies"]["SecretRefRequest"];
3928
+ responses: {
3929
+ 200: components["responses"]["SecretTestResponse"];
3930
+ default: components["responses"]["MutationPlatformErrorResponse"];
3931
+ };
3932
+ };
3933
+ deletePluginSecret: {
3934
+ parameters: {
3935
+ query?: never;
3936
+ header?: never;
3937
+ path?: never;
3938
+ cookie?: never;
3939
+ };
3940
+ requestBody: components["requestBodies"]["SecretRefRequest"];
3941
+ responses: {
3942
+ 200: components["responses"]["SecretDeleteResponse"];
3943
+ default: components["responses"]["MutationPlatformErrorResponse"];
3944
+ };
3945
+ };
3946
+ getPluginSettingsSchema: {
3947
+ parameters: {
3948
+ query?: never;
3949
+ header?: never;
3950
+ path: {
3951
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3952
+ };
3953
+ cookie?: never;
3954
+ };
3955
+ requestBody: components["requestBodies"]["SettingsQueryRequest"];
3956
+ responses: {
3957
+ 200: components["responses"]["SettingsSchemaResponse"];
3958
+ default: components["responses"]["PlatformErrorResponse"];
3959
+ };
3960
+ };
3961
+ getPluginSettings: {
3962
+ parameters: {
3963
+ query?: never;
3964
+ header?: never;
3965
+ path: {
3966
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3967
+ };
3968
+ cookie?: never;
3969
+ };
3970
+ requestBody: components["requestBodies"]["SettingsQueryRequest"];
3971
+ responses: {
3972
+ 200: components["responses"]["SettingsSnapshotResponse"];
3973
+ default: components["responses"]["PlatformErrorResponse"];
3974
+ };
3975
+ };
3976
+ patchPluginSettings: {
3977
+ parameters: {
3978
+ query?: never;
3979
+ header?: never;
3980
+ path: {
3981
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3982
+ };
3983
+ cookie?: never;
3984
+ };
3985
+ requestBody: components["requestBodies"]["PatchSettingsRequest"];
3986
+ responses: {
3987
+ 200: components["responses"]["SettingsSnapshotResponse"];
3988
+ default: components["responses"]["MutationPlatformErrorResponse"];
3989
+ };
3990
+ };
3991
+ }