@floegence/redevplugin-ui 0.5.1 → 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.
- package/dist/contracts.gen.d.ts +234 -108
- package/dist/contracts.gen.js +255 -108
- package/dist/error-codes.gen.d.ts +3 -3
- package/dist/error-codes.gen.js +13 -1
- package/dist/errors.d.ts +1 -1
- package/dist/http.d.ts +5 -1
- package/dist/http.js +37 -1
- package/dist/local-import.js +16 -10
- package/dist/openapi.gen.d.ts +428 -182
- package/dist/platform.d.ts +10 -8
- package/dist/platform.js +102 -70
- package/dist/surface-scope.d.ts +2 -1
- package/dist/surface-scope.js +34 -9
- package/dist/surface.js +67 -8
- package/package.json +4 -1
package/dist/contracts.gen.js
CHANGED
|
@@ -1,29 +1,40 @@
|
|
|
1
1
|
// Code generated by scripts/generate_contract_registry.mjs; DO NOT EDIT.
|
|
2
2
|
export const pluginUIProtocolVersion = "plugin-ui-v5";
|
|
3
|
-
export const pluginHostProtocolVersion = "plugin-host-
|
|
3
|
+
export const pluginHostProtocolVersion = "plugin-host-v6";
|
|
4
4
|
export const bridgeSchemaVersion = "bridge-v5";
|
|
5
|
-
export const tokenTicketSchemaVersion = "token-ticket-
|
|
5
|
+
export const tokenTicketSchemaVersion = "token-ticket-v4";
|
|
6
6
|
export const redevPluginContractVersions = {
|
|
7
7
|
"plugin_ui_protocol_version": "plugin-ui-v5",
|
|
8
|
-
"plugin_host_protocol_version": "plugin-host-
|
|
9
|
-
"rust_ipc_version": "rust-ipc-
|
|
8
|
+
"plugin_host_protocol_version": "plugin-host-v6",
|
|
9
|
+
"rust_ipc_version": "rust-ipc-v6",
|
|
10
10
|
"wasm_abi_version": "redevplugin-wasm-worker-v2",
|
|
11
11
|
"manifest_schema_version": "manifest-v5",
|
|
12
12
|
"package_signature_schema_version": "package-signature-v1",
|
|
13
13
|
"release_metadata_schema_version": "release-metadata-v5",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"release_root_delegation_schema_version": "release-root-delegation-v1",
|
|
15
|
+
"release_source_policy_schema_version": "release-source-policy-v2",
|
|
16
|
+
"release_source_policy_pointer_schema_version": "release-source-policy-pointer-v1",
|
|
17
|
+
"release_revocation_schema_version": "release-revocation-v2",
|
|
18
|
+
"release_revocation_pointer_schema_version": "release-revocation-pointer-v1",
|
|
19
|
+
"release_trust_state_schema_version": "release-trust-state-v1",
|
|
20
|
+
"trusted_time_evidence_schema_version": "trusted-time-evidence-v1",
|
|
21
|
+
"trusted_time_leaf_schema_version": "trusted-time-leaf-v1",
|
|
22
|
+
"release_signing_ledger_schema_version": "release-signing-ledger-v1",
|
|
23
|
+
"release_signing_subject_schema_version": "release-signing-subject-v1",
|
|
24
|
+
"release_signature_envelope_schema_version": "release-signature-envelope-v1",
|
|
25
|
+
"release_signing_ledger_receipt_schema_version": "release-signing-ledger-receipt-v1",
|
|
26
|
+
"release_signing_ledger_evidence_schema_version": "release-signing-ledger-evidence-v1",
|
|
27
|
+
"token_ticket_schema_version": "token-ticket-v4",
|
|
17
28
|
"bridge_schema_version": "bridge-v5",
|
|
18
29
|
"opaque_surface_document_schema_version": "opaque-surface-document-v3",
|
|
19
30
|
"opaque_surface_transport_schema_version": "opaque-surface-transport-v4",
|
|
20
31
|
"target_classifier_version": "target-classifier-v2",
|
|
21
32
|
"network_grant_schema_version": "network-grant-v2",
|
|
22
33
|
"resource_scope_schema_version": "resource-scope-v1",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
34
|
+
"session_scope_schema_version": "session-scope-v1",
|
|
35
|
+
"plugin_platform_openapi_version": "plugin-platform-v8",
|
|
36
|
+
"compatibility_manifest_version": "redevplugin.compatibility.v8",
|
|
37
|
+
"compatibility_schema_version": "compatibility-manifest-v8",
|
|
27
38
|
"worker_invocation_schema_version": "worker-invocation-v3",
|
|
28
39
|
"host_capability_contract_schema_version": "host-capability-contract-v1",
|
|
29
40
|
"host_capability_pin_schema_version": "host-capability-pin-v1",
|
|
@@ -31,59 +42,93 @@ export const redevPluginContractVersions = {
|
|
|
31
42
|
"host_capability_compatibility_schema_version": "host-capability-compatibility-v1",
|
|
32
43
|
"host_capability_signature_schema_version": "host-capability-signature-v1",
|
|
33
44
|
"host_capability_notices_schema_version": "host-capability-notices-v1",
|
|
34
|
-
"error_codes_schema_version": "error-codes-
|
|
35
|
-
"performance_contract_version": "performance-contract-
|
|
36
|
-
"performance_evidence_schema_version": "performance-evidence-
|
|
37
|
-
"contract_registry_version": "contract-registry-
|
|
45
|
+
"error_codes_schema_version": "error-codes-v6",
|
|
46
|
+
"performance_contract_version": "performance-contract-v3",
|
|
47
|
+
"performance_evidence_schema_version": "performance-evidence-v3",
|
|
48
|
+
"contract_registry_version": "contract-registry-v2",
|
|
49
|
+
"platform_package_set_schema_version": "platform-package-set-v1",
|
|
50
|
+
"platform_package_publication_schema_version": "platform-package-publication-v1",
|
|
51
|
+
"runtime_admission_schema_version": "runtime-admission-v1",
|
|
52
|
+
"runtime_descriptor_schema_version": "runtime-descriptor-v2",
|
|
53
|
+
"owner_scope_inventory_registry_version": "owner-scope-inventory-registry-v1",
|
|
54
|
+
"owner_scope_inventory_schema_version": "owner-scope-inventory-v1",
|
|
55
|
+
"owner_scope_migration_schema_version": "owner-scope-migration-v1",
|
|
56
|
+
"process_containment_schema_version": "process-containment-v1",
|
|
57
|
+
"runtime_exec_journal_schema_version": "runtime-exec-journal-v1",
|
|
58
|
+
"quarantine_cleanup_schema_version": "quarantine-cleanup-v1",
|
|
38
59
|
};
|
|
39
60
|
export const redevPluginContractArtifacts = [
|
|
40
61
|
{
|
|
41
|
-
id: "
|
|
42
|
-
path: "spec/
|
|
43
|
-
version: "
|
|
44
|
-
sha256: "
|
|
62
|
+
id: "compatibility-manifest-schema",
|
|
63
|
+
path: "spec/plugin/compatibility-manifest-v8.schema.json",
|
|
64
|
+
version: "compatibility-manifest-v8",
|
|
65
|
+
sha256: "a1831e0ae9a1b47d92e7ad9879b1ca4e3510ebc212b87360595b672e8b87bc79",
|
|
45
66
|
},
|
|
46
67
|
{
|
|
47
|
-
id: "
|
|
48
|
-
path: "spec/plugin/
|
|
49
|
-
version: "
|
|
50
|
-
sha256: "
|
|
68
|
+
id: "contract-registry-schema",
|
|
69
|
+
path: "spec/plugin/contract-registry-v2.schema.json",
|
|
70
|
+
version: "contract-registry-v2",
|
|
71
|
+
sha256: "d516b3565158ac1b0d5e9f86b91b13ac19321ab3ff54468be41951b68d7085ac",
|
|
51
72
|
},
|
|
52
73
|
{
|
|
53
|
-
id: "
|
|
54
|
-
path: "spec/plugin/
|
|
55
|
-
version: "
|
|
56
|
-
sha256: "
|
|
74
|
+
id: "error-codes-schema",
|
|
75
|
+
path: "spec/plugin/error-codes-v6.schema.json",
|
|
76
|
+
version: "error-codes-v6",
|
|
77
|
+
sha256: "094cb980156c17af4866942b51e6a1032ea7d1ae0675b329d59a765223ccda28",
|
|
57
78
|
},
|
|
58
79
|
{
|
|
59
|
-
id: "
|
|
60
|
-
path: "spec/plugin/
|
|
61
|
-
version: "
|
|
62
|
-
sha256: "
|
|
80
|
+
id: "host-capability-compatibility-schema",
|
|
81
|
+
path: "spec/plugin/host-capability-compatibility-v1.schema.json",
|
|
82
|
+
version: "host-capability-compatibility-v1",
|
|
83
|
+
sha256: "361ebbf7009aeb66c763ecde46427b17b6cf7d2307c01886c5987a1f4f1762de",
|
|
63
84
|
},
|
|
64
85
|
{
|
|
65
|
-
id: "
|
|
66
|
-
path: "spec/plugin/
|
|
67
|
-
version: "
|
|
68
|
-
sha256: "
|
|
86
|
+
id: "host-capability-contract-schema",
|
|
87
|
+
path: "spec/plugin/host-capability-contract-v1.schema.json",
|
|
88
|
+
version: "host-capability-contract-v1",
|
|
89
|
+
sha256: "0a653e36d44104f1d16b06ee424648086c146f23c907b176bdf470ae73025485",
|
|
69
90
|
},
|
|
70
91
|
{
|
|
71
|
-
id: "
|
|
72
|
-
path: "spec/plugin/
|
|
73
|
-
version: "
|
|
74
|
-
sha256: "
|
|
92
|
+
id: "host-capability-manifest-schema",
|
|
93
|
+
path: "spec/plugin/host-capability-manifest-v1.schema.json",
|
|
94
|
+
version: "host-capability-manifest-v1",
|
|
95
|
+
sha256: "5f13a8e5f918378b9cba9fdc133a9a75ba3a8311c30cb6a02ca0aba09035110e",
|
|
75
96
|
},
|
|
76
97
|
{
|
|
77
|
-
id: "
|
|
78
|
-
path: "spec/plugin/
|
|
79
|
-
version: "
|
|
80
|
-
sha256: "
|
|
98
|
+
id: "host-capability-notices-schema",
|
|
99
|
+
path: "spec/plugin/host-capability-notices-v1.schema.json",
|
|
100
|
+
version: "host-capability-notices-v1",
|
|
101
|
+
sha256: "6affd5d0ae90239f6fd08cbeddae4eef393efa2838c9e4935874ba3dc0e05948",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "host-capability-pin-schema",
|
|
105
|
+
path: "spec/plugin/host-capability-pin-v1.schema.json",
|
|
106
|
+
version: "host-capability-pin-v1",
|
|
107
|
+
sha256: "20526a5934f0d85a3db7882492487266f09de5bcd176e2c7936f05d0b7fe0338",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: "host-capability-signature-schema",
|
|
111
|
+
path: "spec/plugin/host-capability-signature-v1.schema.json",
|
|
112
|
+
version: "host-capability-signature-v1",
|
|
113
|
+
sha256: "88cbc1d63afb7e289ca4f8b7c76f702b8d20156f7722c1b71f3ab9138a240a5e",
|
|
81
114
|
},
|
|
82
115
|
{
|
|
83
116
|
id: "iframe-bridge-schema",
|
|
84
117
|
path: "spec/plugin/bridge-v5.schema.json",
|
|
85
118
|
version: "bridge-v5",
|
|
86
|
-
sha256: "
|
|
119
|
+
sha256: "ad8ccc7e1900ecb871432f07296dd681ae6faea9377e52f5ddca90300c04f4da",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
id: "manifest-schema",
|
|
123
|
+
path: "spec/plugin/manifest-v5.schema.json",
|
|
124
|
+
version: "manifest-v5",
|
|
125
|
+
sha256: "9695f6163aa539b9e3a933367c98850257c6d7bb8d61b36fd5f83b3ab61746f7",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
id: "network-grant-schema",
|
|
129
|
+
path: "spec/plugin/network-grant-v2.schema.json",
|
|
130
|
+
version: "network-grant-v2",
|
|
131
|
+
sha256: "5fc1cfc3469a992e551fd392fab982abb6f95e456a1cb768ceca137f7c693abc",
|
|
87
132
|
},
|
|
88
133
|
{
|
|
89
134
|
id: "opaque-surface-document-schema",
|
|
@@ -98,94 +143,142 @@ export const redevPluginContractArtifacts = [
|
|
|
98
143
|
sha256: "70a32dc8bf281cea2c92492c466fd477070c62156a3f593d45eb460cde62dca2",
|
|
99
144
|
},
|
|
100
145
|
{
|
|
101
|
-
id: "
|
|
102
|
-
path: "spec/plugin/
|
|
103
|
-
version: "
|
|
104
|
-
sha256: "
|
|
146
|
+
id: "owner-scope-inventory-registry",
|
|
147
|
+
path: "spec/plugin/owner-scope-inventories-v1.json",
|
|
148
|
+
version: "owner-scope-inventory-registry-v1",
|
|
149
|
+
sha256: "92a2d6ed3a9038e95285faa108e2186cf9d0df343854741c551f8c4039f91217",
|
|
105
150
|
},
|
|
106
151
|
{
|
|
107
|
-
id: "
|
|
108
|
-
path: "spec/plugin/
|
|
109
|
-
version: "
|
|
110
|
-
sha256: "
|
|
152
|
+
id: "owner-scope-inventory-schema",
|
|
153
|
+
path: "spec/plugin/owner-scope-inventory-v1.schema.json",
|
|
154
|
+
version: "owner-scope-inventory-v1",
|
|
155
|
+
sha256: "972e4fe3cc74339c211ba8a50951ad0f4ae4265d3d34b20f03d0e4888638e254",
|
|
111
156
|
},
|
|
112
157
|
{
|
|
113
|
-
id: "
|
|
114
|
-
path: "spec/plugin/
|
|
115
|
-
version: "
|
|
116
|
-
sha256: "
|
|
158
|
+
id: "owner-scope-migration-schema",
|
|
159
|
+
path: "spec/plugin/owner-scope-migration-v1.schema.json",
|
|
160
|
+
version: "owner-scope-migration-v1",
|
|
161
|
+
sha256: "e73443813e19e4cfb05748eb75d5cf04f43db3bed9d2be0c893c13bda88a5993",
|
|
117
162
|
},
|
|
118
163
|
{
|
|
119
|
-
id: "
|
|
120
|
-
path: "spec/plugin/
|
|
121
|
-
version: "
|
|
122
|
-
sha256: "
|
|
164
|
+
id: "package-signature-schema",
|
|
165
|
+
path: "spec/plugin/package-signature-v1.schema.json",
|
|
166
|
+
version: "package-signature-v1",
|
|
167
|
+
sha256: "13951c0f6831ba28647774368c76a817868aeb7984628e2cf3dc4ad1b54f8284",
|
|
123
168
|
},
|
|
124
169
|
{
|
|
125
|
-
id: "
|
|
126
|
-
path: "spec/plugin/
|
|
127
|
-
version: "
|
|
128
|
-
sha256: "
|
|
170
|
+
id: "performance-contract",
|
|
171
|
+
path: "spec/plugin/performance-contract-v3.json",
|
|
172
|
+
version: "performance-contract-v3",
|
|
173
|
+
sha256: "a4e1a099dc16f2b0a4d6bdc5fdf8f6ce622948ffec40f70bfc2743286a2b816b",
|
|
129
174
|
},
|
|
130
175
|
{
|
|
131
|
-
id: "
|
|
132
|
-
path: "spec/plugin/
|
|
133
|
-
version: "
|
|
134
|
-
sha256: "
|
|
176
|
+
id: "performance-evidence-schema",
|
|
177
|
+
path: "spec/plugin/performance-evidence-v3.schema.json",
|
|
178
|
+
version: "performance-evidence-v3",
|
|
179
|
+
sha256: "a2f5e94071bb09a9327fc55ad3f6c39052b01c3e54cceb8b974dc244667a0326",
|
|
135
180
|
},
|
|
136
181
|
{
|
|
137
|
-
id: "
|
|
138
|
-
path: "spec/plugin/
|
|
139
|
-
version: "
|
|
140
|
-
sha256: "
|
|
182
|
+
id: "platform-package-publication-schema",
|
|
183
|
+
path: "spec/plugin/platform-package-publication-v1.schema.json",
|
|
184
|
+
version: "platform-package-publication-v1",
|
|
185
|
+
sha256: "20450b516c34d5a122020f4064ddfa03ffcb97ffea661e0868cd09760b3f08b0",
|
|
141
186
|
},
|
|
142
187
|
{
|
|
143
|
-
id: "
|
|
144
|
-
path: "spec/plugin/
|
|
145
|
-
version: "
|
|
146
|
-
sha256: "
|
|
188
|
+
id: "platform-package-set-schema",
|
|
189
|
+
path: "spec/plugin/platform-package-set-v1.schema.json",
|
|
190
|
+
version: "platform-package-set-v1",
|
|
191
|
+
sha256: "4d9979f5205ec047895b64c995312c588d998bb1c1448f6c9c559f1b7ab0d796",
|
|
147
192
|
},
|
|
148
193
|
{
|
|
149
|
-
id: "
|
|
150
|
-
path: "spec/plugin
|
|
151
|
-
version: "
|
|
152
|
-
sha256: "
|
|
194
|
+
id: "plugin-platform-openapi",
|
|
195
|
+
path: "spec/openapi/plugin-platform-v8.yaml",
|
|
196
|
+
version: "plugin-platform-v8",
|
|
197
|
+
sha256: "290883ff79b74badbf9f6feddb4dfbef820a4ef4622a7e3fca815e3abb2c4eac",
|
|
153
198
|
},
|
|
154
199
|
{
|
|
155
|
-
id: "
|
|
156
|
-
path: "spec/plugin/
|
|
157
|
-
version: "
|
|
158
|
-
sha256: "
|
|
200
|
+
id: "process-containment-schema",
|
|
201
|
+
path: "spec/plugin/process-containment-v1.schema.json",
|
|
202
|
+
version: "process-containment-v1",
|
|
203
|
+
sha256: "930ea44b1f62361706e994649e84f62af0a6418b77a661ae9bf9c10f1398e3fc",
|
|
159
204
|
},
|
|
160
205
|
{
|
|
161
|
-
id: "
|
|
162
|
-
path: "spec/plugin/
|
|
163
|
-
version: "
|
|
164
|
-
sha256: "
|
|
206
|
+
id: "quarantine-cleanup-schema",
|
|
207
|
+
path: "spec/plugin/quarantine-cleanup-v1.schema.json",
|
|
208
|
+
version: "quarantine-cleanup-v1",
|
|
209
|
+
sha256: "0aced01a8d409953d5075a799ac273cae79e285ac82debe93ac4d8b706571ad1",
|
|
165
210
|
},
|
|
166
211
|
{
|
|
167
|
-
id: "
|
|
168
|
-
path: "spec/plugin/
|
|
169
|
-
version: "
|
|
170
|
-
sha256: "
|
|
212
|
+
id: "release-metadata-schema",
|
|
213
|
+
path: "spec/plugin/release-metadata-v5.schema.json",
|
|
214
|
+
version: "release-metadata-v5",
|
|
215
|
+
sha256: "255ef3deb7d2758a43e69e533a08aa28106f8edc2e7385ab0aec0d50c1ef3d7a",
|
|
171
216
|
},
|
|
172
217
|
{
|
|
173
|
-
id: "
|
|
174
|
-
path: "spec/plugin/
|
|
175
|
-
version: "
|
|
176
|
-
sha256: "
|
|
218
|
+
id: "release-revocation-pointer-schema",
|
|
219
|
+
path: "spec/plugin/release-revocation-pointer-v1.schema.json",
|
|
220
|
+
version: "release-revocation-pointer-v1",
|
|
221
|
+
sha256: "a9b7b64cb2dbf89500f0d191a6b2b9ab42eb806a452eb8338895a48ec7d7551e",
|
|
177
222
|
},
|
|
178
223
|
{
|
|
179
|
-
id: "
|
|
180
|
-
path: "spec/plugin/
|
|
181
|
-
version: "
|
|
182
|
-
sha256: "
|
|
224
|
+
id: "release-revocation-schema",
|
|
225
|
+
path: "spec/plugin/release-revocation-v2.schema.json",
|
|
226
|
+
version: "release-revocation-v2",
|
|
227
|
+
sha256: "c3b40c05bc0dea422a272ee62ca45d0efb6456278b0707c5a12f39b004b84cb4",
|
|
183
228
|
},
|
|
184
229
|
{
|
|
185
|
-
id: "
|
|
186
|
-
path: "spec/plugin/
|
|
187
|
-
version: "
|
|
188
|
-
sha256: "
|
|
230
|
+
id: "release-root-delegation-schema",
|
|
231
|
+
path: "spec/plugin/release-root-delegation-v1.schema.json",
|
|
232
|
+
version: "release-root-delegation-v1",
|
|
233
|
+
sha256: "c1adbb13eaeeca145d5ee787ff43777e60a5f329e460d20b8db358e4f5fc4825",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: "release-signature-envelope-schema",
|
|
237
|
+
path: "spec/plugin/release-signature-envelope-v1.schema.json",
|
|
238
|
+
version: "release-signature-envelope-v1",
|
|
239
|
+
sha256: "7df9afd22bfdebfa89dc3bdb46ecdbe22a91ecce35fa46c492dd9795c66fae29",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
id: "release-signing-ledger-evidence-schema",
|
|
243
|
+
path: "spec/plugin/release-signing-ledger-evidence-v1.schema.json",
|
|
244
|
+
version: "release-signing-ledger-evidence-v1",
|
|
245
|
+
sha256: "9ab8b7f65dedcd119d578debb4f6ff97fc35f4c7ac95c0e5435f8b0959bc1a5c",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
id: "release-signing-ledger-receipt-schema",
|
|
249
|
+
path: "spec/plugin/release-signing-ledger-receipt-v1.schema.json",
|
|
250
|
+
version: "release-signing-ledger-receipt-v1",
|
|
251
|
+
sha256: "29210cfefd967017c5c74bcf8489bd50511c5c9f36d17b0200056ccb90c30561",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
id: "release-signing-ledger-schema",
|
|
255
|
+
path: "spec/plugin/release-signing-ledger-v1.schema.json",
|
|
256
|
+
version: "release-signing-ledger-v1",
|
|
257
|
+
sha256: "0c72b30bfd6b857b9809e48e1b7eaaeb7134d5afd6a935aa8373465054403765",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
id: "release-signing-subject-schema",
|
|
261
|
+
path: "spec/plugin/release-signing-subject-v1.schema.json",
|
|
262
|
+
version: "release-signing-subject-v1",
|
|
263
|
+
sha256: "876b1459824f90042bd141e96bfea4633333bdf2a227e15b6e25c72db1179c8e",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
id: "release-source-policy-pointer-schema",
|
|
267
|
+
path: "spec/plugin/release-source-policy-pointer-v1.schema.json",
|
|
268
|
+
version: "release-source-policy-pointer-v1",
|
|
269
|
+
sha256: "1a78cc3897ffbcdb605d2e9265d765207a4647d3f53fa5736aec65bf5f54e81c",
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
id: "release-source-policy-schema",
|
|
273
|
+
path: "spec/plugin/release-source-policy-v2.schema.json",
|
|
274
|
+
version: "release-source-policy-v2",
|
|
275
|
+
sha256: "6a5a5eab317a86beea925a611ca8a7a2d937547c039ce147b5993f69a5611237",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
id: "release-trust-state-schema",
|
|
279
|
+
path: "spec/plugin/release-trust-state-v1.schema.json",
|
|
280
|
+
version: "release-trust-state-v1",
|
|
281
|
+
sha256: "19ffa182932a22401a33ee4c9921e957c67895c2d8b041c9a27ee3530bdfb2d2",
|
|
189
282
|
},
|
|
190
283
|
{
|
|
191
284
|
id: "resource-scope-schema",
|
|
@@ -193,6 +286,36 @@ export const redevPluginContractArtifacts = [
|
|
|
193
286
|
version: "resource-scope-v1",
|
|
194
287
|
sha256: "e6021bd576c7220ad5536645a7ad8e57ee7aeb9901c31a89444fa6b695d8dc6f",
|
|
195
288
|
},
|
|
289
|
+
{
|
|
290
|
+
id: "runtime-admission-schema",
|
|
291
|
+
path: "spec/plugin/runtime-admission-v1.schema.json",
|
|
292
|
+
version: "runtime-admission-v1",
|
|
293
|
+
sha256: "bee7b149876447d663a4099dbd71e71fa97f8ff80ddf4e12cbfba951a47c4beb",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
id: "runtime-descriptor-schema",
|
|
297
|
+
path: "spec/plugin/runtime-descriptor-v2.schema.json",
|
|
298
|
+
version: "runtime-descriptor-v2",
|
|
299
|
+
sha256: "2ba59f6fb70d4ad757f60aca5541f4a44886542525e5bf76c393cd2368188351",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
id: "runtime-exec-journal-schema",
|
|
303
|
+
path: "spec/plugin/runtime-exec-journal-v1.schema.json",
|
|
304
|
+
version: "runtime-exec-journal-v1",
|
|
305
|
+
sha256: "2bddbba383843b8ebc1554009909f0bb25e98616be763826a697cb0f408870d2",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: "rust-ipc-schema",
|
|
309
|
+
path: "spec/plugin/ipc-v6.schema.json",
|
|
310
|
+
version: "rust-ipc-v6",
|
|
311
|
+
sha256: "9814ca091ac2e4e8435c1ab553e248e9d2e792de93ce9fd27bd030486774837f",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
id: "session-scope-schema",
|
|
315
|
+
path: "spec/plugin/session-scope-v1.schema.json",
|
|
316
|
+
version: "session-scope-v1",
|
|
317
|
+
sha256: "3df0084264f0aff9fe2261c237cea439adb5cdc2534bfaaa0488d5992d4a7d2e",
|
|
318
|
+
},
|
|
196
319
|
{
|
|
197
320
|
id: "target-classifier-fixture",
|
|
198
321
|
path: "spec/plugin/target-classifier-v2.json",
|
|
@@ -200,9 +323,33 @@ export const redevPluginContractArtifacts = [
|
|
|
200
323
|
sha256: "ae7336cce77a2e820f96f1cc309b93f8442c932dcebec25e3890d31cd098e2d1",
|
|
201
324
|
},
|
|
202
325
|
{
|
|
203
|
-
id: "
|
|
204
|
-
path: "spec/plugin/
|
|
205
|
-
version: "
|
|
206
|
-
sha256: "
|
|
326
|
+
id: "token-ticket-schema",
|
|
327
|
+
path: "spec/plugin/token-ticket-v4.schema.json",
|
|
328
|
+
version: "token-ticket-v4",
|
|
329
|
+
sha256: "5cf365b5b52a331ac0d3ad35a98be3c2ce668804ae88fdeaf9679a44db14feb1",
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
id: "trusted-time-evidence-schema",
|
|
333
|
+
path: "spec/plugin/trusted-time-evidence-v1.schema.json",
|
|
334
|
+
version: "trusted-time-evidence-v1",
|
|
335
|
+
sha256: "4398cbd2a3eea42a85008ee16a69d7adb265673e6749b1f13a4f1610f36e5e38",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
id: "trusted-time-leaf-schema",
|
|
339
|
+
path: "spec/plugin/trusted-time-leaf-v1.schema.json",
|
|
340
|
+
version: "trusted-time-leaf-v1",
|
|
341
|
+
sha256: "1c25eb0040800eef145aa2bb4c0e1ae197ae584d365e9595ab89037e26fe5ddb",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
id: "wasm-worker-schema",
|
|
345
|
+
path: "spec/plugin/wasm-worker-v2.schema.json",
|
|
346
|
+
version: "redevplugin-wasm-worker-v2",
|
|
347
|
+
sha256: "00bf123f3a9ed932de4b71c180e2a5c34af0f82050defb271fedec42cf217902",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
id: "worker-invocation-schema",
|
|
351
|
+
path: "spec/plugin/worker-invocation-v3.schema.json",
|
|
352
|
+
version: "worker-invocation-v3",
|
|
353
|
+
sha256: "f08af491cbf5e7b71d1aeafbeac9ae581ee5fc3bcb76184daec369f94bab3927",
|
|
207
354
|
},
|
|
208
355
|
];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const pluginPlatformErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED"];
|
|
2
|
-
export declare const pluginBridgeErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED", "PLUGIN_CONFIRMATION_REJECTED", "PLUGIN_BRIDGE_CANCELLED", "PLUGIN_BRIDGE_TIMEOUT", "PLUGIN_BRIDGE_DISPOSED", "PLUGIN_BRIDGE_HANDSHAKE_FAILED", "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED"];
|
|
3
|
-
export declare const pluginClientErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED", "PLUGIN_CONFIRMATION_REJECTED", "PLUGIN_BRIDGE_CANCELLED", "PLUGIN_BRIDGE_TIMEOUT", "PLUGIN_BRIDGE_DISPOSED", "PLUGIN_BRIDGE_HANDSHAKE_FAILED", "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED", "PLUGIN_PLATFORM_REQUEST_FAILED", "PLUGIN_STREAM_FAILED"];
|
|
1
|
+
export declare const pluginPlatformErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_SESSION_REVOKED", "PLUGIN_SESSION_TEARDOWN_INCOMPLETE", "PLUGIN_SESSION_FENCE_CAPACITY", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_RUNTIME_CONTRACT_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED"];
|
|
2
|
+
export declare const pluginBridgeErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_SESSION_REVOKED", "PLUGIN_SESSION_TEARDOWN_INCOMPLETE", "PLUGIN_SESSION_FENCE_CAPACITY", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_RUNTIME_CONTRACT_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED", "PLUGIN_CONFIRMATION_REJECTED", "PLUGIN_BRIDGE_CANCELLED", "PLUGIN_BRIDGE_TIMEOUT", "PLUGIN_BRIDGE_DISPOSED", "PLUGIN_BRIDGE_HANDSHAKE_FAILED", "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED"];
|
|
3
|
+
export declare const pluginClientErrorCodes: readonly ["PLUGIN_INVALID_REQUEST", "PLUGIN_MANIFEST_INVALID", "PLUGIN_PACKAGE_INVALID", "PLUGIN_PACKAGE_TOO_LARGE", "PLUGIN_PACKAGE_PATH_FORBIDDEN", "PLUGIN_SIGNATURE_INVALID", "PLUGIN_TRUST_STATE_DENIED", "PLUGIN_TRUST_VERIFICATION_REQUIRED", "PLUGIN_TRUST_VERIFICATION_INVALID", "PLUGIN_RELEASE_REF_VERIFICATION_FAILED", "PLUGIN_RELEASE_REF_POLICY_DENIED", "PLUGIN_DISABLED", "PLUGIN_DISABLED_BY_POLICY", "PLUGIN_PERMISSION_DENIED", "PLUGIN_ORIGIN_DENIED", "PLUGIN_ACTION_DENIED", "PLUGIN_OWNER_SCOPE_MISMATCH", "PLUGIN_SECRET_SCOPE_MISMATCH", "PLUGIN_STORAGE_SCOPE_MISMATCH", "PLUGIN_ADAPTER_FAILURE", "PLUGIN_SESSION_REVOKED", "PLUGIN_SESSION_TEARDOWN_INCOMPLETE", "PLUGIN_SESSION_FENCE_CAPACITY", "PLUGIN_CONFIRMATION_REQUIRED", "PLUGIN_CONFIRMATION_INVALID", "PLUGIN_TOKEN_EXPIRED", "PLUGIN_TOKEN_REPLAY", "PLUGIN_GATEWAY_TOKEN_INVALID", "PLUGIN_GATEWAY_TOKEN_REPLAYED", "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH", "PLUGIN_ASSET_TICKET_INVALID", "PLUGIN_ASSET_SESSION_INVALID", "PLUGIN_STREAM_TICKET_INVALID", "PLUGIN_STREAM_DELIVERY_INVALID", "PLUGIN_STREAM_CANCELLED", "PLUGIN_LEASE_INVALID", "PLUGIN_LEASE_REPLAYED", "PLUGIN_GRANT_INVALID", "PLUGIN_STORAGE_QUOTA_EXCEEDED", "PLUGIN_OPERATION_BLOCKED", "PLUGIN_OPERATION_NOT_FOUND", "PLUGIN_OPERATION_NOT_CANCELABLE", "PLUGIN_NETWORK_TARGET_DENIED", "PLUGIN_NETWORK_RATE_LIMITED", "PLUGIN_RUNTIME_UNAVAILABLE", "PLUGIN_RUNTIME_VERSION_MISMATCH", "PLUGIN_RUNTIME_CONTRACT_MISMATCH", "PLUGIN_UI_PROTOCOL_UNSUPPORTED", "PLUGIN_UI_PROTOCOL_VIOLATION", "PLUGIN_SURFACE_QUIESCE_TIMEOUT", "PLUGIN_JSON_LIMIT_EXCEEDED", "PLUGIN_CAPABILITY_ERROR", "PLUGIN_WORKER_ERROR", "PLUGIN_CONTRACT_MISMATCH", "PLUGIN_MANAGEMENT_REVISION_MISMATCH", "PLUGIN_AUTHORIZATION_REVISION_MISMATCH", "PLUGIN_BINDING_REVISION_MISMATCH", "PLUGIN_VALUES_REVISION_MISMATCH", "PLUGIN_CSRF_REQUIRED", "PLUGIN_CSRF_INVALID", "PLUGIN_FEATURE_NOT_CONFIGURED", "PLUGIN_CONFIRMATION_REJECTED", "PLUGIN_BRIDGE_CANCELLED", "PLUGIN_BRIDGE_TIMEOUT", "PLUGIN_BRIDGE_DISPOSED", "PLUGIN_BRIDGE_HANDSHAKE_FAILED", "PLUGIN_BRIDGE_HANDSHAKE_REQUIRED", "PLUGIN_PLATFORM_REQUEST_FAILED", "PLUGIN_STREAM_FAILED"];
|
|
4
4
|
export declare const runtimeProcessFailureCodes: readonly ["RUNTIME_PROCESS_FAILED", "RUNTIME_PROCESS_EXIT_UNEXPECTED", "RUNTIME_PROCESS_EXIT_UNRECOGNIZED", "RUNTIME_PROCESS_SIGNALLED", "IPC_WRITER_CAPACITY_OVERFLOW", "IPC_WRITER_CAPACITY_LIMIT_EXCEEDED", "IPC_WRITER_START_FAILED", "IPC_WRITER_CLOSED", "IPC_WRITER_BATCH_SIZE_OVERFLOW", "IPC_WRITER_WRITE_FAILED", "IPC_WRITER_FLUSH_FAILED", "IPC_WRITER_PANICKED"];
|
package/dist/error-codes.gen.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from spec/plugin/error-codes-
|
|
1
|
+
// Generated from spec/plugin/error-codes-v6.schema.json. Do not edit.
|
|
2
2
|
export const pluginPlatformErrorCodes = [
|
|
3
3
|
"PLUGIN_INVALID_REQUEST",
|
|
4
4
|
"PLUGIN_MANIFEST_INVALID",
|
|
@@ -20,6 +20,9 @@ export const pluginPlatformErrorCodes = [
|
|
|
20
20
|
"PLUGIN_SECRET_SCOPE_MISMATCH",
|
|
21
21
|
"PLUGIN_STORAGE_SCOPE_MISMATCH",
|
|
22
22
|
"PLUGIN_ADAPTER_FAILURE",
|
|
23
|
+
"PLUGIN_SESSION_REVOKED",
|
|
24
|
+
"PLUGIN_SESSION_TEARDOWN_INCOMPLETE",
|
|
25
|
+
"PLUGIN_SESSION_FENCE_CAPACITY",
|
|
23
26
|
"PLUGIN_CONFIRMATION_REQUIRED",
|
|
24
27
|
"PLUGIN_CONFIRMATION_INVALID",
|
|
25
28
|
"PLUGIN_TOKEN_EXPIRED",
|
|
@@ -43,6 +46,7 @@ export const pluginPlatformErrorCodes = [
|
|
|
43
46
|
"PLUGIN_NETWORK_RATE_LIMITED",
|
|
44
47
|
"PLUGIN_RUNTIME_UNAVAILABLE",
|
|
45
48
|
"PLUGIN_RUNTIME_VERSION_MISMATCH",
|
|
49
|
+
"PLUGIN_RUNTIME_CONTRACT_MISMATCH",
|
|
46
50
|
"PLUGIN_UI_PROTOCOL_UNSUPPORTED",
|
|
47
51
|
"PLUGIN_UI_PROTOCOL_VIOLATION",
|
|
48
52
|
"PLUGIN_SURFACE_QUIESCE_TIMEOUT",
|
|
@@ -79,6 +83,9 @@ export const pluginBridgeErrorCodes = [
|
|
|
79
83
|
"PLUGIN_SECRET_SCOPE_MISMATCH",
|
|
80
84
|
"PLUGIN_STORAGE_SCOPE_MISMATCH",
|
|
81
85
|
"PLUGIN_ADAPTER_FAILURE",
|
|
86
|
+
"PLUGIN_SESSION_REVOKED",
|
|
87
|
+
"PLUGIN_SESSION_TEARDOWN_INCOMPLETE",
|
|
88
|
+
"PLUGIN_SESSION_FENCE_CAPACITY",
|
|
82
89
|
"PLUGIN_CONFIRMATION_REQUIRED",
|
|
83
90
|
"PLUGIN_CONFIRMATION_INVALID",
|
|
84
91
|
"PLUGIN_TOKEN_EXPIRED",
|
|
@@ -102,6 +109,7 @@ export const pluginBridgeErrorCodes = [
|
|
|
102
109
|
"PLUGIN_NETWORK_RATE_LIMITED",
|
|
103
110
|
"PLUGIN_RUNTIME_UNAVAILABLE",
|
|
104
111
|
"PLUGIN_RUNTIME_VERSION_MISMATCH",
|
|
112
|
+
"PLUGIN_RUNTIME_CONTRACT_MISMATCH",
|
|
105
113
|
"PLUGIN_UI_PROTOCOL_UNSUPPORTED",
|
|
106
114
|
"PLUGIN_UI_PROTOCOL_VIOLATION",
|
|
107
115
|
"PLUGIN_SURFACE_QUIESCE_TIMEOUT",
|
|
@@ -144,6 +152,9 @@ export const pluginClientErrorCodes = [
|
|
|
144
152
|
"PLUGIN_SECRET_SCOPE_MISMATCH",
|
|
145
153
|
"PLUGIN_STORAGE_SCOPE_MISMATCH",
|
|
146
154
|
"PLUGIN_ADAPTER_FAILURE",
|
|
155
|
+
"PLUGIN_SESSION_REVOKED",
|
|
156
|
+
"PLUGIN_SESSION_TEARDOWN_INCOMPLETE",
|
|
157
|
+
"PLUGIN_SESSION_FENCE_CAPACITY",
|
|
147
158
|
"PLUGIN_CONFIRMATION_REQUIRED",
|
|
148
159
|
"PLUGIN_CONFIRMATION_INVALID",
|
|
149
160
|
"PLUGIN_TOKEN_EXPIRED",
|
|
@@ -167,6 +178,7 @@ export const pluginClientErrorCodes = [
|
|
|
167
178
|
"PLUGIN_NETWORK_RATE_LIMITED",
|
|
168
179
|
"PLUGIN_RUNTIME_UNAVAILABLE",
|
|
169
180
|
"PLUGIN_RUNTIME_VERSION_MISMATCH",
|
|
181
|
+
"PLUGIN_RUNTIME_CONTRACT_MISMATCH",
|
|
170
182
|
"PLUGIN_UI_PROTOCOL_UNSUPPORTED",
|
|
171
183
|
"PLUGIN_UI_PROTOCOL_VIOLATION",
|
|
172
184
|
"PLUGIN_SURFACE_QUIESCE_TIMEOUT",
|
package/dist/errors.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type PluginPlatformErrorCode = typeof pluginPlatformErrorCodes[number];
|
|
|
4
4
|
export type PluginBridgeErrorCode = typeof pluginBridgeErrorCodes[number];
|
|
5
5
|
export type PluginClientErrorCode = typeof pluginClientErrorCodes[number];
|
|
6
6
|
export type RuntimeProcessFailureCode = typeof runtimeProcessFailureCodes[number];
|
|
7
|
-
export type PluginMutationOutcome = "not_committed" | "unknown";
|
|
7
|
+
export type PluginMutationOutcome = "committed" | "not_committed" | "unknown";
|
|
8
8
|
export declare class PluginPlatformRequestError extends Error {
|
|
9
9
|
readonly errorCode: PluginPlatformErrorCode;
|
|
10
10
|
readonly details: Record<string, unknown>;
|
package/dist/http.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PluginMutationOutcome } from "./errors.js";
|
|
1
2
|
import type { components as PluginPlatformComponents } from "./openapi.gen.js";
|
|
2
3
|
export type FetchLike = (input: string, init: FetchInitLike) => Promise<FetchResponseLike>;
|
|
3
4
|
export type FetchInitLike = {
|
|
@@ -25,11 +26,14 @@ export type MutationPlatformResponse<T> = {
|
|
|
25
26
|
data: T;
|
|
26
27
|
} | {
|
|
27
28
|
ok: false;
|
|
28
|
-
error: PluginPlatformComponents["schemas"]["MutationPlatformError"]
|
|
29
|
+
error: Omit<PluginPlatformComponents["schemas"]["MutationPlatformError"], "mutation_outcome"> & {
|
|
30
|
+
mutation_outcome: PluginMutationOutcome;
|
|
31
|
+
};
|
|
29
32
|
};
|
|
30
33
|
export declare function defaultFetch(): FetchLike;
|
|
31
34
|
export declare function trimTrailingSlash(value: string): string;
|
|
32
35
|
export declare function assertMutationDispatchable(signal: AbortSignal | undefined, operation: string): void;
|
|
36
|
+
export declare function dispatchQueryRequest(fetch: FetchLike, input: string, init: FetchInitLike, operation: string): Promise<FetchResponseLike>;
|
|
33
37
|
export declare function dispatchMutationRequest(fetch: FetchLike, input: string, init: FetchInitLike, operation: string): Promise<FetchResponseLike>;
|
|
34
38
|
export declare function readPlatformResponse<T>(response: FetchResponseLike): Promise<T>;
|
|
35
39
|
export declare function readMutationPlatformResponse<T>(response: FetchResponseLike): Promise<T>;
|