@floegence/redevplugin-ui 0.4.2 → 0.5.1

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