@floegence/redevplugin-ui 3.4.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connections.d.ts +18 -0
- package/dist/connections.js +28 -0
- package/dist/error-codes.gen.d.ts +3 -3
- package/dist/error-codes.gen.js +9 -0
- package/dist/files.d.ts +66 -0
- package/dist/files.js +255 -0
- package/dist/http.js +4 -0
- package/dist/openapi.gen.d.ts +1097 -73
- package/dist/platform.d.ts +16 -0
- package/dist/platform.js +30 -0
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.js +2 -0
- package/dist/surface.d.ts +3 -0
- package/dist/surface.js +74 -0
- package/dist/testing.d.ts +2 -0
- package/dist/trusted-parent.d.ts +1 -0
- package/package.json +2 -2
package/dist/openapi.gen.d.ts
CHANGED
|
@@ -3,6 +3,182 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
"/_redevplugin/api/plugins/connections/review": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
get?: never;
|
|
14
|
+
put?: never;
|
|
15
|
+
post: operations["reviewConnection"];
|
|
16
|
+
delete?: never;
|
|
17
|
+
options?: never;
|
|
18
|
+
head?: never;
|
|
19
|
+
patch?: never;
|
|
20
|
+
trace?: never;
|
|
21
|
+
};
|
|
22
|
+
"/_redevplugin/api/plugins/connections/approve": {
|
|
23
|
+
parameters: {
|
|
24
|
+
query?: never;
|
|
25
|
+
header?: never;
|
|
26
|
+
path?: never;
|
|
27
|
+
cookie?: never;
|
|
28
|
+
};
|
|
29
|
+
get?: never;
|
|
30
|
+
put?: never;
|
|
31
|
+
post: operations["approveConnection"];
|
|
32
|
+
delete?: never;
|
|
33
|
+
options?: never;
|
|
34
|
+
head?: never;
|
|
35
|
+
patch?: never;
|
|
36
|
+
trace?: never;
|
|
37
|
+
};
|
|
38
|
+
"/_redevplugin/api/plugins/connections/cancel": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
get?: never;
|
|
46
|
+
put?: never;
|
|
47
|
+
post: operations["cancelConnectionReview"];
|
|
48
|
+
delete?: never;
|
|
49
|
+
options?: never;
|
|
50
|
+
head?: never;
|
|
51
|
+
patch?: never;
|
|
52
|
+
trace?: never;
|
|
53
|
+
};
|
|
54
|
+
"/_redevplugin/api/plugins/connections/query": {
|
|
55
|
+
parameters: {
|
|
56
|
+
query?: never;
|
|
57
|
+
header?: never;
|
|
58
|
+
path?: never;
|
|
59
|
+
cookie?: never;
|
|
60
|
+
};
|
|
61
|
+
get?: never;
|
|
62
|
+
put?: never;
|
|
63
|
+
post: operations["listConnections"];
|
|
64
|
+
delete?: never;
|
|
65
|
+
options?: never;
|
|
66
|
+
head?: never;
|
|
67
|
+
patch?: never;
|
|
68
|
+
trace?: never;
|
|
69
|
+
};
|
|
70
|
+
"/_redevplugin/api/plugins/connections/revoke": {
|
|
71
|
+
parameters: {
|
|
72
|
+
query?: never;
|
|
73
|
+
header?: never;
|
|
74
|
+
path?: never;
|
|
75
|
+
cookie?: never;
|
|
76
|
+
};
|
|
77
|
+
get?: never;
|
|
78
|
+
put?: never;
|
|
79
|
+
post: operations["revokeConnection"];
|
|
80
|
+
delete?: never;
|
|
81
|
+
options?: never;
|
|
82
|
+
head?: never;
|
|
83
|
+
patch?: never;
|
|
84
|
+
trace?: never;
|
|
85
|
+
};
|
|
86
|
+
"/_redevplugin/api/plugins/file-resources/select": {
|
|
87
|
+
parameters: {
|
|
88
|
+
query?: never;
|
|
89
|
+
header?: never;
|
|
90
|
+
path?: never;
|
|
91
|
+
cookie?: never;
|
|
92
|
+
};
|
|
93
|
+
get?: never;
|
|
94
|
+
put?: never;
|
|
95
|
+
post: operations["selectFileResource"];
|
|
96
|
+
delete?: never;
|
|
97
|
+
options?: never;
|
|
98
|
+
head?: never;
|
|
99
|
+
patch?: never;
|
|
100
|
+
trace?: never;
|
|
101
|
+
};
|
|
102
|
+
"/_redevplugin/api/plugins/file-resources/approve": {
|
|
103
|
+
parameters: {
|
|
104
|
+
query?: never;
|
|
105
|
+
header?: never;
|
|
106
|
+
path?: never;
|
|
107
|
+
cookie?: never;
|
|
108
|
+
};
|
|
109
|
+
get?: never;
|
|
110
|
+
put?: never;
|
|
111
|
+
post: operations["approveFileResource"];
|
|
112
|
+
delete?: never;
|
|
113
|
+
options?: never;
|
|
114
|
+
head?: never;
|
|
115
|
+
patch?: never;
|
|
116
|
+
trace?: never;
|
|
117
|
+
};
|
|
118
|
+
"/_redevplugin/api/plugins/file-resources/cancel": {
|
|
119
|
+
parameters: {
|
|
120
|
+
query?: never;
|
|
121
|
+
header?: never;
|
|
122
|
+
path?: never;
|
|
123
|
+
cookie?: never;
|
|
124
|
+
};
|
|
125
|
+
get?: never;
|
|
126
|
+
put?: never;
|
|
127
|
+
post: operations["cancelFileResource"];
|
|
128
|
+
delete?: never;
|
|
129
|
+
options?: never;
|
|
130
|
+
head?: never;
|
|
131
|
+
patch?: never;
|
|
132
|
+
trace?: never;
|
|
133
|
+
};
|
|
134
|
+
"/_redevplugin/api/plugins/file-resources/query": {
|
|
135
|
+
parameters: {
|
|
136
|
+
query?: never;
|
|
137
|
+
header?: never;
|
|
138
|
+
path?: never;
|
|
139
|
+
cookie?: never;
|
|
140
|
+
};
|
|
141
|
+
get?: never;
|
|
142
|
+
put?: never;
|
|
143
|
+
post: operations["listFileResources"];
|
|
144
|
+
delete?: never;
|
|
145
|
+
options?: never;
|
|
146
|
+
head?: never;
|
|
147
|
+
patch?: never;
|
|
148
|
+
trace?: never;
|
|
149
|
+
};
|
|
150
|
+
"/_redevplugin/api/plugins/file-resources/revoke": {
|
|
151
|
+
parameters: {
|
|
152
|
+
query?: never;
|
|
153
|
+
header?: never;
|
|
154
|
+
path?: never;
|
|
155
|
+
cookie?: never;
|
|
156
|
+
};
|
|
157
|
+
get?: never;
|
|
158
|
+
put?: never;
|
|
159
|
+
post: operations["revokeFileResource"];
|
|
160
|
+
delete?: never;
|
|
161
|
+
options?: never;
|
|
162
|
+
head?: never;
|
|
163
|
+
patch?: never;
|
|
164
|
+
trace?: never;
|
|
165
|
+
};
|
|
166
|
+
"/_redevplugin/api/plugins/file-resources/surface-io": {
|
|
167
|
+
parameters: {
|
|
168
|
+
query?: never;
|
|
169
|
+
header?: never;
|
|
170
|
+
path?: never;
|
|
171
|
+
cookie?: never;
|
|
172
|
+
};
|
|
173
|
+
get?: never;
|
|
174
|
+
put?: never;
|
|
175
|
+
post: operations["surfaceFileIO"];
|
|
176
|
+
delete?: never;
|
|
177
|
+
options?: never;
|
|
178
|
+
head?: never;
|
|
179
|
+
patch?: never;
|
|
180
|
+
trace?: never;
|
|
181
|
+
};
|
|
6
182
|
"/_redevplugin/api/plugins/{plugin_instance_id}/local-import": {
|
|
7
183
|
parameters: {
|
|
8
184
|
query?: never;
|
|
@@ -872,6 +1048,101 @@ export interface paths {
|
|
|
872
1048
|
export type webhooks = Record<string, never>;
|
|
873
1049
|
export interface components {
|
|
874
1050
|
schemas: {
|
|
1051
|
+
ReviewConnectionSuccessResponse: {
|
|
1052
|
+
/** @constant */
|
|
1053
|
+
ok: true;
|
|
1054
|
+
data: components["schemas"]["ConnectionsReviewResult"];
|
|
1055
|
+
};
|
|
1056
|
+
ApproveConnectionSuccessResponse: {
|
|
1057
|
+
/** @constant */
|
|
1058
|
+
ok: true;
|
|
1059
|
+
data: components["schemas"]["ConnectionsConnection"];
|
|
1060
|
+
};
|
|
1061
|
+
CancelConnectionReviewSuccessResponse: {
|
|
1062
|
+
/** @constant */
|
|
1063
|
+
ok: true;
|
|
1064
|
+
data: {
|
|
1065
|
+
/** @constant */
|
|
1066
|
+
canceled: true;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
ListConnectionsSuccessResponse: {
|
|
1070
|
+
/** @constant */
|
|
1071
|
+
ok: true;
|
|
1072
|
+
data: components["schemas"]["ConnectionsConnectionList"];
|
|
1073
|
+
};
|
|
1074
|
+
RevokeConnectionSuccessResponse: {
|
|
1075
|
+
/** @constant */
|
|
1076
|
+
ok: true;
|
|
1077
|
+
data: {
|
|
1078
|
+
/** @constant */
|
|
1079
|
+
revoked: true;
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
ConnectionReviewRequest: components["schemas"]["ConnectionsReviewRequest"];
|
|
1083
|
+
ConnectionReviewReference: components["schemas"]["ConnectionsReviewReference"];
|
|
1084
|
+
ConnectionListRequest: components["schemas"]["ConnectionsListRequest"];
|
|
1085
|
+
ConnectionRevokeRequest: components["schemas"]["ConnectionsRevokeRequest"];
|
|
1086
|
+
ConnectionInfo: components["schemas"]["ConnectionsConnection"];
|
|
1087
|
+
SelectFileResourceSuccessResponse: {
|
|
1088
|
+
/** @constant */
|
|
1089
|
+
ok: true;
|
|
1090
|
+
data: components["schemas"]["FileResourcesSelectionResult"];
|
|
1091
|
+
};
|
|
1092
|
+
ApproveFileResourceSuccessResponse: {
|
|
1093
|
+
/** @constant */
|
|
1094
|
+
ok: true;
|
|
1095
|
+
data: components["schemas"]["FileResourcesResource"];
|
|
1096
|
+
};
|
|
1097
|
+
CancelFileResourceSuccessResponse: {
|
|
1098
|
+
/** @constant */
|
|
1099
|
+
ok: true;
|
|
1100
|
+
data: {
|
|
1101
|
+
/** @constant */
|
|
1102
|
+
canceled: true;
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
ListFileResourcesSuccessResponse: {
|
|
1106
|
+
/** @constant */
|
|
1107
|
+
ok: true;
|
|
1108
|
+
data: components["schemas"]["FileResourcesResourceList"];
|
|
1109
|
+
};
|
|
1110
|
+
RevokeFileResourceSuccessResponse: {
|
|
1111
|
+
/** @constant */
|
|
1112
|
+
ok: true;
|
|
1113
|
+
data: {
|
|
1114
|
+
/** @constant */
|
|
1115
|
+
revoked: true;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
SurfaceFileIOSuccessResponse: {
|
|
1119
|
+
/** @constant */
|
|
1120
|
+
ok: true;
|
|
1121
|
+
data: components["schemas"]["FileResourcesIoResult"];
|
|
1122
|
+
};
|
|
1123
|
+
FileSelectRequest: components["schemas"]["FileResourcesSelectRequest"];
|
|
1124
|
+
FileReviewRequest: components["schemas"]["FileResourcesReviewRequest"];
|
|
1125
|
+
FileListRequest: components["schemas"]["FileResourcesListRequest"];
|
|
1126
|
+
FileRevokeRequest: components["schemas"]["FileResourcesRevokeRequest"];
|
|
1127
|
+
FileResource: components["schemas"]["FileResourcesResource"];
|
|
1128
|
+
FileResourceReview: components["schemas"]["FileResourcesReview"];
|
|
1129
|
+
FileIORequest: components["schemas"]["FileResourcesIoRequest"];
|
|
1130
|
+
FileIOResult: components["schemas"]["FileResourcesIoResult"];
|
|
1131
|
+
FileSelectionOptions: components["schemas"]["FileResourcesSelectOptions"];
|
|
1132
|
+
FileErrorDetails: components["schemas"]["FileResourcesErrorDetails"];
|
|
1133
|
+
FilePlatformError: {
|
|
1134
|
+
/** @constant */
|
|
1135
|
+
code: "PLUGIN_FILE_OPERATION_FAILED";
|
|
1136
|
+
message: components["schemas"]["PlatformErrorMessage"];
|
|
1137
|
+
details: components["schemas"]["FileErrorDetails"];
|
|
1138
|
+
};
|
|
1139
|
+
MutationFilePlatformError: {
|
|
1140
|
+
/** @constant */
|
|
1141
|
+
code: "PLUGIN_FILE_OPERATION_FAILED";
|
|
1142
|
+
message: components["schemas"]["PlatformErrorMessage"];
|
|
1143
|
+
details: components["schemas"]["FileErrorDetails"];
|
|
1144
|
+
mutation_outcome: components["schemas"]["MutationOutcome"];
|
|
1145
|
+
};
|
|
875
1146
|
PlatformErrorResponse: {
|
|
876
1147
|
/** @constant */
|
|
877
1148
|
ok: false;
|
|
@@ -935,7 +1206,7 @@ export interface components {
|
|
|
935
1206
|
PluginFeaturesSuccessResponse: {
|
|
936
1207
|
/** @constant */
|
|
937
1208
|
ok: true;
|
|
938
|
-
data: ("release" | "runtime" | "capability" | "connectivity" | "secrets" | "core_action" | "external_package")[];
|
|
1209
|
+
data: ("release" | "runtime" | "capability" | "io" | "connectivity" | "secrets" | "core_action" | "external_package" | "process" | "background" | "files")[];
|
|
939
1210
|
};
|
|
940
1211
|
PluginMethodConfirmationPreparationSuccessResponse: {
|
|
941
1212
|
/** @constant */
|
|
@@ -1072,8 +1343,8 @@ export interface components {
|
|
|
1072
1343
|
ok: true;
|
|
1073
1344
|
data: components["schemas"]["PluginSettingsSnapshot"];
|
|
1074
1345
|
};
|
|
1075
|
-
PlatformError: components["schemas"]["GenericPlatformError"] | components["schemas"]["JSONLimitPlatformError"] | components["schemas"]["PackageValidationPlatformError"] | components["schemas"]["ManagementRevisionPlatformError"] | components["schemas"]["AuthorizationRevisionPlatformError"] | components["schemas"]["BindingRevisionPlatformError"] | components["schemas"]["ValuesRevisionPlatformError"] | components["schemas"]["CapabilityPlatformError"] | components["schemas"]["WorkerPlatformError"];
|
|
1076
|
-
MutationPlatformError: components["schemas"]["MutationGenericPlatformError"] | components["schemas"]["MutationJSONLimitPlatformError"] | components["schemas"]["MutationPackageValidationPlatformError"] | components["schemas"]["MutationManagementRevisionPlatformError"] | components["schemas"]["MutationAuthorizationRevisionPlatformError"] | components["schemas"]["MutationBindingRevisionPlatformError"] | components["schemas"]["MutationValuesRevisionPlatformError"] | components["schemas"]["MutationCapabilityPlatformError"] | components["schemas"]["MutationWorkerPlatformError"] | components["schemas"]["MutationSessionTeardownPlatformError"];
|
|
1346
|
+
PlatformError: components["schemas"]["GenericPlatformError"] | components["schemas"]["JSONLimitPlatformError"] | components["schemas"]["PackageValidationPlatformError"] | components["schemas"]["ManagementRevisionPlatformError"] | components["schemas"]["AuthorizationRevisionPlatformError"] | components["schemas"]["BindingRevisionPlatformError"] | components["schemas"]["ValuesRevisionPlatformError"] | components["schemas"]["CapabilityPlatformError"] | components["schemas"]["WorkerPlatformError"] | components["schemas"]["FilePlatformError"];
|
|
1347
|
+
MutationPlatformError: components["schemas"]["MutationGenericPlatformError"] | components["schemas"]["MutationJSONLimitPlatformError"] | components["schemas"]["MutationPackageValidationPlatformError"] | components["schemas"]["MutationManagementRevisionPlatformError"] | components["schemas"]["MutationAuthorizationRevisionPlatformError"] | components["schemas"]["MutationBindingRevisionPlatformError"] | components["schemas"]["MutationValuesRevisionPlatformError"] | components["schemas"]["MutationCapabilityPlatformError"] | components["schemas"]["MutationWorkerPlatformError"] | components["schemas"]["MutationFilePlatformError"] | components["schemas"]["MutationSessionTeardownPlatformError"];
|
|
1077
1348
|
GenericPlatformError: {
|
|
1078
1349
|
code: components["schemas"]["GenericPlatformErrorCode"];
|
|
1079
1350
|
message: components["schemas"]["PlatformErrorMessage"];
|
|
@@ -1257,7 +1528,7 @@ export interface components {
|
|
|
1257
1528
|
ErrorCode: components["schemas"]["ErrorCodesPlatformErrorCode"];
|
|
1258
1529
|
PlatformErrorMessage: string;
|
|
1259
1530
|
/** @enum {string} */
|
|
1260
|
-
GenericPlatformErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_RETAINED_DATA_INCOMPATIBLE" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
|
|
1531
|
+
GenericPlatformErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_RETAINED_DATA_INCOMPATIBLE" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_CONNECTION_UNAVAILABLE" | "PLUGIN_CONNECTION_CONFLICT" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_CONTRACT_MISMATCH" | "PLUGIN_CSRF_REQUIRED" | "PLUGIN_CSRF_INVALID" | "PLUGIN_FEATURE_NOT_CONFIGURED";
|
|
1261
1532
|
SurfaceDisposeResult: {
|
|
1262
1533
|
/** @constant */
|
|
1263
1534
|
disposed: true;
|
|
@@ -1342,6 +1613,7 @@ export interface components {
|
|
|
1342
1613
|
PluginPermissionRequirementMethod: {
|
|
1343
1614
|
method: string;
|
|
1344
1615
|
required_permissions: string[];
|
|
1616
|
+
resource_permissions?: ("fs.selected.read" | "fs.selected.write")[];
|
|
1345
1617
|
};
|
|
1346
1618
|
PluginPermissionRequirementContract: {
|
|
1347
1619
|
contract_id: string;
|
|
@@ -1359,6 +1631,7 @@ export interface components {
|
|
|
1359
1631
|
contracts: components["schemas"]["PluginPermissionRequirementContract"][];
|
|
1360
1632
|
methods?: components["schemas"]["PluginPermissionRequirementMethod"][];
|
|
1361
1633
|
required_permissions: string[];
|
|
1634
|
+
resource_permissions?: ("fs.selected.read" | "fs.selected.write")[];
|
|
1362
1635
|
};
|
|
1363
1636
|
AuthorizationRevisions: {
|
|
1364
1637
|
policy_revision: number;
|
|
@@ -1796,10 +2069,17 @@ export interface components {
|
|
|
1796
2069
|
};
|
|
1797
2070
|
ExternalPackageNetworkMethodAccessSummary: {
|
|
1798
2071
|
method: string;
|
|
1799
|
-
operations: ("http" | "http_stream" | "
|
|
2072
|
+
operations: ("http" | "http_stream" | "websocket" | "tcp" | "udp")[];
|
|
2073
|
+
http_methods: ("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS")[];
|
|
2074
|
+
};
|
|
2075
|
+
ExternalPackageNetworkSurfaceAccessSummary: {
|
|
2076
|
+
surface_id: string;
|
|
2077
|
+
operations: ("http" | "http_stream")[];
|
|
1800
2078
|
http_methods: ("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS")[];
|
|
1801
2079
|
};
|
|
1802
2080
|
ExternalPackageNetworkSummary: {
|
|
2081
|
+
configurable: boolean;
|
|
2082
|
+
surface_access: components["schemas"]["ExternalPackageNetworkSurfaceAccessSummary"][];
|
|
1803
2083
|
connector_id: string;
|
|
1804
2084
|
/** @enum {string} */
|
|
1805
2085
|
transport: "http" | "websocket" | "tcp" | "udp";
|
|
@@ -2444,61 +2724,523 @@ export interface components {
|
|
|
2444
2724
|
};
|
|
2445
2725
|
remove?: string[];
|
|
2446
2726
|
};
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2727
|
+
Connections: components["schemas"]["ConnectionsReviewRequest"] | components["schemas"]["ConnectionsReviewReference"] | components["schemas"]["ConnectionsListRequest"] | components["schemas"]["ConnectionsRevokeRequest"] | components["schemas"]["ConnectionsReview"] | components["schemas"]["ConnectionsConnection"] | components["schemas"]["ConnectionsWebConnection"] | components["schemas"]["ConnectionsReviewResult"] | components["schemas"]["ConnectionsConnectionList"];
|
|
2728
|
+
ConnectionsReviewRequest: {
|
|
2729
|
+
plugin_instance_id: string;
|
|
2730
|
+
connector_id: string;
|
|
2731
|
+
destination: string;
|
|
2732
|
+
expected_revision: number;
|
|
2733
|
+
http_methods?: ("GET" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
2734
|
+
secret_ref?: string;
|
|
2735
|
+
private_prefixes?: string[];
|
|
2736
|
+
};
|
|
2737
|
+
ConnectionsReviewReference: {
|
|
2738
|
+
plugin_instance_id: string;
|
|
2739
|
+
review_id: string;
|
|
2740
|
+
};
|
|
2741
|
+
ConnectionsListRequest: {
|
|
2742
|
+
plugin_instance_id: string;
|
|
2743
|
+
};
|
|
2744
|
+
ConnectionsRevokeRequest: {
|
|
2745
|
+
plugin_instance_id: string;
|
|
2746
|
+
connector_id: string;
|
|
2747
|
+
expected_revision: number;
|
|
2748
|
+
};
|
|
2749
|
+
ConnectionsReview: {
|
|
2750
|
+
plugin_instance_id: string;
|
|
2751
|
+
connector_id: string;
|
|
2752
|
+
destination: string;
|
|
2753
|
+
expected_revision: number;
|
|
2754
|
+
http_methods?: ("GET" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
2755
|
+
secret_ref?: string;
|
|
2756
|
+
private_prefixes?: string[];
|
|
2757
|
+
review_id: string;
|
|
2758
|
+
/** @enum {unknown} */
|
|
2759
|
+
scope: "user" | "environment";
|
|
2760
|
+
/** Format: date-time */
|
|
2761
|
+
review_expires_at: string;
|
|
2762
|
+
/** Format: date-time */
|
|
2763
|
+
expires_at: string;
|
|
2764
|
+
};
|
|
2765
|
+
ConnectionsConnection: {
|
|
2766
|
+
connector_id: string;
|
|
2767
|
+
connection_id?: string;
|
|
2768
|
+
/** @enum {unknown} */
|
|
2769
|
+
scope: "user" | "environment";
|
|
2770
|
+
destination?: string;
|
|
2771
|
+
http_methods?: ("GET" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
2772
|
+
secret_ref?: string;
|
|
2773
|
+
private_prefixes?: string[];
|
|
2774
|
+
revision: number;
|
|
2775
|
+
/** @enum {unknown} */
|
|
2776
|
+
status: "fixed" | "unconfigured" | "active" | "expired" | "revoked" | "stale";
|
|
2777
|
+
/** Format: date-time */
|
|
2778
|
+
expires_at?: string;
|
|
2779
|
+
};
|
|
2780
|
+
ConnectionsWebConnection: {
|
|
2781
|
+
connector_id: string;
|
|
2782
|
+
connection_id: string;
|
|
2783
|
+
base_path: string;
|
|
2784
|
+
http_methods: ("GET" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "DELETE")[];
|
|
2785
|
+
};
|
|
2786
|
+
ConnectionsReviewResult: {
|
|
2787
|
+
review: components["schemas"]["ConnectionsReview"];
|
|
2788
|
+
};
|
|
2789
|
+
ConnectionsConnectionList: {
|
|
2790
|
+
connections: components["schemas"]["ConnectionsConnection"][];
|
|
2791
|
+
};
|
|
2792
|
+
/** @description Host-owned selection, approval, durable authority and bounded surface I/O. Permission declarations are ceilings, never grants. Selected resource watches are unsupported. */
|
|
2793
|
+
FileResources: components["schemas"]["FileResourcesResource"] | components["schemas"]["FileResourcesReview"] | components["schemas"]["FileResourcesIoRequest"];
|
|
2794
|
+
FileResourcesResourceId: string;
|
|
2795
|
+
/** @description Canonical positive 63-bit decimal handle. Values above 9223372036854775807 are rejected. */
|
|
2796
|
+
FileResourcesHandle: string;
|
|
2797
|
+
/** @description Opaque resource URI. Unicode paths normalize to NFC; traversal, encoded separators and empty segments are rejected. */
|
|
2798
|
+
FileResourcesUri: string;
|
|
2799
|
+
FileResourcesSelectOptions: {
|
|
2800
|
+
/** @enum {unknown} */
|
|
2801
|
+
kind: "file" | "directory";
|
|
2802
|
+
recursive?: boolean;
|
|
2803
|
+
writable?: boolean;
|
|
2804
|
+
} & unknown;
|
|
2805
|
+
FileResourcesSelectRequest: {
|
|
2806
|
+
plugin_instance_id: string;
|
|
2807
|
+
/** @enum {unknown} */
|
|
2808
|
+
kind: "file" | "directory";
|
|
2809
|
+
recursive?: boolean;
|
|
2810
|
+
writable?: boolean;
|
|
2811
|
+
} & unknown;
|
|
2812
|
+
FileResourcesReview: {
|
|
2813
|
+
review_id: string;
|
|
2814
|
+
plugin_instance_id: string;
|
|
2815
|
+
name: string;
|
|
2816
|
+
/** @enum {unknown} */
|
|
2817
|
+
kind: "file" | "directory";
|
|
2818
|
+
recursive: boolean;
|
|
2819
|
+
writable: boolean;
|
|
2820
|
+
/** Format: date-time */
|
|
2821
|
+
review_expires_at: string;
|
|
2822
|
+
/** Format: date-time */
|
|
2823
|
+
resource_expires_at: string;
|
|
2824
|
+
} & unknown;
|
|
2825
|
+
FileResourcesReviewRequest: {
|
|
2826
|
+
plugin_instance_id: string;
|
|
2827
|
+
review_id: string;
|
|
2828
|
+
};
|
|
2829
|
+
FileResourcesListRequest: {
|
|
2830
|
+
plugin_instance_id: string;
|
|
2831
|
+
};
|
|
2832
|
+
FileResourcesRevokeRequest: {
|
|
2833
|
+
plugin_instance_id: string;
|
|
2834
|
+
resource_id: components["schemas"]["FileResourcesResourceId"];
|
|
2835
|
+
expected_revision: number;
|
|
2836
|
+
};
|
|
2837
|
+
FileResourcesResource: {
|
|
2838
|
+
resource_id: components["schemas"]["FileResourcesResourceId"];
|
|
2839
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2840
|
+
name: string;
|
|
2841
|
+
/** @enum {unknown} */
|
|
2842
|
+
kind: "file" | "directory";
|
|
2843
|
+
recursive: boolean;
|
|
2844
|
+
writable: boolean;
|
|
2845
|
+
revision: number;
|
|
2846
|
+
/** Format: date-time */
|
|
2847
|
+
expires_at: string;
|
|
2848
|
+
/** @enum {unknown} */
|
|
2849
|
+
status: "active" | "revoked" | "expired" | "unavailable";
|
|
2850
|
+
} & unknown;
|
|
2851
|
+
FileResourcesSelectionResult: {
|
|
2852
|
+
/** @constant */
|
|
2853
|
+
canceled: true;
|
|
2854
|
+
} | {
|
|
2855
|
+
review: components["schemas"]["FileResourcesReview"];
|
|
2856
|
+
};
|
|
2857
|
+
FileResourcesResourceList: {
|
|
2858
|
+
resources: components["schemas"]["FileResourcesResource"][];
|
|
2859
|
+
};
|
|
2860
|
+
FileResourcesErrorDetails: {
|
|
2861
|
+
/** @enum {unknown} */
|
|
2862
|
+
file_error_code: "INVALID_ARGUMENT" | "PERMISSION_DENIED" | "NOT_FOUND" | "NOT_EMPTY" | "ALREADY_EXISTS" | "RESOURCE_CLOSED" | "RESOURCE_LIMIT" | "CROSS_DEVICE" | "MOUNT_UNAVAILABLE" | "RUNTIME_UNAVAILABLE" | "CANCELED" | "TIMEOUT" | "IO_ERROR";
|
|
2863
|
+
file_retryable: boolean;
|
|
2864
|
+
};
|
|
2865
|
+
/** @enum {unknown} */
|
|
2866
|
+
FileResourcesOperation: "select" | "fs.open" | "fs.stat" | "fs.read_dir.open" | "fs.mkdir" | "fs.remove" | "fs.rename" | "fs.copy" | "fs.set_times" | "read" | "write" | "seek" | "close" | "sync" | "read_dir.next";
|
|
2867
|
+
FileResourcesIoRequest: {
|
|
2868
|
+
/** @constant */
|
|
2869
|
+
operation: "select";
|
|
2870
|
+
arguments: components["schemas"]["FileResourcesSelectOptions"];
|
|
2871
|
+
} | {
|
|
2872
|
+
/** @constant */
|
|
2873
|
+
operation: "fs.open";
|
|
2874
|
+
arguments: {
|
|
2875
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2876
|
+
options: {
|
|
2877
|
+
read?: boolean;
|
|
2878
|
+
write?: boolean;
|
|
2879
|
+
create?: boolean;
|
|
2880
|
+
create_new?: boolean;
|
|
2881
|
+
truncate?: boolean;
|
|
2882
|
+
append?: boolean;
|
|
2883
|
+
mode?: number;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
} | {
|
|
2887
|
+
/** @constant */
|
|
2888
|
+
operation: "fs.stat";
|
|
2889
|
+
arguments: {
|
|
2890
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2891
|
+
follow_symlinks?: boolean;
|
|
2892
|
+
};
|
|
2893
|
+
} | {
|
|
2894
|
+
/** @constant */
|
|
2895
|
+
operation: "fs.read_dir.open";
|
|
2896
|
+
arguments: {
|
|
2897
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2898
|
+
};
|
|
2899
|
+
} | {
|
|
2900
|
+
/** @constant */
|
|
2901
|
+
operation: "fs.mkdir";
|
|
2902
|
+
arguments: {
|
|
2903
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2904
|
+
recursive?: boolean;
|
|
2905
|
+
mode?: number;
|
|
2906
|
+
};
|
|
2907
|
+
} | {
|
|
2908
|
+
/** @constant */
|
|
2909
|
+
operation: "fs.remove";
|
|
2910
|
+
arguments: {
|
|
2911
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2912
|
+
recursive?: boolean;
|
|
2913
|
+
};
|
|
2914
|
+
} | {
|
|
2915
|
+
/** @constant */
|
|
2916
|
+
operation: "fs.rename";
|
|
2917
|
+
arguments: {
|
|
2918
|
+
from: components["schemas"]["FileResourcesUri"];
|
|
2919
|
+
to: components["schemas"]["FileResourcesUri"];
|
|
2920
|
+
overwrite?: boolean;
|
|
2921
|
+
};
|
|
2922
|
+
} | {
|
|
2923
|
+
/** @constant */
|
|
2924
|
+
operation: "fs.copy";
|
|
2925
|
+
arguments: {
|
|
2926
|
+
from: components["schemas"]["FileResourcesUri"];
|
|
2927
|
+
to: components["schemas"]["FileResourcesUri"];
|
|
2928
|
+
overwrite?: boolean;
|
|
2929
|
+
};
|
|
2930
|
+
} | {
|
|
2931
|
+
/** @constant */
|
|
2932
|
+
operation: "fs.set_times";
|
|
2933
|
+
arguments: {
|
|
2934
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2935
|
+
accessed_unix_ms: number;
|
|
2936
|
+
modified_unix_ms: number;
|
|
2937
|
+
};
|
|
2938
|
+
} | {
|
|
2939
|
+
/** @constant */
|
|
2940
|
+
operation: "read";
|
|
2941
|
+
arguments: {
|
|
2942
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2943
|
+
length: number;
|
|
2944
|
+
};
|
|
2945
|
+
} | {
|
|
2946
|
+
/** @constant */
|
|
2947
|
+
operation: "write";
|
|
2948
|
+
arguments: {
|
|
2949
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2950
|
+
data: string;
|
|
2951
|
+
};
|
|
2952
|
+
} | {
|
|
2953
|
+
/** @constant */
|
|
2954
|
+
operation: "seek";
|
|
2955
|
+
arguments: {
|
|
2956
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2957
|
+
offset: string;
|
|
2958
|
+
/** @enum {unknown} */
|
|
2959
|
+
whence?: 0 | 1 | 2;
|
|
2960
|
+
};
|
|
2961
|
+
} | {
|
|
2962
|
+
/** @constant */
|
|
2963
|
+
operation: "close";
|
|
2964
|
+
arguments: {
|
|
2965
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2966
|
+
};
|
|
2967
|
+
} | {
|
|
2968
|
+
/** @constant */
|
|
2969
|
+
operation: "sync";
|
|
2970
|
+
arguments: {
|
|
2971
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2972
|
+
};
|
|
2973
|
+
} | {
|
|
2974
|
+
/** @constant */
|
|
2975
|
+
operation: "read_dir.next";
|
|
2976
|
+
arguments: {
|
|
2977
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
2978
|
+
limit: number;
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
FileResourcesSurfaceRequest: {
|
|
2982
|
+
plugin_instance_id: string;
|
|
2983
|
+
surface_instance_id: string;
|
|
2984
|
+
bridge_channel_id: string;
|
|
2985
|
+
plugin_gateway_token: string;
|
|
2986
|
+
/** @constant */
|
|
2987
|
+
operation: "select";
|
|
2988
|
+
arguments: components["schemas"]["FileResourcesSelectOptions"];
|
|
2989
|
+
} | {
|
|
2990
|
+
plugin_instance_id: string;
|
|
2991
|
+
surface_instance_id: string;
|
|
2992
|
+
bridge_channel_id: string;
|
|
2993
|
+
plugin_gateway_token: string;
|
|
2994
|
+
/** @constant */
|
|
2995
|
+
operation: "fs.open";
|
|
2996
|
+
arguments: {
|
|
2997
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
2998
|
+
options: {
|
|
2999
|
+
read?: boolean;
|
|
3000
|
+
write?: boolean;
|
|
3001
|
+
create?: boolean;
|
|
3002
|
+
create_new?: boolean;
|
|
3003
|
+
truncate?: boolean;
|
|
3004
|
+
append?: boolean;
|
|
3005
|
+
mode?: number;
|
|
3006
|
+
};
|
|
3007
|
+
};
|
|
3008
|
+
} | {
|
|
3009
|
+
plugin_instance_id: string;
|
|
3010
|
+
surface_instance_id: string;
|
|
3011
|
+
bridge_channel_id: string;
|
|
3012
|
+
plugin_gateway_token: string;
|
|
3013
|
+
/** @constant */
|
|
3014
|
+
operation: "fs.stat";
|
|
3015
|
+
arguments: {
|
|
3016
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3017
|
+
follow_symlinks?: boolean;
|
|
3018
|
+
};
|
|
3019
|
+
} | {
|
|
3020
|
+
plugin_instance_id: string;
|
|
3021
|
+
surface_instance_id: string;
|
|
3022
|
+
bridge_channel_id: string;
|
|
3023
|
+
plugin_gateway_token: string;
|
|
3024
|
+
/** @constant */
|
|
3025
|
+
operation: "fs.read_dir.open";
|
|
3026
|
+
arguments: {
|
|
3027
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3028
|
+
};
|
|
3029
|
+
} | {
|
|
3030
|
+
plugin_instance_id: string;
|
|
3031
|
+
surface_instance_id: string;
|
|
3032
|
+
bridge_channel_id: string;
|
|
3033
|
+
plugin_gateway_token: string;
|
|
3034
|
+
/** @constant */
|
|
3035
|
+
operation: "fs.mkdir";
|
|
3036
|
+
arguments: {
|
|
3037
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3038
|
+
recursive?: boolean;
|
|
3039
|
+
mode?: number;
|
|
3040
|
+
};
|
|
3041
|
+
} | {
|
|
3042
|
+
plugin_instance_id: string;
|
|
3043
|
+
surface_instance_id: string;
|
|
3044
|
+
bridge_channel_id: string;
|
|
3045
|
+
plugin_gateway_token: string;
|
|
3046
|
+
/** @constant */
|
|
3047
|
+
operation: "fs.remove";
|
|
3048
|
+
arguments: {
|
|
3049
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3050
|
+
recursive?: boolean;
|
|
3051
|
+
};
|
|
3052
|
+
} | {
|
|
3053
|
+
plugin_instance_id: string;
|
|
3054
|
+
surface_instance_id: string;
|
|
3055
|
+
bridge_channel_id: string;
|
|
3056
|
+
plugin_gateway_token: string;
|
|
3057
|
+
/** @constant */
|
|
3058
|
+
operation: "fs.rename";
|
|
3059
|
+
arguments: {
|
|
3060
|
+
from: components["schemas"]["FileResourcesUri"];
|
|
3061
|
+
to: components["schemas"]["FileResourcesUri"];
|
|
3062
|
+
overwrite?: boolean;
|
|
3063
|
+
};
|
|
3064
|
+
} | {
|
|
3065
|
+
plugin_instance_id: string;
|
|
3066
|
+
surface_instance_id: string;
|
|
3067
|
+
bridge_channel_id: string;
|
|
3068
|
+
plugin_gateway_token: string;
|
|
3069
|
+
/** @constant */
|
|
3070
|
+
operation: "fs.copy";
|
|
3071
|
+
arguments: {
|
|
3072
|
+
from: components["schemas"]["FileResourcesUri"];
|
|
3073
|
+
to: components["schemas"]["FileResourcesUri"];
|
|
3074
|
+
overwrite?: boolean;
|
|
3075
|
+
};
|
|
3076
|
+
} | {
|
|
3077
|
+
plugin_instance_id: string;
|
|
3078
|
+
surface_instance_id: string;
|
|
3079
|
+
bridge_channel_id: string;
|
|
3080
|
+
plugin_gateway_token: string;
|
|
3081
|
+
/** @constant */
|
|
3082
|
+
operation: "fs.set_times";
|
|
3083
|
+
arguments: {
|
|
3084
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3085
|
+
accessed_unix_ms: number;
|
|
3086
|
+
modified_unix_ms: number;
|
|
3087
|
+
};
|
|
3088
|
+
} | {
|
|
3089
|
+
plugin_instance_id: string;
|
|
3090
|
+
surface_instance_id: string;
|
|
3091
|
+
bridge_channel_id: string;
|
|
3092
|
+
plugin_gateway_token: string;
|
|
3093
|
+
/** @constant */
|
|
3094
|
+
operation: "read";
|
|
3095
|
+
arguments: {
|
|
3096
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3097
|
+
length: number;
|
|
3098
|
+
};
|
|
3099
|
+
} | {
|
|
3100
|
+
plugin_instance_id: string;
|
|
3101
|
+
surface_instance_id: string;
|
|
3102
|
+
bridge_channel_id: string;
|
|
3103
|
+
plugin_gateway_token: string;
|
|
3104
|
+
/** @constant */
|
|
3105
|
+
operation: "write";
|
|
3106
|
+
arguments: {
|
|
3107
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3108
|
+
data: string;
|
|
3109
|
+
};
|
|
3110
|
+
} | {
|
|
3111
|
+
plugin_instance_id: string;
|
|
3112
|
+
surface_instance_id: string;
|
|
3113
|
+
bridge_channel_id: string;
|
|
3114
|
+
plugin_gateway_token: string;
|
|
3115
|
+
/** @constant */
|
|
3116
|
+
operation: "seek";
|
|
3117
|
+
arguments: {
|
|
3118
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3119
|
+
offset: string;
|
|
3120
|
+
/** @enum {unknown} */
|
|
3121
|
+
whence?: 0 | 1 | 2;
|
|
3122
|
+
};
|
|
3123
|
+
} | {
|
|
3124
|
+
plugin_instance_id: string;
|
|
3125
|
+
surface_instance_id: string;
|
|
3126
|
+
bridge_channel_id: string;
|
|
3127
|
+
plugin_gateway_token: string;
|
|
3128
|
+
/** @constant */
|
|
3129
|
+
operation: "close";
|
|
3130
|
+
arguments: {
|
|
3131
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3132
|
+
};
|
|
3133
|
+
} | {
|
|
3134
|
+
plugin_instance_id: string;
|
|
3135
|
+
surface_instance_id: string;
|
|
3136
|
+
bridge_channel_id: string;
|
|
3137
|
+
plugin_gateway_token: string;
|
|
3138
|
+
/** @constant */
|
|
3139
|
+
operation: "sync";
|
|
3140
|
+
arguments: {
|
|
3141
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3142
|
+
};
|
|
3143
|
+
} | {
|
|
3144
|
+
plugin_instance_id: string;
|
|
3145
|
+
surface_instance_id: string;
|
|
3146
|
+
bridge_channel_id: string;
|
|
3147
|
+
plugin_gateway_token: string;
|
|
3148
|
+
/** @constant */
|
|
3149
|
+
operation: "read_dir.next";
|
|
3150
|
+
arguments: {
|
|
3151
|
+
handle: components["schemas"]["FileResourcesHandle"];
|
|
3152
|
+
limit: number;
|
|
3153
|
+
};
|
|
3154
|
+
};
|
|
3155
|
+
FileResourcesIoResult: {
|
|
3156
|
+
/** @constant */
|
|
3157
|
+
canceled?: true;
|
|
3158
|
+
review?: components["schemas"]["FileResourcesReview"];
|
|
3159
|
+
resource?: components["schemas"]["FileResourcesResource"];
|
|
3160
|
+
handle?: components["schemas"]["FileResourcesHandle"];
|
|
3161
|
+
data?: string;
|
|
3162
|
+
count?: number;
|
|
3163
|
+
eof?: boolean;
|
|
3164
|
+
offset?: string;
|
|
3165
|
+
value?: components["schemas"]["FileResourcesStat"] | components["schemas"]["FileResourcesDirectoryPage"] | {
|
|
3166
|
+
/** @constant */
|
|
3167
|
+
ok: true;
|
|
3168
|
+
};
|
|
3169
|
+
} & (unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown);
|
|
3170
|
+
FileResourcesStat: {
|
|
3171
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3172
|
+
/** @enum {unknown} */
|
|
3173
|
+
kind: "file" | "directory";
|
|
3174
|
+
size: string;
|
|
3175
|
+
mode: number;
|
|
3176
|
+
modified_unix_ms: number;
|
|
3177
|
+
created_unix_ms?: number;
|
|
3178
|
+
};
|
|
3179
|
+
FileResourcesDirectoryEntry: {
|
|
3180
|
+
name: string;
|
|
3181
|
+
uri: components["schemas"]["FileResourcesUri"];
|
|
3182
|
+
/** @enum {unknown} */
|
|
3183
|
+
kind: "file" | "directory" | "symlink" | "other";
|
|
3184
|
+
};
|
|
3185
|
+
FileResourcesDirectoryPage: {
|
|
3186
|
+
entries: components["schemas"]["FileResourcesDirectoryEntry"][];
|
|
3187
|
+
eof: boolean;
|
|
3188
|
+
};
|
|
3189
|
+
ErrorCodes: Record<string, never>;
|
|
3190
|
+
/** @enum {string} */
|
|
3191
|
+
ErrorCodesPlatformErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_RETAINED_DATA_INCOMPATIBLE" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_CONNECTION_UNAVAILABLE" | "PLUGIN_CONNECTION_CONFLICT" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_FILE_OPERATION_FAILED" | "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";
|
|
3192
|
+
/** @enum {string} */
|
|
3193
|
+
ErrorCodesBridgeErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_RETAINED_DATA_INCOMPATIBLE" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_CONNECTION_UNAVAILABLE" | "PLUGIN_CONNECTION_CONFLICT" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_FILE_OPERATION_FAILED" | "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";
|
|
3194
|
+
/** @enum {string} */
|
|
3195
|
+
ErrorCodesTypescriptClientErrorCode: "PLUGIN_INVALID_REQUEST" | "PLUGIN_MANIFEST_INVALID" | "PLUGIN_PACKAGE_INVALID" | "PLUGIN_PACKAGE_TOO_LARGE" | "PLUGIN_PACKAGE_PATH_FORBIDDEN" | "PLUGIN_SIGNATURE_INVALID" | "PLUGIN_TRUST_STATE_DENIED" | "PLUGIN_TRUST_VERIFICATION_REQUIRED" | "PLUGIN_TRUST_VERIFICATION_INVALID" | "PLUGIN_RELEASE_REF_VERIFICATION_FAILED" | "PLUGIN_RELEASE_REF_POLICY_DENIED" | "PLUGIN_RELEASE_NETWORK" | "PLUGIN_RELEASE_TIMEOUT" | "PLUGIN_RELEASE_ASSET_MISSING" | "PLUGIN_RELEASE_ASSET_INTEGRITY" | "PLUGIN_INSTALL_INTERRUPTED" | "PLUGIN_INSTALL_STATE_CONFLICT" | "PLUGIN_RETAINED_DATA_INCOMPATIBLE" | "PLUGIN_INTERNAL_FAILURE" | "PLUGIN_DISABLED" | "PLUGIN_PERMISSION_DENIED" | "PLUGIN_ORIGIN_DENIED" | "PLUGIN_ACTION_DENIED" | "PLUGIN_OWNER_SCOPE_MISMATCH" | "PLUGIN_SECRET_SCOPE_MISMATCH" | "PLUGIN_STORAGE_SCOPE_MISMATCH" | "PLUGIN_ADAPTER_FAILURE" | "PLUGIN_SESSION_REVOKED" | "PLUGIN_SESSION_TEARDOWN_INCOMPLETE" | "PLUGIN_SESSION_FENCE_CAPACITY" | "PLUGIN_CONFIRMATION_REQUIRED" | "PLUGIN_CONFIRMATION_INVALID" | "PLUGIN_TOKEN_EXPIRED" | "PLUGIN_TOKEN_REPLAY" | "PLUGIN_GATEWAY_TOKEN_INVALID" | "PLUGIN_GATEWAY_TOKEN_REPLAYED" | "PLUGIN_GATEWAY_TOKEN_CHANNEL_MISMATCH" | "PLUGIN_ASSET_TICKET_INVALID" | "PLUGIN_ASSET_SESSION_INVALID" | "PLUGIN_STREAM_TICKET_INVALID" | "PLUGIN_STREAM_DELIVERY_INVALID" | "PLUGIN_STREAM_CANCELLED" | "PLUGIN_LEASE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "PLUGIN_GRANT_INVALID" | "PLUGIN_STORAGE_QUOTA_EXCEEDED" | "PLUGIN_EXECUTION_BLOCKED" | "PLUGIN_EXECUTION_NOT_FOUND" | "PLUGIN_EXECUTION_NOT_CANCELABLE" | "PLUGIN_CONNECTION_UNAVAILABLE" | "PLUGIN_CONNECTION_CONFLICT" | "PLUGIN_NETWORK_TARGET_DENIED" | "PLUGIN_NETWORK_RATE_LIMITED" | "PLUGIN_RUNTIME_UNAVAILABLE" | "PLUGIN_RUNTIME_VERSION_MISMATCH" | "PLUGIN_RUNTIME_CONTRACT_MISMATCH" | "PLUGIN_UI_PROTOCOL_VIOLATION" | "PLUGIN_SURFACE_QUIESCE_TIMEOUT" | "PLUGIN_JSON_LIMIT_EXCEEDED" | "PLUGIN_CAPABILITY_ERROR" | "PLUGIN_WORKER_ERROR" | "PLUGIN_FILE_OPERATION_FAILED" | "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";
|
|
3196
|
+
/** @enum {string} */
|
|
3197
|
+
ErrorCodesRustIpcErrorCode: "ARTIFACT_HANDLE_FAILED" | "WORKER_INVOCATION_INVALID" | "RUNTIME_CAPABILITY_REVOKED" | "RUNTIME_CONTROL_CHANNEL_STALE" | "RUNTIME_LEASE_INVALID" | "RUNTIME_LEASE_SIGNATURE_INVALID" | "PLUGIN_LEASE_REPLAYED" | "WASM_WORKER_INVALID" | "WASM_WORKER_FAILED" | "RUNTIME_CAPACITY_EXCEEDED" | "RUNTIME_INVOCATION_CANCELED" | "PLUGIN_SESSION_REVOKED" | "SESSION_REVOKE_SEQUENCE_STALE" | "SESSION_REVOKE_DRAIN_TIMEOUT" | "UNSUPPORTED_FRAME";
|
|
3198
|
+
/** @enum {string} */
|
|
3199
|
+
ErrorCodesRuntimeProcessFailureCode: "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";
|
|
3200
|
+
ErrorCodesRuntimeProcessExitFailure: {
|
|
3201
|
+
/** @constant */
|
|
3202
|
+
exit_code: 1;
|
|
3203
|
+
/** @constant */
|
|
3204
|
+
code: "RUNTIME_PROCESS_FAILED";
|
|
3205
|
+
} | {
|
|
3206
|
+
/** @constant */
|
|
3207
|
+
exit_code: 80;
|
|
3208
|
+
/** @constant */
|
|
3209
|
+
code: "IPC_WRITER_CAPACITY_OVERFLOW";
|
|
3210
|
+
} | {
|
|
3211
|
+
/** @constant */
|
|
3212
|
+
exit_code: 81;
|
|
3213
|
+
/** @constant */
|
|
3214
|
+
code: "IPC_WRITER_CAPACITY_LIMIT_EXCEEDED";
|
|
3215
|
+
} | {
|
|
3216
|
+
/** @constant */
|
|
3217
|
+
exit_code: 82;
|
|
3218
|
+
/** @constant */
|
|
3219
|
+
code: "IPC_WRITER_START_FAILED";
|
|
3220
|
+
} | {
|
|
3221
|
+
/** @constant */
|
|
3222
|
+
exit_code: 83;
|
|
3223
|
+
/** @constant */
|
|
3224
|
+
code: "IPC_WRITER_CLOSED";
|
|
3225
|
+
} | {
|
|
3226
|
+
/** @constant */
|
|
3227
|
+
exit_code: 84;
|
|
3228
|
+
/** @constant */
|
|
3229
|
+
code: "IPC_WRITER_BATCH_SIZE_OVERFLOW";
|
|
3230
|
+
} | {
|
|
3231
|
+
/** @constant */
|
|
3232
|
+
exit_code: 85;
|
|
3233
|
+
/** @constant */
|
|
3234
|
+
code: "IPC_WRITER_WRITE_FAILED";
|
|
3235
|
+
} | {
|
|
3236
|
+
/** @constant */
|
|
3237
|
+
exit_code: 86;
|
|
3238
|
+
/** @constant */
|
|
3239
|
+
code: "IPC_WRITER_FLUSH_FAILED";
|
|
3240
|
+
} | {
|
|
3241
|
+
/** @constant */
|
|
3242
|
+
exit_code: 87;
|
|
3243
|
+
/** @constant */
|
|
2502
3244
|
code: "IPC_WRITER_PANICKED";
|
|
2503
3245
|
};
|
|
2504
3246
|
SessionScopeV1: components["schemas"]["SessionScopeV1PublicRevokeResult"];
|
|
@@ -2583,6 +3325,10 @@ export interface components {
|
|
|
2583
3325
|
web: {
|
|
2584
3326
|
root: string;
|
|
2585
3327
|
spa: boolean;
|
|
3328
|
+
network?: (components["schemas"]["ManifestV9NetworkAccess"] & {
|
|
3329
|
+
/** @constant */
|
|
3330
|
+
transport?: "http";
|
|
3331
|
+
})[];
|
|
2586
3332
|
};
|
|
2587
3333
|
}[];
|
|
2588
3334
|
capability_bindings?: {
|
|
@@ -2602,13 +3348,7 @@ export interface components {
|
|
|
2602
3348
|
store_id: string;
|
|
2603
3349
|
operations: ("read" | "write" | "delete" | "list" | "get" | "put" | "query" | "exec")[];
|
|
2604
3350
|
}[];
|
|
2605
|
-
network?:
|
|
2606
|
-
connector_id: string;
|
|
2607
|
-
/** @enum {unknown} */
|
|
2608
|
-
transport: "http" | "websocket" | "tcp" | "udp";
|
|
2609
|
-
operations: ("http" | "http_stream" | "websocket_round_trip" | "tcp_round_trip" | "udp_round_trip")[];
|
|
2610
|
-
http_methods?: ("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS")[];
|
|
2611
|
-
} & unknown)[];
|
|
3351
|
+
network?: components["schemas"]["ManifestV9NetworkAccess"][];
|
|
2612
3352
|
process?: {
|
|
2613
3353
|
operations: ("start" | "attach" | "status" | "write_stdin" | "close_stdin" | "read_stdout" | "read_stderr" | "wait" | "terminate" | "kill" | "close")[];
|
|
2614
3354
|
}[];
|
|
@@ -2649,7 +3389,7 @@ export interface components {
|
|
|
2649
3389
|
additionalProperties: false;
|
|
2650
3390
|
};
|
|
2651
3391
|
/** @description Explicit Worker permission ceiling. Omitted retains the package ceiling; an empty array grants no resource permissions. Requires authorization.scoped.v1. */
|
|
2652
|
-
permissions?: ("fs.workspace.read" | "fs.workspace.write" | "fs.home.read" | "fs.home.write" | "fs.environment.read" | "fs.environment.write" | "network.client" | "network.listen" | "process.local")[];
|
|
3392
|
+
permissions?: ("fs.workspace.read" | "fs.workspace.write" | "fs.home.read" | "fs.home.write" | "fs.environment.read" | "fs.environment.write" | "network.client" | "network.listen" | "process.local" | "fs.selected.read" | "fs.selected.write")[];
|
|
2653
3393
|
} & (unknown & unknown & unknown & unknown & unknown))[];
|
|
2654
3394
|
workers: {
|
|
2655
3395
|
worker_id: string;
|
|
@@ -2673,16 +3413,18 @@ export interface components {
|
|
|
2673
3413
|
}[];
|
|
2674
3414
|
};
|
|
2675
3415
|
network_access?: {
|
|
2676
|
-
connectors?: {
|
|
3416
|
+
connectors?: ({
|
|
2677
3417
|
connector_id: string;
|
|
2678
3418
|
/** @enum {unknown} */
|
|
2679
3419
|
transport: "http" | "websocket" | "tcp" | "udp";
|
|
2680
3420
|
/** @enum {unknown} */
|
|
2681
3421
|
scope: "user" | "environment";
|
|
2682
|
-
destinations
|
|
3422
|
+
destinations?: string[];
|
|
2683
3423
|
auth?: Record<string, never>;
|
|
2684
3424
|
tls?: Record<string, never>;
|
|
2685
|
-
|
|
3425
|
+
/** @description The Host must approve an exact user-configured target. Destinations must be empty when true. */
|
|
3426
|
+
configurable?: boolean;
|
|
3427
|
+
} & unknown)[];
|
|
2686
3428
|
};
|
|
2687
3429
|
process?: {
|
|
2688
3430
|
resource_limits?: {
|
|
@@ -2722,7 +3464,7 @@ export interface components {
|
|
|
2722
3464
|
required_features?: components["schemas"]["ManifestV9RequiredFeatures"];
|
|
2723
3465
|
optional_features?: components["schemas"]["ManifestV9OptionalFeatures"];
|
|
2724
3466
|
};
|
|
2725
|
-
permissions: ("fs.workspace.read" | "fs.workspace.write" | "fs.home.read" | "fs.home.write" | "fs.environment.read" | "fs.environment.write" | "network.client" | "network.listen" | "process.local")[];
|
|
3467
|
+
permissions: ("fs.workspace.read" | "fs.workspace.write" | "fs.home.read" | "fs.home.write" | "fs.environment.read" | "fs.environment.write" | "network.client" | "network.listen" | "process.local" | "fs.selected.read" | "fs.selected.write")[];
|
|
2726
3468
|
} & (unknown & unknown & unknown);
|
|
2727
3469
|
ManifestV9Locale: string;
|
|
2728
3470
|
ManifestV9Summary: string;
|
|
@@ -2792,8 +3534,15 @@ export interface components {
|
|
|
2792
3534
|
minProperties?: number;
|
|
2793
3535
|
maxProperties?: number;
|
|
2794
3536
|
} & (unknown & unknown)) | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown);
|
|
2795
|
-
ManifestV9RequiredFeatures: ("io.stream.v1" | "fs.workspace.v1" | "fs.home.v1" | "fs.environment.v1" | "fs.watch.v1" | "net.http.v1" | "net.websocket.v1" | "net.tcp.v1" | "net.udp.v1" | "process.local.v1" | "authorization.scoped.v1" | "background.method.v1")[];
|
|
3537
|
+
ManifestV9RequiredFeatures: ("io.stream.v1" | "fs.workspace.v1" | "fs.home.v1" | "fs.environment.v1" | "fs.watch.v1" | "net.http.v1" | "net.websocket.v1" | "net.tcp.v1" | "net.udp.v1" | "process.local.v1" | "authorization.scoped.v1" | "background.method.v1" | "fs.selected.v1")[];
|
|
2796
3538
|
ManifestV9OptionalFeatures: string[];
|
|
3539
|
+
ManifestV9NetworkAccess: {
|
|
3540
|
+
connector_id: string;
|
|
3541
|
+
/** @enum {unknown} */
|
|
3542
|
+
transport: "http" | "websocket" | "tcp" | "udp";
|
|
3543
|
+
operations: ("http" | "http_stream" | "websocket" | "tcp" | "udp")[];
|
|
3544
|
+
http_methods?: ("GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS")[];
|
|
3545
|
+
} & unknown;
|
|
2797
3546
|
HostCapabilityPinV1: {
|
|
2798
3547
|
publisher_id: components["schemas"]["HostCapabilityPinV1Id"];
|
|
2799
3548
|
contract_id: components["schemas"]["HostCapabilityPinV1Id"];
|
|
@@ -3406,6 +4155,281 @@ export interface components {
|
|
|
3406
4155
|
}
|
|
3407
4156
|
export type $defs = Record<string, never>;
|
|
3408
4157
|
export interface operations {
|
|
4158
|
+
reviewConnection: {
|
|
4159
|
+
parameters: {
|
|
4160
|
+
query?: never;
|
|
4161
|
+
header?: never;
|
|
4162
|
+
path?: never;
|
|
4163
|
+
cookie?: never;
|
|
4164
|
+
};
|
|
4165
|
+
requestBody: {
|
|
4166
|
+
content: {
|
|
4167
|
+
"application/json": components["schemas"]["ConnectionsReviewRequest"];
|
|
4168
|
+
};
|
|
4169
|
+
};
|
|
4170
|
+
responses: {
|
|
4171
|
+
/** @description Controlled connection result */
|
|
4172
|
+
200: {
|
|
4173
|
+
headers: {
|
|
4174
|
+
[name: string]: unknown;
|
|
4175
|
+
};
|
|
4176
|
+
content: {
|
|
4177
|
+
"application/json": components["schemas"]["ReviewConnectionSuccessResponse"];
|
|
4178
|
+
};
|
|
4179
|
+
};
|
|
4180
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4181
|
+
};
|
|
4182
|
+
};
|
|
4183
|
+
approveConnection: {
|
|
4184
|
+
parameters: {
|
|
4185
|
+
query?: never;
|
|
4186
|
+
header?: never;
|
|
4187
|
+
path?: never;
|
|
4188
|
+
cookie?: never;
|
|
4189
|
+
};
|
|
4190
|
+
requestBody: {
|
|
4191
|
+
content: {
|
|
4192
|
+
"application/json": components["schemas"]["ConnectionsReviewReference"];
|
|
4193
|
+
};
|
|
4194
|
+
};
|
|
4195
|
+
responses: {
|
|
4196
|
+
/** @description Controlled connection result */
|
|
4197
|
+
200: {
|
|
4198
|
+
headers: {
|
|
4199
|
+
[name: string]: unknown;
|
|
4200
|
+
};
|
|
4201
|
+
content: {
|
|
4202
|
+
"application/json": components["schemas"]["ApproveConnectionSuccessResponse"];
|
|
4203
|
+
};
|
|
4204
|
+
};
|
|
4205
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4206
|
+
};
|
|
4207
|
+
};
|
|
4208
|
+
cancelConnectionReview: {
|
|
4209
|
+
parameters: {
|
|
4210
|
+
query?: never;
|
|
4211
|
+
header?: never;
|
|
4212
|
+
path?: never;
|
|
4213
|
+
cookie?: never;
|
|
4214
|
+
};
|
|
4215
|
+
requestBody: {
|
|
4216
|
+
content: {
|
|
4217
|
+
"application/json": components["schemas"]["ConnectionsReviewReference"];
|
|
4218
|
+
};
|
|
4219
|
+
};
|
|
4220
|
+
responses: {
|
|
4221
|
+
/** @description Controlled connection result */
|
|
4222
|
+
200: {
|
|
4223
|
+
headers: {
|
|
4224
|
+
[name: string]: unknown;
|
|
4225
|
+
};
|
|
4226
|
+
content: {
|
|
4227
|
+
"application/json": components["schemas"]["CancelConnectionReviewSuccessResponse"];
|
|
4228
|
+
};
|
|
4229
|
+
};
|
|
4230
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4231
|
+
};
|
|
4232
|
+
};
|
|
4233
|
+
listConnections: {
|
|
4234
|
+
parameters: {
|
|
4235
|
+
query?: never;
|
|
4236
|
+
header?: never;
|
|
4237
|
+
path?: never;
|
|
4238
|
+
cookie?: never;
|
|
4239
|
+
};
|
|
4240
|
+
requestBody: {
|
|
4241
|
+
content: {
|
|
4242
|
+
"application/json": components["schemas"]["ConnectionsListRequest"];
|
|
4243
|
+
};
|
|
4244
|
+
};
|
|
4245
|
+
responses: {
|
|
4246
|
+
/** @description Controlled connection result */
|
|
4247
|
+
200: {
|
|
4248
|
+
headers: {
|
|
4249
|
+
[name: string]: unknown;
|
|
4250
|
+
};
|
|
4251
|
+
content: {
|
|
4252
|
+
"application/json": components["schemas"]["ListConnectionsSuccessResponse"];
|
|
4253
|
+
};
|
|
4254
|
+
};
|
|
4255
|
+
default: components["responses"]["PlatformErrorResponse"];
|
|
4256
|
+
};
|
|
4257
|
+
};
|
|
4258
|
+
revokeConnection: {
|
|
4259
|
+
parameters: {
|
|
4260
|
+
query?: never;
|
|
4261
|
+
header?: never;
|
|
4262
|
+
path?: never;
|
|
4263
|
+
cookie?: never;
|
|
4264
|
+
};
|
|
4265
|
+
requestBody: {
|
|
4266
|
+
content: {
|
|
4267
|
+
"application/json": components["schemas"]["ConnectionsRevokeRequest"];
|
|
4268
|
+
};
|
|
4269
|
+
};
|
|
4270
|
+
responses: {
|
|
4271
|
+
/** @description Controlled connection result */
|
|
4272
|
+
200: {
|
|
4273
|
+
headers: {
|
|
4274
|
+
[name: string]: unknown;
|
|
4275
|
+
};
|
|
4276
|
+
content: {
|
|
4277
|
+
"application/json": components["schemas"]["RevokeConnectionSuccessResponse"];
|
|
4278
|
+
};
|
|
4279
|
+
};
|
|
4280
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4281
|
+
};
|
|
4282
|
+
};
|
|
4283
|
+
selectFileResource: {
|
|
4284
|
+
parameters: {
|
|
4285
|
+
query?: never;
|
|
4286
|
+
header?: never;
|
|
4287
|
+
path?: never;
|
|
4288
|
+
cookie?: never;
|
|
4289
|
+
};
|
|
4290
|
+
requestBody: {
|
|
4291
|
+
content: {
|
|
4292
|
+
"application/json": components["schemas"]["FileResourcesSelectRequest"];
|
|
4293
|
+
};
|
|
4294
|
+
};
|
|
4295
|
+
responses: {
|
|
4296
|
+
/** @description Selected file operation result */
|
|
4297
|
+
200: {
|
|
4298
|
+
headers: {
|
|
4299
|
+
[name: string]: unknown;
|
|
4300
|
+
};
|
|
4301
|
+
content: {
|
|
4302
|
+
"application/json": components["schemas"]["SelectFileResourceSuccessResponse"];
|
|
4303
|
+
};
|
|
4304
|
+
};
|
|
4305
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4306
|
+
};
|
|
4307
|
+
};
|
|
4308
|
+
approveFileResource: {
|
|
4309
|
+
parameters: {
|
|
4310
|
+
query?: never;
|
|
4311
|
+
header?: never;
|
|
4312
|
+
path?: never;
|
|
4313
|
+
cookie?: never;
|
|
4314
|
+
};
|
|
4315
|
+
requestBody: {
|
|
4316
|
+
content: {
|
|
4317
|
+
"application/json": components["schemas"]["FileResourcesReviewRequest"];
|
|
4318
|
+
};
|
|
4319
|
+
};
|
|
4320
|
+
responses: {
|
|
4321
|
+
/** @description Selected file operation result */
|
|
4322
|
+
200: {
|
|
4323
|
+
headers: {
|
|
4324
|
+
[name: string]: unknown;
|
|
4325
|
+
};
|
|
4326
|
+
content: {
|
|
4327
|
+
"application/json": components["schemas"]["ApproveFileResourceSuccessResponse"];
|
|
4328
|
+
};
|
|
4329
|
+
};
|
|
4330
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4331
|
+
};
|
|
4332
|
+
};
|
|
4333
|
+
cancelFileResource: {
|
|
4334
|
+
parameters: {
|
|
4335
|
+
query?: never;
|
|
4336
|
+
header?: never;
|
|
4337
|
+
path?: never;
|
|
4338
|
+
cookie?: never;
|
|
4339
|
+
};
|
|
4340
|
+
requestBody: {
|
|
4341
|
+
content: {
|
|
4342
|
+
"application/json": components["schemas"]["FileResourcesReviewRequest"];
|
|
4343
|
+
};
|
|
4344
|
+
};
|
|
4345
|
+
responses: {
|
|
4346
|
+
/** @description Selected file operation result */
|
|
4347
|
+
200: {
|
|
4348
|
+
headers: {
|
|
4349
|
+
[name: string]: unknown;
|
|
4350
|
+
};
|
|
4351
|
+
content: {
|
|
4352
|
+
"application/json": components["schemas"]["CancelFileResourceSuccessResponse"];
|
|
4353
|
+
};
|
|
4354
|
+
};
|
|
4355
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4356
|
+
};
|
|
4357
|
+
};
|
|
4358
|
+
listFileResources: {
|
|
4359
|
+
parameters: {
|
|
4360
|
+
query?: never;
|
|
4361
|
+
header?: never;
|
|
4362
|
+
path?: never;
|
|
4363
|
+
cookie?: never;
|
|
4364
|
+
};
|
|
4365
|
+
requestBody: {
|
|
4366
|
+
content: {
|
|
4367
|
+
"application/json": components["schemas"]["FileResourcesListRequest"];
|
|
4368
|
+
};
|
|
4369
|
+
};
|
|
4370
|
+
responses: {
|
|
4371
|
+
/** @description Selected file operation result */
|
|
4372
|
+
200: {
|
|
4373
|
+
headers: {
|
|
4374
|
+
[name: string]: unknown;
|
|
4375
|
+
};
|
|
4376
|
+
content: {
|
|
4377
|
+
"application/json": components["schemas"]["ListFileResourcesSuccessResponse"];
|
|
4378
|
+
};
|
|
4379
|
+
};
|
|
4380
|
+
default: components["responses"]["PlatformErrorResponse"];
|
|
4381
|
+
};
|
|
4382
|
+
};
|
|
4383
|
+
revokeFileResource: {
|
|
4384
|
+
parameters: {
|
|
4385
|
+
query?: never;
|
|
4386
|
+
header?: never;
|
|
4387
|
+
path?: never;
|
|
4388
|
+
cookie?: never;
|
|
4389
|
+
};
|
|
4390
|
+
requestBody: {
|
|
4391
|
+
content: {
|
|
4392
|
+
"application/json": components["schemas"]["FileResourcesRevokeRequest"];
|
|
4393
|
+
};
|
|
4394
|
+
};
|
|
4395
|
+
responses: {
|
|
4396
|
+
/** @description Selected file operation result */
|
|
4397
|
+
200: {
|
|
4398
|
+
headers: {
|
|
4399
|
+
[name: string]: unknown;
|
|
4400
|
+
};
|
|
4401
|
+
content: {
|
|
4402
|
+
"application/json": components["schemas"]["RevokeFileResourceSuccessResponse"];
|
|
4403
|
+
};
|
|
4404
|
+
};
|
|
4405
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4406
|
+
};
|
|
4407
|
+
};
|
|
4408
|
+
surfaceFileIO: {
|
|
4409
|
+
parameters: {
|
|
4410
|
+
query?: never;
|
|
4411
|
+
header?: never;
|
|
4412
|
+
path?: never;
|
|
4413
|
+
cookie?: never;
|
|
4414
|
+
};
|
|
4415
|
+
requestBody: {
|
|
4416
|
+
content: {
|
|
4417
|
+
"application/json": components["schemas"]["FileResourcesSurfaceRequest"];
|
|
4418
|
+
};
|
|
4419
|
+
};
|
|
4420
|
+
responses: {
|
|
4421
|
+
/** @description Selected file operation result */
|
|
4422
|
+
200: {
|
|
4423
|
+
headers: {
|
|
4424
|
+
[name: string]: unknown;
|
|
4425
|
+
};
|
|
4426
|
+
content: {
|
|
4427
|
+
"application/json": components["schemas"]["SurfaceFileIOSuccessResponse"];
|
|
4428
|
+
};
|
|
4429
|
+
};
|
|
4430
|
+
default: components["responses"]["MutationPlatformErrorResponse"];
|
|
4431
|
+
};
|
|
4432
|
+
};
|
|
3409
4433
|
updateLocalPackage: {
|
|
3410
4434
|
parameters: {
|
|
3411
4435
|
query?: never;
|