ankka 0.10.0 → 0.12.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/README.md +1 -0
- package/dist/_proto/ankka/protocol/v1/agent_pb.d.ts +35 -0
- package/dist/_proto/ankka/protocol/v1/agent_pb.js +8 -1
- package/dist/_proto/ankka/protocol/v1/client_pb.d.ts +858 -2
- package/dist/_proto/ankka/protocol/v1/client_pb.js +184 -9
- package/dist/_proto/ankka/protocol/v1/consumer_pb.d.ts +10 -1
- package/dist/_proto/ankka/protocol/v1/consumer_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +373 -0
- package/dist/_proto/ankka/protocol/v1/discovery_pb.js +81 -16
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.d.ts +210 -0
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.js +35 -5
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.d.ts +86 -0
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.js +11 -1
- package/dist/_proto/ankka/protocol/v1/payload_pb.d.ts +61 -0
- package/dist/_proto/ankka/protocol/v1/payload_pb.js +18 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.d.ts +70 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.js +11 -1
- package/dist/_proto/ankka/protocol/v1/wasm_pb.d.ts +12 -0
- package/dist/_proto/ankka/protocol/v1/wasm_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/workflow_pb.d.ts +7 -0
- package/dist/_proto/ankka/protocol/v1/workflow_pb.js +1 -1
- package/dist/agent.d.ts +15 -1
- package/dist/agent.js +20 -0
- package/dist/approvals.d.ts +47 -0
- package/dist/approvals.js +57 -0
- package/dist/autonomous.d.ts +23 -1
- package/dist/autonomous.js +30 -1
- package/dist/client.d.ts +188 -7
- package/dist/client.js +490 -21
- package/dist/consumer.d.ts +42 -3
- package/dist/consumer.js +35 -1
- package/dist/context.d.ts +29 -1
- package/dist/context.js +5 -2
- package/dist/contract.d.ts +40 -0
- package/dist/contract.js +60 -0
- package/dist/effects/common.d.ts +7 -0
- package/dist/effects/common.js +9 -1
- package/dist/effects/eventSourced.d.ts +26 -1
- package/dist/effects/eventSourced.js +58 -5
- package/dist/effects/keyed.d.ts +33 -0
- package/dist/effects/keyed.js +41 -0
- package/dist/endpoint.d.ts +10 -1
- package/dist/endpoint.js +20 -0
- package/dist/eventSourcedEntity.d.ts +8 -3
- package/dist/graph.d.ts +24 -2
- package/dist/graph.js +27 -1
- package/dist/handlers.d.ts +10 -2
- package/dist/handlers.js +6 -2
- package/dist/index.d.ts +15 -6
- package/dist/index.js +12 -3
- package/dist/keyedView.d.ts +59 -0
- package/dist/keyedView.js +73 -0
- package/dist/kinds.js +2 -0
- package/dist/mcp.d.ts +57 -0
- package/dist/mcp.js +64 -0
- package/dist/routes.d.ts +44 -4
- package/dist/routes.js +43 -4
- package/dist/server/agent.js +12 -4
- package/dist/server/discovery.d.ts +17 -1
- package/dist/server/discovery.js +182 -1
- package/dist/server/eventSourced.d.ts +4 -1
- package/dist/server/eventSourced.js +24 -6
- package/dist/server/http.d.ts +2 -1
- package/dist/server/http.js +80 -4
- package/dist/server/stateless.js +42 -3
- package/dist/server/workflow.js +5 -1
- package/dist/service.d.ts +46 -2
- package/dist/service.js +235 -15
- package/dist/services.d.ts +137 -0
- package/dist/services.js +259 -0
- package/dist/socket.d.ts +15 -0
- package/dist/socket.js +25 -0
- package/dist/spec.d.ts +1 -1
- package/dist/spec.js +94 -15
- package/dist/standing.d.ts +18 -0
- package/dist/standing.js +26 -0
- package/dist/startFrom.d.ts +36 -0
- package/dist/startFrom.js +51 -0
- package/dist/testkit/index.d.ts +2 -2
- package/dist/testkit/index.js +1 -1
- package/dist/testkit/integration.js +5 -0
- package/dist/testkit/kinds.d.ts +50 -5
- package/dist/testkit/kinds.js +208 -35
- package/dist/testkit/unit.d.ts +41 -3
- package/dist/testkit/unit.js +87 -10
- package/dist/timedAction.d.ts +17 -2
- package/dist/timedAction.js +33 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/view.d.ts +48 -1
- package/dist/view.js +18 -1
- package/dist/workflow.d.ts +18 -1
- package/dist/workflow.js +39 -0
- package/package.json +3 -2
|
@@ -116,6 +116,14 @@ export type Caller = Message<"ankka.protocol.v1.Caller"> & {
|
|
|
116
116
|
*/
|
|
117
117
|
value: Empty;
|
|
118
118
|
case: "local";
|
|
119
|
+
} | {
|
|
120
|
+
/**
|
|
121
|
+
* 1.15: a machine registered on an organization, proven by a token the control plane issued.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: ankka.protocol.v1.MachineCaller machine = 4;
|
|
124
|
+
*/
|
|
125
|
+
value: MachineCaller;
|
|
126
|
+
case: "machine";
|
|
119
127
|
} | {
|
|
120
128
|
case: undefined;
|
|
121
129
|
value?: undefined;
|
|
@@ -144,6 +152,24 @@ export type ServiceCaller = Message<"ankka.protocol.v1.ServiceCaller"> & {
|
|
|
144
152
|
* Use `create(ServiceCallerSchema)` to create a new message.
|
|
145
153
|
*/
|
|
146
154
|
export declare const ServiceCallerSchema: GenMessage<ServiceCaller>;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message ankka.protocol.v1.MachineCaller
|
|
157
|
+
*/
|
|
158
|
+
export type MachineCaller = Message<"ankka.protocol.v1.MachineCaller"> & {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string organization = 1;
|
|
161
|
+
*/
|
|
162
|
+
organization: string;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: string name = 2;
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Describes the message ankka.protocol.v1.MachineCaller.
|
|
170
|
+
* Use `create(MachineCallerSchema)` to create a new message.
|
|
171
|
+
*/
|
|
172
|
+
export declare const MachineCallerSchema: GenMessage<MachineCaller>;
|
|
147
173
|
/**
|
|
148
174
|
* @generated from message ankka.protocol.v1.Principal
|
|
149
175
|
*/
|
|
@@ -168,6 +194,20 @@ export type Principal = Message<"ankka.protocol.v1.Principal"> & {
|
|
|
168
194
|
* @generated from field: repeated string roles = 5;
|
|
169
195
|
*/
|
|
170
196
|
roles: string[];
|
|
197
|
+
/**
|
|
198
|
+
* Every other claim of the verified token, as text. Since 1.4.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: map<string, string> claims = 6;
|
|
201
|
+
*/
|
|
202
|
+
claims: {
|
|
203
|
+
[key: string]: string;
|
|
204
|
+
};
|
|
205
|
+
/**
|
|
206
|
+
* The service's own name for the issuer that verified the token, from ANKKA_AUTH_ISSUERS. Since 1.4.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: optional string issuer = 7;
|
|
209
|
+
*/
|
|
210
|
+
issuer?: string | undefined;
|
|
171
211
|
};
|
|
172
212
|
/**
|
|
173
213
|
* Describes the message ankka.protocol.v1.Principal.
|
|
@@ -254,6 +294,14 @@ export type StreamFrame = Message<"ankka.protocol.v1.StreamFrame"> & {
|
|
|
254
294
|
*/
|
|
255
295
|
value: Error;
|
|
256
296
|
case: "failed";
|
|
297
|
+
} | {
|
|
298
|
+
/**
|
|
299
|
+
* 1.11: a server-sent event with a name, its data JSON text on one line
|
|
300
|
+
*
|
|
301
|
+
* @generated from field: ankka.protocol.v1.SseEvent event = 4;
|
|
302
|
+
*/
|
|
303
|
+
value: SseEvent;
|
|
304
|
+
case: "event";
|
|
257
305
|
} | {
|
|
258
306
|
case: undefined;
|
|
259
307
|
value?: undefined;
|
|
@@ -264,6 +312,157 @@ export type StreamFrame = Message<"ankka.protocol.v1.StreamFrame"> & {
|
|
|
264
312
|
* Use `create(StreamFrameSchema)` to create a new message.
|
|
265
313
|
*/
|
|
266
314
|
export declare const StreamFrameSchema: GenMessage<StreamFrame>;
|
|
315
|
+
/**
|
|
316
|
+
* 1.11: an event a stream route sends under a name of its own — an agent turn that stops for approval
|
|
317
|
+
* ends its stream with one named `approval` — rather than as text. `data` is JSON text on one line.
|
|
318
|
+
*
|
|
319
|
+
* @generated from message ankka.protocol.v1.SseEvent
|
|
320
|
+
*/
|
|
321
|
+
export type SseEvent = Message<"ankka.protocol.v1.SseEvent"> & {
|
|
322
|
+
/**
|
|
323
|
+
* @generated from field: string name = 1;
|
|
324
|
+
*/
|
|
325
|
+
name: string;
|
|
326
|
+
/**
|
|
327
|
+
* @generated from field: string data = 2;
|
|
328
|
+
*/
|
|
329
|
+
data: string;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Describes the message ankka.protocol.v1.SseEvent.
|
|
333
|
+
* Use `create(SseEventSchema)` to create a new message.
|
|
334
|
+
*/
|
|
335
|
+
export declare const SseEventSchema: GenMessage<SseEvent>;
|
|
336
|
+
/**
|
|
337
|
+
* What the sidecar sends on a socket's stream: `open` once and first, then a `frame` for each
|
|
338
|
+
* frame the client sent, in order, then `closed` last, after which it half-closes. A message with
|
|
339
|
+
* no case set is a protocol violation, never skipped: it closes the socket as failed.
|
|
340
|
+
*
|
|
341
|
+
* @generated from message ankka.protocol.v1.SocketIn
|
|
342
|
+
*/
|
|
343
|
+
export type SocketIn = Message<"ankka.protocol.v1.SocketIn"> & {
|
|
344
|
+
/**
|
|
345
|
+
* @generated from oneof ankka.protocol.v1.SocketIn.message
|
|
346
|
+
*/
|
|
347
|
+
message: {
|
|
348
|
+
/**
|
|
349
|
+
* the request that opened the socket; no body
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: ankka.protocol.v1.HttpRequest open = 1;
|
|
352
|
+
*/
|
|
353
|
+
value: HttpRequest;
|
|
354
|
+
case: "open";
|
|
355
|
+
} | {
|
|
356
|
+
/**
|
|
357
|
+
* a frame the client sent
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: ankka.protocol.v1.SocketFrame frame = 2;
|
|
360
|
+
*/
|
|
361
|
+
value: SocketFrame;
|
|
362
|
+
case: "frame";
|
|
363
|
+
} | {
|
|
364
|
+
/**
|
|
365
|
+
* the socket is closed; frames sent after this are discarded
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: ankka.protocol.v1.SocketClosed closed = 3;
|
|
368
|
+
*/
|
|
369
|
+
value: SocketClosed;
|
|
370
|
+
case: "closed";
|
|
371
|
+
} | {
|
|
372
|
+
case: undefined;
|
|
373
|
+
value?: undefined;
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
* Describes the message ankka.protocol.v1.SocketIn.
|
|
378
|
+
* Use `create(SocketInSchema)` to create a new message.
|
|
379
|
+
*/
|
|
380
|
+
export declare const SocketInSchema: GenMessage<SocketIn>;
|
|
381
|
+
/**
|
|
382
|
+
* What the process sends: a `frame` for each frame for the client, in order, and then `completed`
|
|
383
|
+
* when its handler returned or `failed` when it threw. Ending the stream without either is
|
|
384
|
+
* `completed`; ending it in an error is `failed`.
|
|
385
|
+
*
|
|
386
|
+
* @generated from message ankka.protocol.v1.SocketOut
|
|
387
|
+
*/
|
|
388
|
+
export type SocketOut = Message<"ankka.protocol.v1.SocketOut"> & {
|
|
389
|
+
/**
|
|
390
|
+
* @generated from oneof ankka.protocol.v1.SocketOut.message
|
|
391
|
+
*/
|
|
392
|
+
message: {
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: ankka.protocol.v1.SocketFrame frame = 1;
|
|
395
|
+
*/
|
|
396
|
+
value: SocketFrame;
|
|
397
|
+
case: "frame";
|
|
398
|
+
} | {
|
|
399
|
+
/**
|
|
400
|
+
* closes the socket "finished" (1000)
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: ankka.protocol.v1.Empty completed = 2;
|
|
403
|
+
*/
|
|
404
|
+
value: Empty;
|
|
405
|
+
case: "completed";
|
|
406
|
+
} | {
|
|
407
|
+
/**
|
|
408
|
+
* closes the socket "failed" (1011)
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: ankka.protocol.v1.Error failed = 3;
|
|
411
|
+
*/
|
|
412
|
+
value: Error;
|
|
413
|
+
case: "failed";
|
|
414
|
+
} | {
|
|
415
|
+
case: undefined;
|
|
416
|
+
value?: undefined;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Describes the message ankka.protocol.v1.SocketOut.
|
|
421
|
+
* Use `create(SocketOutSchema)` to create a new message.
|
|
422
|
+
*/
|
|
423
|
+
export declare const SocketOutSchema: GenMessage<SocketOut>;
|
|
424
|
+
/**
|
|
425
|
+
* One frame. Text only: a later kind is a case added here, under a minor version of its own.
|
|
426
|
+
*
|
|
427
|
+
* @generated from message ankka.protocol.v1.SocketFrame
|
|
428
|
+
*/
|
|
429
|
+
export type SocketFrame = Message<"ankka.protocol.v1.SocketFrame"> & {
|
|
430
|
+
/**
|
|
431
|
+
* @generated from oneof ankka.protocol.v1.SocketFrame.kind
|
|
432
|
+
*/
|
|
433
|
+
kind: {
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: string text = 1;
|
|
436
|
+
*/
|
|
437
|
+
value: string;
|
|
438
|
+
case: "text";
|
|
439
|
+
} | {
|
|
440
|
+
case: undefined;
|
|
441
|
+
value?: undefined;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* Describes the message ankka.protocol.v1.SocketFrame.
|
|
446
|
+
* Use `create(SocketFrameSchema)` to create a new message.
|
|
447
|
+
*/
|
|
448
|
+
export declare const SocketFrameSchema: GenMessage<SocketFrame>;
|
|
449
|
+
/**
|
|
450
|
+
* Why the socket was closed: a close reason's word ("going away", "too large", "unread", "not
|
|
451
|
+
* text", "failed", "finished"), or "client" for the client's own close.
|
|
452
|
+
*
|
|
453
|
+
* @generated from message ankka.protocol.v1.SocketClosed
|
|
454
|
+
*/
|
|
455
|
+
export type SocketClosed = Message<"ankka.protocol.v1.SocketClosed"> & {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: string reason = 1;
|
|
458
|
+
*/
|
|
459
|
+
reason: string;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* Describes the message ankka.protocol.v1.SocketClosed.
|
|
463
|
+
* Use `create(SocketClosedSchema)` to create a new message.
|
|
464
|
+
*/
|
|
465
|
+
export declare const SocketClosedSchema: GenMessage<SocketClosed>;
|
|
267
466
|
/**
|
|
268
467
|
* @generated from service ankka.protocol.v1.Http
|
|
269
468
|
*/
|
|
@@ -284,4 +483,15 @@ export declare const Http: GenService<{
|
|
|
284
483
|
input: typeof HttpRequestSchema;
|
|
285
484
|
output: typeof StreamFrameSchema;
|
|
286
485
|
};
|
|
486
|
+
/**
|
|
487
|
+
* A socket route's open socket, for as long as it is open (protocol 1.9). The sidecar holds the
|
|
488
|
+
* socket, decides its ACL when it is opened and relays frames both ways.
|
|
489
|
+
*
|
|
490
|
+
* @generated from rpc ankka.protocol.v1.Http.HandleSocket
|
|
491
|
+
*/
|
|
492
|
+
handleSocket: {
|
|
493
|
+
methodKind: "bidi_streaming";
|
|
494
|
+
input: typeof SocketInSchema;
|
|
495
|
+
output: typeof SocketOutSchema;
|
|
496
|
+
};
|
|
287
497
|
}>;
|
|
@@ -7,7 +7,7 @@ import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ankka/protocol/v1/endpoint.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ankka_protocol_v1_endpoint = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ankka_protocol_v1_endpoint = /*@__PURE__*/ fileDesc("CiBhbmtrYS9wcm90b2NvbC92MS9lbmRwb2ludC5wcm90bxIRYW5ra2EucHJvdG9jb2wudjEiqAMKC0h0dHBSZXF1ZXN0EhMKC2VuZHBvaW50X2lkGAEgASgJEhAKCHJvdXRlX2lkGAIgASgJEhEKCXBhdGhfYXJncxgDIAMoCRIyCgVxdWVyeRgEIAMoCzIjLmFua2thLnByb3RvY29sLnYxLkh0dHBSZXF1ZXN0LlBhaXISNAoHaGVhZGVycxgFIAMoCzIjLmFua2thLnByb3RvY29sLnYxLkh0dHBSZXF1ZXN0LlBh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Eg4KBHRleHQYASABKAlIAEIGCgRraW5kIh4KDFNvY2tldENsb3NlZBIOCgZyZWFzb24YASABKAky7wEKBEh0dHASRgoGSGFuZGxlEh4uYW5ra2EucHJvdG9jb2wudjEuSHR0cFJlcXVlc3QaHC5hbmtrYS5wcm90b2NvbC52MS5IdHRwUmVwbHkSUAoMSGFuZGxlU3RyZWFtEh4uYW5ra2EucHJvdG9jb2wudjEuSHR0cFJlcXVlc3QaHi5hbmtrYS5wcm90b2NvbC52MS5TdHJlYW1GcmFtZTABEk0KDEhhbmRsZVNvY2tldBIbLmFua2thLnByb3RvY29sLnYxLlNvY2tldEluGhwuYW5ra2EucHJvdG9jb2wudjEuU29ja2V0T3V0KAEwAWIGcHJvdG8z", [file_ankka_protocol_v1_payload]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ankka.protocol.v1.HttpRequest.
|
|
13
13
|
* Use `create(HttpRequestSchema)` to create a new message.
|
|
@@ -28,26 +28,56 @@ export const CallerSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_end
|
|
|
28
28
|
* Use `create(ServiceCallerSchema)` to create a new message.
|
|
29
29
|
*/
|
|
30
30
|
export const ServiceCallerSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 2);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message ankka.protocol.v1.MachineCaller.
|
|
33
|
+
* Use `create(MachineCallerSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const MachineCallerSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 3);
|
|
31
36
|
/**
|
|
32
37
|
* Describes the message ankka.protocol.v1.Principal.
|
|
33
38
|
* Use `create(PrincipalSchema)` to create a new message.
|
|
34
39
|
*/
|
|
35
|
-
export const PrincipalSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint,
|
|
40
|
+
export const PrincipalSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 4);
|
|
36
41
|
/**
|
|
37
42
|
* Describes the message ankka.protocol.v1.HttpReply.
|
|
38
43
|
* Use `create(HttpReplySchema)` to create a new message.
|
|
39
44
|
*/
|
|
40
|
-
export const HttpReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint,
|
|
45
|
+
export const HttpReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 5);
|
|
41
46
|
/**
|
|
42
47
|
* Describes the message ankka.protocol.v1.HttpResponse.
|
|
43
48
|
* Use `create(HttpResponseSchema)` to create a new message.
|
|
44
49
|
*/
|
|
45
|
-
export const HttpResponseSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint,
|
|
50
|
+
export const HttpResponseSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 6);
|
|
46
51
|
/**
|
|
47
52
|
* Describes the message ankka.protocol.v1.StreamFrame.
|
|
48
53
|
* Use `create(StreamFrameSchema)` to create a new message.
|
|
49
54
|
*/
|
|
50
|
-
export const StreamFrameSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint,
|
|
55
|
+
export const StreamFrameSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 7);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message ankka.protocol.v1.SseEvent.
|
|
58
|
+
* Use `create(SseEventSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const SseEventSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 8);
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message ankka.protocol.v1.SocketIn.
|
|
63
|
+
* Use `create(SocketInSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const SocketInSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 9);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message ankka.protocol.v1.SocketOut.
|
|
68
|
+
* Use `create(SocketOutSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const SocketOutSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 10);
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message ankka.protocol.v1.SocketFrame.
|
|
73
|
+
* Use `create(SocketFrameSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const SocketFrameSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 11);
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message ankka.protocol.v1.SocketClosed.
|
|
78
|
+
* Use `create(SocketClosedSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export const SocketClosedSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_endpoint, 12);
|
|
51
81
|
/**
|
|
52
82
|
* @generated from service ankka.protocol.v1.Http
|
|
53
83
|
*/
|
|
@@ -58,6 +58,12 @@ export type EventSourcedIn_Init = Message<"ankka.protocol.v1.EventSourcedIn.Init
|
|
|
58
58
|
* @generated from field: optional ankka.protocol.v1.EventSourcedIn.Snapshot snapshot = 3;
|
|
59
59
|
*/
|
|
60
60
|
snapshot?: EventSourcedIn_Snapshot | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* 1.19: this installation; empty when none is named
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string installation = 4;
|
|
65
|
+
*/
|
|
66
|
+
installation: string;
|
|
61
67
|
};
|
|
62
68
|
/**
|
|
63
69
|
* Describes the message ankka.protocol.v1.EventSourcedIn.Init.
|
|
@@ -94,6 +100,13 @@ export type EventSourcedIn_Event = Message<"ankka.protocol.v1.EventSourcedIn.Eve
|
|
|
94
100
|
* @generated from field: ankka.protocol.v1.Payload payload = 2;
|
|
95
101
|
*/
|
|
96
102
|
payload?: Payload | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* 1.19: the installation that wrote the event; empty on a service that names no installations.
|
|
105
|
+
* A record from before replication reads as written at the entity's home.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: string installation = 3;
|
|
108
|
+
*/
|
|
109
|
+
installation: string;
|
|
97
110
|
};
|
|
98
111
|
/**
|
|
99
112
|
* Describes the message ankka.protocol.v1.EventSourcedIn.Event.
|
|
@@ -130,6 +143,19 @@ export type EventSourcedIn_Command = Message<"ankka.protocol.v1.EventSourcedIn.C
|
|
|
130
143
|
* @generated from field: bool snapshot_requested = 5;
|
|
131
144
|
*/
|
|
132
145
|
snapshotRequested: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* 1.19: this installation; empty when none is named
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string installation = 6;
|
|
150
|
+
*/
|
|
151
|
+
installation: string;
|
|
152
|
+
/**
|
|
153
|
+
* 1.19: whether this installation is the entity's home (true when none is named). A persisting
|
|
154
|
+
* command reaches a process only at the home; a read-only one may arrive at a follower.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: bool at_home = 7;
|
|
157
|
+
*/
|
|
158
|
+
atHome: boolean;
|
|
133
159
|
};
|
|
134
160
|
/**
|
|
135
161
|
* Describes the message ankka.protocol.v1.EventSourcedIn.Command.
|
|
@@ -191,12 +217,72 @@ export type EventSourcedOut_Reply = Message<"ankka.protocol.v1.EventSourcedOut.R
|
|
|
191
217
|
* @generated from field: optional ankka.protocol.v1.Payload snapshot = 5;
|
|
192
218
|
*/
|
|
193
219
|
snapshot?: Payload | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* 1.19: a handover or a change to the replication set, written after `events`. Only from an
|
|
222
|
+
* entity discovered as replicated; the runtime refuses it from any other.
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: optional ankka.protocol.v1.ReplicationChange replication = 6;
|
|
225
|
+
*/
|
|
226
|
+
replication?: ReplicationChange | undefined;
|
|
194
227
|
};
|
|
195
228
|
/**
|
|
196
229
|
* Describes the message ankka.protocol.v1.EventSourcedOut.Reply.
|
|
197
230
|
* Use `create(EventSourcedOut_ReplySchema)` to create a new message.
|
|
198
231
|
*/
|
|
199
232
|
export declare const EventSourcedOut_ReplySchema: GenMessage<EventSourcedOut_Reply>;
|
|
233
|
+
/**
|
|
234
|
+
* 1.19: what a replicated entity's handler asks of its home, beside the events it persists.
|
|
235
|
+
*
|
|
236
|
+
* @generated from message ankka.protocol.v1.ReplicationChange
|
|
237
|
+
*/
|
|
238
|
+
export type ReplicationChange = Message<"ankka.protocol.v1.ReplicationChange"> & {
|
|
239
|
+
/**
|
|
240
|
+
* @generated from oneof ankka.protocol.v1.ReplicationChange.change
|
|
241
|
+
*/
|
|
242
|
+
change: {
|
|
243
|
+
/**
|
|
244
|
+
* hand the home to this installation
|
|
245
|
+
*
|
|
246
|
+
* @generated from field: string hand_over_to = 1;
|
|
247
|
+
*/
|
|
248
|
+
value: string;
|
|
249
|
+
case: "handOverTo";
|
|
250
|
+
} | {
|
|
251
|
+
/**
|
|
252
|
+
* add to and remove from the replication set
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: ankka.protocol.v1.ReplicationChange.SetChange set = 2;
|
|
255
|
+
*/
|
|
256
|
+
value: ReplicationChange_SetChange;
|
|
257
|
+
case: "set";
|
|
258
|
+
} | {
|
|
259
|
+
case: undefined;
|
|
260
|
+
value?: undefined;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message ankka.protocol.v1.ReplicationChange.
|
|
265
|
+
* Use `create(ReplicationChangeSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const ReplicationChangeSchema: GenMessage<ReplicationChange>;
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message ankka.protocol.v1.ReplicationChange.SetChange
|
|
270
|
+
*/
|
|
271
|
+
export type ReplicationChange_SetChange = Message<"ankka.protocol.v1.ReplicationChange.SetChange"> & {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: repeated string add = 1;
|
|
274
|
+
*/
|
|
275
|
+
add: string[];
|
|
276
|
+
/**
|
|
277
|
+
* @generated from field: repeated string remove = 2;
|
|
278
|
+
*/
|
|
279
|
+
remove: string[];
|
|
280
|
+
};
|
|
281
|
+
/**
|
|
282
|
+
* Describes the message ankka.protocol.v1.ReplicationChange.SetChange.
|
|
283
|
+
* Use `create(ReplicationChange_SetChangeSchema)` to create a new message.
|
|
284
|
+
*/
|
|
285
|
+
export declare const ReplicationChange_SetChangeSchema: GenMessage<ReplicationChange_SetChange>;
|
|
200
286
|
/**
|
|
201
287
|
* @generated from service ankka.protocol.v1.EventSourced
|
|
202
288
|
*/
|
|
@@ -5,7 +5,7 @@ import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ankka/protocol/v1/event_sourced.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ankka_protocol_v1_event_sourced = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ankka_protocol_v1_event_sourced = /*@__PURE__*/ fileDesc("CiVhbmtrYS9wcm90b2NvbC92MS9ldmVudF9zb3VyY2VkLnByb3RvEhFhbmtrYS5wcm90b2NvbC52MSLRBQoORXZlbnRTb3VyY2VkSW4SNgoEaW5pdBgBIAEoCzImLmFua2thLnByb3RvY29sLnYxLkV2ZW50U291cmNlZEluLkluaXRIABI4CgVldmVudBgCIAEoCzInLmFua2thLnByb3RvY29sLnYxLkV2ZW50U291cmNlZEluLkV2ZW50SAASPAoHY29tbWFuZBgDIAEoCzIpLmFua2thLnByb3RvY29sLnYxLkV2ZW50U291cmNlZEluLkNvbW1hbmRIABqVAQoESW5pdBIUCgxjb21wb25lbnRfaWQYASABKAkSEQoJZW50aXR5X2lkGAIgASgJEkEKCHNuYXBzaG90GAMgASgLMiouYW5ra2EucHJvdG9jb2wudjEuRXZlbnRTb3VyY2VkSW4uU25hcHNob3RIAIgBARIUCgxpbnN0YWxsYXRpb24YBCABKAlCCwoJX3NuYXBzaG90GkkKCFNuYXBzaG90EhAKCHNlcXVlbmNlGAEgASgDEisKB3BheWxvYWQYAiABKAsyGi5hbmtrYS5wcm90b2NvbC52MS5QYXlsb2FkGlwKB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EoCzIuLmFua2thLnByb3RvY29sLnYxLlJlcGxpY2F0aW9uQ2hhbmdlLlNldENoYW5nZUgAGigKCVNldENoYW5nZRILCgNhZGQYASADKAkSDgoGcmVtb3ZlGAIgAygJQggKBmNoYW5nZTJjCgxFdmVudFNvdXJjZWQSUwoGSGFuZGxlEiEuYW5ra2EucHJvdG9jb2wudjEuRXZlbnRTb3VyY2VkSW4aIi5hbmtrYS5wcm90b2NvbC52MS5FdmVudFNvdXJjZWRPdXQoATABYgZwcm90bzM", [file_ankka_protocol_v1_payload]);
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message ankka.protocol.v1.EventSourcedIn.
|
|
11
11
|
* Use `create(EventSourcedInSchema)` to create a new message.
|
|
@@ -41,6 +41,16 @@ export const EventSourcedOutSchema = /*@__PURE__*/ messageDesc(file_ankka_protoc
|
|
|
41
41
|
* Use `create(EventSourcedOut_ReplySchema)` to create a new message.
|
|
42
42
|
*/
|
|
43
43
|
export const EventSourcedOut_ReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_event_sourced, 1, 0);
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message ankka.protocol.v1.ReplicationChange.
|
|
46
|
+
* Use `create(ReplicationChangeSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const ReplicationChangeSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_event_sourced, 2);
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message ankka.protocol.v1.ReplicationChange.SetChange.
|
|
51
|
+
* Use `create(ReplicationChange_SetChangeSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export const ReplicationChange_SetChangeSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_event_sourced, 2, 0);
|
|
44
54
|
/**
|
|
45
55
|
* @generated from service ankka.protocol.v1.EventSourced
|
|
46
56
|
*/
|
|
@@ -76,6 +76,16 @@ export type Error = Message<"ankka.protocol.v1.Error"> & {
|
|
|
76
76
|
* @generated from field: ankka.protocol.v1.ErrorCode code = 2;
|
|
77
77
|
*/
|
|
78
78
|
code: ErrorCode;
|
|
79
|
+
/**
|
|
80
|
+
* 1.18: what a caller reads without parsing the message. A WORKFLOW_FAILED carries `step` (when
|
|
81
|
+
* one failed), `reason`, and `deleted` = "true" for a deleted workflow. Set only by the 1.18
|
|
82
|
+
* rpcs; a reader from before ignores it.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: map<string, string> details = 3;
|
|
85
|
+
*/
|
|
86
|
+
details: {
|
|
87
|
+
[key: string]: string;
|
|
88
|
+
};
|
|
79
89
|
};
|
|
80
90
|
/**
|
|
81
91
|
* Describes the message ankka.protocol.v1.Error.
|
|
@@ -229,6 +239,45 @@ export type Empty = Message<"ankka.protocol.v1.Empty"> & {};
|
|
|
229
239
|
* Use `create(EmptySchema)` to create a new message.
|
|
230
240
|
*/
|
|
231
241
|
export declare const EmptySchema: GenMessage<Empty>;
|
|
242
|
+
/**
|
|
243
|
+
* 1.16: where a workflow stood once the effect that recorded a state was applied. Carried on a
|
|
244
|
+
* view's or a consumer's request for a change from a workflow source, and on nothing else.
|
|
245
|
+
*
|
|
246
|
+
* @generated from message ankka.protocol.v1.WorkflowStanding
|
|
247
|
+
*/
|
|
248
|
+
export type WorkflowStanding = Message<"ankka.protocol.v1.WorkflowStanding"> & {
|
|
249
|
+
/**
|
|
250
|
+
* NotStarted, Running, Paused, Completed, Failed, or Unknown for a state recorded before 1.16
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: string status = 1;
|
|
253
|
+
*/
|
|
254
|
+
status: string;
|
|
255
|
+
/**
|
|
256
|
+
* the step the workflow is on, or the step a pause names or follows
|
|
257
|
+
*
|
|
258
|
+
* @generated from field: optional string step = 2;
|
|
259
|
+
*/
|
|
260
|
+
step?: string | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* retries so far, per step
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: map<string, int32> retries = 3;
|
|
265
|
+
*/
|
|
266
|
+
retries: {
|
|
267
|
+
[key: string]: number;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* why it failed, when it did
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: optional string failure = 4;
|
|
273
|
+
*/
|
|
274
|
+
failure?: string | undefined;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* Describes the message ankka.protocol.v1.WorkflowStanding.
|
|
278
|
+
* Use `create(WorkflowStandingSchema)` to create a new message.
|
|
279
|
+
*/
|
|
280
|
+
export declare const WorkflowStandingSchema: GenMessage<WorkflowStanding>;
|
|
232
281
|
/**
|
|
233
282
|
* @generated from enum ankka.protocol.v1.ErrorCode
|
|
234
283
|
*/
|
|
@@ -265,6 +314,18 @@ export declare const ErrorCode: {
|
|
|
265
314
|
* @generated from enum value: UNAVAILABLE = 7;
|
|
266
315
|
*/
|
|
267
316
|
readonly UNAVAILABLE: 7;
|
|
317
|
+
/**
|
|
318
|
+
* 1.18: a workflow a caller waited for failed or was deleted
|
|
319
|
+
*
|
|
320
|
+
* @generated from enum value: WORKFLOW_FAILED = 8;
|
|
321
|
+
*/
|
|
322
|
+
readonly WORKFLOW_FAILED: 8;
|
|
323
|
+
/**
|
|
324
|
+
* 1.19: a replicated entity's copy here cannot answer; the message names its home
|
|
325
|
+
*
|
|
326
|
+
* @generated from enum value: NOT_HOME = 9;
|
|
327
|
+
*/
|
|
328
|
+
readonly NOT_HOME: 9;
|
|
268
329
|
};
|
|
269
330
|
/**
|
|
270
331
|
* @generated from enum ankka.protocol.v1.ErrorCode
|
|
@@ -6,7 +6,7 @@ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file ankka/protocol/v1/payload.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_ankka_protocol_v1_payload = /*@__PURE__*/ fileDesc("Ch9hbmtrYS9wcm90b2NvbC92MS9wYXlsb2FkLnByb3RvEhFhbmtrYS5wcm90b2NvbC52MSI/
|
|
9
|
+
export const file_ankka_protocol_v1_payload = /*@__PURE__*/ fileDesc("Ch9hbmtrYS9wcm90b2NvbC92MS9wYXlsb2FkLnByb3RvEhFhbmtrYS5wcm90b2NvbC52MSI/CgdQYXlsb2FkEhQKDGNvbnRlbnRfdHlwZRgBIAEoCRIQCghtYW5pZmVzdBgCIAEoCRIMCgRkYXRhGAMgASgMImMKCE1ldGFkYXRhEjIKB2VudHJpZXMYASADKAsyIS5hbmtrYS5wcm90b2NvbC52MS5NZXRhZGF0YS5FbnRyeRojCgVFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkirAEKBUVycm9yEg8KB21lc3NhZ2UYASABKAkSKgoEY29kZRgCIAEoDjIcLmFua2thLnByb3RvY29sLnYxLkVycm9yQ29kZRI2CgdkZXRhaWxzGAMgAygLMiUuYW5ra2EucHJvdG9jb2wudjEuRXJyb3IuRGV0YWlsc0VudHJ5Gi4KDERldGFpbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIkYKB0ZhaWx1cmUSEgoKY29tbWFuZF9pZBgBIAEoAxInCgVlcnJvchgCIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVycm9yIpoCCgdPdXRjb21lEjEKBXJlcGx5GAEgASgLMiAuYW5ra2EucHJvdG9jb2wudjEuT3V0Y29tZS5SZXBseUgAEjYKCG5vX3JlcGx5GAIgASgLMiIuYW5ra2EucHJvdG9jb2wudjEuT3V0Y29tZS5Ob1JlcGx5SAASKQoFZXJyb3IYAyABKAsyGC5hbmtrYS5wcm90b2NvbC52MS5FcnJvckgAGmMKBVJlcGx5EisKB3BheWxvYWQYASABKAsyGi5hbmtrYS5wcm90b2NvbC52MS5QYXlsb2FkEi0KCG1ldGFkYXRhGAIgASgLMhsuYW5ra2EucHJvdG9jb2wudjEuTWV0YWRhdGEaCQoHTm9SZXBseUIJCgdvdXRjb21lIsQBCglSZXRlbnRpb24SPAoKZGVsZXRlX25vdxgBIAEoCzImLmFua2thLnByb3RvY29sLnYxLlJldGVudGlvbi5EZWxldGVOb3dIABJACgxleHBpcmVfYWZ0ZXIYAiABKAsyKC5hbmtrYS5wcm90b2NvbC52MS5SZXRlbnRpb24uRXhwaXJlQWZ0ZXJIABoLCglEZWxldGVOb3caHQoLRXhwaXJlQWZ0ZXISDgoGbWlsbGlzGAEgASgDQgsKCXJldGVudGlvbiIHCgVFbXB0eSLTAQoQV29ya2Zsb3dTdGFuZGluZxIOCgZzdGF0dXMYASABKAkSEQoEc3RlcBgCIAEoCUgAiAEBEkEKB3JldHJpZXMYAyADKAsyMC5hbmtrYS5wcm90b2NvbC52MS5Xb3JrZmxvd1N0YW5kaW5nLlJldHJpZXNFbnRyeRIUCgdmYWlsdXJlGAQgASgJSAGIAQEaLgoMUmV0cmllc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoBToCOAFCBwoFX3N0ZXBCCgoIX2ZhaWx1cmUqqQEKCUVycm9yQ29kZRIMCghJTlRFUk5BTBAAEg8KC0JBRF9SRVFVRVNUEAESEAoMVU5BVVRIT1JJWkVEEAISDQoJRk9SQklEREVOEAMSDQoJTk9UX0ZPVU5EEAQSDAoIQ09ORkxJQ1QQBRILCgdUSU1FT1VUEAYSDwoLVU5BVkFJTEFCTEUQBxITCg9XT1JLRkxPV19GQUlMRUQQCBIMCghOT1RfSE9NRRAJYgZwcm90bzM");
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message ankka.protocol.v1.Payload.
|
|
12
12
|
* Use `create(PayloadSchema)` to create a new message.
|
|
@@ -67,6 +67,11 @@ export const Retention_ExpireAfterSchema = /*@__PURE__*/ messageDesc(file_ankka_
|
|
|
67
67
|
* Use `create(EmptySchema)` to create a new message.
|
|
68
68
|
*/
|
|
69
69
|
export const EmptySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_payload, 6);
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message ankka.protocol.v1.WorkflowStanding.
|
|
72
|
+
* Use `create(WorkflowStandingSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export const WorkflowStandingSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_payload, 7);
|
|
70
75
|
/**
|
|
71
76
|
* @generated from enum ankka.protocol.v1.ErrorCode
|
|
72
77
|
*/
|
|
@@ -103,6 +108,18 @@ export const ErrorCode = {
|
|
|
103
108
|
* @generated from enum value: UNAVAILABLE = 7;
|
|
104
109
|
*/
|
|
105
110
|
UNAVAILABLE: 7,
|
|
111
|
+
/**
|
|
112
|
+
* 1.18: a workflow a caller waited for failed or was deleted
|
|
113
|
+
*
|
|
114
|
+
* @generated from enum value: WORKFLOW_FAILED = 8;
|
|
115
|
+
*/
|
|
116
|
+
WORKFLOW_FAILED: 8,
|
|
117
|
+
/**
|
|
118
|
+
* 1.19: a replicated entity's copy here cannot answer; the message names its home
|
|
119
|
+
*
|
|
120
|
+
* @generated from enum value: NOT_HOME = 9;
|
|
121
|
+
*/
|
|
122
|
+
NOT_HOME: 9,
|
|
106
123
|
};
|
|
107
124
|
/**
|
|
108
125
|
* Describes the enum ankka.protocol.v1.ErrorCode.
|