@floegence/redevplugin-contracts 1.1.4 → 2.0.2
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.
- package/dist/contracts.gen.d.ts +66 -55
- package/dist/contracts.gen.js +68 -55
- package/dist/index.d.ts +32 -27
- package/package.json +1 -1
package/dist/contracts.gen.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const generatedContractArtifacts: readonly [{
|
|
2
2
|
readonly id: "compatibility-manifest-schema";
|
|
3
|
-
readonly path: "spec/plugin/compatibility-manifest-
|
|
4
|
-
readonly version: "compatibility-manifest-
|
|
5
|
-
readonly sha256: "
|
|
6
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/compatibility-manifest-
|
|
3
|
+
readonly path: "spec/plugin/compatibility-manifest-v20.schema.json";
|
|
4
|
+
readonly version: "compatibility-manifest-v20";
|
|
5
|
+
readonly sha256: "8ace15ee3f0bb05e5cdd3449385dd498e37f5fb2e22a67302efb5efeaee1aa02";
|
|
6
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/compatibility-manifest-v20.schema.json\",\n \"title\": \"ReDevPlugin compatibility manifest v20\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"package_set\", \"matrix\", \"contract_set_sha256\", \"contracts\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.compatibility.v20\"},\n \"package_set\": {\"$ref\": \"platform-package-set-v3.schema.json\"},\n \"matrix\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"plugin_ui_protocol_version\", \"supported_plugin_ui_protocol_versions\", \"plugin_ui_transport_mappings\",\n \"plugin_host_protocol_version\", \"rust_ipc_version\", \"wasm_abi_version\",\n \"manifest_schema_version\", \"package_signature_schema_version\", \"release_metadata_schema_version\",\n \"release_root_delegation_schema_version\", \"release_source_policy_schema_version\",\n \"release_source_policy_pointer_schema_version\", \"release_revocation_schema_version\",\n \"release_revocation_pointer_schema_version\", \"token_ticket_schema_version\", \"bridge_schema_version\",\n \"opaque_surface_document_schema_version\", \"opaque_surface_transport_schema_version\", \"target_classifier_version\",\n \"network_grant_schema_version\", \"resource_scope_schema_version\", \"session_scope_schema_version\",\n \"plugin_platform_openapi_version\", \"public_api_catalog_version\",\n \"compatibility_schema_version\", \"worker_invocation_schema_version\",\n \"host_capability_contract_schema_version\", \"host_capability_pin_schema_version\",\n \"error_codes_schema_version\", \"performance_contract_version\", \"performance_evidence_schema_version\",\n \"contract_registry_version\", \"platform_package_set_schema_version\",\n \"platform_package_publication_schema_version\", \"runtime_admission_schema_version\",\n \"runtime_descriptor_schema_version\", \"owner_scope_inventory_registry_version\",\n \"owner_scope_inventory_schema_version\", \"owner_scope_migration_schema_version\",\n \"owner_scope_root_recovery_schema_version\",\n \"process_containment_schema_version\", \"runtime_exec_journal_schema_version\",\n \"quarantine_cleanup_schema_version\"\n ],\n \"properties\": {\n \"plugin_ui_protocol_version\": {\"const\": \"plugin-ui-v7\"},\n \"supported_plugin_ui_protocol_versions\": {\n \"const\": [\"plugin-ui-v7\"]\n },\n \"plugin_ui_transport_mappings\": {\n \"const\": [\n {\n \"plugin_ui_protocol_version\": \"plugin-ui-v7\",\n \"opaque_surface_transport_schema_version\": \"opaque-surface-transport-v6\",\n \"bridge_schema_version\": \"bridge-v7\"\n }\n ]\n },\n \"plugin_host_protocol_version\": {\"const\": \"plugin-host-v11\"},\n \"rust_ipc_version\": {\"const\": \"rust-ipc-v7\"},\n \"wasm_abi_version\": {\"const\": \"redevplugin-wasm-worker-v2\"},\n \"manifest_schema_version\": {\"const\": \"manifest-v9\"},\n \"package_signature_schema_version\": {\"const\": \"package-signature-v1\"},\n \"release_metadata_schema_version\": {\"const\": \"release-metadata-v8\"},\n \"release_root_delegation_schema_version\": {\"const\": \"release-root-delegation-v1\"},\n \"release_source_policy_schema_version\": {\"const\": \"release-source-policy-v3\"},\n \"release_source_policy_pointer_schema_version\": {\"const\": \"release-source-policy-pointer-v2\"},\n \"release_revocation_schema_version\": {\"const\": \"release-revocation-v3\"},\n \"release_revocation_pointer_schema_version\": {\"const\": \"release-revocation-pointer-v2\"},\n \"token_ticket_schema_version\": {\"const\": \"token-ticket-v4\"},\n \"bridge_schema_version\": {\"const\": \"bridge-v7\"},\n \"opaque_surface_document_schema_version\": {\"const\": \"opaque-surface-document-v3\"},\n \"opaque_surface_transport_schema_version\": {\"const\": \"opaque-surface-transport-v6\"},\n \"target_classifier_version\": {\"const\": \"target-classifier-v2\"},\n \"network_grant_schema_version\": {\"const\": \"network-grant-v2\"},\n \"resource_scope_schema_version\": {\"const\": \"resource-scope-v1\"},\n \"session_scope_schema_version\": {\"const\": \"session-scope-v1\"},\n \"plugin_platform_openapi_version\": {\"const\": \"plugin-platform-v17\"},\n \"public_api_catalog_version\": {\"const\": \"public-api-v1\"},\n \"compatibility_schema_version\": {\"const\": \"compatibility-manifest-v20\"},\n \"worker_invocation_schema_version\": {\"const\": \"worker-invocation-v3\"},\n \"host_capability_contract_schema_version\": {\"const\": \"host-capability-contract-v1\"},\n \"host_capability_pin_schema_version\": {\"const\": \"host-capability-pin-v1\"},\n \"error_codes_schema_version\": {\"const\": \"error-codes-v8\"},\n \"performance_contract_version\": {\"const\": \"performance-contract-v4\"},\n \"performance_evidence_schema_version\": {\"const\": \"performance-evidence-v4\"},\n \"contract_registry_version\": {\"const\": \"contract-registry-v2\"},\n \"platform_package_set_schema_version\": {\"const\": \"platform-package-set-v3\"},\n \"platform_package_publication_schema_version\": {\"const\": \"platform-package-publication-v2\"},\n \"runtime_admission_schema_version\": {\"const\": \"runtime-admission-v1\"},\n \"runtime_descriptor_schema_version\": {\"const\": \"runtime-descriptor-v3\"},\n \"owner_scope_inventory_registry_version\": {\"const\": \"owner-scope-inventory-registry-v1\"},\n \"owner_scope_inventory_schema_version\": {\"const\": \"owner-scope-inventory-v1\"},\n \"owner_scope_migration_schema_version\": {\"const\": \"owner-scope-migration-v1\"},\n \"owner_scope_root_recovery_schema_version\": {\"const\": \"owner-scope-root-recovery-v1\"},\n \"process_containment_schema_version\": {\"const\": \"process-containment-v1\"},\n \"runtime_exec_journal_schema_version\": {\"const\": \"runtime-exec-journal-v1\"},\n \"quarantine_cleanup_schema_version\": {\"const\": \"quarantine-cleanup-v1\"}\n }\n },\n \"contract_set_sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"contracts\": {\n \"type\": \"array\", \"minItems\": 1, \"maxItems\": 256, \"uniqueItems\": true,\n \"items\": {\"$ref\": \"#/$defs/contract\"}\n }\n },\n \"$defs\": {\n \"contract\": {\n \"type\": \"object\", \"additionalProperties\": false,\n \"required\": [\"id\", \"path\", \"version\", \"sha256\"],\n \"properties\": {\n \"id\": {\"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9-]+$\"},\n \"path\": {\"type\": \"string\", \"pattern\": \"^spec/(openapi|plugin)/[A-Za-z0-9._/-]+$\"},\n \"version\": {\"type\": \"string\", \"minLength\": 1},\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"}\n }\n }\n }\n}\n";
|
|
7
7
|
}, {
|
|
8
8
|
readonly id: "contract-registry-schema";
|
|
9
9
|
readonly path: "spec/plugin/contract-registry-v2.schema.json";
|
|
@@ -48,10 +48,10 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
48
48
|
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/bridge-v7.schema.json\",\n \"title\": \"ReDevPlugin plugin worker bridge v7\",\n \"description\": \"Plugin-visible MessagePort contract. Plugin identity, owner/session bindings, gateway tokens, asset sessions, execution transport credentials, and confirmation tokens remain in the trusted parent and are intentionally absent from worker-visible messages.\",\n \"x-redevplugin-render-policy\": {\n \"max_message_bytes\": 524288,\n \"max_in_flight_requests\": 256,\n \"max_renders_per_second\": 60,\n \"max_render_depth\": 32,\n \"max_render_nodes\": 4096,\n \"max_patch_operations\": 1024,\n \"max_attributes_per_element\": 64,\n \"max_text_length\": 65536,\n \"max_attribute_value_length\": 4096,\n \"max_form_fields\": 128,\n \"max_canvas_count\": 4,\n \"max_canvas_dimension\": 4096,\n \"max_canvas_total_pixels\": 16777216,\n \"max_canvas_pointer_events_per_second\": 120,\n \"max_image_count\": 32,\n \"max_image_dimension\": 4096,\n \"max_image_total_pixels\": 33554432,\n \"worker_heartbeat_interval_ms\": 10000,\n \"worker_heartbeat_timeout_ms\": 5000,\n \"global_attributes\": [\n \"id\",\n \"class\",\n \"role\",\n \"title\",\n \"hidden\",\n \"tabindex\",\n \"autofocus\",\n \"lang\",\n \"dir\",\n \"data-redevplugin-action\",\n \"data-redevplugin-escape-action\",\n \"data-redevplugin-asset-binding\",\n \"data-redevplugin-asset-attr\"\n ],\n \"tag_attributes\": {\n \"button\": [\"type\", \"name\", \"value\", \"disabled\", \"aria-pressed\", \"aria-expanded\"],\n \"input\": [\"type\", \"name\", \"value\", \"checked\", \"disabled\", \"readonly\", \"required\", \"placeholder\", \"min\", \"max\", \"step\", \"autocomplete\"],\n \"textarea\": [\"name\", \"value\", \"disabled\", \"readonly\", \"required\", \"placeholder\", \"rows\", \"cols\", \"maxlength\"],\n \"select\": [\"name\", \"disabled\", \"required\", \"multiple\", \"size\"],\n \"option\": [\"value\", \"selected\", \"disabled\", \"label\"],\n \"label\": [\"for\"],\n \"form\": [\"name\", \"autocomplete\"],\n \"th\": [\"scope\", \"colspan\", \"rowspan\"],\n \"td\": [\"colspan\", \"rowspan\"],\n \"progress\": [\"value\", \"max\"],\n \"meter\": [\"value\", \"min\", \"max\", \"low\", \"high\", \"optimum\"],\n \"img\": [\"alt\", \"width\", \"height\", \"loading\", \"decoding\"],\n \"audio\": [\"controls\", \"autoplay\", \"muted\", \"loop\", \"preload\"],\n \"video\": [\"controls\", \"autoplay\", \"muted\", \"loop\", \"preload\", \"width\", \"height\", \"playsinline\"],\n \"source\": [\"type\", \"media\"],\n \"track\": [\"kind\", \"srclang\", \"label\", \"default\"],\n \"time\": [\"datetime\"],\n \"canvas\": [\"width\", \"height\", \"data-redevplugin-canvas\"]\n },\n \"safe_input_types\": [\"text\", \"search\", \"number\", \"checkbox\", \"radio\", \"button\", \"submit\", \"reset\"]\n },\n \"oneOf\": [\n { \"$ref\": \"#/$defs/call\" },\n { \"$ref\": \"#/$defs/execution_cancel\" },\n { \"$ref\": \"#/$defs/execution_query\" },\n { \"$ref\": \"#/$defs/execution_events\" },\n { \"$ref\": \"#/$defs/mount\" },\n { \"$ref\": \"#/$defs/patch\" },\n { \"$ref\": \"#/$defs/canvas_open\" },\n { \"$ref\": \"#/$defs/canvas_accessibility\" },\n { \"$ref\": \"#/$defs/canvas_ready\" },\n { \"$ref\": \"#/$defs/canvas_input\" },\n { \"$ref\": \"#/$defs/image_open\" },\n { \"$ref\": \"#/$defs/image_ready\" },\n { \"$ref\": \"#/$defs/cancel\" },\n { \"$ref\": \"#/$defs/action\" },\n { \"$ref\": \"#/$defs/response\" },\n { \"$ref\": \"#/$defs/lifecycle\" },\n { \"$ref\": \"#/$defs/lifecycle_ack\" },\n { \"$ref\": \"#/$defs/context\" }\n ],\n \"$defs\": {\n \"context\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"context\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.context\" },\n \"context\": { \"$ref\": \"https://schemas.redevplugin.dev/plugin/opaque-surface-transport-v6.schema.json#/$defs/context_snapshot\" }\n }\n },\n \"opaque_handle\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z][A-Za-z0-9_-]{7,159}$\"\n },\n \"capability_business_error_details\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"capability_id\",\n \"capability_version\",\n \"detail_schema_sha256\",\n \"business_error_code\"\n ],\n \"properties\": {\n \"capability_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._-]*$\" },\n \"capability_version\": {\n \"type\": \"string\",\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\\\+[0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*)?$\"\n },\n \"detail_schema_sha256\": { \"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\" },\n \"business_error_code\": { \"type\": \"string\", \"pattern\": \"^[A-Z][A-Z0-9_]*$\" },\n \"business_error_details\": {\n \"type\": \"object\",\n \"additionalProperties\": true\n }\n }\n },\n \"worker_error_details\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"worker_error_code\", \"worker_error_message\", \"worker_error_origin\"],\n \"properties\": {\n \"worker_error_code\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Z][A-Z0-9_]*$\"\n },\n \"worker_error_message\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 4096\n },\n \"worker_error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n },\n \"request_id\": {\n \"type\": \"string\",\n \"pattern\": \"^(rpc|execution|render|canvas|asset)_[1-9][0-9]{0,15}$\"\n },\n \"call\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"request\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.call\" },\n \"request\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"id\", \"method\"],\n \"properties\": {\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"method\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 256,\n \"pattern\": \"^[A-Za-z0-9._:-]+$\"\n },\n \"params\": {\n \"type\": \"object\",\n \"description\": \"Optional JSON object. Arrays are rejected so worker calls match the Host RPC map contract.\"\n }\n }\n }\n }\n },\n \"execution_events\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"execution_id\", \"after_cursor\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.execution.events\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"execution_id\": { \"$ref\": \"#/$defs/opaque_handle\" },\n \"after_cursor\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 }\n }\n },\n \"execution_cancel\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"execution_id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.execution.cancel\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"execution_id\": { \"$ref\": \"#/$defs/opaque_handle\" },\n \"reason\": { \"type\": \"string\", \"maxLength\": 256 }\n }\n },\n \"execution_query\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"execution_id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.execution.query\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"execution_id\": { \"$ref\": \"#/$defs/opaque_handle\" }\n }\n },\n \"mount\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"revision\", \"tree\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.mount\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"revision\": { \"const\": 1 },\n \"tree\": { \"$ref\": \"#/$defs/element_vnode\" }\n }\n },\n \"patch\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"base_revision\", \"revision\", \"operations\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.patch\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"base_revision\": { \"type\": \"integer\", \"minimum\": 1 },\n \"revision\": { \"type\": \"integer\", \"minimum\": 2 },\n \"operations\": {\n \"type\": \"array\",\n \"maxItems\": 1024,\n \"items\": { \"$ref\": \"#/$defs/patch_operation\" }\n }\n }\n },\n \"cancel\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.cancel\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" }\n }\n },\n \"vnode\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/text_vnode\" },\n { \"$ref\": \"#/$defs/element_vnode\" }\n ]\n },\n \"text_vnode\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"key\", \"text\"],\n \"properties\": {\n \"type\": { \"const\": \"text\" },\n \"key\": { \"$ref\": \"#/$defs/text_identifier\" },\n \"text\": { \"type\": \"string\", \"maxLength\": 65536 }\n }\n },\n \"element_vnode\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"key\", \"tag\"],\n \"properties\": {\n \"type\": { \"const\": \"element\" },\n \"key\": { \"$ref\": \"#/$defs/element_identifier\" },\n \"tag\": {\n \"enum\": [\n \"main\", \"section\", \"header\", \"footer\", \"nav\", \"aside\", \"article\", \"div\", \"span\", \"p\",\n \"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"button\", \"input\", \"textarea\", \"select\", \"option\",\n \"label\", \"fieldset\", \"legend\", \"form\", \"ul\", \"ol\", \"li\", \"dl\", \"dt\", \"dd\", \"table\",\n \"thead\", \"tbody\", \"tfoot\", \"tr\", \"th\", \"td\", \"caption\", \"details\", \"summary\", \"pre\", \"code\",\n \"kbd\", \"samp\", \"strong\", \"em\", \"small\", \"mark\", \"time\", \"progress\", \"meter\", \"img\", \"picture\",\n \"source\", \"audio\", \"video\", \"track\", \"canvas\"\n ]\n },\n \"attributes\": {\n \"type\": \"object\",\n \"maxProperties\": 64,\n \"additionalProperties\": { \"type\": [\"string\", \"number\", \"boolean\"] }\n },\n \"children\": {\n \"type\": \"array\",\n \"maxItems\": 4096,\n \"items\": { \"$ref\": \"#/$defs/vnode\" }\n }\n }\n },\n \"patch_operation\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"target_key\", \"text\"],\n \"properties\": {\n \"type\": { \"const\": \"set_text\" },\n \"target_key\": { \"$ref\": \"#/$defs/text_identifier\" },\n \"text\": { \"type\": \"string\", \"maxLength\": 65536 }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"target_key\", \"set\", \"remove\"],\n \"properties\": {\n \"type\": { \"const\": \"patch_attributes\" },\n \"target_key\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"set\": { \"type\": \"object\", \"maxProperties\": 64, \"additionalProperties\": { \"type\": [\"string\", \"number\", \"boolean\"] } },\n \"remove\": { \"type\": \"array\", \"maxItems\": 64, \"uniqueItems\": true, \"items\": { \"type\": \"string\", \"minLength\": 1 } }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"target_key\", \"edit_revision\"],\n \"properties\": {\n \"type\": { \"const\": \"patch_control\" },\n \"target_key\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"edit_revision\": { \"type\": \"integer\", \"minimum\": 0 },\n \"value\": { \"type\": [\"string\", \"null\"], \"maxLength\": 65536 },\n \"checked\": { \"type\": [\"boolean\", \"null\"] }\n },\n \"anyOf\": [{ \"required\": [\"value\"] }, { \"required\": [\"checked\"] }]\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"parent_key\", \"before_key\", \"node\"],\n \"properties\": {\n \"type\": { \"const\": \"insert_child\" },\n \"parent_key\": { \"$ref\": \"#/$defs/element_identifier\" },\n \"before_key\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/ui_identifier\" },\n { \"type\": \"null\" }\n ]\n },\n \"node\": { \"$ref\": \"#/$defs/vnode\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"target_key\"],\n \"properties\": {\n \"type\": { \"const\": \"remove_child\" },\n \"target_key\": { \"$ref\": \"#/$defs/ui_identifier\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"target_key\", \"parent_key\", \"before_key\"],\n \"properties\": {\n \"type\": { \"const\": \"move_child\" },\n \"target_key\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"parent_key\": { \"$ref\": \"#/$defs/element_identifier\" },\n \"before_key\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/ui_identifier\" },\n { \"type\": \"null\" }\n ]\n }\n }\n }\n ]\n },\n \"canvas_open\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"canvas_id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.canvas.open\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"canvas_id\": { \"$ref\": \"#/$defs/ui_identifier\" }\n }\n },\n \"canvas_accessibility\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"canvas_id\", \"label\", \"description\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.canvas.accessibility\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"canvas_id\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"label\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 256 },\n \"description\": { \"type\": \"string\", \"maxLength\": 1024 }\n }\n },\n \"canvas_ready\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"canvas_id\", \"canvas\", \"css_width\", \"css_height\", \"device_pixel_ratio\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.canvas.ready\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"canvas_id\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"canvas\": {\n \"description\": \"One transferred OffscreenCanvas. The runtime validates the structured-clone object outside JSON Schema.\"\n },\n \"css_width\": { \"type\": \"number\", \"exclusiveMinimum\": 0, \"maximum\": 4096 },\n \"css_height\": { \"type\": \"number\", \"exclusiveMinimum\": 0, \"maximum\": 4096 },\n \"device_pixel_ratio\": { \"type\": \"number\", \"minimum\": 0.5, \"maximum\": 4 }\n },\n \"x-redevplugin-transfer\": [\"canvas\"]\n },\n \"canvas_input\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"canvas_id\", \"event\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.canvas.input\" },\n \"canvas_id\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"event\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": { \"type\": { \"enum\": [\"focus\", \"blur\"] } }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"css_width\", \"css_height\", \"device_pixel_ratio\"],\n \"properties\": {\n \"type\": { \"const\": \"resize\" },\n \"css_width\": { \"type\": \"number\", \"exclusiveMinimum\": 0, \"maximum\": 4096 },\n \"css_height\": { \"type\": \"number\", \"exclusiveMinimum\": 0, \"maximum\": 4096 },\n \"device_pixel_ratio\": { \"type\": \"number\", \"minimum\": 0.5, \"maximum\": 4 }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"event\", \"code\", \"key\", \"repeat\", \"alt_key\", \"ctrl_key\", \"meta_key\", \"shift_key\"],\n \"properties\": {\n \"type\": { \"const\": \"key\" },\n \"event\": { \"enum\": [\"keydown\", \"keyup\"] },\n \"code\": { \"type\": \"string\", \"maxLength\": 64 },\n \"key\": { \"type\": \"string\", \"maxLength\": 64 },\n \"repeat\": { \"type\": \"boolean\" },\n \"alt_key\": { \"type\": \"boolean\" },\n \"ctrl_key\": { \"type\": \"boolean\" },\n \"meta_key\": { \"type\": \"boolean\" },\n \"shift_key\": { \"type\": \"boolean\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"event\", \"pointer_id\", \"pointer_type\", \"buttons\", \"button\", \"x\", \"y\", \"pressure\"],\n \"properties\": {\n \"type\": { \"const\": \"pointer\" },\n \"event\": { \"enum\": [\"pointerdown\", \"pointermove\", \"pointerup\", \"pointercancel\"] },\n \"pointer_id\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pointer_type\": { \"enum\": [\"mouse\", \"pen\", \"touch\", \"unknown\"] },\n \"buttons\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 31 },\n \"button\": { \"type\": \"integer\", \"minimum\": -1, \"maximum\": 4 },\n \"x\": { \"type\": \"number\", \"minimum\": -16384, \"maximum\": 32768 },\n \"y\": { \"type\": \"number\", \"minimum\": -16384, \"maximum\": 32768 },\n \"pressure\": { \"type\": \"number\", \"minimum\": 0, \"maximum\": 1 }\n }\n }\n ]\n }\n }\n },\n \"image_open\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"asset_id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.asset.image.open\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"asset_id\": { \"$ref\": \"#/$defs/ui_identifier\" }\n }\n },\n \"image_ready\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"asset_id\", \"image\", \"width\", \"height\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.asset.image.ready\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"asset_id\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"image\": {\n \"description\": \"One transferred ImageBitmap decoded from Host-verified package bytes.\"\n },\n \"width\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 4096 },\n \"height\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 4096 }\n },\n \"x-redevplugin-transfer\": [\"image\"]\n },\n \"ui_identifier\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 128,\n \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]*$\"\n },\n \"element_identifier\": {\n \"$ref\": \"#/$defs/ui_identifier\"\n },\n \"text_identifier\": {\n \"$ref\": \"#/$defs/ui_identifier\"\n },\n \"action\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"action\", \"event\", \"target_key\", \"edit_revision\", \"is_composing\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.ui.action\" },\n \"action\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"maxLength\": 128,\n \"pattern\": \"^[A-Za-z0-9._:-]+$\"\n },\n \"event\": { \"enum\": [\"click\", \"input\", \"change\", \"submit\", \"escape\"] },\n \"target_key\": { \"$ref\": \"#/$defs/ui_identifier\" },\n \"edit_revision\": { \"type\": \"integer\", \"minimum\": 0 },\n \"is_composing\": { \"type\": \"boolean\" },\n \"value\": { \"type\": \"string\", \"maxLength\": 65536 },\n \"checked\": { \"type\": \"boolean\" },\n \"form_data\": {\n \"type\": \"object\",\n \"maxProperties\": 128,\n \"additionalProperties\": { \"type\": \"string\", \"maxLength\": 65536 }\n }\n }\n },\n \"response\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"ok\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.response\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"ok\": { \"const\": true },\n \"data\": true\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"id\", \"ok\", \"error_code\", \"error\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.response\" },\n \"id\": { \"$ref\": \"#/$defs/request_id\" },\n \"ok\": { \"const\": false },\n \"error_code\": {\n \"enum\": [\n \"PLUGIN_INVALID_REQUEST\",\n \"PLUGIN_MANIFEST_INVALID\",\n \"PLUGIN_PACKAGE_INVALID\",\n \"PLUGIN_PACKAGE_TOO_LARGE\",\n \"PLUGIN_PACKAGE_PATH_FORBIDDEN\",\n \"PLUGIN_SIGNATURE_INVALID\",\n \"PLUGIN_TRUST_STATE_DENIED\",\n \"PLUGIN_TRUST_VERIFICATION_REQUIRED\",\n \"PLUGIN_TRUST_VERIFICATION_INVALID\",\n \"PLUGIN_RELEASE_REF_VERIFICATION_FAILED\",\n \"PLUGIN_RELEASE_REF_POLICY_DENIED\",\n \"PLUGIN_RELEASE_NETWORK\",\n \"PLUGIN_RELEASE_TIMEOUT\",\n \"PLUGIN_RELEASE_ASSET_MISSING\",\n \"PLUGIN_RELEASE_ASSET_INTEGRITY\",\n \"PLUGIN_INSTALL_INTERRUPTED\",\n \"PLUGIN_INSTALL_STATE_CONFLICT\",\n \"PLUGIN_INTERNAL_FAILURE\",\n \"PLUGIN_DISABLED\",\n \"PLUGIN_DISABLED_BY_POLICY\",\n \"PLUGIN_PERMISSION_DENIED\",\n \"PLUGIN_ORIGIN_DENIED\",\n \"PLUGIN_ACTION_DENIED\",\n \"PLUGIN_OWNER_SCOPE_MISMATCH\",\n \"PLUGIN_SECRET_SCOPE_MISMATCH\",\n \"PLUGIN_STORAGE_SCOPE_MISMATCH\",\n \"PLUGIN_ADAPTER_FAILURE\",\n \"PLUGIN_SESSION_REVOKED\",\n \"PLUGIN_SESSION_TEARDOWN_INCOMPLETE\",\n \"PLUGIN_SESSION_FENCE_CAPACITY\",\n \"PLUGIN_CONFIRMATION_REQUIRED\",\n \"PLUGIN_CONFIRMATION_INVALID\",\n \"PLUGIN_TOKEN_EXPIRED\",\n \"PLUGIN_TOKEN_REPLAY\",\n \"PLUGIN_GATEWAY_TOKEN_INVALID\",\n \"PLUGIN_GATEWAY_TOKEN_REPLAYED\",\n \"PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH\",\n \"PLUGIN_ASSET_TICKET_INVALID\",\n \"PLUGIN_ASSET_SESSION_INVALID\",\n \"PLUGIN_STREAM_TICKET_INVALID\",\n \"PLUGIN_STREAM_DELIVERY_INVALID\",\n \"PLUGIN_STREAM_CANCELLED\",\n \"PLUGIN_LEASE_INVALID\",\n \"PLUGIN_LEASE_REPLAYED\",\n \"PLUGIN_GRANT_INVALID\",\n \"PLUGIN_STORAGE_QUOTA_EXCEEDED\",\n \"PLUGIN_EXECUTION_BLOCKED\",\n \"PLUGIN_EXECUTION_NOT_FOUND\",\n \"PLUGIN_EXECUTION_NOT_CANCELABLE\",\n \"PLUGIN_NETWORK_TARGET_DENIED\",\n \"PLUGIN_NETWORK_RATE_LIMITED\",\n \"PLUGIN_RUNTIME_UNAVAILABLE\",\n \"PLUGIN_RUNTIME_VERSION_MISMATCH\",\n \"PLUGIN_RUNTIME_CONTRACT_MISMATCH\",\n \"PLUGIN_UI_PROTOCOL_UNSUPPORTED\",\n \"PLUGIN_UI_PROTOCOL_VIOLATION\",\n \"PLUGIN_SURFACE_QUIESCE_TIMEOUT\",\n \"PLUGIN_JSON_LIMIT_EXCEEDED\",\n \"PLUGIN_CAPABILITY_ERROR\",\n \"PLUGIN_WORKER_ERROR\",\n \"PLUGIN_CONTRACT_MISMATCH\",\n \"PLUGIN_MANAGEMENT_REVISION_MISMATCH\",\n \"PLUGIN_AUTHORIZATION_REVISION_MISMATCH\",\n \"PLUGIN_BINDING_REVISION_MISMATCH\",\n \"PLUGIN_VALUES_REVISION_MISMATCH\",\n \"PLUGIN_CSRF_REQUIRED\",\n \"PLUGIN_CSRF_INVALID\",\n \"PLUGIN_FEATURE_NOT_CONFIGURED\",\n \"PLUGIN_CONFIRMATION_REJECTED\",\n \"PLUGIN_BRIDGE_CANCELLED\",\n \"PLUGIN_BRIDGE_TIMEOUT\",\n \"PLUGIN_BRIDGE_DISPOSED\",\n \"PLUGIN_BRIDGE_HANDSHAKE_FAILED\",\n \"PLUGIN_BRIDGE_HANDSHAKE_REQUIRED\"\n ]\n },\n \"error\": { \"type\": \"string\", \"maxLength\": 4096 },\n \"error_details\": {\n \"type\": \"object\",\n \"maxProperties\": 8,\n \"additionalProperties\": true\n },\n \"mutation_outcome\": { \"type\": \"string\", \"enum\": [\"not_committed\", \"unknown\"] }\n },\n \"allOf\": [\n {\n \"if\": {\n \"properties\": { \"error_code\": { \"const\": \"PLUGIN_CAPABILITY_ERROR\" } },\n \"required\": [\"error_code\"]\n },\n \"then\": {\n \"required\": [\"error_details\"],\n \"properties\": {\n \"error_details\": { \"$ref\": \"#/$defs/capability_business_error_details\" }\n }\n }\n },\n {\n \"if\": {\n \"properties\": { \"error_code\": { \"const\": \"PLUGIN_WORKER_ERROR\" } },\n \"required\": [\"error_code\"]\n },\n \"then\": {\n \"required\": [\"error_details\"],\n \"properties\": {\n \"error_details\": { \"$ref\": \"#/$defs/worker_error_details\" }\n }\n }\n }\n ]\n }\n ]\n },\n \"lifecycle\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"event\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.lifecycle\" },\n \"quiesce_id\": { \"type\": \"string\", \"pattern\": \"^quiesce_[A-Za-z0-9_-]{8,151}$\" },\n \"event\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"enum\": [\"ready\", \"visible\", \"hidden\", \"dispose\"] }\n }\n }\n },\n \"allOf\": [\n {\n \"if\": { \"required\": [\"quiesce_id\"] },\n \"then\": {\n \"properties\": {\n \"event\": {\n \"properties\": { \"type\": { \"const\": \"dispose\" } }\n }\n }\n }\n }\n ]\n },\n \"lifecycle_ack\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"quiesce_id\"],\n \"properties\": {\n \"type\": { \"const\": \"redevplugin.bridge.lifecycle_ack\" },\n \"quiesce_id\": { \"type\": \"string\", \"pattern\": \"^quiesce_[A-Za-z0-9_-]{8,151}$\" }\n }\n }\n }\n}\n";
|
|
49
49
|
}, {
|
|
50
50
|
readonly id: "manifest-schema";
|
|
51
|
-
readonly path: "spec/plugin/manifest-
|
|
52
|
-
readonly version: "manifest-
|
|
53
|
-
readonly sha256: "
|
|
54
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/manifest-v8.schema.json\",\n \"title\": \"ReDevPlugin manifest v8\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"publisher\", \"plugin\", \"presentation\", \"surfaces\"],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.manifest.v8\" },\n \"publisher\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"publisher_id\"],\n \"properties\": {\n \"publisher_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"display_name\": { \"type\": \"string\" }\n }\n },\n \"plugin\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"plugin_id\", \"display_name\", \"version\", \"api_version\", \"min_runtime_version\", \"ui_protocol_version\"],\n \"properties\": {\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"display_name\": { \"type\": \"string\", \"minLength\": 1 },\n \"version\": { \"$ref\": \"#/$defs/semver\" },\n \"api_version\": { \"const\": \"plugin-v1\" },\n \"min_runtime_version\": { \"$ref\": \"#/$defs/semver\" },\n \"ui_protocol_version\": { \"const\": \"plugin-ui-v7\" }\n }\n },\n \"presentation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"default_locale\", \"summary\", \"description\", \"highlights\", \"keywords\", \"localizations\"],\n \"properties\": {\n \"default_locale\": { \"$ref\": \"#/$defs/locale\" },\n \"summary\": { \"$ref\": \"#/$defs/summary\" },\n \"description\": { \"$ref\": \"#/$defs/description\" },\n \"highlights\": { \"$ref\": \"#/$defs/highlights\" },\n \"keywords\": { \"$ref\": \"#/$defs/keywords\" },\n \"icon\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"path\"],\n \"properties\": {\n \"path\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"pattern\": \"^[A-Za-z0-9_][A-Za-z0-9_.-]*(?:/[A-Za-z0-9_][A-Za-z0-9_.-]*)*\\\\.(?:[Pp][Nn][Gg]|[Ww][Ee][Bb][Pp])$\"\n }\n }\n },\n \"localizations\": {\n \"type\": \"array\",\n \"maxItems\": 15,\n \"items\": { \"$ref\": \"#/$defs/localization\" }\n }\n }\n },\n \"surfaces\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"surface_id\", \"kind\", \"label\", \"entry\"],\n \"properties\": {\n \"surface_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"kind\": { \"enum\": [\"view\", \"command\", \"background\"] },\n \"intent\": { \"enum\": [\"primary\", \"secondary\", \"utility\"] },\n \"label\": { \"type\": \"string\", \"minLength\": 1 },\n \"entry\": { \"type\": \"string\", \"minLength\": 1 },\n \"icon\": {\n \"type\": \"string\",\n \"minLength\": 1,\n \"pattern\": \"^[A-Za-z0-9_][A-Za-z0-9_.-]*(?:/[A-Za-z0-9_][A-Za-z0-9_.-]*)*\\\\.(?:[Pp][Nn][Gg]|[Jj][Pp][Gg]|[Jj][Pp][Ee][Gg]|[Gg][Ii][Ff]|[Ww][Ee][Bb][Pp]|[Ii][Cc][Oo])$\"\n },\n \"default_size\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"width\", \"height\"],\n \"properties\": {\n \"width\": { \"type\": \"integer\", \"minimum\": 1 },\n \"height\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n }\n }\n }\n },\n \"capability_bindings\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"binding_id\", \"contract\"],\n \"properties\": {\n \"binding_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"contract\": { \"$ref\": \"host-capability-pin-v1.schema.json\" }\n }\n }\n },\n \"methods\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"method\", \"route\"],\n \"properties\": {\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"effect\": { \"enum\": [\"read\", \"write\", \"delete\", \"execute\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"dangerous\": { \"type\": \"boolean\" },\n \"preflight_only\": { \"type\": \"boolean\" },\n \"broker_access\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"storage\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"store_id\", \"operations\"],\n \"properties\": {\n \"store_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"operations\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true,\n \"items\": { \"enum\": [\"read\", \"write\", \"delete\", \"list\", \"get\", \"put\", \"query\", \"exec\"] }\n }\n }\n }\n },\n \"network\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"connector_id\", \"transport\", \"operations\"],\n \"properties\": {\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"operations\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true,\n \"items\": { \"enum\": [\"http\", \"http_stream\", \"websocket_round_trip\", \"tcp_round_trip\", \"udp_round_trip\"] }\n },\n \"http_methods\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true,\n \"items\": { \"enum\": [\"GET\", \"HEAD\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"OPTIONS\"] }\n }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"transport\": { \"const\": \"http\" } }, \"required\": [\"transport\"] },\n \"then\": { \"required\": [\"http_methods\"] },\n \"else\": { \"not\": { \"required\": [\"http_methods\"] } }\n }\n ]\n }\n }\n }\n },\n \"route\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"kind\"],\n \"properties\": {\n \"kind\": { \"enum\": [\"capability\", \"worker\", \"core_action\"] },\n \"binding_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"target_method\": { \"type\": \"string\", \"minLength\": 1 },\n \"worker_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"action_id\": { \"type\": \"string\", \"minLength\": 1 }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"kind\": { \"const\": \"capability\" } }, \"required\": [\"kind\"] },\n \"then\": {\n \"required\": [\"binding_id\", \"target_method\"],\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"worker_id\"] },\n { \"required\": [\"action_id\"] }\n ]\n }\n }\n },\n {\n \"if\": { \"properties\": { \"kind\": { \"const\": \"worker\" } }, \"required\": [\"kind\"] },\n \"then\": {\n \"required\": [\"worker_id\"],\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"binding_id\"] },\n { \"required\": [\"target_method\"] },\n { \"required\": [\"action_id\"] }\n ]\n }\n }\n },\n {\n \"if\": { \"properties\": { \"kind\": { \"const\": \"core_action\" } }, \"required\": [\"kind\"] },\n \"then\": {\n \"required\": [\"action_id\"],\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"binding_id\"] },\n { \"required\": [\"target_method\"] },\n { \"required\": [\"worker_id\"] }\n ]\n }\n }\n }\n ]\n },\n \"confirmation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"mode\"],\n \"properties\": {\n \"mode\": { \"enum\": [\"none\", \"required\", \"risk_based\"] },\n \"preflight_method\": { \"type\": [\"string\", \"null\"] },\n \"request_hash_fields\": { \"type\": \"array\", \"items\": { \"type\": \"string\" } },\n \"plan_hash_required\": { \"type\": \"boolean\" }\n }\n },\n \"cancel_policy\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"cancelable\"],\n \"properties\": {\n \"cancelable\": { \"type\": \"boolean\" },\n \"disable_behavior\": { \"enum\": [\"cancel\", \"orphan\", \"wait\"] },\n \"uninstall_behavior\": { \"enum\": [\"cancel_then_block_delete\", \"force_cleanup_allowed\"] },\n \"ack_timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"cancelable\": { \"const\": true } }, \"required\": [\"cancelable\"] },\n \"then\": {\n \"required\": [\"ack_timeout_ms\"],\n \"properties\": { \"ack_timeout_ms\": { \"type\": \"integer\", \"minimum\": 1 } }\n }\n },\n {\n \"if\": { \"properties\": { \"cancelable\": { \"const\": false } }, \"required\": [\"cancelable\"] },\n \"then\": {\n \"properties\": { \"ack_timeout_ms\": { \"const\": 0 } }\n }\n }\n ]\n },\n \"request_schema\": {\n \"allOf\": [\n { \"$ref\": \"#/$defs/method_schema\" },\n {\n \"type\": \"object\",\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"additionalProperties\": { \"const\": false }\n }\n }\n ]\n },\n \"response_schema\": {\n \"allOf\": [\n { \"$ref\": \"#/$defs/method_schema\" },\n {\n \"type\": \"object\",\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"additionalProperties\": { \"const\": false }\n }\n }\n ]\n }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"dangerous\": { \"const\": true } }, \"required\": [\"dangerous\"] },\n \"then\": {\n \"required\": [\"confirmation\"],\n \"properties\": {\n \"confirmation\": {\n \"properties\": {\n \"mode\": { \"enum\": [\"required\", \"risk_based\"] }\n }\n }\n }\n }\n },\n {\n \"if\": {\n \"properties\": {\n \"route\": {\n \"properties\": { \"kind\": { \"const\": \"capability\" } },\n \"required\": [\"kind\"]\n }\n },\n \"required\": [\"route\"]\n },\n \"then\": {\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"effect\"] },\n { \"required\": [\"execution\"] },\n { \"required\": [\"dangerous\"] },\n { \"required\": [\"preflight_only\"] },\n { \"required\": [\"confirmation\"] },\n { \"required\": [\"cancel_policy\"] },\n { \"required\": [\"request_schema\"] },\n { \"required\": [\"response_schema\"] },\n { \"required\": [\"broker_access\"] }\n ]\n }\n },\n \"else\": {\n \"required\": [\"effect\", \"execution\", \"request_schema\", \"response_schema\"]\n }\n },\n {\n \"if\": { \"properties\": { \"preflight_only\": { \"const\": true } }, \"required\": [\"preflight_only\"] },\n \"then\": {\n \"properties\": {\n \"effect\": { \"const\": \"read\" },\n \"execution\": { \"const\": \"sync\" },\n \"dangerous\": { \"const\": false }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"enum\": [\"operation\", \"subscription\"] } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"cancel_policy\"] }\n }\n ]\n }\n },\n \"workers\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"worker_id\", \"artifact\", \"abi\", \"mode\", \"scope\", \"memory_limit_bytes\"],\n \"properties\": {\n \"worker_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"artifact\": { \"type\": \"string\", \"minLength\": 1 },\n \"abi\": { \"const\": \"redevplugin-wasm-worker-v2\" },\n \"mode\": { \"const\": \"job\" },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"memory_limit_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 268435456 },\n \"idle_timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n }\n },\n \"storage\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"stores\": {\n \"type\": \"array\",\n \"maxItems\": 16,\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"store_id\", \"kind\", \"scope\", \"quota_bytes\", \"schema_version\"],\n \"properties\": {\n \"store_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"kind\": { \"enum\": [\"kv\", \"files\", \"sqlite\"] },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"quota_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 1073741824 },\n \"quota_files\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 100000 },\n \"schema_version\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n }\n }\n }\n },\n \"network_access\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"connectors\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"connector_id\", \"transport\", \"scope\", \"destinations\"],\n \"properties\": {\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"destinations\": { \"type\": \"array\", \"items\": { \"type\": \"string\", \"minLength\": 1 } },\n \"auth\": { \"type\": \"object\" },\n \"tls\": { \"type\": \"object\" }\n }\n }\n }\n }\n },\n \"settings\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\"],\n \"properties\": {\n \"schema_version\": { \"type\": \"integer\", \"minimum\": 1 },\n \"fields\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"key\", \"type\", \"scope\", \"label\"],\n \"properties\": {\n \"key\": { \"type\": \"string\", \"minLength\": 1 },\n \"type\": { \"type\": \"string\", \"minLength\": 1 },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"label\": { \"type\": \"string\", \"minLength\": 1 },\n \"default\": true,\n \"secret_ref\": { \"type\": \"string\" },\n \"options\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/setting_option\" }\n },\n \"validation\": { \"type\": \"object\" }\n }\n }\n }\n }\n },\n \"intents\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"intent_id\", \"method\"],\n \"properties\": {\n \"intent_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"payload_schema\": { \"type\": \"object\" }\n }\n }\n }\n },\n \"$defs\": {\n \"locale\": {\n \"type\": \"string\",\n \"minLength\": 2,\n \"maxLength\": 64,\n \"pattern\": \"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$\"\n },\n \"summary\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 240 },\n \"description\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"maxItems\": 12,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 1000 }\n },\n \"highlights\": {\n \"type\": \"array\",\n \"maxItems\": 8,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 240 }\n },\n \"keywords\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"maxItems\": 12,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 64 }\n },\n \"setting_option\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"value\", \"label\"],\n \"properties\": {\n \"value\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"label\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 }\n }\n },\n \"localized_surface\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"surface_id\", \"label\"],\n \"properties\": {\n \"surface_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"label\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 }\n }\n },\n \"localized_setting\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"key\", \"label\", \"options\"],\n \"properties\": {\n \"key\": { \"type\": \"string\", \"minLength\": 1 },\n \"label\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"options\": { \"type\": \"array\", \"items\": { \"$ref\": \"#/$defs/setting_option\" } }\n }\n },\n \"localization\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"locale\", \"plugin_name\", \"summary\", \"description\", \"highlights\", \"keywords\", \"surfaces\", \"settings\"],\n \"properties\": {\n \"locale\": { \"$ref\": \"#/$defs/locale\" },\n \"plugin_name\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"publisher_name\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"summary\": { \"$ref\": \"#/$defs/summary\" },\n \"description\": { \"$ref\": \"#/$defs/description\" },\n \"highlights\": { \"$ref\": \"#/$defs/highlights\" },\n \"keywords\": { \"$ref\": \"#/$defs/keywords\" },\n \"surfaces\": { \"type\": \"array\", \"items\": { \"$ref\": \"#/$defs/localized_surface\" } },\n \"settings\": { \"type\": \"array\", \"items\": { \"$ref\": \"#/$defs/localized_setting\" } }\n }\n },\n \"semver\": {\n \"type\": \"string\",\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\\\+[0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*)?$\"\n },\n \"method_schema\": {\n \"oneOf\": [\n { \"const\": false },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"$comment\": { \"type\": \"string\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"readOnly\": { \"type\": \"boolean\" },\n \"writeOnly\": { \"type\": \"boolean\" },\n \"$ref\": { \"type\": \"string\", \"pattern\": \"^#/\\\\$defs/[A-Za-z0-9._-]+$\" },\n \"$defs\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"type\": {\n \"oneOf\": [\n { \"enum\": [\"null\", \"boolean\", \"object\", \"array\", \"number\", \"integer\", \"string\"] },\n {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true,\n \"items\": { \"enum\": [\"null\", \"boolean\", \"object\", \"array\", \"number\", \"integer\", \"string\"] }\n }\n ]\n },\n \"properties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"patternProperties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"required\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": { \"type\": \"string\" }\n },\n \"additionalProperties\": { \"const\": false },\n \"items\": { \"$ref\": \"#/$defs/method_schema\" },\n \"allOf\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"anyOf\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method_schema\" }\n },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true },\n \"const\": true,\n \"default\": true,\n \"examples\": { \"type\": \"array\" },\n \"minimum\": { \"type\": \"number\" },\n \"maximum\": { \"type\": \"number\" },\n \"exclusiveMinimum\": { \"type\": \"number\" },\n \"exclusiveMaximum\": { \"type\": \"number\" },\n \"multipleOf\": { \"type\": \"number\", \"exclusiveMinimum\": 0 },\n \"minLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pattern\": { \"type\": \"string\" },\n \"format\": { \"type\": \"string\" },\n \"minItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"uniqueItems\": { \"type\": \"boolean\" },\n \"minProperties\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxProperties\": { \"type\": \"integer\", \"minimum\": 0 }\n },\n \"anyOf\": [\n { \"required\": [\"type\"] },\n { \"required\": [\"$ref\"] },\n { \"required\": [\"properties\"] },\n { \"required\": [\"patternProperties\"] },\n { \"required\": [\"required\"] },\n { \"required\": [\"additionalProperties\"] },\n { \"required\": [\"minProperties\"] },\n { \"required\": [\"maxProperties\"] },\n { \"required\": [\"allOf\"] },\n { \"required\": [\"anyOf\"] },\n { \"required\": [\"oneOf\"] },\n { \"required\": [\"enum\"] },\n { \"required\": [\"const\"] }\n ],\n \"allOf\": [\n {\n \"if\": {\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": {\n \"anyOf\": [\n { \"const\": \"object\" },\n { \"type\": \"array\", \"contains\": { \"const\": \"object\" } }\n ]\n }\n }\n },\n \"then\": {\n \"required\": [\"additionalProperties\"],\n \"properties\": { \"additionalProperties\": { \"const\": false } }\n }\n },\n {\n \"if\": {\n \"anyOf\": [\n { \"required\": [\"properties\"] },\n { \"required\": [\"patternProperties\"] },\n { \"required\": [\"required\"] },\n { \"required\": [\"additionalProperties\"] },\n { \"required\": [\"minProperties\"] },\n { \"required\": [\"maxProperties\"] }\n ]\n },\n \"then\": {\n \"required\": [\"additionalProperties\"],\n \"properties\": { \"additionalProperties\": { \"const\": false } }\n }\n }\n ]\n }\n ]\n }\n }\n}\n";
|
|
51
|
+
readonly path: "spec/plugin/manifest-v9.schema.json";
|
|
52
|
+
readonly version: "manifest-v9";
|
|
53
|
+
readonly sha256: "d8b0fc348179a1a9af81f152897bad1891b1f8b7a7a4448c0a4e54e9883f1322";
|
|
54
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/manifest-v9.schema.json\",\n \"title\": \"ReDevPlugin manifest v9\",\n \"type\": \"object\",\n \"required\": [\"schema_version\", \"publisher\", \"plugin\", \"api\", \"permissions\", \"presentation\", \"surfaces\", \"workers\", \"methods\"],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.manifest.v9\" },\n \"publisher\": {\n \"type\": \"object\",\n \"required\": [\"publisher_id\"],\n \"properties\": {\n \"publisher_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 255 },\n \"display_name\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 }\n }\n },\n \"plugin\": {\n \"type\": \"object\",\n \"required\": [\"plugin_id\", \"display_name\", \"version\"],\n \"properties\": {\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 255 },\n \"display_name\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"version\": { \"$ref\": \"#/$defs/semver\" }\n }\n },\n \"api\": {\n \"type\": \"object\",\n \"required\": [\"surface\", \"worker\"],\n \"properties\": {\n \"surface\": { \"const\": 1 },\n \"worker\": { \"const\": 1 },\n \"required_features\": { \"$ref\": \"#/$defs/required_features\" },\n \"optional_features\": { \"$ref\": \"#/$defs/optional_features\" }\n }\n },\n \"permissions\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"enum\": [\n \"fs.workspace.read\", \"fs.workspace.write\", \"fs.home.read\", \"fs.home.write\",\n \"fs.environment.read\", \"fs.environment.write\", \"network.client\", \"network.listen\"\n ]\n }\n },\n \"presentation\": {\n \"type\": \"object\",\n \"required\": [\"locales\"],\n \"properties\": {\n \"locales\": {\n \"type\": \"object\",\n \"required\": [\"default\"],\n \"properties\": {\n \"default\": { \"$ref\": \"#/$defs/locale\" }\n }\n },\n \"icon\": {\n \"type\": \"object\",\n \"required\": [\"path\"],\n \"properties\": {\n \"path\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 512 }\n }\n }\n }\n },\n \"surfaces\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\"surface_id\", \"kind\", \"label\", \"entry\"],\n \"properties\": {\n \"surface_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"kind\": { \"enum\": [\"view\", \"command\", \"background\"] },\n \"intent\": { \"enum\": [\"primary\", \"secondary\", \"utility\"] },\n \"label\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"entry\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 512 },\n \"icon\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 512 },\n \"default_size\": {\n \"type\": \"object\",\n \"required\": [\"width\", \"height\"],\n \"properties\": {\n \"width\": { \"type\": \"integer\", \"minimum\": 1 },\n \"height\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n }\n }\n }\n },\n \"workers\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\"worker_id\", \"artifact\", \"mode\", \"scope\", \"memory_limit_bytes\"],\n \"properties\": {\n \"worker_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"artifact\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 512 },\n \"mode\": { \"const\": \"job\" },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"memory_limit_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 268435456 }\n }\n }\n },\n \"methods\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"required\": [\"method\", \"worker_id\", \"effect\", \"execution\", \"request_schema\", \"response_schema\"],\n \"properties\": {\n \"method\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 255 },\n \"worker_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"request_schema\": { \"$ref\": \"#/$defs/method_schema\" },\n \"response_schema\": { \"$ref\": \"#/$defs/method_schema\" }\n }\n }\n },\n \"storage\": {\n \"type\": \"object\",\n \"properties\": {\n \"stores\": {\n \"type\": \"array\",\n \"maxItems\": 16,\n \"items\": {\n \"type\": \"object\",\n \"required\": [\"store_id\", \"kind\", \"scope\", \"quota_bytes\", \"schema_version\"],\n \"properties\": {\n \"store_id\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128 },\n \"kind\": { \"enum\": [\"kv\", \"files\", \"sqlite\"] },\n \"scope\": { \"enum\": [\"user\", \"environment\"] },\n \"quota_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 1073741824 },\n \"quota_files\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 100000 },\n \"schema_version\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n }\n }\n }\n },\n \"settings\": { \"type\": \"object\" }\n },\n \"$defs\": {\n \"semver\": {\n \"type\": \"string\",\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-[0-9A-Za-z.-]+)?(?:\\\\+[0-9A-Za-z.-]+)?$\"\n },\n \"locale\": {\n \"type\": \"string\",\n \"minLength\": 2,\n \"maxLength\": 64,\n \"pattern\": \"^[A-Za-z]{2,8}(?:-[A-Za-z0-9]{1,8})*$\"\n },\n \"required_features\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"enum\": [\n \"io.stream.v1\", \"fs.workspace.v1\", \"fs.home.v1\", \"fs.environment.v1\", \"fs.watch.v1\",\n \"net.http.v1\", \"net.websocket.v1\", \"net.tcp.v1\", \"net.udp.v1\"\n ]\n }\n },\n \"optional_features\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": {\n \"type\": \"string\",\n \"pattern\": \"^[a-z][a-z0-9]*(?:[._-][a-z0-9]+)+$\",\n \"maxLength\": 128\n }\n },\n \"method_schema\": {\n \"oneOf\": [\n { \"const\": false },\n { \"type\": \"object\" }\n ]\n }\n }\n}\n";
|
|
55
55
|
}, {
|
|
56
56
|
readonly id: "network-grant-schema";
|
|
57
57
|
readonly path: "spec/plugin/network-grant-v2.schema.json";
|
|
@@ -104,8 +104,8 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
104
104
|
readonly id: "performance-contract";
|
|
105
105
|
readonly path: "spec/plugin/performance-contract-v4.json";
|
|
106
106
|
readonly version: "performance-contract-v4";
|
|
107
|
-
readonly sha256: "
|
|
108
|
-
readonly body: "{\n \"schema_version\": \"redevplugin.performance_contract.v4\",\n \"comparison_probes\": [\n {\n \"id\": \"httpadapter.route-authorization-v051\",\n \"baseline_release\": \"0.5.1\",\n \"baseline_commit\": \"3febcc59bbdb2118a4f105781b4c743bc11ba09f\",\n \"repetitions\": 9,\n \"max_attempts\": 3,\n \"warmup_batches\": 8,\n \"requests_per_sample\": 32,\n \"noise_qualification\": {\n \"batch_median_relative\": {\n \"relative_mad_limit_basis_points\": 750,\n \"maximum_relative_deviation_limit_basis_points\": 2500,\n \"order_bias_limit_basis_points\": 750\n },\n \"batch_p95_relative\": {\n \"relative_mad_limit_basis_points\": 1250,\n \"maximum_relative_deviation_limit_basis_points\": 5000,\n \"order_bias_limit_basis_points\": 2000\n }\n },\n \"measured_batches\": [\n { \"concurrency\": 1, \"batches\": 1000, \"samples\": 32000 },\n { \"concurrency\": 100, \"batches\": 64, \"samples\": 204800 },\n { \"concurrency\": 1000, \"batches\": 64, \"samples\": 2048000 }\n ],\n \"runner\": {\n \"path\": \"scripts/measure_http_route_authorization_performance.mjs\",\n \"sha256\": \"dfd105ff3be04d95fa50daaaffd5fce5cb192b710b9f00e8cf5b441cd9f654e7\"\n },\n \"comparison_logic\": {\n \"path\": \"scripts/route_authorization_comparison.mjs\",\n \"sha256\": \"e8b098aadb3d7aba9e0cb64444193fa8d5c254969355572900a15ea5b894d05b\"\n },\n \"baseline_probe\": {\n \"path\": \"testdata/performance/httpadapter-v051/route_authorization_performance_test.go\",\n \"sha256\": \"2a8891b9c2e962ba3660aadb25bdf9e2cca45565ad8dea6d7b59c08fc787c18f\"\n },\n \"candidate_probe\": {\n \"path\": \"pkg/httpadapter/route_authorization_performance_test.go\",\n \"sha256\": \"113eb3f0cf1d7383a6f14b8d7406e42c655c018c1455b47f0afd44869a354ff3\"\n },\n \"shared_probe\": {\n \"path\": \"internal/performanceevidence/route_authorization.go\",\n \"sha256\": \"7ea1721d959004094e912c49aca90e05ffb83f8f1a0013bb53e7fb2e70f55725\"\n }\n }\n ],\n \"scenarios\": [\n {\n \"id\": \"runtime.blocked-hostcall-isolation\",\n \"sample_count\": 16,\n \"metrics\": [\n { \"name\": \"completed\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 16 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 250 }\n ]\n },\n {\n \"id\": \"runtime.cache-single-flight\",\n \"sample_count\": 32,\n \"metrics\": [\n { \"name\": \"artifact_reads\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"module_compiles\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"runtime.cancel-queued\",\n \"sample_count\": 20,\n \"metrics\": [\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"runtime.cancel-running\",\n \"sample_count\": 20,\n \"metrics\": [\n { \"name\": \"ack_p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 100 },\n { \"name\": \"runtime_ready\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"runtime.warm-invocations\",\n \"sample_count\": 32,\n \"metrics\": [\n { \"name\": \"completed\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 32 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 100 },\n { \"name\": \"max\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 500 }\n ]\n },\n {\n \"id\": \"runtime.ipc-writer-burst\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"frames\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"queue_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 136 },\n { \"name\": \"blocked_at_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"peak_rss_bytes\", \"unit\": \"bytes\", \"comparator\": \"lte\", \"limit\": 67108864 },\n { \"name\": \"flushes\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 625 }\n ]\n },\n {\n \"id\": \"runtime.scheduler-indexed-cancel\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"index_lookups\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"compaction_entries_per_cancel\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 25000 },\n { \"name\": \"remaining_requests\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 0 }\n ]\n },\n {\n \"id\": \"runtime.module-cache-indexed-eviction\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"index_pops_per_eviction\", \"unit\": \"basis_points\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"remaining_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 128 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c1\",\n \"sample_count\": 32000,\n \"metrics\": [\n { \"name\": \"p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"p99_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c100\",\n \"sample_count\": 204800,\n \"metrics\": [\n { \"name\": \"batch_median_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"batch_p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c1000\",\n \"sample_count\": 2048000,\n \"metrics\": [\n { \"name\": \"batch_median_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"batch_p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"connectivity.http-keepalive\",\n \"sample_count\": 64,\n \"metrics\": [\n { \"name\": \"p95_relative_to_connect\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 7000 },\n { \"name\": \"reused_connection_dials\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"connectivity.udp-limiter-scaling\",\n \"sample_count\": 9000,\n \"metrics\": [\n { \"name\": \"p95_large_relative_to_small\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 20000 },\n { \"name\": \"bucket_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 65536 },\n { \"name\": \"overflow_denied\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"plugindata.namespace-cache-warm\",\n \"sample_count\": 100,\n \"metrics\": [\n { \"name\": \"relative_allocations\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 3000 }\n ]\n },\n {\n \"id\": \"pluginpkg.package-owned-materialization\",\n \"sample_count\": 3,\n \"metrics\": [\n { \"name\": \"peak_rss_relative_to_cloned\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 6500 }\n ]\n },\n {\n \"id\": \"pluginpkg.wasm-inspection-cache\",\n \"sample_count\": 1000,\n \"metrics\": [\n { \"name\": \"inspector_calls\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 128 },\n { \"name\": \"warm_relative_allocations\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 5000 }\n ]\n },\n {\n \"id\": \"registry.sqlite-authorization-scaling\",\n \"sample_count\": 500,\n \"metrics\": [\n { \"name\": \"p95_1000_grants_relative_to_1\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 20000 }\n ]\n },\n {\n \"id\": \"ui.chromium-renderer\",\n \"sample_count\": 10,\n \"metrics\": [\n { \"name\": \"reverse_patch_p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 },\n { \"name\": \"long_tasks\", \"unit\": \"long_tasks\", \"comparator\": \"eq\", \"limit\": 0 },\n { \"name\": \"max_long_task\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"ui.keyed-reversal\",\n \"sample_count\": 30,\n \"metrics\": [\n { \"name\": \"moves\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 999 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"ui.single-leaf-reconciliation\",\n \"sample_count\": 40,\n \"metrics\": [\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 16 },\n { \"name\": \"max\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n }\n ]\n}\n";
|
|
107
|
+
readonly sha256: "08830053b38f0f8466c4e9e608fd7f21e24175063ec02307543fbd8adfb5692e";
|
|
108
|
+
readonly body: "{\n \"schema_version\": \"redevplugin.performance_contract.v4\",\n \"comparison_probes\": [\n {\n \"id\": \"httpadapter.route-authorization-v051\",\n \"baseline_release\": \"0.5.1\",\n \"baseline_commit\": \"3febcc59bbdb2118a4f105781b4c743bc11ba09f\",\n \"repetitions\": 9,\n \"max_attempts\": 3,\n \"warmup_batches\": 8,\n \"requests_per_sample\": 32,\n \"noise_qualification\": {\n \"batch_median_relative\": {\n \"relative_mad_limit_basis_points\": 750,\n \"maximum_relative_deviation_limit_basis_points\": 2500,\n \"order_bias_limit_basis_points\": 750\n },\n \"batch_p95_relative\": {\n \"relative_mad_limit_basis_points\": 1250,\n \"maximum_relative_deviation_limit_basis_points\": 5000,\n \"order_bias_limit_basis_points\": 2000\n }\n },\n \"measured_batches\": [\n { \"concurrency\": 1, \"batches\": 1000, \"samples\": 32000 },\n { \"concurrency\": 100, \"batches\": 64, \"samples\": 204800 },\n { \"concurrency\": 1000, \"batches\": 64, \"samples\": 2048000 }\n ],\n \"runner\": {\n \"path\": \"scripts/measure_http_route_authorization_performance.mjs\",\n \"sha256\": \"dfd105ff3be04d95fa50daaaffd5fce5cb192b710b9f00e8cf5b441cd9f654e7\"\n },\n \"comparison_logic\": {\n \"path\": \"scripts/route_authorization_comparison.mjs\",\n \"sha256\": \"e8b098aadb3d7aba9e0cb64444193fa8d5c254969355572900a15ea5b894d05b\"\n },\n \"baseline_probe\": {\n \"path\": \"testdata/performance/httpadapter-v051/route_authorization_performance_test.go\",\n \"sha256\": \"2a8891b9c2e962ba3660aadb25bdf9e2cca45565ad8dea6d7b59c08fc787c18f\"\n },\n \"candidate_probe\": {\n \"path\": \"pkg/httpadapter/route_authorization_performance_test.go\",\n \"sha256\": \"5d8e01aa7086f6c2675787010d7bc89be74d11ed1fddc7a79c5e2bb94369202f\"\n },\n \"shared_probe\": {\n \"path\": \"internal/performanceevidence/route_authorization.go\",\n \"sha256\": \"7ea1721d959004094e912c49aca90e05ffb83f8f1a0013bb53e7fb2e70f55725\"\n }\n }\n ],\n \"scenarios\": [\n {\n \"id\": \"runtime.blocked-hostcall-isolation\",\n \"sample_count\": 16,\n \"metrics\": [\n { \"name\": \"completed\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 16 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 250 }\n ]\n },\n {\n \"id\": \"runtime.cache-single-flight\",\n \"sample_count\": 32,\n \"metrics\": [\n { \"name\": \"artifact_reads\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"module_compiles\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"runtime.cancel-queued\",\n \"sample_count\": 20,\n \"metrics\": [\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"runtime.cancel-running\",\n \"sample_count\": 20,\n \"metrics\": [\n { \"name\": \"ack_p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 100 },\n { \"name\": \"runtime_ready\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"runtime.warm-invocations\",\n \"sample_count\": 32,\n \"metrics\": [\n { \"name\": \"completed\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 32 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 100 },\n { \"name\": \"max\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 500 }\n ]\n },\n {\n \"id\": \"runtime.ipc-writer-burst\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"frames\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"queue_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 136 },\n { \"name\": \"blocked_at_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"peak_rss_bytes\", \"unit\": \"bytes\", \"comparator\": \"lte\", \"limit\": 67108864 },\n { \"name\": \"flushes\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 625 }\n ]\n },\n {\n \"id\": \"runtime.scheduler-indexed-cancel\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"index_lookups\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"compaction_entries_per_cancel\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 25000 },\n { \"name\": \"remaining_requests\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 0 }\n ]\n },\n {\n \"id\": \"runtime.module-cache-indexed-eviction\",\n \"sample_count\": 10000,\n \"metrics\": [\n { \"name\": \"index_pops_per_eviction\", \"unit\": \"basis_points\", \"comparator\": \"eq\", \"limit\": 10000 },\n { \"name\": \"remaining_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 128 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c1\",\n \"sample_count\": 32000,\n \"metrics\": [\n { \"name\": \"p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"p99_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c100\",\n \"sample_count\": 204800,\n \"metrics\": [\n { \"name\": \"batch_median_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"batch_p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"httpadapter.route-authorization-c1000\",\n \"sample_count\": 2048000,\n \"metrics\": [\n { \"name\": \"batch_median_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11000 },\n { \"name\": \"batch_p95_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 11500 },\n { \"name\": \"allocations_increase\", \"unit\": \"count\", \"comparator\": \"lte\", \"limit\": 1 },\n { \"name\": \"allocated_bytes_relative\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 10500 }\n ]\n },\n {\n \"id\": \"connectivity.http-keepalive\",\n \"sample_count\": 64,\n \"metrics\": [\n { \"name\": \"p95_relative_to_connect\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 7000 },\n { \"name\": \"reused_connection_dials\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"connectivity.udp-limiter-scaling\",\n \"sample_count\": 9000,\n \"metrics\": [\n { \"name\": \"p95_large_relative_to_small\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 20000 },\n { \"name\": \"bucket_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 65536 },\n { \"name\": \"overflow_denied\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 }\n ]\n },\n {\n \"id\": \"plugindata.namespace-cache-warm\",\n \"sample_count\": 100,\n \"metrics\": [\n { \"name\": \"relative_allocations\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 3000 }\n ]\n },\n {\n \"id\": \"pluginpkg.package-owned-materialization\",\n \"sample_count\": 3,\n \"metrics\": [\n { \"name\": \"peak_rss_relative_to_cloned\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 6500 }\n ]\n },\n {\n \"id\": \"pluginpkg.wasm-inspection-cache\",\n \"sample_count\": 1000,\n \"metrics\": [\n { \"name\": \"inspector_calls\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_entries\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 1 },\n { \"name\": \"cache_capacity\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 128 },\n { \"name\": \"warm_relative_allocations\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 5000 }\n ]\n },\n {\n \"id\": \"registry.sqlite-authorization-scaling\",\n \"sample_count\": 500,\n \"metrics\": [\n { \"name\": \"p95_1000_grants_relative_to_1\", \"unit\": \"basis_points\", \"comparator\": \"lte\", \"limit\": 20000 }\n ]\n },\n {\n \"id\": \"ui.chromium-renderer\",\n \"sample_count\": 10,\n \"metrics\": [\n { \"name\": \"reverse_patch_p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 },\n { \"name\": \"long_tasks\", \"unit\": \"long_tasks\", \"comparator\": \"eq\", \"limit\": 0 },\n { \"name\": \"max_long_task\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"ui.keyed-reversal\",\n \"sample_count\": 30,\n \"metrics\": [\n { \"name\": \"moves\", \"unit\": \"count\", \"comparator\": \"eq\", \"limit\": 999 },\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n },\n {\n \"id\": \"ui.single-leaf-reconciliation\",\n \"sample_count\": 40,\n \"metrics\": [\n { \"name\": \"p95\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 16 },\n { \"name\": \"max\", \"unit\": \"milliseconds\", \"comparator\": \"lte\", \"limit\": 50 }\n ]\n }\n ]\n}\n";
|
|
109
109
|
}, {
|
|
110
110
|
readonly id: "performance-evidence-schema";
|
|
111
111
|
readonly path: "spec/plugin/performance-evidence-v4.schema.json";
|
|
@@ -116,20 +116,20 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
116
116
|
readonly id: "platform-package-publication-schema";
|
|
117
117
|
readonly path: "spec/plugin/platform-package-publication-v2.schema.json";
|
|
118
118
|
readonly version: "platform-package-publication-v2";
|
|
119
|
-
readonly sha256: "
|
|
120
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/platform-package-publication-v2.schema.json\",\n \"title\": \"ReDevPlugin Platform Package Publication V2\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"platform_version\", \"source_commit\", \"workflow\", \"go_module\", \"npm_packages\", \"rust_crates\", \"contract_set_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.platform_package_publication.v2\"},\n \"platform_version\": {\"$ref\": \"#/$defs/version\"},\n \"source_commit\": {\"$ref\": \"#/$defs/commit\"},\n \"workflow\": {\"$ref\": \"#/$defs/workflow\"},\n \"go_module\": {\"$ref\": \"#/$defs/go_module\"},\n \"npm_packages\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/npm_contracts\"},\n {\"$ref\": \"#/$defs/npm_ui\"}\n ],\n \"items\": false\n },\n \"rust_crates\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/rust_runtime\"},\n {\"$ref\": \"#/$defs/rust_worker_sdk\"}\n ],\n \"items\": false\n },\n \"contract_set_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 5,\n \"maxLength\": 64,\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"\n },\n \"commit\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{40}$\"},\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"workflow\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"repository\", \"path\", \"ref\", \"sha\"],\n \"properties\": {\n \"repository\": {\"const\": \"floegence/redevplugin\"},\n \"path\": {\"const\": \".github/workflows/release.yml\"},\n \"ref\": {\"type\": \"string\", \"minLength\": 15, \"maxLength\": 80, \"pattern\": \"^refs/tags/v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"},\n \"sha\": {\"$ref\": \"#/$defs/commit\"}\n }\n },\n \"go_module\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"module\", \"version\", \"h1\", \"go_mod_h1\"],\n \"properties\": {\n \"module\": {\"const\": \"github.com/floegence/redevplugin\"},\n \"version\": {\"type\": \"string\", \"minLength\": 6, \"maxLength\": 65, \"pattern\": \"^v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"},\n \"h1\": {\"type\": \"string\", \"pattern\": \"^h1:[A-Za-z0-9+/]{43}=$\"},\n \"go_mod_h1\": {\"type\": \"string\", \"pattern\": \"^h1:[A-Za-z0-9+/]{43}=$\"}\n }\n },\n \"npm_package\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"integrity\", \"provenance_subject_sha512\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"integrity\": {\"type\": \"string\", \"pattern\": \"^sha512-[A-Za-z0-9+/]{86}==$\"},\n \"provenance_subject_sha512\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{128}$\"}\n }\n },\n \"npm_contracts\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-contracts\"}}}\n ]\n },\n \"npm_ui\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-ui\"}}}\n ]\n },\n \"rust_crate\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"registry_checksum_sha256\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"registry_checksum_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n }\n },\n \"rust_worker_sdk\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-worker-sdk\"}}}\n ]\n },\n \"rust_runtime\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-runtime\"}}}\n ]\n }\n }\n}\n";
|
|
119
|
+
readonly sha256: "1cc7a342b7dda8533324764c7f29fa7a3ca24a93f6015e7a18a17539febd538a";
|
|
120
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/platform-package-publication-v2.schema.json\",\n \"title\": \"ReDevPlugin Platform Package Publication V2\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"platform_version\", \"source_commit\", \"workflow\", \"go_module\", \"npm_packages\", \"rust_crates\", \"contract_set_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.platform_package_publication.v2\"},\n \"platform_version\": {\"$ref\": \"#/$defs/version\"},\n \"source_commit\": {\"$ref\": \"#/$defs/commit\"},\n \"workflow\": {\"$ref\": \"#/$defs/workflow\"},\n \"go_module\": {\"$ref\": \"#/$defs/go_module\"},\n \"npm_packages\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/npm_contracts\"},\n {\"$ref\": \"#/$defs/npm_ui\"}\n ],\n \"items\": false\n },\n \"rust_crates\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/rust_runtime\"},\n {\"$ref\": \"#/$defs/rust_worker_sdk\"}\n ],\n \"items\": false\n },\n \"contract_set_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 5,\n \"maxLength\": 64,\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"\n },\n \"commit\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{40}$\"},\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"workflow\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"repository\", \"path\", \"ref\", \"sha\"],\n \"properties\": {\n \"repository\": {\"const\": \"floegence/redevplugin\"},\n \"path\": {\"const\": \".github/workflows/release.yml\"},\n \"ref\": {\"type\": \"string\", \"minLength\": 15, \"maxLength\": 80, \"pattern\": \"^refs/tags/v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"},\n \"sha\": {\"$ref\": \"#/$defs/commit\"}\n }\n },\n \"go_module\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"module\", \"version\", \"h1\", \"go_mod_h1\"],\n \"properties\": {\n \"module\": {\"const\": \"github.com/floegence/redevplugin/v2\"},\n \"version\": {\"type\": \"string\", \"minLength\": 6, \"maxLength\": 65, \"pattern\": \"^v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"},\n \"h1\": {\"type\": \"string\", \"pattern\": \"^h1:[A-Za-z0-9+/]{43}=$\"},\n \"go_mod_h1\": {\"type\": \"string\", \"pattern\": \"^h1:[A-Za-z0-9+/]{43}=$\"}\n }\n },\n \"npm_package\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"integrity\", \"provenance_subject_sha512\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"integrity\": {\"type\": \"string\", \"pattern\": \"^sha512-[A-Za-z0-9+/]{86}==$\"},\n \"provenance_subject_sha512\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{128}$\"}\n }\n },\n \"npm_contracts\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-contracts\"}}}\n ]\n },\n \"npm_ui\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-ui\"}}}\n ]\n },\n \"rust_crate\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"registry_checksum_sha256\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"registry_checksum_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n }\n },\n \"rust_worker_sdk\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-worker-sdk\"}}}\n ]\n },\n \"rust_runtime\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-runtime\"}}}\n ]\n }\n }\n}\n";
|
|
121
121
|
}, {
|
|
122
122
|
readonly id: "platform-package-set-schema";
|
|
123
123
|
readonly path: "spec/plugin/platform-package-set-v3.schema.json";
|
|
124
124
|
readonly version: "platform-package-set-v3";
|
|
125
|
-
readonly sha256: "
|
|
126
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/platform-package-set-v3.schema.json\",\n \"title\": \"ReDevPlugin Platform Package Set V3\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"platform_version\", \"go_module\", \"npm_packages\", \"rust_crates\", \"contract_registry_version\", \"contract_set_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.platform_package_set.v3\"},\n \"platform_version\": {\"$ref\": \"#/$defs/version\"},\n \"go_module\": {\"$ref\": \"#/$defs/go_module\"},\n \"npm_packages\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/npm_contracts\"},\n {\"$ref\": \"#/$defs/npm_ui\"}\n ],\n \"items\": false\n },\n \"rust_crates\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/rust_runtime\"},\n {\"$ref\": \"#/$defs/rust_worker_sdk\"}\n ],\n \"items\": false\n },\n \"contract_registry_version\": {\"const\": \"contract-registry-v2\"},\n \"contract_set_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 5,\n \"maxLength\": 64,\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"\n },\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"go_module\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"module\", \"version\"],\n \"properties\": {\n \"module\": {\"const\": \"github.com/floegence/redevplugin\"},\n \"version\": {\"type\": \"string\", \"minLength\": 6, \"maxLength\": 65, \"pattern\": \"^v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"}\n }\n },\n \"npm_package\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"}\n }\n },\n \"npm_contracts\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-contracts\"}}}\n ]\n },\n \"npm_ui\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-ui\"}}}\n ]\n },\n \"rust_crate\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"role\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"role\": {\"enum\": [\"runtime\", \"worker_sdk\"]}\n }\n },\n \"rust_worker_sdk\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-worker-sdk\"}, \"role\": {\"const\": \"worker_sdk\"}}}\n ]\n },\n \"rust_runtime\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-runtime\"}, \"role\": {\"const\": \"runtime\"}}}\n ]\n }\n }\n}\n";
|
|
125
|
+
readonly sha256: "8acba305f9df90be10cca516b98a598efc9a4bffd0e3c2915d78385e18397b88";
|
|
126
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/platform-package-set-v3.schema.json\",\n \"title\": \"ReDevPlugin Platform Package Set V3\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"platform_version\", \"go_module\", \"npm_packages\", \"rust_crates\", \"contract_registry_version\", \"contract_set_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.platform_package_set.v3\"},\n \"platform_version\": {\"$ref\": \"#/$defs/version\"},\n \"go_module\": {\"$ref\": \"#/$defs/go_module\"},\n \"npm_packages\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/npm_contracts\"},\n {\"$ref\": \"#/$defs/npm_ui\"}\n ],\n \"items\": false\n },\n \"rust_crates\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 2,\n \"uniqueItems\": true,\n \"prefixItems\": [\n {\"$ref\": \"#/$defs/rust_runtime\"},\n {\"$ref\": \"#/$defs/rust_worker_sdk\"}\n ],\n \"items\": false\n },\n \"contract_registry_version\": {\"const\": \"contract-registry-v2\"},\n \"contract_set_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"version\": {\n \"type\": \"string\",\n \"minLength\": 5,\n \"maxLength\": 64,\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"\n },\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"go_module\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"module\", \"version\"],\n \"properties\": {\n \"module\": {\"const\": \"github.com/floegence/redevplugin/v2\"},\n \"version\": {\"type\": \"string\", \"minLength\": 6, \"maxLength\": 65, \"pattern\": \"^v(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)$\"}\n }\n },\n \"npm_package\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"}\n }\n },\n \"npm_contracts\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-contracts\"}}}\n ]\n },\n \"npm_ui\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/npm_package\"},\n {\"properties\": {\"name\": {\"const\": \"@floegence/redevplugin-ui\"}}}\n ]\n },\n \"rust_crate\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"name\", \"version\", \"role\"],\n \"properties\": {\n \"name\": {\"type\": \"string\", \"minLength\": 1, \"maxLength\": 128},\n \"version\": {\"$ref\": \"#/$defs/version\"},\n \"role\": {\"enum\": [\"runtime\", \"worker_sdk\"]}\n }\n },\n \"rust_worker_sdk\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-worker-sdk\"}, \"role\": {\"const\": \"worker_sdk\"}}}\n ]\n },\n \"rust_runtime\": {\n \"allOf\": [\n {\"$ref\": \"#/$defs/rust_crate\"},\n {\"properties\": {\"name\": {\"const\": \"redevplugin-runtime\"}, \"role\": {\"const\": \"runtime\"}}}\n ]\n }\n }\n}\n";
|
|
127
127
|
}, {
|
|
128
128
|
readonly id: "plugin-platform-openapi";
|
|
129
|
-
readonly path: "spec/openapi/plugin-platform-
|
|
130
|
-
readonly version: "plugin-platform-
|
|
131
|
-
readonly sha256: "
|
|
132
|
-
readonly body: "openapi: 3.1.0\ninfo:\n title: ReDevPlugin Plugin Platform API\n version: plugin-platform-v16\n description: Host-agnostic plugin management, bridge, execution, data, and sandbox routes. Release-ref install and update routes resolve host-controlled package artifacts server-side and do not accept requested trust_state values; external package URL, GitHub repository, and uploaded-package flows use process-local inspection followed by exact-digest confirmed installation; local-import package install/update routes remain explicit developer/import flows and do not accept caller-supplied trust_state values.\nx-redevplugin-query-policy:\n reject_url_query_strings: true\n require_closed_json_bodies: true\n require_exact_origin: true\n csrf:\n get_query: not_required\n post_query: required\n mutation: required\npaths:\n /_redevplugin/api/plugins/{plugin_instance_id}/local-import:\n post:\n operationId: importLocalPackage\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n put:\n operationId: updateLocalPackage\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - name: X-ReDevPlugin-Expected-Management-Revision\n in: header\n required: true\n description: Canonical decimal management revision. Duplicate, combined, empty, or whitespace-padded values are rejected.\n schema: { type: integer, minimum: 1, maximum: 9007199254740991 }\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/inspect:\n post:\n operationId: inspectExternalPackage\n x-redevplugin-route-effect: mutation\n description: Resolves and inspects a package from a caller-selected URL or GitHub repository without installing it. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller.\n requestBody:\n $ref: \"#/components/requestBodies/InspectExternalPackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/upload/inspect:\n post:\n operationId: inspectUploadedExternalPackageInstall\n x-redevplugin-route-effect: mutation\n 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.\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/external-packages/upload/inspect:\n put:\n operationId: inspectUploadedExternalPackageUpdate\n x-redevplugin-route-effect: mutation\n 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.\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - name: X-ReDevPlugin-Expected-Management-Revision\n in: header\n required: true\n description: Canonical decimal management revision. Duplicate, combined, empty, or whitespace-padded values are rejected.\n schema: { type: integer, minimum: 1, maximum: 9007199254740991 }\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/install:\n post:\n operationId: installInspectedPackage\n x-redevplugin-route-effect: mutation\n description: Reopens and installs one unexpired process-local inspection after the user confirms its exact package digest and permission selection. The inspection is bound to the exact authenticated session. Invalid or revoked signatures fail closed; absent or unknown signatures remain manual-update-only but enable by default when required permissions are approved and runtime policy allows activation.\n requestBody:\n $ref: \"#/components/requestBodies/InstallInspectedPackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/InstalledExternalPackageResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/install-release-ref:\n post:\n operationId: installReleaseRef\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/InstallReleaseRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/release-packages/inspect:\n post:\n operationId: inspectReleasePackage\n x-redevplugin-route-effect: mutation\n description: Resolves and fully verifies an exact release reference before installation so one user confirmation can review the Host-derived permissions and package identity. The inspection does not install a plugin, and installation re-verifies the exact release and hashes.\n requestBody:\n $ref: \"#/components/requestBodies/InspectReleasePackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ReleasePackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/enable:\n post:\n operationId: enablePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/EnableRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/disable:\n post:\n operationId: disablePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DisableRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/uninstall:\n post:\n operationId: uninstallPlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/UninstallRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/update-release-ref:\n post:\n operationId: updateReleaseRef\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/UpdateReleaseRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/downgrade:\n post:\n operationId: downgradePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DowngradeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/catalog/query:\n post:\n operationId: listPlugins\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginCatalogResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/icon/{sha256}:\n get:\n operationId: readInstalledPluginIcon\n x-redevplugin-route-effect: query\n description: Returns the content-addressed presentation icon from the installed package asset store.\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - $ref: \"#/components/parameters/SHA256Digest\"\n responses:\n \"200\":\n description: Verified PNG or WebP icon bytes.\n headers:\n ETag: { schema: { type: string } }\n Cache-Control: { schema: { type: string } }\n X-Content-Type-Options: { schema: { type: string, const: nosniff } }\n content:\n image/png: { schema: { type: string, format: binary } }\n image/webp: { schema: { type: string, format: binary } }\n \"304\": { description: The immutable digest matches If-None-Match. }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/features/query:\n post:\n operationId: getPluginFeatures\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginFeaturesResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/platform/compatibility/query:\n post:\n operationId: getPluginPlatformCompatibility\n x-redevplugin-route-effect: query\n description: Returns the host-consumable ReDevPlugin compatibility manifest for the mounted platform artifact set.\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/CompatibilityResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/open:\n post:\n operationId: openPluginSurface\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/OpenSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceBootstrapResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/session/revoke-scope:\n post:\n operationId: revokePluginSessionScope\n x-redevplugin-route-effect: mutation\n description: Irreversibly fences the authenticated session, drains every exact-session platform and runtime resource, and returns only public cumulative counts.\n requestBody:\n $ref: \"#/components/requestBodies/RevokeSessionScopeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SessionScopeRevokeResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/prepare:\n post:\n operationId: preparePluginSurface\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PrepareSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfacePreparationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/bridge-token:\n post:\n operationId: createSurfaceBridgeToken\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/TrustedParentBridgeTokenRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/BridgeTokenResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/assets/read:\n post:\n operationId: readPreparedSurfaceAsset\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/ReadSurfaceAssetRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceAssetResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject:\n post:\n operationId: rejectSurfacePluginConfirmation\n x-redevplugin-route-effect: mutation\n description: Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel.\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/RejectSurfaceConfirmationRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ConfirmationRejectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose:\n post:\n operationId: disposePluginSurface\n x-redevplugin-route-effect: mutation\n 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.\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/DisposeSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceDisposeResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/rpc:\n post:\n operationId: callPluginMethod\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/RPCRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RPCResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/confirmations/prepare:\n post:\n operationId: preparePluginMethodConfirmation\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/PrepareMethodConfirmationRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginMethodConfirmationPreparationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/intents/query:\n post:\n operationId: listPluginIntents\n x-redevplugin-route-effect: query\n description: 'Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ \"intents\": [...] }`.'\n requestBody:\n $ref: \"#/components/requestBodies/ListIntentsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/IntentListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/intents/invoke:\n post:\n operationId: invokePluginIntent\n x-redevplugin-route-effect: mutation\n description: Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks.\n requestBody:\n $ref: \"#/components/requestBodies/InvokeIntentRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RPCResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/query:\n post:\n operationId: listPluginExecutions\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListExecutionsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/release-installs:\n post:\n operationId: startReleaseInstallExecution\n x-redevplugin-route-effect: mutation\n description: Starts or idempotently recovers an owner-bound release installation and returns only its unified Execution identity.\n requestBody:\n $ref: \"#/components/requestBodies/StartReleaseInstallExecutionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/query:\n post:\n operationId: getPluginExecution\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/cancel:\n post:\n operationId: cancelPluginExecution\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/CancelExecutionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/events/query:\n post:\n operationId: listPluginExecutionEvents\n x-redevplugin-route-effect: query\n description: Returns the single ordered event envelope after the caller's last observed execution cursor. Session and surface authorization remain Host-owned transport concerns.\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/ListExecutionEventsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionEventListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/start:\n post:\n operationId: startPluginRuntime\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/StartRuntimeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeHealthResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/stop:\n post:\n operationId: stopPluginRuntime\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/EmptyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeStopResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/recover-enabled:\n post:\n operationId: recoverEnabledPlugins\n x-redevplugin-route-effect: mutation\n description: Returns the Host-owned idempotent recovery snapshot for this startup revision. Repeated calls do not schedule a second recovery pass.\n requestBody:\n $ref: \"#/components/requestBodies/EmptyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RecoverySnapshotResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/recover/retry:\n post:\n operationId: retryPluginRecovery\n x-redevplugin-route-effect: mutation\n description: Retries recovery for one plugin after an explicit user action and updates the Host-owned snapshot.\n requestBody:\n $ref: \"#/components/requestBodies/RetryPluginRecoveryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecoveryResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/health/query:\n post:\n operationId: getPluginRuntimeHealth\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeHealthResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/export:\n post:\n operationId: exportPluginData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/ExportDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataExportResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/export/delete:\n post:\n operationId: deletePluginDataExport\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DeleteDataExportRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataExportDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/import:\n post:\n operationId: importPluginData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/ImportDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataImportResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/query:\n post:\n operationId: listPluginRetainedData\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListRetainedDataQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/delete:\n post:\n operationId: deletePluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DeleteRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataBindingResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/bind:\n post:\n operationId: bindPluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/BindRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataBindingResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/cleanup-expired:\n post:\n operationId: cleanupExpiredPluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/CleanupExpiredRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataCleanupResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/query:\n post:\n operationId: listPluginPermissionGrants\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListPermissionsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/requirements/query:\n post:\n operationId: getPluginPermissionRequirements\n x-redevplugin-route-effect: query\n description: Projects required permissions only from the active plugin version's Host-verified capability contracts.\n requestBody:\n $ref: \"#/components/requestBodies/PermissionRequirementsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionRequirementsResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/grant:\n post:\n operationId: grantPluginPermission\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/GrantPermissionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionMutationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/revoke:\n post:\n operationId: revokePluginPermission\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/RevokePermissionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionMutationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/query:\n post:\n operationId: listPluginSecurityPolicies\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/{plugin_instance_id}/query:\n post:\n operationId: getPluginSecurityPolicy\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyRecordResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/{plugin_instance_id}:\n put:\n operationId: putPluginSecurityPolicy\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PutSecurityPolicyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n delete:\n operationId: deletePluginSecurityPolicy\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/DeleteSecurityPolicyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/diagnostics/query:\n post:\n operationId: listPluginDiagnosticEvents\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListDiagnosticsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DiagnosticEventListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/bind:\n post:\n operationId: bindPluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretBindResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/test:\n post:\n operationId: testPluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretTestResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/delete:\n post:\n operationId: deletePluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings/schema/query:\n post:\n operationId: getPluginSettingsSchema\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/SettingsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSchemaResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings/query:\n post:\n operationId: getPluginSettings\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/SettingsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSnapshotResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings:\n patch:\n operationId: patchPluginSettings\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PatchSettingsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSnapshotResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\ncomponents:\n parameters:\n ExecutionID:\n name: execution_id\n in: path\n required: true\n schema: { type: string }\n PluginInstanceID:\n name: plugin_instance_id\n in: path\n required: true\n schema:\n type: string\n minLength: 1\n pattern: \"^[^./\\\\s](?:[^/]*[^/\\\\s])?$\"\n SHA256Digest:\n name: sha256\n in: path\n required: true\n schema: { type: string, pattern: '^[0-9a-f]{64}$' }\n RequestID:\n name: request_id\n in: path\n required: true\n schema: { type: string, minLength: 1, maxLength: 256 }\n SurfaceInstanceID:\n name: surface_instance_id\n in: path\n required: true\n schema: { type: string }\n responses:\n PlatformErrorResponse:\n description: Closed non-success response for read-only platform operations.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PlatformErrorResponse\"\n MutationPlatformErrorResponse:\n description: Closed non-success response for operations that may change durable platform state.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/MutationPlatformErrorResponse\"\n RPCResponse:\n description: Typed plugin method result. Every asynchronous invocation returns one execution identity.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RPCSuccessResponse\"\n SurfaceBootstrapResponse:\n description: Trusted-parent surface bootstrap. Capability-bearing fields are never forwarded into the opaque iframe or plugin worker.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceBootstrapSuccessResponse\"\n SurfacePreparationResponse:\n description: Trusted-parent asset-session exchange and validated opaque surface document.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfacePreparationSuccessResponse\"\n BridgeTokenResponse:\n description: Trusted-parent plugin gateway token response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/BridgeTokenSuccessResponse\"\n SurfaceAssetResponse:\n description: Trusted-parent package asset response. The plugin receives only a renderer-created blob URL.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceAssetSuccessResponse\"\n SurfaceDisposeResponse:\n description: Surface revocation response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceDisposeSuccessResponse\"\n SessionScopeRevokeResponse:\n description: Completed authenticated-session teardown response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SessionScopeRevokeSuccessResponse\"\n PluginRecordResponse:\n description: Plugin lifecycle response with typed registry trust assessment.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecordSuccessResponse\"\n ExternalPackageInspectionResponse:\n description: Immutable server-computed package inspection and confirmation boundary.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExternalPackageInspectionSuccessResponse\"\n InstalledExternalPackageResponse:\n description: Installed external package with explicit trust, approval, provenance, and update facts.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstalledExternalPackageSuccessResponse\"\n PluginCatalogResponse:\n description: Installed plugin catalog response with typed registry records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginCatalogSuccessResponse\"\n PluginFeaturesResponse:\n description: Closed set of optional host modules configured for this platform.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginFeaturesSuccessResponse\"\n CompatibilityResponse:\n description: Released platform compatibility manifest.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CompatibilitySuccessResponse\"\n PluginMethodConfirmationPreparationResponse:\n description: Prepared plugin method confirmation. The raw confirmation token stays server-side and is never returned to parent JavaScript or the plugin iframe.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginMethodConfirmationPreparationSuccessResponse\"\n ConfirmationRejectionResponse:\n description: Trusted-parent acknowledgement that the pending confirmation was atomically rejected and cannot be replayed.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ConfirmationRejectionSuccessResponse\"\n IntentListResponse:\n description: Enabled plugin intent records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/IntentListSuccessResponse\"\n RetainedDataListResponse:\n description: Retained plugin data list response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataListSuccessResponse\"\n RetainedDataBindingResponse:\n description: Plugin data binding returned after a retained-data mutation.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataBindingSuccessResponse\"\n RetainedDataCleanupResponse:\n description: Retained plugin data cleanup response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataCleanupSuccessResponse\"\n ExecutionResponse:\n description: Host-owned execution state.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionSuccessResponse\"\n ExecutionListResponse:\n description: Host-owned execution records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionListSuccessResponse\"\n ExecutionEventListResponse:\n description: Ordered events from the requested execution cursor.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionEventListSuccessResponse\"\n RuntimeHealthResponse:\n description: Runtime manager and shard health.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RuntimeHealthSuccessResponse\"\n RuntimeStopResponse:\n description: Runtime manager stop acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RuntimeStopSuccessResponse\"\n RecoverySnapshotResponse:\n description: Idempotent Host-owned enabled-plugin recovery snapshot.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RecoverySnapshotSuccessResponse\"\n PluginRecoveryResponse:\n description: Recovery result for one explicitly retried plugin.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecoverySuccessResponse\"\n DataExportResponse:\n description: Plugin data export result.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DataExportSuccessResponse\"\n DataExportDeleteResponse:\n description: Immutable plugin data export deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DataExportDeleteSuccessResponse\"\n DataImportResponse:\n description: Plugin record after the imported dataset becomes active.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecordSuccessResponse\"\n PermissionListResponse:\n description: Permission grants for the requested plugin scope.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionListSuccessResponse\"\n PermissionRequirementsResponse:\n description: Active-version permission requirements derived from Host-verified capability contracts.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionRequirementsSuccessResponse\"\n PermissionMutationResponse:\n description: Permission grant mutation result.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionMutationSuccessResponse\"\n SecurityPolicyListResponse:\n description: Complete list of configured plugin security policies.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyListSuccessResponse\"\n SecurityPolicyRecordResponse:\n description: Complete security policy for one plugin instance.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyRecordSuccessResponse\"\n SecurityPolicyDeleteResponse:\n description: Security policy deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyDeleteSuccessResponse\"\n DiagnosticEventListResponse:\n description: Diagnostic events matching the requested filters.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DiagnosticEventListSuccessResponse\"\n SecretBindResponse:\n description: Secret reference bind acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretBindSuccessResponse\"\n SecretTestResponse:\n description: Secret reference test acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretTestSuccessResponse\"\n SecretDeleteResponse:\n description: Secret reference deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretDeleteSuccessResponse\"\n SettingsSchemaResponse:\n description: Plugin settings schema.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsSchemaSuccessResponse\"\n SettingsSnapshotResponse:\n description: Plugin settings snapshot.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsSnapshotSuccessResponse\"\n ReleasePackageInspectionResponse:\n description: Verified release package facts for the installation review.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ReleasePackageInspectionSuccessResponse\"\n requestBodies:\n InspectExternalPackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InspectExternalPackageRequest\"\n InstallInspectedPackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstallInspectedPackageRequest\"\n InstallReleaseRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstallReleaseRefRequest\"\n InspectReleasePackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InspectReleasePackageRequest\"\n UpdateReleaseRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/UpdateReleaseRefRequest\"\n DowngradeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DowngradeRequest\"\n EnableRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EnableRequest\"\n DisableRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DisableRequest\"\n UninstallRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/UninstallRequest\"\n OpenSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/OpenSurfaceRequest\"\n RevokeSessionScopeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RevokeSessionScopeRequest\"\n EmptyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EmptyRequest\"\n RetryPluginRecoveryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetryPluginRecoveryRequest\"\n EmptyQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EmptyQueryRequest\"\n ListIntentsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListIntentsQueryRequest\"\n ListExecutionsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListExecutionsRequest\"\n StartReleaseInstallExecutionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/StartReleaseInstallExecutionRequest\"\n ListRetainedDataQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListRetainedDataQueryRequest\"\n ListPermissionsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListPermissionsQueryRequest\"\n PermissionRequirementsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionRequirementsQueryRequest\"\n ListDiagnosticsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListDiagnosticsQueryRequest\"\n SettingsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsQueryRequest\"\n PrepareSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PrepareSurfaceRequest\"\n TrustedParentBridgeTokenRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/TrustedParentBridgeTokenRequest\"\n ReadSurfaceAssetRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ReadSurfaceAssetRequest\"\n ListExecutionEventsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListExecutionEventsRequest\"\n CancelExecutionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CancelExecutionRequest\"\n RejectSurfaceConfirmationRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RejectSurfaceConfirmationRequest\"\n DisposeSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DisposeSurfaceRequest\"\n RPCRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RPCRequest\"\n PrepareMethodConfirmationRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PrepareMethodConfirmationRequest\"\n InvokeIntentRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InvokeIntentRequest\"\n StartRuntimeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/StartRuntimeRequest\"\n ExportDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExportDataRequest\"\n DeleteDataExportRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteDataExportRequest\"\n ImportDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ImportDataRequest\"\n DeleteRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteRetainedDataRequest\"\n BindRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/BindRetainedDataRequest\"\n CleanupExpiredRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CleanupExpiredRetainedDataRequest\"\n GrantPermissionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/GrantPermissionRequest\"\n RevokePermissionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RevokePermissionRequest\"\n PutSecurityPolicyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PutSecurityPolicyRequest\"\n DeleteSecurityPolicyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteSecurityPolicyRequest\"\n SecretRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretRefRequest\"\n PatchSettingsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PatchSettingsRequest\"\n schemas:\n PlatformErrorResponse:\n type: object\n required: [ok, error]\n additionalProperties: false\n properties:\n ok: { const: false }\n error:\n $ref: \"#/components/schemas/PlatformError\"\n MutationPlatformErrorResponse:\n type: object\n required: [ok, error]\n additionalProperties: false\n properties:\n ok: { const: false }\n error:\n $ref: \"#/components/schemas/MutationPlatformError\"\n RPCSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RPCResult\" }\n SurfaceBootstrapSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceBootstrap\" }\n SurfacePreparationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfacePreparation\" }\n BridgeTokenSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/BridgeTokenResult\" }\n SurfaceAssetSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceAssetResult\" }\n SurfaceDisposeSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceDisposeResult\" }\n SessionScopeRevokeSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SessionScopeRevokeCompleteResult\" }\n PluginRecordSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRecord\" }\n ExternalPackageInspectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExternalPackageInspection\" }\n InstalledExternalPackageSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/InstalledExternalPackage\" }\n ReleasePackageInspectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ReleasePackageInspection\" }\n PluginCatalogSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginCatalogResult\" }\n PluginFeaturesSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data:\n type: array\n uniqueItems: true\n items:\n type: string\n enum: [release, runtime, capability, connectivity, secrets, core_action, external_package]\n CompatibilitySuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginCompatibilityManifest\" }\n PluginMethodConfirmationPreparationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginMethodConfirmationPreparation\" }\n ConfirmationRejectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ConfirmationRejectionResult\" }\n IntentListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginIntentList\" }\n RetainedDataListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RetainedDataList\" }\n RetainedDataBindingSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataBinding\" }\n RetainedDataCleanupSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RetainedDataCleanupResult\" }\n ExecutionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/Execution\" }\n ExecutionListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExecutionList\" }\n ExecutionEventListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExecutionEventList\" }\n RuntimeHealthSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRuntimeHealth\" }\n RuntimeStopSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRuntimeStopResult\" }\n RecoverySnapshotSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RecoverySnapshot\" }\n PluginRecoverySuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRecoveryResult\" }\n DataExportSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataExportResult\" }\n DataExportDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataExportDeleteResult\" }\n PermissionListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionList\" }\n PermissionRequirementsSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionRequirements\" }\n PermissionMutationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionMutationResult\" }\n SecurityPolicyListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicyList\" }\n SecurityPolicyRecordSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicy\" }\n SecurityPolicyDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicyDeleteResult\" }\n DiagnosticEventListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDiagnosticEventList\" }\n SecretBindSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretBindResult\" }\n SecretTestSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretTestResult\" }\n SecretDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretDeleteResult\" }\n SettingsSchemaSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSettingsSchema\" }\n SettingsSnapshotSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSettingsSnapshot\" }\n PlatformError:\n oneOf:\n - $ref: \"#/components/schemas/GenericPlatformError\"\n - $ref: \"#/components/schemas/JSONLimitPlatformError\"\n - $ref: \"#/components/schemas/PackageValidationPlatformError\"\n - $ref: \"#/components/schemas/ManagementRevisionPlatformError\"\n - $ref: \"#/components/schemas/AuthorizationRevisionPlatformError\"\n - $ref: \"#/components/schemas/BindingRevisionPlatformError\"\n - $ref: \"#/components/schemas/ValuesRevisionPlatformError\"\n - $ref: \"#/components/schemas/CapabilityPlatformError\"\n - $ref: \"#/components/schemas/WorkerPlatformError\"\n MutationPlatformError:\n oneOf:\n - $ref: \"#/components/schemas/MutationGenericPlatformError\"\n - $ref: \"#/components/schemas/MutationJSONLimitPlatformError\"\n - $ref: \"#/components/schemas/MutationPackageValidationPlatformError\"\n - $ref: \"#/components/schemas/MutationManagementRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationAuthorizationRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationBindingRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationValuesRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationCapabilityPlatformError\"\n - $ref: \"#/components/schemas/MutationWorkerPlatformError\"\n - $ref: \"#/components/schemas/MutationSessionTeardownPlatformError\"\n GenericPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code:\n $ref: \"#/components/schemas/GenericPlatformErrorCode\"\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details:\n $ref: \"#/components/schemas/EmptyErrorDetails\"\n JSONLimitPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_JSON_LIMIT_EXCEEDED }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/JSONLimitErrorDetails\" }\n PackageValidationPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code:\n type: string\n enum: [PLUGIN_MANIFEST_INVALID, PLUGIN_PACKAGE_INVALID, PLUGIN_PACKAGE_TOO_LARGE, PLUGIN_PACKAGE_PATH_FORBIDDEN]\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/PackageValidationErrorDetails\" }\n ManagementRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_MANAGEMENT_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ManagementRevisionMismatchDetails\" }\n AuthorizationRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_AUTHORIZATION_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/AuthorizationRevisionMismatchDetails\" }\n BindingRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_BINDING_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/BindingRevisionMismatchDetails\" }\n ValuesRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_VALUES_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ValuesRevisionMismatchDetails\" }\n CapabilityPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_CAPABILITY_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/CapabilityBusinessErrorDetails\" }\n WorkerPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_WORKER_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/WorkerErrorDetails\" }\n MutationGenericPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { $ref: \"#/components/schemas/GenericPlatformErrorCode\" }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/EmptyErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationJSONLimitPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_JSON_LIMIT_EXCEEDED }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/JSONLimitErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationPackageValidationPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code:\n type: string\n enum: [PLUGIN_MANIFEST_INVALID, PLUGIN_PACKAGE_INVALID, PLUGIN_PACKAGE_TOO_LARGE, PLUGIN_PACKAGE_PATH_FORBIDDEN]\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/PackageValidationErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationManagementRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_MANAGEMENT_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ManagementRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationAuthorizationRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_AUTHORIZATION_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/AuthorizationRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationBindingRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_BINDING_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/BindingRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationValuesRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_VALUES_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ValuesRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationCapabilityPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_CAPABILITY_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/CapabilityBusinessErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationWorkerPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_WORKER_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/WorkerErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationSessionTeardownPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_SESSION_TEARDOWN_INCOMPLETE }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/SessionTeardownIncompleteErrorDetails\" }\n mutation_outcome: { const: committed }\n MutationOutcome:\n type: string\n enum: [committed, not_committed, unknown]\n EmptyErrorDetails:\n type: object\n additionalProperties: false\n JSONLimitErrorDetails:\n type: object\n required: [reason]\n additionalProperties: false\n properties:\n reason:\n type: string\n enum: [payload_bytes, json_depth, prototype_key, number_precision]\n PackageValidationErrorDetails:\n type: object\n required: [reason]\n additionalProperties: false\n properties:\n reason:\n type: string\n enum: [manifest_missing, manifest_field, manifest_decode, zip_invalid, file_count, duplicate_entry, ambiguous_entry, non_regular_entry, invalid_utf8_path, non_nfc_path, symlink_entry, directory_entry, entry_bytes, path_length, compression_ratio, total_uncompressed_bytes, entry_open_failed, entry_read_failed, entry_close_failed, entry_size_mismatch, unsupported_signature_entry, manifest_artifact, package_asset_security, package_artifact_boundary, entry_path, manifest_canonical_json, canonical_hash, package_signature, empty_path, slash_separator, non_canonical_path, path_traversal, hidden_path, external_icon_path, unsupported_icon_format, missing_icon_asset, icon_magic_mismatch, query_or_fragment]\n path:\n type: string\n description: Package-local entry path related to the error, when available.\n pointer:\n type: string\n description: JSON Pointer into manifest.json related to the error, when available.\n CapabilityBusinessErrorDetails:\n type: object\n additionalProperties: false\n required: [capability_id, capability_version, detail_schema_sha256, business_error_code]\n properties:\n capability_id:\n type: string\n minLength: 1\n capability_version:\n $ref: \"#/components/schemas/StrictSemVer\"\n detail_schema_sha256:\n type: string\n pattern: \"^[0-9a-f]{64}$\"\n business_error_code:\n type: string\n pattern: \"^[A-Z][A-Z0-9_]*$\"\n business_error_details:\n type: object\n additionalProperties: true\n WorkerErrorDetails:\n type: object\n additionalProperties: false\n required: [worker_error_code, worker_error_message, worker_error_origin]\n properties:\n worker_error_code:\n type: string\n pattern: \"^[A-Z][A-Z0-9_]*$\"\n worker_error_message:\n type: string\n minLength: 1\n maxLength: 4096\n worker_error_origin:\n type: string\n enum: [runtime, hostcall, plugin]\n SessionTeardownIncompleteErrorDetails:\n type: object\n additionalProperties: false\n required: [session_scope]\n properties:\n session_scope:\n $ref: \"#/components/schemas/SessionScopeRevokeIncompleteResult\"\n ManagementRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_management_revision, actual_management_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n AuthorizationRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required:\n - plugin_instance_id\n - expected_policy_revision\n - actual_policy_revision\n - expected_management_revision\n - actual_management_revision\n - expected_revoke_epoch\n - actual_revoke_epoch\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n actual_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n BindingRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_binding_revision, actual_binding_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ValuesRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_values_revision, actual_values_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ErrorCode:\n $ref: \"../plugin/error-codes-v8.schema.json#/$defs/platform_error_code\"\n PlatformErrorMessage:\n type: string\n minLength: 1\n maxLength: 4096\n pattern: \".*\\\\S.*\"\n GenericPlatformErrorCode:\n type: string\n enum:\n - PLUGIN_INVALID_REQUEST\n - PLUGIN_SIGNATURE_INVALID\n - PLUGIN_TRUST_STATE_DENIED\n - PLUGIN_TRUST_VERIFICATION_REQUIRED\n - PLUGIN_TRUST_VERIFICATION_INVALID\n - PLUGIN_RELEASE_REF_VERIFICATION_FAILED\n - PLUGIN_RELEASE_REF_POLICY_DENIED\n - PLUGIN_RELEASE_NETWORK\n - PLUGIN_RELEASE_TIMEOUT\n - PLUGIN_RELEASE_ASSET_MISSING\n - PLUGIN_RELEASE_ASSET_INTEGRITY\n - PLUGIN_INSTALL_INTERRUPTED\n - PLUGIN_INSTALL_STATE_CONFLICT\n - PLUGIN_INTERNAL_FAILURE\n - PLUGIN_DISABLED\n - PLUGIN_DISABLED_BY_POLICY\n - PLUGIN_PERMISSION_DENIED\n - PLUGIN_ORIGIN_DENIED\n - PLUGIN_ACTION_DENIED\n - PLUGIN_OWNER_SCOPE_MISMATCH\n - PLUGIN_SECRET_SCOPE_MISMATCH\n - PLUGIN_STORAGE_SCOPE_MISMATCH\n - PLUGIN_ADAPTER_FAILURE\n - PLUGIN_SESSION_REVOKED\n - PLUGIN_SESSION_TEARDOWN_INCOMPLETE\n - PLUGIN_SESSION_FENCE_CAPACITY\n - PLUGIN_CONFIRMATION_REQUIRED\n - PLUGIN_CONFIRMATION_INVALID\n - PLUGIN_TOKEN_EXPIRED\n - PLUGIN_TOKEN_REPLAY\n - PLUGIN_GATEWAY_TOKEN_INVALID\n - PLUGIN_GATEWAY_TOKEN_REPLAYED\n - PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH\n - PLUGIN_ASSET_TICKET_INVALID\n - PLUGIN_ASSET_SESSION_INVALID\n - PLUGIN_STREAM_TICKET_INVALID\n - PLUGIN_STREAM_DELIVERY_INVALID\n - PLUGIN_STREAM_CANCELLED\n - PLUGIN_LEASE_INVALID\n - PLUGIN_LEASE_REPLAYED\n - PLUGIN_GRANT_INVALID\n - PLUGIN_STORAGE_QUOTA_EXCEEDED\n - PLUGIN_EXECUTION_BLOCKED\n - PLUGIN_EXECUTION_NOT_FOUND\n - PLUGIN_EXECUTION_NOT_CANCELABLE\n - PLUGIN_NETWORK_TARGET_DENIED\n - PLUGIN_NETWORK_RATE_LIMITED\n - PLUGIN_RUNTIME_UNAVAILABLE\n - PLUGIN_RUNTIME_VERSION_MISMATCH\n - PLUGIN_RUNTIME_CONTRACT_MISMATCH\n - PLUGIN_UI_PROTOCOL_UNSUPPORTED\n - PLUGIN_UI_PROTOCOL_VIOLATION\n - PLUGIN_SURFACE_QUIESCE_TIMEOUT\n - PLUGIN_CONTRACT_MISMATCH\n - PLUGIN_CSRF_REQUIRED\n - PLUGIN_CSRF_INVALID\n - PLUGIN_FEATURE_NOT_CONFIGURED\n SurfaceDisposeResult:\n type: object\n required: [disposed, state, previous_state, revoked]\n additionalProperties: false\n properties:\n disposed: { const: true }\n state: { type: string, enum: [closed, absent] }\n previous_state: { type: string, enum: [active, closed, absent] }\n revoked: { type: boolean }\n SessionScopeRevokeCounts:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/revoke_counts\"\n SessionScopeRevokeResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/public_revoke_result\"\n SessionScopeRevokeCompleteResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/complete_revoke_result\"\n SessionScopeRevokeIncompleteResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/incomplete_revoke_result\"\n PluginActionState:\n type: object\n required: [can_open, can_enable, can_disable, can_uninstall]\n additionalProperties: false\n properties:\n can_open: { type: boolean }\n can_enable: { type: boolean }\n can_disable: { type: boolean }\n can_uninstall: { type: boolean }\n blocked_reason:\n type: string\n enum:\n - disabled\n - permission_required\n - policy_restricted\n - package_invalid\n - signature_invalid\n - signature_revoked\n - runtime_unavailable\n - incompatible\n recovery_action: { type: string, enum: [retry] }\n PluginCatalogRecord:\n unevaluatedProperties: false\n allOf:\n - $ref: \"#/components/schemas/PluginRecord\"\n - type: object\n required: [action_state]\n properties:\n action_state: { $ref: \"#/components/schemas/PluginActionState\" }\n PluginCatalogResult:\n type: object\n required: [plugins]\n additionalProperties: false\n properties:\n plugins:\n type: array\n items: { $ref: \"#/components/schemas/PluginCatalogRecord\" }\n PluginCompatibilityManifest:\n $ref: \"../plugin/compatibility-manifest-v19.schema.json\"\n ExecutionList:\n type: object\n required: [executions]\n additionalProperties: false\n properties:\n executions:\n type: array\n items: { $ref: \"#/components/schemas/Execution\" }\n next_cursor: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExecutionEventList:\n type: object\n required: [execution_id, events, cursor]\n additionalProperties: false\n properties:\n execution_id: { type: string, minLength: 1 }\n events:\n type: array\n items: { $ref: \"#/components/schemas/Event\" }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n PluginIntentRecord:\n type: object\n required: [plugin_id, plugin_instance_id, publisher_id, display_name, version, active_fingerprint, intent_id, method, effect, execution]\n additionalProperties: false\n properties:\n plugin_id: { type: string }\n plugin_instance_id: { type: string }\n publisher_id: { type: string }\n display_name: { type: string }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string }\n intent_id: { type: string }\n method: { type: string }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n execution: { type: string, enum: [sync, operation, subscription] }\n payload_schema:\n type: object\n additionalProperties: true\n PluginIntentList:\n type: object\n required: [intents]\n additionalProperties: false\n properties:\n intents:\n type: array\n items: { $ref: \"#/components/schemas/PluginIntentRecord\" }\n PluginPermissionGrant:\n type: object\n description: Explicit public HTTP projection of a permission grant. Internal actor ownership hashes are never returned.\n required: [plugin_instance_id, permission_id, effect, granted_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n permission_id: { type: string }\n effect: { type: string, enum: [grant, deny] }\n granted_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n revoked_at: { type: string, format: date-time }\n revoked_reason: { type: string }\n PluginPermissionList:\n type: object\n required: [permissions]\n additionalProperties: false\n properties:\n permissions:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionGrant\" }\n PluginPermissionRequirementMethod:\n type: object\n required: [method, required_permissions]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n PluginPermissionRequirementContract:\n type: object\n required: [contract_id, contract_version, contract_sha256, capability_id, capability_version, methods]\n additionalProperties: false\n properties:\n contract_id: { type: string, minLength: 1 }\n contract_version: { type: string, minLength: 1 }\n contract_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n capability_id: { type: string, minLength: 1 }\n capability_version: { type: string, minLength: 1 }\n methods:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionRequirementMethod\" }\n PluginPermissionRequirements:\n type: object\n required: [plugin_instance_id, plugin_version, active_fingerprint, management_revision, contracts, required_permissions]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n plugin_version: { type: string, minLength: 1 }\n active_fingerprint: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n contracts:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionRequirementContract\" }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n AuthorizationRevisions:\n type: object\n required: [policy_revision, management_revision, revoke_epoch]\n additionalProperties: false\n properties:\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n PluginPermissionMutationResult:\n type: object\n required: [permission, revisions]\n additionalProperties: false\n properties:\n permission: { $ref: \"#/components/schemas/PluginPermissionGrant\" }\n revisions: { $ref: \"#/components/schemas/AuthorizationRevisions\" }\n PluginSecurityPolicy:\n type: object\n required: [plugin_instance_id, allowed_permissions, denied_methods, policy_revision, management_revision, revoke_epoch, updated_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n allowed_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n denied_methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n updated_at: { type: string, format: date-time }\n PluginSecurityPolicyList:\n type: object\n required: [security_policies]\n additionalProperties: false\n properties:\n security_policies:\n type: array\n items: { $ref: \"#/components/schemas/PluginSecurityPolicy\" }\n PluginSecurityPolicyDeleteResult:\n type: object\n required: [plugin_instance_id, deleted, policy_revision, management_revision, revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n deleted: { const: true }\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n DiagnosticMutationOutcome:\n type: string\n enum: [committed, not_committed, unknown]\n PluginDiagnosticDetails:\n type: object\n additionalProperties: false\n properties:\n executions_deleted: { type: integer, minimum: 0, maximum: 9007199254740991 }\n execution_id: { type: string }\n invocation_id: { type: string }\n method: { type: string }\n failure_code: { type: string }\n runtime_process_failure_code:\n $ref: \"../plugin/error-codes-v8.schema.json#/$defs/runtime_process_failure_code\"\n runtime_instance_id: { type: string }\n runtime_generation_id: { type: string }\n runtime_version: { type: string }\n rust_ipc_version: { type: string }\n wasm_abi_version: { type: string }\n contract_set_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n runtime_target_os: { type: string }\n runtime_target_arch: { type: string }\n runtime_binary_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n os: { type: string }\n arch: { type: string }\n stream: { type: string }\n package_hash: { type: string }\n artifact: { type: string }\n plugin_instance_id: { type: string }\n store_id: { type: string }\n operation: { type: string }\n hostcall: { type: string }\n code: { type: string }\n connector_id: { type: string }\n transport: { type: string }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n stage_id: { type: string }\n reason: { type: string }\n surface_instance_id: { type: string }\n PluginDiagnosticEvent:\n type: object\n required: [type, severity, message]\n additionalProperties: false\n properties:\n event_id: { type: string }\n type: { type: string }\n severity: { type: string, enum: [info, warning] }\n message: { type: string }\n plugin_id: { type: string }\n plugin_instance_id: { type: string }\n surface_id: { type: string }\n surface_instance_id: { type: string }\n active_fingerprint: { type: string }\n request_id: { type: string }\n correlation_id: { type: string }\n mutation_outcome: { $ref: \"#/components/schemas/DiagnosticMutationOutcome\" }\n occurred_at: { type: string, format: date-time }\n details: { $ref: \"#/components/schemas/PluginDiagnosticDetails\" }\n PluginDiagnosticEventList:\n type: object\n required: [diagnostic_events]\n additionalProperties: false\n properties:\n diagnostic_events:\n type: array\n items: { $ref: \"#/components/schemas/PluginDiagnosticEvent\" }\n PluginRuntimeShardHealth:\n type: object\n description: Explicit public HTTP projection of runtime shard health. IPC channel credentials and connection nonces are excluded.\n required: [runtime_shard_id, runtime_instance_id, runtime_generation_id, descriptor, ready, active_invocations, queued_invocations, limits, module_cache]\n additionalProperties: false\n properties:\n runtime_shard_id: { type: string }\n runtime_instance_id: { type: string }\n runtime_generation_id: { type: string }\n descriptor: { $ref: \"#/components/schemas/RuntimeDescriptor\" }\n ready: { type: boolean }\n active_invocations: { type: integer, minimum: 0 }\n queued_invocations: { type: integer, minimum: 0 }\n limits: { $ref: \"#/components/schemas/RuntimeLimits\" }\n module_cache: { $ref: \"#/components/schemas/RuntimeModuleCacheMetrics\" }\n PluginRuntimeHealth:\n type: object\n description: Explicit public HTTP projection of runtime manager health.\n required: [ready, descriptor, shards]\n additionalProperties: false\n properties:\n ready: { type: boolean }\n descriptor: { $ref: \"#/components/schemas/RuntimeDescriptor\" }\n shards:\n type: array\n items: { $ref: \"#/components/schemas/PluginRuntimeShardHealth\" }\n RuntimeTarget:\n oneOf:\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: darwin }\n arch: { const: amd64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: darwin }\n arch: { const: arm64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: linux }\n arch: { const: amd64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: linux }\n arch: { const: arm64 }\n RuntimeAdmissionTarget:\n type: string\n enum: [linux/amd64, linux/arm64]\n StrictSemVer:\n type: string\n pattern: '^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$'\n RuntimeDescriptor:\n type: object\n required: [schema_version, platform_version, target, rust_ipc_version, wasm_abi_version, contract_set_sha256, binary_sha256]\n additionalProperties: false\n properties:\n schema_version: { const: runtime-descriptor-v2 }\n platform_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n target: { $ref: \"#/components/schemas/RuntimeAdmissionTarget\" }\n rust_ipc_version: { const: rust-ipc-v6 }\n wasm_abi_version: { const: redevplugin-wasm-worker-v2 }\n contract_set_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n binary_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n RuntimeLimits:\n type: object\n description: \"Negotiated runtime capacities. per_plugin_concurrency must not exceed worker_count. Route capacities are derived exactly from negotiated limits: active hostcall routes = worker_count, canceled hostcall retention = worker_count + queue_capacity, and compile-flight artifact routes = worker_count.\"\n required: [worker_count, queue_capacity, per_plugin_concurrency, module_cache_entries, module_cache_source_bytes]\n additionalProperties: false\n properties:\n worker_count: { type: integer, minimum: 1, maximum: 64, description: \"Number of runtime worker threads.\" }\n queue_capacity: { type: integer, minimum: 1, maximum: 64, description: \"Maximum queued worker invocations.\" }\n per_plugin_concurrency: { type: integer, minimum: 1, maximum: 64, description: \"Maximum concurrent invocations for one plugin; must not exceed worker_count.\" }\n module_cache_entries: { type: integer, minimum: 1, maximum: 1024, description: \"Maximum compiled modules retained by the runtime cache.\" }\n module_cache_source_bytes: { type: integer, minimum: 1, maximum: 134217728, description: \"Maximum source WASM bytes retained by the runtime cache (128 MiB).\" }\n RuntimeModuleCacheMetrics:\n type: object\n required: [hits, misses, compiles, entries, source_bytes]\n additionalProperties: false\n properties:\n hits: { type: integer, minimum: 0, maximum: 9007199254740991 }\n misses: { type: integer, minimum: 0, maximum: 9007199254740991 }\n compiles: { type: integer, minimum: 0, maximum: 9007199254740991 }\n entries: { type: integer, minimum: 0, maximum: 1024 }\n source_bytes: { type: integer, minimum: 0, maximum: 134217728 }\n PluginRuntimeStopResult:\n type: object\n required: [stopped]\n additionalProperties: false\n properties:\n stopped: { const: true }\n RecoverySnapshot:\n type: object\n required: [revision, complete, results]\n additionalProperties: false\n properties:\n revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n complete: { type: boolean }\n results:\n type: array\n items: { $ref: \"#/components/schemas/PluginRecoveryResult\" }\n PluginRecoveryResult:\n type: object\n required: [plugin_instance_id, status]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n status:\n type: string\n enum: [ready, failed]\n reason:\n type: string\n enum: [unknown, trust_state_advanced, trust_revoked, recovery_canceled, recovery_timeout]\n action:\n type: string\n enum: [retry, reinstall, contact_admin]\n RetryPluginRecoveryRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n PluginDataExportResult:\n type: object\n required: [bundle_ref]\n additionalProperties: false\n properties:\n bundle_ref: { type: string, minLength: 1 }\n PluginDataExportDeleteResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted: { const: true }\n PluginSecretBindResult:\n type: object\n required: [bound]\n additionalProperties: false\n properties:\n bound: { const: true }\n PluginSecretTestResult:\n type: object\n required: [tested]\n additionalProperties: false\n properties:\n tested: { const: true }\n PluginSecretDeleteResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted: { const: true }\n PluginSettingsField:\n type: object\n required: [key, type, label, scope]\n additionalProperties: false\n properties:\n key: { type: string }\n type: { type: string }\n label: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n default: true\n secret_ref: { type: string }\n options:\n type: array\n items: { type: string }\n validation:\n type: object\n additionalProperties: true\n PluginSettingsSchema:\n type: object\n description: Explicit public HTTP projection of the settings schema for one owner scope.\n required: [plugin_instance_id, scope, schema_version, fields, values_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n schema_version: { type: integer, minimum: 1 }\n fields:\n type: array\n items: { $ref: \"#/components/schemas/PluginSettingsField\" }\n values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n PluginSettingsSnapshot:\n type: object\n description: Explicit public HTTP projection of settings values and redacted secret metadata for one owner scope.\n required: [plugin_instance_id, scope, schema_version, values_revision, values, secret_metadata]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n schema_version: { type: integer, minimum: 1 }\n values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n values:\n type: object\n additionalProperties: true\n secret_metadata:\n type: array\n items: { $ref: \"#/components/schemas/PluginSettingsSecretMetadata\" }\n PluginSettingsSecretMetadata:\n type: object\n required: [key, secret_ref, scope, bound]\n additionalProperties: false\n properties:\n key: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { type: string, enum: [user, environment] }\n bound: { type: boolean }\n last_test_status: { type: string }\n bound_at: { type: string, format: date-time }\n tested_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n ExternalPackageIntentRequest:\n description: Closed install or update intent. Update concurrency values are supplied by the caller, while package identity is always derived from the inspected artifact.\n oneOf:\n - type: object\n required: [action]\n additionalProperties: false\n properties:\n action: { const: install }\n - type: object\n required: [action, plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n action: { const: update }\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExternalPackageIntent:\n description: Server-resolved install or update intent. The platform generates the install instance identifier during inspection.\n oneOf:\n - type: object\n required: [action, plugin_instance_id]\n additionalProperties: false\n properties:\n action: { const: install }\n plugin_instance_id: { type: string, minLength: 1 }\n - type: object\n required: [action, plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n action: { const: update }\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExternalPackageSource:\n description: Caller-selected external source. Redirect resolution, package hashes, identity, and provenance are derived by the platform.\n oneOf:\n - type: object\n required: [kind, url]\n additionalProperties: false\n properties:\n kind: { const: package_url }\n url: { type: string, format: uri, minLength: 1 }\n - type: object\n required: [kind, url]\n additionalProperties: false\n properties:\n kind: { const: github_repository }\n url: { type: string, format: uri, minLength: 1 }\n tag:\n type: string\n minLength: 1\n maxLength: 255\n description: Optional exact release tag. When omitted, the resolver selects the repository's latest eligible release.\n InspectExternalPackageRequest:\n type: object\n description: Requests server-side inspection. Trust, hashes, package identity, approval, provenance, signature assessment, and update eligibility are intentionally not caller-controlled.\n required: [intent, source]\n additionalProperties: false\n properties:\n intent: { $ref: \"#/components/schemas/ExternalPackageIntentRequest\" }\n source: { $ref: \"#/components/schemas/ExternalPackageSource\" }\n InstallInspectedPackageRequest:\n type: object\n description: Confirms an unexpired process-local inspection by its exact package digest and carries the single Host-owned activation intent. New installs activate by default; updates preserve their pre-install enable intent.\n required: [inspection_id, expected_package_sha256]\n additionalProperties: false\n properties:\n inspection_id: { type: string, minLength: 1 }\n expected_package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n activate_after_install: { type: boolean }\n approved_permission_ids:\n type: array\n maxItems: 256\n uniqueItems: true\n items: { type: string, minLength: 1, maxLength: 256 }\n InspectReleasePackageRequest:\n type: object\n required: [plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref: { $ref: \"#/components/schemas/PluginReleaseRef\" }\n ExternalPackageSignatureAssessment:\n type: object\n description: Cryptographic signature fact computed over the inspected artifact. The absent state is installable and affects trust classification and automatic-update eligibility only.\n required: [state, reason_codes, assessed_hashes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [verified, absent, unknown_signer, invalid, revoked, unavailable]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n algorithm: { type: string, minLength: 1 }\n key_id: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n assessment_epoch: { type: string, minLength: 1 }\n ExternalPackageRedirectHop:\n type: object\n description: Credential-free redirect projection. Userinfo, query strings, and fragments are never exposed.\n required: [origin, path]\n additionalProperties: false\n properties:\n origin: { type: string, format: uri, minLength: 1 }\n path: { type: string, pattern: \"^/\" }\n ExternalPackageSourceProvenance:\n description: Stable, credential-free source provenance computed after URL, GitHub release, or uploaded-package resolution. Upload identifiers are opaque server-generated values and cannot be supplied by callers.\n oneOf:\n - type: object\n required: [kind, source_origin, source_path, redirect_chain, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: package_url }\n source_origin: { type: string, format: uri, minLength: 1 }\n source_path: { type: string, pattern: \"^/\" }\n redirect_chain:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageRedirectHop\" }\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n - type: object\n required: [kind, upload_id, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: package_upload }\n upload_id:\n type: string\n minLength: 1\n description: Opaque server-generated identifier for the staged uploaded artifact.\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n - type: object\n required: [kind, repository_id, release_id, asset_id, repository_url, owner, repository, resolved_commit_sha, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: github_repository }\n repository_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub repository database ID encoded as decimal text.\n release_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub release database ID encoded as decimal text.\n asset_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub release asset database ID encoded as decimal text.\n repository_url: { type: string, format: uri, minLength: 1 }\n owner:\n type: string\n minLength: 1\n description: Display-only owner login; repository_id remains authoritative across renames.\n repository:\n type: string\n minLength: 1\n description: Display-only repository name; repository_id remains authoritative across renames.\n resolved_commit_sha: { type: string, pattern: \"^[0-9a-f]{40}$\" }\n release_tag: { type: string, minLength: 1 }\n asset_name: { type: string, minLength: 1 }\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n ExternalPackageExecutionApproval:\n type: object\n description: Execution decision independent from signature state. Session and owner hashes are excluded from this public projection.\n required: [state, reason_codes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [pending, user_approved, policy_approved, policy_blocked]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n approved_at: { type: string, format: date-time }\n ExternalPackageUpdateEligibility:\n type: object\n description: Automatic-update decision. Unsigned or otherwise unverified packages remain installable but are normally manual-only.\n required: [state, reason_codes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [manual_only, automatic_eligible]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n ExternalPackagePermissionSummary:\n type: object\n required: [permission_id, methods]\n additionalProperties: false\n properties:\n permission_id: { type: string, minLength: 1 }\n methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n ExternalPackageMethodRouteSummary:\n type: object\n required: [kind]\n additionalProperties: false\n properties:\n kind: { type: string, enum: [capability, worker, core_action] }\n binding_id: { type: string, minLength: 1 }\n target_method: { type: string, minLength: 1 }\n worker_id: { type: string, minLength: 1 }\n action_id: { type: string, minLength: 1 }\n ExternalPackageConfirmationSummary:\n type: object\n required: [mode, request_hash_fields, plan_hash_required]\n additionalProperties: false\n properties:\n mode: { type: string, enum: [none, required, risk_based] }\n preflight_method: { type: string, minLength: 1 }\n request_hash_fields:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n plan_hash_required: { type: boolean }\n ExternalPackageCancelSummary:\n type: object\n required: [cancelable, disable_behavior, uninstall_behavior, ack_timeout_ms]\n additionalProperties: false\n properties:\n cancelable: { type: boolean }\n disable_behavior: { type: string, enum: [cancel, orphan, wait] }\n uninstall_behavior: { type: string, enum: [cancel_then_block_delete, force_cleanup_allowed] }\n ack_timeout_ms: { type: integer, minimum: 0 }\n ExternalPackageMethodSummary:\n type: object\n required: [method, route, effect, execution, dangerous, preflight_only, required_permissions, confirmation]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n route: { $ref: \"#/components/schemas/ExternalPackageMethodRouteSummary\" }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n execution: { type: string, enum: [sync, operation, subscription] }\n dangerous: { type: boolean }\n preflight_only: { type: boolean }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n confirmation: { $ref: \"#/components/schemas/ExternalPackageConfirmationSummary\" }\n cancel: { $ref: \"#/components/schemas/ExternalPackageCancelSummary\" }\n ExternalPackageCapabilityContractSummary:\n type: object\n required: [binding_id, capability_id, capability_version, contract_sha256]\n additionalProperties: false\n properties:\n binding_id: { type: string, minLength: 1 }\n capability_id: { type: string, minLength: 1 }\n capability_version: { type: string, minLength: 1 }\n contract_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n ExternalPackageWorkerSummary:\n type: object\n required: [worker_id, artifact, abi, mode, scope, memory_limit_bytes, idle_timeout_ms]\n additionalProperties: false\n properties:\n worker_id: { type: string, minLength: 1 }\n artifact: { type: string, minLength: 1 }\n abi: { const: redevplugin-wasm-worker-v2 }\n mode: { const: job }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n memory_limit_bytes: { type: integer, minimum: 1, maximum: 268435456 }\n idle_timeout_ms: { type: integer, minimum: 0 }\n ExternalPackageNetworkMethodAccessSummary:\n type: object\n required: [method, operations, http_methods]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n operations:\n type: array\n uniqueItems: true\n items: { type: string, enum: [http, http_stream, websocket_round_trip, tcp_round_trip, udp_round_trip] }\n http_methods:\n type: array\n uniqueItems: true\n items: { type: string, enum: [GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS] }\n ExternalPackageNetworkSummary:\n type: object\n required: [connector_id, transport, scope, destinations, auth_declared, tls_declared, method_access]\n additionalProperties: false\n properties:\n connector_id: { type: string, minLength: 1 }\n transport: { type: string, enum: [http, websocket, tcp, udp] }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n destinations:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n auth_declared: { type: boolean }\n tls_declared: { type: boolean }\n method_access:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageNetworkMethodAccessSummary\" }\n ExternalPackageStorageMethodAccessSummary:\n type: object\n required: [method, operations]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n operations:\n type: array\n uniqueItems: true\n items: { type: string, enum: [read, write, delete, list, get, put, query, exec] }\n ExternalPackageStorageSummary:\n type: object\n required: [store_id, kind, scope, quota_bytes, schema_version, method_access]\n additionalProperties: false\n properties:\n store_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [kv, files, sqlite] }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n quota_bytes: { type: integer, minimum: 1, maximum: 1073741824 }\n quota_files: { type: integer, minimum: 1, maximum: 100000 }\n schema_version: { type: integer, minimum: 1 }\n method_access:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageStorageMethodAccessSummary\" }\n ExternalPackageSecretRefSummary:\n type: object\n required: [setting_key, secret_ref, scope]\n additionalProperties: false\n properties:\n setting_key: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n ExternalPackageCoreActionSummary:\n type: object\n required: [method, action_id, effect]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n action_id: { type: string, minLength: 1 }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n ExternalPackageIntentSummary:\n type: object\n required: [intent_id, method]\n additionalProperties: false\n properties:\n intent_id: { type: string, minLength: 1 }\n method: { type: string, minLength: 1 }\n ExternalPackageSurfaceSummary:\n type: object\n required: [surface_id, kind, intent, label, entry]\n additionalProperties: false\n properties:\n surface_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [view, command, background] }\n intent: { type: string, enum: [primary, secondary, utility] }\n label: { type: string, minLength: 1 }\n entry: { type: string, minLength: 1 }\n icon: { type: string, minLength: 1 }\n default_size: { $ref: \"#/components/schemas/ExternalPackageSizeSummary\" }\n ExternalPackageSizeSummary:\n type: object\n required: [width, height]\n additionalProperties: false\n properties:\n width: { type: integer, minimum: 1 }\n height: { type: integer, minimum: 1 }\n ExternalPackageSecuritySummary:\n type: object\n description: Closed, display-ready projection of every security-relevant declaration in the inspected manifest.\n required: [summary_sha256, permissions, methods, capability_contracts, workers, network, storage, secret_refs, core_actions, intents, surfaces]\n additionalProperties: false\n properties:\n summary_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n permissions:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackagePermissionSummary\" }\n methods:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageMethodSummary\" }\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageCapabilityContractSummary\" }\n workers:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageWorkerSummary\" }\n network:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageNetworkSummary\" }\n storage:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageStorageSummary\" }\n secret_refs:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageSecretRefSummary\" }\n core_actions:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageCoreActionSummary\" }\n intents:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageIntentSummary\" }\n surfaces:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageSurfaceSummary\" }\n SettingOptionPresentation:\n type: object\n required: [value, label]\n additionalProperties: false\n properties:\n value: { type: string, minLength: 1, maxLength: 128 }\n label: { type: string, minLength: 1, maxLength: 128 }\n ResolvedSurfacePresentation:\n type: object\n required: [surface_id, label]\n additionalProperties: false\n properties:\n surface_id: { type: string, minLength: 1 }\n label: { type: string, minLength: 1, maxLength: 128 }\n ResolvedSettingPresentation:\n type: object\n required: [key, label, options]\n additionalProperties: false\n properties:\n key: { type: string, minLength: 1 }\n label: { type: string, minLength: 1, maxLength: 128 }\n options:\n type: array\n items: { $ref: \"#/components/schemas/SettingOptionPresentation\" }\n PresentationIcon:\n type: object\n required: [path]\n additionalProperties: false\n properties:\n path:\n type: string\n minLength: 1\n pattern: \"^[A-Za-z0-9_][A-Za-z0-9_.-]*(?:/[A-Za-z0-9_][A-Za-z0-9_.-]*)*\\\\.(?:[Pp][Nn][Gg]|[Ww][Ee][Bb][Pp])$\"\n PresentationLocale:\n type: object\n required: [locale, plugin_name, summary, description, highlights, keywords, surfaces, settings]\n additionalProperties: false\n properties:\n locale: { type: string, minLength: 2, maxLength: 255 }\n plugin_name: { type: string, minLength: 1, maxLength: 128 }\n publisher_name: { type: string, minLength: 1, maxLength: 128 }\n summary: { type: string, minLength: 1, maxLength: 240 }\n description:\n type: array\n minItems: 1\n maxItems: 12\n items: { type: string, minLength: 1, maxLength: 1000 }\n highlights:\n type: array\n maxItems: 8\n items: { type: string, minLength: 1, maxLength: 240 }\n keywords:\n type: array\n minItems: 1\n maxItems: 12\n items: { type: string, minLength: 1, maxLength: 64 }\n surfaces:\n type: array\n items: { $ref: \"#/components/schemas/ResolvedSurfacePresentation\" }\n settings:\n type: array\n items: { $ref: \"#/components/schemas/ResolvedSettingPresentation\" }\n PresentationCatalog:\n type: object\n required: [default_locale, locales]\n additionalProperties: false\n properties:\n default_locale: { type: string, minLength: 2, maxLength: 255 }\n icon: { $ref: \"#/components/schemas/PresentationIcon\" }\n locales:\n type: array\n minItems: 1\n maxItems: 16\n items: { $ref: \"#/components/schemas/PresentationLocale\" }\n ExternalPackageInspection:\n type: object\n description: Immutable inspection projection. Package identity and all four trust/security facts are server-derived.\n required: [inspection_id, expires_at, intent, publisher_id, plugin_id, version, presentation, presentation_sha256, inspected_hashes, signature_assessment, source_provenance, execution_approval, update_eligibility, security_summary]\n additionalProperties: false\n properties:\n inspection_id: { type: string, minLength: 1 }\n expires_at: { type: string, format: date-time }\n intent: { $ref: \"#/components/schemas/ExternalPackageIntent\" }\n publisher_id: { type: string, minLength: 1 }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n inspected_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n signature_assessment: { $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\" }\n source_provenance: { $ref: \"#/components/schemas/ExternalPackageSourceProvenance\" }\n execution_approval: { $ref: \"#/components/schemas/ExternalPackageExecutionApproval\" }\n update_eligibility: { $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n InstalledExternalPackage:\n type: object\n required: [plugin, activation, signature_assessment, source_provenance, execution_approval, update_eligibility, security_summary]\n additionalProperties: false\n properties:\n plugin: { $ref: \"#/components/schemas/PluginRecord\" }\n activation: { $ref: \"#/components/schemas/PluginInstallActivation\" }\n signature_assessment: { $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\" }\n source_provenance: { $ref: \"#/components/schemas/ExternalPackageSourceProvenance\" }\n execution_approval: { $ref: \"#/components/schemas/ExternalPackageExecutionApproval\" }\n update_eligibility: { $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n PluginInstallActivation:\n type: object\n required: [status]\n additionalProperties: false\n properties:\n status:\n type: string\n enum: [not_requested, enabled, needs_attention]\n missing_permission_ids:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n next_action:\n type: string\n enum: [approve_permissions, retry_activation]\n ReleasePackageInspection:\n type: object\n required: [plugin_instance_id, release_ref, inspected_hashes, presentation, presentation_sha256, security_summary]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref: { $ref: \"#/components/schemas/PluginReleaseRef\" }\n inspected_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n TrustState:\n type: string\n enum: [verified, unsigned_local, untrusted, needs_review, trust_unavailable, blocked_security]\n TrustHashSet:\n type: object\n required: [package_sha256, manifest_sha256, entries_sha256]\n additionalProperties: false\n properties:\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n manifest_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n entries_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n VerifiedSignature:\n type: object\n required: [algorithm, key_id]\n additionalProperties: false\n properties:\n algorithm: { type: string, minLength: 1 }\n key_id: { type: string, minLength: 1 }\n TrustAssessment:\n type: object\n required: [trust_state, verified_hashes]\n additionalProperties: false\n properties:\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n reason_codes:\n type: array\n items: { type: string }\n verified_hashes:\n $ref: \"#/components/schemas/TrustHashSet\"\n verified_signature:\n $ref: \"#/components/schemas/VerifiedSignature\"\n trust_assessment_epoch: { type: string }\n policy_epoch: { type: string }\n revocation_epoch: { type: string }\n metadata:\n type: object\n additionalProperties: { type: string }\n PluginVersion:\n type: object\n required: [version, active_fingerprint, package_hash, manifest_hash, entries_hash, trust_state, trust_assessment, manifest, presentation, presentation_sha256, package_entries, activated_at]\n additionalProperties: false\n properties:\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string, minLength: 1 }\n package_hash: { type: string, minLength: 1 }\n manifest_hash: { type: string, minLength: 1 }\n entries_hash: { type: string, minLength: 1 }\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n trust_assessment:\n $ref: \"#/components/schemas/TrustAssessment\"\n source_policy_snapshot_hash: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n source_policy_snapshot:\n type: object\n additionalProperties: true\n local_import_provenance:\n $ref: \"#/components/schemas/LocalImportProvenance\"\n signature_assessment:\n $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\"\n source_provenance:\n $ref: \"#/components/schemas/ExternalPackageSourceProvenance\"\n execution_approval:\n $ref: \"#/components/schemas/ExternalPackageExecutionApproval\"\n update_eligibility:\n $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\"\n security_summary:\n $ref: \"#/components/schemas/ExternalPackageSecuritySummary\"\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/CapabilityContractPin\" }\n manifest:\n $ref: \"../plugin/manifest-v8.schema.json\"\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n package_entries:\n type: array\n items: { $ref: \"#/components/schemas/PackageEntry\" }\n runtime_requirement: { $ref: \"#/components/schemas/RuntimeRequirement\" }\n activated_at: { type: string, format: date-time }\n metadata:\n type: object\n additionalProperties: { type: string }\n PluginRecord:\n type: object\n description: Explicit public HTTP projection of a registry record. Persistent owner identity is excluded.\n required: [plugin_instance_id, publisher_id, plugin_id, version, active_fingerprint, package_hash, manifest_hash, entries_hash, trust_state, trust_assessment, enable_state, policy_revision, management_revision, revoke_epoch, manifest, presentation, presentation_sha256, package_entries, installed_at, updated_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n publisher_id: { type: string }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string, minLength: 1 }\n package_hash: { type: string }\n manifest_hash: { type: string }\n entries_hash: { type: string }\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n trust_assessment:\n $ref: \"#/components/schemas/TrustAssessment\"\n source_policy_snapshot_hash: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n source_policy_snapshot:\n type: object\n additionalProperties: true\n local_import_provenance:\n $ref: \"#/components/schemas/LocalImportProvenance\"\n signature_assessment:\n $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\"\n source_provenance:\n $ref: \"#/components/schemas/ExternalPackageSourceProvenance\"\n execution_approval:\n $ref: \"#/components/schemas/ExternalPackageExecutionApproval\"\n update_eligibility:\n $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\"\n security_summary:\n $ref: \"#/components/schemas/ExternalPackageSecuritySummary\"\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/CapabilityContractPin\" }\n enable_state:\n type: string\n enum: [disabled, enabled, disabled_by_policy, disabled_incompatible]\n disabled_reason: { type: string }\n policy_revision: { type: integer, minimum: 0, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 0, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n manifest:\n $ref: \"../plugin/manifest-v8.schema.json\"\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n package_entries:\n type: array\n items: { $ref: \"#/components/schemas/PackageEntry\" }\n runtime_requirement: { $ref: \"#/components/schemas/RuntimeRequirement\" }\n version_history:\n type: array\n items:\n $ref: \"#/components/schemas/PluginVersion\"\n installed_at: { type: string, format: date-time }\n enabled_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n deleted_at: { type: string, format: date-time }\n metadata:\n type: object\n additionalProperties: { type: string }\n PackageEntry:\n type: object\n required: [path, size, sha256, mode]\n additionalProperties: false\n properties:\n path: { type: string, minLength: 1 }\n size: { type: integer, minimum: 0 }\n sha256: { type: string, pattern: \"^[0-9a-f]{64}$\" }\n mode: { type: string, minLength: 1 }\n content_type: { type: string }\n RuntimeRequirement:\n type: object\n required: [min_version]\n additionalProperties: false\n properties:\n min_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n supported_targets:\n type: array\n uniqueItems: true\n items:\n type: string\n enum: [darwin/amd64, darwin/arm64, linux/amd64, linux/arm64]\n LocalImportProvenance:\n type: object\n required: [import_id, distribution, policy_epoch, unsigned_policy, assessed_at]\n additionalProperties: false\n properties:\n import_id: { type: string, minLength: 1 }\n distribution: { enum: [local_import] }\n policy_epoch: { type: string, minLength: 1 }\n unsigned_policy: { enum: [dev_only, review_required, block] }\n assessed_at: { type: string, format: date-time }\n PackageHashSet:\n type: object\n required: [package_sha256, manifest_sha256, entries_sha256]\n additionalProperties: false\n properties:\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n manifest_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n entries_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n PluginReleaseRef:\n type: object\n required: [source_id, channel, release_metadata_ref, release_metadata_sha256, publisher_id, plugin_id, version, expected_hashes]\n additionalProperties: false\n properties:\n source_id: { type: string, minLength: 1 }\n channel: { type: string, pattern: \"^[a-z][a-z0-9._-]{0,127}$\" }\n release_metadata_ref: { type: string, minLength: 1 }\n release_metadata_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n publisher_id: { type: string, minLength: 1 }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n expected_hashes:\n $ref: \"#/components/schemas/PackageHashSet\"\n InstallReleaseRefRequest:\n type: object\n required: [plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n plugin_instance_id: { type: string, minLength: 1 }\n UpdateReleaseRefRequest:\n type: object\n required: [plugin_instance_id, release_ref, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n DowngradeRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n package_hash: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n EnableRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n DisableRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n reason: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n UninstallRequest:\n type: object\n required: [plugin_instance_id, delete_data, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n delete_data: { type: boolean }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n OpenSurfaceRequest:\n type: object\n required: [plugin_instance_id, surface_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n RevokeSessionScopeRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n EmptyRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n EmptyQueryRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n ListIntentsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n intent_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n ListExecutionsRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n limit: { type: integer, minimum: 1, maximum: 500 }\n StartReleaseInstallExecutionRequest:\n type: object\n required: [request_id, plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n request_id: { type: string, minLength: 1, maxLength: 256 }\n plugin_instance_id: { type: string, minLength: 1 }\n activate_after_install: { type: boolean }\n approved_permission_ids:\n type: array\n maxItems: 256\n uniqueItems: true\n items: { type: string, minLength: 1, maxLength: 256 }\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n if:\n required: [activate_after_install]\n properties:\n activate_after_install: { const: false }\n then:\n not:\n required: [approved_permission_ids]\n ListRetainedDataQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n ListPermissionsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n active_only: { type: boolean }\n PermissionRequirementsQueryRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n ListDiagnosticsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n type: { type: string, minLength: 1 }\n severity: { type: string, enum: [info, warning] }\n limit: { type: integer, minimum: 1, maximum: 1000 }\n SettingsQueryRequest:\n type: object\n additionalProperties: false\n required: [scope]\n properties:\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n SurfaceBootstrap:\n type: object\n additionalProperties: false\n required:\n - plugin_id\n - plugin_instance_id\n - plugin_version\n - ui_protocol_version\n - surface_id\n - surface_instance_id\n - active_fingerprint\n - entry_path\n - entry_sha256\n - asset_session_nonce\n - management_revision\n - revoke_epoch\n - runtime_generation_id\n - asset_ticket\n - asset_ticket_id\n - bridge_nonce\n - issued_at\n - expires_at\n properties:\n plugin_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n plugin_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n ui_protocol_version: { type: string, enum: [plugin-ui-v7] }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n active_fingerprint: { type: string, minLength: 1 }\n entry_path: { type: string, minLength: 1 }\n entry_sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n asset_session_nonce: { type: string, minLength: 16 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n runtime_generation_id: { type: string, minLength: 1 }\n asset_ticket: { type: string, minLength: 1 }\n asset_ticket_id: { type: string, minLength: 1 }\n bridge_nonce: { type: string, minLength: 16 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n PrepareSurfaceRequest:\n type: object\n required: [asset_ticket]\n additionalProperties: false\n properties:\n asset_ticket: { type: string, minLength: 1 }\n SurfacePreparation:\n type: object\n additionalProperties: false\n required:\n - asset_session\n - asset_session_id\n - asset_session_nonce\n - entry_path\n - entry_sha256\n - management_revision\n - revoke_epoch\n - issued_at\n - expires_at\n - document\n properties:\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n asset_session_nonce: { type: string, minLength: 16 }\n entry_path: { type: string, minLength: 1 }\n entry_sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n document:\n $ref: \"../plugin/opaque-surface-document-v3.schema.json\"\n TrustedParentBridgeHandshake:\n type: object\n required: [type, plugin_id, surface_id, surface_instance_id, active_fingerprint, bridge_nonce, asset_session_nonce, management_revision, revoke_epoch, ui_protocol_version]\n additionalProperties: false\n properties:\n type: { const: redevplugin.bridge.handshake }\n plugin_id: { type: string, minLength: 1 }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n active_fingerprint: { type: string, minLength: 1 }\n bridge_nonce: { type: string, minLength: 16 }\n asset_session_nonce: { type: string, minLength: 16 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ui_protocol_version: { type: string, enum: [plugin-ui-v7] }\n TrustedParentBridgeTokenRequest:\n type: object\n required: [handshake, bridge_channel_id, handshake_transcript_sha256]\n additionalProperties: false\n properties:\n handshake:\n $ref: \"#/components/schemas/TrustedParentBridgeHandshake\"\n bridge_channel_id: { type: string, minLength: 1 }\n handshake_transcript_sha256:\n type: string\n pattern: '^sha256:[0-9a-f]{64}$'\n previous_plugin_gateway_token:\n type: string\n minLength: 1\n description: Required only when renewing the current bridge channel lease.\n BridgeTokenResult:\n type: object\n additionalProperties: false\n required: [plugin_gateway_token, plugin_gateway_token_id, asset_session, asset_session_id, issued_at, expires_at]\n properties:\n plugin_gateway_token: { type: string, minLength: 1 }\n plugin_gateway_token_id: { type: string, minLength: 1 }\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n ReadSurfaceAssetRequest:\n type: object\n additionalProperties: false\n required: [asset_session, asset_session_id, binding_id]\n properties:\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n binding_id: { type: string, pattern: '^asset_[A-Za-z0-9_-]{8,128}$' }\n SurfaceAssetResult:\n type: object\n additionalProperties: false\n required: [path, sha256, content_type, content_base64]\n properties:\n path: { type: string, minLength: 1 }\n sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n content_type: { type: string, minLength: 1 }\n content_base64: { type: string, contentEncoding: base64 }\n ListExecutionEventsRequest:\n type: object\n additionalProperties: false\n required: [after_cursor]\n properties:\n after_cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n limit: { type: integer, minimum: 1, maximum: 1000 }\n RejectSurfaceConfirmationRequest:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, bridge_channel_id, plugin_gateway_token, confirmation_id]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1, maxLength: 256 }\n plugin_gateway_token: { type: string, minLength: 1 }\n confirmation_id: { type: string, pattern: '^confirmation_[A-Za-z0-9_-]{8,128}$' }\n ConfirmationRejectionResult:\n type: object\n additionalProperties: false\n required: [rejected]\n properties:\n rejected: { const: true }\n DisposeSurfaceRequest:\n type: object\n additionalProperties: false\n required: [bridge_nonce]\n properties:\n bridge_nonce: { type: string, minLength: 16 }\n RPCRequest:\n type: object\n required: [plugin_instance_id, surface_instance_id, bridge_channel_id, plugin_gateway_token, method]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1 }\n plugin_gateway_token: { type: string, minLength: 1 }\n confirmation_id: { type: string }\n method: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n PrepareMethodConfirmationRequest:\n type: object\n required: [plugin_instance_id, surface_instance_id, bridge_channel_id, plugin_gateway_token, method]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1 }\n plugin_gateway_token: { type: string, minLength: 1 }\n method: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n RPCResult:\n oneOf:\n - type: object\n additionalProperties: false\n properties:\n data: true\n not:\n anyOf:\n - required: [execution_id]\n - required: [confirmation_required]\n - type: object\n additionalProperties: false\n required: [execution_id]\n properties:\n data: true\n execution_id: { type: string, minLength: 1 }\n - type: object\n additionalProperties: false\n required: [confirmation_required, confirmation_token_id, request_hash, plan_hash]\n properties:\n confirmation_required: { const: true }\n confirmation_token_id: { type: string, minLength: 1 }\n request_hash: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n plan_hash: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n RiskFlag:\n type: object\n required: [id, severity, summary]\n additionalProperties: false\n properties:\n id:\n type: string\n minLength: 1\n description: Stable machine-readable risk identifier.\n severity:\n type: string\n enum: [info, low, medium, high, critical]\n summary: { type: string, minLength: 1 }\n description: { type: string }\n requires_confirmation: { type: boolean }\n requires_admin: { type: boolean }\n data_loss_risk: { type: boolean }\n destructive: { type: boolean }\n RiskPlan:\n type: object\n required: [schema_version, summary, risk_flags]\n additionalProperties: false\n properties:\n schema_version: { const: redevplugin.capability.risk_plan.v1 }\n capability_id: { type: string }\n binding_id: { type: string }\n method: { type: string }\n target_method: { type: string }\n action: { type: string }\n effect:\n type: string\n enum: [read, write, execute, delete, admin]\n resource_ref: { type: string }\n resource_display_name: { type: string }\n summary: { type: string, minLength: 1 }\n risk_flags:\n type: array\n items:\n $ref: \"#/components/schemas/RiskFlag\"\n requires_confirmation: { type: boolean }\n requires_admin: { type: boolean }\n data_loss_risk: { type: boolean }\n destructive: { type: boolean }\n deny_reason: { type: string }\n details:\n type: object\n additionalProperties: true\n PluginMethodConfirmationPreparation:\n type: object\n required: [confirmation_id, confirmation_token_id, request_hash, plan_hash, expires_at]\n additionalProperties: false\n properties:\n confirmation_id: { type: string, minLength: 1 }\n confirmation_token_id:\n type: string\n minLength: 1\n description: Opaque audit/display id for the server-held confirmation token. It is not a credential.\n request_hash:\n type: string\n pattern: \"^sha256:[0-9a-f]{64}$\"\n plan_hash:\n type: string\n pattern: \"^sha256:[0-9a-f]{64}$\"\n plan:\n description: Host-redacted confirmation plan payload returned by the declared preflight method, when available.\n oneOf:\n - $ref: \"#/components/schemas/RiskPlan\"\n - type: object\n additionalProperties: true\n properties:\n schema_version:\n not:\n type: string\n pattern: '^redevplugin\\.capability\\.risk_plan\\.'\n expires_at: { type: string, format: date-time }\n InvokeIntentRequest:\n type: object\n required: [intent_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n intent_id: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n CancelExecutionRequest:\n type: object\n additionalProperties: false\n properties:\n reason: { type: string }\n CapabilityContractPin:\n $ref: \"../plugin/host-capability-pin-v1.schema.json\"\n Execution:\n type: object\n additionalProperties: false\n required: [execution_id, plugin_instance_id, kind, status, cursor, cancelable, created_at, updated_at]\n properties:\n execution_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [sync, operation, subscription] }\n status: { type: string, enum: [running, cancel_requested, completed, canceled, failed, orphaned] }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n failure_code: { type: string, minLength: 1 }\n cancelable: { type: boolean }\n created_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n cancel_requested_at: { type: string, format: date-time }\n terminal_at: { type: string, format: date-time }\n Event:\n type: object\n additionalProperties: false\n required: [execution_id, sequence, kind]\n properties:\n execution_id: { type: string, minLength: 1 }\n sequence: { type: integer, minimum: 1, maximum: 9007199254740991 }\n kind: { type: string, enum: [progress, data, diagnostic, terminal] }\n payload:\n type: object\n additionalProperties: true\n error: { $ref: \"#/components/schemas/PublicError\" }\n PublicError:\n type: object\n additionalProperties: false\n required: [code, message]\n properties:\n code: { type: string, minLength: 1 }\n message: { type: string, minLength: 1 }\n StartRuntimeRequest:\n type: object\n required: [target]\n additionalProperties: false\n properties:\n target: { $ref: \"#/components/schemas/RuntimeTarget\" }\n ExportDataRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n DeleteDataExportRequest:\n type: object\n required: [plugin_instance_id, bundle_ref]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bundle_ref: { type: string, minLength: 1 }\n ImportDataRequest:\n type: object\n required: [plugin_instance_id, bundle_ref, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bundle_ref: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n PluginDataBinding:\n type: object\n required: [plugin_instance_id, generation_id, state, revision, shape_hash]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n generation_id: { type: string, minLength: 1 }\n state: { type: string, enum: [active, retained] }\n revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n shape_hash: { type: string, pattern: \"^[0-9a-f]{64}$\" }\n retained_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n RetainedDataList:\n type: object\n required: [retained_data]\n additionalProperties: false\n properties:\n retained_data:\n type: array\n items:\n $ref: \"#/components/schemas/PluginDataBinding\"\n RetainedDataCleanupResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted:\n type: array\n items:\n $ref: \"#/components/schemas/PluginDataBinding\"\n DeleteRetainedDataRequest:\n type: object\n required: [plugin_instance_id, expected_binding_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n BindRetainedDataRequest:\n type: object\n required: [source_plugin_instance_id, expected_source_binding_revision, target_plugin_instance_id, target_expected_management_revision]\n additionalProperties: false\n properties:\n source_plugin_instance_id: { type: string, minLength: 1 }\n expected_source_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n target_plugin_instance_id: { type: string, minLength: 1 }\n target_expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n CleanupExpiredRetainedDataRequest:\n type: object\n additionalProperties: false\n GrantPermissionRequest:\n type: object\n required: [plugin_instance_id, permission_id, expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n permission_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n expires_at: { type: string, format: date-time }\n RevokePermissionRequest:\n type: object\n required: [plugin_instance_id, permission_id, expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n permission_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n reason: { type: string }\n PutSecurityPolicyRequest:\n type: object\n required: [expected_policy_revision, expected_management_revision, expected_revoke_epoch, allowed_permissions, denied_methods]\n additionalProperties: false\n properties:\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n allowed_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n denied_methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n DeleteSecurityPolicyRequest:\n type: object\n required: [expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n SecretRefRequest:\n type: object\n required: [plugin_instance_id, secret_ref, scope]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { type: string, enum: [user, environment] }\n ResourceScopeKind:\n type: string\n enum: [user, environment]\n PatchSettingsRequest:\n type: object\n required: [scope, expected_values_revision]\n additionalProperties: false\n minProperties: 3\n properties:\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n expected_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n set:\n type: object\n minProperties: 1\n additionalProperties: true\n remove:\n type: array\n minItems: 1\n uniqueItems: true\n items: { type: string, minLength: 1 }\n";
|
|
129
|
+
readonly path: "spec/openapi/plugin-platform-v17.yaml";
|
|
130
|
+
readonly version: "plugin-platform-v17";
|
|
131
|
+
readonly sha256: "1a043991f4d87ddfabdf614364e1bec42400f4bc19b7856c4c774b9f282fcda3";
|
|
132
|
+
readonly body: "openapi: 3.1.0\ninfo:\n title: ReDevPlugin Plugin Platform API\n version: plugin-platform-v17\n description: Host-agnostic plugin management, bridge, execution, data, and sandbox routes. Release-ref install and update routes resolve host-controlled package artifacts server-side and do not accept requested trust_state values; external package URL, GitHub repository, and uploaded-package flows use process-local inspection followed by exact-digest confirmed installation; local-import package install/update routes remain explicit developer/import flows and do not accept caller-supplied trust_state values.\nx-redevplugin-query-policy:\n reject_url_query_strings: true\n require_closed_json_bodies: true\n require_exact_origin: true\n csrf:\n get_query: not_required\n post_query: required\n mutation: required\npaths:\n /_redevplugin/api/plugins/{plugin_instance_id}/local-import:\n post:\n operationId: importLocalPackage\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n put:\n operationId: updateLocalPackage\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - name: X-ReDevPlugin-Expected-Management-Revision\n in: header\n required: true\n description: Canonical decimal management revision. Duplicate, combined, empty, or whitespace-padded values are rejected.\n schema: { type: integer, minimum: 1, maximum: 9007199254740991 }\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/inspect:\n post:\n operationId: inspectExternalPackage\n x-redevplugin-route-effect: mutation\n description: Resolves and inspects a package from a caller-selected URL or GitHub repository without installing it. Package identity, hashes, provenance, signature state, approval, and update eligibility are computed by the platform and cannot be supplied by the caller.\n requestBody:\n $ref: \"#/components/requestBodies/InspectExternalPackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/upload/inspect:\n post:\n operationId: inspectUploadedExternalPackageInstall\n x-redevplugin-route-effect: mutation\n 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.\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/external-packages/upload/inspect:\n put:\n operationId: inspectUploadedExternalPackageUpdate\n x-redevplugin-route-effect: mutation\n 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.\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - name: X-ReDevPlugin-Expected-Management-Revision\n in: header\n required: true\n description: Canonical decimal management revision. Duplicate, combined, empty, or whitespace-padded values are rejected.\n schema: { type: integer, minimum: 1, maximum: 9007199254740991 }\n requestBody:\n required: true\n content:\n application/vnd.redevplugin.package+zip:\n schema: { type: string, format: binary }\n responses:\n \"200\": { $ref: \"#/components/responses/ExternalPackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/external-packages/install:\n post:\n operationId: installInspectedPackage\n x-redevplugin-route-effect: mutation\n description: Reopens and installs one unexpired process-local inspection after the user confirms its exact package digest and permission selection. The inspection is bound to the exact authenticated session. Invalid or revoked signatures fail closed; absent or unknown signatures remain manual-update-only but enable by default when required permissions are approved and runtime policy allows activation.\n requestBody:\n $ref: \"#/components/requestBodies/InstallInspectedPackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/InstalledExternalPackageResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/install-release-ref:\n post:\n operationId: installReleaseRef\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/InstallReleaseRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/release-packages/inspect:\n post:\n operationId: inspectReleasePackage\n x-redevplugin-route-effect: mutation\n description: Resolves and fully verifies an exact release reference before installation so one user confirmation can review the Host-derived permissions and package identity. The inspection does not install a plugin, and installation re-verifies the exact release and hashes.\n requestBody:\n $ref: \"#/components/requestBodies/InspectReleasePackageRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ReleasePackageInspectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/enable:\n post:\n operationId: enablePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/EnableRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/disable:\n post:\n operationId: disablePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DisableRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/uninstall:\n post:\n operationId: uninstallPlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/UninstallRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/update-release-ref:\n post:\n operationId: updateReleaseRef\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/UpdateReleaseRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/downgrade:\n post:\n operationId: downgradePlugin\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DowngradeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/catalog/query:\n post:\n operationId: listPlugins\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginCatalogResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/icon/{sha256}:\n get:\n operationId: readInstalledPluginIcon\n x-redevplugin-route-effect: query\n description: Returns the content-addressed presentation icon from the installed package asset store.\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n - $ref: \"#/components/parameters/SHA256Digest\"\n responses:\n \"200\":\n description: Verified PNG or WebP icon bytes.\n headers:\n ETag: { schema: { type: string } }\n Cache-Control: { schema: { type: string } }\n X-Content-Type-Options: { schema: { type: string, const: nosniff } }\n content:\n image/png: { schema: { type: string, format: binary } }\n image/webp: { schema: { type: string, format: binary } }\n \"304\": { description: The immutable digest matches If-None-Match. }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/features/query:\n post:\n operationId: getPluginFeatures\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginFeaturesResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/platform/compatibility/query:\n post:\n operationId: getPluginPlatformCompatibility\n x-redevplugin-route-effect: query\n description: Returns the host-consumable ReDevPlugin compatibility manifest for the mounted platform artifact set.\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/CompatibilityResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/open:\n post:\n operationId: openPluginSurface\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/OpenSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceBootstrapResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/session/revoke-scope:\n post:\n operationId: revokePluginSessionScope\n x-redevplugin-route-effect: mutation\n description: Irreversibly fences the authenticated session, drains every exact-session platform and runtime resource, and returns only public cumulative counts.\n requestBody:\n $ref: \"#/components/requestBodies/RevokeSessionScopeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SessionScopeRevokeResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/prepare:\n post:\n operationId: preparePluginSurface\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PrepareSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfacePreparationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/bridge-token:\n post:\n operationId: createSurfaceBridgeToken\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/TrustedParentBridgeTokenRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/BridgeTokenResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/assets/read:\n post:\n operationId: readPreparedSurfaceAsset\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/ReadSurfaceAssetRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceAssetResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/confirmations/reject:\n post:\n operationId: rejectSurfacePluginConfirmation\n x-redevplugin-route-effect: mutation\n description: Atomically rejects a pending confirmation only when it belongs to the authenticated surface, session, current plugin revision, and private bridge channel.\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/RejectSurfaceConfirmationRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ConfirmationRejectionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/surfaces/{surface_instance_id}/dispose:\n post:\n operationId: disposePluginSurface\n x-redevplugin-route-effect: mutation\n 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.\n parameters:\n - $ref: \"#/components/parameters/SurfaceInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/DisposeSurfaceRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SurfaceDisposeResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/rpc:\n post:\n operationId: callPluginMethod\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/RPCRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RPCResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/confirmations/prepare:\n post:\n operationId: preparePluginMethodConfirmation\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/PrepareMethodConfirmationRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginMethodConfirmationPreparationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/intents/query:\n post:\n operationId: listPluginIntents\n x-redevplugin-route-effect: query\n description: 'Lists enabled, runnable plugin intents available to host-mediated interop. The response data is `{ \"intents\": [...] }`.'\n requestBody:\n $ref: \"#/components/requestBodies/ListIntentsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/IntentListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/intents/invoke:\n post:\n operationId: invokePluginIntent\n x-redevplugin-route-effect: mutation\n description: Invokes a host-mediated plugin intent without iframe gateway tokens while preserving local policy, permission grants, and dangerous-method fail-closed checks.\n requestBody:\n $ref: \"#/components/requestBodies/InvokeIntentRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RPCResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/query:\n post:\n operationId: listPluginExecutions\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListExecutionsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/release-installs:\n post:\n operationId: startReleaseInstallExecution\n x-redevplugin-route-effect: mutation\n description: Starts or idempotently recovers an owner-bound release installation and returns only its unified Execution identity.\n requestBody:\n $ref: \"#/components/requestBodies/StartReleaseInstallExecutionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/query:\n post:\n operationId: getPluginExecution\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/cancel:\n post:\n operationId: cancelPluginExecution\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/CancelExecutionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/executions/{execution_id}/events/query:\n post:\n operationId: listPluginExecutionEvents\n x-redevplugin-route-effect: query\n description: Returns the single ordered event envelope after the caller's last observed execution cursor. Session and surface authorization remain Host-owned transport concerns.\n parameters:\n - $ref: \"#/components/parameters/ExecutionID\"\n requestBody:\n $ref: \"#/components/requestBodies/ListExecutionEventsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/ExecutionEventListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/start:\n post:\n operationId: startPluginRuntime\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/StartRuntimeRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeHealthResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/stop:\n post:\n operationId: stopPluginRuntime\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/EmptyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeStopResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/recover-enabled:\n post:\n operationId: recoverEnabledPlugins\n x-redevplugin-route-effect: mutation\n description: Returns the Host-owned idempotent recovery snapshot for this startup revision. Repeated calls do not schedule a second recovery pass.\n requestBody:\n $ref: \"#/components/requestBodies/EmptyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RecoverySnapshotResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/recover/retry:\n post:\n operationId: retryPluginRecovery\n x-redevplugin-route-effect: mutation\n description: Retries recovery for one plugin after an explicit user action and updates the Host-owned snapshot.\n requestBody:\n $ref: \"#/components/requestBodies/RetryPluginRecoveryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PluginRecoveryResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/runtime/health/query:\n post:\n operationId: getPluginRuntimeHealth\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RuntimeHealthResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/export:\n post:\n operationId: exportPluginData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/ExportDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataExportResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/export/delete:\n post:\n operationId: deletePluginDataExport\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DeleteDataExportRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataExportDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/data/import:\n post:\n operationId: importPluginData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/ImportDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DataImportResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/query:\n post:\n operationId: listPluginRetainedData\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListRetainedDataQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/delete:\n post:\n operationId: deletePluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/DeleteRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataBindingResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/bind:\n post:\n operationId: bindPluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/BindRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataBindingResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/retained-data/cleanup-expired:\n post:\n operationId: cleanupExpiredPluginRetainedData\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/CleanupExpiredRetainedDataRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/RetainedDataCleanupResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/query:\n post:\n operationId: listPluginPermissionGrants\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListPermissionsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/requirements/query:\n post:\n operationId: getPluginPermissionRequirements\n x-redevplugin-route-effect: query\n description: Projects required permissions only from the active plugin version's Host-verified capability contracts.\n requestBody:\n $ref: \"#/components/requestBodies/PermissionRequirementsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionRequirementsResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/grant:\n post:\n operationId: grantPluginPermission\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/GrantPermissionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionMutationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/permissions/revoke:\n post:\n operationId: revokePluginPermission\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/RevokePermissionRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/PermissionMutationResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/query:\n post:\n operationId: listPluginSecurityPolicies\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/{plugin_instance_id}/query:\n post:\n operationId: getPluginSecurityPolicy\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/EmptyQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyRecordResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/security-policies/{plugin_instance_id}:\n put:\n operationId: putPluginSecurityPolicy\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PutSecurityPolicyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyRecordResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n delete:\n operationId: deletePluginSecurityPolicy\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/DeleteSecurityPolicyRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecurityPolicyDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/diagnostics/query:\n post:\n operationId: listPluginDiagnosticEvents\n x-redevplugin-route-effect: query\n requestBody:\n $ref: \"#/components/requestBodies/ListDiagnosticsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/DiagnosticEventListResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/bind:\n post:\n operationId: bindPluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretBindResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/test:\n post:\n operationId: testPluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretTestResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/secrets/delete:\n post:\n operationId: deletePluginSecret\n x-redevplugin-route-effect: mutation\n requestBody:\n $ref: \"#/components/requestBodies/SecretRefRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SecretDeleteResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings/schema/query:\n post:\n operationId: getPluginSettingsSchema\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/SettingsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSchemaResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings/query:\n post:\n operationId: getPluginSettings\n x-redevplugin-route-effect: query\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/SettingsQueryRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSnapshotResponse\" }\n default: { $ref: \"#/components/responses/PlatformErrorResponse\" }\n /_redevplugin/api/plugins/{plugin_instance_id}/settings:\n patch:\n operationId: patchPluginSettings\n x-redevplugin-route-effect: mutation\n parameters:\n - $ref: \"#/components/parameters/PluginInstanceID\"\n requestBody:\n $ref: \"#/components/requestBodies/PatchSettingsRequest\"\n responses:\n \"200\": { $ref: \"#/components/responses/SettingsSnapshotResponse\" }\n default: { $ref: \"#/components/responses/MutationPlatformErrorResponse\" }\ncomponents:\n parameters:\n ExecutionID:\n name: execution_id\n in: path\n required: true\n schema: { type: string }\n PluginInstanceID:\n name: plugin_instance_id\n in: path\n required: true\n schema:\n type: string\n minLength: 1\n pattern: \"^[^./\\\\s](?:[^/]*[^/\\\\s])?$\"\n SHA256Digest:\n name: sha256\n in: path\n required: true\n schema: { type: string, pattern: '^[0-9a-f]{64}$' }\n RequestID:\n name: request_id\n in: path\n required: true\n schema: { type: string, minLength: 1, maxLength: 256 }\n SurfaceInstanceID:\n name: surface_instance_id\n in: path\n required: true\n schema: { type: string }\n responses:\n PlatformErrorResponse:\n description: Closed non-success response for read-only platform operations.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PlatformErrorResponse\"\n MutationPlatformErrorResponse:\n description: Closed non-success response for operations that may change durable platform state.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/MutationPlatformErrorResponse\"\n RPCResponse:\n description: Typed plugin method result. Every asynchronous invocation returns one execution identity.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RPCSuccessResponse\"\n SurfaceBootstrapResponse:\n description: Trusted-parent surface bootstrap. Capability-bearing fields are never forwarded into the opaque iframe or plugin worker.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceBootstrapSuccessResponse\"\n SurfacePreparationResponse:\n description: Trusted-parent asset-session exchange and validated opaque surface document.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfacePreparationSuccessResponse\"\n BridgeTokenResponse:\n description: Trusted-parent plugin gateway token response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/BridgeTokenSuccessResponse\"\n SurfaceAssetResponse:\n description: Trusted-parent package asset response. The plugin receives only a renderer-created blob URL.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceAssetSuccessResponse\"\n SurfaceDisposeResponse:\n description: Surface revocation response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SurfaceDisposeSuccessResponse\"\n SessionScopeRevokeResponse:\n description: Completed authenticated-session teardown response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SessionScopeRevokeSuccessResponse\"\n PluginRecordResponse:\n description: Plugin lifecycle response with typed registry trust assessment.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecordSuccessResponse\"\n ExternalPackageInspectionResponse:\n description: Immutable server-computed package inspection and confirmation boundary.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExternalPackageInspectionSuccessResponse\"\n InstalledExternalPackageResponse:\n description: Installed external package with explicit trust, approval, provenance, and update facts.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstalledExternalPackageSuccessResponse\"\n PluginCatalogResponse:\n description: Installed plugin catalog response with typed registry records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginCatalogSuccessResponse\"\n PluginFeaturesResponse:\n description: Closed set of optional host modules configured for this platform.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginFeaturesSuccessResponse\"\n CompatibilityResponse:\n description: Released platform compatibility manifest.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CompatibilitySuccessResponse\"\n PluginMethodConfirmationPreparationResponse:\n description: Prepared plugin method confirmation. The raw confirmation token stays server-side and is never returned to parent JavaScript or the plugin iframe.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginMethodConfirmationPreparationSuccessResponse\"\n ConfirmationRejectionResponse:\n description: Trusted-parent acknowledgement that the pending confirmation was atomically rejected and cannot be replayed.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ConfirmationRejectionSuccessResponse\"\n IntentListResponse:\n description: Enabled plugin intent records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/IntentListSuccessResponse\"\n RetainedDataListResponse:\n description: Retained plugin data list response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataListSuccessResponse\"\n RetainedDataBindingResponse:\n description: Plugin data binding returned after a retained-data mutation.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataBindingSuccessResponse\"\n RetainedDataCleanupResponse:\n description: Retained plugin data cleanup response.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetainedDataCleanupSuccessResponse\"\n ExecutionResponse:\n description: Host-owned execution state.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionSuccessResponse\"\n ExecutionListResponse:\n description: Host-owned execution records.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionListSuccessResponse\"\n ExecutionEventListResponse:\n description: Ordered events from the requested execution cursor.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExecutionEventListSuccessResponse\"\n RuntimeHealthResponse:\n description: Runtime manager and shard health.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RuntimeHealthSuccessResponse\"\n RuntimeStopResponse:\n description: Runtime manager stop acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RuntimeStopSuccessResponse\"\n RecoverySnapshotResponse:\n description: Idempotent Host-owned enabled-plugin recovery snapshot.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RecoverySnapshotSuccessResponse\"\n PluginRecoveryResponse:\n description: Recovery result for one explicitly retried plugin.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecoverySuccessResponse\"\n DataExportResponse:\n description: Plugin data export result.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DataExportSuccessResponse\"\n DataExportDeleteResponse:\n description: Immutable plugin data export deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DataExportDeleteSuccessResponse\"\n DataImportResponse:\n description: Plugin record after the imported dataset becomes active.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PluginRecordSuccessResponse\"\n PermissionListResponse:\n description: Permission grants for the requested plugin scope.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionListSuccessResponse\"\n PermissionRequirementsResponse:\n description: Active-version permission requirements derived from Host-verified capability contracts.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionRequirementsSuccessResponse\"\n PermissionMutationResponse:\n description: Permission grant mutation result.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionMutationSuccessResponse\"\n SecurityPolicyListResponse:\n description: Complete list of configured plugin security policies.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyListSuccessResponse\"\n SecurityPolicyRecordResponse:\n description: Complete security policy for one plugin instance.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyRecordSuccessResponse\"\n SecurityPolicyDeleteResponse:\n description: Security policy deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecurityPolicyDeleteSuccessResponse\"\n DiagnosticEventListResponse:\n description: Diagnostic events matching the requested filters.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DiagnosticEventListSuccessResponse\"\n SecretBindResponse:\n description: Secret reference bind acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretBindSuccessResponse\"\n SecretTestResponse:\n description: Secret reference test acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretTestSuccessResponse\"\n SecretDeleteResponse:\n description: Secret reference deletion acknowledgement.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretDeleteSuccessResponse\"\n SettingsSchemaResponse:\n description: Plugin settings schema.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsSchemaSuccessResponse\"\n SettingsSnapshotResponse:\n description: Plugin settings snapshot.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsSnapshotSuccessResponse\"\n ReleasePackageInspectionResponse:\n description: Verified release package facts for the installation review.\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ReleasePackageInspectionSuccessResponse\"\n requestBodies:\n InspectExternalPackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InspectExternalPackageRequest\"\n InstallInspectedPackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstallInspectedPackageRequest\"\n InstallReleaseRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InstallReleaseRefRequest\"\n InspectReleasePackageRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InspectReleasePackageRequest\"\n UpdateReleaseRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/UpdateReleaseRefRequest\"\n DowngradeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DowngradeRequest\"\n EnableRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EnableRequest\"\n DisableRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DisableRequest\"\n UninstallRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/UninstallRequest\"\n OpenSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/OpenSurfaceRequest\"\n RevokeSessionScopeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RevokeSessionScopeRequest\"\n EmptyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EmptyRequest\"\n RetryPluginRecoveryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RetryPluginRecoveryRequest\"\n EmptyQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/EmptyQueryRequest\"\n ListIntentsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListIntentsQueryRequest\"\n ListExecutionsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListExecutionsRequest\"\n StartReleaseInstallExecutionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/StartReleaseInstallExecutionRequest\"\n ListRetainedDataQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListRetainedDataQueryRequest\"\n ListPermissionsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListPermissionsQueryRequest\"\n PermissionRequirementsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PermissionRequirementsQueryRequest\"\n ListDiagnosticsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListDiagnosticsQueryRequest\"\n SettingsQueryRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SettingsQueryRequest\"\n PrepareSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PrepareSurfaceRequest\"\n TrustedParentBridgeTokenRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/TrustedParentBridgeTokenRequest\"\n ReadSurfaceAssetRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ReadSurfaceAssetRequest\"\n ListExecutionEventsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ListExecutionEventsRequest\"\n CancelExecutionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CancelExecutionRequest\"\n RejectSurfaceConfirmationRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RejectSurfaceConfirmationRequest\"\n DisposeSurfaceRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DisposeSurfaceRequest\"\n RPCRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RPCRequest\"\n PrepareMethodConfirmationRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PrepareMethodConfirmationRequest\"\n InvokeIntentRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/InvokeIntentRequest\"\n StartRuntimeRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/StartRuntimeRequest\"\n ExportDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ExportDataRequest\"\n DeleteDataExportRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteDataExportRequest\"\n ImportDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/ImportDataRequest\"\n DeleteRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteRetainedDataRequest\"\n BindRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/BindRetainedDataRequest\"\n CleanupExpiredRetainedDataRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/CleanupExpiredRetainedDataRequest\"\n GrantPermissionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/GrantPermissionRequest\"\n RevokePermissionRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/RevokePermissionRequest\"\n PutSecurityPolicyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PutSecurityPolicyRequest\"\n DeleteSecurityPolicyRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/DeleteSecurityPolicyRequest\"\n SecretRefRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/SecretRefRequest\"\n PatchSettingsRequest:\n required: true\n content:\n application/json:\n schema:\n $ref: \"#/components/schemas/PatchSettingsRequest\"\n schemas:\n PlatformErrorResponse:\n type: object\n required: [ok, error]\n additionalProperties: false\n properties:\n ok: { const: false }\n error:\n $ref: \"#/components/schemas/PlatformError\"\n MutationPlatformErrorResponse:\n type: object\n required: [ok, error]\n additionalProperties: false\n properties:\n ok: { const: false }\n error:\n $ref: \"#/components/schemas/MutationPlatformError\"\n RPCSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RPCResult\" }\n SurfaceBootstrapSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceBootstrap\" }\n SurfacePreparationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfacePreparation\" }\n BridgeTokenSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/BridgeTokenResult\" }\n SurfaceAssetSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceAssetResult\" }\n SurfaceDisposeSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SurfaceDisposeResult\" }\n SessionScopeRevokeSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/SessionScopeRevokeCompleteResult\" }\n PluginRecordSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRecord\" }\n ExternalPackageInspectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExternalPackageInspection\" }\n InstalledExternalPackageSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/InstalledExternalPackage\" }\n ReleasePackageInspectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ReleasePackageInspection\" }\n PluginCatalogSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginCatalogResult\" }\n PluginFeaturesSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data:\n type: array\n uniqueItems: true\n items:\n type: string\n enum: [release, runtime, capability, connectivity, secrets, core_action, external_package]\n CompatibilitySuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginCompatibilityManifest\" }\n PluginMethodConfirmationPreparationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginMethodConfirmationPreparation\" }\n ConfirmationRejectionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ConfirmationRejectionResult\" }\n IntentListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginIntentList\" }\n RetainedDataListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RetainedDataList\" }\n RetainedDataBindingSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataBinding\" }\n RetainedDataCleanupSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RetainedDataCleanupResult\" }\n ExecutionSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/Execution\" }\n ExecutionListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExecutionList\" }\n ExecutionEventListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/ExecutionEventList\" }\n RuntimeHealthSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRuntimeHealth\" }\n RuntimeStopSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRuntimeStopResult\" }\n RecoverySnapshotSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/RecoverySnapshot\" }\n PluginRecoverySuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginRecoveryResult\" }\n DataExportSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataExportResult\" }\n DataExportDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDataExportDeleteResult\" }\n PermissionListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionList\" }\n PermissionRequirementsSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionRequirements\" }\n PermissionMutationSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginPermissionMutationResult\" }\n SecurityPolicyListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicyList\" }\n SecurityPolicyRecordSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicy\" }\n SecurityPolicyDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecurityPolicyDeleteResult\" }\n DiagnosticEventListSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginDiagnosticEventList\" }\n SecretBindSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretBindResult\" }\n SecretTestSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretTestResult\" }\n SecretDeleteSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSecretDeleteResult\" }\n SettingsSchemaSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSettingsSchema\" }\n SettingsSnapshotSuccessResponse:\n type: object\n required: [ok, data]\n additionalProperties: false\n properties:\n ok: { const: true }\n data: { $ref: \"#/components/schemas/PluginSettingsSnapshot\" }\n PlatformError:\n oneOf:\n - $ref: \"#/components/schemas/GenericPlatformError\"\n - $ref: \"#/components/schemas/JSONLimitPlatformError\"\n - $ref: \"#/components/schemas/PackageValidationPlatformError\"\n - $ref: \"#/components/schemas/ManagementRevisionPlatformError\"\n - $ref: \"#/components/schemas/AuthorizationRevisionPlatformError\"\n - $ref: \"#/components/schemas/BindingRevisionPlatformError\"\n - $ref: \"#/components/schemas/ValuesRevisionPlatformError\"\n - $ref: \"#/components/schemas/CapabilityPlatformError\"\n - $ref: \"#/components/schemas/WorkerPlatformError\"\n MutationPlatformError:\n oneOf:\n - $ref: \"#/components/schemas/MutationGenericPlatformError\"\n - $ref: \"#/components/schemas/MutationJSONLimitPlatformError\"\n - $ref: \"#/components/schemas/MutationPackageValidationPlatformError\"\n - $ref: \"#/components/schemas/MutationManagementRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationAuthorizationRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationBindingRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationValuesRevisionPlatformError\"\n - $ref: \"#/components/schemas/MutationCapabilityPlatformError\"\n - $ref: \"#/components/schemas/MutationWorkerPlatformError\"\n - $ref: \"#/components/schemas/MutationSessionTeardownPlatformError\"\n GenericPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code:\n $ref: \"#/components/schemas/GenericPlatformErrorCode\"\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details:\n $ref: \"#/components/schemas/EmptyErrorDetails\"\n JSONLimitPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_JSON_LIMIT_EXCEEDED }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/JSONLimitErrorDetails\" }\n PackageValidationPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code:\n type: string\n enum: [PLUGIN_MANIFEST_INVALID, PLUGIN_PACKAGE_INVALID, PLUGIN_PACKAGE_TOO_LARGE, PLUGIN_PACKAGE_PATH_FORBIDDEN]\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/PackageValidationErrorDetails\" }\n ManagementRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_MANAGEMENT_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ManagementRevisionMismatchDetails\" }\n AuthorizationRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_AUTHORIZATION_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/AuthorizationRevisionMismatchDetails\" }\n BindingRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_BINDING_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/BindingRevisionMismatchDetails\" }\n ValuesRevisionPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_VALUES_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ValuesRevisionMismatchDetails\" }\n CapabilityPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_CAPABILITY_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/CapabilityBusinessErrorDetails\" }\n WorkerPlatformError:\n type: object\n required: [code, message, details]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_WORKER_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/WorkerErrorDetails\" }\n MutationGenericPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { $ref: \"#/components/schemas/GenericPlatformErrorCode\" }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/EmptyErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationJSONLimitPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_JSON_LIMIT_EXCEEDED }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/JSONLimitErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationPackageValidationPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code:\n type: string\n enum: [PLUGIN_MANIFEST_INVALID, PLUGIN_PACKAGE_INVALID, PLUGIN_PACKAGE_TOO_LARGE, PLUGIN_PACKAGE_PATH_FORBIDDEN]\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/PackageValidationErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationManagementRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_MANAGEMENT_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ManagementRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationAuthorizationRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_AUTHORIZATION_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/AuthorizationRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationBindingRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_BINDING_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/BindingRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationValuesRevisionPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_VALUES_REVISION_MISMATCH }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/ValuesRevisionMismatchDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationCapabilityPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_CAPABILITY_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/CapabilityBusinessErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationWorkerPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_WORKER_ERROR }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/WorkerErrorDetails\" }\n mutation_outcome: { $ref: \"#/components/schemas/MutationOutcome\" }\n MutationSessionTeardownPlatformError:\n type: object\n required: [code, message, details, mutation_outcome]\n additionalProperties: false\n properties:\n code: { const: PLUGIN_SESSION_TEARDOWN_INCOMPLETE }\n message: { $ref: \"#/components/schemas/PlatformErrorMessage\" }\n details: { $ref: \"#/components/schemas/SessionTeardownIncompleteErrorDetails\" }\n mutation_outcome: { const: committed }\n MutationOutcome:\n type: string\n enum: [committed, not_committed, unknown]\n EmptyErrorDetails:\n type: object\n additionalProperties: false\n JSONLimitErrorDetails:\n type: object\n required: [reason]\n additionalProperties: false\n properties:\n reason:\n type: string\n enum: [payload_bytes, json_depth, prototype_key, number_precision]\n PackageValidationErrorDetails:\n type: object\n required: [reason]\n additionalProperties: false\n properties:\n reason:\n type: string\n enum: [manifest_missing, manifest_field, manifest_decode, zip_invalid, file_count, duplicate_entry, ambiguous_entry, non_regular_entry, invalid_utf8_path, non_nfc_path, symlink_entry, directory_entry, entry_bytes, path_length, compression_ratio, total_uncompressed_bytes, entry_open_failed, entry_read_failed, entry_close_failed, entry_size_mismatch, unsupported_signature_entry, manifest_artifact, package_asset_security, package_artifact_boundary, entry_path, manifest_canonical_json, canonical_hash, package_signature, empty_path, slash_separator, non_canonical_path, path_traversal, hidden_path, external_icon_path, unsupported_icon_format, missing_icon_asset, icon_magic_mismatch, query_or_fragment]\n path:\n type: string\n description: Package-local entry path related to the error, when available.\n pointer:\n type: string\n description: JSON Pointer into manifest.json related to the error, when available.\n CapabilityBusinessErrorDetails:\n type: object\n additionalProperties: false\n required: [capability_id, capability_version, detail_schema_sha256, business_error_code]\n properties:\n capability_id:\n type: string\n minLength: 1\n capability_version:\n $ref: \"#/components/schemas/StrictSemVer\"\n detail_schema_sha256:\n type: string\n pattern: \"^[0-9a-f]{64}$\"\n business_error_code:\n type: string\n pattern: \"^[A-Z][A-Z0-9_]*$\"\n business_error_details:\n type: object\n additionalProperties: true\n WorkerErrorDetails:\n type: object\n additionalProperties: false\n required: [worker_error_code, worker_error_message, worker_error_origin]\n properties:\n worker_error_code:\n type: string\n pattern: \"^[A-Z][A-Z0-9_]*$\"\n worker_error_message:\n type: string\n minLength: 1\n maxLength: 4096\n worker_error_origin:\n type: string\n enum: [runtime, hostcall, plugin]\n SessionTeardownIncompleteErrorDetails:\n type: object\n additionalProperties: false\n required: [session_scope]\n properties:\n session_scope:\n $ref: \"#/components/schemas/SessionScopeRevokeIncompleteResult\"\n ManagementRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_management_revision, actual_management_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n AuthorizationRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required:\n - plugin_instance_id\n - expected_policy_revision\n - actual_policy_revision\n - expected_management_revision\n - actual_management_revision\n - expected_revoke_epoch\n - actual_revoke_epoch\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n actual_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n BindingRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_binding_revision, actual_binding_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ValuesRevisionMismatchDetails:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, expected_values_revision, actual_values_revision]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n actual_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ErrorCode:\n $ref: \"../plugin/error-codes-v8.schema.json#/$defs/platform_error_code\"\n PlatformErrorMessage:\n type: string\n minLength: 1\n maxLength: 4096\n pattern: \".*\\\\S.*\"\n GenericPlatformErrorCode:\n type: string\n enum:\n - PLUGIN_INVALID_REQUEST\n - PLUGIN_SIGNATURE_INVALID\n - PLUGIN_TRUST_STATE_DENIED\n - PLUGIN_TRUST_VERIFICATION_REQUIRED\n - PLUGIN_TRUST_VERIFICATION_INVALID\n - PLUGIN_RELEASE_REF_VERIFICATION_FAILED\n - PLUGIN_RELEASE_REF_POLICY_DENIED\n - PLUGIN_RELEASE_NETWORK\n - PLUGIN_RELEASE_TIMEOUT\n - PLUGIN_RELEASE_ASSET_MISSING\n - PLUGIN_RELEASE_ASSET_INTEGRITY\n - PLUGIN_INSTALL_INTERRUPTED\n - PLUGIN_INSTALL_STATE_CONFLICT\n - PLUGIN_INTERNAL_FAILURE\n - PLUGIN_DISABLED\n - PLUGIN_DISABLED_BY_POLICY\n - PLUGIN_PERMISSION_DENIED\n - PLUGIN_ORIGIN_DENIED\n - PLUGIN_ACTION_DENIED\n - PLUGIN_OWNER_SCOPE_MISMATCH\n - PLUGIN_SECRET_SCOPE_MISMATCH\n - PLUGIN_STORAGE_SCOPE_MISMATCH\n - PLUGIN_ADAPTER_FAILURE\n - PLUGIN_SESSION_REVOKED\n - PLUGIN_SESSION_TEARDOWN_INCOMPLETE\n - PLUGIN_SESSION_FENCE_CAPACITY\n - PLUGIN_CONFIRMATION_REQUIRED\n - PLUGIN_CONFIRMATION_INVALID\n - PLUGIN_TOKEN_EXPIRED\n - PLUGIN_TOKEN_REPLAY\n - PLUGIN_GATEWAY_TOKEN_INVALID\n - PLUGIN_GATEWAY_TOKEN_REPLAYED\n - PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH\n - PLUGIN_ASSET_TICKET_INVALID\n - PLUGIN_ASSET_SESSION_INVALID\n - PLUGIN_STREAM_TICKET_INVALID\n - PLUGIN_STREAM_DELIVERY_INVALID\n - PLUGIN_STREAM_CANCELLED\n - PLUGIN_LEASE_INVALID\n - PLUGIN_LEASE_REPLAYED\n - PLUGIN_GRANT_INVALID\n - PLUGIN_STORAGE_QUOTA_EXCEEDED\n - PLUGIN_EXECUTION_BLOCKED\n - PLUGIN_EXECUTION_NOT_FOUND\n - PLUGIN_EXECUTION_NOT_CANCELABLE\n - PLUGIN_NETWORK_TARGET_DENIED\n - PLUGIN_NETWORK_RATE_LIMITED\n - PLUGIN_RUNTIME_UNAVAILABLE\n - PLUGIN_RUNTIME_VERSION_MISMATCH\n - PLUGIN_RUNTIME_CONTRACT_MISMATCH\n - PLUGIN_UI_PROTOCOL_UNSUPPORTED\n - PLUGIN_UI_PROTOCOL_VIOLATION\n - PLUGIN_SURFACE_QUIESCE_TIMEOUT\n - PLUGIN_CONTRACT_MISMATCH\n - PLUGIN_CSRF_REQUIRED\n - PLUGIN_CSRF_INVALID\n - PLUGIN_FEATURE_NOT_CONFIGURED\n SurfaceDisposeResult:\n type: object\n required: [disposed, state, previous_state, revoked]\n additionalProperties: false\n properties:\n disposed: { const: true }\n state: { type: string, enum: [closed, absent] }\n previous_state: { type: string, enum: [active, closed, absent] }\n revoked: { type: boolean }\n SessionScopeRevokeCounts:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/revoke_counts\"\n SessionScopeRevokeResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/public_revoke_result\"\n SessionScopeRevokeCompleteResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/complete_revoke_result\"\n SessionScopeRevokeIncompleteResult:\n $ref: \"../plugin/session-scope-v1.schema.json#/$defs/incomplete_revoke_result\"\n PluginActionState:\n type: object\n required: [can_open, can_enable, can_disable, can_uninstall]\n additionalProperties: false\n properties:\n can_open: { type: boolean }\n can_enable: { type: boolean }\n can_disable: { type: boolean }\n can_uninstall: { type: boolean }\n blocked_reason:\n type: string\n enum:\n - disabled\n - permission_required\n - policy_restricted\n - package_invalid\n - signature_invalid\n - signature_revoked\n - runtime_unavailable\n - incompatible\n recovery_action: { type: string, enum: [retry] }\n PluginCatalogRecord:\n unevaluatedProperties: false\n allOf:\n - $ref: \"#/components/schemas/PluginRecord\"\n - type: object\n required: [action_state]\n properties:\n action_state: { $ref: \"#/components/schemas/PluginActionState\" }\n PluginCatalogResult:\n type: object\n required: [plugins]\n additionalProperties: false\n properties:\n plugins:\n type: array\n items: { $ref: \"#/components/schemas/PluginCatalogRecord\" }\n PluginCompatibilityManifest:\n $ref: \"../plugin/compatibility-manifest-v20.schema.json\"\n ExecutionList:\n type: object\n required: [executions]\n additionalProperties: false\n properties:\n executions:\n type: array\n items: { $ref: \"#/components/schemas/Execution\" }\n next_cursor: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExecutionEventList:\n type: object\n required: [execution_id, events, cursor]\n additionalProperties: false\n properties:\n execution_id: { type: string, minLength: 1 }\n events:\n type: array\n items: { $ref: \"#/components/schemas/Event\" }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n PluginIntentRecord:\n type: object\n required: [plugin_id, plugin_instance_id, publisher_id, display_name, version, active_fingerprint, intent_id, method, effect, execution]\n additionalProperties: false\n properties:\n plugin_id: { type: string }\n plugin_instance_id: { type: string }\n publisher_id: { type: string }\n display_name: { type: string }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string }\n intent_id: { type: string }\n method: { type: string }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n execution: { type: string, enum: [sync, operation, subscription] }\n payload_schema:\n type: object\n additionalProperties: true\n PluginIntentList:\n type: object\n required: [intents]\n additionalProperties: false\n properties:\n intents:\n type: array\n items: { $ref: \"#/components/schemas/PluginIntentRecord\" }\n PluginPermissionGrant:\n type: object\n description: Explicit public HTTP projection of a permission grant. Internal actor ownership hashes are never returned.\n required: [plugin_instance_id, permission_id, effect, granted_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n permission_id: { type: string }\n effect: { type: string, enum: [grant, deny] }\n granted_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n revoked_at: { type: string, format: date-time }\n revoked_reason: { type: string }\n PluginPermissionList:\n type: object\n required: [permissions]\n additionalProperties: false\n properties:\n permissions:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionGrant\" }\n PluginPermissionRequirementMethod:\n type: object\n required: [method, required_permissions]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n PluginPermissionRequirementContract:\n type: object\n required: [contract_id, contract_version, contract_sha256, capability_id, capability_version, methods]\n additionalProperties: false\n properties:\n contract_id: { type: string, minLength: 1 }\n contract_version: { type: string, minLength: 1 }\n contract_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n capability_id: { type: string, minLength: 1 }\n capability_version: { type: string, minLength: 1 }\n methods:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionRequirementMethod\" }\n PluginPermissionRequirements:\n type: object\n required: [plugin_instance_id, plugin_version, active_fingerprint, management_revision, contracts, required_permissions]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n plugin_version: { type: string, minLength: 1 }\n active_fingerprint: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n contracts:\n type: array\n items: { $ref: \"#/components/schemas/PluginPermissionRequirementContract\" }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n AuthorizationRevisions:\n type: object\n required: [policy_revision, management_revision, revoke_epoch]\n additionalProperties: false\n properties:\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n PluginPermissionMutationResult:\n type: object\n required: [permission, revisions]\n additionalProperties: false\n properties:\n permission: { $ref: \"#/components/schemas/PluginPermissionGrant\" }\n revisions: { $ref: \"#/components/schemas/AuthorizationRevisions\" }\n PluginSecurityPolicy:\n type: object\n required: [plugin_instance_id, allowed_permissions, denied_methods, policy_revision, management_revision, revoke_epoch, updated_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n allowed_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n denied_methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n updated_at: { type: string, format: date-time }\n PluginSecurityPolicyList:\n type: object\n required: [security_policies]\n additionalProperties: false\n properties:\n security_policies:\n type: array\n items: { $ref: \"#/components/schemas/PluginSecurityPolicy\" }\n PluginSecurityPolicyDeleteResult:\n type: object\n required: [plugin_instance_id, deleted, policy_revision, management_revision, revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n deleted: { const: true }\n policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n DiagnosticMutationOutcome:\n type: string\n enum: [committed, not_committed, unknown]\n PluginDiagnosticDetails:\n type: object\n additionalProperties: false\n properties:\n executions_deleted: { type: integer, minimum: 0, maximum: 9007199254740991 }\n execution_id: { type: string }\n invocation_id: { type: string }\n method: { type: string }\n failure_code: { type: string }\n runtime_process_failure_code:\n $ref: \"../plugin/error-codes-v8.schema.json#/$defs/runtime_process_failure_code\"\n runtime_instance_id: { type: string }\n runtime_generation_id: { type: string }\n runtime_version: { type: string }\n rust_ipc_version: { type: string }\n wasm_abi_version: { type: string }\n contract_set_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n runtime_target_os: { type: string }\n runtime_target_arch: { type: string }\n runtime_binary_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n os: { type: string }\n arch: { type: string }\n stream: { type: string }\n package_hash: { type: string }\n artifact: { type: string }\n plugin_instance_id: { type: string }\n store_id: { type: string }\n operation: { type: string }\n hostcall: { type: string }\n code: { type: string }\n connector_id: { type: string }\n transport: { type: string }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n stage_id: { type: string }\n reason: { type: string }\n surface_instance_id: { type: string }\n PluginDiagnosticEvent:\n type: object\n required: [type, severity, message]\n additionalProperties: false\n properties:\n event_id: { type: string }\n type: { type: string }\n severity: { type: string, enum: [info, warning] }\n message: { type: string }\n plugin_id: { type: string }\n plugin_instance_id: { type: string }\n surface_id: { type: string }\n surface_instance_id: { type: string }\n active_fingerprint: { type: string }\n request_id: { type: string }\n correlation_id: { type: string }\n mutation_outcome: { $ref: \"#/components/schemas/DiagnosticMutationOutcome\" }\n occurred_at: { type: string, format: date-time }\n details: { $ref: \"#/components/schemas/PluginDiagnosticDetails\" }\n PluginDiagnosticEventList:\n type: object\n required: [diagnostic_events]\n additionalProperties: false\n properties:\n diagnostic_events:\n type: array\n items: { $ref: \"#/components/schemas/PluginDiagnosticEvent\" }\n PluginRuntimeShardHealth:\n type: object\n description: Explicit public HTTP projection of runtime shard health. IPC channel credentials and connection nonces are excluded.\n required: [runtime_shard_id, runtime_instance_id, runtime_generation_id, descriptor, ready, active_invocations, queued_invocations, limits, module_cache]\n additionalProperties: false\n properties:\n runtime_shard_id: { type: string }\n runtime_instance_id: { type: string }\n runtime_generation_id: { type: string }\n descriptor: { $ref: \"#/components/schemas/RuntimeDescriptor\" }\n ready: { type: boolean }\n active_invocations: { type: integer, minimum: 0 }\n queued_invocations: { type: integer, minimum: 0 }\n limits: { $ref: \"#/components/schemas/RuntimeLimits\" }\n module_cache: { $ref: \"#/components/schemas/RuntimeModuleCacheMetrics\" }\n PluginRuntimeHealth:\n type: object\n description: Explicit public HTTP projection of runtime manager health.\n required: [ready, descriptor, shards]\n additionalProperties: false\n properties:\n ready: { type: boolean }\n descriptor: { $ref: \"#/components/schemas/RuntimeDescriptor\" }\n shards:\n type: array\n items: { $ref: \"#/components/schemas/PluginRuntimeShardHealth\" }\n RuntimeTarget:\n oneOf:\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: darwin }\n arch: { const: amd64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: darwin }\n arch: { const: arm64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: linux }\n arch: { const: amd64 }\n - type: object\n required: [os, arch]\n additionalProperties: false\n properties:\n os: { const: linux }\n arch: { const: arm64 }\n RuntimeAdmissionTarget:\n type: string\n enum: [linux/amd64, linux/arm64]\n StrictSemVer:\n type: string\n pattern: '^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$'\n RuntimeDescriptor:\n type: object\n required: [schema_version, platform_version, target, internal, public_api, binary_sha256]\n additionalProperties: false\n properties:\n schema_version: { const: runtime-descriptor-v3 }\n platform_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n target: { $ref: \"#/components/schemas/RuntimeAdmissionTarget\" }\n internal:\n type: object\n additionalProperties: false\n required: [rust_ipc, contract_set_sha256]\n properties:\n rust_ipc: { const: rust-ipc-v7 }\n contract_set_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n public_api:\n type: object\n additionalProperties: false\n required: [worker_majors, features]\n properties:\n worker_majors: { type: array, const: [1] }\n features: { type: array, const: [fs.environment.v1, fs.home.v1, fs.watch.v1, fs.workspace.v1, io.stream.v1, net.http.v1, net.tcp.v1, net.udp.v1, net.websocket.v1] }\n binary_sha256: { type: string, pattern: '^[0-9a-f]{64}$' }\n RuntimeLimits:\n type: object\n description: \"Negotiated runtime capacities. per_plugin_concurrency must not exceed worker_count. Route capacities are derived exactly from negotiated limits: active hostcall routes = worker_count, canceled hostcall retention = worker_count + queue_capacity, and compile-flight artifact routes = worker_count.\"\n required: [worker_count, queue_capacity, per_plugin_concurrency, module_cache_entries, module_cache_source_bytes]\n additionalProperties: false\n properties:\n worker_count: { type: integer, minimum: 1, maximum: 64, description: \"Number of runtime worker threads.\" }\n queue_capacity: { type: integer, minimum: 1, maximum: 64, description: \"Maximum queued worker invocations.\" }\n per_plugin_concurrency: { type: integer, minimum: 1, maximum: 64, description: \"Maximum concurrent invocations for one plugin; must not exceed worker_count.\" }\n module_cache_entries: { type: integer, minimum: 1, maximum: 1024, description: \"Maximum compiled modules retained by the runtime cache.\" }\n module_cache_source_bytes: { type: integer, minimum: 1, maximum: 134217728, description: \"Maximum source WASM bytes retained by the runtime cache (128 MiB).\" }\n RuntimeModuleCacheMetrics:\n type: object\n required: [hits, misses, compiles, entries, source_bytes]\n additionalProperties: false\n properties:\n hits: { type: integer, minimum: 0, maximum: 9007199254740991 }\n misses: { type: integer, minimum: 0, maximum: 9007199254740991 }\n compiles: { type: integer, minimum: 0, maximum: 9007199254740991 }\n entries: { type: integer, minimum: 0, maximum: 1024 }\n source_bytes: { type: integer, minimum: 0, maximum: 134217728 }\n PluginRuntimeStopResult:\n type: object\n required: [stopped]\n additionalProperties: false\n properties:\n stopped: { const: true }\n RecoverySnapshot:\n type: object\n required: [revision, complete, results]\n additionalProperties: false\n properties:\n revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n complete: { type: boolean }\n results:\n type: array\n items: { $ref: \"#/components/schemas/PluginRecoveryResult\" }\n PluginRecoveryResult:\n type: object\n required: [plugin_instance_id, status]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n status:\n type: string\n enum: [ready, failed]\n reason:\n type: string\n enum: [unknown, trust_state_advanced, trust_revoked, recovery_canceled, recovery_timeout]\n action:\n type: string\n enum: [retry, reinstall, contact_admin]\n RetryPluginRecoveryRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n PluginDataExportResult:\n type: object\n required: [bundle_ref]\n additionalProperties: false\n properties:\n bundle_ref: { type: string, minLength: 1 }\n PluginDataExportDeleteResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted: { const: true }\n PluginSecretBindResult:\n type: object\n required: [bound]\n additionalProperties: false\n properties:\n bound: { const: true }\n PluginSecretTestResult:\n type: object\n required: [tested]\n additionalProperties: false\n properties:\n tested: { const: true }\n PluginSecretDeleteResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted: { const: true }\n PluginSettingsField:\n type: object\n required: [key, type, label, scope]\n additionalProperties: false\n properties:\n key: { type: string }\n type: { type: string }\n label: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n default: true\n secret_ref: { type: string }\n options:\n type: array\n items: { type: string }\n validation:\n type: object\n additionalProperties: true\n PluginSettingsSchema:\n type: object\n description: Explicit public HTTP projection of the settings schema for one owner scope.\n required: [plugin_instance_id, scope, schema_version, fields, values_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n schema_version: { type: integer, minimum: 1 }\n fields:\n type: array\n items: { $ref: \"#/components/schemas/PluginSettingsField\" }\n values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n PluginSettingsSnapshot:\n type: object\n description: Explicit public HTTP projection of settings values and redacted secret metadata for one owner scope.\n required: [plugin_instance_id, scope, schema_version, values_revision, values, secret_metadata]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n schema_version: { type: integer, minimum: 1 }\n values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n values:\n type: object\n additionalProperties: true\n secret_metadata:\n type: array\n items: { $ref: \"#/components/schemas/PluginSettingsSecretMetadata\" }\n PluginSettingsSecretMetadata:\n type: object\n required: [key, secret_ref, scope, bound]\n additionalProperties: false\n properties:\n key: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { type: string, enum: [user, environment] }\n bound: { type: boolean }\n last_test_status: { type: string }\n bound_at: { type: string, format: date-time }\n tested_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n ExternalPackageIntentRequest:\n description: Closed install or update intent. Update concurrency values are supplied by the caller, while package identity is always derived from the inspected artifact.\n oneOf:\n - type: object\n required: [action]\n additionalProperties: false\n properties:\n action: { const: install }\n - type: object\n required: [action, plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n action: { const: update }\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExternalPackageIntent:\n description: Server-resolved install or update intent. The platform generates the install instance identifier during inspection.\n oneOf:\n - type: object\n required: [action, plugin_instance_id]\n additionalProperties: false\n properties:\n action: { const: install }\n plugin_instance_id: { type: string, minLength: 1 }\n - type: object\n required: [action, plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n action: { const: update }\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ExternalPackageSource:\n description: Caller-selected external source. Redirect resolution, package hashes, identity, and provenance are derived by the platform.\n oneOf:\n - type: object\n required: [kind, url]\n additionalProperties: false\n properties:\n kind: { const: package_url }\n url: { type: string, format: uri, minLength: 1 }\n - type: object\n required: [kind, url]\n additionalProperties: false\n properties:\n kind: { const: github_repository }\n url: { type: string, format: uri, minLength: 1 }\n tag:\n type: string\n minLength: 1\n maxLength: 255\n description: Optional exact release tag. When omitted, the resolver selects the repository's latest eligible release.\n InspectExternalPackageRequest:\n type: object\n description: Requests server-side inspection. Trust, hashes, package identity, approval, provenance, signature assessment, and update eligibility are intentionally not caller-controlled.\n required: [intent, source]\n additionalProperties: false\n properties:\n intent: { $ref: \"#/components/schemas/ExternalPackageIntentRequest\" }\n source: { $ref: \"#/components/schemas/ExternalPackageSource\" }\n InstallInspectedPackageRequest:\n type: object\n description: Confirms an unexpired process-local inspection by its exact package digest and carries the single Host-owned activation intent. New installs activate by default; updates preserve their pre-install enable intent.\n required: [inspection_id, expected_package_sha256]\n additionalProperties: false\n properties:\n inspection_id: { type: string, minLength: 1 }\n expected_package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n activate_after_install: { type: boolean }\n approved_permission_ids:\n type: array\n maxItems: 256\n uniqueItems: true\n items: { type: string, minLength: 1, maxLength: 256 }\n InspectReleasePackageRequest:\n type: object\n required: [plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref: { $ref: \"#/components/schemas/PluginReleaseRef\" }\n ExternalPackageSignatureAssessment:\n type: object\n description: Cryptographic signature fact computed over the inspected artifact. The absent state is installable and affects trust classification and automatic-update eligibility only.\n required: [state, reason_codes, assessed_hashes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [verified, absent, unknown_signer, invalid, revoked, unavailable]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n algorithm: { type: string, minLength: 1 }\n key_id: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n assessment_epoch: { type: string, minLength: 1 }\n ExternalPackageRedirectHop:\n type: object\n description: Credential-free redirect projection. Userinfo, query strings, and fragments are never exposed.\n required: [origin, path]\n additionalProperties: false\n properties:\n origin: { type: string, format: uri, minLength: 1 }\n path: { type: string, pattern: \"^/\" }\n ExternalPackageSourceProvenance:\n description: Stable, credential-free source provenance computed after URL, GitHub release, or uploaded-package resolution. Upload identifiers are opaque server-generated values and cannot be supplied by callers.\n oneOf:\n - type: object\n required: [kind, source_origin, source_path, redirect_chain, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: package_url }\n source_origin: { type: string, format: uri, minLength: 1 }\n source_path: { type: string, pattern: \"^/\" }\n redirect_chain:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageRedirectHop\" }\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n - type: object\n required: [kind, upload_id, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: package_upload }\n upload_id:\n type: string\n minLength: 1\n description: Opaque server-generated identifier for the staged uploaded artifact.\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n - type: object\n required: [kind, repository_id, release_id, asset_id, repository_url, owner, repository, resolved_commit_sha, package_sha256, resolved_at]\n additionalProperties: false\n properties:\n kind: { const: github_repository }\n repository_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub repository database ID encoded as decimal text.\n release_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub release database ID encoded as decimal text.\n asset_id:\n type: string\n pattern: \"^[1-9][0-9]*$\"\n description: Stable GitHub release asset database ID encoded as decimal text.\n repository_url: { type: string, format: uri, minLength: 1 }\n owner:\n type: string\n minLength: 1\n description: Display-only owner login; repository_id remains authoritative across renames.\n repository:\n type: string\n minLength: 1\n description: Display-only repository name; repository_id remains authoritative across renames.\n resolved_commit_sha: { type: string, pattern: \"^[0-9a-f]{40}$\" }\n release_tag: { type: string, minLength: 1 }\n asset_name: { type: string, minLength: 1 }\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n resolved_at: { type: string, format: date-time }\n ExternalPackageExecutionApproval:\n type: object\n description: Execution decision independent from signature state. Session and owner hashes are excluded from this public projection.\n required: [state, reason_codes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [pending, user_approved, policy_approved, policy_blocked]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n approved_at: { type: string, format: date-time }\n ExternalPackageUpdateEligibility:\n type: object\n description: Automatic-update decision. Unsigned or otherwise unverified packages remain installable but are normally manual-only.\n required: [state, reason_codes, assessed_at]\n additionalProperties: false\n properties:\n state:\n type: string\n enum: [manual_only, automatic_eligible]\n reason_codes:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n assessed_at: { type: string, format: date-time }\n ExternalPackagePermissionSummary:\n type: object\n required: [permission_id, methods]\n additionalProperties: false\n properties:\n permission_id: { type: string, minLength: 1 }\n methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n ExternalPackageMethodRouteSummary:\n type: object\n required: [kind]\n additionalProperties: false\n properties:\n kind: { type: string, enum: [capability, worker, core_action] }\n binding_id: { type: string, minLength: 1 }\n target_method: { type: string, minLength: 1 }\n worker_id: { type: string, minLength: 1 }\n action_id: { type: string, minLength: 1 }\n ExternalPackageConfirmationSummary:\n type: object\n required: [mode, request_hash_fields, plan_hash_required]\n additionalProperties: false\n properties:\n mode: { type: string, enum: [none, required, risk_based] }\n preflight_method: { type: string, minLength: 1 }\n request_hash_fields:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n plan_hash_required: { type: boolean }\n ExternalPackageCancelSummary:\n type: object\n required: [cancelable, disable_behavior, uninstall_behavior, ack_timeout_ms]\n additionalProperties: false\n properties:\n cancelable: { type: boolean }\n disable_behavior: { type: string, enum: [cancel, orphan, wait] }\n uninstall_behavior: { type: string, enum: [cancel_then_block_delete, force_cleanup_allowed] }\n ack_timeout_ms: { type: integer, minimum: 0 }\n ExternalPackageMethodSummary:\n type: object\n required: [method, route, effect, execution, dangerous, preflight_only, required_permissions, confirmation]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n route: { $ref: \"#/components/schemas/ExternalPackageMethodRouteSummary\" }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n execution: { type: string, enum: [sync, operation, subscription] }\n dangerous: { type: boolean }\n preflight_only: { type: boolean }\n required_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n confirmation: { $ref: \"#/components/schemas/ExternalPackageConfirmationSummary\" }\n cancel: { $ref: \"#/components/schemas/ExternalPackageCancelSummary\" }\n ExternalPackageCapabilityContractSummary:\n type: object\n required: [binding_id, capability_id, capability_version, contract_sha256]\n additionalProperties: false\n properties:\n binding_id: { type: string, minLength: 1 }\n capability_id: { type: string, minLength: 1 }\n capability_version: { type: string, minLength: 1 }\n contract_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n ExternalPackageWorkerSummary:\n type: object\n required: [worker_id, artifact, abi, mode, scope, memory_limit_bytes, idle_timeout_ms]\n additionalProperties: false\n properties:\n worker_id: { type: string, minLength: 1 }\n artifact: { type: string, minLength: 1 }\n abi: { const: redevplugin-wasm-worker-v2 }\n mode: { const: job }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n memory_limit_bytes: { type: integer, minimum: 1, maximum: 268435456 }\n idle_timeout_ms: { type: integer, minimum: 0 }\n ExternalPackageNetworkMethodAccessSummary:\n type: object\n required: [method, operations, http_methods]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n operations:\n type: array\n uniqueItems: true\n items: { type: string, enum: [http, http_stream, websocket_round_trip, tcp_round_trip, udp_round_trip] }\n http_methods:\n type: array\n uniqueItems: true\n items: { type: string, enum: [GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS] }\n ExternalPackageNetworkSummary:\n type: object\n required: [connector_id, transport, scope, destinations, auth_declared, tls_declared, method_access]\n additionalProperties: false\n properties:\n connector_id: { type: string, minLength: 1 }\n transport: { type: string, enum: [http, websocket, tcp, udp] }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n destinations:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n auth_declared: { type: boolean }\n tls_declared: { type: boolean }\n method_access:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageNetworkMethodAccessSummary\" }\n ExternalPackageStorageMethodAccessSummary:\n type: object\n required: [method, operations]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n operations:\n type: array\n uniqueItems: true\n items: { type: string, enum: [read, write, delete, list, get, put, query, exec] }\n ExternalPackageStorageSummary:\n type: object\n required: [store_id, kind, scope, quota_bytes, schema_version, method_access]\n additionalProperties: false\n properties:\n store_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [kv, files, sqlite] }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n quota_bytes: { type: integer, minimum: 1, maximum: 1073741824 }\n quota_files: { type: integer, minimum: 1, maximum: 100000 }\n schema_version: { type: integer, minimum: 1 }\n method_access:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageStorageMethodAccessSummary\" }\n ExternalPackageSecretRefSummary:\n type: object\n required: [setting_key, secret_ref, scope]\n additionalProperties: false\n properties:\n setting_key: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n ExternalPackageCoreActionSummary:\n type: object\n required: [method, action_id, effect]\n additionalProperties: false\n properties:\n method: { type: string, minLength: 1 }\n action_id: { type: string, minLength: 1 }\n effect: { type: string, enum: [read, write, delete, execute, admin] }\n ExternalPackageIntentSummary:\n type: object\n required: [intent_id, method]\n additionalProperties: false\n properties:\n intent_id: { type: string, minLength: 1 }\n method: { type: string, minLength: 1 }\n ExternalPackageSurfaceSummary:\n type: object\n required: [surface_id, kind, intent, label, entry]\n additionalProperties: false\n properties:\n surface_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [view, command, background] }\n intent: { type: string, enum: [primary, secondary, utility] }\n label: { type: string, minLength: 1 }\n entry: { type: string, minLength: 1 }\n icon: { type: string, minLength: 1 }\n default_size: { $ref: \"#/components/schemas/ExternalPackageSizeSummary\" }\n ExternalPackageSizeSummary:\n type: object\n required: [width, height]\n additionalProperties: false\n properties:\n width: { type: integer, minimum: 1 }\n height: { type: integer, minimum: 1 }\n ExternalPackageSecuritySummary:\n type: object\n description: Closed, display-ready projection of every security-relevant declaration in the inspected manifest.\n required: [summary_sha256, permissions, methods, capability_contracts, workers, network, storage, secret_refs, core_actions, intents, surfaces]\n additionalProperties: false\n properties:\n summary_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n permissions:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackagePermissionSummary\" }\n methods:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageMethodSummary\" }\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageCapabilityContractSummary\" }\n workers:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageWorkerSummary\" }\n network:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageNetworkSummary\" }\n storage:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageStorageSummary\" }\n secret_refs:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageSecretRefSummary\" }\n core_actions:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageCoreActionSummary\" }\n intents:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageIntentSummary\" }\n surfaces:\n type: array\n items: { $ref: \"#/components/schemas/ExternalPackageSurfaceSummary\" }\n SettingOptionPresentation:\n type: object\n required: [value, label]\n additionalProperties: false\n properties:\n value: { type: string, minLength: 1, maxLength: 128 }\n label: { type: string, minLength: 1, maxLength: 128 }\n ResolvedSurfacePresentation:\n type: object\n required: [surface_id, label]\n additionalProperties: false\n properties:\n surface_id: { type: string, minLength: 1 }\n label: { type: string, minLength: 1, maxLength: 128 }\n ResolvedSettingPresentation:\n type: object\n required: [key, label, options]\n additionalProperties: false\n properties:\n key: { type: string, minLength: 1 }\n label: { type: string, minLength: 1, maxLength: 128 }\n options:\n type: array\n items: { $ref: \"#/components/schemas/SettingOptionPresentation\" }\n PresentationIcon:\n type: object\n required: [path]\n additionalProperties: false\n properties:\n path:\n type: string\n minLength: 1\n pattern: \"^[A-Za-z0-9_][A-Za-z0-9_.-]*(?:/[A-Za-z0-9_][A-Za-z0-9_.-]*)*\\\\.(?:[Pp][Nn][Gg]|[Ww][Ee][Bb][Pp])$\"\n PresentationLocale:\n type: object\n required: [locale, plugin_name, summary, description, highlights, keywords, surfaces, settings]\n additionalProperties: false\n properties:\n locale: { type: string, minLength: 2, maxLength: 255 }\n plugin_name: { type: string, minLength: 1, maxLength: 128 }\n publisher_name: { type: string, minLength: 1, maxLength: 128 }\n summary: { type: string, minLength: 1, maxLength: 240 }\n description:\n type: array\n minItems: 1\n maxItems: 12\n items: { type: string, minLength: 1, maxLength: 1000 }\n highlights:\n type: array\n maxItems: 8\n items: { type: string, minLength: 1, maxLength: 240 }\n keywords:\n type: array\n minItems: 1\n maxItems: 12\n items: { type: string, minLength: 1, maxLength: 64 }\n surfaces:\n type: array\n items: { $ref: \"#/components/schemas/ResolvedSurfacePresentation\" }\n settings:\n type: array\n items: { $ref: \"#/components/schemas/ResolvedSettingPresentation\" }\n PresentationCatalog:\n type: object\n required: [default_locale, locales]\n additionalProperties: false\n properties:\n default_locale: { type: string, minLength: 2, maxLength: 255 }\n icon: { $ref: \"#/components/schemas/PresentationIcon\" }\n locales:\n type: array\n minItems: 1\n maxItems: 16\n items: { $ref: \"#/components/schemas/PresentationLocale\" }\n ExternalPackageInspection:\n type: object\n description: Immutable inspection projection. Package identity and all four trust/security facts are server-derived.\n required: [inspection_id, expires_at, intent, publisher_id, plugin_id, version, presentation, presentation_sha256, inspected_hashes, signature_assessment, source_provenance, execution_approval, update_eligibility, security_summary]\n additionalProperties: false\n properties:\n inspection_id: { type: string, minLength: 1 }\n expires_at: { type: string, format: date-time }\n intent: { $ref: \"#/components/schemas/ExternalPackageIntent\" }\n publisher_id: { type: string, minLength: 1 }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n inspected_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n signature_assessment: { $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\" }\n source_provenance: { $ref: \"#/components/schemas/ExternalPackageSourceProvenance\" }\n execution_approval: { $ref: \"#/components/schemas/ExternalPackageExecutionApproval\" }\n update_eligibility: { $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n InstalledExternalPackage:\n type: object\n required: [plugin, activation, signature_assessment, source_provenance, execution_approval, update_eligibility, security_summary]\n additionalProperties: false\n properties:\n plugin: { $ref: \"#/components/schemas/PluginRecord\" }\n activation: { $ref: \"#/components/schemas/PluginInstallActivation\" }\n signature_assessment: { $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\" }\n source_provenance: { $ref: \"#/components/schemas/ExternalPackageSourceProvenance\" }\n execution_approval: { $ref: \"#/components/schemas/ExternalPackageExecutionApproval\" }\n update_eligibility: { $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n PluginInstallActivation:\n type: object\n required: [status]\n additionalProperties: false\n properties:\n status:\n type: string\n enum: [not_requested, enabled, needs_attention]\n missing_permission_ids:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n next_action:\n type: string\n enum: [approve_permissions, retry_activation]\n ReleasePackageInspection:\n type: object\n required: [plugin_instance_id, release_ref, inspected_hashes, presentation, presentation_sha256, security_summary]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref: { $ref: \"#/components/schemas/PluginReleaseRef\" }\n inspected_hashes: { $ref: \"#/components/schemas/TrustHashSet\" }\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n security_summary: { $ref: \"#/components/schemas/ExternalPackageSecuritySummary\" }\n TrustState:\n type: string\n enum: [verified, unsigned_local, untrusted, needs_review, trust_unavailable, blocked_security]\n TrustHashSet:\n type: object\n required: [package_sha256, manifest_sha256, entries_sha256]\n additionalProperties: false\n properties:\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n manifest_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n entries_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n VerifiedSignature:\n type: object\n required: [algorithm, key_id]\n additionalProperties: false\n properties:\n algorithm: { type: string, minLength: 1 }\n key_id: { type: string, minLength: 1 }\n TrustAssessment:\n type: object\n required: [trust_state, verified_hashes]\n additionalProperties: false\n properties:\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n reason_codes:\n type: array\n items: { type: string }\n verified_hashes:\n $ref: \"#/components/schemas/TrustHashSet\"\n verified_signature:\n $ref: \"#/components/schemas/VerifiedSignature\"\n trust_assessment_epoch: { type: string }\n policy_epoch: { type: string }\n revocation_epoch: { type: string }\n metadata:\n type: object\n additionalProperties: { type: string }\n PluginVersion:\n type: object\n required: [version, active_fingerprint, package_hash, manifest_hash, entries_hash, trust_state, trust_assessment, manifest, presentation, presentation_sha256, package_entries, activated_at]\n additionalProperties: false\n properties:\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string, minLength: 1 }\n package_hash: { type: string, minLength: 1 }\n manifest_hash: { type: string, minLength: 1 }\n entries_hash: { type: string, minLength: 1 }\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n trust_assessment:\n $ref: \"#/components/schemas/TrustAssessment\"\n source_policy_snapshot_hash: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n source_policy_snapshot:\n type: object\n additionalProperties: true\n local_import_provenance:\n $ref: \"#/components/schemas/LocalImportProvenance\"\n signature_assessment:\n $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\"\n source_provenance:\n $ref: \"#/components/schemas/ExternalPackageSourceProvenance\"\n execution_approval:\n $ref: \"#/components/schemas/ExternalPackageExecutionApproval\"\n update_eligibility:\n $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\"\n security_summary:\n $ref: \"#/components/schemas/ExternalPackageSecuritySummary\"\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/CapabilityContractPin\" }\n manifest:\n $ref: \"../plugin/manifest-v9.schema.json\"\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n package_entries:\n type: array\n items: { $ref: \"#/components/schemas/PackageEntry\" }\n runtime_requirement: { $ref: \"#/components/schemas/RuntimeRequirement\" }\n activated_at: { type: string, format: date-time }\n metadata:\n type: object\n additionalProperties: { type: string }\n PluginRecord:\n type: object\n description: Explicit public HTTP projection of a registry record. Persistent owner identity is excluded.\n required: [plugin_instance_id, publisher_id, plugin_id, version, active_fingerprint, package_hash, manifest_hash, entries_hash, trust_state, trust_assessment, enable_state, policy_revision, management_revision, revoke_epoch, manifest, presentation, presentation_sha256, package_entries, installed_at, updated_at]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n publisher_id: { type: string }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n active_fingerprint: { type: string, minLength: 1 }\n package_hash: { type: string }\n manifest_hash: { type: string }\n entries_hash: { type: string }\n trust_state:\n $ref: \"#/components/schemas/TrustState\"\n trust_assessment:\n $ref: \"#/components/schemas/TrustAssessment\"\n source_policy_snapshot_hash: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n source_policy_snapshot:\n type: object\n additionalProperties: true\n local_import_provenance:\n $ref: \"#/components/schemas/LocalImportProvenance\"\n signature_assessment:\n $ref: \"#/components/schemas/ExternalPackageSignatureAssessment\"\n source_provenance:\n $ref: \"#/components/schemas/ExternalPackageSourceProvenance\"\n execution_approval:\n $ref: \"#/components/schemas/ExternalPackageExecutionApproval\"\n update_eligibility:\n $ref: \"#/components/schemas/ExternalPackageUpdateEligibility\"\n security_summary:\n $ref: \"#/components/schemas/ExternalPackageSecuritySummary\"\n capability_contracts:\n type: array\n items: { $ref: \"#/components/schemas/CapabilityContractPin\" }\n enable_state:\n type: string\n enum: [disabled, enabled, disabled_by_policy, disabled_incompatible]\n disabled_reason: { type: string }\n policy_revision: { type: integer, minimum: 0, maximum: 9007199254740991 }\n management_revision: { type: integer, minimum: 0, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n manifest:\n $ref: \"../plugin/manifest-v9.schema.json\"\n presentation: { $ref: \"#/components/schemas/PresentationCatalog\" }\n presentation_sha256: { type: string, pattern: \"^sha256:[0-9a-f]{64}$\" }\n package_entries:\n type: array\n items: { $ref: \"#/components/schemas/PackageEntry\" }\n runtime_requirement: { $ref: \"#/components/schemas/RuntimeRequirement\" }\n version_history:\n type: array\n items:\n $ref: \"#/components/schemas/PluginVersion\"\n installed_at: { type: string, format: date-time }\n enabled_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n deleted_at: { type: string, format: date-time }\n metadata:\n type: object\n additionalProperties: { type: string }\n PackageEntry:\n type: object\n required: [path, size, sha256, mode]\n additionalProperties: false\n properties:\n path: { type: string, minLength: 1 }\n size: { type: integer, minimum: 0 }\n sha256: { type: string, pattern: \"^[0-9a-f]{64}$\" }\n mode: { type: string, minLength: 1 }\n content_type: { type: string }\n RuntimeRequirement:\n type: object\n required: [min_version]\n additionalProperties: false\n properties:\n min_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n supported_targets:\n type: array\n uniqueItems: true\n items:\n type: string\n enum: [darwin/amd64, darwin/arm64, linux/amd64, linux/arm64]\n LocalImportProvenance:\n type: object\n required: [import_id, distribution, policy_epoch, unsigned_policy, assessed_at]\n additionalProperties: false\n properties:\n import_id: { type: string, minLength: 1 }\n distribution: { enum: [local_import] }\n policy_epoch: { type: string, minLength: 1 }\n unsigned_policy: { enum: [dev_only, review_required, block] }\n assessed_at: { type: string, format: date-time }\n PackageHashSet:\n type: object\n required: [package_sha256, manifest_sha256, entries_sha256]\n additionalProperties: false\n properties:\n package_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n manifest_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n entries_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n PluginReleaseRef:\n type: object\n required: [source_id, channel, release_metadata_ref, release_metadata_sha256, publisher_id, plugin_id, version, expected_hashes]\n additionalProperties: false\n properties:\n source_id: { type: string, minLength: 1 }\n channel: { type: string, pattern: \"^[a-z][a-z0-9._-]{0,127}$\" }\n release_metadata_ref: { type: string, minLength: 1 }\n release_metadata_sha256: { type: string, pattern: \"^(sha256:)?[0-9a-f]{64}$\" }\n publisher_id: { type: string, minLength: 1 }\n plugin_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n expected_hashes:\n $ref: \"#/components/schemas/PackageHashSet\"\n InstallReleaseRefRequest:\n type: object\n required: [plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n plugin_instance_id: { type: string, minLength: 1 }\n UpdateReleaseRefRequest:\n type: object\n required: [plugin_instance_id, release_ref, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n DowngradeRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n version: { $ref: \"#/components/schemas/StrictSemVer\" }\n package_hash: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n EnableRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n DisableRequest:\n type: object\n required: [plugin_instance_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n reason: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n UninstallRequest:\n type: object\n required: [plugin_instance_id, delete_data, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n delete_data: { type: boolean }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n OpenSurfaceRequest:\n type: object\n required: [plugin_instance_id, surface_id, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n RevokeSessionScopeRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n EmptyRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n EmptyQueryRequest:\n type: object\n additionalProperties: false\n maxProperties: 0\n ListIntentsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n intent_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n ListExecutionsRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n limit: { type: integer, minimum: 1, maximum: 500 }\n StartReleaseInstallExecutionRequest:\n type: object\n required: [request_id, plugin_instance_id, release_ref]\n additionalProperties: false\n properties:\n request_id: { type: string, minLength: 1, maxLength: 256 }\n plugin_instance_id: { type: string, minLength: 1 }\n activate_after_install: { type: boolean }\n approved_permission_ids:\n type: array\n maxItems: 256\n uniqueItems: true\n items: { type: string, minLength: 1, maxLength: 256 }\n release_ref:\n $ref: \"#/components/schemas/PluginReleaseRef\"\n if:\n required: [activate_after_install]\n properties:\n activate_after_install: { const: false }\n then:\n not:\n required: [approved_permission_ids]\n ListRetainedDataQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n ListPermissionsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n active_only: { type: boolean }\n PermissionRequirementsQueryRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n ListDiagnosticsQueryRequest:\n type: object\n additionalProperties: false\n properties:\n plugin_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n type: { type: string, minLength: 1 }\n severity: { type: string, enum: [info, warning] }\n limit: { type: integer, minimum: 1, maximum: 1000 }\n SettingsQueryRequest:\n type: object\n additionalProperties: false\n required: [scope]\n properties:\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n SurfaceBootstrap:\n type: object\n additionalProperties: false\n required:\n - plugin_id\n - plugin_instance_id\n - plugin_version\n - ui_protocol_version\n - surface_id\n - surface_instance_id\n - active_fingerprint\n - entry_path\n - entry_sha256\n - asset_session_nonce\n - management_revision\n - revoke_epoch\n - runtime_generation_id\n - asset_ticket\n - asset_ticket_id\n - bridge_nonce\n - issued_at\n - expires_at\n properties:\n plugin_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n plugin_version: { $ref: \"#/components/schemas/StrictSemVer\" }\n ui_protocol_version: { type: string, enum: [plugin-ui-v7] }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n active_fingerprint: { type: string, minLength: 1 }\n entry_path: { type: string, minLength: 1 }\n entry_sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n asset_session_nonce: { type: string, minLength: 16 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n runtime_generation_id: { type: string, minLength: 1 }\n asset_ticket: { type: string, minLength: 1 }\n asset_ticket_id: { type: string, minLength: 1 }\n bridge_nonce: { type: string, minLength: 16 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n PrepareSurfaceRequest:\n type: object\n required: [asset_ticket]\n additionalProperties: false\n properties:\n asset_ticket: { type: string, minLength: 1 }\n SurfacePreparation:\n type: object\n additionalProperties: false\n required:\n - asset_session\n - asset_session_id\n - asset_session_nonce\n - entry_path\n - entry_sha256\n - management_revision\n - revoke_epoch\n - issued_at\n - expires_at\n - document\n properties:\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n asset_session_nonce: { type: string, minLength: 16 }\n entry_path: { type: string, minLength: 1 }\n entry_sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n document:\n $ref: \"../plugin/opaque-surface-document-v3.schema.json\"\n TrustedParentBridgeHandshake:\n type: object\n required: [type, plugin_id, surface_id, surface_instance_id, active_fingerprint, bridge_nonce, asset_session_nonce, management_revision, revoke_epoch, ui_protocol_version]\n additionalProperties: false\n properties:\n type: { const: redevplugin.bridge.handshake }\n plugin_id: { type: string, minLength: 1 }\n surface_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n active_fingerprint: { type: string, minLength: 1 }\n bridge_nonce: { type: string, minLength: 16 }\n asset_session_nonce: { type: string, minLength: 16 }\n management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n revoke_epoch: { type: integer, minimum: 1, maximum: 9007199254740991 }\n ui_protocol_version: { type: string, enum: [plugin-ui-v7] }\n TrustedParentBridgeTokenRequest:\n type: object\n required: [handshake, bridge_channel_id, handshake_transcript_sha256]\n additionalProperties: false\n properties:\n handshake:\n $ref: \"#/components/schemas/TrustedParentBridgeHandshake\"\n bridge_channel_id: { type: string, minLength: 1 }\n handshake_transcript_sha256:\n type: string\n pattern: '^sha256:[0-9a-f]{64}$'\n previous_plugin_gateway_token:\n type: string\n minLength: 1\n description: Required only when renewing the current bridge channel lease.\n BridgeTokenResult:\n type: object\n additionalProperties: false\n required: [plugin_gateway_token, plugin_gateway_token_id, asset_session, asset_session_id, issued_at, expires_at]\n properties:\n plugin_gateway_token: { type: string, minLength: 1 }\n plugin_gateway_token_id: { type: string, minLength: 1 }\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n issued_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n ReadSurfaceAssetRequest:\n type: object\n additionalProperties: false\n required: [asset_session, asset_session_id, binding_id]\n properties:\n asset_session: { type: string, minLength: 1 }\n asset_session_id: { type: string, minLength: 1 }\n binding_id: { type: string, pattern: '^asset_[A-Za-z0-9_-]{8,128}$' }\n SurfaceAssetResult:\n type: object\n additionalProperties: false\n required: [path, sha256, content_type, content_base64]\n properties:\n path: { type: string, minLength: 1 }\n sha256: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n content_type: { type: string, minLength: 1 }\n content_base64: { type: string, contentEncoding: base64 }\n ListExecutionEventsRequest:\n type: object\n additionalProperties: false\n required: [after_cursor]\n properties:\n after_cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n limit: { type: integer, minimum: 1, maximum: 1000 }\n RejectSurfaceConfirmationRequest:\n type: object\n additionalProperties: false\n required: [plugin_instance_id, bridge_channel_id, plugin_gateway_token, confirmation_id]\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1, maxLength: 256 }\n plugin_gateway_token: { type: string, minLength: 1 }\n confirmation_id: { type: string, pattern: '^confirmation_[A-Za-z0-9_-]{8,128}$' }\n ConfirmationRejectionResult:\n type: object\n additionalProperties: false\n required: [rejected]\n properties:\n rejected: { const: true }\n DisposeSurfaceRequest:\n type: object\n additionalProperties: false\n required: [bridge_nonce]\n properties:\n bridge_nonce: { type: string, minLength: 16 }\n RPCRequest:\n type: object\n required: [plugin_instance_id, surface_instance_id, bridge_channel_id, plugin_gateway_token, method]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1 }\n plugin_gateway_token: { type: string, minLength: 1 }\n confirmation_id: { type: string }\n method: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n PrepareMethodConfirmationRequest:\n type: object\n required: [plugin_instance_id, surface_instance_id, bridge_channel_id, plugin_gateway_token, method]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n surface_instance_id: { type: string, minLength: 1 }\n bridge_channel_id: { type: string, minLength: 1 }\n plugin_gateway_token: { type: string, minLength: 1 }\n method: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n RPCResult:\n oneOf:\n - type: object\n additionalProperties: false\n properties:\n data: true\n not:\n anyOf:\n - required: [execution_id]\n - required: [confirmation_required]\n - type: object\n additionalProperties: false\n required: [execution_id]\n properties:\n data: true\n execution_id: { type: string, minLength: 1 }\n - type: object\n additionalProperties: false\n required: [confirmation_required, confirmation_token_id, request_hash, plan_hash]\n properties:\n confirmation_required: { const: true }\n confirmation_token_id: { type: string, minLength: 1 }\n request_hash: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n plan_hash: { type: string, pattern: '^sha256:[0-9a-f]{64}$' }\n RiskFlag:\n type: object\n required: [id, severity, summary]\n additionalProperties: false\n properties:\n id:\n type: string\n minLength: 1\n description: Stable machine-readable risk identifier.\n severity:\n type: string\n enum: [info, low, medium, high, critical]\n summary: { type: string, minLength: 1 }\n description: { type: string }\n requires_confirmation: { type: boolean }\n requires_admin: { type: boolean }\n data_loss_risk: { type: boolean }\n destructive: { type: boolean }\n RiskPlan:\n type: object\n required: [schema_version, summary, risk_flags]\n additionalProperties: false\n properties:\n schema_version: { const: redevplugin.capability.risk_plan.v1 }\n capability_id: { type: string }\n binding_id: { type: string }\n method: { type: string }\n target_method: { type: string }\n action: { type: string }\n effect:\n type: string\n enum: [read, write, execute, delete, admin]\n resource_ref: { type: string }\n resource_display_name: { type: string }\n summary: { type: string, minLength: 1 }\n risk_flags:\n type: array\n items:\n $ref: \"#/components/schemas/RiskFlag\"\n requires_confirmation: { type: boolean }\n requires_admin: { type: boolean }\n data_loss_risk: { type: boolean }\n destructive: { type: boolean }\n deny_reason: { type: string }\n details:\n type: object\n additionalProperties: true\n PluginMethodConfirmationPreparation:\n type: object\n required: [confirmation_id, confirmation_token_id, request_hash, plan_hash, expires_at]\n additionalProperties: false\n properties:\n confirmation_id: { type: string, minLength: 1 }\n confirmation_token_id:\n type: string\n minLength: 1\n description: Opaque audit/display id for the server-held confirmation token. It is not a credential.\n request_hash:\n type: string\n pattern: \"^sha256:[0-9a-f]{64}$\"\n plan_hash:\n type: string\n pattern: \"^sha256:[0-9a-f]{64}$\"\n plan:\n description: Host-redacted confirmation plan payload returned by the declared preflight method, when available.\n oneOf:\n - $ref: \"#/components/schemas/RiskPlan\"\n - type: object\n additionalProperties: true\n properties:\n schema_version:\n not:\n type: string\n pattern: '^redevplugin\\.capability\\.risk_plan\\.'\n expires_at: { type: string, format: date-time }\n InvokeIntentRequest:\n type: object\n required: [intent_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string }\n intent_id: { type: string, minLength: 1 }\n params:\n type: object\n additionalProperties: true\n CancelExecutionRequest:\n type: object\n additionalProperties: false\n properties:\n reason: { type: string }\n CapabilityContractPin:\n $ref: \"../plugin/host-capability-pin-v1.schema.json\"\n Execution:\n type: object\n additionalProperties: false\n required: [execution_id, plugin_instance_id, kind, status, cursor, cancelable, created_at, updated_at]\n properties:\n execution_id: { type: string, minLength: 1 }\n plugin_instance_id: { type: string, minLength: 1 }\n kind: { type: string, enum: [sync, operation, subscription] }\n status: { type: string, enum: [running, cancel_requested, completed, canceled, failed, orphaned] }\n cursor: { type: integer, minimum: 0, maximum: 9007199254740991 }\n failure_code: { type: string, minLength: 1 }\n cancelable: { type: boolean }\n created_at: { type: string, format: date-time }\n updated_at: { type: string, format: date-time }\n cancel_requested_at: { type: string, format: date-time }\n terminal_at: { type: string, format: date-time }\n Event:\n type: object\n additionalProperties: false\n required: [execution_id, sequence, kind]\n properties:\n execution_id: { type: string, minLength: 1 }\n sequence: { type: integer, minimum: 1, maximum: 9007199254740991 }\n kind: { type: string, enum: [progress, data, diagnostic, terminal] }\n payload:\n type: object\n additionalProperties: true\n error: { $ref: \"#/components/schemas/PublicError\" }\n PublicError:\n type: object\n additionalProperties: false\n required: [code, message]\n properties:\n code: { type: string, minLength: 1 }\n message: { type: string, minLength: 1 }\n StartRuntimeRequest:\n type: object\n required: [target]\n additionalProperties: false\n properties:\n target: { $ref: \"#/components/schemas/RuntimeTarget\" }\n ExportDataRequest:\n type: object\n required: [plugin_instance_id]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n DeleteDataExportRequest:\n type: object\n required: [plugin_instance_id, bundle_ref]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bundle_ref: { type: string, minLength: 1 }\n ImportDataRequest:\n type: object\n required: [plugin_instance_id, bundle_ref, expected_management_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n bundle_ref: { type: string, minLength: 1 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n PluginDataBinding:\n type: object\n required: [plugin_instance_id, generation_id, state, revision, shape_hash]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n generation_id: { type: string, minLength: 1 }\n state: { type: string, enum: [active, retained] }\n revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n shape_hash: { type: string, pattern: \"^[0-9a-f]{64}$\" }\n retained_at: { type: string, format: date-time }\n expires_at: { type: string, format: date-time }\n RetainedDataList:\n type: object\n required: [retained_data]\n additionalProperties: false\n properties:\n retained_data:\n type: array\n items:\n $ref: \"#/components/schemas/PluginDataBinding\"\n RetainedDataCleanupResult:\n type: object\n required: [deleted]\n additionalProperties: false\n properties:\n deleted:\n type: array\n items:\n $ref: \"#/components/schemas/PluginDataBinding\"\n DeleteRetainedDataRequest:\n type: object\n required: [plugin_instance_id, expected_binding_revision]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n expected_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n BindRetainedDataRequest:\n type: object\n required: [source_plugin_instance_id, expected_source_binding_revision, target_plugin_instance_id, target_expected_management_revision]\n additionalProperties: false\n properties:\n source_plugin_instance_id: { type: string, minLength: 1 }\n expected_source_binding_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n target_plugin_instance_id: { type: string, minLength: 1 }\n target_expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n CleanupExpiredRetainedDataRequest:\n type: object\n additionalProperties: false\n GrantPermissionRequest:\n type: object\n required: [plugin_instance_id, permission_id, expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n permission_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n expires_at: { type: string, format: date-time }\n RevokePermissionRequest:\n type: object\n required: [plugin_instance_id, permission_id, expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n permission_id: { type: string, minLength: 1 }\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n reason: { type: string }\n PutSecurityPolicyRequest:\n type: object\n required: [expected_policy_revision, expected_management_revision, expected_revoke_epoch, allowed_permissions, denied_methods]\n additionalProperties: false\n properties:\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n allowed_permissions:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n denied_methods:\n type: array\n uniqueItems: true\n items: { type: string, minLength: 1 }\n DeleteSecurityPolicyRequest:\n type: object\n required: [expected_policy_revision, expected_management_revision, expected_revoke_epoch]\n additionalProperties: false\n properties:\n expected_policy_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_management_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n expected_revoke_epoch: { type: integer, minimum: 0, maximum: 9007199254740991 }\n SecretRefRequest:\n type: object\n required: [plugin_instance_id, secret_ref, scope]\n additionalProperties: false\n properties:\n plugin_instance_id: { type: string, minLength: 1 }\n secret_ref: { type: string, minLength: 1 }\n scope: { type: string, enum: [user, environment] }\n ResourceScopeKind:\n type: string\n enum: [user, environment]\n PatchSettingsRequest:\n type: object\n required: [scope, expected_values_revision]\n additionalProperties: false\n minProperties: 3\n properties:\n scope: { $ref: \"#/components/schemas/ResourceScopeKind\" }\n expected_values_revision: { type: integer, minimum: 1, maximum: 9007199254740991 }\n set:\n type: object\n minProperties: 1\n additionalProperties: true\n remove:\n type: array\n minItems: 1\n uniqueItems: true\n items: { type: string, minLength: 1 }\n";
|
|
133
133
|
}, {
|
|
134
134
|
readonly id: "presentation-icon-evidence-schema";
|
|
135
135
|
readonly path: "spec/plugin/presentation-icon-evidence-v1.schema.json";
|
|
@@ -148,6 +148,12 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
148
148
|
readonly version: "process-containment-v1";
|
|
149
149
|
readonly sha256: "930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc";
|
|
150
150
|
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/process-containment-v1.schema.json\",\n \"title\": \"ReDevPlugin runtime process containment evidence v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"profile\", \"seccomp_policy_sha256\", \"no_new_privs\", \"seccomp_tsync\", \"process_creation_denied\", \"reexec_denied\", \"active\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.process_containment.v1\"},\n \"profile\": {\"const\": \"linux-runtime-v1\"},\n \"seccomp_policy_sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"no_new_privs\": {\"const\": true},\n \"seccomp_tsync\": {\"const\": true},\n \"process_creation_denied\": {\"const\": true},\n \"reexec_denied\": {\"const\": true},\n \"active\": {\"const\": true}\n }\n}\n";
|
|
151
|
+
}, {
|
|
152
|
+
readonly id: "public-api-catalog";
|
|
153
|
+
readonly path: "spec/plugin/public-api-v1.json";
|
|
154
|
+
readonly version: "public-api-v1";
|
|
155
|
+
readonly sha256: "562a80933bb079abf082dc354e4ff206c8a00b6670be5d17ef5d191a9c52fc75";
|
|
156
|
+
readonly body: "{\n \"schema_version\": \"redevplugin.public_api.v1\",\n \"surface_api_majors\": [1],\n \"worker_api_majors\": [1],\n \"features\": [\n \"fs.environment.v1\",\n \"fs.home.v1\",\n \"fs.watch.v1\",\n \"fs.workspace.v1\",\n \"io.stream.v1\",\n \"net.http.v1\",\n \"net.tcp.v1\",\n \"net.udp.v1\",\n \"net.websocket.v1\"\n ],\n \"permissions\": [\n \"fs.environment.read\",\n \"fs.environment.write\",\n \"fs.home.read\",\n \"fs.home.write\",\n \"fs.workspace.read\",\n \"fs.workspace.write\",\n \"network.client\",\n \"network.listen\"\n ],\n \"stable_error_codes\": [\n \"ALREADY_EXISTS\",\n \"CANCELED\",\n \"CROSS_DEVICE\",\n \"INTERNAL\",\n \"INVALID_ARGUMENT\",\n \"IO_ERROR\",\n \"MOUNT_UNAVAILABLE\",\n \"NETWORK_ERROR\",\n \"NOT_EMPTY\",\n \"NOT_FOUND\",\n \"PERMISSION_DENIED\",\n \"REDIRECT_REQUIRES_REPLAY\",\n \"RESOURCE_CLOSED\",\n \"RESOURCE_LIMIT\",\n \"RUNTIME_UNAVAILABLE\",\n \"SECURITY_INCOMPATIBLE\",\n \"TIMEOUT\",\n \"UNSUPPORTED_FEATURE\",\n \"WOULD_BLOCK\"\n ],\n \"minimum_resources\": {\n \"control_response_bytes\": 65536,\n \"io_chunk_bytes\": 65536,\n \"open_files\": 64,\n \"open_connections\": 32,\n \"open_watches\": 8\n }\n}\n";
|
|
151
157
|
}, {
|
|
152
158
|
readonly id: "publisher-release-ref-schema";
|
|
153
159
|
readonly path: "spec/plugin/publisher-release-ref-v1.schema.json";
|
|
@@ -216,10 +222,10 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
216
222
|
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/runtime-admission-v1.schema.json\",\n \"title\": \"ReDevPlugin runtime admission v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"target\", \"binary_name\", \"binary_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.runtime_admission.v1\"},\n \"target\": {\"$ref\": \"#/$defs/target\"},\n \"binary_name\": {\"const\": \"redevplugin-runtime\"},\n \"binary_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"target\": {\"type\": \"string\", \"enum\": [\"linux/amd64\", \"linux/arm64\"]},\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"}\n }\n}\n";
|
|
217
223
|
}, {
|
|
218
224
|
readonly id: "runtime-descriptor-schema";
|
|
219
|
-
readonly path: "spec/plugin/runtime-descriptor-
|
|
220
|
-
readonly version: "runtime-descriptor-
|
|
221
|
-
readonly sha256: "
|
|
222
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/runtime-descriptor-
|
|
225
|
+
readonly path: "spec/plugin/runtime-descriptor-v3.schema.json";
|
|
226
|
+
readonly version: "runtime-descriptor-v3";
|
|
227
|
+
readonly sha256: "c95c9126c0bbb4b5f697114d4e11d7107d1bebea56d700d3549d00812e7c3e97";
|
|
228
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/runtime-descriptor-v3.schema.json\",\n \"title\": \"ReDevPlugin runtime descriptor v3\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"platform_version\", \"target\", \"internal\", \"public_api\", \"binary_sha256\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"runtime-descriptor-v3\"},\n \"platform_version\": {\"$ref\": \"#/$defs/semver\"},\n \"target\": {\"type\": \"string\", \"enum\": [\"linux/amd64\", \"linux/arm64\"]},\n \"internal\": {\"$ref\": \"#/$defs/internal\"},\n \"public_api\": {\"$ref\": \"#/$defs/public_api\"},\n \"binary_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n },\n \"$defs\": {\n \"semver\": {\"type\": \"string\", \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-[0-9A-Za-z.-]+)?$\"},\n \"sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"internal\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"rust_ipc\", \"contract_set_sha256\"],\n \"properties\": {\n \"rust_ipc\": {\"const\": \"rust-ipc-v7\"},\n \"contract_set_sha256\": {\"$ref\": \"#/$defs/sha256\"}\n }\n },\n \"public_api\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"worker_majors\", \"features\"],\n \"properties\": {\n \"worker_majors\": {\"const\": [1]},\n \"features\": {\"const\": [\"fs.environment.v1\", \"fs.home.v1\", \"fs.watch.v1\", \"fs.workspace.v1\", \"io.stream.v1\", \"net.http.v1\", \"net.tcp.v1\", \"net.udp.v1\", \"net.websocket.v1\"]}\n }\n }\n }\n}\n";
|
|
223
229
|
}, {
|
|
224
230
|
readonly id: "runtime-exec-journal-schema";
|
|
225
231
|
readonly path: "spec/plugin/runtime-exec-journal-v1.schema.json";
|
|
@@ -228,10 +234,10 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
228
234
|
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/runtime-exec-journal-v1.schema.json\",\n \"title\": \"ReDevPlugin runtime execution journal v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"module_id\", \"descriptor_digest\", \"state\", \"containment_identity\", \"mutation_outcome\"],\n \"properties\": {\n \"schema_version\": {\"const\": \"redevplugin.runtime_exec_journal.v1\"},\n \"module_id\": {\"type\": \"string\", \"pattern\": \"^[A-Za-z0-9._-]{16,128}$\"},\n \"descriptor_digest\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"state\": {\"enum\": [\"opened\", \"consumed\", \"bound\", \"running\", \"stopping\", \"closed\", \"reconcile_required\"]},\n \"containment_identity\": {\"type\": \"string\", \"pattern\": \"^[A-Za-z0-9._:-]{1,256}$\"},\n \"mutation_outcome\": {\"enum\": [\"committed\", \"not_committed\", \"unknown\"]}\n }\n}\n";
|
|
229
235
|
}, {
|
|
230
236
|
readonly id: "rust-ipc-schema";
|
|
231
|
-
readonly path: "spec/plugin/ipc-
|
|
232
|
-
readonly version: "rust-ipc-
|
|
233
|
-
readonly sha256: "
|
|
234
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/ipc-v6.schema.json\",\n \"title\": \"ReDevPlugin Rust IPC v6\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ipc_version\", \"frame_type\", \"request_id\"],\n \"properties\": {\n \"ipc_version\": { \"const\": \"rust-ipc-v6\" },\n \"frame_type\": {\n \"enum\": [\"hello\", \"hello_ack\", \"heartbeat\", \"invoke_worker\", \"invoke_worker_result\", \"cancel_invoke\", \"cancel_invoke_ack\", \"compile_flight_register\", \"compile_flight_complete\", \"open_handle\", \"validate_handle_grant\", \"storage_file\", \"storage_kv\", \"storage_sqlite\", \"network_grant\", \"network_execute\", \"revoke_epoch\", \"revoke_epoch_ack\", \"session_revoke\", \"session_revoke_ack\", \"diagnostic\"]\n },\n \"request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"parent_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\" },\n \"payload\": true\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"hello\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"target\", \"host_process_id\", \"host_ipc_version\", \"host_wasm_abi\", \"contract_set_sha256\", \"started_unix_nano\", \"channel_nonce\", \"runtime_lease_public_keys\", \"limits\"],\n \"properties\": {\n \"target\": { \"$ref\": \"#/$defs/runtime_target\" },\n \"host_process_id\": { \"type\": \"integer\", \"minimum\": 1 },\n \"host_ipc_version\": { \"const\": \"rust-ipc-v6\" },\n \"host_wasm_abi\": { \"const\": \"redevplugin-wasm-worker-v2\" },\n \"contract_set_sha256\": { \"$ref\": \"#/$defs/lower_sha256\" },\n \"started_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"channel_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"runtime_lease_public_keys\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"algorithm\", \"key_id\", \"public_key_base64\"],\n \"properties\": {\n \"algorithm\": { \"const\": \"ed25519\" },\n \"key_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"public_key_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n \"uniqueItems\": true\n },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"hello_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"runtime_version\", \"actual_target\", \"rust_ipc_version\", \"wasm_abi_version\", \"contract_set_sha256\", \"channel_nonce\", \"limits\", \"process_containment\"],\n \"properties\": {\n \"runtime_version\": { \"$ref\": \"#/$defs/semver\" },\n \"actual_target\": { \"$ref\": \"#/$defs/runtime_target\" },\n \"rust_ipc_version\": { \"const\": \"rust-ipc-v6\" },\n \"wasm_abi_version\": { \"const\": \"redevplugin-wasm-worker-v2\" },\n \"contract_set_sha256\": { \"$ref\": \"#/$defs/lower_sha256\" },\n \"channel_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" },\n \"process_containment\": { \"$ref\": \"#/$defs/process_containment\" }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"heartbeat\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/heartbeat_request_payload\" },\n { \"$ref\": \"#/$defs/heartbeat_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"invoke_worker\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"lease\", \"method\", \"invocation\"],\n \"properties\": {\n \"lease\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"lease_id\",\n \"token_id\",\n \"lease_nonce\",\n \"runtime_generation_id\",\n \"plugin_instance_id\",\n \"plugin_id\",\n \"plugin_version\",\n \"active_fingerprint\",\n \"owner_env_hash\",\n \"issued_at_unix_ms\",\n \"method\",\n \"effect\",\n \"execution\",\n \"audit_correlation_id\",\n \"target_descriptor_hashes\",\n \"limits\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"runtime_shard_id\",\n \"runtime_instance_id\",\n \"ipc_channel_id\",\n \"connection_nonce\",\n \"key_id\",\n \"signature\",\n \"expires_at_unix_ms\"\n ],\n \"properties\": {\n \"lease_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"token_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"lease_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_version\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"issued_at_unix_ms\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"execution_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"audit_correlation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"surface_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_session_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_user_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"bridge_channel_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"target_descriptor_hashes\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"type\": \"string\", \"minLength\": 1 },\n \"uniqueItems\": true\n },\n \"limits\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"timeout_ms\", \"memory_bytes\", \"max_payload_bytes\", \"max_stream_bytes_per_sec\"],\n \"properties\": {\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"memory_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 268435456 },\n \"max_payload_bytes\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"max_stream_bytes_per_sec\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 }\n }\n },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"ipc_channel_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"connection_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"key_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"signature\": { \"type\": \"string\", \"pattern\": \"^ed25519:.+\" },\n \"expires_at_unix_ms\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": { \"not\": { \"required\": [\"execution_id\"] } }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"execution_id\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"execution_id\"] }\n }\n ]\n },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"invocation\": {\n \"$ref\": \"https://schemas.redevplugin.dev/plugin/worker-invocation-v3.schema.json\"\n }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"invoke_worker_result\" } }, \"required\": [\"frame_type\"] },\n \"then\": { \"$ref\": \"#/$defs/runtime_response_frame\" }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"cancel_invoke\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"invocation_request_id\"],\n \"properties\": {\n \"invocation_request_id\": { \"type\": \"string\", \"minLength\": 1 }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"cancel_invoke_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/cancel_invoke_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"compile_flight_register\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"parent_request_id\", \"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/compile_flight_lifecycle_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"compile_flight_complete\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"parent_request_id\", \"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/compile_flight_lifecycle_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"open_handle\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/open_handle_request_payload\" },\n { \"$ref\": \"#/$defs/open_handle_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"validate_handle_grant\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/validate_handle_grant_request_payload\" },\n { \"$ref\": \"#/$defs/validate_handle_grant_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_file\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_file_request_payload\" },\n { \"$ref\": \"#/$defs/storage_file_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_kv\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_kv_request_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_sqlite\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_sqlite_request_payload\" },\n { \"$ref\": \"#/$defs/storage_sqlite_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"network_grant\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/network_grant_request_payload\" },\n { \"$ref\": \"#/$defs/network_grant_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"network_execute\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/network_execute_request_payload\" },\n { \"$ref\": \"#/$defs/network_execute_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"revoke_epoch\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"resource_scope\", \"plugin_instance_id\", \"revoke_epoch\"],\n \"properties\": {\n \"resource_scope\": { \"$ref\": \"#/$defs/environment_resource_scope\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"revoke_epoch_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/revoke_epoch_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"session_revoke\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/session_revoke_request_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"session_revoke_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/session_revoke_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"diagnostic\" } }, \"required\": [\"frame_type\"] },\n \"then\": { \"$ref\": \"#/$defs/runtime_response_frame\" }\n },\n {\n \"if\": {\n \"properties\": {\n \"frame_type\": {\n \"enum\": [\"compile_flight_register\", \"compile_flight_complete\", \"open_handle\", \"validate_handle_grant\", \"storage_file\", \"storage_kv\", \"storage_sqlite\", \"network_grant\", \"network_execute\"]\n }\n },\n \"required\": [\"frame_type\"]\n },\n \"then\": { \"required\": [\"parent_request_id\"] }\n }\n ],\n \"$defs\": {\n \"semver\": {\n \"type\": \"string\",\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\\\+[0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*)?$\"\n },\n \"runtime_target\": {\"type\": \"string\", \"enum\": [\"linux/amd64\", \"linux/arm64\"]},\n \"lower_sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"runtime_limits\": {\n \"type\": \"object\",\n \"description\": \"Negotiated runtime capacities. per_plugin_concurrency must not exceed worker_count. Route capacities are derived exactly from negotiated limits: active hostcall routes = worker_count, canceled hostcall retention = worker_count + queue_capacity, and compile-flight artifact routes = worker_count.\",\n \"additionalProperties\": false,\n \"required\": [\"worker_count\", \"queue_capacity\", \"per_plugin_concurrency\", \"module_cache_entries\", \"module_cache_source_bytes\"],\n \"properties\": {\n \"worker_count\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Number of runtime worker threads.\" },\n \"queue_capacity\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Maximum queued worker invocations.\" },\n \"per_plugin_concurrency\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Maximum concurrent invocations for one plugin; must not exceed worker_count.\" },\n \"module_cache_entries\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 1024, \"description\": \"Maximum compiled modules retained by the runtime cache.\" },\n \"module_cache_source_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 134217728, \"description\": \"Maximum source WASM bytes retained by the runtime cache (128 MiB).\" }\n }\n },\n \"process_containment\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"profile\", \"seccomp_policy_sha256\", \"no_new_privs\", \"seccomp_tsync\", \"process_creation_denied\", \"reexec_denied\", \"active\"],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.process_containment.v1\" },\n \"profile\": { \"const\": \"linux-runtime-v1\" },\n \"seccomp_policy_sha256\": { \"const\": \"6305735925c1fbacaf4950df2e535d3a11cebec8ab7aa16ce37fca3c31745543\" },\n \"no_new_privs\": { \"const\": true },\n \"seccomp_tsync\": { \"const\": true },\n \"process_creation_denied\": { \"const\": true },\n \"reexec_denied\": { \"const\": true },\n \"active\": { \"const\": true }\n }\n },\n \"module_cache_metrics\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"hits\", \"misses\", \"compiles\", \"entries\", \"source_bytes\"],\n \"properties\": {\n \"hits\": { \"type\": \"integer\", \"minimum\": 0 },\n \"misses\": { \"type\": \"integer\", \"minimum\": 0 },\n \"compiles\": { \"type\": \"integer\", \"minimum\": 0 },\n \"entries\": { \"type\": \"integer\", \"minimum\": 0 },\n \"source_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"sha256\": {\n \"type\": \"string\",\n \"pattern\": \"^sha256:[a-f0-9]{64}$\"\n },\n \"worker_artifact_path\": {\n \"type\": \"string\",\n \"pattern\": \"^workers/.+\\\\.wasm$\",\n \"not\": {\n \"anyOf\": [\n { \"pattern\": \"(^|/)\\\\.\" },\n { \"pattern\": \"//\" },\n { \"pattern\": \"\\\\\\\\\" }\n ]\n }\n },\n \"heartbeat_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"sent_unix_nano\", \"max_staleness_ms\"],\n \"properties\": {\n \"sent_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"max_staleness_ms\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n },\n \"heartbeat_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/heartbeat_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"heartbeat_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"runtime_generation_id\",\n \"runtime_unix_nano\",\n \"max_staleness_ms\",\n \"host_sent_unix_nano\",\n \"active_invocations\",\n \"queued_invocations\",\n \"limits\",\n \"module_cache\"\n ],\n \"properties\": {\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"max_staleness_ms\": { \"type\": \"integer\", \"minimum\": 1 },\n \"host_sent_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"active_invocations\": { \"type\": \"integer\", \"minimum\": 0 },\n \"queued_invocations\": { \"type\": \"integer\", \"minimum\": 0 },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" },\n \"module_cache\": { \"$ref\": \"#/$defs/module_cache_metrics\" }\n }\n },\n \"cancel_invoke_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"invocation_request_id\", \"disposition\"],\n \"properties\": {\n \"invocation_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"disposition\": { \"enum\": [\"queued\", \"running\", \"complete\"] }\n }\n }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"hostcall_failure_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128, \"pattern\": \"^[A-Z][A-Z0-9_]{0,127}$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 4096 },\n \"error_origin\": { \"const\": \"hostcall\" }\n }\n },\n \"compile_flight_lifecycle_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"artifact_request_id\", \"package_hash\", \"artifact\", \"artifact_sha256\", \"wasm_abi_version\"],\n \"properties\": {\n \"artifact_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"artifact_sha256\": { \"$ref\": \"#/$defs/sha256\" },\n \"wasm_abi_version\": { \"const\": \"redevplugin-wasm-worker-v2\" }\n }\n },\n \"open_handle_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"package_hash\", \"artifact\", \"artifact_sha256\"],\n \"properties\": {\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"artifact_sha256\": { \"$ref\": \"#/$defs/sha256\" }\n }\n },\n \"open_handle_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"package_hash\", \"artifact\", \"sha256\", \"content_base64\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"sha256\": { \"$ref\": \"#/$defs/sha256\" },\n \"content_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"validate_handle_grant_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_session_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_user_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n }\n },\n \"validate_handle_grant_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"handle_grant_id\", \"handle_id\", \"method\", \"runtime_generation_id\", \"resource_scope\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"handle_grant_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"max_bytes_per_second\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_total_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_file_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.files\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"read\", \"write\", \"delete\", \"list\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"path\": { \"type\": \"string\" },\n \"data_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"max_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_entries\": { \"type\": \"integer\", \"minimum\": 0 },\n \"recursive\": { \"type\": \"boolean\" }\n }\n },\n \"storage_file_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_file_read_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_write_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_delete_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_list_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_file_read_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"data_base64\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"data_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_write_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_delete_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" }\n }\n },\n \"storage_file_list_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"entries\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"entries\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_file_entry\" }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_entry\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"path\", \"dir\", \"updated_at\"],\n \"properties\": {\n \"path\": { \"type\": \"string\", \"minLength\": 1 },\n \"dir\": { \"type\": \"boolean\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"updated_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n \"storage_kv_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.kv\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"get\", \"put\", \"delete\", \"list\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"key\": { \"type\": \"string\" },\n \"value_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"prefix\": { \"type\": \"string\" },\n \"max_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_entries\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"storage_kv_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_kv_get_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_put_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_delete_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_list_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_kv_get_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\", \"value_base64\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" },\n \"value_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_put_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_delete_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" }\n }\n },\n \"storage_kv_list_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"entries\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"prefix\": { \"type\": \"string\" },\n \"entries\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_kv_entry\" }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_entry\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"key\", \"size_bytes\", \"updated_at\"],\n \"properties\": {\n \"key\": { \"type\": \"string\", \"minLength\": 1 },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"updated_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n \"storage_sqlite_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\",\n \"sql\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.sqlite\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"exec\", \"query\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"database\": { \"type\": \"string\" },\n \"sql\": { \"type\": \"string\", \"minLength\": 1 },\n \"args\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_sqlite_value\" }\n },\n \"max_rows\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_response_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"storage_sqlite_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_sqlite_exec_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_sqlite_query_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_sqlite_exec_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"database\", \"rows_affected\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"database\": { \"type\": \"string\" },\n \"rows_affected\": { \"type\": \"integer\", \"minimum\": 0 },\n \"last_insert_id\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_sqlite_query_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"database\", \"columns\", \"rows\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"database\": { \"type\": \"string\" },\n \"columns\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n },\n \"rows\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_sqlite_value\" }\n }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_sqlite_value\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"oneOf\": [\n { \"required\": [\"null\"], \"properties\": { \"null\": { \"const\": true } } },\n { \"required\": [\"int\"] },\n { \"required\": [\"float\"] },\n { \"required\": [\"text\"] },\n { \"required\": [\"blob_base64\"] }\n ],\n \"properties\": {\n \"null\": { \"type\": \"boolean\" },\n \"int\": { \"type\": \"integer\" },\n \"float\": { \"type\": \"number\" },\n \"text\": { \"type\": \"string\" },\n \"blob_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n \"storage_usage\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"plugin_instance_id\", \"store_id\", \"usage_bytes\", \"quota_bytes\", \"usage_files\", \"quota_files\"],\n \"properties\": {\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"store_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"usage_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"quota_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage_files\": { \"type\": \"integer\", \"minimum\": 0 },\n \"quota_files\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"network_grant_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"resource_scope\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"connector_id\",\n \"transport\",\n \"destination\"\n ],\n \"properties\": {\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"type\": \"string\", \"minLength\": 1 },\n \"ttl_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"network_grant_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"ok\", \"grant_id\", \"plugin_instance_id\", \"active_fingerprint\",\n \"resource_scope\",\n \"policy_revision\", \"management_revision\", \"revoke_epoch\", \"connector_id\",\n \"transport\", \"destination\", \"runtime_generation_id\",\n \"target_classifier_version\", \"expires_at\"\n ],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"grant_id\": { \"type\": \"string\", \"pattern\": \"^netgrant_[0-9a-f]{32}$\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"$ref\": \"#/$defs/network_destination\" },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"target_classifier_version\": { \"const\": \"target-classifier-v2\" },\n \"expires_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"network_execute_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"plugin_id\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"resource_scope\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"connector_id\",\n \"transport\",\n \"destination\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\"\n ],\n \"properties\": {\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"type\": \"string\", \"minLength\": 1 },\n \"ttl_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"operation\": { \"enum\": [\"http\", \"http_stream\", \"websocket_round_trip\", \"tcp_round_trip\", \"udp_round_trip\"] },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"path\": { \"type\": \"string\" },\n \"query\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"message_type\": { \"enum\": [\"text\", \"binary\"] },\n \"body_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"payload_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"max_request_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_response_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_chunk_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_buffered_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"stream_id\": { \"type\": \"string\" },\n \"stream_method\": { \"type\": \"string\" },\n \"stream_effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"stream_execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"surface_instance_id\": { \"type\": \"string\" },\n \"owner_session_hash\": { \"type\": \"string\" },\n \"owner_user_hash\": { \"type\": \"string\" },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\" },\n \"bridge_channel_id\": { \"type\": \"string\" },\n \"content_type\": { \"type\": \"string\" }\n }\n },\n \"network_execute_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"transport\", \"destination\", \"grant_id\", \"connector_id\", \"runtime_generation_id\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"$ref\": \"#/$defs/network_destination\" },\n \"status_code\": { \"type\": \"integer\", \"minimum\": 100, \"maximum\": 599 },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"message_type\": { \"enum\": [\"text\", \"binary\"] },\n \"body_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"payload_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"stream_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"bytes_read\": { \"type\": \"integer\", \"minimum\": 0 },\n \"chunk_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"grant_id\": { \"type\": \"string\", \"pattern\": \"^netgrant_[0-9a-f]{32}$\" },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"resource_scope\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"kind\", \"owner_env_hash\"],\n \"properties\": {\n \"kind\": { \"enum\": [\"user\", \"environment\"] },\n \"owner_env_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" },\n \"owner_user_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" }\n },\n \"oneOf\": [\n { \"properties\": { \"kind\": { \"const\": \"user\" } }, \"required\": [\"owner_user_hash\"] },\n { \"properties\": { \"kind\": { \"const\": \"environment\" } }, \"not\": { \"required\": [\"owner_user_hash\"] } }\n ]\n },\n \"environment_resource_scope\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"kind\", \"owner_env_hash\"],\n \"properties\": {\n \"kind\": { \"const\": \"environment\" },\n \"owner_env_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" }\n }\n },\n \"network_destination\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"transport\", \"host\", \"port\"],\n \"properties\": {\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"scheme\": { \"enum\": [\"http\", \"https\", \"ws\", \"wss\"] },\n \"host\": { \"type\": \"string\", \"minLength\": 1 },\n \"port\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 65535 }\n }\n },\n \"revoke_epoch_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/revoke_epoch_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"revoke_epoch_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"resource_scope\",\n \"plugin_instance_id\",\n \"revoke_epoch\",\n \"closed_socket_count\",\n \"closed_stream_count\",\n \"closed_storage_handle_count\"\n ],\n \"properties\": {\n \"resource_scope\": { \"$ref\": \"#/$defs/environment_resource_scope\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"closed_socket_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"closed_stream_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"closed_storage_handle_count\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"session_revoke_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"session_revoke_sequence\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\"\n ],\n \"properties\": {\n \"session_revoke_sequence\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"owner_session_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"owner_user_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"owner_env_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"session_channel_id_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" }\n }\n },\n \"session_owner_hash\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\"\n },\n \"session_revoke_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/session_revoke_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": {\n \"enum\": [\n \"SESSION_REVOKE_SEQUENCE_STALE\",\n \"SESSION_REVOKE_DRAIN_TIMEOUT\",\n \"WORKER_INVOCATION_INVALID\"\n ]\n },\n \"message\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 4096 },\n \"error_origin\": { \"const\": \"runtime\" }\n }\n }\n ]\n },\n \"session_revoke_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"session_revoke_sequence\", \"state\", \"counts\"],\n \"properties\": {\n \"session_revoke_sequence\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"state\": { \"const\": \"complete\" },\n \"counts\": { \"$ref\": \"#/$defs/session_revoke_ack_counts\" }\n }\n },\n \"session_revoke_ack_counts\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"queued_invocations\",\n \"running_invocations\",\n \"storage_hostcalls\",\n \"active_network_requests\",\n \"sockets\",\n \"network_streams\"\n ],\n \"properties\": {\n \"queued_invocations\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"running_invocations\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"storage_hostcalls\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"active_network_requests\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"sockets\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"network_streams\": { \"$ref\": \"#/$defs/session_revoke_count\" }\n }\n },\n \"session_revoke_count\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 9007199254740991\n },\n \"runtime_response_frame\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": true\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n }\n }\n }\n }\n}\n";
|
|
237
|
+
readonly path: "spec/plugin/ipc-v7.schema.json";
|
|
238
|
+
readonly version: "rust-ipc-v7";
|
|
239
|
+
readonly sha256: "1e1c5b6414030a0c7ffa6f4356f95e2f78f339b9b4dff45bb3691931316d9502";
|
|
240
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/ipc-v7.schema.json\",\n \"title\": \"ReDevPlugin Rust IPC v7\",\n \"x-redevplugin-binary-framing\": {\n \"byte_order\": \"big-endian\",\n \"length_prefix_bytes\": 4,\n \"protocol_version\": 7,\n \"header_bytes\": 28,\n \"fields\": [\n \"protocol_version:u8\", \"frame_type:u8\", \"flags:u16\", \"request_id:u64\",\n \"resource_id:u64\", \"metadata_length:u32\", \"body_length:u32\"\n ],\n \"body_max_bytes\": 65536,\n \"control_metadata_max_bytes\": 65536,\n \"invoke_metadata_max_bytes\": 1048576\n },\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ipc_version\", \"frame_type\", \"request_id\"],\n \"properties\": {\n \"ipc_version\": { \"const\": \"rust-ipc-v7\" },\n \"frame_type\": {\n \"enum\": [\"hello\", \"hello_ack\", \"heartbeat\", \"invoke_worker\", \"invoke_worker_result\", \"cancel_invoke\", \"cancel_invoke_ack\", \"compile_flight_register\", \"compile_flight_complete\", \"open_handle\", \"validate_handle_grant\", \"storage_file\", \"storage_kv\", \"storage_sqlite\", \"network_grant\", \"network_execute\", \"revoke_epoch\", \"revoke_epoch_ack\", \"session_revoke\", \"session_revoke_ack\", \"diagnostic\"]\n },\n \"request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"parent_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\" },\n \"payload\": true\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"hello\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"target\", \"host_process_id\", \"host_ipc_version\", \"host_wasm_abi\", \"contract_set_sha256\", \"started_unix_nano\", \"channel_nonce\", \"runtime_lease_public_keys\", \"limits\"],\n \"properties\": {\n \"target\": { \"$ref\": \"#/$defs/runtime_target\" },\n \"host_process_id\": { \"type\": \"integer\", \"minimum\": 1 },\n \"host_ipc_version\": { \"const\": \"rust-ipc-v7\" },\n \"host_wasm_abi\": { \"const\": \"redevplugin-wasm-worker-v2\" },\n \"contract_set_sha256\": { \"$ref\": \"#/$defs/lower_sha256\" },\n \"started_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"channel_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"runtime_lease_public_keys\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"algorithm\", \"key_id\", \"public_key_base64\"],\n \"properties\": {\n \"algorithm\": { \"const\": \"ed25519\" },\n \"key_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"public_key_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n \"uniqueItems\": true\n },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"hello_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"runtime_version\", \"actual_target\", \"rust_ipc_version\", \"wasm_abi_version\", \"contract_set_sha256\", \"channel_nonce\", \"limits\", \"process_containment\"],\n \"properties\": {\n \"runtime_version\": { \"$ref\": \"#/$defs/semver\" },\n \"actual_target\": { \"$ref\": \"#/$defs/runtime_target\" },\n \"rust_ipc_version\": { \"const\": \"rust-ipc-v7\" },\n \"wasm_abi_version\": { \"const\": \"redevplugin-wasm-worker-v2\" },\n \"contract_set_sha256\": { \"$ref\": \"#/$defs/lower_sha256\" },\n \"channel_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" },\n \"process_containment\": { \"$ref\": \"#/$defs/process_containment\" }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"heartbeat\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/heartbeat_request_payload\" },\n { \"$ref\": \"#/$defs/heartbeat_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"invoke_worker\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"lease\", \"method\", \"invocation\"],\n \"properties\": {\n \"lease\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"lease_id\",\n \"token_id\",\n \"lease_nonce\",\n \"runtime_generation_id\",\n \"plugin_instance_id\",\n \"plugin_id\",\n \"plugin_version\",\n \"active_fingerprint\",\n \"owner_env_hash\",\n \"issued_at_unix_ms\",\n \"method\",\n \"effect\",\n \"execution\",\n \"audit_correlation_id\",\n \"target_descriptor_hashes\",\n \"limits\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"runtime_shard_id\",\n \"runtime_instance_id\",\n \"ipc_channel_id\",\n \"connection_nonce\",\n \"key_id\",\n \"signature\",\n \"expires_at_unix_ms\"\n ],\n \"properties\": {\n \"lease_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"token_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"lease_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_version\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"issued_at_unix_ms\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"execution_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"audit_correlation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"surface_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_session_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_user_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"bridge_channel_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"target_descriptor_hashes\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"type\": \"string\", \"minLength\": 1 },\n \"uniqueItems\": true\n },\n \"limits\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"timeout_ms\", \"memory_bytes\", \"max_payload_bytes\", \"max_stream_bytes_per_sec\"],\n \"properties\": {\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"memory_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 268435456 },\n \"max_payload_bytes\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"max_stream_bytes_per_sec\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 }\n }\n },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"ipc_channel_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"connection_nonce\": { \"type\": \"string\", \"minLength\": 16 },\n \"key_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"signature\": { \"type\": \"string\", \"pattern\": \"^ed25519:.+\" },\n \"expires_at_unix_ms\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": { \"not\": { \"required\": [\"execution_id\"] } }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"execution_id\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"execution_id\"] }\n }\n ]\n },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"invocation\": {\n \"$ref\": \"https://schemas.redevplugin.dev/plugin/worker-invocation-v3.schema.json\"\n }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"invoke_worker_result\" } }, \"required\": [\"frame_type\"] },\n \"then\": { \"$ref\": \"#/$defs/runtime_response_frame\" }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"cancel_invoke\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"invocation_request_id\"],\n \"properties\": {\n \"invocation_request_id\": { \"type\": \"string\", \"minLength\": 1 }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"cancel_invoke_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/cancel_invoke_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"compile_flight_register\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"parent_request_id\", \"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/compile_flight_lifecycle_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"compile_flight_complete\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"parent_request_id\", \"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/compile_flight_lifecycle_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"open_handle\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/open_handle_request_payload\" },\n { \"$ref\": \"#/$defs/open_handle_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"validate_handle_grant\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/validate_handle_grant_request_payload\" },\n { \"$ref\": \"#/$defs/validate_handle_grant_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_file\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_file_request_payload\" },\n { \"$ref\": \"#/$defs/storage_file_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_kv\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_kv_request_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"storage_sqlite\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_sqlite_request_payload\" },\n { \"$ref\": \"#/$defs/storage_sqlite_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"network_grant\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/network_grant_request_payload\" },\n { \"$ref\": \"#/$defs/network_grant_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"network_execute\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/network_execute_request_payload\" },\n { \"$ref\": \"#/$defs/network_execute_response_payload\" }\n ]\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"revoke_epoch\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"resource_scope\", \"plugin_instance_id\", \"revoke_epoch\"],\n \"properties\": {\n \"resource_scope\": { \"$ref\": \"#/$defs/environment_resource_scope\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n }\n }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"revoke_epoch_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/revoke_epoch_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"session_revoke\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/session_revoke_request_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"session_revoke_ack\" } }, \"required\": [\"frame_type\"] },\n \"then\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": { \"$ref\": \"#/$defs/session_revoke_ack_response_payload\" }\n }\n }\n },\n {\n \"if\": { \"properties\": { \"frame_type\": { \"const\": \"diagnostic\" } }, \"required\": [\"frame_type\"] },\n \"then\": { \"$ref\": \"#/$defs/runtime_response_frame\" }\n },\n {\n \"if\": {\n \"properties\": {\n \"frame_type\": {\n \"enum\": [\"compile_flight_register\", \"compile_flight_complete\", \"open_handle\", \"validate_handle_grant\", \"storage_file\", \"storage_kv\", \"storage_sqlite\", \"network_grant\", \"network_execute\"]\n }\n },\n \"required\": [\"frame_type\"]\n },\n \"then\": { \"required\": [\"parent_request_id\"] }\n }\n ],\n \"$defs\": {\n \"semver\": {\n \"type\": \"string\",\n \"pattern\": \"^(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)\\\\.(0|[1-9][0-9]*)(?:-(?:(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*)(?:\\\\.(?:0|[1-9][0-9]*|[0-9A-Za-z-]*[A-Za-z-][0-9A-Za-z-]*))*))?(?:\\\\+[0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*)?$\"\n },\n \"runtime_target\": {\"type\": \"string\", \"enum\": [\"linux/amd64\", \"linux/arm64\"]},\n \"lower_sha256\": {\"type\": \"string\", \"pattern\": \"^[0-9a-f]{64}$\"},\n \"runtime_limits\": {\n \"type\": \"object\",\n \"description\": \"Negotiated runtime capacities. per_plugin_concurrency must not exceed worker_count. Route capacities are derived exactly from negotiated limits: active hostcall routes = worker_count, canceled hostcall retention = worker_count + queue_capacity, and compile-flight artifact routes = worker_count.\",\n \"additionalProperties\": false,\n \"required\": [\"worker_count\", \"queue_capacity\", \"per_plugin_concurrency\", \"module_cache_entries\", \"module_cache_source_bytes\"],\n \"properties\": {\n \"worker_count\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Number of runtime worker threads.\" },\n \"queue_capacity\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Maximum queued worker invocations.\" },\n \"per_plugin_concurrency\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 64, \"description\": \"Maximum concurrent invocations for one plugin; must not exceed worker_count.\" },\n \"module_cache_entries\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 1024, \"description\": \"Maximum compiled modules retained by the runtime cache.\" },\n \"module_cache_source_bytes\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 134217728, \"description\": \"Maximum source WASM bytes retained by the runtime cache (128 MiB).\" }\n }\n },\n \"process_containment\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"schema_version\", \"profile\", \"seccomp_policy_sha256\", \"no_new_privs\", \"seccomp_tsync\", \"process_creation_denied\", \"reexec_denied\", \"active\"],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.process_containment.v1\" },\n \"profile\": { \"const\": \"linux-runtime-v1\" },\n \"seccomp_policy_sha256\": { \"const\": \"6305735925c1fbacaf4950df2e535d3a11cebec8ab7aa16ce37fca3c31745543\" },\n \"no_new_privs\": { \"const\": true },\n \"seccomp_tsync\": { \"const\": true },\n \"process_creation_denied\": { \"const\": true },\n \"reexec_denied\": { \"const\": true },\n \"active\": { \"const\": true }\n }\n },\n \"module_cache_metrics\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"hits\", \"misses\", \"compiles\", \"entries\", \"source_bytes\"],\n \"properties\": {\n \"hits\": { \"type\": \"integer\", \"minimum\": 0 },\n \"misses\": { \"type\": \"integer\", \"minimum\": 0 },\n \"compiles\": { \"type\": \"integer\", \"minimum\": 0 },\n \"entries\": { \"type\": \"integer\", \"minimum\": 0 },\n \"source_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"sha256\": {\n \"type\": \"string\",\n \"pattern\": \"^sha256:[a-f0-9]{64}$\"\n },\n \"worker_artifact_path\": {\n \"type\": \"string\",\n \"pattern\": \"^workers/.+\\\\.wasm$\",\n \"not\": {\n \"anyOf\": [\n { \"pattern\": \"(^|/)\\\\.\" },\n { \"pattern\": \"//\" },\n { \"pattern\": \"\\\\\\\\\" }\n ]\n }\n },\n \"heartbeat_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"sent_unix_nano\", \"max_staleness_ms\"],\n \"properties\": {\n \"sent_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"max_staleness_ms\": { \"type\": \"integer\", \"minimum\": 1 }\n }\n },\n \"heartbeat_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/heartbeat_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"heartbeat_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"runtime_generation_id\",\n \"runtime_unix_nano\",\n \"max_staleness_ms\",\n \"host_sent_unix_nano\",\n \"active_invocations\",\n \"queued_invocations\",\n \"limits\",\n \"module_cache\"\n ],\n \"properties\": {\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"max_staleness_ms\": { \"type\": \"integer\", \"minimum\": 1 },\n \"host_sent_unix_nano\": { \"type\": \"integer\", \"minimum\": 1 },\n \"active_invocations\": { \"type\": \"integer\", \"minimum\": 0 },\n \"queued_invocations\": { \"type\": \"integer\", \"minimum\": 0 },\n \"limits\": { \"$ref\": \"#/$defs/runtime_limits\" },\n \"module_cache\": { \"$ref\": \"#/$defs/module_cache_metrics\" }\n }\n },\n \"cancel_invoke_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"invocation_request_id\", \"disposition\"],\n \"properties\": {\n \"invocation_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"disposition\": { \"enum\": [\"queued\", \"running\", \"complete\"] }\n }\n }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"hostcall_failure_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 128, \"pattern\": \"^[A-Z][A-Z0-9_]{0,127}$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 4096 },\n \"error_origin\": { \"const\": \"hostcall\" }\n }\n },\n \"compile_flight_lifecycle_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"artifact_request_id\", \"package_hash\", \"artifact\", \"artifact_sha256\", \"wasm_abi_version\"],\n \"properties\": {\n \"artifact_request_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"artifact_sha256\": { \"$ref\": \"#/$defs/sha256\" },\n \"wasm_abi_version\": { \"const\": \"redevplugin-wasm-worker-v2\" }\n }\n },\n \"open_handle_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"package_hash\", \"artifact\", \"artifact_sha256\"],\n \"properties\": {\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"artifact_sha256\": { \"$ref\": \"#/$defs/sha256\" }\n }\n },\n \"open_handle_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"package_hash\", \"artifact\", \"sha256\", \"content_base64\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"package_hash\": { \"$ref\": \"#/$defs/sha256\" },\n \"artifact\": { \"$ref\": \"#/$defs/worker_artifact_path\" },\n \"sha256\": { \"$ref\": \"#/$defs/sha256\" },\n \"content_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"validate_handle_grant_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_session_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_user_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 }\n }\n },\n \"validate_handle_grant_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"handle_grant_id\", \"handle_id\", \"method\", \"runtime_generation_id\", \"resource_scope\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"handle_grant_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"max_bytes_per_second\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_total_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_file_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.files\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"read\", \"write\", \"delete\", \"list\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"path\": { \"type\": \"string\" },\n \"data_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"max_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_entries\": { \"type\": \"integer\", \"minimum\": 0 },\n \"recursive\": { \"type\": \"boolean\" }\n }\n },\n \"storage_file_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_file_read_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_write_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_delete_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_file_list_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_file_read_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"data_base64\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"data_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_write_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_delete_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" }\n }\n },\n \"storage_file_list_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"path\", \"entries\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"path\": { \"type\": \"string\" },\n \"entries\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_file_entry\" }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_file_entry\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"path\", \"dir\", \"updated_at\"],\n \"properties\": {\n \"path\": { \"type\": \"string\", \"minLength\": 1 },\n \"dir\": { \"type\": \"boolean\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"updated_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n \"storage_kv_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.kv\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"get\", \"put\", \"delete\", \"list\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"key\": { \"type\": \"string\" },\n \"value_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"prefix\": { \"type\": \"string\" },\n \"max_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_entries\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"storage_kv_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_kv_get_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_put_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_delete_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_kv_list_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_kv_get_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\", \"value_base64\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" },\n \"value_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_put_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\", \"size_bytes\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_delete_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"key\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"key\": { \"type\": \"string\" }\n }\n },\n \"storage_kv_list_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"entries\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"prefix\": { \"type\": \"string\" },\n \"entries\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_kv_entry\" }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_kv_entry\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"key\", \"size_bytes\", \"updated_at\"],\n \"properties\": {\n \"key\": { \"type\": \"string\", \"minLength\": 1 },\n \"size_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"updated_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n \"storage_sqlite_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"handle_grant_token\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"handle_id\",\n \"method\",\n \"resource_scope\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"operation\",\n \"store_id\",\n \"sql\"\n ],\n \"properties\": {\n \"handle_grant_token\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"handle_id\": { \"type\": \"string\", \"pattern\": \"^storage:[A-Za-z0-9_.-]+$\" },\n \"method\": { \"const\": \"storage.sqlite\" },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"operation\": { \"enum\": [\"exec\", \"query\"] },\n \"store_id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9_.-]+$\" },\n \"database\": { \"type\": \"string\" },\n \"sql\": { \"type\": \"string\", \"minLength\": 1 },\n \"args\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_sqlite_value\" }\n },\n \"max_rows\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_response_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"storage_sqlite_response_payload\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/storage_sqlite_exec_success_response_payload\" },\n { \"$ref\": \"#/$defs/storage_sqlite_query_success_response_payload\" },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"storage_sqlite_exec_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"database\", \"rows_affected\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"database\": { \"type\": \"string\" },\n \"rows_affected\": { \"type\": \"integer\", \"minimum\": 0 },\n \"last_insert_id\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_sqlite_query_success_response_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"database\", \"columns\", \"rows\", \"usage\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"database\": { \"type\": \"string\" },\n \"columns\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n },\n \"rows\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/storage_sqlite_value\" }\n }\n },\n \"usage\": { \"$ref\": \"#/$defs/storage_usage\" }\n }\n },\n \"storage_sqlite_value\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"oneOf\": [\n { \"required\": [\"null\"], \"properties\": { \"null\": { \"const\": true } } },\n { \"required\": [\"int\"] },\n { \"required\": [\"float\"] },\n { \"required\": [\"text\"] },\n { \"required\": [\"blob_base64\"] }\n ],\n \"properties\": {\n \"null\": { \"type\": \"boolean\" },\n \"int\": { \"type\": \"integer\" },\n \"float\": { \"type\": \"number\" },\n \"text\": { \"type\": \"string\" },\n \"blob_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" }\n }\n },\n \"storage_usage\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"plugin_instance_id\", \"store_id\", \"usage_bytes\", \"quota_bytes\", \"usage_files\", \"quota_files\"],\n \"properties\": {\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"store_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"usage_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"quota_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"usage_files\": { \"type\": \"integer\", \"minimum\": 0 },\n \"quota_files\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"network_grant_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"resource_scope\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"connector_id\",\n \"transport\",\n \"destination\"\n ],\n \"properties\": {\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"type\": \"string\", \"minLength\": 1 },\n \"ttl_ms\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"network_grant_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"ok\", \"grant_id\", \"plugin_instance_id\", \"active_fingerprint\",\n \"resource_scope\",\n \"policy_revision\", \"management_revision\", \"revoke_epoch\", \"connector_id\",\n \"transport\", \"destination\", \"runtime_generation_id\",\n \"target_classifier_version\", \"expires_at\"\n ],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"grant_id\": { \"type\": \"string\", \"pattern\": \"^netgrant_[0-9a-f]{32}$\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"$ref\": \"#/$defs/network_destination\" },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"target_classifier_version\": { \"const\": \"target-classifier-v2\" },\n \"expires_at\": { \"type\": \"string\", \"format\": \"date-time\" }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"network_execute_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"plugin_id\",\n \"plugin_instance_id\",\n \"active_fingerprint\",\n \"resource_scope\",\n \"runtime_instance_id\",\n \"runtime_generation_id\",\n \"runtime_shard_id\",\n \"policy_revision\",\n \"management_revision\",\n \"revoke_epoch\",\n \"connector_id\",\n \"transport\",\n \"destination\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\"\n ],\n \"properties\": {\n \"plugin_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"active_fingerprint\": { \"type\": \"string\", \"minLength\": 1 },\n \"resource_scope\": { \"$ref\": \"#/$defs/resource_scope\" },\n \"runtime_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_shard_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"policy_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"management_revision\": { \"type\": \"integer\", \"minimum\": 0, \"maximum\": 9007199254740991 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"type\": \"string\", \"minLength\": 1 },\n \"ttl_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"operation\": { \"enum\": [\"http\", \"http_stream\", \"websocket_round_trip\", \"tcp_round_trip\", \"udp_round_trip\"] },\n \"method\": { \"type\": \"string\", \"minLength\": 1 },\n \"path\": { \"type\": \"string\" },\n \"query\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"message_type\": { \"enum\": [\"text\", \"binary\"] },\n \"body_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"payload_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"max_request_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_response_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_chunk_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_buffered_bytes\": { \"type\": \"integer\", \"minimum\": 0 },\n \"timeout_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"stream_id\": { \"type\": \"string\" },\n \"stream_method\": { \"type\": \"string\" },\n \"stream_effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"stream_execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"surface_instance_id\": { \"type\": \"string\" },\n \"owner_session_hash\": { \"type\": \"string\" },\n \"owner_user_hash\": { \"type\": \"string\" },\n \"owner_env_hash\": { \"type\": \"string\", \"minLength\": 1 },\n \"session_channel_id_hash\": { \"type\": \"string\" },\n \"bridge_channel_id\": { \"type\": \"string\" },\n \"content_type\": { \"type\": \"string\" }\n }\n },\n \"network_execute_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"transport\", \"destination\", \"grant_id\", \"connector_id\", \"runtime_generation_id\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"destination\": { \"$ref\": \"#/$defs/network_destination\" },\n \"status_code\": { \"type\": \"integer\", \"minimum\": 100, \"maximum\": 599 },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" }\n }\n },\n \"message_type\": { \"enum\": [\"text\", \"binary\"] },\n \"body_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"payload_base64\": { \"type\": \"string\", \"contentEncoding\": \"base64\" },\n \"stream_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"bytes_read\": { \"type\": \"integer\", \"minimum\": 0 },\n \"chunk_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"grant_id\": { \"type\": \"string\", \"pattern\": \"^netgrant_[0-9a-f]{32}$\" },\n \"connector_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"runtime_generation_id\": { \"type\": \"string\", \"minLength\": 1 }\n }\n },\n { \"$ref\": \"#/$defs/hostcall_failure_response_payload\" }\n ]\n },\n \"resource_scope\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"kind\", \"owner_env_hash\"],\n \"properties\": {\n \"kind\": { \"enum\": [\"user\", \"environment\"] },\n \"owner_env_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" },\n \"owner_user_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" }\n },\n \"oneOf\": [\n { \"properties\": { \"kind\": { \"const\": \"user\" } }, \"required\": [\"owner_user_hash\"] },\n { \"properties\": { \"kind\": { \"const\": \"environment\" } }, \"not\": { \"required\": [\"owner_user_hash\"] } }\n ]\n },\n \"environment_resource_scope\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"kind\", \"owner_env_hash\"],\n \"properties\": {\n \"kind\": { \"const\": \"environment\" },\n \"owner_env_hash\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\" }\n }\n },\n \"network_destination\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"transport\", \"host\", \"port\"],\n \"properties\": {\n \"transport\": { \"enum\": [\"http\", \"websocket\", \"tcp\", \"udp\"] },\n \"scheme\": { \"enum\": [\"http\", \"https\", \"ws\", \"wss\"] },\n \"host\": { \"type\": \"string\", \"minLength\": 1 },\n \"port\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 65535 }\n }\n },\n \"revoke_epoch_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/revoke_epoch_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n },\n \"revoke_epoch_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"resource_scope\",\n \"plugin_instance_id\",\n \"revoke_epoch\",\n \"closed_socket_count\",\n \"closed_stream_count\",\n \"closed_storage_handle_count\"\n ],\n \"properties\": {\n \"resource_scope\": { \"$ref\": \"#/$defs/environment_resource_scope\" },\n \"plugin_instance_id\": { \"type\": \"string\", \"minLength\": 1 },\n \"revoke_epoch\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"closed_socket_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"closed_stream_count\": { \"type\": \"integer\", \"minimum\": 0 },\n \"closed_storage_handle_count\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"session_revoke_request_payload\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"session_revoke_sequence\",\n \"owner_session_hash\",\n \"owner_user_hash\",\n \"owner_env_hash\",\n \"session_channel_id_hash\"\n ],\n \"properties\": {\n \"session_revoke_sequence\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"owner_session_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"owner_user_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"owner_env_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" },\n \"session_channel_id_hash\": { \"$ref\": \"#/$defs/session_owner_hash\" }\n }\n },\n \"session_owner_hash\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._:-]{0,255}$\"\n },\n \"session_revoke_ack_response_payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": { \"$ref\": \"#/$defs/session_revoke_ack_result\" }\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": {\n \"enum\": [\n \"SESSION_REVOKE_SEQUENCE_STALE\",\n \"SESSION_REVOKE_DRAIN_TIMEOUT\",\n \"WORKER_INVOCATION_INVALID\"\n ]\n },\n \"message\": { \"type\": \"string\", \"minLength\": 1, \"maxLength\": 4096 },\n \"error_origin\": { \"const\": \"runtime\" }\n }\n }\n ]\n },\n \"session_revoke_ack_result\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"session_revoke_sequence\", \"state\", \"counts\"],\n \"properties\": {\n \"session_revoke_sequence\": { \"type\": \"integer\", \"minimum\": 1, \"maximum\": 9007199254740991 },\n \"state\": { \"const\": \"complete\" },\n \"counts\": { \"$ref\": \"#/$defs/session_revoke_ack_counts\" }\n }\n },\n \"session_revoke_ack_counts\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"queued_invocations\",\n \"running_invocations\",\n \"storage_hostcalls\",\n \"active_network_requests\",\n \"sockets\",\n \"network_streams\"\n ],\n \"properties\": {\n \"queued_invocations\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"running_invocations\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"storage_hostcalls\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"active_network_requests\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"sockets\": { \"$ref\": \"#/$defs/session_revoke_count\" },\n \"network_streams\": { \"$ref\": \"#/$defs/session_revoke_count\" }\n }\n },\n \"session_revoke_count\": {\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 9007199254740991\n },\n \"runtime_response_frame\": {\n \"required\": [\"runtime_generation_id\", \"payload\"],\n \"properties\": {\n \"payload\": {\n \"oneOf\": [\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"result\"],\n \"properties\": {\n \"ok\": { \"const\": true },\n \"result\": true\n }\n },\n {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"ok\", \"code\", \"message\", \"error_origin\"],\n \"properties\": {\n \"ok\": { \"const\": false },\n \"code\": { \"type\": \"string\", \"minLength\": 1 },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"error_origin\": { \"enum\": [\"runtime\", \"hostcall\", \"plugin\"] }\n }\n }\n ]\n }\n }\n }\n }\n}\n";
|
|
235
241
|
}, {
|
|
236
242
|
readonly id: "session-scope-schema";
|
|
237
243
|
readonly path: "spec/plugin/session-scope-v1.schema.json";
|
|
@@ -267,17 +273,17 @@ export declare const generatedRegistryContract: {
|
|
|
267
273
|
readonly id: "contract-registry";
|
|
268
274
|
readonly path: "spec/plugin/contract-registry-v2.json";
|
|
269
275
|
readonly version: "contract-registry-v2";
|
|
270
|
-
readonly sha256: "
|
|
271
|
-
readonly body: "{\n \"schema_version\": \"redevplugin.contract_registry.v2\",\n \"registry_version\": \"contract-registry-v2\",\n \"artifacts\": [\n {\n \"id\": \"compatibility-manifest-schema\",\n \"path\": \"spec/plugin/compatibility-manifest-v19.schema.json\",\n \"version\": \"compatibility-manifest-v19\",\n \"sha256\": \"c871e24cb88386dbddaae0bd37bcc9177e54b3c02fb957de4b46ddb329d8bb5b\"\n },\n {\n \"id\": \"contract-registry-schema\",\n \"path\": \"spec/plugin/contract-registry-v2.schema.json\",\n \"version\": \"contract-registry-v2\",\n \"sha256\": \"92ffee62b7954eecdc1ce0cf364c1f719060a19aec5d997c1b1493362e941367\"\n },\n {\n \"id\": \"error-codes-schema\",\n \"path\": \"spec/plugin/error-codes-v8.schema.json\",\n \"version\": \"error-codes-v8\",\n \"sha256\": \"5ec127f0fdd6e749d8ee342e53796acd04d1c220fb03cca462bd5222c57b5944\"\n },\n {\n \"id\": \"external-signer-request-schema\",\n \"path\": \"spec/plugin/external-signer-request-v1.schema.json\",\n \"version\": \"external-signer-request-v1\",\n \"sha256\": \"56884e9bb0b00d07fe7e8c52acfc33a4a7bab54f8a02d504f35b00bab42a03fb\"\n },\n {\n \"id\": \"external-signer-response-schema\",\n \"path\": \"spec/plugin/external-signer-response-v1.schema.json\",\n \"version\": \"external-signer-response-v1\",\n \"sha256\": \"b3b6d2b3dfe4f9bb680387e4c3a8010faef91d2d12fe28e76e51d5d84703a047\"\n },\n {\n \"id\": \"host-capability-contract-schema\",\n \"path\": \"spec/plugin/host-capability-contract-v1.schema.json\",\n \"version\": \"host-capability-contract-v1\",\n \"sha256\": \"4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4\"\n },\n {\n \"id\": \"host-capability-pin-schema\",\n \"path\": \"spec/plugin/host-capability-pin-v1.schema.json\",\n \"version\": \"host-capability-pin-v1\",\n \"sha256\": \"23591639475c485134c842cae5e53a679dde1b30374a6430ce6e4827be4d18ed\"\n },\n {\n \"id\": \"iframe-bridge-schema\",\n \"path\": \"spec/plugin/bridge-v7.schema.json\",\n \"version\": \"bridge-v7\",\n \"sha256\": \"5a6e7307f1649eb70d13e83e5d16177458957bffb3262b9299b4cf6d443e284a\"\n },\n {\n \"id\": \"manifest-schema\",\n \"path\": \"spec/plugin/manifest-v8.schema.json\",\n \"version\": \"manifest-v8\",\n \"sha256\": \"dfe5e9ea5f15d4f9c0272427ca8650d475e2fa8aacc4fb6be3a945a3069a26fb\"\n },\n {\n \"id\": \"network-grant-schema\",\n \"path\": \"spec/plugin/network-grant-v2.schema.json\",\n \"version\": \"network-grant-v2\",\n \"sha256\": \"5fc1cfc3469a992e551fd392fab982abb6f95e456a1cb768ceca137f7c693abc\"\n },\n {\n \"id\": \"opaque-surface-document-schema\",\n \"path\": \"spec/plugin/opaque-surface-document-v3.schema.json\",\n \"version\": \"opaque-surface-document-v3\",\n \"sha256\": \"63419ff5b5a8890e14f97ca29aaae175b93daff61d4567c5bdff7f6e6a9e7450\"\n },\n {\n \"id\": \"opaque-surface-transport-schema\",\n \"path\": \"spec/plugin/opaque-surface-transport-v6.schema.json\",\n \"version\": \"opaque-surface-transport-v6\",\n \"sha256\": \"8f2af2669edc9413020c26765ee3f1986ef63a7d0803466861d8cdae3977ccff\"\n },\n {\n \"id\": \"owner-scope-inventory-registry\",\n \"path\": \"spec/plugin/owner-scope-inventories-v1.json\",\n \"version\": \"owner-scope-inventory-registry-v1\",\n \"sha256\": \"f655313a641368383b3d84b6ea4f6a2a2ef42a44a4dd23f71211361c9c2e0505\"\n },\n {\n \"id\": \"owner-scope-inventory-schema\",\n \"path\": \"spec/plugin/owner-scope-inventory-v1.schema.json\",\n \"version\": \"owner-scope-inventory-v1\",\n \"sha256\": \"21dc4980103f3a36f4252ce141d7350476ec00968e8a320695e450274e928be1\"\n },\n {\n \"id\": \"owner-scope-migration-schema\",\n \"path\": \"spec/plugin/owner-scope-migration-v1.schema.json\",\n \"version\": \"owner-scope-migration-v1\",\n \"sha256\": \"497fff8a09d48fe195c18d13ff05ca6c9f8406f6215588901cb6d89315b713eb\"\n },\n {\n \"id\": \"owner-scope-root-recovery-schema\",\n \"path\": \"spec/plugin/owner-scope-root-recovery-v1.schema.json\",\n \"version\": \"owner-scope-root-recovery-v1\",\n \"sha256\": \"81b961a9933d129c8f9119e3091226039ffbc0b4721116a4811f9785bebf9d64\"\n },\n {\n \"id\": \"package-signature-schema\",\n \"path\": \"spec/plugin/package-signature-v1.schema.json\",\n \"version\": \"package-signature-v1\",\n \"sha256\": \"13951c0f6831ba28647774368c76a817868aeb7984628e2cf3dc4ad1b54f8284\"\n },\n {\n \"id\": \"performance-contract\",\n \"path\": \"spec/plugin/performance-contract-v4.json\",\n \"version\": \"performance-contract-v4\",\n \"sha256\": \"75bd7955383cf77711c7df9b624d62b1eda3275ddc558500f206be4ea876f858\"\n },\n {\n \"id\": \"performance-evidence-schema\",\n \"path\": \"spec/plugin/performance-evidence-v4.schema.json\",\n \"version\": \"performance-evidence-v4\",\n \"sha256\": \"f51ba9d425f0e40bc4f2db7ed26454e7575b14ffb6937a06dc01b8e7a66b3f61\"\n },\n {\n \"id\": \"platform-package-publication-schema\",\n \"path\": \"spec/plugin/platform-package-publication-v2.schema.json\",\n \"version\": \"platform-package-publication-v2\",\n \"sha256\": \"f506ef7838757a05d5742fd3f223eb80cec99710972c517860cebd61c517012b\"\n },\n {\n \"id\": \"platform-package-set-schema\",\n \"path\": \"spec/plugin/platform-package-set-v3.schema.json\",\n \"version\": \"platform-package-set-v3\",\n \"sha256\": \"2ac6e9a520e21a3294bec0059e0fabb6ee5d285fe6efe08a6bb6cbf2c7aea2bb\"\n },\n {\n \"id\": \"plugin-platform-openapi\",\n \"path\": \"spec/openapi/plugin-platform-v16.yaml\",\n \"version\": \"plugin-platform-v16\",\n \"sha256\": \"a85c284d1a6d677039bf9ec59e5bf80e93bc707d6ea7b1a7a967bf9daacdd5c0\"\n },\n {\n \"id\": \"presentation-icon-evidence-schema\",\n \"path\": \"spec/plugin/presentation-icon-evidence-v1.schema.json\",\n \"version\": \"presentation-icon-evidence-v1\",\n \"sha256\": \"0b302ff651bec9447637dd08b672d2371fcf383c5d9505e885955aa1b607ec15\"\n },\n {\n \"id\": \"presentation-locale-fixture\",\n \"path\": \"spec/plugin/presentation-locale-fixtures-v1.json\",\n \"version\": \"presentation-locale-fixtures-v1\",\n \"sha256\": \"cbb4c0188d020b5fbde9a0c2c33b3677d21cc64c0f0297b7f6f3f6c0efabc40e\"\n },\n {\n \"id\": \"process-containment-schema\",\n \"path\": \"spec/plugin/process-containment-v1.schema.json\",\n \"version\": \"process-containment-v1\",\n \"sha256\": \"930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc\"\n },\n {\n \"id\": \"publisher-release-ref-schema\",\n \"path\": \"spec/plugin/publisher-release-ref-v1.schema.json\",\n \"version\": \"publisher-release-ref-v1\",\n \"sha256\": \"f68241937dc291b1f660c2c184bd60a7058a4471d2966bd7954ba574c84fe726\"\n },\n {\n \"id\": \"quarantine-cleanup-schema\",\n \"path\": \"spec/plugin/quarantine-cleanup-v1.schema.json\",\n \"version\": \"quarantine-cleanup-v1\",\n \"sha256\": \"0aced01a8d409953d5075a799ac273cae79e285ac82debe93ac4d8b706571ad1\"\n },\n {\n \"id\": \"release-metadata-schema\",\n \"path\": \"spec/plugin/release-metadata-v8.schema.json\",\n \"version\": \"release-metadata-v8\",\n \"sha256\": \"ad8888e6b5673786ea0fc82475be92835c3b177b685cca5bb3efd936d461b215\"\n },\n {\n \"id\": \"release-publisher-config-schema\",\n \"path\": \"spec/plugin/release-publisher-config-v1.schema.json\",\n \"version\": \"release-publisher-config-v1\",\n \"sha256\": \"47d782062652b85a77dc67a98c8859f2f1dc598d4496df13ca70c4ceb02df227\"\n },\n {\n \"id\": \"release-revocation-pointer-schema\",\n \"path\": \"spec/plugin/release-revocation-pointer-v2.schema.json\",\n \"version\": \"release-revocation-pointer-v2\",\n \"sha256\": \"51ced7ca790d7d3d3dcb2e65faf3a3a74713ccefe7b2a5b97355a0b3226bdf34\"\n },\n {\n \"id\": \"release-revocation-schema\",\n \"path\": \"spec/plugin/release-revocation-v3.schema.json\",\n \"version\": \"release-revocation-v3\",\n \"sha256\": \"930d2729719f5f44de108df23e9efbbae17f7a3072963c1c5471197b189aa8d9\"\n },\n {\n \"id\": \"release-root-delegation-schema\",\n \"path\": \"spec/plugin/release-root-delegation-v1.schema.json\",\n \"version\": \"release-root-delegation-v1\",\n \"sha256\": \"f46249f9d51610b7a8401adc4ed04c098adaad408f35661b092f8d67767e21f2\"\n },\n {\n \"id\": \"release-source-policy-pointer-schema\",\n \"path\": \"spec/plugin/release-source-policy-pointer-v2.schema.json\",\n \"version\": \"release-source-policy-pointer-v2\",\n \"sha256\": \"a4b2ba0909a633cfd0a365dff87ca1b6eaf6df53ac38b4d2b458d7ea85da6dd1\"\n },\n {\n \"id\": \"release-source-policy-schema\",\n \"path\": \"spec/plugin/release-source-policy-v3.schema.json\",\n \"version\": \"release-source-policy-v3\",\n \"sha256\": \"9b6964cbbaeab6400ab25ff3da6fca891b9833c7f644f56367b420382d096244\"\n },\n {\n \"id\": \"resource-scope-schema\",\n \"path\": \"spec/plugin/resource-scope-v1.schema.json\",\n \"version\": \"resource-scope-v1\",\n \"sha256\": \"e6021bd576c7220ad5536645a7ad8e57ee7aeb9901c31a89444fa6b695d8dc6f\"\n },\n {\n \"id\": \"runtime-admission-schema\",\n \"path\": \"spec/plugin/runtime-admission-v1.schema.json\",\n \"version\": \"runtime-admission-v1\",\n \"sha256\": \"bee7b149876447d663a4099dbd71e71fa97f8ff80ddf4e12cbfba951a47c4beb\"\n },\n {\n \"id\": \"runtime-descriptor-schema\",\n \"path\": \"spec/plugin/runtime-descriptor-v2.schema.json\",\n \"version\": \"runtime-descriptor-v2\",\n \"sha256\": \"2ba59f6fb70d4ad757f60aca5541f4a44886542525e5bf76c393cd2368188351\"\n },\n {\n \"id\": \"runtime-exec-journal-schema\",\n \"path\": \"spec/plugin/runtime-exec-journal-v1.schema.json\",\n \"version\": \"runtime-exec-journal-v1\",\n \"sha256\": \"2bddbba383843b8ebc1554009909f0bb25e98616be763826a697cb0f408870d2\"\n },\n {\n \"id\": \"rust-ipc-schema\",\n \"path\": \"spec/plugin/ipc-v6.schema.json\",\n \"version\": \"rust-ipc-v6\",\n \"sha256\": \"75d7fb83d4502be726e986025f7ec14fac592bcaeb7add6b28dff42a7360c5dc\"\n },\n {\n \"id\": \"session-scope-schema\",\n \"path\": \"spec/plugin/session-scope-v1.schema.json\",\n \"version\": \"session-scope-v1\",\n \"sha256\": \"38044d65de36ce5219929ac4080547660734a7c6bb4d26d9b90e5838b1db331a\"\n },\n {\n \"id\": \"target-classifier-fixture\",\n \"path\": \"spec/plugin/target-classifier-v2.json\",\n \"version\": \"target-classifier-v2\",\n \"sha256\": \"ae7336cce77a2e820f96f1cc309b93f8442c932dcebec25e3890d31cd098e2d1\"\n },\n {\n \"id\": \"token-ticket-schema\",\n \"path\": \"spec/plugin/token-ticket-v4.schema.json\",\n \"version\": \"token-ticket-v4\",\n \"sha256\": \"1576e35e4e06ba67c2fdc038934c5d5184fd1224adbd75c9f8eaf6a144ade238\"\n },\n {\n \"id\": \"wasm-worker-schema\",\n \"path\": \"spec/plugin/wasm-worker-v2.schema.json\",\n \"version\": \"redevplugin-wasm-worker-v2\",\n \"sha256\": \"00bf123f3a9ed932de4b71c180e2a5c34af0f82050defb271fedec42cf217902\"\n },\n {\n \"id\": \"worker-invocation-schema\",\n \"path\": \"spec/plugin/worker-invocation-v3.schema.json\",\n \"version\": \"worker-invocation-v3\",\n \"sha256\": \"f75b5b6ea0f5936e15f84a76d9b496690d7e1b7da7a05948ad26a88cc1360847\"\n }\n ]\n}\n";
|
|
276
|
+
readonly sha256: "916d27bbc12fe65accfd85fcb2316241d961bfd3dadbe9302ad7e7cd0b3b901d";
|
|
277
|
+
readonly body: "{\n \"schema_version\": \"redevplugin.contract_registry.v2\",\n \"registry_version\": \"contract-registry-v2\",\n \"artifacts\": [\n {\n \"id\": \"compatibility-manifest-schema\",\n \"path\": \"spec/plugin/compatibility-manifest-v20.schema.json\",\n \"version\": \"compatibility-manifest-v20\",\n \"sha256\": \"8ace15ee3f0bb05e5cdd3449385dd498e37f5fb2e22a67302efb5efeaee1aa02\"\n },\n {\n \"id\": \"contract-registry-schema\",\n \"path\": \"spec/plugin/contract-registry-v2.schema.json\",\n \"version\": \"contract-registry-v2\",\n \"sha256\": \"92ffee62b7954eecdc1ce0cf364c1f719060a19aec5d997c1b1493362e941367\"\n },\n {\n \"id\": \"error-codes-schema\",\n \"path\": \"spec/plugin/error-codes-v8.schema.json\",\n \"version\": \"error-codes-v8\",\n \"sha256\": \"5ec127f0fdd6e749d8ee342e53796acd04d1c220fb03cca462bd5222c57b5944\"\n },\n {\n \"id\": \"external-signer-request-schema\",\n \"path\": \"spec/plugin/external-signer-request-v1.schema.json\",\n \"version\": \"external-signer-request-v1\",\n \"sha256\": \"56884e9bb0b00d07fe7e8c52acfc33a4a7bab54f8a02d504f35b00bab42a03fb\"\n },\n {\n \"id\": \"external-signer-response-schema\",\n \"path\": \"spec/plugin/external-signer-response-v1.schema.json\",\n \"version\": \"external-signer-response-v1\",\n \"sha256\": \"b3b6d2b3dfe4f9bb680387e4c3a8010faef91d2d12fe28e76e51d5d84703a047\"\n },\n {\n \"id\": \"host-capability-contract-schema\",\n \"path\": \"spec/plugin/host-capability-contract-v1.schema.json\",\n \"version\": \"host-capability-contract-v1\",\n \"sha256\": \"4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4\"\n },\n {\n \"id\": \"host-capability-pin-schema\",\n \"path\": \"spec/plugin/host-capability-pin-v1.schema.json\",\n \"version\": \"host-capability-pin-v1\",\n \"sha256\": \"23591639475c485134c842cae5e53a679dde1b30374a6430ce6e4827be4d18ed\"\n },\n {\n \"id\": \"iframe-bridge-schema\",\n \"path\": \"spec/plugin/bridge-v7.schema.json\",\n \"version\": \"bridge-v7\",\n \"sha256\": \"5a6e7307f1649eb70d13e83e5d16177458957bffb3262b9299b4cf6d443e284a\"\n },\n {\n \"id\": \"manifest-schema\",\n \"path\": \"spec/plugin/manifest-v9.schema.json\",\n \"version\": \"manifest-v9\",\n \"sha256\": \"d8b0fc348179a1a9af81f152897bad1891b1f8b7a7a4448c0a4e54e9883f1322\"\n },\n {\n \"id\": \"network-grant-schema\",\n \"path\": \"spec/plugin/network-grant-v2.schema.json\",\n \"version\": \"network-grant-v2\",\n \"sha256\": \"5fc1cfc3469a992e551fd392fab982abb6f95e456a1cb768ceca137f7c693abc\"\n },\n {\n \"id\": \"opaque-surface-document-schema\",\n \"path\": \"spec/plugin/opaque-surface-document-v3.schema.json\",\n \"version\": \"opaque-surface-document-v3\",\n \"sha256\": \"63419ff5b5a8890e14f97ca29aaae175b93daff61d4567c5bdff7f6e6a9e7450\"\n },\n {\n \"id\": \"opaque-surface-transport-schema\",\n \"path\": \"spec/plugin/opaque-surface-transport-v6.schema.json\",\n \"version\": \"opaque-surface-transport-v6\",\n \"sha256\": \"8f2af2669edc9413020c26765ee3f1986ef63a7d0803466861d8cdae3977ccff\"\n },\n {\n \"id\": \"owner-scope-inventory-registry\",\n \"path\": \"spec/plugin/owner-scope-inventories-v1.json\",\n \"version\": \"owner-scope-inventory-registry-v1\",\n \"sha256\": \"f655313a641368383b3d84b6ea4f6a2a2ef42a44a4dd23f71211361c9c2e0505\"\n },\n {\n \"id\": \"owner-scope-inventory-schema\",\n \"path\": \"spec/plugin/owner-scope-inventory-v1.schema.json\",\n \"version\": \"owner-scope-inventory-v1\",\n \"sha256\": \"21dc4980103f3a36f4252ce141d7350476ec00968e8a320695e450274e928be1\"\n },\n {\n \"id\": \"owner-scope-migration-schema\",\n \"path\": \"spec/plugin/owner-scope-migration-v1.schema.json\",\n \"version\": \"owner-scope-migration-v1\",\n \"sha256\": \"497fff8a09d48fe195c18d13ff05ca6c9f8406f6215588901cb6d89315b713eb\"\n },\n {\n \"id\": \"owner-scope-root-recovery-schema\",\n \"path\": \"spec/plugin/owner-scope-root-recovery-v1.schema.json\",\n \"version\": \"owner-scope-root-recovery-v1\",\n \"sha256\": \"81b961a9933d129c8f9119e3091226039ffbc0b4721116a4811f9785bebf9d64\"\n },\n {\n \"id\": \"package-signature-schema\",\n \"path\": \"spec/plugin/package-signature-v1.schema.json\",\n \"version\": \"package-signature-v1\",\n \"sha256\": \"13951c0f6831ba28647774368c76a817868aeb7984628e2cf3dc4ad1b54f8284\"\n },\n {\n \"id\": \"performance-contract\",\n \"path\": \"spec/plugin/performance-contract-v4.json\",\n \"version\": \"performance-contract-v4\",\n \"sha256\": \"08830053b38f0f8466c4e9e608fd7f21e24175063ec02307543fbd8adfb5692e\"\n },\n {\n \"id\": \"performance-evidence-schema\",\n \"path\": \"spec/plugin/performance-evidence-v4.schema.json\",\n \"version\": \"performance-evidence-v4\",\n \"sha256\": \"f51ba9d425f0e40bc4f2db7ed26454e7575b14ffb6937a06dc01b8e7a66b3f61\"\n },\n {\n \"id\": \"platform-package-publication-schema\",\n \"path\": \"spec/plugin/platform-package-publication-v2.schema.json\",\n \"version\": \"platform-package-publication-v2\",\n \"sha256\": \"1cc7a342b7dda8533324764c7f29fa7a3ca24a93f6015e7a18a17539febd538a\"\n },\n {\n \"id\": \"platform-package-set-schema\",\n \"path\": \"spec/plugin/platform-package-set-v3.schema.json\",\n \"version\": \"platform-package-set-v3\",\n \"sha256\": \"8acba305f9df90be10cca516b98a598efc9a4bffd0e3c2915d78385e18397b88\"\n },\n {\n \"id\": \"plugin-platform-openapi\",\n \"path\": \"spec/openapi/plugin-platform-v17.yaml\",\n \"version\": \"plugin-platform-v17\",\n \"sha256\": \"1a043991f4d87ddfabdf614364e1bec42400f4bc19b7856c4c774b9f282fcda3\"\n },\n {\n \"id\": \"presentation-icon-evidence-schema\",\n \"path\": \"spec/plugin/presentation-icon-evidence-v1.schema.json\",\n \"version\": \"presentation-icon-evidence-v1\",\n \"sha256\": \"0b302ff651bec9447637dd08b672d2371fcf383c5d9505e885955aa1b607ec15\"\n },\n {\n \"id\": \"presentation-locale-fixture\",\n \"path\": \"spec/plugin/presentation-locale-fixtures-v1.json\",\n \"version\": \"presentation-locale-fixtures-v1\",\n \"sha256\": \"cbb4c0188d020b5fbde9a0c2c33b3677d21cc64c0f0297b7f6f3f6c0efabc40e\"\n },\n {\n \"id\": \"process-containment-schema\",\n \"path\": \"spec/plugin/process-containment-v1.schema.json\",\n \"version\": \"process-containment-v1\",\n \"sha256\": \"930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc\"\n },\n {\n \"id\": \"public-api-catalog\",\n \"path\": \"spec/plugin/public-api-v1.json\",\n \"version\": \"public-api-v1\",\n \"sha256\": \"562a80933bb079abf082dc354e4ff206c8a00b6670be5d17ef5d191a9c52fc75\"\n },\n {\n \"id\": \"publisher-release-ref-schema\",\n \"path\": \"spec/plugin/publisher-release-ref-v1.schema.json\",\n \"version\": \"publisher-release-ref-v1\",\n \"sha256\": \"f68241937dc291b1f660c2c184bd60a7058a4471d2966bd7954ba574c84fe726\"\n },\n {\n \"id\": \"quarantine-cleanup-schema\",\n \"path\": \"spec/plugin/quarantine-cleanup-v1.schema.json\",\n \"version\": \"quarantine-cleanup-v1\",\n \"sha256\": \"0aced01a8d409953d5075a799ac273cae79e285ac82debe93ac4d8b706571ad1\"\n },\n {\n \"id\": \"release-metadata-schema\",\n \"path\": \"spec/plugin/release-metadata-v8.schema.json\",\n \"version\": \"release-metadata-v8\",\n \"sha256\": \"ad8888e6b5673786ea0fc82475be92835c3b177b685cca5bb3efd936d461b215\"\n },\n {\n \"id\": \"release-publisher-config-schema\",\n \"path\": \"spec/plugin/release-publisher-config-v1.schema.json\",\n \"version\": \"release-publisher-config-v1\",\n \"sha256\": \"47d782062652b85a77dc67a98c8859f2f1dc598d4496df13ca70c4ceb02df227\"\n },\n {\n \"id\": \"release-revocation-pointer-schema\",\n \"path\": \"spec/plugin/release-revocation-pointer-v2.schema.json\",\n \"version\": \"release-revocation-pointer-v2\",\n \"sha256\": \"51ced7ca790d7d3d3dcb2e65faf3a3a74713ccefe7b2a5b97355a0b3226bdf34\"\n },\n {\n \"id\": \"release-revocation-schema\",\n \"path\": \"spec/plugin/release-revocation-v3.schema.json\",\n \"version\": \"release-revocation-v3\",\n \"sha256\": \"930d2729719f5f44de108df23e9efbbae17f7a3072963c1c5471197b189aa8d9\"\n },\n {\n \"id\": \"release-root-delegation-schema\",\n \"path\": \"spec/plugin/release-root-delegation-v1.schema.json\",\n \"version\": \"release-root-delegation-v1\",\n \"sha256\": \"f46249f9d51610b7a8401adc4ed04c098adaad408f35661b092f8d67767e21f2\"\n },\n {\n \"id\": \"release-source-policy-pointer-schema\",\n \"path\": \"spec/plugin/release-source-policy-pointer-v2.schema.json\",\n \"version\": \"release-source-policy-pointer-v2\",\n \"sha256\": \"a4b2ba0909a633cfd0a365dff87ca1b6eaf6df53ac38b4d2b458d7ea85da6dd1\"\n },\n {\n \"id\": \"release-source-policy-schema\",\n \"path\": \"spec/plugin/release-source-policy-v3.schema.json\",\n \"version\": \"release-source-policy-v3\",\n \"sha256\": \"9b6964cbbaeab6400ab25ff3da6fca891b9833c7f644f56367b420382d096244\"\n },\n {\n \"id\": \"resource-scope-schema\",\n \"path\": \"spec/plugin/resource-scope-v1.schema.json\",\n \"version\": \"resource-scope-v1\",\n \"sha256\": \"e6021bd576c7220ad5536645a7ad8e57ee7aeb9901c31a89444fa6b695d8dc6f\"\n },\n {\n \"id\": \"runtime-admission-schema\",\n \"path\": \"spec/plugin/runtime-admission-v1.schema.json\",\n \"version\": \"runtime-admission-v1\",\n \"sha256\": \"bee7b149876447d663a4099dbd71e71fa97f8ff80ddf4e12cbfba951a47c4beb\"\n },\n {\n \"id\": \"runtime-descriptor-schema\",\n \"path\": \"spec/plugin/runtime-descriptor-v3.schema.json\",\n \"version\": \"runtime-descriptor-v3\",\n \"sha256\": \"c95c9126c0bbb4b5f697114d4e11d7107d1bebea56d700d3549d00812e7c3e97\"\n },\n {\n \"id\": \"runtime-exec-journal-schema\",\n \"path\": \"spec/plugin/runtime-exec-journal-v1.schema.json\",\n \"version\": \"runtime-exec-journal-v1\",\n \"sha256\": \"2bddbba383843b8ebc1554009909f0bb25e98616be763826a697cb0f408870d2\"\n },\n {\n \"id\": \"rust-ipc-schema\",\n \"path\": \"spec/plugin/ipc-v7.schema.json\",\n \"version\": \"rust-ipc-v7\",\n \"sha256\": \"1e1c5b6414030a0c7ffa6f4356f95e2f78f339b9b4dff45bb3691931316d9502\"\n },\n {\n \"id\": \"session-scope-schema\",\n \"path\": \"spec/plugin/session-scope-v1.schema.json\",\n \"version\": \"session-scope-v1\",\n \"sha256\": \"38044d65de36ce5219929ac4080547660734a7c6bb4d26d9b90e5838b1db331a\"\n },\n {\n \"id\": \"target-classifier-fixture\",\n \"path\": \"spec/plugin/target-classifier-v2.json\",\n \"version\": \"target-classifier-v2\",\n \"sha256\": \"ae7336cce77a2e820f96f1cc309b93f8442c932dcebec25e3890d31cd098e2d1\"\n },\n {\n \"id\": \"token-ticket-schema\",\n \"path\": \"spec/plugin/token-ticket-v4.schema.json\",\n \"version\": \"token-ticket-v4\",\n \"sha256\": \"1576e35e4e06ba67c2fdc038934c5d5184fd1224adbd75c9f8eaf6a144ade238\"\n },\n {\n \"id\": \"wasm-worker-schema\",\n \"path\": \"spec/plugin/wasm-worker-v2.schema.json\",\n \"version\": \"redevplugin-wasm-worker-v2\",\n \"sha256\": \"00bf123f3a9ed932de4b71c180e2a5c34af0f82050defb271fedec42cf217902\"\n },\n {\n \"id\": \"worker-invocation-schema\",\n \"path\": \"spec/plugin/worker-invocation-v3.schema.json\",\n \"version\": \"worker-invocation-v3\",\n \"sha256\": \"f75b5b6ea0f5936e15f84a76d9b496690d7e1b7da7a05948ad26a88cc1360847\"\n }\n ]\n}\n";
|
|
272
278
|
};
|
|
273
279
|
export declare const generatedContractRegistry: {
|
|
274
280
|
readonly schema_version: "redevplugin.contract_registry.v2";
|
|
275
281
|
readonly registry_version: "contract-registry-v2";
|
|
276
282
|
readonly artifacts: readonly [{
|
|
277
283
|
readonly id: "compatibility-manifest-schema";
|
|
278
|
-
readonly path: "spec/plugin/compatibility-manifest-
|
|
279
|
-
readonly version: "compatibility-manifest-
|
|
280
|
-
readonly sha256: "
|
|
284
|
+
readonly path: "spec/plugin/compatibility-manifest-v20.schema.json";
|
|
285
|
+
readonly version: "compatibility-manifest-v20";
|
|
286
|
+
readonly sha256: "8ace15ee3f0bb05e5cdd3449385dd498e37f5fb2e22a67302efb5efeaee1aa02";
|
|
281
287
|
}, {
|
|
282
288
|
readonly id: "contract-registry-schema";
|
|
283
289
|
readonly path: "spec/plugin/contract-registry-v2.schema.json";
|
|
@@ -315,9 +321,9 @@ export declare const generatedContractRegistry: {
|
|
|
315
321
|
readonly sha256: "5a6e7307f1649eb70d13e83e5d16177458957bffb3262b9299b4cf6d443e284a";
|
|
316
322
|
}, {
|
|
317
323
|
readonly id: "manifest-schema";
|
|
318
|
-
readonly path: "spec/plugin/manifest-
|
|
319
|
-
readonly version: "manifest-
|
|
320
|
-
readonly sha256: "
|
|
324
|
+
readonly path: "spec/plugin/manifest-v9.schema.json";
|
|
325
|
+
readonly version: "manifest-v9";
|
|
326
|
+
readonly sha256: "d8b0fc348179a1a9af81f152897bad1891b1f8b7a7a4448c0a4e54e9883f1322";
|
|
321
327
|
}, {
|
|
322
328
|
readonly id: "network-grant-schema";
|
|
323
329
|
readonly path: "spec/plugin/network-grant-v2.schema.json";
|
|
@@ -362,7 +368,7 @@ export declare const generatedContractRegistry: {
|
|
|
362
368
|
readonly id: "performance-contract";
|
|
363
369
|
readonly path: "spec/plugin/performance-contract-v4.json";
|
|
364
370
|
readonly version: "performance-contract-v4";
|
|
365
|
-
readonly sha256: "
|
|
371
|
+
readonly sha256: "08830053b38f0f8466c4e9e608fd7f21e24175063ec02307543fbd8adfb5692e";
|
|
366
372
|
}, {
|
|
367
373
|
readonly id: "performance-evidence-schema";
|
|
368
374
|
readonly path: "spec/plugin/performance-evidence-v4.schema.json";
|
|
@@ -372,17 +378,17 @@ export declare const generatedContractRegistry: {
|
|
|
372
378
|
readonly id: "platform-package-publication-schema";
|
|
373
379
|
readonly path: "spec/plugin/platform-package-publication-v2.schema.json";
|
|
374
380
|
readonly version: "platform-package-publication-v2";
|
|
375
|
-
readonly sha256: "
|
|
381
|
+
readonly sha256: "1cc7a342b7dda8533324764c7f29fa7a3ca24a93f6015e7a18a17539febd538a";
|
|
376
382
|
}, {
|
|
377
383
|
readonly id: "platform-package-set-schema";
|
|
378
384
|
readonly path: "spec/plugin/platform-package-set-v3.schema.json";
|
|
379
385
|
readonly version: "platform-package-set-v3";
|
|
380
|
-
readonly sha256: "
|
|
386
|
+
readonly sha256: "8acba305f9df90be10cca516b98a598efc9a4bffd0e3c2915d78385e18397b88";
|
|
381
387
|
}, {
|
|
382
388
|
readonly id: "plugin-platform-openapi";
|
|
383
|
-
readonly path: "spec/openapi/plugin-platform-
|
|
384
|
-
readonly version: "plugin-platform-
|
|
385
|
-
readonly sha256: "
|
|
389
|
+
readonly path: "spec/openapi/plugin-platform-v17.yaml";
|
|
390
|
+
readonly version: "plugin-platform-v17";
|
|
391
|
+
readonly sha256: "1a043991f4d87ddfabdf614364e1bec42400f4bc19b7856c4c774b9f282fcda3";
|
|
386
392
|
}, {
|
|
387
393
|
readonly id: "presentation-icon-evidence-schema";
|
|
388
394
|
readonly path: "spec/plugin/presentation-icon-evidence-v1.schema.json";
|
|
@@ -398,6 +404,11 @@ export declare const generatedContractRegistry: {
|
|
|
398
404
|
readonly path: "spec/plugin/process-containment-v1.schema.json";
|
|
399
405
|
readonly version: "process-containment-v1";
|
|
400
406
|
readonly sha256: "930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc";
|
|
407
|
+
}, {
|
|
408
|
+
readonly id: "public-api-catalog";
|
|
409
|
+
readonly path: "spec/plugin/public-api-v1.json";
|
|
410
|
+
readonly version: "public-api-v1";
|
|
411
|
+
readonly sha256: "562a80933bb079abf082dc354e4ff206c8a00b6670be5d17ef5d191a9c52fc75";
|
|
401
412
|
}, {
|
|
402
413
|
readonly id: "publisher-release-ref-schema";
|
|
403
414
|
readonly path: "spec/plugin/publisher-release-ref-v1.schema.json";
|
|
@@ -455,9 +466,9 @@ export declare const generatedContractRegistry: {
|
|
|
455
466
|
readonly sha256: "bee7b149876447d663a4099dbd71e71fa97f8ff80ddf4e12cbfba951a47c4beb";
|
|
456
467
|
}, {
|
|
457
468
|
readonly id: "runtime-descriptor-schema";
|
|
458
|
-
readonly path: "spec/plugin/runtime-descriptor-
|
|
459
|
-
readonly version: "runtime-descriptor-
|
|
460
|
-
readonly sha256: "
|
|
469
|
+
readonly path: "spec/plugin/runtime-descriptor-v3.schema.json";
|
|
470
|
+
readonly version: "runtime-descriptor-v3";
|
|
471
|
+
readonly sha256: "c95c9126c0bbb4b5f697114d4e11d7107d1bebea56d700d3549d00812e7c3e97";
|
|
461
472
|
}, {
|
|
462
473
|
readonly id: "runtime-exec-journal-schema";
|
|
463
474
|
readonly path: "spec/plugin/runtime-exec-journal-v1.schema.json";
|
|
@@ -465,9 +476,9 @@ export declare const generatedContractRegistry: {
|
|
|
465
476
|
readonly sha256: "2bddbba383843b8ebc1554009909f0bb25e98616be763826a697cb0f408870d2";
|
|
466
477
|
}, {
|
|
467
478
|
readonly id: "rust-ipc-schema";
|
|
468
|
-
readonly path: "spec/plugin/ipc-
|
|
469
|
-
readonly version: "rust-ipc-
|
|
470
|
-
readonly sha256: "
|
|
479
|
+
readonly path: "spec/plugin/ipc-v7.schema.json";
|
|
480
|
+
readonly version: "rust-ipc-v7";
|
|
481
|
+
readonly sha256: "1e1c5b6414030a0c7ffa6f4356f95e2f78f339b9b4dff45bb3691931316d9502";
|
|
471
482
|
}, {
|
|
472
483
|
readonly id: "session-scope-schema";
|
|
473
484
|
readonly path: "spec/plugin/session-scope-v1.schema.json";
|
|
@@ -497,28 +508,28 @@ export declare const generatedContractRegistry: {
|
|
|
497
508
|
};
|
|
498
509
|
export declare const generatedPackageSet: {
|
|
499
510
|
readonly schema_version: "redevplugin.platform_package_set.v3";
|
|
500
|
-
readonly platform_version: "
|
|
511
|
+
readonly platform_version: "2.0.2";
|
|
501
512
|
readonly go_module: {
|
|
502
|
-
readonly module: "github.com/floegence/redevplugin";
|
|
503
|
-
readonly version: "
|
|
513
|
+
readonly module: "github.com/floegence/redevplugin/v2";
|
|
514
|
+
readonly version: "v2.0.2";
|
|
504
515
|
};
|
|
505
516
|
readonly npm_packages: readonly [{
|
|
506
517
|
readonly name: "@floegence/redevplugin-contracts";
|
|
507
|
-
readonly version: "
|
|
518
|
+
readonly version: "2.0.2";
|
|
508
519
|
}, {
|
|
509
520
|
readonly name: "@floegence/redevplugin-ui";
|
|
510
|
-
readonly version: "
|
|
521
|
+
readonly version: "2.0.2";
|
|
511
522
|
}];
|
|
512
523
|
readonly rust_crates: readonly [{
|
|
513
524
|
readonly name: "redevplugin-runtime";
|
|
514
|
-
readonly version: "
|
|
525
|
+
readonly version: "2.0.2";
|
|
515
526
|
readonly role: "runtime";
|
|
516
527
|
}, {
|
|
517
528
|
readonly name: "redevplugin-worker-sdk";
|
|
518
|
-
readonly version: "
|
|
529
|
+
readonly version: "2.0.2";
|
|
519
530
|
readonly role: "worker_sdk";
|
|
520
531
|
}];
|
|
521
532
|
readonly contract_registry_version: "contract-registry-v2";
|
|
522
|
-
readonly contract_set_sha256: "
|
|
533
|
+
readonly contract_set_sha256: "6b827020d10807e11de804167fd584eb49de5296a2c254f6a1d89a80539b0802";
|
|
523
534
|
};
|
|
524
|
-
export declare const generatedContractSetSHA256: "
|
|
535
|
+
export declare const generatedContractSetSHA256: "6b827020d10807e11de804167fd584eb49de5296a2c254f6a1d89a80539b0802";
|