@floegence/redevplugin-ui 0.4.3 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import type { PluginBridgeClient, PluginBridgeRequestOptions, PluginJSONObject } from "./surface.js";
2
+ export type PluginBridgeCapabilityEffect = "read" | "write" | "execute" | "delete" | "admin";
3
+ export declare const pluginBridgeCapabilityEffect: unique symbol;
4
+ export type PluginBridgeCapabilityRequestOptions = PluginBridgeRequestOptions & {
5
+ [pluginBridgeCapabilityEffect]: PluginBridgeCapabilityEffect;
6
+ };
7
+ export declare function callPluginBridgeCapability<T>(bridge: PluginBridgeClient, method: string, params: PluginJSONObject | undefined, effect: PluginBridgeCapabilityEffect, options?: PluginBridgeRequestOptions): Promise<T>;
@@ -0,0 +1,8 @@
1
+ export const pluginBridgeCapabilityEffect = Symbol("redevplugin.capability.effect");
2
+ export function callPluginBridgeCapability(bridge, method, params, effect, options = {}) {
3
+ const capabilityOptions = {
4
+ signal: options.signal,
5
+ [pluginBridgeCapabilityEffect]: effect,
6
+ };
7
+ return bridge.call(method, params, capabilityOptions);
8
+ }
@@ -1,6 +1,25 @@
1
1
  import { PluginBridgeError } from "./errors.js";
2
- import type { PluginBridgeClient, PluginJSONObject, PluginStreamEvent as PluginRawStreamEvent, PluginStreamTerminalStatus } from "./surface.js";
2
+ import type { PluginBridgeClient, PluginBridgeRequestOptions, PluginJSONObject, PluginStreamEvent as PluginRawStreamEvent, PluginStreamTerminalStatus } from "./surface.js";
3
3
  export type PluginCapabilitySchema = Readonly<Record<string, unknown>>;
4
+ export type PluginCapabilityEffect = "read" | "write" | "execute" | "delete" | "admin";
5
+ type PluginCapabilityMethodContract = {
6
+ method: string;
7
+ effect: PluginCapabilityEffect;
8
+ requestSchema: PluginCapabilitySchema;
9
+ responseSchema: PluginCapabilitySchema;
10
+ };
11
+ export type PluginCapabilitySyncContract = PluginCapabilityMethodContract & {
12
+ execution: "sync";
13
+ };
14
+ export type PluginCapabilityOperationContract<Cancelable extends boolean = boolean> = PluginCapabilityMethodContract & {
15
+ execution: "operation";
16
+ cancelable: Cancelable;
17
+ };
18
+ export type PluginCapabilityStreamContract = PluginCapabilityMethodContract & {
19
+ execution: "subscription";
20
+ eventTypeName: string;
21
+ eventSchema: PluginCapabilitySchema;
22
+ };
4
23
  export type PluginCapabilityBusinessErrorSpec = {
5
24
  detail_schema_sha256: string;
6
25
  schema: PluginCapabilitySchema | null;
@@ -9,7 +28,7 @@ export type PluginOperation<T, Cancelable extends boolean = true> = {
9
28
  data: T;
10
29
  operation_id: string;
11
30
  } & (Cancelable extends true ? {
12
- cancel(reason?: string): Promise<void>;
31
+ cancel(reason?: string, options?: PluginBridgeRequestOptions): Promise<void>;
13
32
  } : Record<never, never>);
14
33
  export type PluginCapabilityStreamEvent<Event> = Omit<PluginRawStreamEvent, "data" | "error"> & {
15
34
  data: Event;
@@ -28,13 +47,14 @@ export type PluginStream<Initial, Event> = {
28
47
  data: Initial;
29
48
  operation_id: string;
30
49
  stream_handle: string;
31
- read(): Promise<PluginCapabilityStreamReadResult<Event>>;
32
- cancel(reason?: string): Promise<void>;
50
+ read(options?: PluginBridgeRequestOptions): Promise<PluginCapabilityStreamReadResult<Event>>;
51
+ cancel(reason?: string, options?: PluginBridgeRequestOptions): Promise<void>;
33
52
  [Symbol.asyncIterator](): AsyncIterableIterator<PluginCapabilityStreamEvent<Event>>;
34
53
  };
35
- export declare function callCapabilitySync<Request extends object, Response>(bridge: PluginBridgeClient, method: string, request: Request, requestSchema: PluginCapabilitySchema, responseSchema: PluginCapabilitySchema): Promise<Response>;
36
- export declare function callCapabilityOperation<Request extends object, Response, Cancelable extends boolean = true>(bridge: PluginBridgeClient, method: string, request: Request, requestSchema: PluginCapabilitySchema, responseSchema: PluginCapabilitySchema, cancelable?: Cancelable): Promise<PluginOperation<Response, Cancelable>>;
37
- export declare function callCapabilityStream<Request extends object, Response, Event>(bridge: PluginBridgeClient, method: string, request: Request, requestSchema: PluginCapabilitySchema, responseSchema: PluginCapabilitySchema, eventTypeName: string, eventSchema: PluginCapabilitySchema): Promise<PluginStream<Response, Event>>;
54
+ export declare function callCapabilitySync<Request extends object, Response>(bridge: PluginBridgeClient, contract: PluginCapabilitySyncContract, request: Request, options?: PluginBridgeRequestOptions): Promise<Response>;
55
+ export declare function callCapabilityOperation<Request extends object, Response, Cancelable extends boolean = true>(bridge: PluginBridgeClient, contract: PluginCapabilityOperationContract<Cancelable>, request: Request, options?: PluginBridgeRequestOptions): Promise<PluginOperation<Response, Cancelable>>;
56
+ export declare function callCapabilityStream<Request extends object, Response, Event>(bridge: PluginBridgeClient, contract: PluginCapabilityStreamContract, request: Request, options?: PluginBridgeRequestOptions): Promise<PluginStream<Response, Event>>;
38
57
  export declare function isCapabilityBusinessError(error: unknown, capabilityID: string, capabilityVersion: string, detailSchemas: Readonly<Record<string, PluginCapabilityBusinessErrorSpec>>): error is PluginBridgeError & {
39
58
  readonly details: PluginJSONObject;
40
59
  };
60
+ export {};
@@ -1,55 +1,61 @@
1
1
  import { PluginBridgeError } from "./errors.js";
2
+ import { callPluginBridgeCapability } from "./bridge-capability.js";
2
3
  import { decodePluginStreamText } from "./surface.js";
3
- export async function callCapabilitySync(bridge, method, request, requestSchema, responseSchema) {
4
- const params = validateRequest(request, requestSchema);
5
- const result = parseSyncResult(method, await bridge.call(method, params));
6
- return validateResponse(method, result.data, responseSchema);
7
- }
8
- export async function callCapabilityOperation(bridge, method, request, requestSchema, responseSchema, cancelable = true) {
9
- const params = validateRequest(request, requestSchema);
10
- const result = parseOperationResult(method, await bridge.call(method, params));
4
+ export async function callCapabilitySync(bridge, contract, request, options = {}) {
5
+ const params = validateRequest(request, contract.requestSchema);
6
+ const result = parseSyncResult(contract.method, await callPluginBridgeCapability(bridge, contract.method, params, contract.effect, options));
7
+ return validateResponse(contract.method, result.data, contract.responseSchema);
8
+ }
9
+ export async function callCapabilityOperation(bridge, contract, request, options = {}) {
10
+ const params = validateRequest(request, contract.requestSchema);
11
+ const result = parseOperationResult(contract.method, await callPluginBridgeCapability(bridge, contract.method, params, contract.effect, options));
11
12
  let data;
12
13
  try {
13
- data = validateResponse(method, result.data, responseSchema);
14
+ data = validateResponse(contract.method, result.data, contract.responseSchema);
14
15
  }
15
16
  catch (error) {
16
- if (cancelable)
17
+ if (contract.cancelable)
17
18
  await cancelAfterResponseMismatch(bridge, result.operation_id, error);
18
19
  throw error;
19
20
  }
20
21
  return Object.freeze({
21
22
  data: data,
22
23
  operation_id: result.operation_id,
23
- ...(cancelable ? { cancel: (reason) => bridge.cancelOperation(result.operation_id, reason) } : {}),
24
+ ...(contract.cancelable ? {
25
+ cancel: (reason, cancelOptions) => bridge.cancelOperation(result.operation_id, reason, cancelOptions),
26
+ } : {}),
24
27
  });
25
28
  }
26
- export async function callCapabilityStream(bridge, method, request, requestSchema, responseSchema, eventTypeName, eventSchema) {
27
- const params = validateRequest(request, requestSchema);
28
- const result = parseStreamResult(method, await bridge.call(method, params));
29
+ export async function callCapabilityStream(bridge, contract, request, options = {}) {
30
+ const params = validateRequest(request, contract.requestSchema);
31
+ const result = parseStreamResult(contract.method, await callPluginBridgeCapability(bridge, contract.method, params, contract.effect, options));
29
32
  let data;
30
33
  try {
31
- data = validateResponse(method, result.data, responseSchema);
34
+ data = validateResponse(contract.method, result.data, contract.responseSchema);
32
35
  }
33
36
  catch (error) {
34
37
  await cancelAfterResponseMismatch(bridge, result.operation_id, error);
35
38
  }
36
39
  let settled = false;
37
- const read = async () => {
40
+ const read = async (options = {}) => {
38
41
  try {
39
- const batch = decodeCapabilityStreamBatch(method, await bridge.readStream(result.stream_handle), eventTypeName, eventSchema);
42
+ const batch = decodeCapabilityStreamBatch(contract.method, await bridge.readStream(result.stream_handle, options), contract.eventTypeName, contract.eventSchema);
40
43
  if (batch.done)
41
44
  settled = true;
42
45
  return batch;
43
46
  }
44
47
  catch (error) {
48
+ if (options.signal?.aborted && error instanceof PluginBridgeError && error.errorCode === "PLUGIN_STREAM_CANCELLED") {
49
+ throw error;
50
+ }
45
51
  settled = true;
46
52
  return cancelAfterStreamMismatch(bridge, result.operation_id, error);
47
53
  }
48
54
  };
49
- const cancel = async (reason) => {
55
+ const cancel = async (reason, cancelOptions = {}) => {
50
56
  if (settled)
51
57
  return;
52
- await bridge.cancelOperation(result.operation_id, reason);
58
+ await bridge.cancelOperation(result.operation_id, reason, cancelOptions);
53
59
  settled = true;
54
60
  };
55
61
  return Object.freeze({
@@ -1,36 +1,60 @@
1
- export declare const pluginUIProtocolVersion: "plugin-ui-v3";
2
- export declare const pluginHostProtocolVersion: "plugin-host-v2";
3
- export declare const bridgeSchemaVersion: "bridge-v3";
4
- export declare const tokenTicketSchemaVersion: "token-ticket-v2";
1
+ export declare const pluginUIProtocolVersion: "plugin-ui-v5";
2
+ export declare const pluginHostProtocolVersion: "plugin-host-v6";
3
+ export declare const bridgeSchemaVersion: "bridge-v5";
4
+ export declare const tokenTicketSchemaVersion: "token-ticket-v4";
5
5
  export declare const redevPluginContractVersions: {
6
- readonly plugin_ui_protocol_version: "plugin-ui-v3";
7
- readonly plugin_host_protocol_version: "plugin-host-v2";
8
- readonly rust_ipc_version: "rust-ipc-v2";
6
+ readonly plugin_ui_protocol_version: "plugin-ui-v5";
7
+ readonly plugin_host_protocol_version: "plugin-host-v6";
8
+ readonly rust_ipc_version: "rust-ipc-v6";
9
9
  readonly wasm_abi_version: "redevplugin-wasm-worker-v2";
10
- readonly manifest_schema_version: "manifest-v3";
10
+ readonly manifest_schema_version: "manifest-v5";
11
11
  readonly package_signature_schema_version: "package-signature-v1";
12
- readonly release_metadata_schema_version: "release-metadata-v3";
13
- readonly source_policy_schema_version: "source-policy-v1";
14
- readonly source_revocations_schema_version: "source-revocations-v1";
15
- readonly token_ticket_schema_version: "token-ticket-v2";
16
- readonly bridge_schema_version: "bridge-v3";
17
- readonly opaque_surface_document_schema_version: "opaque-surface-document-v2";
18
- readonly opaque_surface_transport_schema_version: "opaque-surface-transport-v2";
19
- readonly target_classifier_version: "target-classifier-v1";
20
- readonly network_grant_schema_version: "network-grant-v1";
21
- readonly plugin_platform_openapi_version: "plugin-platform-v3";
22
- readonly compatibility_manifest_version: "redevplugin.compatibility.v3";
23
- readonly compatibility_schema_version: "compatibility-manifest-v3";
24
- readonly release_manifest_schema_version: "release-manifest-v3";
25
- readonly worker_invocation_schema_version: "worker-invocation-v2";
12
+ readonly release_metadata_schema_version: "release-metadata-v5";
13
+ readonly release_root_delegation_schema_version: "release-root-delegation-v1";
14
+ readonly release_source_policy_schema_version: "release-source-policy-v2";
15
+ readonly release_source_policy_pointer_schema_version: "release-source-policy-pointer-v1";
16
+ readonly release_revocation_schema_version: "release-revocation-v2";
17
+ readonly release_revocation_pointer_schema_version: "release-revocation-pointer-v1";
18
+ readonly release_trust_state_schema_version: "release-trust-state-v1";
19
+ readonly trusted_time_evidence_schema_version: "trusted-time-evidence-v1";
20
+ readonly trusted_time_leaf_schema_version: "trusted-time-leaf-v1";
21
+ readonly release_signing_ledger_schema_version: "release-signing-ledger-v1";
22
+ readonly release_signing_subject_schema_version: "release-signing-subject-v1";
23
+ readonly release_signature_envelope_schema_version: "release-signature-envelope-v1";
24
+ readonly release_signing_ledger_receipt_schema_version: "release-signing-ledger-receipt-v1";
25
+ readonly release_signing_ledger_evidence_schema_version: "release-signing-ledger-evidence-v1";
26
+ readonly token_ticket_schema_version: "token-ticket-v4";
27
+ readonly bridge_schema_version: "bridge-v5";
28
+ readonly opaque_surface_document_schema_version: "opaque-surface-document-v3";
29
+ readonly opaque_surface_transport_schema_version: "opaque-surface-transport-v4";
30
+ readonly target_classifier_version: "target-classifier-v2";
31
+ readonly network_grant_schema_version: "network-grant-v2";
32
+ readonly resource_scope_schema_version: "resource-scope-v1";
33
+ readonly session_scope_schema_version: "session-scope-v1";
34
+ readonly plugin_platform_openapi_version: "plugin-platform-v8";
35
+ readonly compatibility_manifest_version: "redevplugin.compatibility.v8";
36
+ readonly compatibility_schema_version: "compatibility-manifest-v8";
37
+ readonly worker_invocation_schema_version: "worker-invocation-v3";
26
38
  readonly host_capability_contract_schema_version: "host-capability-contract-v1";
27
39
  readonly host_capability_pin_schema_version: "host-capability-pin-v1";
28
40
  readonly host_capability_manifest_schema_version: "host-capability-manifest-v1";
29
41
  readonly host_capability_compatibility_schema_version: "host-capability-compatibility-v1";
30
42
  readonly host_capability_signature_schema_version: "host-capability-signature-v1";
31
43
  readonly host_capability_notices_schema_version: "host-capability-notices-v1";
32
- readonly error_codes_schema_version: "error-codes-v1";
33
- readonly contract_registry_version: "contract-registry-v1";
44
+ readonly error_codes_schema_version: "error-codes-v6";
45
+ readonly performance_contract_version: "performance-contract-v3";
46
+ readonly performance_evidence_schema_version: "performance-evidence-v3";
47
+ readonly contract_registry_version: "contract-registry-v2";
48
+ readonly platform_package_set_schema_version: "platform-package-set-v1";
49
+ readonly platform_package_publication_schema_version: "platform-package-publication-v1";
50
+ readonly runtime_admission_schema_version: "runtime-admission-v1";
51
+ readonly runtime_descriptor_schema_version: "runtime-descriptor-v2";
52
+ readonly owner_scope_inventory_registry_version: "owner-scope-inventory-registry-v1";
53
+ readonly owner_scope_inventory_schema_version: "owner-scope-inventory-v1";
54
+ readonly owner_scope_migration_schema_version: "owner-scope-migration-v1";
55
+ readonly process_containment_schema_version: "process-containment-v1";
56
+ readonly runtime_exec_journal_schema_version: "runtime-exec-journal-v1";
57
+ readonly quarantine_cleanup_schema_version: "quarantine-cleanup-v1";
34
58
  };
35
59
  export type ReDevPluginContractArtifact = {
36
60
  readonly id: string;
@@ -39,128 +63,248 @@ export type ReDevPluginContractArtifact = {
39
63
  readonly sha256: string;
40
64
  };
41
65
  export declare const redevPluginContractArtifacts: readonly [{
42
- readonly id: "plugin-platform-openapi";
43
- readonly path: "spec/openapi/plugin-platform-v3.yaml";
44
- readonly version: "plugin-platform-v3";
45
- readonly sha256: "7a165176a1ac67054458c38b12deecffc8f6b4411e967bf8889bb2f1140c3b11";
66
+ readonly id: "compatibility-manifest-schema";
67
+ readonly path: "spec/plugin/compatibility-manifest-v8.schema.json";
68
+ readonly version: "compatibility-manifest-v8";
69
+ readonly sha256: "a1831e0ae9a1b47d92e7ad9879b1ca4e3510ebc212b87360595b672e8b87bc79";
70
+ }, {
71
+ readonly id: "contract-registry-schema";
72
+ readonly path: "spec/plugin/contract-registry-v2.schema.json";
73
+ readonly version: "contract-registry-v2";
74
+ readonly sha256: "d516b3565158ac1b0d5e9f86b91b13ac19321ab3ff54468be41951b68d7085ac";
75
+ }, {
76
+ readonly id: "error-codes-schema";
77
+ readonly path: "spec/plugin/error-codes-v6.schema.json";
78
+ readonly version: "error-codes-v6";
79
+ readonly sha256: "094cb980156c17af4866942b51e6a1032ea7d1ae0675b329d59a765223ccda28";
80
+ }, {
81
+ readonly id: "host-capability-compatibility-schema";
82
+ readonly path: "spec/plugin/host-capability-compatibility-v1.schema.json";
83
+ readonly version: "host-capability-compatibility-v1";
84
+ readonly sha256: "361ebbf7009aeb66c763ecde46427b17b6cf7d2307c01886c5987a1f4f1762de";
85
+ }, {
86
+ readonly id: "host-capability-contract-schema";
87
+ readonly path: "spec/plugin/host-capability-contract-v1.schema.json";
88
+ readonly version: "host-capability-contract-v1";
89
+ readonly sha256: "0a653e36d44104f1d16b06ee424648086c146f23c907b176bdf470ae73025485";
90
+ }, {
91
+ readonly id: "host-capability-manifest-schema";
92
+ readonly path: "spec/plugin/host-capability-manifest-v1.schema.json";
93
+ readonly version: "host-capability-manifest-v1";
94
+ readonly sha256: "5f13a8e5f918378b9cba9fdc133a9a75ba3a8311c30cb6a02ca0aba09035110e";
95
+ }, {
96
+ readonly id: "host-capability-notices-schema";
97
+ readonly path: "spec/plugin/host-capability-notices-v1.schema.json";
98
+ readonly version: "host-capability-notices-v1";
99
+ readonly sha256: "6affd5d0ae90239f6fd08cbeddae4eef393efa2838c9e4935874ba3dc0e05948";
100
+ }, {
101
+ readonly id: "host-capability-pin-schema";
102
+ readonly path: "spec/plugin/host-capability-pin-v1.schema.json";
103
+ readonly version: "host-capability-pin-v1";
104
+ readonly sha256: "20526a5934f0d85a3db7882492487266f09de5bcd176e2c7936f05d0b7fe0338";
105
+ }, {
106
+ readonly id: "host-capability-signature-schema";
107
+ readonly path: "spec/plugin/host-capability-signature-v1.schema.json";
108
+ readonly version: "host-capability-signature-v1";
109
+ readonly sha256: "88cbc1d63afb7e289ca4f8b7c76f702b8d20156f7722c1b71f3ab9138a240a5e";
110
+ }, {
111
+ readonly id: "iframe-bridge-schema";
112
+ readonly path: "spec/plugin/bridge-v5.schema.json";
113
+ readonly version: "bridge-v5";
114
+ readonly sha256: "ad8ccc7e1900ecb871432f07296dd681ae6faea9377e52f5ddca90300c04f4da";
46
115
  }, {
47
116
  readonly id: "manifest-schema";
48
- readonly path: "spec/plugin/manifest-v3.schema.json";
49
- readonly version: "manifest-v3";
50
- readonly sha256: "b5856b82a64c5654f15460191e74cc6f5c4a17018517ea1750840575f9c29881";
117
+ readonly path: "spec/plugin/manifest-v5.schema.json";
118
+ readonly version: "manifest-v5";
119
+ readonly sha256: "9695f6163aa539b9e3a933367c98850257c6d7bb8d61b36fd5f83b3ab61746f7";
120
+ }, {
121
+ readonly id: "network-grant-schema";
122
+ readonly path: "spec/plugin/network-grant-v2.schema.json";
123
+ readonly version: "network-grant-v2";
124
+ readonly sha256: "5fc1cfc3469a992e551fd392fab982abb6f95e456a1cb768ceca137f7c693abc";
125
+ }, {
126
+ readonly id: "opaque-surface-document-schema";
127
+ readonly path: "spec/plugin/opaque-surface-document-v3.schema.json";
128
+ readonly version: "opaque-surface-document-v3";
129
+ readonly sha256: "63419ff5b5a8890e14f97ca29aaae175b93daff61d4567c5bdff7f6e6a9e7450";
130
+ }, {
131
+ readonly id: "opaque-surface-transport-schema";
132
+ readonly path: "spec/plugin/opaque-surface-transport-v4.schema.json";
133
+ readonly version: "opaque-surface-transport-v4";
134
+ readonly sha256: "70a32dc8bf281cea2c92492c466fd477070c62156a3f593d45eb460cde62dca2";
135
+ }, {
136
+ readonly id: "owner-scope-inventory-registry";
137
+ readonly path: "spec/plugin/owner-scope-inventories-v1.json";
138
+ readonly version: "owner-scope-inventory-registry-v1";
139
+ readonly sha256: "92a2d6ed3a9038e95285faa108e2186cf9d0df343854741c551f8c4039f91217";
140
+ }, {
141
+ readonly id: "owner-scope-inventory-schema";
142
+ readonly path: "spec/plugin/owner-scope-inventory-v1.schema.json";
143
+ readonly version: "owner-scope-inventory-v1";
144
+ readonly sha256: "972e4fe3cc74339c211ba8a50951ad0f4ae4265d3d34b20f03d0e4888638e254";
145
+ }, {
146
+ readonly id: "owner-scope-migration-schema";
147
+ readonly path: "spec/plugin/owner-scope-migration-v1.schema.json";
148
+ readonly version: "owner-scope-migration-v1";
149
+ readonly sha256: "e73443813e19e4cfb05748eb75d5cf04f43db3bed9d2be0c893c13bda88a5993";
51
150
  }, {
52
151
  readonly id: "package-signature-schema";
53
152
  readonly path: "spec/plugin/package-signature-v1.schema.json";
54
153
  readonly version: "package-signature-v1";
55
154
  readonly sha256: "13951c0f6831ba28647774368c76a817868aeb7984628e2cf3dc4ad1b54f8284";
56
155
  }, {
57
- readonly id: "release-metadata-schema";
58
- readonly path: "spec/plugin/release-metadata-v3.schema.json";
59
- readonly version: "release-metadata-v3";
60
- readonly sha256: "a2fbe87dfcd57e7cb05410e829831a5500a6d127db22f4c28fd6187d56e7f4e7";
156
+ readonly id: "performance-contract";
157
+ readonly path: "spec/plugin/performance-contract-v3.json";
158
+ readonly version: "performance-contract-v3";
159
+ readonly sha256: "a4e1a099dc16f2b0a4d6bdc5fdf8f6ce622948ffec40f70bfc2743286a2b816b";
61
160
  }, {
62
- readonly id: "source-policy-schema";
63
- readonly path: "spec/plugin/source-policy-v1.schema.json";
64
- readonly version: "source-policy-v1";
65
- readonly sha256: "fb6a9c27e726378a28a9ff48ee47c40ede99fa95a524a308e2c762bebc4b9fe2";
161
+ readonly id: "performance-evidence-schema";
162
+ readonly path: "spec/plugin/performance-evidence-v3.schema.json";
163
+ readonly version: "performance-evidence-v3";
164
+ readonly sha256: "a2f5e94071bb09a9327fc55ad3f6c39052b01c3e54cceb8b974dc244667a0326";
66
165
  }, {
67
- readonly id: "source-revocations-schema";
68
- readonly path: "spec/plugin/source-revocations-v1.schema.json";
69
- readonly version: "source-revocations-v1";
70
- readonly sha256: "4c4132879a51b31e99775c979ca3ab43c2ee4c5c885f3ff1e7b43cd5ce8bc83d";
166
+ readonly id: "platform-package-publication-schema";
167
+ readonly path: "spec/plugin/platform-package-publication-v1.schema.json";
168
+ readonly version: "platform-package-publication-v1";
169
+ readonly sha256: "20450b516c34d5a122020f4064ddfa03ffcb97ffea661e0868cd09760b3f08b0";
71
170
  }, {
72
- readonly id: "token-ticket-schema";
73
- readonly path: "spec/plugin/token-ticket-v2.schema.json";
74
- readonly version: "token-ticket-v2";
75
- readonly sha256: "f0342614f28b81045ac47d76d71753c8ee177f8143c14a711a0b1f5632e7835e";
171
+ readonly id: "platform-package-set-schema";
172
+ readonly path: "spec/plugin/platform-package-set-v1.schema.json";
173
+ readonly version: "platform-package-set-v1";
174
+ readonly sha256: "4d9979f5205ec047895b64c995312c588d998bb1c1448f6c9c559f1b7ab0d796";
76
175
  }, {
77
- readonly id: "iframe-bridge-schema";
78
- readonly path: "spec/plugin/bridge-v3.schema.json";
79
- readonly version: "bridge-v3";
80
- readonly sha256: "95d362d318327d09ecf6689c8fcfa38033dc5b3bf29b5e48da9d7290568e3b22";
176
+ readonly id: "plugin-platform-openapi";
177
+ readonly path: "spec/openapi/plugin-platform-v8.yaml";
178
+ readonly version: "plugin-platform-v8";
179
+ readonly sha256: "290883ff79b74badbf9f6feddb4dfbef820a4ef4622a7e3fca815e3abb2c4eac";
81
180
  }, {
82
- readonly id: "opaque-surface-document-schema";
83
- readonly path: "spec/plugin/opaque-surface-document-v2.schema.json";
84
- readonly version: "opaque-surface-document-v2";
85
- readonly sha256: "abb0836bfb53089abd6522269265cc9f9e9bbc5b3cfc6d956404f6208b3e7238";
181
+ readonly id: "process-containment-schema";
182
+ readonly path: "spec/plugin/process-containment-v1.schema.json";
183
+ readonly version: "process-containment-v1";
184
+ readonly sha256: "930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc";
86
185
  }, {
87
- readonly id: "opaque-surface-transport-schema";
88
- readonly path: "spec/plugin/opaque-surface-transport-v2.schema.json";
89
- readonly version: "opaque-surface-transport-v2";
90
- readonly sha256: "7a96b009350b641ac56a1893d0eb74ed34d53bf50ee45df22f526e564a2fe6c9";
186
+ readonly id: "quarantine-cleanup-schema";
187
+ readonly path: "spec/plugin/quarantine-cleanup-v1.schema.json";
188
+ readonly version: "quarantine-cleanup-v1";
189
+ readonly sha256: "0aced01a8d409953d5075a799ac273cae79e285ac82debe93ac4d8b706571ad1";
91
190
  }, {
92
- readonly id: "compatibility-manifest-schema";
93
- readonly path: "spec/plugin/compatibility-manifest-v3.schema.json";
94
- readonly version: "compatibility-manifest-v3";
95
- readonly sha256: "328612332a4226775e09aa19ed7d852ca59adb56467bf8c2a7d4f4bdfbf226d0";
191
+ readonly id: "release-metadata-schema";
192
+ readonly path: "spec/plugin/release-metadata-v5.schema.json";
193
+ readonly version: "release-metadata-v5";
194
+ readonly sha256: "255ef3deb7d2758a43e69e533a08aa28106f8edc2e7385ab0aec0d50c1ef3d7a";
96
195
  }, {
97
- readonly id: "release-manifest-schema";
98
- readonly path: "spec/plugin/release-manifest-v3.schema.json";
99
- readonly version: "release-manifest-v3";
100
- readonly sha256: "8c3fda908cd71169b2daf7d2a4e0b5b0c26a32e125a567304d872633fc05309b";
196
+ readonly id: "release-revocation-pointer-schema";
197
+ readonly path: "spec/plugin/release-revocation-pointer-v1.schema.json";
198
+ readonly version: "release-revocation-pointer-v1";
199
+ readonly sha256: "a9b7b64cb2dbf89500f0d191a6b2b9ab42eb806a452eb8338895a48ec7d7551e";
101
200
  }, {
102
- readonly id: "worker-invocation-schema";
103
- readonly path: "spec/plugin/worker-invocation-v2.schema.json";
104
- readonly version: "worker-invocation-v2";
105
- readonly sha256: "9a8843d19db04334525fd308a6b54fe26b12e3b4a0da46b417687e76629bd7d0";
201
+ readonly id: "release-revocation-schema";
202
+ readonly path: "spec/plugin/release-revocation-v2.schema.json";
203
+ readonly version: "release-revocation-v2";
204
+ readonly sha256: "c3b40c05bc0dea422a272ee62ca45d0efb6456278b0707c5a12f39b004b84cb4";
106
205
  }, {
107
- readonly id: "host-capability-contract-schema";
108
- readonly path: "spec/plugin/host-capability-contract-v1.schema.json";
109
- readonly version: "host-capability-contract-v1";
110
- readonly sha256: "a2318b01211aa6dbd8ca983f7ebca311619527aa4828a0ea0d201ebac7427292";
206
+ readonly id: "release-root-delegation-schema";
207
+ readonly path: "spec/plugin/release-root-delegation-v1.schema.json";
208
+ readonly version: "release-root-delegation-v1";
209
+ readonly sha256: "c1adbb13eaeeca145d5ee787ff43777e60a5f329e460d20b8db358e4f5fc4825";
111
210
  }, {
112
- readonly id: "host-capability-pin-schema";
113
- readonly path: "spec/plugin/host-capability-pin-v1.schema.json";
114
- readonly version: "host-capability-pin-v1";
115
- readonly sha256: "20526a5934f0d85a3db7882492487266f09de5bcd176e2c7936f05d0b7fe0338";
211
+ readonly id: "release-signature-envelope-schema";
212
+ readonly path: "spec/plugin/release-signature-envelope-v1.schema.json";
213
+ readonly version: "release-signature-envelope-v1";
214
+ readonly sha256: "7df9afd22bfdebfa89dc3bdb46ecdbe22a91ecce35fa46c492dd9795c66fae29";
116
215
  }, {
117
- readonly id: "host-capability-manifest-schema";
118
- readonly path: "spec/plugin/host-capability-manifest-v1.schema.json";
119
- readonly version: "host-capability-manifest-v1";
120
- readonly sha256: "5f13a8e5f918378b9cba9fdc133a9a75ba3a8311c30cb6a02ca0aba09035110e";
216
+ readonly id: "release-signing-ledger-evidence-schema";
217
+ readonly path: "spec/plugin/release-signing-ledger-evidence-v1.schema.json";
218
+ readonly version: "release-signing-ledger-evidence-v1";
219
+ readonly sha256: "9ab8b7f65dedcd119d578debb4f6ff97fc35f4c7ac95c0e5435f8b0959bc1a5c";
121
220
  }, {
122
- readonly id: "host-capability-compatibility-schema";
123
- readonly path: "spec/plugin/host-capability-compatibility-v1.schema.json";
124
- readonly version: "host-capability-compatibility-v1";
125
- readonly sha256: "361ebbf7009aeb66c763ecde46427b17b6cf7d2307c01886c5987a1f4f1762de";
221
+ readonly id: "release-signing-ledger-receipt-schema";
222
+ readonly path: "spec/plugin/release-signing-ledger-receipt-v1.schema.json";
223
+ readonly version: "release-signing-ledger-receipt-v1";
224
+ readonly sha256: "29210cfefd967017c5c74bcf8489bd50511c5c9f36d17b0200056ccb90c30561";
126
225
  }, {
127
- readonly id: "host-capability-signature-schema";
128
- readonly path: "spec/plugin/host-capability-signature-v1.schema.json";
129
- readonly version: "host-capability-signature-v1";
130
- readonly sha256: "88cbc1d63afb7e289ca4f8b7c76f702b8d20156f7722c1b71f3ab9138a240a5e";
226
+ readonly id: "release-signing-ledger-schema";
227
+ readonly path: "spec/plugin/release-signing-ledger-v1.schema.json";
228
+ readonly version: "release-signing-ledger-v1";
229
+ readonly sha256: "0c72b30bfd6b857b9809e48e1b7eaaeb7134d5afd6a935aa8373465054403765";
131
230
  }, {
132
- readonly id: "host-capability-notices-schema";
133
- readonly path: "spec/plugin/host-capability-notices-v1.schema.json";
134
- readonly version: "host-capability-notices-v1";
135
- readonly sha256: "6affd5d0ae90239f6fd08cbeddae4eef393efa2838c9e4935874ba3dc0e05948";
231
+ readonly id: "release-signing-subject-schema";
232
+ readonly path: "spec/plugin/release-signing-subject-v1.schema.json";
233
+ readonly version: "release-signing-subject-v1";
234
+ readonly sha256: "876b1459824f90042bd141e96bfea4633333bdf2a227e15b6e25c72db1179c8e";
136
235
  }, {
137
- readonly id: "error-codes-schema";
138
- readonly path: "spec/plugin/error-codes-v1.schema.json";
139
- readonly version: "error-codes-v1";
140
- readonly sha256: "1f59d2d4ddbd972d857f111aec98d31a9cf3d5baf96e57e152d5b68a1feea3d1";
236
+ readonly id: "release-source-policy-pointer-schema";
237
+ readonly path: "spec/plugin/release-source-policy-pointer-v1.schema.json";
238
+ readonly version: "release-source-policy-pointer-v1";
239
+ readonly sha256: "1a78cc3897ffbcdb605d2e9265d765207a4647d3f53fa5736aec65bf5f54e81c";
240
+ }, {
241
+ readonly id: "release-source-policy-schema";
242
+ readonly path: "spec/plugin/release-source-policy-v2.schema.json";
243
+ readonly version: "release-source-policy-v2";
244
+ readonly sha256: "6a5a5eab317a86beea925a611ca8a7a2d937547c039ce147b5993f69a5611237";
245
+ }, {
246
+ readonly id: "release-trust-state-schema";
247
+ readonly path: "spec/plugin/release-trust-state-v1.schema.json";
248
+ readonly version: "release-trust-state-v1";
249
+ readonly sha256: "19ffa182932a22401a33ee4c9921e957c67895c2d8b041c9a27ee3530bdfb2d2";
250
+ }, {
251
+ readonly id: "resource-scope-schema";
252
+ readonly path: "spec/plugin/resource-scope-v1.schema.json";
253
+ readonly version: "resource-scope-v1";
254
+ readonly sha256: "e6021bd576c7220ad5536645a7ad8e57ee7aeb9901c31a89444fa6b695d8dc6f";
255
+ }, {
256
+ readonly id: "runtime-admission-schema";
257
+ readonly path: "spec/plugin/runtime-admission-v1.schema.json";
258
+ readonly version: "runtime-admission-v1";
259
+ readonly sha256: "bee7b149876447d663a4099dbd71e71fa97f8ff80ddf4e12cbfba951a47c4beb";
260
+ }, {
261
+ readonly id: "runtime-descriptor-schema";
262
+ readonly path: "spec/plugin/runtime-descriptor-v2.schema.json";
263
+ readonly version: "runtime-descriptor-v2";
264
+ readonly sha256: "2ba59f6fb70d4ad757f60aca5541f4a44886542525e5bf76c393cd2368188351";
265
+ }, {
266
+ readonly id: "runtime-exec-journal-schema";
267
+ readonly path: "spec/plugin/runtime-exec-journal-v1.schema.json";
268
+ readonly version: "runtime-exec-journal-v1";
269
+ readonly sha256: "2bddbba383843b8ebc1554009909f0bb25e98616be763826a697cb0f408870d2";
141
270
  }, {
142
271
  readonly id: "rust-ipc-schema";
143
- readonly path: "spec/plugin/ipc-v2.schema.json";
144
- readonly version: "rust-ipc-v2";
145
- readonly sha256: "8c9dc1fe60da2399647efaad58b871860c278810ba4a6c357d904e2414a29aed";
272
+ readonly path: "spec/plugin/ipc-v6.schema.json";
273
+ readonly version: "rust-ipc-v6";
274
+ readonly sha256: "9814ca091ac2e4e8435c1ab553e248e9d2e792de93ce9fd27bd030486774837f";
275
+ }, {
276
+ readonly id: "session-scope-schema";
277
+ readonly path: "spec/plugin/session-scope-v1.schema.json";
278
+ readonly version: "session-scope-v1";
279
+ readonly sha256: "3df0084264f0aff9fe2261c237cea439adb5cdc2534bfaaa0488d5992d4a7d2e";
280
+ }, {
281
+ readonly id: "target-classifier-fixture";
282
+ readonly path: "spec/plugin/target-classifier-v2.json";
283
+ readonly version: "target-classifier-v2";
284
+ readonly sha256: "ae7336cce77a2e820f96f1cc309b93f8442c932dcebec25e3890d31cd098e2d1";
285
+ }, {
286
+ readonly id: "token-ticket-schema";
287
+ readonly path: "spec/plugin/token-ticket-v4.schema.json";
288
+ readonly version: "token-ticket-v4";
289
+ readonly sha256: "5cf365b5b52a331ac0d3ad35a98be3c2ce668804ae88fdeaf9679a44db14feb1";
290
+ }, {
291
+ readonly id: "trusted-time-evidence-schema";
292
+ readonly path: "spec/plugin/trusted-time-evidence-v1.schema.json";
293
+ readonly version: "trusted-time-evidence-v1";
294
+ readonly sha256: "4398cbd2a3eea42a85008ee16a69d7adb265673e6749b1f13a4f1610f36e5e38";
295
+ }, {
296
+ readonly id: "trusted-time-leaf-schema";
297
+ readonly path: "spec/plugin/trusted-time-leaf-v1.schema.json";
298
+ readonly version: "trusted-time-leaf-v1";
299
+ readonly sha256: "1c25eb0040800eef145aa2bb4c0e1ae197ae584d365e9595ab89037e26fe5ddb";
146
300
  }, {
147
301
  readonly id: "wasm-worker-schema";
148
302
  readonly path: "spec/plugin/wasm-worker-v2.schema.json";
149
303
  readonly version: "redevplugin-wasm-worker-v2";
150
- readonly sha256: "d2ef05ffed74706cf0683a57665068c5bdf2b191a6c20cb876ec1049798afeaf";
151
- }, {
152
- readonly id: "network-grant-schema";
153
- readonly path: "spec/plugin/network-grant-v1.schema.json";
154
- readonly version: "network-grant-v1";
155
- readonly sha256: "e3ba8e7aa42267596b5570c1de60994a0912b125ea78427776db8092c2b3ea7b";
304
+ readonly sha256: "00bf123f3a9ed932de4b71c180e2a5c34af0f82050defb271fedec42cf217902";
156
305
  }, {
157
- readonly id: "target-classifier-fixture";
158
- readonly path: "spec/plugin/target-classifier-v1.json";
159
- readonly version: "target-classifier-v1";
160
- readonly sha256: "7e9367d624c22d575ae5c118063c1cb0f0de6b5b0081eabcfc51c0357e4d14d7";
161
- }, {
162
- readonly id: "contract-registry";
163
- readonly path: "spec/plugin/contract-registry-v1.json";
164
- readonly version: "contract-registry-v1";
165
- readonly sha256: "ea303e08fb1a218cbf3696cc77c9e4b3cc8df9d0c5d2539e6b769b68884ef2b5";
306
+ readonly id: "worker-invocation-schema";
307
+ readonly path: "spec/plugin/worker-invocation-v3.schema.json";
308
+ readonly version: "worker-invocation-v3";
309
+ readonly sha256: "f08af491cbf5e7b71d1aeafbeac9ae581ee5fc3bcb76184daec369f94bab3927";
166
310
  }];