@stigmer/protos 3.1.12 → 3.1.14

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 (44) hide show
  1. package/ai/stigmer/agentic/agent/v1/command_connect.d.ts +13 -7
  2. package/ai/stigmer/agentic/agent/v1/command_connect.js +13 -7
  3. package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
  4. package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +13 -7
  5. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
  6. package/ai/stigmer/agentic/agentchannel/v1/api_pb.d.ts +68 -0
  7. package/ai/stigmer/agentic/agentchannel/v1/api_pb.js +18 -0
  8. package/ai/stigmer/agentic/agentchannel/v1/api_pb.js.map +1 -0
  9. package/ai/stigmer/agentic/agentchannel/v1/command_connect.d.ts +139 -0
  10. package/ai/stigmer/agentic/agentchannel/v1/command_connect.js +147 -0
  11. package/ai/stigmer/agentic/agentchannel/v1/command_connect.js.map +1 -0
  12. package/ai/stigmer/agentic/agentchannel/v1/command_pb.d.ts +137 -0
  13. package/ai/stigmer/agentic/agentchannel/v1/command_pb.js +19 -0
  14. package/ai/stigmer/agentic/agentchannel/v1/command_pb.js.map +1 -0
  15. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +215 -0
  16. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +67 -0
  17. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -0
  18. package/ai/stigmer/agentic/agentchannel/v1/io_pb.d.ts +190 -0
  19. package/ai/stigmer/agentic/agentchannel/v1/io_pb.js +47 -0
  20. package/ai/stigmer/agentic/agentchannel/v1/io_pb.js.map +1 -0
  21. package/ai/stigmer/agentic/agentchannel/v1/query_connect.d.ts +74 -0
  22. package/ai/stigmer/agentic/agentchannel/v1/query_connect.js +83 -0
  23. package/ai/stigmer/agentic/agentchannel/v1/query_connect.js.map +1 -0
  24. package/ai/stigmer/agentic/agentchannel/v1/query_pb.d.ts +75 -0
  25. package/ai/stigmer/agentic/agentchannel/v1/query_pb.js +25 -0
  26. package/ai/stigmer/agentic/agentchannel/v1/query_pb.js.map +1 -0
  27. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +102 -0
  28. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +22 -0
  29. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -0
  30. package/ai/stigmer/agentic/agentchannel/v1/status_pb.d.ts +174 -0
  31. package/ai/stigmer/agentic/agentchannel/v1/status_pb.js +65 -0
  32. package/ai/stigmer/agentic/agentchannel/v1/status_pb.js.map +1 -0
  33. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +19 -5
  34. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
  35. package/ai/stigmer/agentic/agentshare/v1/status_pb.d.ts +25 -0
  36. package/ai/stigmer/agentic/agentshare/v1/status_pb.js +1 -1
  37. package/ai/stigmer/agentic/agentshare/v1/status_pb.js.map +1 -1
  38. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  39. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  40. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  41. package/ai/stigmer/iam/v1/enum_pb.d.ts +14 -1
  42. package/ai/stigmer/iam/v1/enum_pb.js +14 -1
  43. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  44. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oIAAoI;AACpI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,aAAa,CAAC;AAE1E,OAAO,EAAE,0CAA0C,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAY,aAAa,CACnF,QAAQ,CAAC,y8CAAy8C,EAAE,CAAC,2CAA2C,EAAE,0CAA0C,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEtpD;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GA4HrC,aAAa,CAChB,WAAW,CAAC,+CAA+C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,215 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/delivery.proto.
6
+ */
7
+ export declare const file_ai_stigmer_agentic_agentchannel_v1_delivery: GenFile;
8
+ /**
9
+ * ChannelDelivery tracks the delivery of one agent reply to one external
10
+ * conversation.
11
+ *
12
+ * @internal
13
+ * Infrastructure-only. Not a public API resource — no kind, no apiVersion,
14
+ * no CRUD RPCs, no FGA (the OAuthGrant / ExecutionReservation pattern).
15
+ * Stored in an internal Mongo collection with a hand-written repo;
16
+ * decision 002's correctness backbone. Created at webhook time in the same
17
+ * motion as the Session/AgentExecution; claimed atomically by the delivery
18
+ * worker (status-guarded findAndModify, the atomicIncrementConsumed idiom);
19
+ * swept by a Temporal Schedule for executions whose terminal write raced
20
+ * or bypassed the hook.
21
+ *
22
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery
23
+ */
24
+ export type ChannelDelivery = Message<"ai.stigmer.agentic.agentchannel.v1.ChannelDelivery"> & {
25
+ /**
26
+ * Unique delivery identifier.
27
+ *
28
+ * @generated from field: string delivery_id = 1;
29
+ */
30
+ deliveryId: string;
31
+ /**
32
+ * AgentChannel connection this delivery belongs to.
33
+ *
34
+ * @generated from field: string agent_channel_id = 2;
35
+ */
36
+ agentChannelId: string;
37
+ /**
38
+ * Organization that owns the connection (billing org).
39
+ * Denormalized from the channel so sweep/worker paths never join.
40
+ *
41
+ * @generated from field: string org = 3;
42
+ */
43
+ org: string;
44
+ /**
45
+ * AgentExecution whose terminal result this delivery carries.
46
+ *
47
+ * @generated from field: string execution_id = 4;
48
+ */
49
+ executionId: string;
50
+ /**
51
+ * Session the execution belongs to (conversation continuity + audit).
52
+ *
53
+ * @generated from field: string session_id = 5;
54
+ */
55
+ sessionId: string;
56
+ /**
57
+ * Provider-neutral conversation key (decision 005: the DM thread
58
+ * timestamp or the mention thread_ts, per mapping).
59
+ *
60
+ * @generated from field: string conversation_key = 6;
61
+ */
62
+ conversationKey: string;
63
+ /**
64
+ * External user key (e.g. Slack user id) the reply is for.
65
+ *
66
+ * @generated from field: string external_user_key = 7;
67
+ */
68
+ externalUserKey: string;
69
+ /**
70
+ * Delivery lifecycle status.
71
+ *
72
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus status = 8;
73
+ */
74
+ status: ChannelDeliveryStatus;
75
+ /**
76
+ * Number of delivery attempts made.
77
+ *
78
+ * @generated from field: int32 attempts = 9;
79
+ */
80
+ attempts: number;
81
+ /**
82
+ * Last delivery error, empty unless a delivery attempt failed.
83
+ *
84
+ * @generated from field: string last_error = 10;
85
+ */
86
+ lastError: string;
87
+ /**
88
+ * Idempotency key for outbound provider calls (stable across retries).
89
+ *
90
+ * @generated from field: string idempotency_key = 11;
91
+ */
92
+ idempotencyKey: string;
93
+ /**
94
+ * Provider-specific context needed to deliver the reply.
95
+ *
96
+ * @generated from oneof ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.delivery_context
97
+ */
98
+ deliveryContext: {
99
+ /**
100
+ * Slack delivery context.
101
+ *
102
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.SlackDeliveryContext slack = 12;
103
+ */
104
+ value: SlackDeliveryContext;
105
+ case: "slack";
106
+ } | {
107
+ case: undefined;
108
+ value?: undefined;
109
+ };
110
+ /**
111
+ * When the delivery record was created (webhook time).
112
+ *
113
+ * @generated from field: google.protobuf.Timestamp created_at = 13;
114
+ */
115
+ createdAt?: Timestamp;
116
+ /**
117
+ * When the record was last transitioned.
118
+ *
119
+ * @generated from field: google.protobuf.Timestamp updated_at = 14;
120
+ */
121
+ updatedAt?: Timestamp;
122
+ /**
123
+ * Earliest time of the next delivery attempt (backoff schedule).
124
+ *
125
+ * @generated from field: google.protobuf.Timestamp next_attempt_at = 15;
126
+ */
127
+ nextAttemptAt?: Timestamp;
128
+ };
129
+ /**
130
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
131
+ * Use `create(ChannelDeliverySchema)` to create a new message.
132
+ */
133
+ export declare const ChannelDeliverySchema: GenMessage<ChannelDelivery>;
134
+ /**
135
+ * SlackDeliveryContext carries what the Slack deliverer needs to post or
136
+ * update the reply.
137
+ *
138
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.SlackDeliveryContext
139
+ */
140
+ export type SlackDeliveryContext = Message<"ai.stigmer.agentic.agentchannel.v1.SlackDeliveryContext"> & {
141
+ /**
142
+ * Slack channel (conversation) id the reply posts to.
143
+ *
144
+ * @generated from field: string channel_id = 1;
145
+ */
146
+ channelId: string;
147
+ /**
148
+ * Thread timestamp to reply under; empty for plain DM replies.
149
+ *
150
+ * @generated from field: string thread_ts = 2;
151
+ */
152
+ threadTs: string;
153
+ /**
154
+ * Timestamp of the placeholder ("thinking") message to chat.update.
155
+ *
156
+ * @internal
157
+ * Set on the @mention and degraded-DM paths only (decision 008); the
158
+ * Assistant DM path uses assistant.threads.setStatus and carries no
159
+ * placeholder timestamp.
160
+ *
161
+ * @generated from field: string placeholder_ts = 3;
162
+ */
163
+ placeholderTs: string;
164
+ };
165
+ /**
166
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.SlackDeliveryContext.
167
+ * Use `create(SlackDeliveryContextSchema)` to create a new message.
168
+ */
169
+ export declare const SlackDeliveryContextSchema: GenMessage<SlackDeliveryContext>;
170
+ /**
171
+ * ChannelDeliveryStatus is the delivery record lifecycle.
172
+ *
173
+ * @internal
174
+ * pending -> delivering is the atomic claim (single winner across
175
+ * replicas). delivering -> delivered | pending (retry, with backoff via
176
+ * next_attempt_at) | failed (dead-lettered after max attempts).
177
+ *
178
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus
179
+ */
180
+ export declare enum ChannelDeliveryStatus {
181
+ /**
182
+ * Default value when no status is set.
183
+ *
184
+ * @generated from enum value: channel_delivery_status_unspecified = 0;
185
+ */
186
+ channel_delivery_status_unspecified = 0,
187
+ /**
188
+ * Awaiting the execution's terminal phase, or awaiting (re)claim.
189
+ *
190
+ * @generated from enum value: pending = 1;
191
+ */
192
+ pending = 1,
193
+ /**
194
+ * Claimed by a delivery worker; provider I/O in flight.
195
+ *
196
+ * @generated from enum value: delivering = 2;
197
+ */
198
+ delivering = 2,
199
+ /**
200
+ * Reply delivered to the provider.
201
+ *
202
+ * @generated from enum value: delivered = 3;
203
+ */
204
+ delivered = 3,
205
+ /**
206
+ * Dead-lettered after exhausting attempts; last_error records why.
207
+ *
208
+ * @generated from enum value: failed = 4;
209
+ */
210
+ failed = 4
211
+ }
212
+ /**
213
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.
214
+ */
215
+ export declare const ChannelDeliveryStatusSchema: GenEnum<ChannelDeliveryStatus>;
@@ -0,0 +1,67 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentchannel/v1/delivery.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/delivery.proto.
8
+ */
9
+ export const file_ai_stigmer_agentic_agentchannel_v1_delivery = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2RlbGl2ZXJ5LnByb3RvEiJhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxIqoECg9DaGFubmVsRGVsaXZlcnkSEwoLZGVsaXZlcnlfaWQYASABKAkSGAoQYWdlbnRfY2hhbm5lbF9pZBgCIAEoCRILCgNvcmcYAyABKAkSFAoMZXhlY3V0aW9uX2lkGAQgASgJEhIKCnNlc3Npb25faWQYBSABKAkSGAoQY29udmVyc2F0aW9uX2tleRgGIAEoCRIZChFleHRlcm5hbF91c2VyX2tleRgHIAEoCRJJCgZzdGF0dXMYCCABKA4yOS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNoYW5uZWxEZWxpdmVyeVN0YXR1cxIQCghhdHRlbXB0cxgJIAEoBRISCgpsYXN0X2Vycm9yGAogASgJEhcKD2lkZW1wb3RlbmN5X2tleRgLIAEoCRJJCgVzbGFjaxgMIAEoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuU2xhY2tEZWxpdmVyeUNvbnRleHRIABIuCgpjcmVhdGVkX2F0GA0gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GA4gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIzCg9uZXh0X2F0dGVtcHRfYXQYDyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQhIKEGRlbGl2ZXJ5X2NvbnRleHQiVQoUU2xhY2tEZWxpdmVyeUNvbnRleHQSEgoKY2hhbm5lbF9pZBgBIAEoCRIRCgl0aHJlYWRfdHMYAiABKAkSFgoOcGxhY2Vob2xkZXJfdHMYAyABKAkqeAoVQ2hhbm5lbERlbGl2ZXJ5U3RhdHVzEicKI2NoYW5uZWxfZGVsaXZlcnlfc3RhdHVzX3Vuc3BlY2lmaWVkEAASCwoHcGVuZGluZxABEg4KCmRlbGl2ZXJpbmcQAhINCglkZWxpdmVyZWQQAxIKCgZmYWlsZWQQBGIGcHJvdG8z", [file_google_protobuf_timestamp]);
10
+ /**
11
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
12
+ * Use `create(ChannelDeliverySchema)` to create a new message.
13
+ */
14
+ export const ChannelDeliverySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_delivery, 0);
15
+ /**
16
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.SlackDeliveryContext.
17
+ * Use `create(SlackDeliveryContextSchema)` to create a new message.
18
+ */
19
+ export const SlackDeliveryContextSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_delivery, 1);
20
+ /**
21
+ * ChannelDeliveryStatus is the delivery record lifecycle.
22
+ *
23
+ * @internal
24
+ * pending -> delivering is the atomic claim (single winner across
25
+ * replicas). delivering -> delivered | pending (retry, with backoff via
26
+ * next_attempt_at) | failed (dead-lettered after max attempts).
27
+ *
28
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus
29
+ */
30
+ export var ChannelDeliveryStatus;
31
+ (function (ChannelDeliveryStatus) {
32
+ /**
33
+ * Default value when no status is set.
34
+ *
35
+ * @generated from enum value: channel_delivery_status_unspecified = 0;
36
+ */
37
+ ChannelDeliveryStatus[ChannelDeliveryStatus["channel_delivery_status_unspecified"] = 0] = "channel_delivery_status_unspecified";
38
+ /**
39
+ * Awaiting the execution's terminal phase, or awaiting (re)claim.
40
+ *
41
+ * @generated from enum value: pending = 1;
42
+ */
43
+ ChannelDeliveryStatus[ChannelDeliveryStatus["pending"] = 1] = "pending";
44
+ /**
45
+ * Claimed by a delivery worker; provider I/O in flight.
46
+ *
47
+ * @generated from enum value: delivering = 2;
48
+ */
49
+ ChannelDeliveryStatus[ChannelDeliveryStatus["delivering"] = 2] = "delivering";
50
+ /**
51
+ * Reply delivered to the provider.
52
+ *
53
+ * @generated from enum value: delivered = 3;
54
+ */
55
+ ChannelDeliveryStatus[ChannelDeliveryStatus["delivered"] = 3] = "delivered";
56
+ /**
57
+ * Dead-lettered after exhausting attempts; last_error records why.
58
+ *
59
+ * @generated from enum value: failed = 4;
60
+ */
61
+ ChannelDeliveryStatus[ChannelDeliveryStatus["failed"] = 4] = "failed";
62
+ })(ChannelDeliveryStatus || (ChannelDeliveryStatus = {}));
63
+ /**
64
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.
65
+ */
66
+ export const ChannelDeliveryStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_delivery, 0);
67
+ //# sourceMappingURL=delivery_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delivery_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/delivery_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,8nCAA8nC,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAuI7qC;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AAoCnE;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AAEnE;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,qBAmCX;AAnCD,WAAY,qBAAqB;IAC/B;;;;OAIG;IACH,+HAAuC,CAAA;IAEvC;;;;OAIG;IACH,uEAAW,CAAA;IAEX;;;;OAIG;IACH,6EAAc,CAAA;IAEd;;;;OAIG;IACH,2EAAa,CAAA;IAEb;;;;OAIG;IACH,qEAAU,CAAA;AACZ,CAAC,EAnCW,qBAAqB,KAArB,qBAAqB,QAmChC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAmC,aAAa,CACtF,QAAQ,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,190 @@
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { AgentChannel } from "./api_pb.js";
3
+ import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_agentic_agentchannel_v1_io: GenFile;
9
+ /**
10
+ * AgentChannelId wraps an agent channel identifier.
11
+ *
12
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.AgentChannelId
13
+ */
14
+ export type AgentChannelId = Message<"ai.stigmer.agentic.agentchannel.v1.AgentChannelId"> & {
15
+ /**
16
+ * Unique identifier of the agent channel.
17
+ *
18
+ * @generated from field: string value = 1;
19
+ */
20
+ value: string;
21
+ };
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.AgentChannelId.
24
+ * Use `create(AgentChannelIdSchema)` to create a new message.
25
+ */
26
+ export declare const AgentChannelIdSchema: GenMessage<AgentChannelId>;
27
+ /**
28
+ * Input for retrieving all channels of a specific agent.
29
+ *
30
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.GetAgentChannelsByAgentRequest
31
+ */
32
+ export type GetAgentChannelsByAgentRequest = Message<"ai.stigmer.agentic.agentchannel.v1.GetAgentChannelsByAgentRequest"> & {
33
+ /**
34
+ * Identifier of the agent whose channels to retrieve.
35
+ *
36
+ * @generated from field: string agent_id = 1;
37
+ */
38
+ agentId: string;
39
+ /**
40
+ * Pagination options.
41
+ *
42
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 2;
43
+ */
44
+ pageInfo?: PageInfo;
45
+ };
46
+ /**
47
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetAgentChannelsByAgentRequest.
48
+ * Use `create(GetAgentChannelsByAgentRequestSchema)` to create a new message.
49
+ */
50
+ export declare const GetAgentChannelsByAgentRequestSchema: GenMessage<GetAgentChannelsByAgentRequest>;
51
+ /**
52
+ * Response containing a paginated list of agent channels.
53
+ *
54
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.AgentChannelList
55
+ */
56
+ export type AgentChannelList = Message<"ai.stigmer.agentic.agentchannel.v1.AgentChannelList"> & {
57
+ /**
58
+ * Total number of agent channels matching the query.
59
+ *
60
+ * @generated from field: int32 total_count = 1;
61
+ */
62
+ totalCount: number;
63
+ /**
64
+ * Agent channels in the current page.
65
+ *
66
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.AgentChannel items = 2;
67
+ */
68
+ items: AgentChannel[];
69
+ };
70
+ /**
71
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.AgentChannelList.
72
+ * Use `create(AgentChannelListSchema)` to create a new message.
73
+ */
74
+ export declare const AgentChannelListSchema: GenMessage<AgentChannelList>;
75
+ /**
76
+ * Input for listing agent channels within an organization.
77
+ *
78
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ListAgentChannelsRequest
79
+ */
80
+ export type ListAgentChannelsRequest = Message<"ai.stigmer.agentic.agentchannel.v1.ListAgentChannelsRequest"> & {
81
+ /**
82
+ * Organization slug to scope the listing.
83
+ *
84
+ * @generated from field: string org = 1;
85
+ */
86
+ org: string;
87
+ /**
88
+ * Filter by metadata labels. AND semantics: all labels must match.
89
+ *
90
+ * @generated from field: map<string, string> labels = 2;
91
+ */
92
+ labels: {
93
+ [key: string]: string;
94
+ };
95
+ /**
96
+ * Pagination options.
97
+ *
98
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 3;
99
+ */
100
+ pageInfo?: PageInfo;
101
+ };
102
+ /**
103
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListAgentChannelsRequest.
104
+ * Use `create(ListAgentChannelsRequestSchema)` to create a new message.
105
+ */
106
+ export declare const ListAgentChannelsRequestSchema: GenMessage<ListAgentChannelsRequest>;
107
+ /**
108
+ * Input for starting a provider install flow.
109
+ *
110
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallInput
111
+ */
112
+ export type InitiateChannelInstallInput = Message<"ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallInput"> & {
113
+ /**
114
+ * ID of the agent channel to install.
115
+ *
116
+ * @generated from field: string resource_id = 1;
117
+ */
118
+ resourceId: string;
119
+ };
120
+ /**
121
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallInput.
122
+ * Use `create(InitiateChannelInstallInputSchema)` to create a new message.
123
+ */
124
+ export declare const InitiateChannelInstallInputSchema: GenMessage<InitiateChannelInstallInput>;
125
+ /**
126
+ * Output of the initiate-install RPC.
127
+ *
128
+ * The caller redirects the user to authorization_url; the provider
129
+ * redirects back to the console, which completes the install with the
130
+ * completeInstall RPC.
131
+ *
132
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallOutput
133
+ */
134
+ export type InitiateChannelInstallOutput = Message<"ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallOutput"> & {
135
+ /**
136
+ * Provider authorization URL to redirect the installing user to
137
+ * (for Slack: the "Add to Slack" consent screen).
138
+ *
139
+ * @generated from field: string authorization_url = 1;
140
+ */
141
+ authorizationUrl: string;
142
+ /**
143
+ * Single-use opaque state parameter bound to this install attempt.
144
+ *
145
+ * @internal
146
+ * Persisted server-side (PendingOAuthStateDocument pattern) and consumed
147
+ * atomically by completeInstall; expired or replayed states are rejected.
148
+ *
149
+ * @generated from field: string state = 2;
150
+ */
151
+ state: string;
152
+ };
153
+ /**
154
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallOutput.
155
+ * Use `create(InitiateChannelInstallOutputSchema)` to create a new message.
156
+ */
157
+ export declare const InitiateChannelInstallOutputSchema: GenMessage<InitiateChannelInstallOutput>;
158
+ /**
159
+ * Input for completing a provider install flow.
160
+ *
161
+ * Carries the state and authorization code the provider's consent
162
+ * redirect delivered to the console.
163
+ *
164
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.CompleteChannelInstallInput
165
+ */
166
+ export type CompleteChannelInstallInput = Message<"ai.stigmer.agentic.agentchannel.v1.CompleteChannelInstallInput"> & {
167
+ /**
168
+ * ID of the agent channel being installed.
169
+ *
170
+ * @generated from field: string resource_id = 1;
171
+ */
172
+ resourceId: string;
173
+ /**
174
+ * Single-use state parameter issued by initiateInstall.
175
+ *
176
+ * @generated from field: string state = 2;
177
+ */
178
+ state: string;
179
+ /**
180
+ * Authorization code returned by the provider's consent screen.
181
+ *
182
+ * @generated from field: string code = 3;
183
+ */
184
+ code: string;
185
+ };
186
+ /**
187
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.CompleteChannelInstallInput.
188
+ * Use `create(CompleteChannelInstallInputSchema)` to create a new message.
189
+ */
190
+ export declare const CompleteChannelInstallInputSchema: GenMessage<CompleteChannelInstallInput>;
@@ -0,0 +1,47 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentchannel/v1/io.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agentchannel_v1_api } from "./api_pb.js";
6
+ import { file_ai_stigmer_commons_rpc_pagination } from "../../../commons/rpc/pagination_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/io.proto.
10
+ */
11
+ export const file_ai_stigmer_agentic_agentchannel_v1_io = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2lvLnByb3RvEiJhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxIicKDkFnZW50Q2hhbm5lbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEibwoeR2V0QWdlbnRDaGFubmVsc0J5QWdlbnRSZXF1ZXN0EhgKCGFnZW50X2lkGAEgASgJQga6SAPIAQESMwoJcGFnZV9pbmZvGAIgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbyJoChBBZ2VudENoYW5uZWxMaXN0EhMKC3RvdGFsX2NvdW50GAEgASgFEj8KBWl0ZW1zGAIgAygLMjAuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5BZ2VudENoYW5uZWwi7gEKGExpc3RBZ2VudENoYW5uZWxzUmVxdWVzdBIUCgNvcmcYASABKAlCB7pIBHICEAESWAoGbGFiZWxzGAIgAygLMkguYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5MaXN0QWdlbnRDaGFubmVsc1JlcXVlc3QuTGFiZWxzRW50cnkSMwoJcGFnZV9pbmZvGAMgASgLMiAuYWkuc3RpZ21lci5jb21tb25zLnJwYy5QYWdlSW5mbxotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIjoKG0luaXRpYXRlQ2hhbm5lbEluc3RhbGxJbnB1dBIbCgtyZXNvdXJjZV9pZBgBIAEoCUIGukgDyAEBIkgKHEluaXRpYXRlQ2hhbm5lbEluc3RhbGxPdXRwdXQSGQoRYXV0aG9yaXphdGlvbl91cmwYASABKAkSDQoFc3RhdGUYAiABKAkiZwobQ29tcGxldGVDaGFubmVsSW5zdGFsbElucHV0EhsKC3Jlc291cmNlX2lkGAEgASgJQga6SAPIAQESFQoFc3RhdGUYAiABKAlCBrpIA8gBARIUCgRjb2RlGAMgASgJQga6SAPIAQFiBnByb3RvMw", [file_ai_stigmer_agentic_agentchannel_v1_api, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate]);
12
+ /**
13
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.AgentChannelId.
14
+ * Use `create(AgentChannelIdSchema)` to create a new message.
15
+ */
16
+ export const AgentChannelIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetAgentChannelsByAgentRequest.
19
+ * Use `create(GetAgentChannelsByAgentRequestSchema)` to create a new message.
20
+ */
21
+ export const GetAgentChannelsByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 1);
22
+ /**
23
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.AgentChannelList.
24
+ * Use `create(AgentChannelListSchema)` to create a new message.
25
+ */
26
+ export const AgentChannelListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListAgentChannelsRequest.
29
+ * Use `create(ListAgentChannelsRequestSchema)` to create a new message.
30
+ */
31
+ export const ListAgentChannelsRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallInput.
34
+ * Use `create(InitiateChannelInstallInputSchema)` to create a new message.
35
+ */
36
+ export const InitiateChannelInstallInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 4);
37
+ /**
38
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.InitiateChannelInstallOutput.
39
+ * Use `create(InitiateChannelInstallOutputSchema)` to create a new message.
40
+ */
41
+ export const InitiateChannelInstallOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 5);
42
+ /**
43
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.CompleteChannelInstallInput.
44
+ * Use `create(CompleteChannelInstallInputSchema)` to create a new message.
45
+ */
46
+ export const CompleteChannelInstallInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_io, 6);
47
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,aAAa,CAAC;AAE1E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,olCAAolC,EAAE,CAAC,2CAA2C,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgBptC;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAuB7D;;;GAGG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAA+C,aAAa,CAC3G,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAuB7D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AA8B7D;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAgB7D;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAgC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAA6C,aAAa,CACvG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC;AAiC7D;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * AgentChannelQueryController handles read operations for agent channels.
3
+ *
4
+ * @internal
5
+ * Deliberately no anonymous/public RPC (AgentShare's getSharedProfile has
6
+ * no analog here): the channel's public surface is the provider webhook,
7
+ * which authenticates by signature — never a query endpoint.
8
+ *
9
+ * @generated from service ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController
10
+ */
11
+ export declare const AgentChannelQueryController: {
12
+ readonly typeName: "ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController";
13
+ readonly methods: {
14
+ /**
15
+ * Get a single agent channel by ID.
16
+ *
17
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController.get
18
+ */
19
+ readonly get: {
20
+ readonly name: "get";
21
+ readonly I: any;
22
+ readonly O: any;
23
+ readonly kind: any;
24
+ };
25
+ /**
26
+ * Get an agent channel by its organization-scoped reference (org/slug).
27
+ *
28
+ * @internal
29
+ * Custom authorization in handler — checks both direct resource access
30
+ * and organization-level visibility permissions (AgentShare pattern).
31
+ *
32
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController.getByReference
33
+ */
34
+ readonly getByReference: {
35
+ readonly name: "getByReference";
36
+ readonly I: any;
37
+ readonly O: any;
38
+ readonly kind: any;
39
+ };
40
+ /**
41
+ * Get all channels of a specific agent.
42
+ * Returns only channels the caller has access to.
43
+ *
44
+ * This is how the agent's integrations surface and CLI resolve an
45
+ * agent's existing channels regardless of slug.
46
+ *
47
+ * @internal
48
+ * Authorization in-handler: FGA-filtered in cloud, unrestricted in OSS.
49
+ *
50
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController.getByAgent
51
+ */
52
+ readonly getByAgent: {
53
+ readonly name: "getByAgent";
54
+ readonly I: any;
55
+ readonly O: any;
56
+ readonly kind: any;
57
+ };
58
+ /**
59
+ * List agent channels with optional label filtering.
60
+ *
61
+ * @internal
62
+ * Authorization in-handler via FGA-filtered queries (cloud) or
63
+ * unrestricted store queries (OSS).
64
+ *
65
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.AgentChannelQueryController.list
66
+ */
67
+ readonly list: {
68
+ readonly name: "list";
69
+ readonly I: any;
70
+ readonly O: any;
71
+ readonly kind: any;
72
+ };
73
+ };
74
+ };