ankka 0.9.1 → 0.11.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.
Files changed (78) hide show
  1. package/dist/_proto/ankka/protocol/v1/agent_pb.d.ts +35 -0
  2. package/dist/_proto/ankka/protocol/v1/agent_pb.js +8 -1
  3. package/dist/_proto/ankka/protocol/v1/client_pb.d.ts +542 -2
  4. package/dist/_proto/ankka/protocol/v1/client_pb.js +107 -6
  5. package/dist/_proto/ankka/protocol/v1/consumer_pb.d.ts +52 -1
  6. package/dist/_proto/ankka/protocol/v1/consumer_pb.js +11 -1
  7. package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +330 -0
  8. package/dist/_proto/ankka/protocol/v1/discovery_pb.js +81 -16
  9. package/dist/_proto/ankka/protocol/v1/endpoint_pb.d.ts +184 -0
  10. package/dist/_proto/ankka/protocol/v1/endpoint_pb.js +26 -1
  11. package/dist/_proto/ankka/protocol/v1/view_pb.d.ts +63 -0
  12. package/dist/_proto/ankka/protocol/v1/view_pb.js +11 -1
  13. package/dist/_proto/ankka/protocol/v1/workflow_pb.d.ts +7 -0
  14. package/dist/_proto/ankka/protocol/v1/workflow_pb.js +1 -1
  15. package/dist/agent.d.ts +15 -1
  16. package/dist/agent.js +20 -0
  17. package/dist/approvals.d.ts +47 -0
  18. package/dist/approvals.js +57 -0
  19. package/dist/autonomous.d.ts +23 -1
  20. package/dist/autonomous.js +30 -1
  21. package/dist/client.d.ts +92 -4
  22. package/dist/client.js +262 -15
  23. package/dist/consumer.d.ts +40 -2
  24. package/dist/consumer.js +50 -0
  25. package/dist/context.d.ts +4 -0
  26. package/dist/contract.d.ts +36 -0
  27. package/dist/contract.js +58 -0
  28. package/dist/effects/keyed.d.ts +33 -0
  29. package/dist/effects/keyed.js +41 -0
  30. package/dist/effects/stateless.d.ts +21 -0
  31. package/dist/effects/stateless.js +19 -0
  32. package/dist/endpoint.d.ts +10 -1
  33. package/dist/endpoint.js +20 -0
  34. package/dist/graph.d.ts +171 -0
  35. package/dist/graph.js +446 -0
  36. package/dist/handlers.d.ts +10 -2
  37. package/dist/handlers.js +6 -2
  38. package/dist/index.d.ts +15 -6
  39. package/dist/index.js +13 -4
  40. package/dist/keyedView.d.ts +56 -0
  41. package/dist/keyedView.js +67 -0
  42. package/dist/mcp.d.ts +57 -0
  43. package/dist/mcp.js +64 -0
  44. package/dist/routes.d.ts +23 -3
  45. package/dist/routes.js +16 -3
  46. package/dist/server/agent.js +12 -4
  47. package/dist/server/discovery.d.ts +12 -1
  48. package/dist/server/discovery.js +95 -1
  49. package/dist/server/http.d.ts +2 -1
  50. package/dist/server/http.js +78 -4
  51. package/dist/server/stateless.js +104 -16
  52. package/dist/server/workflow.js +5 -1
  53. package/dist/service.d.ts +45 -3
  54. package/dist/service.js +234 -12
  55. package/dist/services.d.ts +137 -0
  56. package/dist/services.js +259 -0
  57. package/dist/socket.d.ts +15 -0
  58. package/dist/socket.js +25 -0
  59. package/dist/spec.d.ts +1 -1
  60. package/dist/spec.js +87 -14
  61. package/dist/startFrom.d.ts +32 -0
  62. package/dist/startFrom.js +44 -0
  63. package/dist/testkit/index.d.ts +2 -2
  64. package/dist/testkit/index.js +1 -1
  65. package/dist/testkit/integration.js +5 -0
  66. package/dist/testkit/kinds.d.ts +75 -5
  67. package/dist/testkit/kinds.js +264 -34
  68. package/dist/testkit/unit.d.ts +14 -1
  69. package/dist/testkit/unit.js +40 -3
  70. package/dist/timedAction.d.ts +17 -2
  71. package/dist/timedAction.js +33 -1
  72. package/dist/version.d.ts +1 -1
  73. package/dist/version.js +1 -1
  74. package/dist/view.d.ts +32 -0
  75. package/dist/view.js +8 -0
  76. package/dist/workflow.d.ts +18 -1
  77. package/dist/workflow.js +39 -0
  78. package/package.json +3 -2
@@ -1,11 +1,12 @@
1
1
  // The callback service, served by the sidecar on loopback: what a process calls back for.
2
- import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
2
+ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
3
3
  import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
4
4
  import { file_ankka_protocol_v1_discovery } from "./discovery_pb.js";
5
+ import { file_ankka_protocol_v1_endpoint } from "./endpoint_pb.js";
5
6
  /**
6
7
  * Describes the file ankka/protocol/v1/client.proto.
7
8
  */
8
- export const file_ankka_protocol_v1_client = /*@__PURE__*/ fileDesc("Ch5hbmtrYS9wcm90b2NvbC92MS9jbGllbnQucHJvdG8SEWFua2thLnByb3RvY29sLnYxIskBCg1JbnZva2VSZXF1ZXN0EiUKBGtpbmQYASABKA4yFy5hbmtrYS5wcm90b2NvbC52MS5LaW5kEhQKDGNvbXBvbmVudF9pZBgCIAEoCRIRCgllbnRpdHlfaWQYAyABKAkSDAoEbmFtZRgEIAEoCRIrCgdwYXlsb2FkGAUgASgLMhouYW5ra2EucHJvdG9jb2wudjEuUGF5bG9hZBItCghtZXRhZGF0YRgGIAEoCzIbLmFua2thLnByb3RvY29sLnYxLk1ldGFkYXRhInUKC0ludm9rZVJlcGx5EjEKBXJlcGx5GAEgASgLMiAuYW5ra2EucHJvdG9jb2wudjEuT3V0Y29tZS5SZXBseUgAEikKBWVycm9yGAIgASgLMhguYW5ra2EucHJvdG9jb2wudjEuRXJyb3JIAEIICgZyZXN1bHQigQEKC1N0cmVhbVRva2VuEg4KBHRleHQYASABKAlIABItCgljb21wbGV0ZWQYAiABKAsyGC5hbmtrYS5wcm90b2NvbC52MS5FbXB0eUgAEioKBmZhaWxlZBgDIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVycm9ySABCBwoFdG9rZW4iWgoMUXVlcnlSZXF1ZXN0Eg8KB3ZpZXdfaWQYASABKAkSDAoEbmFtZRgCIAEoCRIrCgdwYXlsb2FkGAMgASgLMhouYW5ra2EucHJvdG9jb2wudjEuUGF5bG9hZCJtCgpRdWVyeVJlcGx5EioKBHJvd3MYASABKAsyGi5hbmtrYS5wcm90b2NvbC52MS5QYXlsb2FkSAASKQoFZXJyb3IYAiABKAsyGC5hbmtrYS5wcm90b2NvbC52MS5FcnJvckgAQggKBnJlc3VsdCLXAQoPU2NoZWR1bGVSZXF1ZXN0EhAKCHRpbWVyX2lkGAEgASgJEhQKDGRlbGF5X21pbGxpcxgCIAEoAxIlCgRraW5kGAMgASgOMhcuYW5ra2EucHJvdG9jb2wudjEuS2luZBIUCgxjb21wb25lbnRfaWQYBCABKAkSFgoJZW50aXR5X2lkGAUgASgJSACIAQESDAoEbmFtZRgGIAEoCRIrCgdwYXlsb2FkGAcgASgLMhouYW5ra2EucHJvdG9jb2wudjEuUGF5bG9hZEIMCgpfZW50aXR5X2lkIiEKDUNhbmNlbFJlcXVlc3QSEAoIdGltZXJfaWQYASABKAkygQMKBkNsaWVudBJKCgZJbnZva2USIC5hbmtrYS5wcm90b2NvbC52MS5JbnZva2VSZXF1ZXN0Gh4uYW5ra2EucHJvdG9jb2wudjEuSW52b2tlUmVwbHkSUgoMSW52b2tlU3RyZWFtEiAuYW5ra2EucHJvdG9jb2wudjEuSW52b2tlUmVxdWVzdBoeLmFua2thLnByb3RvY29sLnYxLlN0cmVhbVRva2VuMAESRwoFUXVlcnkSHy5hbmtrYS5wcm90b2NvbC52MS5RdWVyeVJlcXVlc3QaHS5hbmtrYS5wcm90b2NvbC52MS5RdWVyeVJlcGx5EkgKCFNjaGVkdWxlEiIuYW5ra2EucHJvdG9jb2wudjEuU2NoZWR1bGVSZXF1ZXN0GhguYW5ra2EucHJvdG9jb2wudjEuRW1wdHkSRAoGQ2FuY2VsEiAuYW5ra2EucHJvdG9jb2wudjEuQ2FuY2VsUmVxdWVzdBoYLmFua2thLnByb3RvY29sLnYxLkVtcHR5YgZwcm90bzM", [file_ankka_protocol_v1_payload, file_ankka_protocol_v1_discovery]);
9
+ export const file_ankka_protocol_v1_client = /*@__PURE__*/ fileDesc("Ch5hbmtrYS9wcm90b2NvbC92MS9jbGllbnQucHJvdG8SEWFua2thLnByb3R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CglHZXRTZWNyZXQSIy5hbmtrYS5wcm90b2NvbC52MS5HZXRTZWNyZXRSZXF1ZXN0GiEuYW5ra2EucHJvdG9jb2wudjEuR2V0U2VjcmV0UmVwbHkSUwoJUHV0U2VjcmV0EiMuYW5ra2EucHJvdG9jb2wudjEuUHV0U2VjcmV0UmVxdWVzdBohLmFua2thLnByb3RvY29sLnYxLlB1dFNlY3JldFJlcGx5ElwKDERlbGV0ZVNlY3JldBImLmFua2thLnByb3RvY29sLnYxLkRlbGV0ZVNlY3JldFJlcXVlc3QaJC5hbmtrYS5wcm90b2NvbC52MS5EZWxldGVTZWNyZXRSZXBseRJNCgdSZXF1ZXN0EiEuYW5ra2EucHJvdG9jb2wudjEuU2VydmljZVJlcXVlc3QaHy5hbmtrYS5wcm90b2NvbC52MS5TZXJ2aWNlUmVwbHkSSgoGRGVjaWRlEiAuYW5ra2EucHJvdG9jb2wudjEuRGVjaWRlUmVxdWVzdBoeLmFua2thLnByb3RvY29sLnYxLkludm9rZVJlcGx5EmsKEVNjaGVkdWxlUmVjdXJyaW5nEisuYW5ra2EucHJvdG9jb2wudjEuU2NoZWR1bGVSZWN1cnJpbmdSZXF1ZXN0GikuYW5ra2EucHJvdG9jb2wudjEuU2NoZWR1bGVSZWN1cnJpbmdSZXBseWIGcHJvdG8z", [file_ankka_protocol_v1_payload, file_ankka_protocol_v1_discovery, file_ankka_protocol_v1_endpoint]);
9
10
  /**
10
11
  * Describes the message ankka.protocol.v1.InvokeRequest.
11
12
  * Use `create(InvokeRequestSchema)` to create a new message.
@@ -21,26 +22,126 @@ export const InvokeReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v
21
22
  * Use `create(StreamTokenSchema)` to create a new message.
22
23
  */
23
24
  export const StreamTokenSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 2);
25
+ /**
26
+ * Describes the message ankka.protocol.v1.ApprovalAwaited.
27
+ * Use `create(ApprovalAwaitedSchema)` to create a new message.
28
+ */
29
+ export const ApprovalAwaitedSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 3);
30
+ /**
31
+ * Describes the message ankka.protocol.v1.ApprovalRequest.
32
+ * Use `create(ApprovalRequestSchema)` to create a new message.
33
+ */
34
+ export const ApprovalRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 4);
35
+ /**
36
+ * Describes the message ankka.protocol.v1.DecideRequest.
37
+ * Use `create(DecideRequestSchema)` to create a new message.
38
+ */
39
+ export const DecideRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 5);
24
40
  /**
25
41
  * Describes the message ankka.protocol.v1.QueryRequest.
26
42
  * Use `create(QueryRequestSchema)` to create a new message.
27
43
  */
28
- export const QueryRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 3);
44
+ export const QueryRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 6);
29
45
  /**
30
46
  * Describes the message ankka.protocol.v1.QueryReply.
31
47
  * Use `create(QueryReplySchema)` to create a new message.
32
48
  */
33
- export const QueryReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 4);
49
+ export const QueryReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 7);
34
50
  /**
35
51
  * Describes the message ankka.protocol.v1.ScheduleRequest.
36
52
  * Use `create(ScheduleRequestSchema)` to create a new message.
37
53
  */
38
- export const ScheduleRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 5);
54
+ export const ScheduleRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 8);
39
55
  /**
40
56
  * Describes the message ankka.protocol.v1.CancelRequest.
41
57
  * Use `create(CancelRequestSchema)` to create a new message.
42
58
  */
43
- export const CancelRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 6);
59
+ export const CancelRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 9);
60
+ /**
61
+ * Describes the message ankka.protocol.v1.ScheduleRecurringRequest.
62
+ * Use `create(ScheduleRecurringRequestSchema)` to create a new message.
63
+ */
64
+ export const ScheduleRecurringRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 10);
65
+ /**
66
+ * Describes the message ankka.protocol.v1.ScheduleRecurringReply.
67
+ * Use `create(ScheduleRecurringReplySchema)` to create a new message.
68
+ */
69
+ export const ScheduleRecurringReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 11);
70
+ /**
71
+ * Describes the message ankka.protocol.v1.GetSecretRequest.
72
+ * Use `create(GetSecretRequestSchema)` to create a new message.
73
+ */
74
+ export const GetSecretRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 12);
75
+ /**
76
+ * Describes the message ankka.protocol.v1.GetSecretReply.
77
+ * Use `create(GetSecretReplySchema)` to create a new message.
78
+ */
79
+ export const GetSecretReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 13);
80
+ /**
81
+ * Describes the message ankka.protocol.v1.PutSecretRequest.
82
+ * Use `create(PutSecretRequestSchema)` to create a new message.
83
+ */
84
+ export const PutSecretRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 14);
85
+ /**
86
+ * Describes the message ankka.protocol.v1.PutSecretReply.
87
+ * Use `create(PutSecretReplySchema)` to create a new message.
88
+ */
89
+ export const PutSecretReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 15);
90
+ /**
91
+ * Describes the message ankka.protocol.v1.DeleteSecretRequest.
92
+ * Use `create(DeleteSecretRequestSchema)` to create a new message.
93
+ */
94
+ export const DeleteSecretRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 16);
95
+ /**
96
+ * Describes the message ankka.protocol.v1.DeleteSecretReply.
97
+ * Use `create(DeleteSecretReplySchema)` to create a new message.
98
+ */
99
+ export const DeleteSecretReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 17);
100
+ /**
101
+ * Describes the message ankka.protocol.v1.ServiceRequest.
102
+ * Use `create(ServiceRequestSchema)` to create a new message.
103
+ */
104
+ export const ServiceRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 18);
105
+ /**
106
+ * Describes the message ankka.protocol.v1.ServiceReply.
107
+ * Use `create(ServiceReplySchema)` to create a new message.
108
+ */
109
+ export const ServiceReplySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 19);
110
+ /**
111
+ * Describes the message ankka.protocol.v1.ServiceFailure.
112
+ * Use `create(ServiceFailureSchema)` to create a new message.
113
+ */
114
+ export const ServiceFailureSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_client, 20);
115
+ /**
116
+ * UNANSWERED is zero on purpose: a reason a reader does not know reads as zero, and "no answer"
117
+ * is the reading of an unknown failure that never sends anything twice.
118
+ *
119
+ * @generated from enum ankka.protocol.v1.ServiceFailure.Reason
120
+ */
121
+ export const ServiceFailure_Reason = {
122
+ /**
123
+ * refused connection, broken, or no answer in time
124
+ *
125
+ * @generated from enum value: UNANSWERED = 0;
126
+ */
127
+ UNANSWERED: 0,
128
+ /**
129
+ * no such service was found; nothing was sent
130
+ *
131
+ * @generated from enum value: UNRESOLVABLE = 1;
132
+ */
133
+ UNRESOLVABLE: 1,
134
+ /**
135
+ * what answered is not the service; nothing was sent
136
+ *
137
+ * @generated from enum value: IDENTITY_MISMATCH = 2;
138
+ */
139
+ IDENTITY_MISMATCH: 2,
140
+ };
141
+ /**
142
+ * Describes the enum ankka.protocol.v1.ServiceFailure.Reason.
143
+ */
144
+ export const ServiceFailure_ReasonSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_client, 20, 0);
44
145
  /**
45
146
  * @generated from service ankka.protocol.v1.Client
46
147
  */
@@ -20,12 +20,14 @@ export type ConsumerRequest = Message<"ankka.protocol.v1.ConsumerRequest"> & {
20
20
  */
21
21
  message?: Payload | undefined;
22
22
  /**
23
- * ce-subject: the source's id; ankka.sequence
23
+ * ce-subject: the source's id; ankka.sequence;
24
24
  *
25
25
  * @generated from field: ankka.protocol.v1.Metadata metadata = 3;
26
26
  */
27
27
  metadata?: Metadata | undefined;
28
28
  /**
29
+ * ankka.protocol: what the runtime speaks (1.3)
30
+ *
29
31
  * the source was deleted
30
32
  *
31
33
  * @generated from field: bool deleted = 4;
@@ -62,6 +64,14 @@ export type ConsumerEffect = Message<"ankka.protocol.v1.ConsumerEffect"> & {
62
64
  */
63
65
  value: Empty;
64
66
  case: "ignore";
67
+ } | {
68
+ /**
69
+ * 1.3: several messages for one change
70
+ *
71
+ * @generated from field: ankka.protocol.v1.ConsumerEffect.ProduceAll produce_all = 4;
72
+ */
73
+ value: ConsumerEffect_ProduceAll;
74
+ case: "produceAll";
65
75
  } | {
66
76
  case: undefined;
67
77
  value?: undefined;
@@ -90,6 +100,47 @@ export type ConsumerEffect_Produce = Message<"ankka.protocol.v1.ConsumerEffect.P
90
100
  * Use `create(ConsumerEffect_ProduceSchema)` to create a new message.
91
101
  */
92
102
  export declare const ConsumerEffect_ProduceSchema: GenMessage<ConsumerEffect_Produce>;
103
+ /**
104
+ * Published in order; the change is handled when the broker has accepted all of them. None at
105
+ * all is `done`. Send it only to a runtime whose request carried `ankka.protocol` >= 1.3.
106
+ *
107
+ * @generated from message ankka.protocol.v1.ConsumerEffect.ProduceAll
108
+ */
109
+ export type ConsumerEffect_ProduceAll = Message<"ankka.protocol.v1.ConsumerEffect.ProduceAll"> & {
110
+ /**
111
+ * @generated from field: repeated ankka.protocol.v1.ConsumerEffect.Message messages = 1;
112
+ */
113
+ messages: ConsumerEffect_Message[];
114
+ };
115
+ /**
116
+ * Describes the message ankka.protocol.v1.ConsumerEffect.ProduceAll.
117
+ * Use `create(ConsumerEffect_ProduceAllSchema)` to create a new message.
118
+ */
119
+ export declare const ConsumerEffect_ProduceAllSchema: GenMessage<ConsumerEffect_ProduceAll>;
120
+ /**
121
+ * @generated from message ankka.protocol.v1.ConsumerEffect.Message
122
+ */
123
+ export type ConsumerEffect_Message = Message<"ankka.protocol.v1.ConsumerEffect.Message"> & {
124
+ /**
125
+ * @generated from field: ankka.protocol.v1.Payload payload = 1;
126
+ */
127
+ payload?: Payload | undefined;
128
+ /**
129
+ * @generated from field: ankka.protocol.v1.Metadata metadata = 2;
130
+ */
131
+ metadata?: Metadata | undefined;
132
+ /**
133
+ * the record key; absent: the message's subject
134
+ *
135
+ * @generated from field: optional string key = 3;
136
+ */
137
+ key?: string | undefined;
138
+ };
139
+ /**
140
+ * Describes the message ankka.protocol.v1.ConsumerEffect.Message.
141
+ * Use `create(ConsumerEffect_MessageSchema)` to create a new message.
142
+ */
143
+ export declare const ConsumerEffect_MessageSchema: GenMessage<ConsumerEffect_Message>;
93
144
  /**
94
145
  * @generated from service ankka.protocol.v1.Consumer
95
146
  */
@@ -6,7 +6,7 @@ import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
6
6
  /**
7
7
  * Describes the file ankka/protocol/v1/consumer.proto.
8
8
  */
9
- export const file_ankka_protocol_v1_consumer = /*@__PURE__*/ fileDesc("CiBhbmtrYS9wcm90b2NvbC92MS9jb25zdW1lci5wcm90bxIRYW5ra2EucHJvdG9jb2wudjEilAEKD0NvbnN1bWVyUmVxdWVzdBIUCgxjb21wb25lbnRfaWQYASABKAkSKwoHbWVzc2FnZRgCIAEoCzIaLmFua2thLnByb3RvY29sLnYxLlBheWxvYWQSLQoIbWV0YWRhdGEYAyABKAsyGy5hbmtrYS5wcm90b2NvbC52MS5NZXRhZGF0YRIPCgdkZWxldGVkGAQgASgIIpUCCg5Db25zdW1lckVmZmVjdBI8Cgdwcm9kdWNlGAEgASgLMikuYW5ra2EucHJvdG9jb2wudjEuQ29uc3VtZXJFZmZlY3QuUHJvZHVjZUgAEigKBGRvbmUYAiABKAsyGC5hbmtrYS5wcm90b2NvbC52MS5FbXB0eUgAEioKBmlnbm9yZRgDIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVtcHR5SAAaZQoHUHJvZHVjZRIrCgdwYXlsb2FkGAEgASgLMhouYW5ra2EucHJvdG9jb2wudjEuUGF5bG9hZBItCghtZXRhZGF0YRgCIAEoCzIbLmFua2thLnByb3RvY29sLnYxLk1ldGFkYXRhQggKBmVmZmVjdDJbCghDb25zdW1lchJPCgZIYW5kbGUSIi5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lclJlcXVlc3QaIS5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lckVmZmVjdGIGcHJvdG8z", [file_ankka_protocol_v1_payload]);
9
+ export const file_ankka_protocol_v1_consumer = /*@__PURE__*/ fileDesc("CiBhbmtrYS9wcm90b2NvbC92MS9jb25zdW1lci5wcm90bxIRYW5ra2EucHJvdG9jb2wudjEilAEKD0NvbnN1bWVyUmVxdWVzdBIUCgxjb21wb25lbnRfaWQYASABKAkSKwoHbWVzc2FnZRgCIAEoCzIaLmFua2thLnByb3RvY29sLnYxLlBheWxvYWQSLQoIbWV0YWRhdGEYAyABKAsyGy5hbmtrYS5wcm90b2NvbC52MS5NZXRhZGF0YRIPCgdkZWxldGVkGAQgASgIIqYECg5Db25zdW1lckVmZmVjdBI8Cgdwcm9kdWNlGAEgASgLMikuYW5ra2EucHJvdG9jb2wudjEuQ29uc3VtZXJFZmZlY3QuUHJvZHVjZUgAEigKBGRvbmUYAiABKAsyGC5hbmtrYS5wcm90b2NvbC52MS5FbXB0eUgAEioKBmlnbm9yZRgDIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVtcHR5SAASQwoLcHJvZHVjZV9hbGwYBCABKAsyLC5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lckVmZmVjdC5Qcm9kdWNlQWxsSAAaZQoHUHJvZHVjZRIrCgdwYXlsb2FkGAEgASgLMhouYW5ra2EucHJvdG9jb2wudjEuUGF5bG9hZBItCghtZXRhZGF0YRgCIAEoCzIbLmFua2thLnByb3RvY29sLnYxLk1ldGFkYXRhGkkKClByb2R1Y2VBbGwSOwoIbWVzc2FnZXMYASADKAsyKS5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lckVmZmVjdC5NZXNzYWdlGn8KB01lc3NhZ2USKwoHcGF5bG9hZBgBIAEoCzIaLmFua2thLnByb3RvY29sLnYxLlBheWxvYWQSLQoIbWV0YWRhdGEYAiABKAsyGy5hbmtrYS5wcm90b2NvbC52MS5NZXRhZGF0YRIQCgNrZXkYAyABKAlIAIgBAUIGCgRfa2V5QggKBmVmZmVjdDJbCghDb25zdW1lchJPCgZIYW5kbGUSIi5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lclJlcXVlc3QaIS5hbmtrYS5wcm90b2NvbC52MS5Db25zdW1lckVmZmVjdGIGcHJvdG8z", [file_ankka_protocol_v1_payload]);
10
10
  /**
11
11
  * Describes the message ankka.protocol.v1.ConsumerRequest.
12
12
  * Use `create(ConsumerRequestSchema)` to create a new message.
@@ -22,6 +22,16 @@ export const ConsumerEffectSchema = /*@__PURE__*/ messageDesc(file_ankka_protoco
22
22
  * Use `create(ConsumerEffect_ProduceSchema)` to create a new message.
23
23
  */
24
24
  export const ConsumerEffect_ProduceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_consumer, 1, 0);
25
+ /**
26
+ * Describes the message ankka.protocol.v1.ConsumerEffect.ProduceAll.
27
+ * Use `create(ConsumerEffect_ProduceAllSchema)` to create a new message.
28
+ */
29
+ export const ConsumerEffect_ProduceAllSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_consumer, 1, 1);
30
+ /**
31
+ * Describes the message ankka.protocol.v1.ConsumerEffect.Message.
32
+ * Use `create(ConsumerEffect_MessageSchema)` to create a new message.
33
+ */
34
+ export const ConsumerEffect_MessageSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_consumer, 1, 2);
25
35
  /**
26
36
  * @generated from service ankka.protocol.v1.Consumer
27
37
  */
@@ -304,6 +304,29 @@ export type Source = Message<"ankka.protocol.v1.Source"> & {
304
304
  case: undefined;
305
305
  value?: undefined;
306
306
  };
307
+ /**
308
+ * 1.7: where a topic source starts the first time its consumer group reads a partition. Only
309
+ * with `topic`. Absent: a view starts at the earliest message; a consumer is refused.
310
+ *
311
+ * @generated from field: optional ankka.protocol.v1.StartFrom start_from = 3;
312
+ */
313
+ startFrom?: StartFrom | undefined;
314
+ /**
315
+ * 1.14, only with `topic`: the contract the component expects the topic to carry, checked at
316
+ * start against the project's declaration; the declared broker the topic is on (absent: the
317
+ * installation's); whether the partitions an instance holds are handled at once, each in order.
318
+ *
319
+ * @generated from field: optional ankka.protocol.v1.Contract contract = 4;
320
+ */
321
+ contract?: Contract | undefined;
322
+ /**
323
+ * @generated from field: optional string broker = 5;
324
+ */
325
+ broker?: string | undefined;
326
+ /**
327
+ * @generated from field: optional bool parallel = 6;
328
+ */
329
+ parallel?: boolean | undefined;
307
330
  };
308
331
  /**
309
332
  * Describes the message ankka.protocol.v1.Source.
@@ -328,11 +351,120 @@ export type Source_ComponentRef = Message<"ankka.protocol.v1.Source.ComponentRef
328
351
  * Use `create(Source_ComponentRefSchema)` to create a new message.
329
352
  */
330
353
  export declare const Source_ComponentRefSchema: GenMessage<Source_ComponentRef>;
354
+ /**
355
+ * 1.14: a name and the fingerprint of the schema document a component was built against:
356
+ * `sha256:` and the hex SHA-256 of the document under RFC 8785 (protocol/fixtures/contracts/).
357
+ *
358
+ * @generated from message ankka.protocol.v1.Contract
359
+ */
360
+ export type Contract = Message<"ankka.protocol.v1.Contract"> & {
361
+ /**
362
+ * @generated from field: string name = 1;
363
+ */
364
+ name: string;
365
+ /**
366
+ * @generated from field: string fingerprint = 2;
367
+ */
368
+ fingerprint: string;
369
+ };
370
+ /**
371
+ * Describes the message ankka.protocol.v1.Contract.
372
+ * Use `create(ContractSchema)` to create a new message.
373
+ */
374
+ export declare const ContractSchema: GenMessage<Contract>;
375
+ /**
376
+ * 1.14: a topic a consumer publishes to, with the contract it states and the declared broker it is on.
377
+ *
378
+ * @generated from message ankka.protocol.v1.Publication
379
+ */
380
+ export type Publication = Message<"ankka.protocol.v1.Publication"> & {
381
+ /**
382
+ * @generated from field: string topic = 1;
383
+ */
384
+ topic: string;
385
+ /**
386
+ * @generated from field: optional ankka.protocol.v1.Contract contract = 2;
387
+ */
388
+ contract?: Contract | undefined;
389
+ /**
390
+ * @generated from field: optional string broker = 3;
391
+ */
392
+ broker?: string | undefined;
393
+ };
394
+ /**
395
+ * Describes the message ankka.protocol.v1.Publication.
396
+ * Use `create(PublicationSchema)` to create a new message.
397
+ */
398
+ export declare const PublicationSchema: GenMessage<Publication>;
399
+ /**
400
+ * 1.7
401
+ *
402
+ * @generated from message ankka.protocol.v1.StartFrom
403
+ */
404
+ export type StartFrom = Message<"ankka.protocol.v1.StartFrom"> & {
405
+ /**
406
+ * @generated from oneof ankka.protocol.v1.StartFrom.position
407
+ */
408
+ position: {
409
+ /**
410
+ * @generated from field: ankka.protocol.v1.StartFrom.Named named = 1;
411
+ */
412
+ value: StartFrom_Named;
413
+ case: "named";
414
+ } | {
415
+ /**
416
+ * the first message published at or after this time, in ms since the epoch
417
+ *
418
+ * @generated from field: int64 at_millis = 2;
419
+ */
420
+ value: bigint;
421
+ case: "atMillis";
422
+ } | {
423
+ case: undefined;
424
+ value?: undefined;
425
+ };
426
+ };
427
+ /**
428
+ * Describes the message ankka.protocol.v1.StartFrom.
429
+ * Use `create(StartFromSchema)` to create a new message.
430
+ */
431
+ export declare const StartFromSchema: GenMessage<StartFrom>;
432
+ /**
433
+ * @generated from enum ankka.protocol.v1.StartFrom.Named
434
+ */
435
+ export declare const StartFrom_Named: {
436
+ /**
437
+ * @generated from enum value: NAMED_UNSPECIFIED = 0;
438
+ */
439
+ readonly NAMED_UNSPECIFIED: 0;
440
+ /**
441
+ * the oldest message the broker holds
442
+ *
443
+ * @generated from enum value: EARLIEST = 1;
444
+ */
445
+ readonly EARLIEST: 1;
446
+ /**
447
+ * after the newest: only what is published from then on
448
+ *
449
+ * @generated from enum value: LATEST = 2;
450
+ */
451
+ readonly LATEST: 2;
452
+ };
453
+ /**
454
+ * @generated from enum ankka.protocol.v1.StartFrom.Named
455
+ */
456
+ export type StartFrom_Named = (typeof StartFrom_Named)[keyof typeof StartFrom_Named] | UnknownEnum;
457
+ /**
458
+ * Describes the enum ankka.protocol.v1.StartFrom.Named.
459
+ */
460
+ export declare const StartFrom_NamedSchema: GenEnum<StartFrom_Named>;
331
461
  /**
332
462
  * @generated from message ankka.protocol.v1.ViewDetail
333
463
  */
334
464
  export type ViewDetail = Message<"ankka.protocol.v1.ViewDetail"> & {
335
465
  /**
466
+ * a plain view's one source; absent for a keyed view
467
+ *
336
468
  * @generated from field: ankka.protocol.v1.Source source = 1;
337
469
  */
338
470
  source?: Source | undefined;
@@ -344,12 +476,51 @@ export type ViewDetail = Message<"ankka.protocol.v1.ViewDetail"> & {
344
476
  * @generated from field: repeated string queries = 3;
345
477
  */
346
478
  queries: string[];
479
+ /**
480
+ * 1.7: with a topic source. 1.13: also with entity sources. A higher one rebuilds the view. Absent: 1
481
+ *
482
+ * @generated from field: optional uint32 version = 4;
483
+ */
484
+ version?: number | undefined;
485
+ /**
486
+ * 1.13: a keyed view's sources, each a component (an event sourced or a key value entity). When
487
+ * present `source` is absent, the view's changes carry `source_id`, and its effects are `rows`.
488
+ *
489
+ * @generated from field: repeated ankka.protocol.v1.Source sources = 5;
490
+ */
491
+ sources: Source[];
492
+ /**
493
+ * 1.13: the queries this view can be asked by name.
494
+ *
495
+ * @generated from field: repeated ankka.protocol.v1.DeclaredQuery declared_queries = 6;
496
+ */
497
+ declaredQueries: DeclaredQuery[];
347
498
  };
348
499
  /**
349
500
  * Describes the message ankka.protocol.v1.ViewDetail.
350
501
  * Use `create(ViewDetailSchema)` to create a new message.
351
502
  */
352
503
  export declare const ViewDetailSchema: GenMessage<ViewDetail>;
504
+ /**
505
+ * 1.13: a statement over the view's own table. Its values are the `:name`s it holds.
506
+ *
507
+ * @generated from message ankka.protocol.v1.DeclaredQuery
508
+ */
509
+ export type DeclaredQuery = Message<"ankka.protocol.v1.DeclaredQuery"> & {
510
+ /**
511
+ * @generated from field: string name = 1;
512
+ */
513
+ name: string;
514
+ /**
515
+ * @generated from field: string statement = 2;
516
+ */
517
+ statement: string;
518
+ };
519
+ /**
520
+ * Describes the message ankka.protocol.v1.DeclaredQuery.
521
+ * Use `create(DeclaredQuerySchema)` to create a new message.
522
+ */
523
+ export declare const DeclaredQuerySchema: GenMessage<DeclaredQuery>;
353
524
  /**
354
525
  * @generated from message ankka.protocol.v1.ConsumerDetail
355
526
  */
@@ -362,6 +533,19 @@ export type ConsumerDetail = Message<"ankka.protocol.v1.ConsumerDetail"> & {
362
533
  * @generated from field: optional string produces_to = 2;
363
534
  */
364
535
  producesTo?: string | undefined;
536
+ /**
537
+ * 1.7: only with a topic source; a new one reads under a new group. Absent: 1
538
+ *
539
+ * @generated from field: optional uint32 version = 3;
540
+ */
541
+ version?: number | undefined;
542
+ /**
543
+ * 1.14: the publication with its contract and broker; `produces_to` stays for a process that
544
+ * states only the topic. Both present must name one topic.
545
+ *
546
+ * @generated from field: optional ankka.protocol.v1.Publication produces = 4;
547
+ */
548
+ produces?: Publication | undefined;
365
549
  };
366
550
  /**
367
551
  * Describes the message ankka.protocol.v1.ConsumerDetail.
@@ -397,6 +581,18 @@ export type AgentDetail = Message<"ankka.protocol.v1.AgentDetail"> & {
397
581
  * @generated from field: repeated string guardrails = 4;
398
582
  */
399
583
  guardrails: string[];
584
+ /**
585
+ * 1.11: servers whose tools the sidecar offers the model
586
+ *
587
+ * @generated from field: repeated ankka.protocol.v1.McpServer mcp_servers = 5;
588
+ */
589
+ mcpServers: McpServer[];
590
+ /**
591
+ * 1.11: names the process answers CheckGuardrail RESULT for
592
+ *
593
+ * @generated from field: repeated string result_guardrails = 6;
594
+ */
595
+ resultGuardrails: string[];
400
596
  };
401
597
  /**
402
598
  * Describes the message ankka.protocol.v1.AgentDetail.
@@ -419,12 +615,127 @@ export type Tool = Message<"ankka.protocol.v1.Tool"> & {
419
615
  * @generated from field: string input_schema_json = 3;
420
616
  */
421
617
  inputSchemaJson: string;
618
+ /**
619
+ * 1.11: unset, the tool runs when the model calls it
620
+ *
621
+ * @generated from field: optional ankka.protocol.v1.Approval approval = 4;
622
+ */
623
+ approval?: Approval | undefined;
422
624
  };
423
625
  /**
424
626
  * Describes the message ankka.protocol.v1.Tool.
425
627
  * Use `create(ToolSchema)` to create a new message.
426
628
  */
427
629
  export declare const ToolSchema: GenMessage<Tool>;
630
+ /**
631
+ * 1.11: that a tool waits for a person's decision before it runs. With no time limit it waits until
632
+ * decided; with one, the platform refuses it when the limit passes.
633
+ *
634
+ * @generated from message ankka.protocol.v1.Approval
635
+ */
636
+ export type Approval = Message<"ankka.protocol.v1.Approval"> & {
637
+ /**
638
+ * @generated from field: optional int64 within_millis = 1;
639
+ */
640
+ withinMillis?: bigint | undefined;
641
+ };
642
+ /**
643
+ * Describes the message ankka.protocol.v1.Approval.
644
+ * Use `create(ApprovalSchema)` to create a new message.
645
+ */
646
+ export declare const ApprovalSchema: GenMessage<Approval>;
647
+ /**
648
+ * 1.11: an MCP server an agent lists. The sidecar connects to it when it starts, reads its tools and
649
+ * offers them as `mcp__<name>__<tool>`; the process is never asked to run one. Its address, and the
650
+ * value of each header, are read from the sidecar's own environment: a variable named here starts
651
+ * ANKKA_MCP_, and those reach only the platform's container.
652
+ *
653
+ * @generated from message ankka.protocol.v1.McpServer
654
+ */
655
+ export type McpServer = Message<"ankka.protocol.v1.McpServer"> & {
656
+ /**
657
+ * [a-z0-9-]+
658
+ *
659
+ * @generated from field: string name = 1;
660
+ */
661
+ name: string;
662
+ /**
663
+ * unset: ANKKA_MCP_<NAME>_URL must be set
664
+ *
665
+ * @generated from oneof ankka.protocol.v1.McpServer.address
666
+ */
667
+ address: {
668
+ /**
669
+ * @generated from field: string url = 2;
670
+ */
671
+ value: string;
672
+ case: "url";
673
+ } | {
674
+ /**
675
+ * @generated from field: ankka.protocol.v1.McpServer.Service service = 3;
676
+ */
677
+ value: McpServer_Service;
678
+ case: "service";
679
+ } | {
680
+ case: undefined;
681
+ value?: undefined;
682
+ };
683
+ /**
684
+ * every tool of the server
685
+ *
686
+ * @generated from field: optional ankka.protocol.v1.Approval approval = 4;
687
+ */
688
+ approval?: Approval | undefined;
689
+ /**
690
+ * @generated from field: repeated ankka.protocol.v1.McpServer.Header headers = 5;
691
+ */
692
+ headers: McpServer_Header[];
693
+ };
694
+ /**
695
+ * Describes the message ankka.protocol.v1.McpServer.
696
+ * Use `create(McpServerSchema)` to create a new message.
697
+ */
698
+ export declare const McpServerSchema: GenMessage<McpServer>;
699
+ /**
700
+ * @generated from message ankka.protocol.v1.McpServer.Service
701
+ */
702
+ export type McpServer_Service = Message<"ankka.protocol.v1.McpServer.Service"> & {
703
+ /**
704
+ * @generated from field: optional string project = 1;
705
+ */
706
+ project?: string | undefined;
707
+ /**
708
+ * @generated from field: string name = 2;
709
+ */
710
+ name: string;
711
+ /**
712
+ * @generated from field: string path = 3;
713
+ */
714
+ path: string;
715
+ };
716
+ /**
717
+ * Describes the message ankka.protocol.v1.McpServer.Service.
718
+ * Use `create(McpServer_ServiceSchema)` to create a new message.
719
+ */
720
+ export declare const McpServer_ServiceSchema: GenMessage<McpServer_Service>;
721
+ /**
722
+ * @generated from message ankka.protocol.v1.McpServer.Header
723
+ */
724
+ export type McpServer_Header = Message<"ankka.protocol.v1.McpServer.Header"> & {
725
+ /**
726
+ * @generated from field: string name = 1;
727
+ */
728
+ name: string;
729
+ /**
730
+ * @generated from field: string variable = 2;
731
+ */
732
+ variable: string;
733
+ };
734
+ /**
735
+ * Describes the message ankka.protocol.v1.McpServer.Header.
736
+ * Use `create(McpServer_HeaderSchema)` to create a new message.
737
+ */
738
+ export declare const McpServer_HeaderSchema: GenMessage<McpServer_Header>;
428
739
  /**
429
740
  * An autonomous agent's whole definition (protocol 1.2). There is nothing to plan per task: the
430
741
  * sidecar runs the loop from this and asks the process only to run a tool (Agent.InvokeTool), check
@@ -474,6 +785,18 @@ export type AutonomousAgentDetail = Message<"ankka.protocol.v1.AutonomousAgentDe
474
785
  * @generated from field: optional string model = 8;
475
786
  */
476
787
  model?: string | undefined;
788
+ /**
789
+ * 1.11
790
+ *
791
+ * @generated from field: repeated ankka.protocol.v1.McpServer mcp_servers = 9;
792
+ */
793
+ mcpServers: McpServer[];
794
+ /**
795
+ * 1.11
796
+ *
797
+ * @generated from field: repeated string result_guardrails = 10;
798
+ */
799
+ resultGuardrails: string[];
477
800
  };
478
801
  /**
479
802
  * Describes the message ankka.protocol.v1.AutonomousAgentDetail.
@@ -740,6 +1063,13 @@ export type Route = Message<"ankka.protocol.v1.Route"> & {
740
1063
  * @generated from field: repeated ankka.protocol.v1.CallerMatcher allow_callers = 7;
741
1064
  */
742
1065
  allowCallers: CallerMatcher[];
1066
+ /**
1067
+ * Answered by opening a socket, via Http.HandleSocket (protocol 1.9). Always GET, never with a
1068
+ * body, never streaming; refused under an earlier minor and by a module.
1069
+ *
1070
+ * @generated from field: bool socket = 8;
1071
+ */
1072
+ socket: boolean;
743
1073
  };
744
1074
  /**
745
1075
  * Describes the message ankka.protocol.v1.Route.