@floegence/redevplugin-ui 0.7.26 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,7 @@ export interface paths {
45
45
  };
46
46
  get?: never;
47
47
  put?: never;
48
- /** @description Uploads and inspects a package for installation without committing it. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller. The returned inspection is committed and reconciled through the shared external-package commit/query routes. */
48
+ /** @description Uploads and inspects a package for installation. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller. The process-local inspection expires and must be explicitly installed with its exact package digest. */
49
49
  post: operations["inspectUploadedExternalPackageInstall"];
50
50
  delete?: never;
51
51
  options?: never;
@@ -61,7 +61,7 @@ export interface paths {
61
61
  cookie?: never;
62
62
  };
63
63
  get?: never;
64
- /** @description Uploads and inspects a package for an optimistic-concurrency-controlled update without committing it. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller. The returned inspection is committed and reconciled through the shared external-package commit/query routes. */
64
+ /** @description Uploads and inspects a package for an optimistic-concurrency-controlled update. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller. The process-local inspection expires and must be explicitly installed with its exact package digest. */
65
65
  put: operations["inspectUploadedExternalPackageUpdate"];
66
66
  post?: never;
67
67
  delete?: never;
@@ -70,7 +70,7 @@ export interface paths {
70
70
  patch?: never;
71
71
  trace?: never;
72
72
  };
73
- "/_redevplugin/api/plugins/external-packages/commit": {
73
+ "/_redevplugin/api/plugins/external-packages/install": {
74
74
  parameters: {
75
75
  query?: never;
76
76
  header?: never;
@@ -79,25 +79,8 @@ export interface paths {
79
79
  };
80
80
  get?: never;
81
81
  put?: never;
82
- /** @description Commits one unexpired inspection after the user confirms its exact server-computed digest. An absent signature does not make a package ineligible for installation; signature assessment affects trust classification and automatic-update eligibility only. */
83
- post: operations["commitExternalPackage"];
84
- delete?: never;
85
- options?: never;
86
- head?: never;
87
- patch?: never;
88
- trace?: never;
89
- };
90
- "/_redevplugin/api/plugins/external-packages/commit/query": {
91
- parameters: {
92
- query?: never;
93
- header?: never;
94
- path?: never;
95
- cookie?: never;
96
- };
97
- get?: never;
98
- put?: never;
99
- /** @description Reconciles the commit result for one inspection without repeating the mutation. */
100
- post: operations["queryExternalPackageCommit"];
82
+ /** @description Reopens and installs one unexpired process-local inspection after the user confirms its exact package digest. The inspection is bound to the exact authenticated session. Invalid or revoked signatures fail closed; absent or unknown signatures install disabled, with no grants and manual updates only. */
83
+ post: operations["installInspectedPackage"];
101
84
  delete?: never;
102
85
  options?: never;
103
86
  head?: never;
@@ -120,56 +103,6 @@ export interface paths {
120
103
  patch?: never;
121
104
  trace?: never;
122
105
  };
123
- "/_redevplugin/api/plugins/release-install-operations": {
124
- parameters: {
125
- query?: never;
126
- header?: never;
127
- path?: never;
128
- cookie?: never;
129
- };
130
- /** @description Lists owner-scoped release installation operations. Trusted Origin and authenticated session remain required; GET queries do not require CSRF. */
131
- get: operations["listReleaseInstallOperations"];
132
- put?: never;
133
- /** @description Starts or recovers one owner-scoped durable release installation. Disconnecting the observer does not cancel the installation. */
134
- post: operations["startReleaseInstallOperation"];
135
- delete?: never;
136
- options?: never;
137
- head?: never;
138
- patch?: never;
139
- trace?: never;
140
- };
141
- "/_redevplugin/api/plugins/release-install-operations/{operation_id}": {
142
- parameters: {
143
- query?: never;
144
- header?: never;
145
- path?: never;
146
- cookie?: never;
147
- };
148
- get: operations["getReleaseInstallOperation"];
149
- put?: never;
150
- post?: never;
151
- delete?: never;
152
- options?: never;
153
- head?: never;
154
- patch?: never;
155
- trace?: never;
156
- };
157
- "/_redevplugin/api/plugins/release-install-operations/by-request/{request_id}": {
158
- parameters: {
159
- query?: never;
160
- header?: never;
161
- path?: never;
162
- cookie?: never;
163
- };
164
- get: operations["getReleaseInstallOperationByRequest"];
165
- put?: never;
166
- post?: never;
167
- delete?: never;
168
- options?: never;
169
- head?: never;
170
- patch?: never;
171
- trace?: never;
172
- };
173
106
  "/_redevplugin/api/plugins/enable": {
174
107
  parameters: {
175
108
  query?: never;
@@ -266,6 +199,23 @@ export interface paths {
266
199
  patch?: never;
267
200
  trace?: never;
268
201
  };
202
+ "/_redevplugin/api/plugins/{plugin_instance_id}/icon/{sha256}": {
203
+ parameters: {
204
+ query?: never;
205
+ header?: never;
206
+ path?: never;
207
+ cookie?: never;
208
+ };
209
+ /** @description Returns the content-addressed presentation icon from the installed package asset store. */
210
+ get: operations["readInstalledPluginIcon"];
211
+ put?: never;
212
+ post?: never;
213
+ delete?: never;
214
+ options?: never;
215
+ head?: never;
216
+ patch?: never;
217
+ trace?: never;
218
+ };
269
219
  "/_redevplugin/api/plugins/features/query": {
270
220
  parameters: {
271
221
  query?: never;
@@ -380,23 +330,7 @@ export interface paths {
380
330
  patch?: never;
381
331
  trace?: never;
382
332
  };
383
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/read": {
384
- parameters: {
385
- query?: never;
386
- header?: never;
387
- path?: never;
388
- cookie?: never;
389
- };
390
- get?: never;
391
- put?: never;
392
- post: operations["readPreparedSurfaceStream"];
393
- delete?: never;
394
- options?: never;
395
- head?: never;
396
- patch?: never;
397
- trace?: never;
398
- };
399
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/ack": {
333
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject": {
400
334
  parameters: {
401
335
  query?: never;
402
336
  header?: never;
@@ -405,14 +339,15 @@ export interface paths {
405
339
  };
406
340
  get?: never;
407
341
  put?: never;
408
- post: operations["acknowledgePreparedSurfaceStream"];
342
+ /** @description Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel. */
343
+ post: operations["rejectSurfacePluginConfirmation"];
409
344
  delete?: never;
410
345
  options?: never;
411
346
  head?: never;
412
347
  patch?: never;
413
348
  trace?: never;
414
349
  };
415
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/operations/cancel": {
350
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose": {
416
351
  parameters: {
417
352
  query?: never;
418
353
  header?: never;
@@ -421,15 +356,15 @@ export interface paths {
421
356
  };
422
357
  get?: never;
423
358
  put?: never;
424
- /** @description Cancels an operation only when it belongs to the authenticated surface, session, and private bridge channel. */
425
- post: operations["cancelSurfacePluginOperation"];
359
+ /** @description Atomically observes and revokes one exact authenticated surface. An active surface becomes closed, a retained closure confirms closed, and an absent result is authoritative inactivity; transport failures remain an unknown mutation outcome. */
360
+ post: operations["disposePluginSurface"];
426
361
  delete?: never;
427
362
  options?: never;
428
363
  head?: never;
429
364
  patch?: never;
430
365
  trace?: never;
431
366
  };
432
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/operations/query": {
367
+ "/_redevplugin/api/plugins/rpc": {
433
368
  parameters: {
434
369
  query?: never;
435
370
  header?: never;
@@ -438,15 +373,14 @@ export interface paths {
438
373
  };
439
374
  get?: never;
440
375
  put?: never;
441
- /** @description Returns only the sandbox-safe status projection for an operation bound to the authenticated surface, session, and private bridge channel. */
442
- post: operations["getSurfacePluginOperationSnapshot"];
376
+ post: operations["callPluginMethod"];
443
377
  delete?: never;
444
378
  options?: never;
445
379
  head?: never;
446
380
  patch?: never;
447
381
  trace?: never;
448
382
  };
449
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject": {
383
+ "/_redevplugin/api/plugins/confirmations/prepare": {
450
384
  parameters: {
451
385
  query?: never;
452
386
  header?: never;
@@ -455,15 +389,14 @@ export interface paths {
455
389
  };
456
390
  get?: never;
457
391
  put?: never;
458
- /** @description Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel. */
459
- post: operations["rejectSurfacePluginConfirmation"];
392
+ post: operations["preparePluginMethodConfirmation"];
460
393
  delete?: never;
461
394
  options?: never;
462
395
  head?: never;
463
396
  patch?: never;
464
397
  trace?: never;
465
398
  };
466
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose": {
399
+ "/_redevplugin/api/plugins/intents/query": {
467
400
  parameters: {
468
401
  query?: never;
469
402
  header?: never;
@@ -472,15 +405,15 @@ export interface paths {
472
405
  };
473
406
  get?: never;
474
407
  put?: never;
475
- /** @description Atomically observes and revokes one exact authenticated surface. An active surface becomes closed, a retained closure confirms closed, and an absent result is authoritative inactivity; transport failures remain an unknown mutation outcome. */
476
- post: operations["disposePluginSurface"];
408
+ /** @description Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ "intents": [...] }`. */
409
+ post: operations["listPluginIntents"];
477
410
  delete?: never;
478
411
  options?: never;
479
412
  head?: never;
480
413
  patch?: never;
481
414
  trace?: never;
482
415
  };
483
- "/_redevplugin/api/plugins/rpc": {
416
+ "/_redevplugin/api/plugins/intents/invoke": {
484
417
  parameters: {
485
418
  query?: never;
486
419
  header?: never;
@@ -489,14 +422,15 @@ export interface paths {
489
422
  };
490
423
  get?: never;
491
424
  put?: never;
492
- post: operations["callPluginMethod"];
425
+ /** @description Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks. */
426
+ post: operations["invokePluginIntent"];
493
427
  delete?: never;
494
428
  options?: never;
495
429
  head?: never;
496
430
  patch?: never;
497
431
  trace?: never;
498
432
  };
499
- "/_redevplugin/api/plugins/confirmations/prepare": {
433
+ "/_redevplugin/api/plugins/executions/query": {
500
434
  parameters: {
501
435
  query?: never;
502
436
  header?: never;
@@ -505,14 +439,14 @@ export interface paths {
505
439
  };
506
440
  get?: never;
507
441
  put?: never;
508
- post: operations["preparePluginMethodConfirmation"];
442
+ post: operations["listPluginExecutions"];
509
443
  delete?: never;
510
444
  options?: never;
511
445
  head?: never;
512
446
  patch?: never;
513
447
  trace?: never;
514
448
  };
515
- "/_redevplugin/api/plugins/intents/query": {
449
+ "/_redevplugin/api/plugins/executions/release-installs": {
516
450
  parameters: {
517
451
  query?: never;
518
452
  header?: never;
@@ -521,15 +455,15 @@ export interface paths {
521
455
  };
522
456
  get?: never;
523
457
  put?: never;
524
- /** @description Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ "intents": [...] }`. */
525
- post: operations["listPluginIntents"];
458
+ /** @description Starts or idempotently recovers an owner-bound release installation and returns only its unified Execution identity. */
459
+ post: operations["startReleaseInstallExecution"];
526
460
  delete?: never;
527
461
  options?: never;
528
462
  head?: never;
529
463
  patch?: never;
530
464
  trace?: never;
531
465
  };
532
- "/_redevplugin/api/plugins/intents/invoke": {
466
+ "/_redevplugin/api/plugins/executions/{execution_id}/query": {
533
467
  parameters: {
534
468
  query?: never;
535
469
  header?: never;
@@ -538,15 +472,14 @@ export interface paths {
538
472
  };
539
473
  get?: never;
540
474
  put?: never;
541
- /** @description Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks. */
542
- post: operations["invokePluginIntent"];
475
+ post: operations["getPluginExecution"];
543
476
  delete?: never;
544
477
  options?: never;
545
478
  head?: never;
546
479
  patch?: never;
547
480
  trace?: never;
548
481
  };
549
- "/_redevplugin/api/plugins/operations/query": {
482
+ "/_redevplugin/api/plugins/executions/{execution_id}/cancel": {
550
483
  parameters: {
551
484
  query?: never;
552
485
  header?: never;
@@ -555,14 +488,14 @@ export interface paths {
555
488
  };
556
489
  get?: never;
557
490
  put?: never;
558
- post: operations["listPluginOperations"];
491
+ post: operations["cancelPluginExecution"];
559
492
  delete?: never;
560
493
  options?: never;
561
494
  head?: never;
562
495
  patch?: never;
563
496
  trace?: never;
564
497
  };
565
- "/_redevplugin/api/plugins/operations/{operation_id}/query": {
498
+ "/_redevplugin/api/plugins/executions/{execution_id}/events/query": {
566
499
  parameters: {
567
500
  query?: never;
568
501
  header?: never;
@@ -571,14 +504,15 @@ export interface paths {
571
504
  };
572
505
  get?: never;
573
506
  put?: never;
574
- post: operations["getPluginOperation"];
507
+ /** @description Returns the single ordered event envelope after the caller's last observed execution cursor. Session and surface authorization remain Host-owned transport concerns. */
508
+ post: operations["listPluginExecutionEvents"];
575
509
  delete?: never;
576
510
  options?: never;
577
511
  head?: never;
578
512
  patch?: never;
579
513
  trace?: never;
580
514
  };
581
- "/_redevplugin/api/plugins/operations/{operation_id}/cancel": {
515
+ "/_redevplugin/api/plugins/runtime/start": {
582
516
  parameters: {
583
517
  query?: never;
584
518
  header?: never;
@@ -587,14 +521,14 @@ export interface paths {
587
521
  };
588
522
  get?: never;
589
523
  put?: never;
590
- post: operations["cancelPluginOperation"];
524
+ post: operations["startPluginRuntime"];
591
525
  delete?: never;
592
526
  options?: never;
593
527
  head?: never;
594
528
  patch?: never;
595
529
  trace?: never;
596
530
  };
597
- "/_redevplugin/api/plugins/runtime/start": {
531
+ "/_redevplugin/api/plugins/runtime/stop": {
598
532
  parameters: {
599
533
  query?: never;
600
534
  header?: never;
@@ -603,14 +537,14 @@ export interface paths {
603
537
  };
604
538
  get?: never;
605
539
  put?: never;
606
- post: operations["startPluginRuntime"];
540
+ post: operations["stopPluginRuntime"];
607
541
  delete?: never;
608
542
  options?: never;
609
543
  head?: never;
610
544
  patch?: never;
611
545
  trace?: never;
612
546
  };
613
- "/_redevplugin/api/plugins/runtime/stop": {
547
+ "/_redevplugin/api/plugins/runtime/recover-enabled": {
614
548
  parameters: {
615
549
  query?: never;
616
550
  header?: never;
@@ -619,14 +553,15 @@ export interface paths {
619
553
  };
620
554
  get?: never;
621
555
  put?: never;
622
- post: operations["stopPluginRuntime"];
556
+ /** @description Returns the Host-owned idempotent recovery snapshot for this startup revision. Repeated calls do not schedule a second recovery pass. */
557
+ post: operations["recoverEnabledPlugins"];
623
558
  delete?: never;
624
559
  options?: never;
625
560
  head?: never;
626
561
  patch?: never;
627
562
  trace?: never;
628
563
  };
629
- "/_redevplugin/api/plugins/runtime/refresh-enabled": {
564
+ "/_redevplugin/api/plugins/runtime/recover/retry": {
630
565
  parameters: {
631
566
  query?: never;
632
567
  header?: never;
@@ -635,8 +570,8 @@ export interface paths {
635
570
  };
636
571
  get?: never;
637
572
  put?: never;
638
- /** @description Replays runtime-derived state for enabled plugins after the embedding host process restarts or reattaches adapters. The response data is `{ "results": [...] }`. */
639
- post: operations["refreshEnabledPluginRuntimeState"];
573
+ /** @description Retries recovery for one plugin after an explicit user action and updates the Host-owned snapshot. */
574
+ post: operations["retryPluginRecovery"];
640
575
  delete?: never;
641
576
  options?: never;
642
577
  head?: never;
@@ -1035,21 +970,6 @@ export interface components {
1035
970
  ok: true;
1036
971
  data: components["schemas"]["SurfaceAssetResult"];
1037
972
  };
1038
- SurfaceStreamSuccessResponse: {
1039
- /** @constant */
1040
- ok: true;
1041
- data: components["schemas"]["SurfaceStreamResult"];
1042
- };
1043
- SurfaceStreamAcknowledgementSuccessResponse: {
1044
- /** @constant */
1045
- ok: true;
1046
- data: components["schemas"]["SurfaceStreamAcknowledgementResult"];
1047
- };
1048
- PluginOperationSnapshotSuccessResponse: {
1049
- /** @constant */
1050
- ok: true;
1051
- data: components["schemas"]["PluginOperationSnapshot"];
1052
- };
1053
973
  SurfaceDisposeSuccessResponse: {
1054
974
  /** @constant */
1055
975
  ok: true;
@@ -1065,25 +985,15 @@ export interface components {
1065
985
  ok: true;
1066
986
  data: components["schemas"]["PluginRecord"];
1067
987
  };
1068
- ReleaseInstallOperationSuccessResponse: {
1069
- /** @constant */
1070
- ok: true;
1071
- data: components["schemas"]["ReleaseInstallOperation"];
1072
- };
1073
- ReleaseInstallOperationListSuccessResponse: {
1074
- /** @constant */
1075
- ok: true;
1076
- data: components["schemas"]["ReleaseInstallOperationList"];
1077
- };
1078
988
  ExternalPackageInspectionSuccessResponse: {
1079
989
  /** @constant */
1080
990
  ok: true;
1081
991
  data: components["schemas"]["ExternalPackageInspection"];
1082
992
  };
1083
- ExternalPackageCommitSuccessResponse: {
993
+ InstalledExternalPackageSuccessResponse: {
1084
994
  /** @constant */
1085
995
  ok: true;
1086
- data: components["schemas"]["ExternalPackageCommitResult"];
996
+ data: components["schemas"]["InstalledExternalPackage"];
1087
997
  };
1088
998
  PluginCatalogSuccessResponse: {
1089
999
  /** @constant */
@@ -1130,15 +1040,20 @@ export interface components {
1130
1040
  ok: true;
1131
1041
  data: components["schemas"]["RetainedDataCleanupResult"];
1132
1042
  };
1133
- OperationRecordSuccessResponse: {
1043
+ ExecutionSuccessResponse: {
1044
+ /** @constant */
1045
+ ok: true;
1046
+ data: components["schemas"]["Execution"];
1047
+ };
1048
+ ExecutionListSuccessResponse: {
1134
1049
  /** @constant */
1135
1050
  ok: true;
1136
- data: components["schemas"]["OperationRecord"];
1051
+ data: components["schemas"]["ExecutionList"];
1137
1052
  };
1138
- OperationListSuccessResponse: {
1053
+ ExecutionEventListSuccessResponse: {
1139
1054
  /** @constant */
1140
1055
  ok: true;
1141
- data: components["schemas"]["PluginOperationList"];
1056
+ data: components["schemas"]["ExecutionEventList"];
1142
1057
  };
1143
1058
  RuntimeHealthSuccessResponse: {
1144
1059
  /** @constant */
@@ -1150,10 +1065,15 @@ export interface components {
1150
1065
  ok: true;
1151
1066
  data: components["schemas"]["PluginRuntimeStopResult"];
1152
1067
  };
1153
- RuntimeRefreshSuccessResponse: {
1068
+ RecoverySnapshotSuccessResponse: {
1069
+ /** @constant */
1070
+ ok: true;
1071
+ data: components["schemas"]["RecoverySnapshot"];
1072
+ };
1073
+ PluginRecoverySuccessResponse: {
1154
1074
  /** @constant */
1155
1075
  ok: true;
1156
- data: components["schemas"]["PluginRuntimeRefreshResult"];
1076
+ data: components["schemas"]["PluginRecoveryResult"];
1157
1077
  };
1158
1078
  DataExportSuccessResponse: {
1159
1079
  /** @constant */
@@ -1225,19 +1145,13 @@ export interface components {
1225
1145
  ok: true;
1226
1146
  data: components["schemas"]["PluginSettingsSnapshot"];
1227
1147
  };
1228
- PlatformError: components["schemas"]["GenericPlatformError"] | components["schemas"]["OperationRateLimitPlatformError"] | components["schemas"]["JSONLimitPlatformError"] | components["schemas"]["PackageValidationPlatformError"] | components["schemas"]["ManagementRevisionPlatformError"] | components["schemas"]["AuthorizationRevisionPlatformError"] | components["schemas"]["BindingRevisionPlatformError"] | components["schemas"]["ValuesRevisionPlatformError"] | components["schemas"]["CapabilityPlatformError"] | components["schemas"]["WorkerPlatformError"];
1148
+ 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"];
1229
1149
  MutationPlatformError: components["schemas"]["MutationGenericPlatformError"] | components["schemas"]["MutationJSONLimitPlatformError"] | components["schemas"]["MutationPackageValidationPlatformError"] | components["schemas"]["MutationManagementRevisionPlatformError"] | components["schemas"]["MutationAuthorizationRevisionPlatformError"] | components["schemas"]["MutationBindingRevisionPlatformError"] | components["schemas"]["MutationValuesRevisionPlatformError"] | components["schemas"]["MutationCapabilityPlatformError"] | components["schemas"]["MutationWorkerPlatformError"] | components["schemas"]["MutationSessionTeardownPlatformError"];
1230
1150
  GenericPlatformError: {
1231
1151
  code: components["schemas"]["GenericPlatformErrorCode"];
1232
1152
  message: components["schemas"]["PlatformErrorMessage"];
1233
1153
  details: components["schemas"]["EmptyErrorDetails"];
1234
1154
  };
1235
- OperationRateLimitPlatformError: {
1236
- /** @constant */
1237
- code: "PLUGIN_OPERATION_RATE_LIMITED";
1238
- message: components["schemas"]["PlatformErrorMessage"];
1239
- details: components["schemas"]["OperationRateLimitErrorDetails"];
1240
- };
1241
1155
  JSONLimitPlatformError: {
1242
1156
  /** @constant */
1243
1157
  code: "PLUGIN_JSON_LIMIT_EXCEEDED";
@@ -1359,9 +1273,6 @@ export interface components {
1359
1273
  /** @enum {string} */
1360
1274
  MutationOutcome: "committed" | "not_committed" | "unknown";
1361
1275
  EmptyErrorDetails: Record<string, never>;
1362
- OperationRateLimitErrorDetails: {
1363
- retry_after_ms: number;
1364
- };
1365
1276
  JSONLimitErrorDetails: {
1366
1277
  /** @enum {string} */
1367
1278
  reason: "payload_bytes" | "json_depth" | "prototype_key" | "number_precision";
@@ -1419,7 +1330,7 @@ export interface components {
1419
1330
  ErrorCode: components["schemas"]["ErrorCodesV8PlatformErrorCode"];
1420
1331
  PlatformErrorMessage: string;
1421
1332
  /** @enum {string} */
1422
- 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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
1333
+ 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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
1423
1334
  SurfaceDisposeResult: {
1424
1335
  /** @constant */
1425
1336
  disposed: true;
@@ -1437,9 +1348,14 @@ export interface components {
1437
1348
  plugins: components["schemas"]["PluginRecord"][];
1438
1349
  };
1439
1350
  PluginCompatibilityManifest: components["schemas"]["CompatibilityManifestV17"];
1440
- PluginOperationList: {
1441
- operations: components["schemas"]["OperationRecord"][];
1442
- next_cursor?: string;
1351
+ ExecutionList: {
1352
+ executions: components["schemas"]["Execution"][];
1353
+ next_cursor?: number;
1354
+ };
1355
+ ExecutionEventList: {
1356
+ execution_id: string;
1357
+ events: components["schemas"]["Event"][];
1358
+ cursor: number;
1443
1359
  };
1444
1360
  PluginIntentRecord: {
1445
1361
  plugin_id: string;
@@ -1531,14 +1447,12 @@ export interface components {
1531
1447
  /** @enum {string} */
1532
1448
  DiagnosticMutationOutcome: "committed" | "not_committed" | "unknown";
1533
1449
  PluginDiagnosticDetails: {
1534
- operations_deleted?: number;
1535
- streams_deleted?: number;
1450
+ executions_deleted?: number;
1451
+ execution_id?: string;
1536
1452
  invocation_id?: string;
1537
1453
  method?: string;
1538
1454
  failure_code?: string;
1539
1455
  runtime_process_failure_code?: components["schemas"]["ErrorCodesV8RuntimeProcessFailureCode"];
1540
- operation_id?: string;
1541
- stream_id?: string;
1542
1456
  runtime_instance_id?: string;
1543
1457
  runtime_generation_id?: string;
1544
1458
  runtime_version?: string;
@@ -1664,29 +1578,22 @@ export interface components {
1664
1578
  /** @constant */
1665
1579
  stopped: true;
1666
1580
  };
1667
- PluginRuntimeRefreshResult: {
1668
- results: components["schemas"]["PluginRuntimeRefreshEntry"][];
1669
- };
1670
- PluginRuntimeRefreshEntry: components["schemas"]["PluginRuntimeRefreshSuccess"] | components["schemas"]["PluginRuntimeRefreshFailure"];
1671
- PluginRuntimeRefreshSuccess: {
1672
- plugin_instance_id: string;
1673
- /** @constant */
1674
- status: "refreshed";
1581
+ RecoverySnapshot: {
1582
+ revision: number;
1583
+ complete: boolean;
1584
+ results: components["schemas"]["PluginRecoveryResult"][];
1675
1585
  };
1676
- PluginRuntimeRefreshFailure: {
1586
+ PluginRecoveryResult: {
1677
1587
  plugin_instance_id: string;
1678
- /** @constant */
1679
- status: "failed";
1680
- error: components["schemas"]["PluginRuntimeRefreshPublicError"];
1681
- };
1682
- PluginRuntimeRefreshPublicError: {
1683
1588
  /** @enum {string} */
1684
- code: "PLUGIN_RUNTIME_UNAVAILABLE";
1685
- message: string;
1589
+ status: "ready" | "failed";
1686
1590
  /** @enum {string} */
1687
- reason: "unknown" | "trust_state_advanced" | "trust_revoked" | "trust_fenced" | "trust_epoch_mismatch" | "activation_evidence_invalid" | "activation_lease_expired" | "recovery_canceled" | "recovery_timeout";
1591
+ reason?: "unknown" | "trust_state_advanced" | "trust_revoked" | "recovery_canceled" | "recovery_timeout";
1688
1592
  /** @enum {string} */
1689
- action: "retry" | "reinstall" | "contact_admin";
1593
+ action?: "retry" | "reinstall" | "contact_admin";
1594
+ };
1595
+ RetryPluginRecoveryRequest: {
1596
+ plugin_instance_id: string;
1690
1597
  };
1691
1598
  PluginDataExportResult: {
1692
1599
  bundle_ref: string;
@@ -1792,14 +1699,10 @@ export interface components {
1792
1699
  intent: components["schemas"]["ExternalPackageIntentRequest"];
1793
1700
  source: components["schemas"]["ExternalPackageSource"];
1794
1701
  };
1795
- /** @description Confirms the exact immutable inspection. The digest cannot override any inspected fact. */
1796
- CommitExternalPackageRequest: {
1797
- inspection_id: string;
1798
- confirmation_digest: string;
1799
- };
1800
- QueryExternalPackageCommitRequest: {
1702
+ /** @description Confirms an unexpired process-local inspection by its exact package digest. The digest cannot override any inspected fact. */
1703
+ InstallInspectedPackageRequest: {
1801
1704
  inspection_id: string;
1802
- commit_id?: string;
1705
+ expected_package_sha256: string;
1803
1706
  };
1804
1707
  /** @description Cryptographic signature fact computed over the inspected artifact. The absent state is installable and affects trust classification and automatic-update eligibility only. */
1805
1708
  ExternalPackageSignatureAssessment: {
@@ -2057,43 +1960,14 @@ export interface components {
2057
1960
  execution_approval: components["schemas"]["ExternalPackageExecutionApproval"];
2058
1961
  update_eligibility: components["schemas"]["ExternalPackageUpdateEligibility"];
2059
1962
  security_summary: components["schemas"]["ExternalPackageSecuritySummary"];
2060
- confirmation_digest: string;
2061
1963
  };
2062
- /** @description Immutable successful commit evidence. */
2063
- ExternalPackageCommitReceipt: {
2064
- commit_id: string;
2065
- inspection_id: string;
2066
- package_sha256: string;
2067
- management_revision: number;
2068
- /** Format: date-time */
2069
- committed_at: string;
2070
- };
2071
- /** @description Closed commit reconciliation union. A committed result repeats all four facts so clients never infer them from legacy trust_state alone. A failed result is terminal evidence that a durable commit did not occur and requires a fresh inspection before retrying. */
2072
- ExternalPackageCommitResult: {
2073
- /** @constant */
2074
- status: "committed";
2075
- inspection_id: string;
2076
- intent: components["schemas"]["ExternalPackageIntent"];
2077
- receipt: components["schemas"]["ExternalPackageCommitReceipt"];
1964
+ InstalledExternalPackage: {
2078
1965
  plugin: components["schemas"]["PluginRecord"];
2079
1966
  signature_assessment: components["schemas"]["ExternalPackageSignatureAssessment"];
2080
1967
  source_provenance: components["schemas"]["ExternalPackageSourceProvenance"];
2081
1968
  execution_approval: components["schemas"]["ExternalPackageExecutionApproval"];
2082
1969
  update_eligibility: components["schemas"]["ExternalPackageUpdateEligibility"];
2083
1970
  security_summary: components["schemas"]["ExternalPackageSecuritySummary"];
2084
- } | {
2085
- /** @constant */
2086
- status: "in_progress";
2087
- inspection_id: string;
2088
- intent: components["schemas"]["ExternalPackageIntent"];
2089
- retry_after_ms: number;
2090
- } | {
2091
- /** @constant */
2092
- status: "failed";
2093
- inspection_id: string;
2094
- intent: components["schemas"]["ExternalPackageIntent"];
2095
- /** @constant */
2096
- failure_code: "host_restarted_before_commit";
2097
1971
  };
2098
1972
  /** @enum {string} */
2099
1973
  TrustState: "verified" | "unsigned_local" | "untrusted" | "needs_review" | "trust_unavailable" | "blocked_security";
@@ -2235,95 +2109,6 @@ export interface components {
2235
2109
  release_ref: components["schemas"]["PluginReleaseRef"];
2236
2110
  plugin_instance_id: string;
2237
2111
  };
2238
- StartReleaseInstallOperationRequest: {
2239
- request_id: string;
2240
- plugin_instance_id: string;
2241
- /** @description When omitted, verified official sources activate automatically; false keeps the installed plugin disabled. */
2242
- activate_after_install?: boolean;
2243
- approved_permission_ids?: string[];
2244
- release_ref: components["schemas"]["PluginReleaseRef"];
2245
- };
2246
- ReleaseInstallProgress: {
2247
- /** @constant */
2248
- kind: "indeterminate";
2249
- } | {
2250
- /** @enum {string} */
2251
- kind: "items" | "bytes";
2252
- completed: number;
2253
- total: number;
2254
- };
2255
- ReleaseInstallFailure: {
2256
- /** @enum {string} */
2257
- code: "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE";
2258
- retryable: boolean;
2259
- };
2260
- ReleaseInstallActivation: {
2261
- /** @enum {string} */
2262
- status: "pending" | "enabled" | "needs_attention" | "not_requested";
2263
- missing_permission_ids?: string[];
2264
- /** @enum {string} */
2265
- next_action?: "approve_permissions" | "retry_activation";
2266
- } & ({
2267
- /** @enum {string} */
2268
- status: "pending" | "enabled" | "not_requested";
2269
- } | {
2270
- /** @constant */
2271
- status: "needs_attention";
2272
- });
2273
- ReleaseInstallPhaseDiagnostic: {
2274
- /** @enum {string} */
2275
- phase: "queued" | "fetch_trust_evidence" | "fetch_release_evidence" | "download_package" | "verify_hashes" | "verify_signatures_ledger" | "fetch_capability_evidence" | "commit" | "enable" | "complete" | "failed" | "reconciling";
2276
- artifact_role?: string;
2277
- attempt: number;
2278
- progress: components["schemas"]["ReleaseInstallProgress"];
2279
- cache_hit: boolean;
2280
- /** Format: date-time */
2281
- started_at: string;
2282
- /** Format: date-time */
2283
- completed_at?: string;
2284
- duration_ms?: number;
2285
- };
2286
- ReleaseInstallOperation: {
2287
- request_id: string;
2288
- operation_id: string;
2289
- plugin_instance_id: string;
2290
- request_sha256: string;
2291
- /** @enum {string} */
2292
- status: "queued" | "running" | "reconciling" | "succeeded" | "failed";
2293
- phase: string;
2294
- progress: components["schemas"]["ReleaseInstallProgress"];
2295
- attempt: number;
2296
- retry_after_ms: number;
2297
- mutation_outcome: components["schemas"]["MutationOutcome"];
2298
- failure?: components["schemas"]["ReleaseInstallFailure"];
2299
- plugin_record?: components["schemas"]["PluginRecord"];
2300
- activation: components["schemas"]["ReleaseInstallActivation"];
2301
- phase_diagnostics: components["schemas"]["ReleaseInstallPhaseDiagnostic"][];
2302
- /** Format: date-time */
2303
- created_at: string;
2304
- /** Format: date-time */
2305
- updated_at: string;
2306
- /** Format: date-time */
2307
- terminal_at?: string;
2308
- } & ({
2309
- /** @enum {string} */
2310
- status?: "queued" | "running" | "reconciling";
2311
- } | {
2312
- /** @constant */
2313
- status: "succeeded";
2314
- /** @constant */
2315
- mutation_outcome?: "committed";
2316
- activation?: components["schemas"]["ReleaseInstallActivation"] & {
2317
- /** @enum {string} */
2318
- status?: "enabled" | "needs_attention" | "not_requested";
2319
- };
2320
- } | {
2321
- /** @constant */
2322
- status: "failed";
2323
- });
2324
- ReleaseInstallOperationList: {
2325
- operations: components["schemas"]["ReleaseInstallOperation"][];
2326
- };
2327
2112
  UpdateReleaseRefRequest: {
2328
2113
  plugin_instance_id: string;
2329
2114
  release_ref: components["schemas"]["PluginReleaseRef"];
@@ -2362,11 +2147,18 @@ export interface components {
2362
2147
  intent_id?: string;
2363
2148
  plugin_instance_id?: string;
2364
2149
  };
2365
- ListOperationsQueryRequest: {
2150
+ ListExecutionsRequest: {
2366
2151
  plugin_instance_id?: string;
2367
- cursor?: string;
2152
+ cursor?: number;
2368
2153
  limit?: number;
2369
2154
  };
2155
+ StartReleaseInstallExecutionRequest: {
2156
+ request_id: string;
2157
+ plugin_instance_id: string;
2158
+ activate_after_install?: boolean;
2159
+ approved_permission_ids?: string[];
2160
+ release_ref: components["schemas"]["PluginReleaseRef"];
2161
+ };
2370
2162
  ListRetainedDataQueryRequest: {
2371
2163
  plugin_instance_id?: string;
2372
2164
  };
@@ -2471,84 +2263,10 @@ export interface components {
2471
2263
  content_type: string;
2472
2264
  content_base64: string;
2473
2265
  };
2474
- ReadSurfaceStreamRequest: {
2475
- stream_id: string;
2476
- stream_ticket: string;
2477
- read_id: string;
2478
- };
2479
- AcknowledgeSurfaceStreamRequest: {
2480
- stream_id: string;
2481
- stream_ticket: string;
2482
- delivery_id: string;
2483
- };
2484
- SurfaceStreamResult: {
2485
- delivery_id?: string;
2486
- read_id: string;
2487
- events: components["schemas"]["StreamEvent"][];
2488
- done: boolean;
2489
- /** @enum {unknown} */
2490
- terminal_status?: "closed" | "canceled" | "failed" | "orphaned_after_disable" | "orphaned_after_uninstall";
2491
- } & (unknown & unknown & unknown);
2492
- SurfaceStreamAcknowledgementResult: {
2493
- /** @constant */
2494
- acknowledged: true;
2495
- };
2496
- CancelSurfaceOperationRequest: {
2497
- operation_id: string;
2498
- bridge_channel_id: string;
2499
- reason?: string;
2500
- };
2501
- GetSurfaceOperationRequest: {
2502
- operation_id: string;
2503
- bridge_channel_id: string;
2504
- };
2505
- PluginOperationSnapshot: {
2506
- operation_id: string;
2507
- /** @enum {string} */
2508
- status: "running" | "cancel_requested";
2509
- cancelable: boolean;
2510
- /** Format: date-time */
2511
- created_at: string;
2512
- /** Format: date-time */
2513
- updated_at: string;
2514
- retry_after_ms: number;
2515
- progress?: components["schemas"]["OperationProgress"];
2516
- } | {
2517
- operation_id: string;
2518
- /** @enum {string} */
2519
- status: "completed" | "canceled" | "orphaned_after_disable" | "orphaned_after_uninstall";
2520
- cancelable: boolean;
2521
- /** Format: date-time */
2522
- created_at: string;
2523
- /** Format: date-time */
2524
- updated_at: string;
2525
- retry_after_ms: number;
2526
- /** Format: date-time */
2527
- terminal_at: string;
2528
- progress?: components["schemas"]["OperationProgress"];
2529
- } | {
2530
- operation_id: string;
2531
- /** @constant */
2532
- status: "failed";
2533
- cancelable: boolean;
2534
- /** Format: date-time */
2535
- created_at: string;
2536
- /** Format: date-time */
2537
- updated_at: string;
2538
- retry_after_ms: number;
2539
- /** Format: date-time */
2540
- terminal_at: string;
2541
- /** @enum {string} */
2542
- failure_code: "adapter_failed" | "contract_invalid" | "platform_failed" | "quota_exceeded" | "runtime_failed";
2543
- progress?: components["schemas"]["OperationProgress"];
2266
+ ListExecutionEventsRequest: {
2267
+ after_cursor: number;
2268
+ limit?: number;
2544
2269
  };
2545
- OperationProgress: {
2546
- revision: number;
2547
- phase: string;
2548
- completed_units?: number;
2549
- total_units?: number;
2550
- unit?: string;
2551
- } & (unknown & unknown);
2552
2270
  RejectSurfaceConfirmationRequest: {
2553
2271
  plugin_instance_id: string;
2554
2272
  bridge_channel_id: string;
@@ -2559,15 +2277,6 @@ export interface components {
2559
2277
  /** @constant */
2560
2278
  rejected: true;
2561
2279
  };
2562
- StreamEvent: {
2563
- stream_id: string;
2564
- sequence: number;
2565
- kind: string;
2566
- data?: string;
2567
- error?: string;
2568
- /** Format: date-time */
2569
- at: string;
2570
- };
2571
2280
  DisposeSurfaceRequest: {
2572
2281
  bridge_nonce: string;
2573
2282
  };
@@ -2596,15 +2305,7 @@ export interface components {
2596
2305
  data?: unknown;
2597
2306
  } | {
2598
2307
  data?: unknown;
2599
- operation_id: string;
2600
- } | {
2601
- data?: unknown;
2602
- operation_id: string;
2603
- stream_id: string;
2604
- stream_ticket: string;
2605
- stream_ticket_id: string;
2606
- /** Format: date-time */
2607
- stream_expires_at: string;
2308
+ execution_id: string;
2608
2309
  } | {
2609
2310
  /** @constant */
2610
2311
  confirmation_required: true;
@@ -2669,87 +2370,20 @@ export interface components {
2669
2370
  [key: string]: unknown;
2670
2371
  };
2671
2372
  };
2672
- CancelOperationRequest: {
2373
+ CancelExecutionRequest: {
2673
2374
  reason?: string;
2674
2375
  };
2675
2376
  CapabilityContractPin: components["schemas"]["HostCapabilityPinV1"];
2676
- /** @description Public immutable execution evidence embedded into operation responses. Session and bridge channel ownership fields are excluded. */
2677
- PublicOperationBinding: {
2678
- invocation_id: string;
2679
- audit_correlation_id: string;
2680
- operation_id?: string;
2681
- stream_id?: string;
2682
- publisher_id: string;
2683
- plugin_id: string;
2377
+ Execution: {
2378
+ execution_id: string;
2684
2379
  plugin_instance_id: string;
2685
- plugin_version: components["schemas"]["StrictSemVer"];
2686
- active_fingerprint: string;
2687
- surface_instance_id?: string;
2688
2380
  /** @enum {string} */
2689
- route_kind: "capability" | "worker" | "core_action";
2690
- capability_id: string;
2691
- capability_version: components["schemas"]["StrictSemVer"];
2692
- binding_id: string;
2693
- contract?: components["schemas"]["CapabilityContractPin"];
2694
- method: string;
2695
- target_method: string;
2381
+ kind: "sync" | "operation" | "subscription";
2696
2382
  /** @enum {string} */
2697
- effect: "read" | "write" | "execute" | "delete" | "admin";
2698
- /** @enum {string} */
2699
- execution: "sync" | "operation" | "subscription";
2700
- permissions: {
2701
- required: string[];
2702
- granted: string[];
2703
- };
2704
- confirmation: {
2705
- required: boolean;
2706
- confirmed: boolean;
2707
- confirmation_id?: string;
2708
- request_sha256?: string;
2709
- plan_sha256?: string;
2710
- target_sha256?: string;
2711
- };
2712
- revision: {
2713
- policy_revision: number;
2714
- management_revision: number;
2715
- revoke_epoch: number;
2716
- };
2717
- quota: {
2718
- max_concurrent?: number;
2719
- max_duration_ms?: number;
2720
- max_stream_bytes?: number;
2721
- /** Format: date-time */
2722
- expires_at?: string;
2723
- };
2724
- target: {
2725
- kind: string;
2726
- fields: {
2727
- [key: string]: unknown;
2728
- };
2729
- };
2730
- target_descriptor_sha256: string;
2731
- stream_event_type_name?: string;
2732
- stream_event_schema_sha256?: string;
2733
- } & ({
2734
- /** @constant */
2735
- route_kind: "capability";
2736
- } | {
2737
- /** @constant */
2738
- route_kind: "worker";
2739
- } | {
2740
- /** @constant */
2741
- route_kind: "core_action";
2742
- });
2743
- OperationRecord: components["schemas"]["PublicOperationBinding"] & ({
2744
- operation_id: string;
2745
- /** @enum {string} */
2746
- execution?: "operation" | "subscription";
2383
+ status: "running" | "cancel_requested" | "completed" | "canceled" | "failed" | "orphaned";
2384
+ cursor: number;
2385
+ failure_code?: string;
2747
2386
  cancelable: boolean;
2748
- cancel_ack_timeout_ms?: number;
2749
- /** @enum {string} */
2750
- disable_behavior?: "cancel" | "orphan" | "wait";
2751
- /** @enum {string} */
2752
- uninstall_behavior?: "cancel_then_block_delete" | "force_cleanup_allowed";
2753
2387
  /** Format: date-time */
2754
2388
  created_at: string;
2755
2389
  /** Format: date-time */
@@ -2757,23 +2391,22 @@ export interface components {
2757
2391
  /** Format: date-time */
2758
2392
  cancel_requested_at?: string;
2759
2393
  /** Format: date-time */
2760
- orphaned_at?: string;
2761
- /** Format: date-time */
2762
2394
  terminal_at?: string;
2763
- progress?: components["schemas"]["OperationProgress"];
2764
- } & ({
2765
- /** @constant */
2766
- status: "failed";
2767
- failure_code: components["schemas"]["ExecutionFailureCode"];
2768
- /** @constant */
2769
- reason: "execution failed";
2770
- } | {
2771
- /** @enum {unknown} */
2772
- status: "running" | "cancel_requested" | "canceled" | "completed" | "orphaned_after_disable" | "orphaned_after_uninstall";
2773
- reason?: string;
2774
- }));
2775
- /** @enum {string} */
2776
- ExecutionFailureCode: "adapter_failed" | "contract_invalid" | "platform_failed" | "quota_exceeded" | "runtime_failed";
2395
+ };
2396
+ Event: {
2397
+ execution_id: string;
2398
+ sequence: number;
2399
+ /** @enum {string} */
2400
+ kind: "progress" | "data" | "diagnostic" | "terminal";
2401
+ payload?: {
2402
+ [key: string]: unknown;
2403
+ };
2404
+ error?: components["schemas"]["PublicError"];
2405
+ };
2406
+ PublicError: {
2407
+ code: string;
2408
+ message: string;
2409
+ };
2777
2410
  StartRuntimeRequest: {
2778
2411
  target: components["schemas"]["RuntimeTarget"];
2779
2412
  };
@@ -2865,11 +2498,11 @@ export interface components {
2865
2498
  };
2866
2499
  ErrorCodesV8: Record<string, never>;
2867
2500
  /** @enum {string} */
2868
- ErrorCodesV8PlatformErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_OPERATION_RATE_LIMITED" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
2501
+ ErrorCodesV8PlatformErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
2869
2502
  /** @enum {string} */
2870
- ErrorCodesV8BridgeErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_OPERATION_RATE_LIMITED" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED";
2503
+ ErrorCodesV8BridgeErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED";
2871
2504
  /** @enum {string} */
2872
- ErrorCodesV8TypescriptClientErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_OPERATION_BLOCKED" | "PLUGIN_OPERATION_NOT_FOUND" | "PLUGIN_OPERATION_NOT_CANCELABLE" | "PLUGIN_OPERATION_RATE_LIMITED" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED" | "PLUGIN_PLATFORM_REQUEST_FAILED" | "PLUGIN_STREAM_FAILED";
2505
+ ErrorCodesV8TypescriptClientErrorCode: "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_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_DISABLED_BY_POLICY" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_UNSUPPORTED" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_MANAGEMENT_REVISION_MISMATCH" | "PLUGIN_AUTHORIZATION_REVISION_MISMATCH" | "PLUGIN_BINDING_REVISION_MISMATCH" | "PLUGIN_VALUES_REVISION_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED" | "PLUGIN_CONFIRMATION_REJECTED" | "PLUGIN_BRIDGE_CANCELLED" | "PLUGIN_BRIDGE_TIMEOUT" | "PLUGIN_BRIDGE_DISPOSED" | "PLUGIN_BRIDGE_HANDSHAKE_FAILED" | "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED" | "PLUGIN_PLATFORM_REQUEST_FAILED" | "PLUGIN_STREAM_FAILED";
2873
2506
  /** @enum {string} */
2874
2507
  ErrorCodesV8RustIpcErrorCode: "ARTIFACT_HANDLE_FAILED" | "HANDLE_GRANT_VALIDATION_FAILED" | "STORAGE_FILE_FAILED" | "STORAGE_KV_FAILED" | "STORAGE_SQLITE_FAILED" | "NETWORK_GRANT_FAILED" | "NETWORK_EXECUTE_FAILED" | "NETWORK_STREAM_STORE_UNAVAILABLE" | "NETWORK_STREAM_FAILED" | "NETWORK_STREAM_BACKPRESSURE" | "NETWORK_STREAM_INVALID" | "NETWORK_STREAM_NOT_FOUND" | "NETWORK_STREAM_CLOSED" | "WORKER_INVOCATION_INVALID" | "RUNTIME_CAPABILITY_REVOKED" | "RUNTIME_CONTROL_CHANNEL_STALE" | "RUNTIME_LEASE_INVALID" | "RUNTIME_LEASE_SIGNATURE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "WASM_WORKER_INVALID" | "WASM_WORKER_FAILED" | "WASM_HOSTCALL_FAILED" | "RUNTIME_CAPACITY_EXCEEDED" | "RUNTIME_INVOCATION_CANCELED" | "PLUGIN_SESSION_REVOKED" | "SESSION_REVOKE_SEQUENCE_STALE" | "SESSION_REVOKE_DRAIN_TIMEOUT" | "UNSUPPORTED_FRAME";
2875
2508
  /** @enum {string} */
@@ -2929,19 +2562,16 @@ export interface components {
2929
2562
  session_channel_id_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2930
2563
  };
2931
2564
  /** @enum {string} */
2932
- SessionScopeV1TeardownPhase: "bridge" | "confirmation" | "execution" | "operation" | "stream" | "runtime";
2565
+ SessionScopeV1TeardownPhase: "bridge" | "confirmation" | "execution" | "runtime";
2933
2566
  SessionScopeV1RevokeCounts: {
2934
2567
  surfaces: components["schemas"]["SessionScopeV1Count"];
2935
2568
  asset_tickets: components["schemas"]["SessionScopeV1Count"];
2936
2569
  asset_sessions: components["schemas"]["SessionScopeV1Count"];
2937
2570
  plugin_gateway_tokens: components["schemas"]["SessionScopeV1Count"];
2938
2571
  confirmation_tokens: components["schemas"]["SessionScopeV1Count"];
2939
- stream_tickets: components["schemas"]["SessionScopeV1Count"];
2940
2572
  handle_grants: components["schemas"]["SessionScopeV1Count"];
2941
2573
  confirmations: components["schemas"]["SessionScopeV1Count"];
2942
- operations: components["schemas"]["SessionScopeV1Count"];
2943
- streams: components["schemas"]["SessionScopeV1Count"];
2944
- runtime_executions: components["schemas"]["SessionScopeV1Count"];
2574
+ executions: components["schemas"]["SessionScopeV1Count"];
2945
2575
  active_network_requests: components["schemas"]["SessionScopeV1Count"];
2946
2576
  sockets: components["schemas"]["SessionScopeV1Count"];
2947
2577
  network_streams: components["schemas"]["SessionScopeV1Count"];
@@ -2970,7 +2600,7 @@ export interface components {
2970
2600
  CompatibilityManifestV17: {
2971
2601
  /** @constant */
2972
2602
  schema_version: "redevplugin.compatibility.v17";
2973
- package_set: components["schemas"]["PlatformPackageSetV1"];
2603
+ package_set: components["schemas"]["PlatformPackageSetV2"];
2974
2604
  matrix: {
2975
2605
  /** @constant */
2976
2606
  plugin_ui_protocol_version: "plugin-ui-v7";
@@ -3009,22 +2639,6 @@ export interface components {
3009
2639
  /** @constant */
3010
2640
  release_revocation_pointer_schema_version: "release-revocation-pointer-v2";
3011
2641
  /** @constant */
3012
- release_trust_state_schema_version: "release-trust-state-v1";
3013
- /** @constant */
3014
- trusted_time_evidence_schema_version: "trusted-time-evidence-v1";
3015
- /** @constant */
3016
- trusted_time_leaf_schema_version: "trusted-time-leaf-v1";
3017
- /** @constant */
3018
- release_signing_ledger_schema_version: "release-signing-ledger-v1";
3019
- /** @constant */
3020
- release_signing_subject_schema_version: "release-signing-subject-v1";
3021
- /** @constant */
3022
- release_signature_envelope_schema_version: "release-signature-envelope-v1";
3023
- /** @constant */
3024
- release_signing_ledger_receipt_schema_version: "release-signing-ledger-receipt-v1";
3025
- /** @constant */
3026
- release_signing_ledger_evidence_schema_version: "release-signing-ledger-evidence-v1";
3027
- /** @constant */
3028
2642
  token_ticket_schema_version: "token-ticket-v4";
3029
2643
  /** @constant */
3030
2644
  bridge_schema_version: "bridge-v7";
@@ -3041,8 +2655,6 @@ export interface components {
3041
2655
  /** @constant */
3042
2656
  session_scope_schema_version: "session-scope-v1";
3043
2657
  /** @constant */
3044
- session_scope_maintenance_schema_version: "session-scope-maintenance-v1";
3045
- /** @constant */
3046
2658
  plugin_platform_openapi_version: "plugin-platform-v15";
3047
2659
  /** @constant */
3048
2660
  compatibility_schema_version: "compatibility-manifest-v17";
@@ -3053,14 +2665,6 @@ export interface components {
3053
2665
  /** @constant */
3054
2666
  host_capability_pin_schema_version: "host-capability-pin-v1";
3055
2667
  /** @constant */
3056
- host_capability_manifest_schema_version: "host-capability-manifest-v1";
3057
- /** @constant */
3058
- host_capability_compatibility_schema_version: "host-capability-compatibility-v1";
3059
- /** @constant */
3060
- host_capability_signature_schema_version: "host-capability-signature-v1";
3061
- /** @constant */
3062
- host_capability_notices_schema_version: "host-capability-notices-v1";
3063
- /** @constant */
3064
2668
  error_codes_schema_version: "error-codes-v8";
3065
2669
  /** @constant */
3066
2670
  performance_contract_version: "performance-contract-v4";
@@ -3069,7 +2673,7 @@ export interface components {
3069
2673
  /** @constant */
3070
2674
  contract_registry_version: "contract-registry-v2";
3071
2675
  /** @constant */
3072
- platform_package_set_schema_version: "platform-package-set-v1";
2676
+ platform_package_set_schema_version: "platform-package-set-v2";
3073
2677
  /** @constant */
3074
2678
  platform_package_publication_schema_version: "platform-package-publication-v1";
3075
2679
  /** @constant */
@@ -3100,83 +2704,76 @@ export interface components {
3100
2704
  version: string;
3101
2705
  sha256: string;
3102
2706
  };
3103
- PlatformPackageSetV1: {
2707
+ PlatformPackageSetV2: {
3104
2708
  /** @constant */
3105
- schema_version: "redevplugin.platform_package_set.v1";
3106
- platform_version: components["schemas"]["PlatformPackageSetV1Version"];
3107
- go_module: components["schemas"]["PlatformPackageSetV1GoModule"];
2709
+ schema_version: "redevplugin.platform_package_set.v2";
2710
+ platform_version: components["schemas"]["PlatformPackageSetV2Version"];
2711
+ go_module: components["schemas"]["PlatformPackageSetV2GoModule"];
3108
2712
  npm_packages: [
3109
- components["schemas"]["PlatformPackageSetV1NpmContracts"],
3110
- components["schemas"]["PlatformPackageSetV1NpmUi"]
2713
+ components["schemas"]["PlatformPackageSetV2NpmContracts"],
2714
+ components["schemas"]["PlatformPackageSetV2NpmUi"]
3111
2715
  ];
3112
2716
  rust_crates: [
3113
- components["schemas"]["PlatformPackageSetV1RustContracts"],
3114
- components["schemas"]["PlatformPackageSetV1RustIpc"],
3115
- components["schemas"]["PlatformPackageSetV1RustWasmAbi"],
3116
- components["schemas"]["PlatformPackageSetV1RustTargetClassifier"],
3117
- components["schemas"]["PlatformPackageSetV1RustWorkerSdk"],
3118
- components["schemas"]["PlatformPackageSetV1RustRuntime"]
2717
+ components["schemas"]["PlatformPackageSetV2RustContracts"],
2718
+ components["schemas"]["PlatformPackageSetV2RustIpc"],
2719
+ components["schemas"]["PlatformPackageSetV2RustWasmAbi"],
2720
+ components["schemas"]["PlatformPackageSetV2RustWorkerSdk"],
2721
+ components["schemas"]["PlatformPackageSetV2RustRuntime"]
3119
2722
  ];
3120
2723
  /** @constant */
3121
2724
  contract_registry_version: "contract-registry-v2";
3122
- contract_set_sha256: components["schemas"]["PlatformPackageSetV1Sha256"];
2725
+ contract_set_sha256: components["schemas"]["PlatformPackageSetV2Sha256"];
3123
2726
  };
3124
- PlatformPackageSetV1Version: string;
3125
- PlatformPackageSetV1Sha256: string;
3126
- PlatformPackageSetV1GoModule: {
2727
+ PlatformPackageSetV2Version: string;
2728
+ PlatformPackageSetV2Sha256: string;
2729
+ PlatformPackageSetV2GoModule: {
3127
2730
  /** @constant */
3128
2731
  module: "github.com/floegence/redevplugin";
3129
2732
  version: string;
3130
2733
  };
3131
- PlatformPackageSetV1NpmPackage: {
2734
+ PlatformPackageSetV2NpmPackage: {
3132
2735
  name: string;
3133
- version: components["schemas"]["PlatformPackageSetV1Version"];
2736
+ version: components["schemas"]["PlatformPackageSetV2Version"];
3134
2737
  };
3135
- PlatformPackageSetV1NpmContracts: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2738
+ PlatformPackageSetV2NpmContracts: components["schemas"]["PlatformPackageSetV2NpmPackage"] & {
3136
2739
  /** @constant */
3137
2740
  name?: "@floegence/redevplugin-contracts";
3138
2741
  };
3139
- PlatformPackageSetV1NpmUi: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2742
+ PlatformPackageSetV2NpmUi: components["schemas"]["PlatformPackageSetV2NpmPackage"] & {
3140
2743
  /** @constant */
3141
2744
  name?: "@floegence/redevplugin-ui";
3142
2745
  };
3143
- PlatformPackageSetV1RustCrate: {
2746
+ PlatformPackageSetV2RustCrate: {
3144
2747
  name: string;
3145
- version: components["schemas"]["PlatformPackageSetV1Version"];
2748
+ version: components["schemas"]["PlatformPackageSetV2Version"];
3146
2749
  /** @enum {unknown} */
3147
- role: "contracts" | "ipc" | "wasm_abi" | "target_classifier" | "worker_sdk" | "runtime";
2750
+ role: "contracts" | "ipc" | "wasm_abi" | "worker_sdk" | "runtime";
3148
2751
  };
3149
- PlatformPackageSetV1RustContracts: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2752
+ PlatformPackageSetV2RustContracts: components["schemas"]["PlatformPackageSetV2RustCrate"] & {
3150
2753
  /** @constant */
3151
2754
  name?: "redevplugin-contracts";
3152
2755
  /** @constant */
3153
2756
  role?: "contracts";
3154
2757
  };
3155
- PlatformPackageSetV1RustIpc: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2758
+ PlatformPackageSetV2RustIpc: components["schemas"]["PlatformPackageSetV2RustCrate"] & {
3156
2759
  /** @constant */
3157
2760
  name?: "redevplugin-ipc";
3158
2761
  /** @constant */
3159
2762
  role?: "ipc";
3160
2763
  };
3161
- PlatformPackageSetV1RustWasmAbi: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2764
+ PlatformPackageSetV2RustWasmAbi: components["schemas"]["PlatformPackageSetV2RustCrate"] & {
3162
2765
  /** @constant */
3163
2766
  name?: "redevplugin-wasm-abi";
3164
2767
  /** @constant */
3165
2768
  role?: "wasm_abi";
3166
2769
  };
3167
- PlatformPackageSetV1RustTargetClassifier: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
3168
- /** @constant */
3169
- name?: "redevplugin-target-classifier";
3170
- /** @constant */
3171
- role?: "target_classifier";
3172
- };
3173
- PlatformPackageSetV1RustWorkerSdk: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2770
+ PlatformPackageSetV2RustWorkerSdk: components["schemas"]["PlatformPackageSetV2RustCrate"] & {
3174
2771
  /** @constant */
3175
2772
  name?: "redevplugin-worker-sdk";
3176
2773
  /** @constant */
3177
2774
  role?: "worker_sdk";
3178
2775
  };
3179
- PlatformPackageSetV1RustRuntime: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2776
+ PlatformPackageSetV2RustRuntime: components["schemas"]["PlatformPackageSetV2RustCrate"] & {
3180
2777
  /** @constant */
3181
2778
  name?: "redevplugin-runtime";
3182
2779
  /** @constant */
@@ -3413,27 +3010,11 @@ export interface components {
3413
3010
  publisher_id: components["schemas"]["HostCapabilityPinV1Id"];
3414
3011
  contract_id: components["schemas"]["HostCapabilityPinV1Id"];
3415
3012
  contract_version: components["schemas"]["HostCapabilityPinV1Semver"];
3416
- artifact_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3417
3013
  artifact_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3418
- manifest_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3419
- manifest_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3420
- signature_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3421
- signature_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3422
- signature_key_id: components["schemas"]["HostCapabilityPinV1Id"];
3423
- signature_policy_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
3424
- signature_revocation_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
3425
- compatibility_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3426
- compatibility_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3427
- generated_client_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3428
- generated_client_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3429
- notices_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3430
- notices_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3431
3014
  };
3432
3015
  HostCapabilityPinV1Id: string;
3433
3016
  HostCapabilityPinV1Semver: string;
3434
- HostCapabilityPinV1ArtifactRef: string;
3435
3017
  HostCapabilityPinV1Sha256: string;
3436
- HostCapabilityPinV1DecimalEpoch: string;
3437
3018
  OpaqueSurfaceDocumentV3: {
3438
3019
  /** @constant */
3439
3020
  schema_version: "redevplugin.opaque_surface_document.v3";
@@ -3490,7 +3071,7 @@ export interface components {
3490
3071
  "application/json": components["schemas"]["MutationPlatformErrorResponse"];
3491
3072
  };
3492
3073
  };
3493
- /** @description Typed plugin method result. Subscriptions always bind one operation and one stream. */
3074
+ /** @description Typed plugin method result. Every asynchronous invocation returns one execution identity. */
3494
3075
  RPCResponse: {
3495
3076
  headers: {
3496
3077
  [name: string]: unknown;
@@ -3535,33 +3116,6 @@ export interface components {
3535
3116
  "application/json": components["schemas"]["SurfaceAssetSuccessResponse"];
3536
3117
  };
3537
3118
  };
3538
- /** @description Trusted-parent stream redemption response. Stream tickets remain outside the plugin worker. */
3539
- SurfaceStreamResponse: {
3540
- headers: {
3541
- [name: string]: unknown;
3542
- };
3543
- content: {
3544
- "application/json": components["schemas"]["SurfaceStreamSuccessResponse"];
3545
- };
3546
- };
3547
- /** @description Confirms one exact stream delivery so the platform may release its events. */
3548
- SurfaceStreamAcknowledgementResponse: {
3549
- headers: {
3550
- [name: string]: unknown;
3551
- };
3552
- content: {
3553
- "application/json": components["schemas"]["SurfaceStreamAcknowledgementSuccessResponse"];
3554
- };
3555
- };
3556
- /** @description Closed sandbox-safe operation status projection. */
3557
- PluginOperationSnapshotResponse: {
3558
- headers: {
3559
- [name: string]: unknown;
3560
- };
3561
- content: {
3562
- "application/json": components["schemas"]["PluginOperationSnapshotSuccessResponse"];
3563
- };
3564
- };
3565
3119
  /** @description Surface revocation response. */
3566
3120
  SurfaceDisposeResponse: {
3567
3121
  headers: {
@@ -3589,24 +3143,6 @@ export interface components {
3589
3143
  "application/json": components["schemas"]["PluginRecordSuccessResponse"];
3590
3144
  };
3591
3145
  };
3592
- /** @description Durable release installation status and authoritative terminal result. */
3593
- ReleaseInstallOperationResponse: {
3594
- headers: {
3595
- [name: string]: unknown;
3596
- };
3597
- content: {
3598
- "application/json": components["schemas"]["ReleaseInstallOperationSuccessResponse"];
3599
- };
3600
- };
3601
- /** @description Owner-scoped durable release installation operations. */
3602
- ReleaseInstallOperationListResponse: {
3603
- headers: {
3604
- [name: string]: unknown;
3605
- };
3606
- content: {
3607
- "application/json": components["schemas"]["ReleaseInstallOperationListSuccessResponse"];
3608
- };
3609
- };
3610
3146
  /** @description Immutable server-computed package inspection and confirmation boundary. */
3611
3147
  ExternalPackageInspectionResponse: {
3612
3148
  headers: {
@@ -3616,13 +3152,13 @@ export interface components {
3616
3152
  "application/json": components["schemas"]["ExternalPackageInspectionSuccessResponse"];
3617
3153
  };
3618
3154
  };
3619
- /** @description External package commit reconciliation result with explicit trust, approval, provenance, and update facts. */
3620
- ExternalPackageCommitResponse: {
3155
+ /** @description Installed external package with explicit trust, approval, provenance, and update facts. */
3156
+ InstalledExternalPackageResponse: {
3621
3157
  headers: {
3622
3158
  [name: string]: unknown;
3623
3159
  };
3624
3160
  content: {
3625
- "application/json": components["schemas"]["ExternalPackageCommitSuccessResponse"];
3161
+ "application/json": components["schemas"]["InstalledExternalPackageSuccessResponse"];
3626
3162
  };
3627
3163
  };
3628
3164
  /** @description Installed plugin catalog response with typed registry records. */
@@ -3706,22 +3242,31 @@ export interface components {
3706
3242
  "application/json": components["schemas"]["RetainedDataCleanupSuccessResponse"];
3707
3243
  };
3708
3244
  };
3709
- /** @description Host-owned operation record with its immutable execution binding. */
3710
- OperationRecordResponse: {
3245
+ /** @description Host-owned execution state. */
3246
+ ExecutionResponse: {
3711
3247
  headers: {
3712
3248
  [name: string]: unknown;
3713
3249
  };
3714
3250
  content: {
3715
- "application/json": components["schemas"]["OperationRecordSuccessResponse"];
3251
+ "application/json": components["schemas"]["ExecutionSuccessResponse"];
3716
3252
  };
3717
3253
  };
3718
- /** @description Host-owned operation records with immutable execution bindings. */
3719
- OperationListResponse: {
3254
+ /** @description Host-owned execution records. */
3255
+ ExecutionListResponse: {
3720
3256
  headers: {
3721
3257
  [name: string]: unknown;
3722
3258
  };
3723
3259
  content: {
3724
- "application/json": components["schemas"]["OperationListSuccessResponse"];
3260
+ "application/json": components["schemas"]["ExecutionListSuccessResponse"];
3261
+ };
3262
+ };
3263
+ /** @description Ordered events from the requested execution cursor. */
3264
+ ExecutionEventListResponse: {
3265
+ headers: {
3266
+ [name: string]: unknown;
3267
+ };
3268
+ content: {
3269
+ "application/json": components["schemas"]["ExecutionEventListSuccessResponse"];
3725
3270
  };
3726
3271
  };
3727
3272
  /** @description Runtime manager and shard health. */
@@ -3742,13 +3287,22 @@ export interface components {
3742
3287
  "application/json": components["schemas"]["RuntimeStopSuccessResponse"];
3743
3288
  };
3744
3289
  };
3745
- /** @description Enabled plugin runtime refresh result. */
3746
- RuntimeRefreshResponse: {
3290
+ /** @description Idempotent Host-owned enabled-plugin recovery snapshot. */
3291
+ RecoverySnapshotResponse: {
3747
3292
  headers: {
3748
3293
  [name: string]: unknown;
3749
3294
  };
3750
3295
  content: {
3751
- "application/json": components["schemas"]["RuntimeRefreshSuccessResponse"];
3296
+ "application/json": components["schemas"]["RecoverySnapshotSuccessResponse"];
3297
+ };
3298
+ };
3299
+ /** @description Recovery result for one explicitly retried plugin. */
3300
+ PluginRecoveryResponse: {
3301
+ headers: {
3302
+ [name: string]: unknown;
3303
+ };
3304
+ content: {
3305
+ "application/json": components["schemas"]["PluginRecoverySuccessResponse"];
3752
3306
  };
3753
3307
  };
3754
3308
  /** @description Plugin data export result. */
@@ -3888,8 +3442,9 @@ export interface components {
3888
3442
  };
3889
3443
  };
3890
3444
  parameters: {
3891
- OperationID: string;
3445
+ ExecutionID: string;
3892
3446
  PluginInstanceID: string;
3447
+ SHA256Digest: string;
3893
3448
  RequestID: string;
3894
3449
  SurfaceInstanceID: string;
3895
3450
  };
@@ -3899,14 +3454,9 @@ export interface components {
3899
3454
  "application/json": components["schemas"]["InspectExternalPackageRequest"];
3900
3455
  };
3901
3456
  };
3902
- CommitExternalPackageRequest: {
3903
- content: {
3904
- "application/json": components["schemas"]["CommitExternalPackageRequest"];
3905
- };
3906
- };
3907
- QueryExternalPackageCommitRequest: {
3457
+ InstallInspectedPackageRequest: {
3908
3458
  content: {
3909
- "application/json": components["schemas"]["QueryExternalPackageCommitRequest"];
3459
+ "application/json": components["schemas"]["InstallInspectedPackageRequest"];
3910
3460
  };
3911
3461
  };
3912
3462
  InstallReleaseRefRequest: {
@@ -3914,11 +3464,6 @@ export interface components {
3914
3464
  "application/json": components["schemas"]["InstallReleaseRefRequest"];
3915
3465
  };
3916
3466
  };
3917
- StartReleaseInstallOperationRequest: {
3918
- content: {
3919
- "application/json": components["schemas"]["StartReleaseInstallOperationRequest"];
3920
- };
3921
- };
3922
3467
  UpdateReleaseRefRequest: {
3923
3468
  content: {
3924
3469
  "application/json": components["schemas"]["UpdateReleaseRefRequest"];
@@ -3959,6 +3504,11 @@ export interface components {
3959
3504
  "application/json": components["schemas"]["EmptyRequest"];
3960
3505
  };
3961
3506
  };
3507
+ RetryPluginRecoveryRequest: {
3508
+ content: {
3509
+ "application/json": components["schemas"]["RetryPluginRecoveryRequest"];
3510
+ };
3511
+ };
3962
3512
  EmptyQueryRequest: {
3963
3513
  content: {
3964
3514
  "application/json": components["schemas"]["EmptyQueryRequest"];
@@ -3969,9 +3519,14 @@ export interface components {
3969
3519
  "application/json": components["schemas"]["ListIntentsQueryRequest"];
3970
3520
  };
3971
3521
  };
3972
- ListOperationsQueryRequest: {
3522
+ ListExecutionsRequest: {
3523
+ content: {
3524
+ "application/json": components["schemas"]["ListExecutionsRequest"];
3525
+ };
3526
+ };
3527
+ StartReleaseInstallExecutionRequest: {
3973
3528
  content: {
3974
- "application/json": components["schemas"]["ListOperationsQueryRequest"];
3529
+ "application/json": components["schemas"]["StartReleaseInstallExecutionRequest"];
3975
3530
  };
3976
3531
  };
3977
3532
  ListRetainedDataQueryRequest: {
@@ -4014,24 +3569,14 @@ export interface components {
4014
3569
  "application/json": components["schemas"]["ReadSurfaceAssetRequest"];
4015
3570
  };
4016
3571
  };
4017
- ReadSurfaceStreamRequest: {
3572
+ ListExecutionEventsRequest: {
4018
3573
  content: {
4019
- "application/json": components["schemas"]["ReadSurfaceStreamRequest"];
3574
+ "application/json": components["schemas"]["ListExecutionEventsRequest"];
4020
3575
  };
4021
3576
  };
4022
- AcknowledgeSurfaceStreamRequest: {
3577
+ CancelExecutionRequest: {
4023
3578
  content: {
4024
- "application/json": components["schemas"]["AcknowledgeSurfaceStreamRequest"];
4025
- };
4026
- };
4027
- CancelSurfaceOperationRequest: {
4028
- content: {
4029
- "application/json": components["schemas"]["CancelSurfaceOperationRequest"];
4030
- };
4031
- };
4032
- GetSurfaceOperationRequest: {
4033
- content: {
4034
- "application/json": components["schemas"]["GetSurfaceOperationRequest"];
3579
+ "application/json": components["schemas"]["CancelExecutionRequest"];
4035
3580
  };
4036
3581
  };
4037
3582
  RejectSurfaceConfirmationRequest: {
@@ -4059,11 +3604,6 @@ export interface components {
4059
3604
  "application/json": components["schemas"]["InvokeIntentRequest"];
4060
3605
  };
4061
3606
  };
4062
- CancelOperationRequest: {
4063
- content: {
4064
- "application/json": components["schemas"]["CancelOperationRequest"];
4065
- };
4066
- };
4067
3607
  StartRuntimeRequest: {
4068
3608
  content: {
4069
3609
  "application/json": components["schemas"]["StartRuntimeRequest"];
@@ -4228,32 +3768,19 @@ export interface operations {
4228
3768
  default: components["responses"]["MutationPlatformErrorResponse"];
4229
3769
  };
4230
3770
  };
4231
- commitExternalPackage: {
3771
+ installInspectedPackage: {
4232
3772
  parameters: {
4233
3773
  query?: never;
4234
3774
  header?: never;
4235
3775
  path?: never;
4236
3776
  cookie?: never;
4237
3777
  };
4238
- requestBody: components["requestBodies"]["CommitExternalPackageRequest"];
3778
+ requestBody: components["requestBodies"]["InstallInspectedPackageRequest"];
4239
3779
  responses: {
4240
- 200: components["responses"]["ExternalPackageCommitResponse"];
3780
+ 200: components["responses"]["InstalledExternalPackageResponse"];
4241
3781
  default: components["responses"]["MutationPlatformErrorResponse"];
4242
3782
  };
4243
3783
  };
4244
- queryExternalPackageCommit: {
4245
- parameters: {
4246
- query?: never;
4247
- header?: never;
4248
- path?: never;
4249
- cookie?: never;
4250
- };
4251
- requestBody: components["requestBodies"]["QueryExternalPackageCommitRequest"];
4252
- responses: {
4253
- 200: components["responses"]["ExternalPackageCommitResponse"];
4254
- default: components["responses"]["PlatformErrorResponse"];
4255
- };
4256
- };
4257
3784
  installReleaseRef: {
4258
3785
  parameters: {
4259
3786
  query?: never;
@@ -4267,62 +3794,6 @@ export interface operations {
4267
3794
  default: components["responses"]["MutationPlatformErrorResponse"];
4268
3795
  };
4269
3796
  };
4270
- listReleaseInstallOperations: {
4271
- parameters: {
4272
- query?: never;
4273
- header?: never;
4274
- path?: never;
4275
- cookie?: never;
4276
- };
4277
- requestBody?: never;
4278
- responses: {
4279
- 200: components["responses"]["ReleaseInstallOperationListResponse"];
4280
- default: components["responses"]["PlatformErrorResponse"];
4281
- };
4282
- };
4283
- startReleaseInstallOperation: {
4284
- parameters: {
4285
- query?: never;
4286
- header?: never;
4287
- path?: never;
4288
- cookie?: never;
4289
- };
4290
- requestBody: components["requestBodies"]["StartReleaseInstallOperationRequest"];
4291
- responses: {
4292
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4293
- default: components["responses"]["MutationPlatformErrorResponse"];
4294
- };
4295
- };
4296
- getReleaseInstallOperation: {
4297
- parameters: {
4298
- query?: never;
4299
- header?: never;
4300
- path: {
4301
- operation_id: components["parameters"]["OperationID"];
4302
- };
4303
- cookie?: never;
4304
- };
4305
- requestBody?: never;
4306
- responses: {
4307
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4308
- default: components["responses"]["PlatformErrorResponse"];
4309
- };
4310
- };
4311
- getReleaseInstallOperationByRequest: {
4312
- parameters: {
4313
- query?: never;
4314
- header?: never;
4315
- path: {
4316
- request_id: components["parameters"]["RequestID"];
4317
- };
4318
- cookie?: never;
4319
- };
4320
- requestBody?: never;
4321
- responses: {
4322
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4323
- default: components["responses"]["PlatformErrorResponse"];
4324
- };
4325
- };
4326
3797
  enablePlugin: {
4327
3798
  parameters: {
4328
3799
  query?: never;
@@ -4401,6 +3872,41 @@ export interface operations {
4401
3872
  default: components["responses"]["PlatformErrorResponse"];
4402
3873
  };
4403
3874
  };
3875
+ readInstalledPluginIcon: {
3876
+ parameters: {
3877
+ query?: never;
3878
+ header?: never;
3879
+ path: {
3880
+ plugin_instance_id: components["parameters"]["PluginInstanceID"];
3881
+ sha256: components["parameters"]["SHA256Digest"];
3882
+ };
3883
+ cookie?: never;
3884
+ };
3885
+ requestBody?: never;
3886
+ responses: {
3887
+ /** @description Verified PNG or WebP icon bytes. */
3888
+ 200: {
3889
+ headers: {
3890
+ ETag?: string;
3891
+ "Cache-Control"?: string;
3892
+ "X-Content-Type-Options"?: "nosniff";
3893
+ [name: string]: unknown;
3894
+ };
3895
+ content: {
3896
+ "image/png": string;
3897
+ "image/webp": string;
3898
+ };
3899
+ };
3900
+ /** @description The immutable digest matches If-None-Match. */
3901
+ 304: {
3902
+ headers: {
3903
+ [name: string]: unknown;
3904
+ };
3905
+ content?: never;
3906
+ };
3907
+ default: components["responses"]["PlatformErrorResponse"];
3908
+ };
3909
+ };
4404
3910
  getPluginFeatures: {
4405
3911
  parameters: {
4406
3912
  query?: never;
@@ -4498,66 +4004,6 @@ export interface operations {
4498
4004
  default: components["responses"]["PlatformErrorResponse"];
4499
4005
  };
4500
4006
  };
4501
- readPreparedSurfaceStream: {
4502
- parameters: {
4503
- query?: never;
4504
- header?: never;
4505
- path: {
4506
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4507
- };
4508
- cookie?: never;
4509
- };
4510
- requestBody: components["requestBodies"]["ReadSurfaceStreamRequest"];
4511
- responses: {
4512
- 200: components["responses"]["SurfaceStreamResponse"];
4513
- default: components["responses"]["PlatformErrorResponse"];
4514
- };
4515
- };
4516
- acknowledgePreparedSurfaceStream: {
4517
- parameters: {
4518
- query?: never;
4519
- header?: never;
4520
- path: {
4521
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4522
- };
4523
- cookie?: never;
4524
- };
4525
- requestBody: components["requestBodies"]["AcknowledgeSurfaceStreamRequest"];
4526
- responses: {
4527
- 200: components["responses"]["SurfaceStreamAcknowledgementResponse"];
4528
- default: components["responses"]["MutationPlatformErrorResponse"];
4529
- };
4530
- };
4531
- cancelSurfacePluginOperation: {
4532
- parameters: {
4533
- query?: never;
4534
- header?: never;
4535
- path: {
4536
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4537
- };
4538
- cookie?: never;
4539
- };
4540
- requestBody: components["requestBodies"]["CancelSurfaceOperationRequest"];
4541
- responses: {
4542
- 200: components["responses"]["OperationRecordResponse"];
4543
- default: components["responses"]["MutationPlatformErrorResponse"];
4544
- };
4545
- };
4546
- getSurfacePluginOperationSnapshot: {
4547
- parameters: {
4548
- query?: never;
4549
- header?: never;
4550
- path: {
4551
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4552
- };
4553
- cookie?: never;
4554
- };
4555
- requestBody: components["requestBodies"]["GetSurfaceOperationRequest"];
4556
- responses: {
4557
- 200: components["responses"]["PluginOperationSnapshotResponse"];
4558
- default: components["responses"]["PlatformErrorResponse"];
4559
- };
4560
- };
4561
4007
  rejectSurfacePluginConfirmation: {
4562
4008
  parameters: {
4563
4009
  query?: never;
@@ -4640,49 +4086,77 @@ export interface operations {
4640
4086
  default: components["responses"]["MutationPlatformErrorResponse"];
4641
4087
  };
4642
4088
  };
4643
- listPluginOperations: {
4089
+ listPluginExecutions: {
4644
4090
  parameters: {
4645
4091
  query?: never;
4646
4092
  header?: never;
4647
4093
  path?: never;
4648
4094
  cookie?: never;
4649
4095
  };
4650
- requestBody: components["requestBodies"]["ListOperationsQueryRequest"];
4096
+ requestBody: components["requestBodies"]["ListExecutionsRequest"];
4651
4097
  responses: {
4652
- 200: components["responses"]["OperationListResponse"];
4098
+ 200: components["responses"]["ExecutionListResponse"];
4653
4099
  default: components["responses"]["PlatformErrorResponse"];
4654
4100
  };
4655
4101
  };
4656
- getPluginOperation: {
4102
+ startReleaseInstallExecution: {
4103
+ parameters: {
4104
+ query?: never;
4105
+ header?: never;
4106
+ path?: never;
4107
+ cookie?: never;
4108
+ };
4109
+ requestBody: components["requestBodies"]["StartReleaseInstallExecutionRequest"];
4110
+ responses: {
4111
+ 200: components["responses"]["ExecutionResponse"];
4112
+ default: components["responses"]["MutationPlatformErrorResponse"];
4113
+ };
4114
+ };
4115
+ getPluginExecution: {
4657
4116
  parameters: {
4658
4117
  query?: never;
4659
4118
  header?: never;
4660
4119
  path: {
4661
- operation_id: components["parameters"]["OperationID"];
4120
+ execution_id: components["parameters"]["ExecutionID"];
4662
4121
  };
4663
4122
  cookie?: never;
4664
4123
  };
4665
4124
  requestBody: components["requestBodies"]["EmptyQueryRequest"];
4666
4125
  responses: {
4667
- 200: components["responses"]["OperationRecordResponse"];
4126
+ 200: components["responses"]["ExecutionResponse"];
4668
4127
  default: components["responses"]["PlatformErrorResponse"];
4669
4128
  };
4670
4129
  };
4671
- cancelPluginOperation: {
4130
+ cancelPluginExecution: {
4672
4131
  parameters: {
4673
4132
  query?: never;
4674
4133
  header?: never;
4675
4134
  path: {
4676
- operation_id: components["parameters"]["OperationID"];
4135
+ execution_id: components["parameters"]["ExecutionID"];
4677
4136
  };
4678
4137
  cookie?: never;
4679
4138
  };
4680
- requestBody: components["requestBodies"]["CancelOperationRequest"];
4139
+ requestBody: components["requestBodies"]["CancelExecutionRequest"];
4681
4140
  responses: {
4682
- 200: components["responses"]["OperationRecordResponse"];
4141
+ 200: components["responses"]["ExecutionResponse"];
4683
4142
  default: components["responses"]["MutationPlatformErrorResponse"];
4684
4143
  };
4685
4144
  };
4145
+ listPluginExecutionEvents: {
4146
+ parameters: {
4147
+ query?: never;
4148
+ header?: never;
4149
+ path: {
4150
+ execution_id: components["parameters"]["ExecutionID"];
4151
+ };
4152
+ cookie?: never;
4153
+ };
4154
+ requestBody: components["requestBodies"]["ListExecutionEventsRequest"];
4155
+ responses: {
4156
+ 200: components["responses"]["ExecutionEventListResponse"];
4157
+ default: components["responses"]["PlatformErrorResponse"];
4158
+ };
4159
+ };
4686
4160
  startPluginRuntime: {
4687
4161
  parameters: {
4688
4162
  query?: never;
@@ -4709,7 +4183,7 @@ export interface operations {
4709
4183
  default: components["responses"]["MutationPlatformErrorResponse"];
4710
4184
  };
4711
4185
  };
4712
- refreshEnabledPluginRuntimeState: {
4186
+ recoverEnabledPlugins: {
4713
4187
  parameters: {
4714
4188
  query?: never;
4715
4189
  header?: never;
@@ -4718,7 +4192,20 @@ export interface operations {
4718
4192
  };
4719
4193
  requestBody: components["requestBodies"]["EmptyRequest"];
4720
4194
  responses: {
4721
- 200: components["responses"]["RuntimeRefreshResponse"];
4195
+ 200: components["responses"]["RecoverySnapshotResponse"];
4196
+ default: components["responses"]["MutationPlatformErrorResponse"];
4197
+ };
4198
+ };
4199
+ retryPluginRecovery: {
4200
+ parameters: {
4201
+ query?: never;
4202
+ header?: never;
4203
+ path?: never;
4204
+ cookie?: never;
4205
+ };
4206
+ requestBody: components["requestBodies"]["RetryPluginRecoveryRequest"];
4207
+ responses: {
4208
+ 200: components["responses"]["PluginRecoveryResponse"];
4722
4209
  default: components["responses"]["MutationPlatformErrorResponse"];
4723
4210
  };
4724
4211
  };