@floegence/redevplugin-contracts 1.1.1 → 1.1.3
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 +13 -13
- package/dist/contracts.gen.js +13 -13
- package/dist/index.d.ts +9 -9
- package/package.json +1 -1
package/dist/contracts.gen.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export declare const generatedContractArtifacts: readonly [{
|
|
|
32
32
|
readonly id: "host-capability-contract-schema";
|
|
33
33
|
readonly path: "spec/plugin/host-capability-contract-v1.schema.json";
|
|
34
34
|
readonly version: "host-capability-contract-v1";
|
|
35
|
-
readonly sha256: "
|
|
36
|
-
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/host-capability-contract-v1.schema.json\",\n \"title\": \"ReDevPlugin host capability contract v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"schema_version\",\n \"contract_id\",\n \"contract_version\",\n \"publisher_id\",\n \"capability_id\",\n \"capability_version\",\n \"client_name\",\n \"methods\"\n ],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.host_capability_contract.v1\" },\n \"contract_id\": { \"$ref\": \"#/$defs/id\" },\n \"contract_version\": { \"$ref\": \"#/$defs/semver\" },\n \"publisher_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_version\": { \"$ref\": \"#/$defs/semver\" },\n \"client_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"methods\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method\" }\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/business_error\" }\n }\n },\n \"$defs\": {\n \"id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._-]*$\" },\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 \"typescript_declaration_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": {\n \"enum\": [\n \"PluginBridgeClient\", \"PluginBridgeError\", \"PluginBridgeRequestOptions\", \"PluginOperation\", \"PluginStream\",\n \"abstract\", \"accessor\", \"any\", \"as\", \"assert\", \"asserts\", \"async\", \"await\", \"bigint\", \"boolean\",\n \"break\", \"case\", \"catch\", \"class\", \"const\", \"continue\", \"debugger\", \"declare\", \"default\", \"delete\",\n \"do\", \"else\", \"enum\", \"export\", \"extends\", \"false\", \"finally\", \"for\", \"from\", \"function\", \"get\",\n \"if\", \"implements\", \"import\", \"in\", \"infer\", \"instanceof\", \"interface\", \"intrinsic\", \"is\", \"keyof\",\n \"let\", \"module\", \"namespace\", \"never\", \"new\", \"null\", \"number\", \"object\", \"of\", \"out\", \"override\",\n \"package\", \"private\", \"protected\", \"public\", \"readonly\", \"require\", \"return\", \"satisfies\", \"set\", \"static\",\n \"string\", \"super\", \"switch\", \"symbol\", \"this\", \"throw\", \"true\", \"try\", \"type\", \"typeof\", \"undefined\",\n \"unique\", \"unknown\", \"using\", \"var\", \"void\", \"while\", \"with\", \"yield\",\n \"callCapabilityOperation\", \"callCapabilityStream\", \"callCapabilitySync\", \"decodePluginStreamText\",\n \"isCapabilityBusinessError\"\n ]\n }\n },\n \"typescript_member_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": { \"const\": \"constructor\" }\n },\n \"string_set\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"pattern\": \"^\\\\S+$\" }\n },\n \"method\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\",\n \"client_method\",\n \"effect\",\n \"execution\",\n \"target_fields\",\n \"target_schema\",\n \"request_type_name\",\n \"response_type_name\",\n \"request_schema\",\n \"response_schema\",\n \"quota\"\n ],\n \"properties\": {\n \"name\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"client_method\": { \"$ref\": \"#/$defs/typescript_member_identifier\" },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"preflight_only\": { \"type\": \"boolean\" },\n \"required_permissions\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"request_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"response_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"request_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"response_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"event_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"event_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"confirmation\": { \"$ref\": \"#/$defs/confirmation\" },\n \"cancel_policy\": { \"$ref\": \"#/$defs/cancel_policy\" },\n \"quota\": { \"$ref\": \"#/$defs/quota\" }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"event_type_name\", \"event_schema\", \"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": {\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"event_type_name\"] },\n { \"required\": [\"event_schema\"] },\n { \"required\": [\"cancel_policy\"] }\n ]\n }\n }\n }\n ]\n },\n \"confirmation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"mode\"],\n \"properties\": {\n \"mode\": { \"enum\": [\"required\", \"risk_based\"] },\n \"preflight_method\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"request_hash_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"plan_hash_required\": { \"type\": \"boolean\" }\n }\n },\n \"cancel_policy\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"cancelable\", \"disable_behavior\", \"uninstall_behavior\"],\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 },\n \"quota\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"max_concurrent\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_duration_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_stream_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"business_error\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"code\", \"message\"],\n \"properties\": {\n \"code\": { \"type\": \"string\", \"pattern\": \"^[A-Z][A-Z0-9_]*$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"details_schema\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n },\n \"restricted_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/array_schema\" },\n { \"$ref\": \"#/$defs/string_schema\" },\n { \"$ref\": \"#/$defs/integer_schema\" },\n { \"$ref\": \"#/$defs/number_schema\" },\n { \"$ref\": \"#/$defs/boolean_schema\" },\n { \"$ref\": \"#/$defs/null_schema\" },\n { \"$ref\": \"#/$defs/one_of_schema\" }\n ]\n },\n \"object_value_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/object_one_of_schema\" }\n ]\n },\n \"object_one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n }\n },\n \"object_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"properties\": {\n \"type\": \"object\",\n \"propertyNames\": { \"not\": { \"enum\": [\"__proto__\", \"constructor\", \"prototype\"] } },\n \"additionalProperties\": { \"$ref\": \"#/$defs/restricted_schema\" }\n },\n \"required\": { \"$ref\": \"#/$defs/string_set\" },\n \"additionalProperties\": { \"const\": false },\n \"minProperties\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxProperties\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"array_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"items\"],\n \"properties\": {\n \"type\": { \"const\": \"array\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"minItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"uniqueItems\": { \"type\": \"boolean\" }\n }\n },\n \"string_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"string\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"string\" } },\n \"const\": { \"type\": \"string\" },\n \"minLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pattern\": { \"type\": \"string\" },\n \"format\": { \"enum\": [\"date-time\", \"uuid\", \"hostname\", \"ipv4\", \"ipv6\"] }\n }\n },\n \"integer_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"integer\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"integer\" } },\n \"const\": { \"type\": \"integer\" },\n \"minimum\": { \"type\": \"integer\" },\n \"maximum\": { \"type\": \"integer\" },\n \"exclusiveMinimum\": { \"type\": \"integer\" },\n \"exclusiveMaximum\": { \"type\": \"integer\" },\n \"multipleOf\": { \"type\": \"integer\", \"exclusiveMinimum\": 0 }\n }\n },\n \"number_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"number\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"number\" } },\n \"const\": { \"type\": \"number\" },\n \"minimum\": { \"type\": \"number\" },\n \"maximum\": { \"type\": \"number\" },\n \"exclusiveMinimum\": { \"type\": \"number\" },\n \"exclusiveMaximum\": { \"type\": \"number\" },\n \"multipleOf\": { \"type\": \"number\", \"exclusiveMinimum\": 0 }\n }\n },\n \"boolean_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"boolean\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"boolean\" }\n }\n },\n \"null_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"null\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"null\" }\n }\n },\n \"one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" }\n }\n }\n }\n }\n}\n";
|
|
35
|
+
readonly sha256: "4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4";
|
|
36
|
+
readonly body: "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/host-capability-contract-v1.schema.json\",\n \"title\": \"ReDevPlugin host capability contract v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"schema_version\",\n \"contract_id\",\n \"contract_version\",\n \"publisher_id\",\n \"capability_id\",\n \"capability_version\",\n \"client_name\",\n \"methods\"\n ],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.host_capability_contract.v1\" },\n \"contract_id\": { \"$ref\": \"#/$defs/id\" },\n \"contract_version\": { \"$ref\": \"#/$defs/semver\" },\n \"publisher_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_version\": { \"$ref\": \"#/$defs/semver\" },\n \"client_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"methods\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method\" }\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/business_error\" }\n }\n },\n \"$defs\": {\n \"id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._-]*$\" },\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 \"typescript_declaration_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": {\n \"enum\": [\n \"PluginBridgeClient\", \"PluginBridgeError\", \"PluginBridgeRequestOptions\", \"PluginExecution\", \"PluginStream\",\n \"abstract\", \"accessor\", \"any\", \"as\", \"assert\", \"asserts\", \"async\", \"await\", \"bigint\", \"boolean\",\n \"break\", \"case\", \"catch\", \"class\", \"const\", \"continue\", \"debugger\", \"declare\", \"default\", \"delete\",\n \"do\", \"else\", \"enum\", \"export\", \"extends\", \"false\", \"finally\", \"for\", \"from\", \"function\", \"get\",\n \"if\", \"implements\", \"import\", \"in\", \"infer\", \"instanceof\", \"interface\", \"intrinsic\", \"is\", \"keyof\",\n \"let\", \"module\", \"namespace\", \"never\", \"new\", \"null\", \"number\", \"object\", \"of\", \"out\", \"override\",\n \"package\", \"private\", \"protected\", \"public\", \"readonly\", \"require\", \"return\", \"satisfies\", \"set\", \"static\",\n \"string\", \"super\", \"switch\", \"symbol\", \"this\", \"throw\", \"true\", \"try\", \"type\", \"typeof\", \"undefined\",\n \"unique\", \"unknown\", \"using\", \"var\", \"void\", \"while\", \"with\", \"yield\",\n \"callCapabilityOperation\", \"callCapabilityStream\", \"callCapabilitySync\", \"decodePluginStreamText\",\n \"isCapabilityBusinessError\"\n ]\n }\n },\n \"typescript_member_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": { \"const\": \"constructor\" }\n },\n \"string_set\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"pattern\": \"^\\\\S+$\" }\n },\n \"method\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\",\n \"client_method\",\n \"effect\",\n \"execution\",\n \"target_fields\",\n \"target_schema\",\n \"request_type_name\",\n \"response_type_name\",\n \"request_schema\",\n \"response_schema\",\n \"quota\"\n ],\n \"properties\": {\n \"name\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"client_method\": { \"$ref\": \"#/$defs/typescript_member_identifier\" },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"preflight_only\": { \"type\": \"boolean\" },\n \"required_permissions\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"request_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"response_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"request_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"response_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"event_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"event_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"confirmation\": { \"$ref\": \"#/$defs/confirmation\" },\n \"cancel_policy\": { \"$ref\": \"#/$defs/cancel_policy\" },\n \"quota\": { \"$ref\": \"#/$defs/quota\" }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"event_type_name\", \"event_schema\", \"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": {\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"event_type_name\"] },\n { \"required\": [\"event_schema\"] },\n { \"required\": [\"cancel_policy\"] }\n ]\n }\n }\n }\n ]\n },\n \"confirmation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"mode\"],\n \"properties\": {\n \"mode\": { \"enum\": [\"required\", \"risk_based\"] },\n \"preflight_method\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"request_hash_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"plan_hash_required\": { \"type\": \"boolean\" }\n }\n },\n \"cancel_policy\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"cancelable\", \"disable_behavior\", \"uninstall_behavior\"],\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 },\n \"quota\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"max_concurrent\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_duration_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_stream_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"business_error\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"code\", \"message\"],\n \"properties\": {\n \"code\": { \"type\": \"string\", \"pattern\": \"^[A-Z][A-Z0-9_]*$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"details_schema\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n },\n \"restricted_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/array_schema\" },\n { \"$ref\": \"#/$defs/string_schema\" },\n { \"$ref\": \"#/$defs/integer_schema\" },\n { \"$ref\": \"#/$defs/number_schema\" },\n { \"$ref\": \"#/$defs/boolean_schema\" },\n { \"$ref\": \"#/$defs/null_schema\" },\n { \"$ref\": \"#/$defs/one_of_schema\" }\n ]\n },\n \"object_value_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/object_one_of_schema\" }\n ]\n },\n \"object_one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n }\n },\n \"object_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"properties\": {\n \"type\": \"object\",\n \"propertyNames\": { \"not\": { \"enum\": [\"__proto__\", \"constructor\", \"prototype\"] } },\n \"additionalProperties\": { \"$ref\": \"#/$defs/restricted_schema\" }\n },\n \"required\": { \"$ref\": \"#/$defs/string_set\" },\n \"additionalProperties\": { \"const\": false },\n \"minProperties\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxProperties\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"array_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"items\"],\n \"properties\": {\n \"type\": { \"const\": \"array\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"minItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"uniqueItems\": { \"type\": \"boolean\" }\n }\n },\n \"string_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"string\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"string\" } },\n \"const\": { \"type\": \"string\" },\n \"minLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pattern\": { \"type\": \"string\" },\n \"format\": { \"enum\": [\"date-time\", \"uuid\", \"hostname\", \"ipv4\", \"ipv6\"] }\n }\n },\n \"integer_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"integer\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"integer\" } },\n \"const\": { \"type\": \"integer\" },\n \"minimum\": { \"type\": \"integer\" },\n \"maximum\": { \"type\": \"integer\" },\n \"exclusiveMinimum\": { \"type\": \"integer\" },\n \"exclusiveMaximum\": { \"type\": \"integer\" },\n \"multipleOf\": { \"type\": \"integer\", \"exclusiveMinimum\": 0 }\n }\n },\n \"number_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"number\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"number\" } },\n \"const\": { \"type\": \"number\" },\n \"minimum\": { \"type\": \"number\" },\n \"maximum\": { \"type\": \"number\" },\n \"exclusiveMinimum\": { \"type\": \"number\" },\n \"exclusiveMaximum\": { \"type\": \"number\" },\n \"multipleOf\": { \"type\": \"number\", \"exclusiveMinimum\": 0 }\n }\n },\n \"boolean_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"boolean\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"boolean\" }\n }\n },\n \"null_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"null\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"null\" }\n }\n },\n \"one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" }\n }\n }\n }\n }\n}\n";
|
|
37
37
|
}, {
|
|
38
38
|
readonly id: "host-capability-pin-schema";
|
|
39
39
|
readonly path: "spec/plugin/host-capability-pin-v1.schema.json";
|
|
@@ -267,8 +267,8 @@ export declare const generatedRegistryContract: {
|
|
|
267
267
|
readonly id: "contract-registry";
|
|
268
268
|
readonly path: "spec/plugin/contract-registry-v2.json";
|
|
269
269
|
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-v18.schema.json\",\n \"version\": \"compatibility-manifest-v18\",\n \"sha256\": \"48889bd7ddd936b9757a56b1b154244abc6904bd8e55e177e80ae4509d15ce06\"\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\": \"0a653e36d44104f1d16b06ee424648086c146f23c907b176bdf470ae73025485\"\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-v15.yaml\",\n \"version\": \"plugin-platform-v15\",\n \"sha256\": \"2e52294ca38c568df62297b2092f0dea91288c3692903760bf8504821e1809e1\"\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";
|
|
270
|
+
readonly sha256: "996c3108cfbb1a1c319079eeb62534435e4bc433c530a303fcadd317c722c681";
|
|
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-v18.schema.json\",\n \"version\": \"compatibility-manifest-v18\",\n \"sha256\": \"48889bd7ddd936b9757a56b1b154244abc6904bd8e55e177e80ae4509d15ce06\"\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-v15.yaml\",\n \"version\": \"plugin-platform-v15\",\n \"sha256\": \"2e52294ca38c568df62297b2092f0dea91288c3692903760bf8504821e1809e1\"\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";
|
|
272
272
|
};
|
|
273
273
|
export declare const generatedContractRegistry: {
|
|
274
274
|
readonly schema_version: "redevplugin.contract_registry.v2";
|
|
@@ -302,7 +302,7 @@ export declare const generatedContractRegistry: {
|
|
|
302
302
|
readonly id: "host-capability-contract-schema";
|
|
303
303
|
readonly path: "spec/plugin/host-capability-contract-v1.schema.json";
|
|
304
304
|
readonly version: "host-capability-contract-v1";
|
|
305
|
-
readonly sha256: "
|
|
305
|
+
readonly sha256: "4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4";
|
|
306
306
|
}, {
|
|
307
307
|
readonly id: "host-capability-pin-schema";
|
|
308
308
|
readonly path: "spec/plugin/host-capability-pin-v1.schema.json";
|
|
@@ -497,28 +497,28 @@ export declare const generatedContractRegistry: {
|
|
|
497
497
|
};
|
|
498
498
|
export declare const generatedPackageSet: {
|
|
499
499
|
readonly schema_version: "redevplugin.platform_package_set.v3";
|
|
500
|
-
readonly platform_version: "1.1.
|
|
500
|
+
readonly platform_version: "1.1.3";
|
|
501
501
|
readonly go_module: {
|
|
502
502
|
readonly module: "github.com/floegence/redevplugin";
|
|
503
|
-
readonly version: "v1.1.
|
|
503
|
+
readonly version: "v1.1.3";
|
|
504
504
|
};
|
|
505
505
|
readonly npm_packages: readonly [{
|
|
506
506
|
readonly name: "@floegence/redevplugin-contracts";
|
|
507
|
-
readonly version: "1.1.
|
|
507
|
+
readonly version: "1.1.3";
|
|
508
508
|
}, {
|
|
509
509
|
readonly name: "@floegence/redevplugin-ui";
|
|
510
|
-
readonly version: "1.1.
|
|
510
|
+
readonly version: "1.1.3";
|
|
511
511
|
}];
|
|
512
512
|
readonly rust_crates: readonly [{
|
|
513
513
|
readonly name: "redevplugin-runtime";
|
|
514
|
-
readonly version: "1.1.
|
|
514
|
+
readonly version: "1.1.3";
|
|
515
515
|
readonly role: "runtime";
|
|
516
516
|
}, {
|
|
517
517
|
readonly name: "redevplugin-worker-sdk";
|
|
518
|
-
readonly version: "1.1.
|
|
518
|
+
readonly version: "1.1.3";
|
|
519
519
|
readonly role: "worker_sdk";
|
|
520
520
|
}];
|
|
521
521
|
readonly contract_registry_version: "contract-registry-v2";
|
|
522
|
-
readonly contract_set_sha256: "
|
|
522
|
+
readonly contract_set_sha256: "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a";
|
|
523
523
|
};
|
|
524
|
-
export declare const generatedContractSetSHA256: "
|
|
524
|
+
export declare const generatedContractSetSHA256: "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a";
|
package/dist/contracts.gen.js
CHANGED
|
@@ -39,8 +39,8 @@ export const generatedContractArtifacts = [
|
|
|
39
39
|
"id": "host-capability-contract-schema",
|
|
40
40
|
"path": "spec/plugin/host-capability-contract-v1.schema.json",
|
|
41
41
|
"version": "host-capability-contract-v1",
|
|
42
|
-
"sha256": "
|
|
43
|
-
"body": "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/host-capability-contract-v1.schema.json\",\n \"title\": \"ReDevPlugin host capability contract v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"schema_version\",\n \"contract_id\",\n \"contract_version\",\n \"publisher_id\",\n \"capability_id\",\n \"capability_version\",\n \"client_name\",\n \"methods\"\n ],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.host_capability_contract.v1\" },\n \"contract_id\": { \"$ref\": \"#/$defs/id\" },\n \"contract_version\": { \"$ref\": \"#/$defs/semver\" },\n \"publisher_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_version\": { \"$ref\": \"#/$defs/semver\" },\n \"client_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"methods\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method\" }\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/business_error\" }\n }\n },\n \"$defs\": {\n \"id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._-]*$\" },\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 \"typescript_declaration_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": {\n \"enum\": [\n \"PluginBridgeClient\", \"PluginBridgeError\", \"PluginBridgeRequestOptions\", \"PluginOperation\", \"PluginStream\",\n \"abstract\", \"accessor\", \"any\", \"as\", \"assert\", \"asserts\", \"async\", \"await\", \"bigint\", \"boolean\",\n \"break\", \"case\", \"catch\", \"class\", \"const\", \"continue\", \"debugger\", \"declare\", \"default\", \"delete\",\n \"do\", \"else\", \"enum\", \"export\", \"extends\", \"false\", \"finally\", \"for\", \"from\", \"function\", \"get\",\n \"if\", \"implements\", \"import\", \"in\", \"infer\", \"instanceof\", \"interface\", \"intrinsic\", \"is\", \"keyof\",\n \"let\", \"module\", \"namespace\", \"never\", \"new\", \"null\", \"number\", \"object\", \"of\", \"out\", \"override\",\n \"package\", \"private\", \"protected\", \"public\", \"readonly\", \"require\", \"return\", \"satisfies\", \"set\", \"static\",\n \"string\", \"super\", \"switch\", \"symbol\", \"this\", \"throw\", \"true\", \"try\", \"type\", \"typeof\", \"undefined\",\n \"unique\", \"unknown\", \"using\", \"var\", \"void\", \"while\", \"with\", \"yield\",\n \"callCapabilityOperation\", \"callCapabilityStream\", \"callCapabilitySync\", \"decodePluginStreamText\",\n \"isCapabilityBusinessError\"\n ]\n }\n },\n \"typescript_member_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": { \"const\": \"constructor\" }\n },\n \"string_set\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"pattern\": \"^\\\\S+$\" }\n },\n \"method\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\",\n \"client_method\",\n \"effect\",\n \"execution\",\n \"target_fields\",\n \"target_schema\",\n \"request_type_name\",\n \"response_type_name\",\n \"request_schema\",\n \"response_schema\",\n \"quota\"\n ],\n \"properties\": {\n \"name\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"client_method\": { \"$ref\": \"#/$defs/typescript_member_identifier\" },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"preflight_only\": { \"type\": \"boolean\" },\n \"required_permissions\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"request_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"response_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"request_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"response_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"event_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"event_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"confirmation\": { \"$ref\": \"#/$defs/confirmation\" },\n \"cancel_policy\": { \"$ref\": \"#/$defs/cancel_policy\" },\n \"quota\": { \"$ref\": \"#/$defs/quota\" }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"event_type_name\", \"event_schema\", \"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": {\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"event_type_name\"] },\n { \"required\": [\"event_schema\"] },\n { \"required\": [\"cancel_policy\"] }\n ]\n }\n }\n }\n ]\n },\n \"confirmation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"mode\"],\n \"properties\": {\n \"mode\": { \"enum\": [\"required\", \"risk_based\"] },\n \"preflight_method\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"request_hash_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"plan_hash_required\": { \"type\": \"boolean\" }\n }\n },\n \"cancel_policy\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"cancelable\", \"disable_behavior\", \"uninstall_behavior\"],\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 },\n \"quota\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"max_concurrent\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_duration_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_stream_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"business_error\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"code\", \"message\"],\n \"properties\": {\n \"code\": { \"type\": \"string\", \"pattern\": \"^[A-Z][A-Z0-9_]*$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"details_schema\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n },\n \"restricted_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/array_schema\" },\n { \"$ref\": \"#/$defs/string_schema\" },\n { \"$ref\": \"#/$defs/integer_schema\" },\n { \"$ref\": \"#/$defs/number_schema\" },\n { \"$ref\": \"#/$defs/boolean_schema\" },\n { \"$ref\": \"#/$defs/null_schema\" },\n { \"$ref\": \"#/$defs/one_of_schema\" }\n ]\n },\n \"object_value_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/object_one_of_schema\" }\n ]\n },\n \"object_one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n }\n },\n \"object_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"properties\": {\n \"type\": \"object\",\n \"propertyNames\": { \"not\": { \"enum\": [\"__proto__\", \"constructor\", \"prototype\"] } },\n \"additionalProperties\": { \"$ref\": \"#/$defs/restricted_schema\" }\n },\n \"required\": { \"$ref\": \"#/$defs/string_set\" },\n \"additionalProperties\": { \"const\": false },\n \"minProperties\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxProperties\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"array_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"items\"],\n \"properties\": {\n \"type\": { \"const\": \"array\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"minItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"uniqueItems\": { \"type\": \"boolean\" }\n }\n },\n \"string_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"string\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"string\" } },\n \"const\": { \"type\": \"string\" },\n \"minLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pattern\": { \"type\": \"string\" },\n \"format\": { \"enum\": [\"date-time\", \"uuid\", \"hostname\", \"ipv4\", \"ipv6\"] }\n }\n },\n \"integer_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"integer\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"integer\" } },\n \"const\": { \"type\": \"integer\" },\n \"minimum\": { \"type\": \"integer\" },\n \"maximum\": { \"type\": \"integer\" },\n \"exclusiveMinimum\": { \"type\": \"integer\" },\n \"exclusiveMaximum\": { \"type\": \"integer\" },\n \"multipleOf\": { \"type\": \"integer\", \"exclusiveMinimum\": 0 }\n }\n },\n \"number_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"number\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"number\" } },\n \"const\": { \"type\": \"number\" },\n \"minimum\": { \"type\": \"number\" },\n \"maximum\": { \"type\": \"number\" },\n \"exclusiveMinimum\": { \"type\": \"number\" },\n \"exclusiveMaximum\": { \"type\": \"number\" },\n \"multipleOf\": { \"type\": \"number\", \"exclusiveMinimum\": 0 }\n }\n },\n \"boolean_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"boolean\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"boolean\" }\n }\n },\n \"null_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"null\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"null\" }\n }\n },\n \"one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" }\n }\n }\n }\n }\n}\n"
|
|
42
|
+
"sha256": "4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4",
|
|
43
|
+
"body": "{\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"$id\": \"https://schemas.redevplugin.dev/plugin/host-capability-contract-v1.schema.json\",\n \"title\": \"ReDevPlugin host capability contract v1\",\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"schema_version\",\n \"contract_id\",\n \"contract_version\",\n \"publisher_id\",\n \"capability_id\",\n \"capability_version\",\n \"client_name\",\n \"methods\"\n ],\n \"properties\": {\n \"schema_version\": { \"const\": \"redevplugin.host_capability_contract.v1\" },\n \"contract_id\": { \"$ref\": \"#/$defs/id\" },\n \"contract_version\": { \"$ref\": \"#/$defs/semver\" },\n \"publisher_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_id\": { \"$ref\": \"#/$defs/id\" },\n \"capability_version\": { \"$ref\": \"#/$defs/semver\" },\n \"client_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"methods\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#/$defs/method\" }\n },\n \"errors\": {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/$defs/business_error\" }\n }\n },\n \"$defs\": {\n \"id\": { \"type\": \"string\", \"pattern\": \"^[A-Za-z0-9][A-Za-z0-9._-]*$\" },\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 \"typescript_declaration_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": {\n \"enum\": [\n \"PluginBridgeClient\", \"PluginBridgeError\", \"PluginBridgeRequestOptions\", \"PluginExecution\", \"PluginStream\",\n \"abstract\", \"accessor\", \"any\", \"as\", \"assert\", \"asserts\", \"async\", \"await\", \"bigint\", \"boolean\",\n \"break\", \"case\", \"catch\", \"class\", \"const\", \"continue\", \"debugger\", \"declare\", \"default\", \"delete\",\n \"do\", \"else\", \"enum\", \"export\", \"extends\", \"false\", \"finally\", \"for\", \"from\", \"function\", \"get\",\n \"if\", \"implements\", \"import\", \"in\", \"infer\", \"instanceof\", \"interface\", \"intrinsic\", \"is\", \"keyof\",\n \"let\", \"module\", \"namespace\", \"never\", \"new\", \"null\", \"number\", \"object\", \"of\", \"out\", \"override\",\n \"package\", \"private\", \"protected\", \"public\", \"readonly\", \"require\", \"return\", \"satisfies\", \"set\", \"static\",\n \"string\", \"super\", \"switch\", \"symbol\", \"this\", \"throw\", \"true\", \"try\", \"type\", \"typeof\", \"undefined\",\n \"unique\", \"unknown\", \"using\", \"var\", \"void\", \"while\", \"with\", \"yield\",\n \"callCapabilityOperation\", \"callCapabilityStream\", \"callCapabilitySync\", \"decodePluginStreamText\",\n \"isCapabilityBusinessError\"\n ]\n }\n },\n \"typescript_member_identifier\": {\n \"type\": \"string\",\n \"pattern\": \"^[A-Za-z_$][A-Za-z0-9_$]*$\",\n \"not\": { \"const\": \"constructor\" }\n },\n \"string_set\": {\n \"type\": \"array\",\n \"uniqueItems\": true,\n \"items\": { \"type\": \"string\", \"minLength\": 1, \"pattern\": \"^\\\\S+$\" }\n },\n \"method\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\",\n \"client_method\",\n \"effect\",\n \"execution\",\n \"target_fields\",\n \"target_schema\",\n \"request_type_name\",\n \"response_type_name\",\n \"request_schema\",\n \"response_schema\",\n \"quota\"\n ],\n \"properties\": {\n \"name\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"client_method\": { \"$ref\": \"#/$defs/typescript_member_identifier\" },\n \"effect\": { \"enum\": [\"read\", \"write\", \"execute\", \"delete\", \"admin\"] },\n \"execution\": { \"enum\": [\"sync\", \"operation\", \"subscription\"] },\n \"preflight_only\": { \"type\": \"boolean\" },\n \"required_permissions\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"target_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"request_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"response_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"request_schema\": { \"$ref\": \"#/$defs/object_value_schema\" },\n \"response_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"event_type_name\": { \"$ref\": \"#/$defs/typescript_declaration_identifier\" },\n \"event_schema\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"confirmation\": { \"$ref\": \"#/$defs/confirmation\" },\n \"cancel_policy\": { \"$ref\": \"#/$defs/cancel_policy\" },\n \"quota\": { \"$ref\": \"#/$defs/quota\" }\n },\n \"allOf\": [\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"subscription\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"event_type_name\", \"event_schema\", \"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"operation\" } }, \"required\": [\"execution\"] },\n \"then\": { \"required\": [\"cancel_policy\"] }\n },\n {\n \"if\": { \"properties\": { \"execution\": { \"const\": \"sync\" } }, \"required\": [\"execution\"] },\n \"then\": {\n \"not\": {\n \"anyOf\": [\n { \"required\": [\"event_type_name\"] },\n { \"required\": [\"event_schema\"] },\n { \"required\": [\"cancel_policy\"] }\n ]\n }\n }\n }\n ]\n },\n \"confirmation\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"mode\"],\n \"properties\": {\n \"mode\": { \"enum\": [\"required\", \"risk_based\"] },\n \"preflight_method\": { \"type\": \"string\", \"pattern\": \"^[a-z][a-z0-9]*(\\\\.[a-z][a-z0-9_]*)+$\" },\n \"request_hash_fields\": { \"$ref\": \"#/$defs/string_set\" },\n \"plan_hash_required\": { \"type\": \"boolean\" }\n }\n },\n \"cancel_policy\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"cancelable\", \"disable_behavior\", \"uninstall_behavior\"],\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 },\n \"quota\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"max_concurrent\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_duration_ms\": { \"type\": \"integer\", \"minimum\": 0 },\n \"max_stream_bytes\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"business_error\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"code\", \"message\"],\n \"properties\": {\n \"code\": { \"type\": \"string\", \"pattern\": \"^[A-Z][A-Z0-9_]*$\" },\n \"message\": { \"type\": \"string\", \"minLength\": 1 },\n \"details_schema\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n },\n \"restricted_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/array_schema\" },\n { \"$ref\": \"#/$defs/string_schema\" },\n { \"$ref\": \"#/$defs/integer_schema\" },\n { \"$ref\": \"#/$defs/number_schema\" },\n { \"$ref\": \"#/$defs/boolean_schema\" },\n { \"$ref\": \"#/$defs/null_schema\" },\n { \"$ref\": \"#/$defs/one_of_schema\" }\n ]\n },\n \"object_value_schema\": {\n \"oneOf\": [\n { \"$ref\": \"#/$defs/object_schema\" },\n { \"$ref\": \"#/$defs/object_one_of_schema\" }\n ]\n },\n \"object_one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/object_value_schema\" }\n }\n }\n },\n \"object_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"additionalProperties\"],\n \"properties\": {\n \"type\": { \"const\": \"object\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"properties\": {\n \"type\": \"object\",\n \"propertyNames\": { \"not\": { \"enum\": [\"__proto__\", \"constructor\", \"prototype\"] } },\n \"additionalProperties\": { \"$ref\": \"#/$defs/restricted_schema\" }\n },\n \"required\": { \"$ref\": \"#/$defs/string_set\" },\n \"additionalProperties\": { \"const\": false },\n \"minProperties\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxProperties\": { \"type\": \"integer\", \"minimum\": 0 }\n }\n },\n \"array_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\", \"items\"],\n \"properties\": {\n \"type\": { \"const\": \"array\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" },\n \"minItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxItems\": { \"type\": \"integer\", \"minimum\": 0 },\n \"uniqueItems\": { \"type\": \"boolean\" }\n }\n },\n \"string_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"string\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"string\" } },\n \"const\": { \"type\": \"string\" },\n \"minLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"maxLength\": { \"type\": \"integer\", \"minimum\": 0 },\n \"pattern\": { \"type\": \"string\" },\n \"format\": { \"enum\": [\"date-time\", \"uuid\", \"hostname\", \"ipv4\", \"ipv6\"] }\n }\n },\n \"integer_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"integer\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"integer\" } },\n \"const\": { \"type\": \"integer\" },\n \"minimum\": { \"type\": \"integer\" },\n \"maximum\": { \"type\": \"integer\" },\n \"exclusiveMinimum\": { \"type\": \"integer\" },\n \"exclusiveMaximum\": { \"type\": \"integer\" },\n \"multipleOf\": { \"type\": \"integer\", \"exclusiveMinimum\": 0 }\n }\n },\n \"number_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"number\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"enum\": { \"type\": \"array\", \"minItems\": 1, \"uniqueItems\": true, \"items\": { \"type\": \"number\" } },\n \"const\": { \"type\": \"number\" },\n \"minimum\": { \"type\": \"number\" },\n \"maximum\": { \"type\": \"number\" },\n \"exclusiveMinimum\": { \"type\": \"number\" },\n \"exclusiveMaximum\": { \"type\": \"number\" },\n \"multipleOf\": { \"type\": \"number\", \"exclusiveMinimum\": 0 }\n }\n },\n \"boolean_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"boolean\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"boolean\" }\n }\n },\n \"null_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"type\"],\n \"properties\": {\n \"type\": { \"const\": \"null\" },\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"const\": { \"type\": \"null\" }\n }\n },\n \"one_of_schema\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\"oneOf\"],\n \"properties\": {\n \"title\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"oneOf\": {\n \"type\": \"array\",\n \"minItems\": 2,\n \"maxItems\": 8,\n \"items\": { \"$ref\": \"#/$defs/restricted_schema\" }\n }\n }\n }\n }\n}\n"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"id": "host-capability-pin-schema",
|
|
@@ -313,8 +313,8 @@ export const generatedRegistryContract = {
|
|
|
313
313
|
"id": "contract-registry",
|
|
314
314
|
"path": "spec/plugin/contract-registry-v2.json",
|
|
315
315
|
"version": "contract-registry-v2",
|
|
316
|
-
"sha256": "
|
|
317
|
-
"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-v18.schema.json\",\n \"version\": \"compatibility-manifest-v18\",\n \"sha256\": \"48889bd7ddd936b9757a56b1b154244abc6904bd8e55e177e80ae4509d15ce06\"\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\": \"0a653e36d44104f1d16b06ee424648086c146f23c907b176bdf470ae73025485\"\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-v15.yaml\",\n \"version\": \"plugin-platform-v15\",\n \"sha256\": \"2e52294ca38c568df62297b2092f0dea91288c3692903760bf8504821e1809e1\"\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"
|
|
316
|
+
"sha256": "996c3108cfbb1a1c319079eeb62534435e4bc433c530a303fcadd317c722c681",
|
|
317
|
+
"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-v18.schema.json\",\n \"version\": \"compatibility-manifest-v18\",\n \"sha256\": \"48889bd7ddd936b9757a56b1b154244abc6904bd8e55e177e80ae4509d15ce06\"\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-v15.yaml\",\n \"version\": \"plugin-platform-v15\",\n \"sha256\": \"2e52294ca38c568df62297b2092f0dea91288c3692903760bf8504821e1809e1\"\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"
|
|
318
318
|
};
|
|
319
319
|
export const generatedContractRegistry = {
|
|
320
320
|
"schema_version": "redevplugin.contract_registry.v2",
|
|
@@ -354,7 +354,7 @@ export const generatedContractRegistry = {
|
|
|
354
354
|
"id": "host-capability-contract-schema",
|
|
355
355
|
"path": "spec/plugin/host-capability-contract-v1.schema.json",
|
|
356
356
|
"version": "host-capability-contract-v1",
|
|
357
|
-
"sha256": "
|
|
357
|
+
"sha256": "4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4"
|
|
358
358
|
},
|
|
359
359
|
{
|
|
360
360
|
"id": "host-capability-pin-schema",
|
|
@@ -588,34 +588,34 @@ export const generatedContractRegistry = {
|
|
|
588
588
|
};
|
|
589
589
|
export const generatedPackageSet = {
|
|
590
590
|
"schema_version": "redevplugin.platform_package_set.v3",
|
|
591
|
-
"platform_version": "1.1.
|
|
591
|
+
"platform_version": "1.1.3",
|
|
592
592
|
"go_module": {
|
|
593
593
|
"module": "github.com/floegence/redevplugin",
|
|
594
|
-
"version": "v1.1.
|
|
594
|
+
"version": "v1.1.3"
|
|
595
595
|
},
|
|
596
596
|
"npm_packages": [
|
|
597
597
|
{
|
|
598
598
|
"name": "@floegence/redevplugin-contracts",
|
|
599
|
-
"version": "1.1.
|
|
599
|
+
"version": "1.1.3"
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
602
|
"name": "@floegence/redevplugin-ui",
|
|
603
|
-
"version": "1.1.
|
|
603
|
+
"version": "1.1.3"
|
|
604
604
|
}
|
|
605
605
|
],
|
|
606
606
|
"rust_crates": [
|
|
607
607
|
{
|
|
608
608
|
"name": "redevplugin-runtime",
|
|
609
|
-
"version": "1.1.
|
|
609
|
+
"version": "1.1.3",
|
|
610
610
|
"role": "runtime"
|
|
611
611
|
},
|
|
612
612
|
{
|
|
613
613
|
"name": "redevplugin-worker-sdk",
|
|
614
|
-
"version": "1.1.
|
|
614
|
+
"version": "1.1.3",
|
|
615
615
|
"role": "worker_sdk"
|
|
616
616
|
}
|
|
617
617
|
],
|
|
618
618
|
"contract_registry_version": "contract-registry-v2",
|
|
619
|
-
"contract_set_sha256": "
|
|
619
|
+
"contract_set_sha256": "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a"
|
|
620
620
|
};
|
|
621
|
-
export const generatedContractSetSHA256 = "
|
|
621
|
+
export const generatedContractSetSHA256 = "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a";
|
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export declare const contractRegistry: {
|
|
|
47
47
|
readonly id: "host-capability-contract-schema";
|
|
48
48
|
readonly path: "spec/plugin/host-capability-contract-v1.schema.json";
|
|
49
49
|
readonly version: "host-capability-contract-v1";
|
|
50
|
-
readonly sha256: "
|
|
50
|
+
readonly sha256: "4816f59ac0819d02fb05ddd48f2ac12a2d2103a8e15d5257ca8b7d5188ab21a4";
|
|
51
51
|
}, {
|
|
52
52
|
readonly id: "host-capability-pin-schema";
|
|
53
53
|
readonly path: "spec/plugin/host-capability-pin-v1.schema.json";
|
|
@@ -242,29 +242,29 @@ export declare const contractRegistry: {
|
|
|
242
242
|
};
|
|
243
243
|
export declare const packageSet: {
|
|
244
244
|
readonly schema_version: "redevplugin.platform_package_set.v3";
|
|
245
|
-
readonly platform_version: "1.1.
|
|
245
|
+
readonly platform_version: "1.1.3";
|
|
246
246
|
readonly go_module: {
|
|
247
247
|
readonly module: "github.com/floegence/redevplugin";
|
|
248
|
-
readonly version: "v1.1.
|
|
248
|
+
readonly version: "v1.1.3";
|
|
249
249
|
};
|
|
250
250
|
readonly npm_packages: readonly [{
|
|
251
251
|
readonly name: "@floegence/redevplugin-contracts";
|
|
252
|
-
readonly version: "1.1.
|
|
252
|
+
readonly version: "1.1.3";
|
|
253
253
|
}, {
|
|
254
254
|
readonly name: "@floegence/redevplugin-ui";
|
|
255
|
-
readonly version: "1.1.
|
|
255
|
+
readonly version: "1.1.3";
|
|
256
256
|
}];
|
|
257
257
|
readonly rust_crates: readonly [{
|
|
258
258
|
readonly name: "redevplugin-runtime";
|
|
259
|
-
readonly version: "1.1.
|
|
259
|
+
readonly version: "1.1.3";
|
|
260
260
|
readonly role: "runtime";
|
|
261
261
|
}, {
|
|
262
262
|
readonly name: "redevplugin-worker-sdk";
|
|
263
|
-
readonly version: "1.1.
|
|
263
|
+
readonly version: "1.1.3";
|
|
264
264
|
readonly role: "worker_sdk";
|
|
265
265
|
}];
|
|
266
266
|
readonly contract_registry_version: "contract-registry-v2";
|
|
267
|
-
readonly contract_set_sha256: "
|
|
267
|
+
readonly contract_set_sha256: "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a";
|
|
268
268
|
};
|
|
269
|
-
export declare const contractSetSHA256: "
|
|
269
|
+
export declare const contractSetSHA256: "66902d15b794f9f5c49299c1112d0648394df66f417a78254a91d1b999f43a0a";
|
|
270
270
|
export declare function getContract(id: ContractID): Contract;
|