@floegence/redevplugin-ui 0.7.27 → 1.1.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;
@@ -397,23 +330,7 @@ export interface paths {
397
330
  patch?: never;
398
331
  trace?: never;
399
332
  };
400
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/read": {
401
- parameters: {
402
- query?: never;
403
- header?: never;
404
- path?: never;
405
- cookie?: never;
406
- };
407
- get?: never;
408
- put?: never;
409
- post: operations["readPreparedSurfaceStream"];
410
- delete?: never;
411
- options?: never;
412
- head?: never;
413
- patch?: never;
414
- trace?: never;
415
- };
416
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/streams/ack": {
333
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject": {
417
334
  parameters: {
418
335
  query?: never;
419
336
  header?: never;
@@ -422,14 +339,15 @@ export interface paths {
422
339
  };
423
340
  get?: never;
424
341
  put?: never;
425
- 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"];
426
344
  delete?: never;
427
345
  options?: never;
428
346
  head?: never;
429
347
  patch?: never;
430
348
  trace?: never;
431
349
  };
432
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/operations/cancel": {
350
+ "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose": {
433
351
  parameters: {
434
352
  query?: never;
435
353
  header?: never;
@@ -438,15 +356,15 @@ export interface paths {
438
356
  };
439
357
  get?: never;
440
358
  put?: never;
441
- /** @description Cancels an operation only when it belongs to the authenticated surface, session, and private bridge channel. */
442
- 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"];
443
361
  delete?: never;
444
362
  options?: never;
445
363
  head?: never;
446
364
  patch?: never;
447
365
  trace?: never;
448
366
  };
449
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/operations/query": {
367
+ "/_redevplugin/api/plugins/rpc": {
450
368
  parameters: {
451
369
  query?: never;
452
370
  header?: never;
@@ -455,15 +373,14 @@ export interface paths {
455
373
  };
456
374
  get?: never;
457
375
  put?: never;
458
- /** @description Returns only the sandbox-safe status projection for an operation bound to the authenticated surface, session, and private bridge channel. */
459
- post: operations["getSurfacePluginOperationSnapshot"];
376
+ post: operations["callPluginMethod"];
460
377
  delete?: never;
461
378
  options?: never;
462
379
  head?: never;
463
380
  patch?: never;
464
381
  trace?: never;
465
382
  };
466
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject": {
383
+ "/_redevplugin/api/plugins/confirmations/prepare": {
467
384
  parameters: {
468
385
  query?: never;
469
386
  header?: never;
@@ -472,15 +389,14 @@ export interface paths {
472
389
  };
473
390
  get?: never;
474
391
  put?: never;
475
- /** @description Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel. */
476
- post: operations["rejectSurfacePluginConfirmation"];
392
+ post: operations["preparePluginMethodConfirmation"];
477
393
  delete?: never;
478
394
  options?: never;
479
395
  head?: never;
480
396
  patch?: never;
481
397
  trace?: never;
482
398
  };
483
- "/_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose": {
399
+ "/_redevplugin/api/plugins/intents/query": {
484
400
  parameters: {
485
401
  query?: never;
486
402
  header?: never;
@@ -489,15 +405,15 @@ export interface paths {
489
405
  };
490
406
  get?: never;
491
407
  put?: never;
492
- /** @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. */
493
- post: operations["disposePluginSurface"];
408
+ /** @description Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ "intents": [...] }`. */
409
+ post: operations["listPluginIntents"];
494
410
  delete?: never;
495
411
  options?: never;
496
412
  head?: never;
497
413
  patch?: never;
498
414
  trace?: never;
499
415
  };
500
- "/_redevplugin/api/plugins/rpc": {
416
+ "/_redevplugin/api/plugins/intents/invoke": {
501
417
  parameters: {
502
418
  query?: never;
503
419
  header?: never;
@@ -506,14 +422,15 @@ export interface paths {
506
422
  };
507
423
  get?: never;
508
424
  put?: never;
509
- 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"];
510
427
  delete?: never;
511
428
  options?: never;
512
429
  head?: never;
513
430
  patch?: never;
514
431
  trace?: never;
515
432
  };
516
- "/_redevplugin/api/plugins/confirmations/prepare": {
433
+ "/_redevplugin/api/plugins/executions/query": {
517
434
  parameters: {
518
435
  query?: never;
519
436
  header?: never;
@@ -522,14 +439,14 @@ export interface paths {
522
439
  };
523
440
  get?: never;
524
441
  put?: never;
525
- post: operations["preparePluginMethodConfirmation"];
442
+ post: operations["listPluginExecutions"];
526
443
  delete?: never;
527
444
  options?: never;
528
445
  head?: never;
529
446
  patch?: never;
530
447
  trace?: never;
531
448
  };
532
- "/_redevplugin/api/plugins/intents/query": {
449
+ "/_redevplugin/api/plugins/executions/release-installs": {
533
450
  parameters: {
534
451
  query?: never;
535
452
  header?: never;
@@ -538,15 +455,15 @@ export interface paths {
538
455
  };
539
456
  get?: never;
540
457
  put?: never;
541
- /** @description Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ "intents": [...] }`. */
542
- 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"];
543
460
  delete?: never;
544
461
  options?: never;
545
462
  head?: never;
546
463
  patch?: never;
547
464
  trace?: never;
548
465
  };
549
- "/_redevplugin/api/plugins/intents/invoke": {
466
+ "/_redevplugin/api/plugins/executions/{execution_id}/query": {
550
467
  parameters: {
551
468
  query?: never;
552
469
  header?: never;
@@ -555,15 +472,14 @@ export interface paths {
555
472
  };
556
473
  get?: never;
557
474
  put?: never;
558
- /** @description Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks. */
559
- post: operations["invokePluginIntent"];
475
+ post: operations["getPluginExecution"];
560
476
  delete?: never;
561
477
  options?: never;
562
478
  head?: never;
563
479
  patch?: never;
564
480
  trace?: never;
565
481
  };
566
- "/_redevplugin/api/plugins/operations/query": {
482
+ "/_redevplugin/api/plugins/executions/{execution_id}/cancel": {
567
483
  parameters: {
568
484
  query?: never;
569
485
  header?: never;
@@ -572,14 +488,14 @@ export interface paths {
572
488
  };
573
489
  get?: never;
574
490
  put?: never;
575
- post: operations["listPluginOperations"];
491
+ post: operations["cancelPluginExecution"];
576
492
  delete?: never;
577
493
  options?: never;
578
494
  head?: never;
579
495
  patch?: never;
580
496
  trace?: never;
581
497
  };
582
- "/_redevplugin/api/plugins/operations/{operation_id}/query": {
498
+ "/_redevplugin/api/plugins/executions/{execution_id}/events/query": {
583
499
  parameters: {
584
500
  query?: never;
585
501
  header?: never;
@@ -588,14 +504,15 @@ export interface paths {
588
504
  };
589
505
  get?: never;
590
506
  put?: never;
591
- 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"];
592
509
  delete?: never;
593
510
  options?: never;
594
511
  head?: never;
595
512
  patch?: never;
596
513
  trace?: never;
597
514
  };
598
- "/_redevplugin/api/plugins/operations/{operation_id}/cancel": {
515
+ "/_redevplugin/api/plugins/runtime/start": {
599
516
  parameters: {
600
517
  query?: never;
601
518
  header?: never;
@@ -604,14 +521,14 @@ export interface paths {
604
521
  };
605
522
  get?: never;
606
523
  put?: never;
607
- post: operations["cancelPluginOperation"];
524
+ post: operations["startPluginRuntime"];
608
525
  delete?: never;
609
526
  options?: never;
610
527
  head?: never;
611
528
  patch?: never;
612
529
  trace?: never;
613
530
  };
614
- "/_redevplugin/api/plugins/runtime/start": {
531
+ "/_redevplugin/api/plugins/runtime/stop": {
615
532
  parameters: {
616
533
  query?: never;
617
534
  header?: never;
@@ -620,14 +537,14 @@ export interface paths {
620
537
  };
621
538
  get?: never;
622
539
  put?: never;
623
- post: operations["startPluginRuntime"];
540
+ post: operations["stopPluginRuntime"];
624
541
  delete?: never;
625
542
  options?: never;
626
543
  head?: never;
627
544
  patch?: never;
628
545
  trace?: never;
629
546
  };
630
- "/_redevplugin/api/plugins/runtime/stop": {
547
+ "/_redevplugin/api/plugins/runtime/recover-enabled": {
631
548
  parameters: {
632
549
  query?: never;
633
550
  header?: never;
@@ -636,14 +553,15 @@ export interface paths {
636
553
  };
637
554
  get?: never;
638
555
  put?: never;
639
- 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"];
640
558
  delete?: never;
641
559
  options?: never;
642
560
  head?: never;
643
561
  patch?: never;
644
562
  trace?: never;
645
563
  };
646
- "/_redevplugin/api/plugins/runtime/refresh-enabled": {
564
+ "/_redevplugin/api/plugins/runtime/recover/retry": {
647
565
  parameters: {
648
566
  query?: never;
649
567
  header?: never;
@@ -652,8 +570,8 @@ export interface paths {
652
570
  };
653
571
  get?: never;
654
572
  put?: never;
655
- /** @description Replays runtime-derived state for enabled plugins after the embedding host process restarts or reattaches adapters. The response data is `{ "results": [...] }`. */
656
- 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"];
657
575
  delete?: never;
658
576
  options?: never;
659
577
  head?: never;
@@ -1052,21 +970,6 @@ export interface components {
1052
970
  ok: true;
1053
971
  data: components["schemas"]["SurfaceAssetResult"];
1054
972
  };
1055
- SurfaceStreamSuccessResponse: {
1056
- /** @constant */
1057
- ok: true;
1058
- data: components["schemas"]["SurfaceStreamResult"];
1059
- };
1060
- SurfaceStreamAcknowledgementSuccessResponse: {
1061
- /** @constant */
1062
- ok: true;
1063
- data: components["schemas"]["SurfaceStreamAcknowledgementResult"];
1064
- };
1065
- PluginOperationSnapshotSuccessResponse: {
1066
- /** @constant */
1067
- ok: true;
1068
- data: components["schemas"]["PluginOperationSnapshot"];
1069
- };
1070
973
  SurfaceDisposeSuccessResponse: {
1071
974
  /** @constant */
1072
975
  ok: true;
@@ -1082,25 +985,15 @@ export interface components {
1082
985
  ok: true;
1083
986
  data: components["schemas"]["PluginRecord"];
1084
987
  };
1085
- ReleaseInstallOperationSuccessResponse: {
1086
- /** @constant */
1087
- ok: true;
1088
- data: components["schemas"]["ReleaseInstallOperation"];
1089
- };
1090
- ReleaseInstallOperationListSuccessResponse: {
1091
- /** @constant */
1092
- ok: true;
1093
- data: components["schemas"]["ReleaseInstallOperationList"];
1094
- };
1095
988
  ExternalPackageInspectionSuccessResponse: {
1096
989
  /** @constant */
1097
990
  ok: true;
1098
991
  data: components["schemas"]["ExternalPackageInspection"];
1099
992
  };
1100
- ExternalPackageCommitSuccessResponse: {
993
+ InstalledExternalPackageSuccessResponse: {
1101
994
  /** @constant */
1102
995
  ok: true;
1103
- data: components["schemas"]["ExternalPackageCommitResult"];
996
+ data: components["schemas"]["InstalledExternalPackage"];
1104
997
  };
1105
998
  PluginCatalogSuccessResponse: {
1106
999
  /** @constant */
@@ -1147,15 +1040,20 @@ export interface components {
1147
1040
  ok: true;
1148
1041
  data: components["schemas"]["RetainedDataCleanupResult"];
1149
1042
  };
1150
- OperationRecordSuccessResponse: {
1043
+ ExecutionSuccessResponse: {
1044
+ /** @constant */
1045
+ ok: true;
1046
+ data: components["schemas"]["Execution"];
1047
+ };
1048
+ ExecutionListSuccessResponse: {
1151
1049
  /** @constant */
1152
1050
  ok: true;
1153
- data: components["schemas"]["OperationRecord"];
1051
+ data: components["schemas"]["ExecutionList"];
1154
1052
  };
1155
- OperationListSuccessResponse: {
1053
+ ExecutionEventListSuccessResponse: {
1156
1054
  /** @constant */
1157
1055
  ok: true;
1158
- data: components["schemas"]["PluginOperationList"];
1056
+ data: components["schemas"]["ExecutionEventList"];
1159
1057
  };
1160
1058
  RuntimeHealthSuccessResponse: {
1161
1059
  /** @constant */
@@ -1167,10 +1065,15 @@ export interface components {
1167
1065
  ok: true;
1168
1066
  data: components["schemas"]["PluginRuntimeStopResult"];
1169
1067
  };
1170
- RuntimeRefreshSuccessResponse: {
1068
+ RecoverySnapshotSuccessResponse: {
1171
1069
  /** @constant */
1172
1070
  ok: true;
1173
- data: components["schemas"]["PluginRuntimeRefreshResult"];
1071
+ data: components["schemas"]["RecoverySnapshot"];
1072
+ };
1073
+ PluginRecoverySuccessResponse: {
1074
+ /** @constant */
1075
+ ok: true;
1076
+ data: components["schemas"]["PluginRecoveryResult"];
1174
1077
  };
1175
1078
  DataExportSuccessResponse: {
1176
1079
  /** @constant */
@@ -1242,19 +1145,13 @@ export interface components {
1242
1145
  ok: true;
1243
1146
  data: components["schemas"]["PluginSettingsSnapshot"];
1244
1147
  };
1245
- 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"];
1246
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"];
1247
1150
  GenericPlatformError: {
1248
1151
  code: components["schemas"]["GenericPlatformErrorCode"];
1249
1152
  message: components["schemas"]["PlatformErrorMessage"];
1250
1153
  details: components["schemas"]["EmptyErrorDetails"];
1251
1154
  };
1252
- OperationRateLimitPlatformError: {
1253
- /** @constant */
1254
- code: "PLUGIN_OPERATION_RATE_LIMITED";
1255
- message: components["schemas"]["PlatformErrorMessage"];
1256
- details: components["schemas"]["OperationRateLimitErrorDetails"];
1257
- };
1258
1155
  JSONLimitPlatformError: {
1259
1156
  /** @constant */
1260
1157
  code: "PLUGIN_JSON_LIMIT_EXCEEDED";
@@ -1376,9 +1273,6 @@ export interface components {
1376
1273
  /** @enum {string} */
1377
1274
  MutationOutcome: "committed" | "not_committed" | "unknown";
1378
1275
  EmptyErrorDetails: Record<string, never>;
1379
- OperationRateLimitErrorDetails: {
1380
- retry_after_ms: number;
1381
- };
1382
1276
  JSONLimitErrorDetails: {
1383
1277
  /** @enum {string} */
1384
1278
  reason: "payload_bytes" | "json_depth" | "prototype_key" | "number_precision";
@@ -1436,7 +1330,7 @@ export interface components {
1436
1330
  ErrorCode: components["schemas"]["ErrorCodesV8PlatformErrorCode"];
1437
1331
  PlatformErrorMessage: string;
1438
1332
  /** @enum {string} */
1439
- 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";
1440
1334
  SurfaceDisposeResult: {
1441
1335
  /** @constant */
1442
1336
  disposed: true;
@@ -1453,10 +1347,15 @@ export interface components {
1453
1347
  PluginCatalogResult: {
1454
1348
  plugins: components["schemas"]["PluginRecord"][];
1455
1349
  };
1456
- PluginCompatibilityManifest: components["schemas"]["CompatibilityManifestV17"];
1457
- PluginOperationList: {
1458
- operations: components["schemas"]["OperationRecord"][];
1459
- next_cursor?: string;
1350
+ PluginCompatibilityManifest: components["schemas"]["CompatibilityManifestV18"];
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;
1460
1359
  };
1461
1360
  PluginIntentRecord: {
1462
1361
  plugin_id: string;
@@ -1548,14 +1447,12 @@ export interface components {
1548
1447
  /** @enum {string} */
1549
1448
  DiagnosticMutationOutcome: "committed" | "not_committed" | "unknown";
1550
1449
  PluginDiagnosticDetails: {
1551
- operations_deleted?: number;
1552
- streams_deleted?: number;
1450
+ executions_deleted?: number;
1451
+ execution_id?: string;
1553
1452
  invocation_id?: string;
1554
1453
  method?: string;
1555
1454
  failure_code?: string;
1556
1455
  runtime_process_failure_code?: components["schemas"]["ErrorCodesV8RuntimeProcessFailureCode"];
1557
- operation_id?: string;
1558
- stream_id?: string;
1559
1456
  runtime_instance_id?: string;
1560
1457
  runtime_generation_id?: string;
1561
1458
  runtime_version?: string;
@@ -1681,29 +1578,22 @@ export interface components {
1681
1578
  /** @constant */
1682
1579
  stopped: true;
1683
1580
  };
1684
- PluginRuntimeRefreshResult: {
1685
- results: components["schemas"]["PluginRuntimeRefreshEntry"][];
1686
- };
1687
- PluginRuntimeRefreshEntry: components["schemas"]["PluginRuntimeRefreshSuccess"] | components["schemas"]["PluginRuntimeRefreshFailure"];
1688
- PluginRuntimeRefreshSuccess: {
1689
- plugin_instance_id: string;
1690
- /** @constant */
1691
- status: "refreshed";
1581
+ RecoverySnapshot: {
1582
+ revision: number;
1583
+ complete: boolean;
1584
+ results: components["schemas"]["PluginRecoveryResult"][];
1692
1585
  };
1693
- PluginRuntimeRefreshFailure: {
1586
+ PluginRecoveryResult: {
1694
1587
  plugin_instance_id: string;
1695
- /** @constant */
1696
- status: "failed";
1697
- error: components["schemas"]["PluginRuntimeRefreshPublicError"];
1698
- };
1699
- PluginRuntimeRefreshPublicError: {
1700
1588
  /** @enum {string} */
1701
- code: "PLUGIN_RUNTIME_UNAVAILABLE";
1702
- message: string;
1589
+ status: "ready" | "failed";
1703
1590
  /** @enum {string} */
1704
- 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";
1705
1592
  /** @enum {string} */
1706
- action: "retry" | "reinstall" | "contact_admin";
1593
+ action?: "retry" | "reinstall" | "contact_admin";
1594
+ };
1595
+ RetryPluginRecoveryRequest: {
1596
+ plugin_instance_id: string;
1707
1597
  };
1708
1598
  PluginDataExportResult: {
1709
1599
  bundle_ref: string;
@@ -1809,14 +1699,10 @@ export interface components {
1809
1699
  intent: components["schemas"]["ExternalPackageIntentRequest"];
1810
1700
  source: components["schemas"]["ExternalPackageSource"];
1811
1701
  };
1812
- /** @description Confirms the exact immutable inspection. The digest cannot override any inspected fact. */
1813
- CommitExternalPackageRequest: {
1814
- inspection_id: string;
1815
- confirmation_digest: string;
1816
- };
1817
- QueryExternalPackageCommitRequest: {
1702
+ /** @description Confirms an unexpired process-local inspection by its exact package digest. The digest cannot override any inspected fact. */
1703
+ InstallInspectedPackageRequest: {
1818
1704
  inspection_id: string;
1819
- commit_id?: string;
1705
+ expected_package_sha256: string;
1820
1706
  };
1821
1707
  /** @description Cryptographic signature fact computed over the inspected artifact. The absent state is installable and affects trust classification and automatic-update eligibility only. */
1822
1708
  ExternalPackageSignatureAssessment: {
@@ -2074,43 +1960,14 @@ export interface components {
2074
1960
  execution_approval: components["schemas"]["ExternalPackageExecutionApproval"];
2075
1961
  update_eligibility: components["schemas"]["ExternalPackageUpdateEligibility"];
2076
1962
  security_summary: components["schemas"]["ExternalPackageSecuritySummary"];
2077
- confirmation_digest: string;
2078
- };
2079
- /** @description Immutable successful commit evidence. */
2080
- ExternalPackageCommitReceipt: {
2081
- commit_id: string;
2082
- inspection_id: string;
2083
- package_sha256: string;
2084
- management_revision: number;
2085
- /** Format: date-time */
2086
- committed_at: string;
2087
1963
  };
2088
- /** @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. */
2089
- ExternalPackageCommitResult: {
2090
- /** @constant */
2091
- status: "committed";
2092
- inspection_id: string;
2093
- intent: components["schemas"]["ExternalPackageIntent"];
2094
- receipt: components["schemas"]["ExternalPackageCommitReceipt"];
1964
+ InstalledExternalPackage: {
2095
1965
  plugin: components["schemas"]["PluginRecord"];
2096
1966
  signature_assessment: components["schemas"]["ExternalPackageSignatureAssessment"];
2097
1967
  source_provenance: components["schemas"]["ExternalPackageSourceProvenance"];
2098
1968
  execution_approval: components["schemas"]["ExternalPackageExecutionApproval"];
2099
1969
  update_eligibility: components["schemas"]["ExternalPackageUpdateEligibility"];
2100
1970
  security_summary: components["schemas"]["ExternalPackageSecuritySummary"];
2101
- } | {
2102
- /** @constant */
2103
- status: "in_progress";
2104
- inspection_id: string;
2105
- intent: components["schemas"]["ExternalPackageIntent"];
2106
- retry_after_ms: number;
2107
- } | {
2108
- /** @constant */
2109
- status: "failed";
2110
- inspection_id: string;
2111
- intent: components["schemas"]["ExternalPackageIntent"];
2112
- /** @constant */
2113
- failure_code: "host_restarted_before_commit";
2114
1971
  };
2115
1972
  /** @enum {string} */
2116
1973
  TrustState: "verified" | "unsigned_local" | "untrusted" | "needs_review" | "trust_unavailable" | "blocked_security";
@@ -2252,95 +2109,6 @@ export interface components {
2252
2109
  release_ref: components["schemas"]["PluginReleaseRef"];
2253
2110
  plugin_instance_id: string;
2254
2111
  };
2255
- StartReleaseInstallOperationRequest: {
2256
- request_id: string;
2257
- plugin_instance_id: string;
2258
- /** @description When omitted, verified official sources activate automatically; false keeps the installed plugin disabled. */
2259
- activate_after_install?: boolean;
2260
- approved_permission_ids?: string[];
2261
- release_ref: components["schemas"]["PluginReleaseRef"];
2262
- };
2263
- ReleaseInstallProgress: {
2264
- /** @constant */
2265
- kind: "indeterminate";
2266
- } | {
2267
- /** @enum {string} */
2268
- kind: "items" | "bytes";
2269
- completed: number;
2270
- total: number;
2271
- };
2272
- ReleaseInstallFailure: {
2273
- /** @enum {string} */
2274
- 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";
2275
- retryable: boolean;
2276
- };
2277
- ReleaseInstallActivation: {
2278
- /** @enum {string} */
2279
- status: "pending" | "enabled" | "needs_attention" | "not_requested";
2280
- missing_permission_ids?: string[];
2281
- /** @enum {string} */
2282
- next_action?: "approve_permissions" | "retry_activation";
2283
- } & ({
2284
- /** @enum {string} */
2285
- status: "pending" | "enabled" | "not_requested";
2286
- } | {
2287
- /** @constant */
2288
- status: "needs_attention";
2289
- });
2290
- ReleaseInstallPhaseDiagnostic: {
2291
- /** @enum {string} */
2292
- phase: "queued" | "fetch_trust_evidence" | "fetch_release_evidence" | "download_package" | "verify_hashes" | "verify_signatures_ledger" | "fetch_capability_evidence" | "commit" | "enable" | "complete" | "failed" | "reconciling";
2293
- artifact_role?: string;
2294
- attempt: number;
2295
- progress: components["schemas"]["ReleaseInstallProgress"];
2296
- cache_hit: boolean;
2297
- /** Format: date-time */
2298
- started_at: string;
2299
- /** Format: date-time */
2300
- completed_at?: string;
2301
- duration_ms?: number;
2302
- };
2303
- ReleaseInstallOperation: {
2304
- request_id: string;
2305
- operation_id: string;
2306
- plugin_instance_id: string;
2307
- request_sha256: string;
2308
- /** @enum {string} */
2309
- status: "queued" | "running" | "reconciling" | "succeeded" | "failed";
2310
- phase: string;
2311
- progress: components["schemas"]["ReleaseInstallProgress"];
2312
- attempt: number;
2313
- retry_after_ms: number;
2314
- mutation_outcome: components["schemas"]["MutationOutcome"];
2315
- failure?: components["schemas"]["ReleaseInstallFailure"];
2316
- plugin_record?: components["schemas"]["PluginRecord"];
2317
- activation: components["schemas"]["ReleaseInstallActivation"];
2318
- phase_diagnostics: components["schemas"]["ReleaseInstallPhaseDiagnostic"][];
2319
- /** Format: date-time */
2320
- created_at: string;
2321
- /** Format: date-time */
2322
- updated_at: string;
2323
- /** Format: date-time */
2324
- terminal_at?: string;
2325
- } & ({
2326
- /** @enum {string} */
2327
- status?: "queued" | "running" | "reconciling";
2328
- } | {
2329
- /** @constant */
2330
- status: "succeeded";
2331
- /** @constant */
2332
- mutation_outcome?: "committed";
2333
- activation?: components["schemas"]["ReleaseInstallActivation"] & {
2334
- /** @enum {string} */
2335
- status?: "enabled" | "needs_attention" | "not_requested";
2336
- };
2337
- } | {
2338
- /** @constant */
2339
- status: "failed";
2340
- });
2341
- ReleaseInstallOperationList: {
2342
- operations: components["schemas"]["ReleaseInstallOperation"][];
2343
- };
2344
2112
  UpdateReleaseRefRequest: {
2345
2113
  plugin_instance_id: string;
2346
2114
  release_ref: components["schemas"]["PluginReleaseRef"];
@@ -2379,11 +2147,18 @@ export interface components {
2379
2147
  intent_id?: string;
2380
2148
  plugin_instance_id?: string;
2381
2149
  };
2382
- ListOperationsQueryRequest: {
2150
+ ListExecutionsRequest: {
2383
2151
  plugin_instance_id?: string;
2384
- cursor?: string;
2152
+ cursor?: number;
2385
2153
  limit?: number;
2386
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
+ };
2387
2162
  ListRetainedDataQueryRequest: {
2388
2163
  plugin_instance_id?: string;
2389
2164
  };
@@ -2488,84 +2263,10 @@ export interface components {
2488
2263
  content_type: string;
2489
2264
  content_base64: string;
2490
2265
  };
2491
- ReadSurfaceStreamRequest: {
2492
- stream_id: string;
2493
- stream_ticket: string;
2494
- read_id: string;
2495
- };
2496
- AcknowledgeSurfaceStreamRequest: {
2497
- stream_id: string;
2498
- stream_ticket: string;
2499
- delivery_id: string;
2500
- };
2501
- SurfaceStreamResult: {
2502
- delivery_id?: string;
2503
- read_id: string;
2504
- events: components["schemas"]["StreamEvent"][];
2505
- done: boolean;
2506
- /** @enum {unknown} */
2507
- terminal_status?: "closed" | "canceled" | "failed" | "orphaned_after_disable" | "orphaned_after_uninstall";
2508
- } & (unknown & unknown & unknown);
2509
- SurfaceStreamAcknowledgementResult: {
2510
- /** @constant */
2511
- acknowledged: true;
2512
- };
2513
- CancelSurfaceOperationRequest: {
2514
- operation_id: string;
2515
- bridge_channel_id: string;
2516
- reason?: string;
2517
- };
2518
- GetSurfaceOperationRequest: {
2519
- operation_id: string;
2520
- bridge_channel_id: string;
2521
- };
2522
- PluginOperationSnapshot: {
2523
- operation_id: string;
2524
- /** @enum {string} */
2525
- status: "running" | "cancel_requested";
2526
- cancelable: boolean;
2527
- /** Format: date-time */
2528
- created_at: string;
2529
- /** Format: date-time */
2530
- updated_at: string;
2531
- retry_after_ms: number;
2532
- progress?: components["schemas"]["OperationProgress"];
2533
- } | {
2534
- operation_id: string;
2535
- /** @enum {string} */
2536
- status: "completed" | "canceled" | "orphaned_after_disable" | "orphaned_after_uninstall";
2537
- cancelable: boolean;
2538
- /** Format: date-time */
2539
- created_at: string;
2540
- /** Format: date-time */
2541
- updated_at: string;
2542
- retry_after_ms: number;
2543
- /** Format: date-time */
2544
- terminal_at: string;
2545
- progress?: components["schemas"]["OperationProgress"];
2546
- } | {
2547
- operation_id: string;
2548
- /** @constant */
2549
- status: "failed";
2550
- cancelable: boolean;
2551
- /** Format: date-time */
2552
- created_at: string;
2553
- /** Format: date-time */
2554
- updated_at: string;
2555
- retry_after_ms: number;
2556
- /** Format: date-time */
2557
- terminal_at: string;
2558
- /** @enum {string} */
2559
- failure_code: "adapter_failed" | "contract_invalid" | "platform_failed" | "quota_exceeded" | "runtime_failed";
2560
- progress?: components["schemas"]["OperationProgress"];
2266
+ ListExecutionEventsRequest: {
2267
+ after_cursor: number;
2268
+ limit?: number;
2561
2269
  };
2562
- OperationProgress: {
2563
- revision: number;
2564
- phase: string;
2565
- completed_units?: number;
2566
- total_units?: number;
2567
- unit?: string;
2568
- } & (unknown & unknown);
2569
2270
  RejectSurfaceConfirmationRequest: {
2570
2271
  plugin_instance_id: string;
2571
2272
  bridge_channel_id: string;
@@ -2576,15 +2277,6 @@ export interface components {
2576
2277
  /** @constant */
2577
2278
  rejected: true;
2578
2279
  };
2579
- StreamEvent: {
2580
- stream_id: string;
2581
- sequence: number;
2582
- kind: string;
2583
- data?: string;
2584
- error?: string;
2585
- /** Format: date-time */
2586
- at: string;
2587
- };
2588
2280
  DisposeSurfaceRequest: {
2589
2281
  bridge_nonce: string;
2590
2282
  };
@@ -2613,15 +2305,7 @@ export interface components {
2613
2305
  data?: unknown;
2614
2306
  } | {
2615
2307
  data?: unknown;
2616
- operation_id: string;
2617
- } | {
2618
- data?: unknown;
2619
- operation_id: string;
2620
- stream_id: string;
2621
- stream_ticket: string;
2622
- stream_ticket_id: string;
2623
- /** Format: date-time */
2624
- stream_expires_at: string;
2308
+ execution_id: string;
2625
2309
  } | {
2626
2310
  /** @constant */
2627
2311
  confirmation_required: true;
@@ -2686,87 +2370,20 @@ export interface components {
2686
2370
  [key: string]: unknown;
2687
2371
  };
2688
2372
  };
2689
- CancelOperationRequest: {
2373
+ CancelExecutionRequest: {
2690
2374
  reason?: string;
2691
2375
  };
2692
2376
  CapabilityContractPin: components["schemas"]["HostCapabilityPinV1"];
2693
- /** @description Public immutable execution evidence embedded into operation responses. Session and bridge channel ownership fields are excluded. */
2694
- PublicOperationBinding: {
2695
- invocation_id: string;
2696
- audit_correlation_id: string;
2697
- operation_id?: string;
2698
- stream_id?: string;
2699
- publisher_id: string;
2700
- plugin_id: string;
2377
+ Execution: {
2378
+ execution_id: string;
2701
2379
  plugin_instance_id: string;
2702
- plugin_version: components["schemas"]["StrictSemVer"];
2703
- active_fingerprint: string;
2704
- surface_instance_id?: string;
2705
- /** @enum {string} */
2706
- route_kind: "capability" | "worker" | "core_action";
2707
- capability_id: string;
2708
- capability_version: components["schemas"]["StrictSemVer"];
2709
- binding_id: string;
2710
- contract?: components["schemas"]["CapabilityContractPin"];
2711
- method: string;
2712
- target_method: string;
2713
2380
  /** @enum {string} */
2714
- effect: "read" | "write" | "execute" | "delete" | "admin";
2715
- /** @enum {string} */
2716
- execution: "sync" | "operation" | "subscription";
2717
- permissions: {
2718
- required: string[];
2719
- granted: string[];
2720
- };
2721
- confirmation: {
2722
- required: boolean;
2723
- confirmed: boolean;
2724
- confirmation_id?: string;
2725
- request_sha256?: string;
2726
- plan_sha256?: string;
2727
- target_sha256?: string;
2728
- };
2729
- revision: {
2730
- policy_revision: number;
2731
- management_revision: number;
2732
- revoke_epoch: number;
2733
- };
2734
- quota: {
2735
- max_concurrent?: number;
2736
- max_duration_ms?: number;
2737
- max_stream_bytes?: number;
2738
- /** Format: date-time */
2739
- expires_at?: string;
2740
- };
2741
- target: {
2742
- kind: string;
2743
- fields: {
2744
- [key: string]: unknown;
2745
- };
2746
- };
2747
- target_descriptor_sha256: string;
2748
- stream_event_type_name?: string;
2749
- stream_event_schema_sha256?: string;
2750
- } & ({
2751
- /** @constant */
2752
- route_kind: "capability";
2753
- } | {
2754
- /** @constant */
2755
- route_kind: "worker";
2756
- } | {
2757
- /** @constant */
2758
- route_kind: "core_action";
2759
- });
2760
- OperationRecord: components["schemas"]["PublicOperationBinding"] & ({
2761
- operation_id: string;
2381
+ kind: "sync" | "operation" | "subscription";
2762
2382
  /** @enum {string} */
2763
- execution?: "operation" | "subscription";
2383
+ status: "running" | "cancel_requested" | "completed" | "canceled" | "failed" | "orphaned";
2384
+ cursor: number;
2385
+ failure_code?: string;
2764
2386
  cancelable: boolean;
2765
- cancel_ack_timeout_ms?: number;
2766
- /** @enum {string} */
2767
- disable_behavior?: "cancel" | "orphan" | "wait";
2768
- /** @enum {string} */
2769
- uninstall_behavior?: "cancel_then_block_delete" | "force_cleanup_allowed";
2770
2387
  /** Format: date-time */
2771
2388
  created_at: string;
2772
2389
  /** Format: date-time */
@@ -2774,23 +2391,22 @@ export interface components {
2774
2391
  /** Format: date-time */
2775
2392
  cancel_requested_at?: string;
2776
2393
  /** Format: date-time */
2777
- orphaned_at?: string;
2778
- /** Format: date-time */
2779
2394
  terminal_at?: string;
2780
- progress?: components["schemas"]["OperationProgress"];
2781
- } & ({
2782
- /** @constant */
2783
- status: "failed";
2784
- failure_code: components["schemas"]["ExecutionFailureCode"];
2785
- /** @constant */
2786
- reason: "execution failed";
2787
- } | {
2788
- /** @enum {unknown} */
2789
- status: "running" | "cancel_requested" | "canceled" | "completed" | "orphaned_after_disable" | "orphaned_after_uninstall";
2790
- reason?: string;
2791
- }));
2792
- /** @enum {string} */
2793
- 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
+ };
2794
2410
  StartRuntimeRequest: {
2795
2411
  target: components["schemas"]["RuntimeTarget"];
2796
2412
  };
@@ -2882,11 +2498,11 @@ export interface components {
2882
2498
  };
2883
2499
  ErrorCodesV8: Record<string, never>;
2884
2500
  /** @enum {string} */
2885
- 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";
2886
2502
  /** @enum {string} */
2887
- 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";
2888
2504
  /** @enum {string} */
2889
- 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";
2890
2506
  /** @enum {string} */
2891
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";
2892
2508
  /** @enum {string} */
@@ -2946,19 +2562,16 @@ export interface components {
2946
2562
  session_channel_id_hash: components["schemas"]["SessionScopeV1OwnerHash"];
2947
2563
  };
2948
2564
  /** @enum {string} */
2949
- SessionScopeV1TeardownPhase: "bridge" | "confirmation" | "execution" | "operation" | "stream" | "runtime";
2565
+ SessionScopeV1TeardownPhase: "bridge" | "confirmation" | "execution" | "runtime";
2950
2566
  SessionScopeV1RevokeCounts: {
2951
2567
  surfaces: components["schemas"]["SessionScopeV1Count"];
2952
2568
  asset_tickets: components["schemas"]["SessionScopeV1Count"];
2953
2569
  asset_sessions: components["schemas"]["SessionScopeV1Count"];
2954
2570
  plugin_gateway_tokens: components["schemas"]["SessionScopeV1Count"];
2955
2571
  confirmation_tokens: components["schemas"]["SessionScopeV1Count"];
2956
- stream_tickets: components["schemas"]["SessionScopeV1Count"];
2957
2572
  handle_grants: components["schemas"]["SessionScopeV1Count"];
2958
2573
  confirmations: components["schemas"]["SessionScopeV1Count"];
2959
- operations: components["schemas"]["SessionScopeV1Count"];
2960
- streams: components["schemas"]["SessionScopeV1Count"];
2961
- runtime_executions: components["schemas"]["SessionScopeV1Count"];
2574
+ executions: components["schemas"]["SessionScopeV1Count"];
2962
2575
  active_network_requests: components["schemas"]["SessionScopeV1Count"];
2963
2576
  sockets: components["schemas"]["SessionScopeV1Count"];
2964
2577
  network_streams: components["schemas"]["SessionScopeV1Count"];
@@ -2984,10 +2597,10 @@ export interface components {
2984
2597
  counts: components["schemas"]["SessionScopeV1RevokeCounts"];
2985
2598
  };
2986
2599
  SessionScopeV1PublicRevokeResult: components["schemas"]["SessionScopeV1CompleteRevokeResult"] | components["schemas"]["SessionScopeV1IncompleteRevokeResult"];
2987
- CompatibilityManifestV17: {
2600
+ CompatibilityManifestV18: {
2988
2601
  /** @constant */
2989
- schema_version: "redevplugin.compatibility.v17";
2990
- package_set: components["schemas"]["PlatformPackageSetV1"];
2602
+ schema_version: "redevplugin.compatibility.v18";
2603
+ package_set: components["schemas"]["PlatformPackageSetV3"];
2991
2604
  matrix: {
2992
2605
  /** @constant */
2993
2606
  plugin_ui_protocol_version: "plugin-ui-v7";
@@ -3026,22 +2639,6 @@ export interface components {
3026
2639
  /** @constant */
3027
2640
  release_revocation_pointer_schema_version: "release-revocation-pointer-v2";
3028
2641
  /** @constant */
3029
- release_trust_state_schema_version: "release-trust-state-v1";
3030
- /** @constant */
3031
- trusted_time_evidence_schema_version: "trusted-time-evidence-v1";
3032
- /** @constant */
3033
- trusted_time_leaf_schema_version: "trusted-time-leaf-v1";
3034
- /** @constant */
3035
- release_signing_ledger_schema_version: "release-signing-ledger-v1";
3036
- /** @constant */
3037
- release_signing_subject_schema_version: "release-signing-subject-v1";
3038
- /** @constant */
3039
- release_signature_envelope_schema_version: "release-signature-envelope-v1";
3040
- /** @constant */
3041
- release_signing_ledger_receipt_schema_version: "release-signing-ledger-receipt-v1";
3042
- /** @constant */
3043
- release_signing_ledger_evidence_schema_version: "release-signing-ledger-evidence-v1";
3044
- /** @constant */
3045
2642
  token_ticket_schema_version: "token-ticket-v4";
3046
2643
  /** @constant */
3047
2644
  bridge_schema_version: "bridge-v7";
@@ -3058,11 +2655,9 @@ export interface components {
3058
2655
  /** @constant */
3059
2656
  session_scope_schema_version: "session-scope-v1";
3060
2657
  /** @constant */
3061
- session_scope_maintenance_schema_version: "session-scope-maintenance-v1";
3062
- /** @constant */
3063
2658
  plugin_platform_openapi_version: "plugin-platform-v15";
3064
2659
  /** @constant */
3065
- compatibility_schema_version: "compatibility-manifest-v17";
2660
+ compatibility_schema_version: "compatibility-manifest-v18";
3066
2661
  /** @constant */
3067
2662
  worker_invocation_schema_version: "worker-invocation-v3";
3068
2663
  /** @constant */
@@ -3070,14 +2665,6 @@ export interface components {
3070
2665
  /** @constant */
3071
2666
  host_capability_pin_schema_version: "host-capability-pin-v1";
3072
2667
  /** @constant */
3073
- host_capability_manifest_schema_version: "host-capability-manifest-v1";
3074
- /** @constant */
3075
- host_capability_compatibility_schema_version: "host-capability-compatibility-v1";
3076
- /** @constant */
3077
- host_capability_signature_schema_version: "host-capability-signature-v1";
3078
- /** @constant */
3079
- host_capability_notices_schema_version: "host-capability-notices-v1";
3080
- /** @constant */
3081
2668
  error_codes_schema_version: "error-codes-v8";
3082
2669
  /** @constant */
3083
2670
  performance_contract_version: "performance-contract-v4";
@@ -3086,9 +2673,9 @@ export interface components {
3086
2673
  /** @constant */
3087
2674
  contract_registry_version: "contract-registry-v2";
3088
2675
  /** @constant */
3089
- platform_package_set_schema_version: "platform-package-set-v1";
2676
+ platform_package_set_schema_version: "platform-package-set-v3";
3090
2677
  /** @constant */
3091
- platform_package_publication_schema_version: "platform-package-publication-v1";
2678
+ platform_package_publication_schema_version: "platform-package-publication-v2";
3092
2679
  /** @constant */
3093
2680
  runtime_admission_schema_version: "runtime-admission-v1";
3094
2681
  /** @constant */
@@ -3109,91 +2696,63 @@ export interface components {
3109
2696
  quarantine_cleanup_schema_version: "quarantine-cleanup-v1";
3110
2697
  };
3111
2698
  contract_set_sha256: string;
3112
- contracts: components["schemas"]["CompatibilityManifestV17Contract"][];
2699
+ contracts: components["schemas"]["CompatibilityManifestV18Contract"][];
3113
2700
  };
3114
- CompatibilityManifestV17Contract: {
2701
+ CompatibilityManifestV18Contract: {
3115
2702
  id: string;
3116
2703
  path: string;
3117
2704
  version: string;
3118
2705
  sha256: string;
3119
2706
  };
3120
- PlatformPackageSetV1: {
2707
+ PlatformPackageSetV3: {
3121
2708
  /** @constant */
3122
- schema_version: "redevplugin.platform_package_set.v1";
3123
- platform_version: components["schemas"]["PlatformPackageSetV1Version"];
3124
- go_module: components["schemas"]["PlatformPackageSetV1GoModule"];
2709
+ schema_version: "redevplugin.platform_package_set.v3";
2710
+ platform_version: components["schemas"]["PlatformPackageSetV3Version"];
2711
+ go_module: components["schemas"]["PlatformPackageSetV3GoModule"];
3125
2712
  npm_packages: [
3126
- components["schemas"]["PlatformPackageSetV1NpmContracts"],
3127
- components["schemas"]["PlatformPackageSetV1NpmUi"]
2713
+ components["schemas"]["PlatformPackageSetV3NpmContracts"],
2714
+ components["schemas"]["PlatformPackageSetV3NpmUi"]
3128
2715
  ];
3129
2716
  rust_crates: [
3130
- components["schemas"]["PlatformPackageSetV1RustContracts"],
3131
- components["schemas"]["PlatformPackageSetV1RustIpc"],
3132
- components["schemas"]["PlatformPackageSetV1RustWasmAbi"],
3133
- components["schemas"]["PlatformPackageSetV1RustTargetClassifier"],
3134
- components["schemas"]["PlatformPackageSetV1RustWorkerSdk"],
3135
- components["schemas"]["PlatformPackageSetV1RustRuntime"]
2717
+ components["schemas"]["PlatformPackageSetV3RustRuntime"],
2718
+ components["schemas"]["PlatformPackageSetV3RustWorkerSdk"]
3136
2719
  ];
3137
2720
  /** @constant */
3138
2721
  contract_registry_version: "contract-registry-v2";
3139
- contract_set_sha256: components["schemas"]["PlatformPackageSetV1Sha256"];
2722
+ contract_set_sha256: components["schemas"]["PlatformPackageSetV3Sha256"];
3140
2723
  };
3141
- PlatformPackageSetV1Version: string;
3142
- PlatformPackageSetV1Sha256: string;
3143
- PlatformPackageSetV1GoModule: {
2724
+ PlatformPackageSetV3Version: string;
2725
+ PlatformPackageSetV3Sha256: string;
2726
+ PlatformPackageSetV3GoModule: {
3144
2727
  /** @constant */
3145
2728
  module: "github.com/floegence/redevplugin";
3146
2729
  version: string;
3147
2730
  };
3148
- PlatformPackageSetV1NpmPackage: {
2731
+ PlatformPackageSetV3NpmPackage: {
3149
2732
  name: string;
3150
- version: components["schemas"]["PlatformPackageSetV1Version"];
2733
+ version: components["schemas"]["PlatformPackageSetV3Version"];
3151
2734
  };
3152
- PlatformPackageSetV1NpmContracts: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2735
+ PlatformPackageSetV3NpmContracts: components["schemas"]["PlatformPackageSetV3NpmPackage"] & {
3153
2736
  /** @constant */
3154
2737
  name?: "@floegence/redevplugin-contracts";
3155
2738
  };
3156
- PlatformPackageSetV1NpmUi: components["schemas"]["PlatformPackageSetV1NpmPackage"] & {
2739
+ PlatformPackageSetV3NpmUi: components["schemas"]["PlatformPackageSetV3NpmPackage"] & {
3157
2740
  /** @constant */
3158
2741
  name?: "@floegence/redevplugin-ui";
3159
2742
  };
3160
- PlatformPackageSetV1RustCrate: {
2743
+ PlatformPackageSetV3RustCrate: {
3161
2744
  name: string;
3162
- version: components["schemas"]["PlatformPackageSetV1Version"];
2745
+ version: components["schemas"]["PlatformPackageSetV3Version"];
3163
2746
  /** @enum {unknown} */
3164
- role: "contracts" | "ipc" | "wasm_abi" | "target_classifier" | "worker_sdk" | "runtime";
3165
- };
3166
- PlatformPackageSetV1RustContracts: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
3167
- /** @constant */
3168
- name?: "redevplugin-contracts";
3169
- /** @constant */
3170
- role?: "contracts";
3171
- };
3172
- PlatformPackageSetV1RustIpc: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
3173
- /** @constant */
3174
- name?: "redevplugin-ipc";
3175
- /** @constant */
3176
- role?: "ipc";
3177
- };
3178
- PlatformPackageSetV1RustWasmAbi: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
3179
- /** @constant */
3180
- name?: "redevplugin-wasm-abi";
3181
- /** @constant */
3182
- role?: "wasm_abi";
3183
- };
3184
- PlatformPackageSetV1RustTargetClassifier: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
3185
- /** @constant */
3186
- name?: "redevplugin-target-classifier";
3187
- /** @constant */
3188
- role?: "target_classifier";
2747
+ role: "runtime" | "worker_sdk";
3189
2748
  };
3190
- PlatformPackageSetV1RustWorkerSdk: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2749
+ PlatformPackageSetV3RustWorkerSdk: components["schemas"]["PlatformPackageSetV3RustCrate"] & {
3191
2750
  /** @constant */
3192
2751
  name?: "redevplugin-worker-sdk";
3193
2752
  /** @constant */
3194
2753
  role?: "worker_sdk";
3195
2754
  };
3196
- PlatformPackageSetV1RustRuntime: components["schemas"]["PlatformPackageSetV1RustCrate"] & {
2755
+ PlatformPackageSetV3RustRuntime: components["schemas"]["PlatformPackageSetV3RustCrate"] & {
3197
2756
  /** @constant */
3198
2757
  name?: "redevplugin-runtime";
3199
2758
  /** @constant */
@@ -3430,27 +2989,11 @@ export interface components {
3430
2989
  publisher_id: components["schemas"]["HostCapabilityPinV1Id"];
3431
2990
  contract_id: components["schemas"]["HostCapabilityPinV1Id"];
3432
2991
  contract_version: components["schemas"]["HostCapabilityPinV1Semver"];
3433
- artifact_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3434
2992
  artifact_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3435
- manifest_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3436
- manifest_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3437
- signature_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3438
- signature_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3439
- signature_key_id: components["schemas"]["HostCapabilityPinV1Id"];
3440
- signature_policy_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
3441
- signature_revocation_epoch: components["schemas"]["HostCapabilityPinV1DecimalEpoch"];
3442
- compatibility_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3443
- compatibility_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3444
- generated_client_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3445
- generated_client_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3446
- notices_ref: components["schemas"]["HostCapabilityPinV1ArtifactRef"];
3447
- notices_sha256: components["schemas"]["HostCapabilityPinV1Sha256"];
3448
2993
  };
3449
2994
  HostCapabilityPinV1Id: string;
3450
2995
  HostCapabilityPinV1Semver: string;
3451
- HostCapabilityPinV1ArtifactRef: string;
3452
2996
  HostCapabilityPinV1Sha256: string;
3453
- HostCapabilityPinV1DecimalEpoch: string;
3454
2997
  OpaqueSurfaceDocumentV3: {
3455
2998
  /** @constant */
3456
2999
  schema_version: "redevplugin.opaque_surface_document.v3";
@@ -3507,7 +3050,7 @@ export interface components {
3507
3050
  "application/json": components["schemas"]["MutationPlatformErrorResponse"];
3508
3051
  };
3509
3052
  };
3510
- /** @description Typed plugin method result. Subscriptions always bind one operation and one stream. */
3053
+ /** @description Typed plugin method result. Every asynchronous invocation returns one execution identity. */
3511
3054
  RPCResponse: {
3512
3055
  headers: {
3513
3056
  [name: string]: unknown;
@@ -3552,33 +3095,6 @@ export interface components {
3552
3095
  "application/json": components["schemas"]["SurfaceAssetSuccessResponse"];
3553
3096
  };
3554
3097
  };
3555
- /** @description Trusted-parent stream redemption response. Stream tickets remain outside the plugin worker. */
3556
- SurfaceStreamResponse: {
3557
- headers: {
3558
- [name: string]: unknown;
3559
- };
3560
- content: {
3561
- "application/json": components["schemas"]["SurfaceStreamSuccessResponse"];
3562
- };
3563
- };
3564
- /** @description Confirms one exact stream delivery so the platform may release its events. */
3565
- SurfaceStreamAcknowledgementResponse: {
3566
- headers: {
3567
- [name: string]: unknown;
3568
- };
3569
- content: {
3570
- "application/json": components["schemas"]["SurfaceStreamAcknowledgementSuccessResponse"];
3571
- };
3572
- };
3573
- /** @description Closed sandbox-safe operation status projection. */
3574
- PluginOperationSnapshotResponse: {
3575
- headers: {
3576
- [name: string]: unknown;
3577
- };
3578
- content: {
3579
- "application/json": components["schemas"]["PluginOperationSnapshotSuccessResponse"];
3580
- };
3581
- };
3582
3098
  /** @description Surface revocation response. */
3583
3099
  SurfaceDisposeResponse: {
3584
3100
  headers: {
@@ -3606,24 +3122,6 @@ export interface components {
3606
3122
  "application/json": components["schemas"]["PluginRecordSuccessResponse"];
3607
3123
  };
3608
3124
  };
3609
- /** @description Durable release installation status and authoritative terminal result. */
3610
- ReleaseInstallOperationResponse: {
3611
- headers: {
3612
- [name: string]: unknown;
3613
- };
3614
- content: {
3615
- "application/json": components["schemas"]["ReleaseInstallOperationSuccessResponse"];
3616
- };
3617
- };
3618
- /** @description Owner-scoped durable release installation operations. */
3619
- ReleaseInstallOperationListResponse: {
3620
- headers: {
3621
- [name: string]: unknown;
3622
- };
3623
- content: {
3624
- "application/json": components["schemas"]["ReleaseInstallOperationListSuccessResponse"];
3625
- };
3626
- };
3627
3125
  /** @description Immutable server-computed package inspection and confirmation boundary. */
3628
3126
  ExternalPackageInspectionResponse: {
3629
3127
  headers: {
@@ -3633,13 +3131,13 @@ export interface components {
3633
3131
  "application/json": components["schemas"]["ExternalPackageInspectionSuccessResponse"];
3634
3132
  };
3635
3133
  };
3636
- /** @description External package commit reconciliation result with explicit trust, approval, provenance, and update facts. */
3637
- ExternalPackageCommitResponse: {
3134
+ /** @description Installed external package with explicit trust, approval, provenance, and update facts. */
3135
+ InstalledExternalPackageResponse: {
3638
3136
  headers: {
3639
3137
  [name: string]: unknown;
3640
3138
  };
3641
3139
  content: {
3642
- "application/json": components["schemas"]["ExternalPackageCommitSuccessResponse"];
3140
+ "application/json": components["schemas"]["InstalledExternalPackageSuccessResponse"];
3643
3141
  };
3644
3142
  };
3645
3143
  /** @description Installed plugin catalog response with typed registry records. */
@@ -3723,22 +3221,31 @@ export interface components {
3723
3221
  "application/json": components["schemas"]["RetainedDataCleanupSuccessResponse"];
3724
3222
  };
3725
3223
  };
3726
- /** @description Host-owned operation record with its immutable execution binding. */
3727
- OperationRecordResponse: {
3224
+ /** @description Host-owned execution state. */
3225
+ ExecutionResponse: {
3226
+ headers: {
3227
+ [name: string]: unknown;
3228
+ };
3229
+ content: {
3230
+ "application/json": components["schemas"]["ExecutionSuccessResponse"];
3231
+ };
3232
+ };
3233
+ /** @description Host-owned execution records. */
3234
+ ExecutionListResponse: {
3728
3235
  headers: {
3729
3236
  [name: string]: unknown;
3730
3237
  };
3731
3238
  content: {
3732
- "application/json": components["schemas"]["OperationRecordSuccessResponse"];
3239
+ "application/json": components["schemas"]["ExecutionListSuccessResponse"];
3733
3240
  };
3734
3241
  };
3735
- /** @description Host-owned operation records with immutable execution bindings. */
3736
- OperationListResponse: {
3242
+ /** @description Ordered events from the requested execution cursor. */
3243
+ ExecutionEventListResponse: {
3737
3244
  headers: {
3738
3245
  [name: string]: unknown;
3739
3246
  };
3740
3247
  content: {
3741
- "application/json": components["schemas"]["OperationListSuccessResponse"];
3248
+ "application/json": components["schemas"]["ExecutionEventListSuccessResponse"];
3742
3249
  };
3743
3250
  };
3744
3251
  /** @description Runtime manager and shard health. */
@@ -3759,13 +3266,22 @@ export interface components {
3759
3266
  "application/json": components["schemas"]["RuntimeStopSuccessResponse"];
3760
3267
  };
3761
3268
  };
3762
- /** @description Enabled plugin runtime refresh result. */
3763
- RuntimeRefreshResponse: {
3269
+ /** @description Idempotent Host-owned enabled-plugin recovery snapshot. */
3270
+ RecoverySnapshotResponse: {
3764
3271
  headers: {
3765
3272
  [name: string]: unknown;
3766
3273
  };
3767
3274
  content: {
3768
- "application/json": components["schemas"]["RuntimeRefreshSuccessResponse"];
3275
+ "application/json": components["schemas"]["RecoverySnapshotSuccessResponse"];
3276
+ };
3277
+ };
3278
+ /** @description Recovery result for one explicitly retried plugin. */
3279
+ PluginRecoveryResponse: {
3280
+ headers: {
3281
+ [name: string]: unknown;
3282
+ };
3283
+ content: {
3284
+ "application/json": components["schemas"]["PluginRecoverySuccessResponse"];
3769
3285
  };
3770
3286
  };
3771
3287
  /** @description Plugin data export result. */
@@ -3905,7 +3421,7 @@ export interface components {
3905
3421
  };
3906
3422
  };
3907
3423
  parameters: {
3908
- OperationID: string;
3424
+ ExecutionID: string;
3909
3425
  PluginInstanceID: string;
3910
3426
  SHA256Digest: string;
3911
3427
  RequestID: string;
@@ -3917,14 +3433,9 @@ export interface components {
3917
3433
  "application/json": components["schemas"]["InspectExternalPackageRequest"];
3918
3434
  };
3919
3435
  };
3920
- CommitExternalPackageRequest: {
3921
- content: {
3922
- "application/json": components["schemas"]["CommitExternalPackageRequest"];
3923
- };
3924
- };
3925
- QueryExternalPackageCommitRequest: {
3436
+ InstallInspectedPackageRequest: {
3926
3437
  content: {
3927
- "application/json": components["schemas"]["QueryExternalPackageCommitRequest"];
3438
+ "application/json": components["schemas"]["InstallInspectedPackageRequest"];
3928
3439
  };
3929
3440
  };
3930
3441
  InstallReleaseRefRequest: {
@@ -3932,11 +3443,6 @@ export interface components {
3932
3443
  "application/json": components["schemas"]["InstallReleaseRefRequest"];
3933
3444
  };
3934
3445
  };
3935
- StartReleaseInstallOperationRequest: {
3936
- content: {
3937
- "application/json": components["schemas"]["StartReleaseInstallOperationRequest"];
3938
- };
3939
- };
3940
3446
  UpdateReleaseRefRequest: {
3941
3447
  content: {
3942
3448
  "application/json": components["schemas"]["UpdateReleaseRefRequest"];
@@ -3977,6 +3483,11 @@ export interface components {
3977
3483
  "application/json": components["schemas"]["EmptyRequest"];
3978
3484
  };
3979
3485
  };
3486
+ RetryPluginRecoveryRequest: {
3487
+ content: {
3488
+ "application/json": components["schemas"]["RetryPluginRecoveryRequest"];
3489
+ };
3490
+ };
3980
3491
  EmptyQueryRequest: {
3981
3492
  content: {
3982
3493
  "application/json": components["schemas"]["EmptyQueryRequest"];
@@ -3987,9 +3498,14 @@ export interface components {
3987
3498
  "application/json": components["schemas"]["ListIntentsQueryRequest"];
3988
3499
  };
3989
3500
  };
3990
- ListOperationsQueryRequest: {
3501
+ ListExecutionsRequest: {
3502
+ content: {
3503
+ "application/json": components["schemas"]["ListExecutionsRequest"];
3504
+ };
3505
+ };
3506
+ StartReleaseInstallExecutionRequest: {
3991
3507
  content: {
3992
- "application/json": components["schemas"]["ListOperationsQueryRequest"];
3508
+ "application/json": components["schemas"]["StartReleaseInstallExecutionRequest"];
3993
3509
  };
3994
3510
  };
3995
3511
  ListRetainedDataQueryRequest: {
@@ -4032,24 +3548,14 @@ export interface components {
4032
3548
  "application/json": components["schemas"]["ReadSurfaceAssetRequest"];
4033
3549
  };
4034
3550
  };
4035
- ReadSurfaceStreamRequest: {
3551
+ ListExecutionEventsRequest: {
4036
3552
  content: {
4037
- "application/json": components["schemas"]["ReadSurfaceStreamRequest"];
3553
+ "application/json": components["schemas"]["ListExecutionEventsRequest"];
4038
3554
  };
4039
3555
  };
4040
- AcknowledgeSurfaceStreamRequest: {
3556
+ CancelExecutionRequest: {
4041
3557
  content: {
4042
- "application/json": components["schemas"]["AcknowledgeSurfaceStreamRequest"];
4043
- };
4044
- };
4045
- CancelSurfaceOperationRequest: {
4046
- content: {
4047
- "application/json": components["schemas"]["CancelSurfaceOperationRequest"];
4048
- };
4049
- };
4050
- GetSurfaceOperationRequest: {
4051
- content: {
4052
- "application/json": components["schemas"]["GetSurfaceOperationRequest"];
3558
+ "application/json": components["schemas"]["CancelExecutionRequest"];
4053
3559
  };
4054
3560
  };
4055
3561
  RejectSurfaceConfirmationRequest: {
@@ -4077,11 +3583,6 @@ export interface components {
4077
3583
  "application/json": components["schemas"]["InvokeIntentRequest"];
4078
3584
  };
4079
3585
  };
4080
- CancelOperationRequest: {
4081
- content: {
4082
- "application/json": components["schemas"]["CancelOperationRequest"];
4083
- };
4084
- };
4085
3586
  StartRuntimeRequest: {
4086
3587
  content: {
4087
3588
  "application/json": components["schemas"]["StartRuntimeRequest"];
@@ -4246,32 +3747,19 @@ export interface operations {
4246
3747
  default: components["responses"]["MutationPlatformErrorResponse"];
4247
3748
  };
4248
3749
  };
4249
- commitExternalPackage: {
3750
+ installInspectedPackage: {
4250
3751
  parameters: {
4251
3752
  query?: never;
4252
3753
  header?: never;
4253
3754
  path?: never;
4254
3755
  cookie?: never;
4255
3756
  };
4256
- requestBody: components["requestBodies"]["CommitExternalPackageRequest"];
3757
+ requestBody: components["requestBodies"]["InstallInspectedPackageRequest"];
4257
3758
  responses: {
4258
- 200: components["responses"]["ExternalPackageCommitResponse"];
3759
+ 200: components["responses"]["InstalledExternalPackageResponse"];
4259
3760
  default: components["responses"]["MutationPlatformErrorResponse"];
4260
3761
  };
4261
3762
  };
4262
- queryExternalPackageCommit: {
4263
- parameters: {
4264
- query?: never;
4265
- header?: never;
4266
- path?: never;
4267
- cookie?: never;
4268
- };
4269
- requestBody: components["requestBodies"]["QueryExternalPackageCommitRequest"];
4270
- responses: {
4271
- 200: components["responses"]["ExternalPackageCommitResponse"];
4272
- default: components["responses"]["PlatformErrorResponse"];
4273
- };
4274
- };
4275
3763
  installReleaseRef: {
4276
3764
  parameters: {
4277
3765
  query?: never;
@@ -4285,62 +3773,6 @@ export interface operations {
4285
3773
  default: components["responses"]["MutationPlatformErrorResponse"];
4286
3774
  };
4287
3775
  };
4288
- listReleaseInstallOperations: {
4289
- parameters: {
4290
- query?: never;
4291
- header?: never;
4292
- path?: never;
4293
- cookie?: never;
4294
- };
4295
- requestBody?: never;
4296
- responses: {
4297
- 200: components["responses"]["ReleaseInstallOperationListResponse"];
4298
- default: components["responses"]["PlatformErrorResponse"];
4299
- };
4300
- };
4301
- startReleaseInstallOperation: {
4302
- parameters: {
4303
- query?: never;
4304
- header?: never;
4305
- path?: never;
4306
- cookie?: never;
4307
- };
4308
- requestBody: components["requestBodies"]["StartReleaseInstallOperationRequest"];
4309
- responses: {
4310
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4311
- default: components["responses"]["MutationPlatformErrorResponse"];
4312
- };
4313
- };
4314
- getReleaseInstallOperation: {
4315
- parameters: {
4316
- query?: never;
4317
- header?: never;
4318
- path: {
4319
- operation_id: components["parameters"]["OperationID"];
4320
- };
4321
- cookie?: never;
4322
- };
4323
- requestBody?: never;
4324
- responses: {
4325
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4326
- default: components["responses"]["PlatformErrorResponse"];
4327
- };
4328
- };
4329
- getReleaseInstallOperationByRequest: {
4330
- parameters: {
4331
- query?: never;
4332
- header?: never;
4333
- path: {
4334
- request_id: components["parameters"]["RequestID"];
4335
- };
4336
- cookie?: never;
4337
- };
4338
- requestBody?: never;
4339
- responses: {
4340
- 200: components["responses"]["ReleaseInstallOperationResponse"];
4341
- default: components["responses"]["PlatformErrorResponse"];
4342
- };
4343
- };
4344
3776
  enablePlugin: {
4345
3777
  parameters: {
4346
3778
  query?: never;
@@ -4551,66 +3983,6 @@ export interface operations {
4551
3983
  default: components["responses"]["PlatformErrorResponse"];
4552
3984
  };
4553
3985
  };
4554
- readPreparedSurfaceStream: {
4555
- parameters: {
4556
- query?: never;
4557
- header?: never;
4558
- path: {
4559
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4560
- };
4561
- cookie?: never;
4562
- };
4563
- requestBody: components["requestBodies"]["ReadSurfaceStreamRequest"];
4564
- responses: {
4565
- 200: components["responses"]["SurfaceStreamResponse"];
4566
- default: components["responses"]["PlatformErrorResponse"];
4567
- };
4568
- };
4569
- acknowledgePreparedSurfaceStream: {
4570
- parameters: {
4571
- query?: never;
4572
- header?: never;
4573
- path: {
4574
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4575
- };
4576
- cookie?: never;
4577
- };
4578
- requestBody: components["requestBodies"]["AcknowledgeSurfaceStreamRequest"];
4579
- responses: {
4580
- 200: components["responses"]["SurfaceStreamAcknowledgementResponse"];
4581
- default: components["responses"]["MutationPlatformErrorResponse"];
4582
- };
4583
- };
4584
- cancelSurfacePluginOperation: {
4585
- parameters: {
4586
- query?: never;
4587
- header?: never;
4588
- path: {
4589
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4590
- };
4591
- cookie?: never;
4592
- };
4593
- requestBody: components["requestBodies"]["CancelSurfaceOperationRequest"];
4594
- responses: {
4595
- 200: components["responses"]["OperationRecordResponse"];
4596
- default: components["responses"]["MutationPlatformErrorResponse"];
4597
- };
4598
- };
4599
- getSurfacePluginOperationSnapshot: {
4600
- parameters: {
4601
- query?: never;
4602
- header?: never;
4603
- path: {
4604
- surface_instance_id: components["parameters"]["SurfaceInstanceID"];
4605
- };
4606
- cookie?: never;
4607
- };
4608
- requestBody: components["requestBodies"]["GetSurfaceOperationRequest"];
4609
- responses: {
4610
- 200: components["responses"]["PluginOperationSnapshotResponse"];
4611
- default: components["responses"]["PlatformErrorResponse"];
4612
- };
4613
- };
4614
3986
  rejectSurfacePluginConfirmation: {
4615
3987
  parameters: {
4616
3988
  query?: never;
@@ -4693,49 +4065,77 @@ export interface operations {
4693
4065
  default: components["responses"]["MutationPlatformErrorResponse"];
4694
4066
  };
4695
4067
  };
4696
- listPluginOperations: {
4068
+ listPluginExecutions: {
4697
4069
  parameters: {
4698
4070
  query?: never;
4699
4071
  header?: never;
4700
4072
  path?: never;
4701
4073
  cookie?: never;
4702
4074
  };
4703
- requestBody: components["requestBodies"]["ListOperationsQueryRequest"];
4075
+ requestBody: components["requestBodies"]["ListExecutionsRequest"];
4704
4076
  responses: {
4705
- 200: components["responses"]["OperationListResponse"];
4077
+ 200: components["responses"]["ExecutionListResponse"];
4706
4078
  default: components["responses"]["PlatformErrorResponse"];
4707
4079
  };
4708
4080
  };
4709
- getPluginOperation: {
4081
+ startReleaseInstallExecution: {
4082
+ parameters: {
4083
+ query?: never;
4084
+ header?: never;
4085
+ path?: never;
4086
+ cookie?: never;
4087
+ };
4088
+ requestBody: components["requestBodies"]["StartReleaseInstallExecutionRequest"];
4089
+ responses: {
4090
+ 200: components["responses"]["ExecutionResponse"];
4091
+ default: components["responses"]["MutationPlatformErrorResponse"];
4092
+ };
4093
+ };
4094
+ getPluginExecution: {
4710
4095
  parameters: {
4711
4096
  query?: never;
4712
4097
  header?: never;
4713
4098
  path: {
4714
- operation_id: components["parameters"]["OperationID"];
4099
+ execution_id: components["parameters"]["ExecutionID"];
4715
4100
  };
4716
4101
  cookie?: never;
4717
4102
  };
4718
4103
  requestBody: components["requestBodies"]["EmptyQueryRequest"];
4719
4104
  responses: {
4720
- 200: components["responses"]["OperationRecordResponse"];
4105
+ 200: components["responses"]["ExecutionResponse"];
4721
4106
  default: components["responses"]["PlatformErrorResponse"];
4722
4107
  };
4723
4108
  };
4724
- cancelPluginOperation: {
4109
+ cancelPluginExecution: {
4725
4110
  parameters: {
4726
4111
  query?: never;
4727
4112
  header?: never;
4728
4113
  path: {
4729
- operation_id: components["parameters"]["OperationID"];
4114
+ execution_id: components["parameters"]["ExecutionID"];
4730
4115
  };
4731
4116
  cookie?: never;
4732
4117
  };
4733
- requestBody: components["requestBodies"]["CancelOperationRequest"];
4118
+ requestBody: components["requestBodies"]["CancelExecutionRequest"];
4734
4119
  responses: {
4735
- 200: components["responses"]["OperationRecordResponse"];
4120
+ 200: components["responses"]["ExecutionResponse"];
4736
4121
  default: components["responses"]["MutationPlatformErrorResponse"];
4737
4122
  };
4738
4123
  };
4124
+ listPluginExecutionEvents: {
4125
+ parameters: {
4126
+ query?: never;
4127
+ header?: never;
4128
+ path: {
4129
+ execution_id: components["parameters"]["ExecutionID"];
4130
+ };
4131
+ cookie?: never;
4132
+ };
4133
+ requestBody: components["requestBodies"]["ListExecutionEventsRequest"];
4134
+ responses: {
4135
+ 200: components["responses"]["ExecutionEventListResponse"];
4136
+ default: components["responses"]["PlatformErrorResponse"];
4137
+ };
4138
+ };
4739
4139
  startPluginRuntime: {
4740
4140
  parameters: {
4741
4141
  query?: never;
@@ -4762,7 +4162,7 @@ export interface operations {
4762
4162
  default: components["responses"]["MutationPlatformErrorResponse"];
4763
4163
  };
4764
4164
  };
4765
- refreshEnabledPluginRuntimeState: {
4165
+ recoverEnabledPlugins: {
4766
4166
  parameters: {
4767
4167
  query?: never;
4768
4168
  header?: never;
@@ -4771,7 +4171,20 @@ export interface operations {
4771
4171
  };
4772
4172
  requestBody: components["requestBodies"]["EmptyRequest"];
4773
4173
  responses: {
4774
- 200: components["responses"]["RuntimeRefreshResponse"];
4174
+ 200: components["responses"]["RecoverySnapshotResponse"];
4175
+ default: components["responses"]["MutationPlatformErrorResponse"];
4176
+ };
4177
+ };
4178
+ retryPluginRecovery: {
4179
+ parameters: {
4180
+ query?: never;
4181
+ header?: never;
4182
+ path?: never;
4183
+ cookie?: never;
4184
+ };
4185
+ requestBody: components["requestBodies"]["RetryPluginRecoveryRequest"];
4186
+ responses: {
4187
+ 200: components["responses"]["PluginRecoveryResponse"];
4775
4188
  default: components["responses"]["MutationPlatformErrorResponse"];
4776
4189
  };
4777
4190
  };