ankka 0.12.0 → 0.13.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/_proto/ankka/protocol/v1/client_pb.d.ts +594 -0
- package/dist/_proto/ankka/protocol/v1/client_pb.js +172 -30
- package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +134 -0
- package/dist/_proto/ankka/protocol/v1/discovery_pb.js +51 -36
- package/dist/_proto/ankka/protocol/v1/mcp_pb.d.ts +120 -0
- package/dist/_proto/ankka/protocol/v1/mcp_pb.js +29 -0
- package/dist/agent.d.ts +10 -0
- package/dist/agent.js +20 -0
- package/dist/autonomous.d.ts +5 -0
- package/dist/autonomous.js +10 -0
- package/dist/client-keys.d.ts +89 -0
- package/dist/client-keys.js +182 -0
- package/dist/consumer.d.ts +5 -0
- package/dist/consumer.js +10 -0
- package/dist/endpoint.d.ts +10 -0
- package/dist/endpoint.js +20 -0
- package/dist/graph.d.ts +5 -0
- package/dist/graph.js +10 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +5 -0
- package/dist/mcp-endpoint.d.ts +144 -0
- package/dist/mcp-endpoint.js +256 -0
- package/dist/routes.d.ts +25 -2
- package/dist/routes.js +29 -2
- package/dist/server/discovery.d.ts +7 -0
- package/dist/server/discovery.js +26 -2
- package/dist/server/http.d.ts +8 -0
- package/dist/server/http.js +10 -4
- package/dist/server/mcp.d.ts +17 -0
- package/dist/server/mcp.js +157 -0
- package/dist/server/server.d.ts +11 -1
- package/dist/server/server.js +19 -0
- package/dist/server/storageEndpoint.d.ts +14 -0
- package/dist/server/storageEndpoint.js +82 -0
- package/dist/service.d.ts +6 -1
- package/dist/service.js +47 -4
- package/dist/sigv4.d.ts +47 -0
- package/dist/sigv4.js +149 -0
- package/dist/spec.d.ts +8 -2
- package/dist/spec.js +53 -3
- package/dist/storage.d.ts +288 -0
- package/dist/storage.js +1081 -0
- package/dist/testkit/integration.d.ts +9 -0
- package/dist/testkit/integration.js +5 -1
- package/dist/testkit/kinds.d.ts +16 -4
- package/dist/testkit/kinds.js +36 -14
- package/dist/testkit/unit.d.ts +4 -1
- package/dist/testkit/unit.js +8 -4
- package/dist/timedAction.d.ts +10 -0
- package/dist/timedAction.js +20 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/workflow.d.ts +8 -0
- package/dist/workflow.js +15 -0
- package/package.json +1 -1
|
@@ -7,6 +7,244 @@ import type { Message, UnknownEnum } from "@bufbuild/protobuf";
|
|
|
7
7
|
* Describes the file ankka/protocol/v1/client.proto.
|
|
8
8
|
*/
|
|
9
9
|
export declare const file_ankka_protocol_v1_client: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* 1.20: a client key for `subject`. Exactly one expiry is set.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyRequest
|
|
14
|
+
*/
|
|
15
|
+
export type IssueClientKeyRequest = Message<"ankka.protocol.v1.IssueClientKeyRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string subject = 1;
|
|
18
|
+
*/
|
|
19
|
+
subject: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from oneof ankka.protocol.v1.IssueClientKeyRequest.expiry
|
|
22
|
+
*/
|
|
23
|
+
expiry: {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: int64 after_millis = 2;
|
|
26
|
+
*/
|
|
27
|
+
value: bigint;
|
|
28
|
+
case: "afterMillis";
|
|
29
|
+
} | {
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: int64 at_epoch_millis = 3;
|
|
32
|
+
*/
|
|
33
|
+
value: bigint;
|
|
34
|
+
case: "atEpochMillis";
|
|
35
|
+
} | {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: bool never = 4;
|
|
38
|
+
*/
|
|
39
|
+
value: boolean;
|
|
40
|
+
case: "never";
|
|
41
|
+
} | {
|
|
42
|
+
case: undefined;
|
|
43
|
+
value?: undefined;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* the MCP endpoint's path; required when the service has several
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: optional string endpoint = 5;
|
|
49
|
+
*/
|
|
50
|
+
endpoint?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* tool names; empty: every tool
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: repeated string scope = 6;
|
|
55
|
+
*/
|
|
56
|
+
scope: string[];
|
|
57
|
+
/**
|
|
58
|
+
* become the principal's claims
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: map<string, string> attributes = 7;
|
|
61
|
+
*/
|
|
62
|
+
attributes: {
|
|
63
|
+
[key: string]: string;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: optional string label = 8;
|
|
67
|
+
*/
|
|
68
|
+
label?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 9;
|
|
71
|
+
*/
|
|
72
|
+
metadata?: Metadata | undefined;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyRequest.
|
|
76
|
+
* Use `create(IssueClientKeyRequestSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export declare const IssueClientKeyRequestSchema: GenMessage<IssueClientKeyRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyReply
|
|
81
|
+
*/
|
|
82
|
+
export type IssueClientKeyReply = Message<"ankka.protocol.v1.IssueClientKeyReply"> & {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from oneof ankka.protocol.v1.IssueClientKeyReply.reply
|
|
85
|
+
*/
|
|
86
|
+
reply: {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: ankka.protocol.v1.IssueClientKeyReply.Issued issued = 1;
|
|
89
|
+
*/
|
|
90
|
+
value: IssueClientKeyReply_Issued;
|
|
91
|
+
case: "issued";
|
|
92
|
+
} | {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: ankka.protocol.v1.Error error = 2;
|
|
95
|
+
*/
|
|
96
|
+
value: Error;
|
|
97
|
+
case: "error";
|
|
98
|
+
} | {
|
|
99
|
+
case: undefined;
|
|
100
|
+
value?: undefined;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyReply.
|
|
105
|
+
* Use `create(IssueClientKeyReplySchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const IssueClientKeyReplySchema: GenMessage<IssueClientKeyReply>;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message ankka.protocol.v1.IssueClientKeyReply.Issued
|
|
110
|
+
*/
|
|
111
|
+
export type IssueClientKeyReply_Issued = Message<"ankka.protocol.v1.IssueClientKeyReply.Issued"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string id = 1;
|
|
114
|
+
*/
|
|
115
|
+
id: string;
|
|
116
|
+
/**
|
|
117
|
+
* shown here once, kept nowhere
|
|
118
|
+
*
|
|
119
|
+
* @generated from field: string client_key = 2;
|
|
120
|
+
*/
|
|
121
|
+
clientKey: string;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message ankka.protocol.v1.IssueClientKeyReply.Issued.
|
|
125
|
+
* Use `create(IssueClientKeyReply_IssuedSchema)` to create a new message.
|
|
126
|
+
*/
|
|
127
|
+
export declare const IssueClientKeyReply_IssuedSchema: GenMessage<IssueClientKeyReply_Issued>;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from message ankka.protocol.v1.ListClientKeysRequest
|
|
130
|
+
*/
|
|
131
|
+
export type ListClientKeysRequest = Message<"ankka.protocol.v1.ListClientKeysRequest"> & {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 1;
|
|
134
|
+
*/
|
|
135
|
+
metadata?: Metadata | undefined;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message ankka.protocol.v1.ListClientKeysRequest.
|
|
139
|
+
* Use `create(ListClientKeysRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ListClientKeysRequestSchema: GenMessage<ListClientKeysRequest>;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from message ankka.protocol.v1.ListClientKeysReply
|
|
144
|
+
*/
|
|
145
|
+
export type ListClientKeysReply = Message<"ankka.protocol.v1.ListClientKeysReply"> & {
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: repeated ankka.protocol.v1.ClientKeySummary keys = 1;
|
|
148
|
+
*/
|
|
149
|
+
keys: ClientKeySummary[];
|
|
150
|
+
/**
|
|
151
|
+
* unset: success
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: ankka.protocol.v1.Error error = 2;
|
|
154
|
+
*/
|
|
155
|
+
error?: Error | undefined;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message ankka.protocol.v1.ListClientKeysReply.
|
|
159
|
+
* Use `create(ListClientKeysReplySchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export declare const ListClientKeysReplySchema: GenMessage<ListClientKeysReply>;
|
|
162
|
+
/**
|
|
163
|
+
* A client key as listed: never the key, nor anything it could be derived from.
|
|
164
|
+
*
|
|
165
|
+
* @generated from message ankka.protocol.v1.ClientKeySummary
|
|
166
|
+
*/
|
|
167
|
+
export type ClientKeySummary = Message<"ankka.protocol.v1.ClientKeySummary"> & {
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: string id = 1;
|
|
170
|
+
*/
|
|
171
|
+
id: string;
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: string subject = 2;
|
|
174
|
+
*/
|
|
175
|
+
subject: string;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
178
|
+
*/
|
|
179
|
+
attributes: {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: optional string label = 4;
|
|
184
|
+
*/
|
|
185
|
+
label?: string | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* @generated from field: string endpoint = 5;
|
|
188
|
+
*/
|
|
189
|
+
endpoint: string;
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: repeated string scope = 6;
|
|
192
|
+
*/
|
|
193
|
+
scope: string[];
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: int64 issued_at_millis = 7;
|
|
196
|
+
*/
|
|
197
|
+
issuedAtMillis: bigint;
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: optional int64 expires_at_millis = 8;
|
|
200
|
+
*/
|
|
201
|
+
expiresAtMillis?: bigint | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: optional int64 last_used_millis = 9;
|
|
204
|
+
*/
|
|
205
|
+
lastUsedMillis?: bigint | undefined;
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: optional int64 revoked_at_millis = 10;
|
|
208
|
+
*/
|
|
209
|
+
revokedAtMillis?: bigint | undefined;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message ankka.protocol.v1.ClientKeySummary.
|
|
213
|
+
* Use `create(ClientKeySummarySchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const ClientKeySummarySchema: GenMessage<ClientKeySummary>;
|
|
216
|
+
/**
|
|
217
|
+
* @generated from message ankka.protocol.v1.RevokeClientKeyRequest
|
|
218
|
+
*/
|
|
219
|
+
export type RevokeClientKeyRequest = Message<"ankka.protocol.v1.RevokeClientKeyRequest"> & {
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: string id = 1;
|
|
222
|
+
*/
|
|
223
|
+
id: string;
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: ankka.protocol.v1.Metadata metadata = 2;
|
|
226
|
+
*/
|
|
227
|
+
metadata?: Metadata | undefined;
|
|
228
|
+
};
|
|
229
|
+
/**
|
|
230
|
+
* Describes the message ankka.protocol.v1.RevokeClientKeyRequest.
|
|
231
|
+
* Use `create(RevokeClientKeyRequestSchema)` to create a new message.
|
|
232
|
+
*/
|
|
233
|
+
export declare const RevokeClientKeyRequestSchema: GenMessage<RevokeClientKeyRequest>;
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message ankka.protocol.v1.RevokeClientKeyReply
|
|
236
|
+
*/
|
|
237
|
+
export type RevokeClientKeyReply = Message<"ankka.protocol.v1.RevokeClientKeyReply"> & {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: ankka.protocol.v1.Error error = 1;
|
|
240
|
+
*/
|
|
241
|
+
error?: Error | undefined;
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message ankka.protocol.v1.RevokeClientKeyReply.
|
|
245
|
+
* Use `create(RevokeClientKeyReplySchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export declare const RevokeClientKeyReplySchema: GenMessage<RevokeClientKeyReply>;
|
|
10
248
|
/**
|
|
11
249
|
* 1.18: a wait for a workflow's end.
|
|
12
250
|
*
|
|
@@ -908,6 +1146,333 @@ export type ServiceFailure_Reason = (typeof ServiceFailure_Reason)[keyof typeof
|
|
|
908
1146
|
* Describes the enum ankka.protocol.v1.ServiceFailure.Reason.
|
|
909
1147
|
*/
|
|
910
1148
|
export declare const ServiceFailure_ReasonSchema: GenEnum<ServiceFailure_Reason>;
|
|
1149
|
+
/**
|
|
1150
|
+
* The service's object storage, for a module (1.21): one request and one reply through the
|
|
1151
|
+
* `storage` import. No rpc carries it: a process speaks S3 itself from the variables it is given,
|
|
1152
|
+
* so no object passes through the sidecar.
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from message ankka.protocol.v1.StorageRequest
|
|
1155
|
+
*/
|
|
1156
|
+
export type StorageRequest = Message<"ankka.protocol.v1.StorageRequest"> & {
|
|
1157
|
+
/**
|
|
1158
|
+
* 1.21: absent: the service's own bucket
|
|
1159
|
+
*
|
|
1160
|
+
* @generated from field: optional string bucket = 1;
|
|
1161
|
+
*/
|
|
1162
|
+
bucket?: string | undefined;
|
|
1163
|
+
/**
|
|
1164
|
+
* 1.21
|
|
1165
|
+
*
|
|
1166
|
+
* @generated from field: ankka.protocol.v1.StorageRequest.Op op = 2;
|
|
1167
|
+
*/
|
|
1168
|
+
op: StorageRequest_Op;
|
|
1169
|
+
/**
|
|
1170
|
+
* 1.21: the object's name, or the prefix for LIST
|
|
1171
|
+
*
|
|
1172
|
+
* @generated from field: string name = 3;
|
|
1173
|
+
*/
|
|
1174
|
+
name: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* 1.21: for PUT
|
|
1177
|
+
*
|
|
1178
|
+
* @generated from field: string content_type = 4;
|
|
1179
|
+
*/
|
|
1180
|
+
contentType: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 1.21: for PUT; at most 4000000 bytes
|
|
1183
|
+
*
|
|
1184
|
+
* @generated from field: optional bytes body = 5;
|
|
1185
|
+
*/
|
|
1186
|
+
body?: Uint8Array | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* 1.21: for SIGNED_URL
|
|
1189
|
+
*
|
|
1190
|
+
* @generated from field: ankka.protocol.v1.StorageRequest.Access access = 6;
|
|
1191
|
+
*/
|
|
1192
|
+
access: StorageRequest_Access;
|
|
1193
|
+
/**
|
|
1194
|
+
* 1.21: for SIGNED_URL
|
|
1195
|
+
*
|
|
1196
|
+
* @generated from field: uint32 expires_seconds = 7;
|
|
1197
|
+
*/
|
|
1198
|
+
expiresSeconds: number;
|
|
1199
|
+
/**
|
|
1200
|
+
* 1.21: for LIST, the `next` of the page before;
|
|
1201
|
+
*
|
|
1202
|
+
* @generated from field: optional string continuation = 8;
|
|
1203
|
+
*/
|
|
1204
|
+
continuation?: string | undefined;
|
|
1205
|
+
};
|
|
1206
|
+
/**
|
|
1207
|
+
* Describes the message ankka.protocol.v1.StorageRequest.
|
|
1208
|
+
* Use `create(StorageRequestSchema)` to create a new message.
|
|
1209
|
+
*/
|
|
1210
|
+
export declare const StorageRequestSchema: GenMessage<StorageRequest>;
|
|
1211
|
+
/**
|
|
1212
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Op
|
|
1213
|
+
*/
|
|
1214
|
+
export declare const StorageRequest_Op: {
|
|
1215
|
+
/**
|
|
1216
|
+
* 1.21
|
|
1217
|
+
*
|
|
1218
|
+
* @generated from enum value: PUT = 0;
|
|
1219
|
+
*/
|
|
1220
|
+
readonly PUT: 0;
|
|
1221
|
+
/**
|
|
1222
|
+
* 1.21
|
|
1223
|
+
*
|
|
1224
|
+
* @generated from enum value: GET = 1;
|
|
1225
|
+
*/
|
|
1226
|
+
readonly GET: 1;
|
|
1227
|
+
/**
|
|
1228
|
+
* 1.21
|
|
1229
|
+
*
|
|
1230
|
+
* @generated from enum value: DELETE = 2;
|
|
1231
|
+
*/
|
|
1232
|
+
readonly DELETE: 2;
|
|
1233
|
+
/**
|
|
1234
|
+
* 1.21
|
|
1235
|
+
*
|
|
1236
|
+
* @generated from enum value: LIST = 3;
|
|
1237
|
+
*/
|
|
1238
|
+
readonly LIST: 3;
|
|
1239
|
+
/**
|
|
1240
|
+
* 1.21
|
|
1241
|
+
*
|
|
1242
|
+
* @generated from enum value: STAT = 4;
|
|
1243
|
+
*/
|
|
1244
|
+
readonly STAT: 4;
|
|
1245
|
+
/**
|
|
1246
|
+
* 1.21
|
|
1247
|
+
*
|
|
1248
|
+
* @generated from enum value: SIGNED_URL = 5;
|
|
1249
|
+
*/
|
|
1250
|
+
readonly SIGNED_URL: 5;
|
|
1251
|
+
/**
|
|
1252
|
+
* 1.21: a public bucket's address, signed by nothing
|
|
1253
|
+
*
|
|
1254
|
+
* @generated from enum value: URL = 6;
|
|
1255
|
+
*/
|
|
1256
|
+
readonly URL: 6;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Op
|
|
1260
|
+
*/
|
|
1261
|
+
export type StorageRequest_Op = (typeof StorageRequest_Op)[keyof typeof StorageRequest_Op] | UnknownEnum;
|
|
1262
|
+
/**
|
|
1263
|
+
* Describes the enum ankka.protocol.v1.StorageRequest.Op.
|
|
1264
|
+
*/
|
|
1265
|
+
export declare const StorageRequest_OpSchema: GenEnum<StorageRequest_Op>;
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Access
|
|
1268
|
+
*/
|
|
1269
|
+
export declare const StorageRequest_Access: {
|
|
1270
|
+
/**
|
|
1271
|
+
* 1.21
|
|
1272
|
+
*
|
|
1273
|
+
* @generated from enum value: READ = 0;
|
|
1274
|
+
*/
|
|
1275
|
+
readonly READ: 0;
|
|
1276
|
+
/**
|
|
1277
|
+
* 1.21
|
|
1278
|
+
*
|
|
1279
|
+
* @generated from enum value: KEEP = 1;
|
|
1280
|
+
*/
|
|
1281
|
+
readonly KEEP: 1;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* @generated from enum ankka.protocol.v1.StorageRequest.Access
|
|
1285
|
+
*/
|
|
1286
|
+
export type StorageRequest_Access = (typeof StorageRequest_Access)[keyof typeof StorageRequest_Access] | UnknownEnum;
|
|
1287
|
+
/**
|
|
1288
|
+
* Describes the enum ankka.protocol.v1.StorageRequest.Access.
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const StorageRequest_AccessSchema: GenEnum<StorageRequest_Access>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Exactly one case is set. A refusal or a fault is `error`, never a trap.
|
|
1293
|
+
*
|
|
1294
|
+
* @generated from message ankka.protocol.v1.StorageReply
|
|
1295
|
+
*/
|
|
1296
|
+
export type StorageReply = Message<"ankka.protocol.v1.StorageReply"> & {
|
|
1297
|
+
/**
|
|
1298
|
+
* @generated from oneof ankka.protocol.v1.StorageReply.reply
|
|
1299
|
+
*/
|
|
1300
|
+
reply: {
|
|
1301
|
+
/**
|
|
1302
|
+
* 1.21: GET
|
|
1303
|
+
*
|
|
1304
|
+
* @generated from field: ankka.protocol.v1.StoredObject object = 1;
|
|
1305
|
+
*/
|
|
1306
|
+
value: StoredObject;
|
|
1307
|
+
case: "object";
|
|
1308
|
+
} | {
|
|
1309
|
+
/**
|
|
1310
|
+
* 1.21: STAT
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from field: ankka.protocol.v1.ObjectInfo info = 2;
|
|
1313
|
+
*/
|
|
1314
|
+
value: ObjectInfo;
|
|
1315
|
+
case: "info";
|
|
1316
|
+
} | {
|
|
1317
|
+
/**
|
|
1318
|
+
* 1.21: LIST
|
|
1319
|
+
*
|
|
1320
|
+
* @generated from field: ankka.protocol.v1.ObjectEntries entries = 3;
|
|
1321
|
+
*/
|
|
1322
|
+
value: ObjectEntries;
|
|
1323
|
+
case: "entries";
|
|
1324
|
+
} | {
|
|
1325
|
+
/**
|
|
1326
|
+
* 1.21: SIGNED_URL, URL
|
|
1327
|
+
*
|
|
1328
|
+
* @generated from field: string url = 4;
|
|
1329
|
+
*/
|
|
1330
|
+
value: string;
|
|
1331
|
+
case: "url";
|
|
1332
|
+
} | {
|
|
1333
|
+
/**
|
|
1334
|
+
* 1.21: PUT, DELETE; a GET or STAT that finds nothing
|
|
1335
|
+
*
|
|
1336
|
+
* @generated from field: ankka.protocol.v1.Empty done = 5;
|
|
1337
|
+
*/
|
|
1338
|
+
value: Empty;
|
|
1339
|
+
case: "done";
|
|
1340
|
+
} | {
|
|
1341
|
+
/**
|
|
1342
|
+
* 1.21
|
|
1343
|
+
*
|
|
1344
|
+
* @generated from field: ankka.protocol.v1.Error error = 6;
|
|
1345
|
+
*/
|
|
1346
|
+
value: Error;
|
|
1347
|
+
case: "error";
|
|
1348
|
+
} | {
|
|
1349
|
+
case: undefined;
|
|
1350
|
+
value?: undefined;
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
/**
|
|
1354
|
+
* Describes the message ankka.protocol.v1.StorageReply.
|
|
1355
|
+
* Use `create(StorageReplySchema)` to create a new message.
|
|
1356
|
+
*/
|
|
1357
|
+
export declare const StorageReplySchema: GenMessage<StorageReply>;
|
|
1358
|
+
/**
|
|
1359
|
+
* @generated from message ankka.protocol.v1.StoredObject
|
|
1360
|
+
*/
|
|
1361
|
+
export type StoredObject = Message<"ankka.protocol.v1.StoredObject"> & {
|
|
1362
|
+
/**
|
|
1363
|
+
* 1.21
|
|
1364
|
+
*
|
|
1365
|
+
* @generated from field: string content_type = 1;
|
|
1366
|
+
*/
|
|
1367
|
+
contentType: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* 1.21
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from field: bytes body = 2;
|
|
1372
|
+
*/
|
|
1373
|
+
body: Uint8Array;
|
|
1374
|
+
/**
|
|
1375
|
+
* 1.21
|
|
1376
|
+
*
|
|
1377
|
+
* @generated from field: uint64 length = 3;
|
|
1378
|
+
*/
|
|
1379
|
+
length: bigint;
|
|
1380
|
+
/**
|
|
1381
|
+
* 1.21: ISO-8601
|
|
1382
|
+
*
|
|
1383
|
+
* @generated from field: string last_kept = 4;
|
|
1384
|
+
*/
|
|
1385
|
+
lastKept: string;
|
|
1386
|
+
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Describes the message ankka.protocol.v1.StoredObject.
|
|
1389
|
+
* Use `create(StoredObjectSchema)` to create a new message.
|
|
1390
|
+
*/
|
|
1391
|
+
export declare const StoredObjectSchema: GenMessage<StoredObject>;
|
|
1392
|
+
/**
|
|
1393
|
+
* @generated from message ankka.protocol.v1.ObjectInfo
|
|
1394
|
+
*/
|
|
1395
|
+
export type ObjectInfo = Message<"ankka.protocol.v1.ObjectInfo"> & {
|
|
1396
|
+
/**
|
|
1397
|
+
* 1.21
|
|
1398
|
+
*
|
|
1399
|
+
* @generated from field: string name = 1;
|
|
1400
|
+
*/
|
|
1401
|
+
name: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* 1.21
|
|
1404
|
+
*
|
|
1405
|
+
* @generated from field: string content_type = 2;
|
|
1406
|
+
*/
|
|
1407
|
+
contentType: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* 1.21
|
|
1410
|
+
*
|
|
1411
|
+
* @generated from field: uint64 length = 3;
|
|
1412
|
+
*/
|
|
1413
|
+
length: bigint;
|
|
1414
|
+
/**
|
|
1415
|
+
* 1.21: ISO-8601
|
|
1416
|
+
*
|
|
1417
|
+
* @generated from field: string last_kept = 4;
|
|
1418
|
+
*/
|
|
1419
|
+
lastKept: string;
|
|
1420
|
+
};
|
|
1421
|
+
/**
|
|
1422
|
+
* Describes the message ankka.protocol.v1.ObjectInfo.
|
|
1423
|
+
* Use `create(ObjectInfoSchema)` to create a new message.
|
|
1424
|
+
*/
|
|
1425
|
+
export declare const ObjectInfoSchema: GenMessage<ObjectInfo>;
|
|
1426
|
+
/**
|
|
1427
|
+
* @generated from message ankka.protocol.v1.ObjectEntries
|
|
1428
|
+
*/
|
|
1429
|
+
export type ObjectEntries = Message<"ankka.protocol.v1.ObjectEntries"> & {
|
|
1430
|
+
/**
|
|
1431
|
+
* 1.21: in name order
|
|
1432
|
+
*
|
|
1433
|
+
* @generated from field: repeated ankka.protocol.v1.ObjectEntry entries = 1;
|
|
1434
|
+
*/
|
|
1435
|
+
entries: ObjectEntry[];
|
|
1436
|
+
/**
|
|
1437
|
+
* 1.21: absent: the last page
|
|
1438
|
+
*
|
|
1439
|
+
* @generated from field: optional string next = 2;
|
|
1440
|
+
*/
|
|
1441
|
+
next?: string | undefined;
|
|
1442
|
+
};
|
|
1443
|
+
/**
|
|
1444
|
+
* Describes the message ankka.protocol.v1.ObjectEntries.
|
|
1445
|
+
* Use `create(ObjectEntriesSchema)` to create a new message.
|
|
1446
|
+
*/
|
|
1447
|
+
export declare const ObjectEntriesSchema: GenMessage<ObjectEntries>;
|
|
1448
|
+
/**
|
|
1449
|
+
* @generated from message ankka.protocol.v1.ObjectEntry
|
|
1450
|
+
*/
|
|
1451
|
+
export type ObjectEntry = Message<"ankka.protocol.v1.ObjectEntry"> & {
|
|
1452
|
+
/**
|
|
1453
|
+
* 1.21
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from field: string name = 1;
|
|
1456
|
+
*/
|
|
1457
|
+
name: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* 1.21
|
|
1460
|
+
*
|
|
1461
|
+
* @generated from field: uint64 length = 2;
|
|
1462
|
+
*/
|
|
1463
|
+
length: bigint;
|
|
1464
|
+
/**
|
|
1465
|
+
* 1.21: ISO-8601
|
|
1466
|
+
*
|
|
1467
|
+
* @generated from field: string last_kept = 3;
|
|
1468
|
+
*/
|
|
1469
|
+
lastKept: string;
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* Describes the message ankka.protocol.v1.ObjectEntry.
|
|
1473
|
+
* Use `create(ObjectEntrySchema)` to create a new message.
|
|
1474
|
+
*/
|
|
1475
|
+
export declare const ObjectEntrySchema: GenMessage<ObjectEntry>;
|
|
911
1476
|
/**
|
|
912
1477
|
* @generated from enum ankka.protocol.v1.Overflow
|
|
913
1478
|
*/
|
|
@@ -1107,4 +1672,33 @@ export declare const Client: GenService<{
|
|
|
1107
1672
|
input: typeof AwaitEndRequestSchema;
|
|
1108
1673
|
output: typeof StreamTokenSchema;
|
|
1109
1674
|
};
|
|
1675
|
+
/**
|
|
1676
|
+
* The service's client keys (protocol 1.20): issued for one of its MCP endpoints, listed and
|
|
1677
|
+
* revoked. The key itself is in an issue's reply and nowhere else. A refusal or a fault is an
|
|
1678
|
+
* Error in the reply, never a gRPC status, as for the secret store; a runtime older than 1.20
|
|
1679
|
+
* answers UNIMPLEMENTED.
|
|
1680
|
+
*
|
|
1681
|
+
* @generated from rpc ankka.protocol.v1.Client.IssueClientKey
|
|
1682
|
+
*/
|
|
1683
|
+
issueClientKey: {
|
|
1684
|
+
methodKind: "unary";
|
|
1685
|
+
input: typeof IssueClientKeyRequestSchema;
|
|
1686
|
+
output: typeof IssueClientKeyReplySchema;
|
|
1687
|
+
};
|
|
1688
|
+
/**
|
|
1689
|
+
* @generated from rpc ankka.protocol.v1.Client.ListClientKeys
|
|
1690
|
+
*/
|
|
1691
|
+
listClientKeys: {
|
|
1692
|
+
methodKind: "unary";
|
|
1693
|
+
input: typeof ListClientKeysRequestSchema;
|
|
1694
|
+
output: typeof ListClientKeysReplySchema;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* @generated from rpc ankka.protocol.v1.Client.RevokeClientKey
|
|
1698
|
+
*/
|
|
1699
|
+
revokeClientKey: {
|
|
1700
|
+
methodKind: "unary";
|
|
1701
|
+
input: typeof RevokeClientKeyRequestSchema;
|
|
1702
|
+
output: typeof RevokeClientKeyReplySchema;
|
|
1703
|
+
};
|
|
1110
1704
|
}>;
|