@stigmer/protos 3.6.0 → 3.8.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 (79) hide show
  1. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.d.ts +141 -0
  2. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js +149 -0
  3. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js.map +1 -0
  4. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.d.ts +140 -0
  5. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js +34 -0
  6. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js.map +1 -0
  7. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +658 -0
  8. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +222 -0
  9. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -0
  10. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.d.ts +103 -0
  11. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +110 -0
  12. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js.map +1 -0
  13. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.d.ts +103 -0
  14. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js +30 -0
  15. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js.map +1 -0
  16. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +36 -2
  17. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +18 -2
  18. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +61 -4
  20. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +38 -4
  21. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +25 -0
  23. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +2 -1
  24. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +5 -1
  26. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  27. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +66 -0
  28. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +81 -14
  29. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.d.ts +210 -0
  31. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js +25 -0
  32. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js.map +1 -0
  33. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +84 -1
  34. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +7 -2
  35. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  36. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +33 -1
  37. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +2 -1
  38. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +27 -0
  40. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +2 -1
  41. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
  42. package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +35 -21
  43. package/ai/stigmer/agentic/schedule/v1/command_connect.js +37 -23
  44. package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -1
  45. package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +37 -23
  46. package/ai/stigmer/agentic/schedule/v1/command_pb.js +1 -1
  47. package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -1
  48. package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +266 -1
  49. package/ai/stigmer/agentic/schedule/v1/io_pb.js +120 -2
  50. package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +26 -0
  52. package/ai/stigmer/agentic/schedule/v1/query_connect.js +27 -1
  53. package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -1
  54. package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +26 -1
  55. package/ai/stigmer/agentic/schedule/v1/query_pb.js +1 -1
  56. package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -1
  57. package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +30 -49
  58. package/ai/stigmer/agentic/schedule/v1/spec_pb.js +2 -8
  59. package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -1
  60. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +10 -8
  61. package/ai/stigmer/agentic/session/v1/enum_pb.js +10 -8
  62. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  63. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +7 -5
  64. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +123 -104
  66. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +4 -7
  67. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
  68. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -1
  69. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  70. package/ai/stigmer/iam/v1/enum_pb.d.ts +31 -2
  71. package/ai/stigmer/iam/v1/enum_pb.js +30 -1
  72. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  73. package/ai/stigmer/platform/v1/server_info_connect.d.ts +6 -4
  74. package/ai/stigmer/platform/v1/server_info_connect.js +6 -4
  75. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  76. package/ai/stigmer/platform/v1/server_info_pb.d.ts +53 -4
  77. package/ai/stigmer/platform/v1/server_info_pb.js +7 -2
  78. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  79. package/package.json +1 -1
@@ -0,0 +1,222 @@
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/conversation_io.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agentchannel_v1_delivery } from "./delivery_pb.js";
6
+ import { file_ai_stigmer_agentic_agentchannel_v1_message_io } from "./message_io_pb.js";
7
+ import { file_ai_stigmer_agentic_agentchannel_v1_outbound } from "./outbound_pb.js";
8
+ import { file_ai_stigmer_commons_rpc_pagination } from "../../../commons/rpc/pagination_pb.js";
9
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
10
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
11
+ /**
12
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/conversation_io.proto.
13
+ */
14
+ export const file_ai_stigmer_agentic_agentchannel_v1_conversation_io = /*@__PURE__*/ fileDesc("CjhhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9pby5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MSL+AwoTQ2hhbm5lbENvbnZlcnNhdGlvbhIYChBhZ2VudF9jaGFubmVsX2lkGAEgASgJEhgKEGNvbnZlcnNhdGlvbl9rZXkYAiABKAkSCwoDb3JnGAMgASgJEkgKB2NvbnRyb2wYBCABKA4yNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLn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lsdGVyX3Vuc3BlY2lmaWVkEAASFgoSZmlsdGVyX3dhbnRzX2h1bWFuEAFiBnByb3RvMw", [file_ai_stigmer_agentic_agentchannel_v1_delivery, file_ai_stigmer_agentic_agentchannel_v1_message_io, file_ai_stigmer_agentic_agentchannel_v1_outbound, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate, file_google_protobuf_timestamp]);
15
+ /**
16
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversation.
17
+ * Use `create(ChannelConversationSchema)` to create a new message.
18
+ */
19
+ export const ChannelConversationSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 0);
20
+ /**
21
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem.
22
+ * Use `create(ConversationTimelineItemSchema)` to create a new message.
23
+ */
24
+ export const ConversationTimelineItemSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 1);
25
+ /**
26
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput.
27
+ * Use `create(ListChannelConversationsInputSchema)` to create a new message.
28
+ */
29
+ export const ListChannelConversationsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 2);
30
+ /**
31
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversationList.
32
+ * Use `create(ChannelConversationListSchema)` to create a new message.
33
+ */
34
+ export const ChannelConversationListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 3);
35
+ /**
36
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetChannelConversationInput.
37
+ * Use `create(GetChannelConversationInputSchema)` to create a new message.
38
+ */
39
+ export const GetChannelConversationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 4);
40
+ /**
41
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput.
42
+ * Use `create(GetConversationTimelineInputSchema)` to create a new message.
43
+ */
44
+ export const GetConversationTimelineInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 5);
45
+ /**
46
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline.
47
+ * Use `create(ConversationTimelineSchema)` to create a new message.
48
+ */
49
+ export const ConversationTimelineSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 6);
50
+ /**
51
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput.
52
+ * Use `create(ConversationControlInputSchema)` to create a new message.
53
+ */
54
+ export const ConversationControlInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 7);
55
+ /**
56
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput.
57
+ * Use `create(ReplyToConversationInputSchema)` to create a new message.
58
+ */
59
+ export const ReplyToConversationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 8);
60
+ /**
61
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput.
62
+ * Use `create(EscalateConversationInputSchema)` to create a new message.
63
+ */
64
+ export const EscalateConversationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 9);
65
+ /**
66
+ * ConversationControl names who may speak to the customer on a
67
+ * conversation's public lane.
68
+ *
69
+ * @internal
70
+ * channel-conversations DD-002 (lane x control): exactly one holder at a
71
+ * time; transitions are CAS-guarded through the participation writer
72
+ * (DD-007 D-f). Values carry the control_ prefix — proto3 enum values are
73
+ * package-scoped and bare names invite collisions (the receipt_ precedent).
74
+ *
75
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationControl
76
+ */
77
+ export var ConversationControl;
78
+ (function (ConversationControl) {
79
+ /**
80
+ * Default value when no control state is set.
81
+ *
82
+ * @generated from enum value: conversation_control_unspecified = 0;
83
+ */
84
+ ConversationControl[ConversationControl["conversation_control_unspecified"] = 0] = "conversation_control_unspecified";
85
+ /**
86
+ * The agent serves the conversation (the default for every conversation).
87
+ *
88
+ * @generated from enum value: control_agent = 1;
89
+ */
90
+ ConversationControl[ConversationControl["control_agent"] = 1] = "control_agent";
91
+ /**
92
+ * A human holds the conversation; the agent is quiet until handback.
93
+ *
94
+ * @generated from enum value: control_human = 2;
95
+ */
96
+ ConversationControl[ConversationControl["control_human"] = 2] = "control_human";
97
+ })(ConversationControl || (ConversationControl = {}));
98
+ /**
99
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationControl.
100
+ */
101
+ export const ConversationControlSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 0);
102
+ /**
103
+ * ConversationLane distinguishes customer-visible items from internal ones.
104
+ *
105
+ * @internal
106
+ * channel-conversations DD-002: every timeline item has a lane. lane_internal
107
+ * carries the internal event store's items — escalations and attention clears
108
+ * since T03 Sitting 4, notes when their writer lands (the v1-stretch decision).
109
+ *
110
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationLane
111
+ */
112
+ export var ConversationLane;
113
+ (function (ConversationLane) {
114
+ /**
115
+ * Default value when no lane is set.
116
+ *
117
+ * @generated from enum value: conversation_lane_unspecified = 0;
118
+ */
119
+ ConversationLane[ConversationLane["conversation_lane_unspecified"] = 0] = "conversation_lane_unspecified";
120
+ /**
121
+ * The customer sees this item (their message, a delivered reply, a send).
122
+ *
123
+ * @generated from enum value: lane_public = 1;
124
+ */
125
+ ConversationLane[ConversationLane["lane_public"] = 1] = "lane_public";
126
+ /**
127
+ * Org-internal item (escalations, notes); the customer never sees it.
128
+ *
129
+ * @generated from enum value: lane_internal = 2;
130
+ */
131
+ ConversationLane[ConversationLane["lane_internal"] = 2] = "lane_internal";
132
+ })(ConversationLane || (ConversationLane = {}));
133
+ /**
134
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationLane.
135
+ */
136
+ export const ConversationLaneSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 1);
137
+ /**
138
+ * ConversationItemAuthor names who authored a timeline item.
139
+ *
140
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor
141
+ */
142
+ export var ConversationItemAuthor;
143
+ (function (ConversationItemAuthor) {
144
+ /**
145
+ * Default value when no author is set.
146
+ *
147
+ * @generated from enum value: conversation_item_author_unspecified = 0;
148
+ */
149
+ ConversationItemAuthor[ConversationItemAuthor["conversation_item_author_unspecified"] = 0] = "conversation_item_author_unspecified";
150
+ /**
151
+ * The external customer.
152
+ *
153
+ * @generated from enum value: author_customer = 1;
154
+ */
155
+ ConversationItemAuthor[ConversationItemAuthor["author_customer"] = 1] = "author_customer";
156
+ /**
157
+ * The serving agent.
158
+ *
159
+ * @generated from enum value: author_agent = 2;
160
+ */
161
+ ConversationItemAuthor[ConversationItemAuthor["author_agent"] = 2] = "author_agent";
162
+ /**
163
+ * An org human replying as the business.
164
+ *
165
+ * @generated from enum value: author_teammate = 3;
166
+ */
167
+ ConversationItemAuthor[ConversationItemAuthor["author_teammate"] = 3] = "author_teammate";
168
+ /**
169
+ * Platform-authored conversation copy (e.g. the takeover
170
+ * acknowledgment), neither the agent's words nor a teammate's.
171
+ *
172
+ * @internal
173
+ * channel-conversations DD-005 D-d: acknowledgment rows carry the
174
+ * platform outbound origin (lands in T03); rendering them as the agent
175
+ * would be a lie. The value exists from day one so the item vocabulary
176
+ * never needs a patch when the first platform row appears.
177
+ *
178
+ * @generated from enum value: author_platform = 4;
179
+ */
180
+ ConversationItemAuthor[ConversationItemAuthor["author_platform"] = 4] = "author_platform";
181
+ })(ConversationItemAuthor || (ConversationItemAuthor = {}));
182
+ /**
183
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor.
184
+ */
185
+ export const ConversationItemAuthorSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 2);
186
+ /**
187
+ * ChannelConversationListFilter names the server-evaluated predicates the
188
+ * conversation list can be narrowed to.
189
+ *
190
+ * @internal
191
+ * channel-conversations DD-011 D-f/D-g: filter_wants_human expresses
192
+ * EXACTLY the nav badge's union, and the badge count is the filtered
193
+ * list's total_count — one predicate in one handler, so the count and the
194
+ * list it opens can never disagree. Server-side deliberately (T04 D1's
195
+ * standing objection): a client-side tab over one fetched page would
196
+ * silently lie across pages. Values carry the filter_ prefix — proto3
197
+ * enum values are package-scoped (the control_ precedent).
198
+ *
199
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelConversationListFilter
200
+ */
201
+ export var ChannelConversationListFilter;
202
+ (function (ChannelConversationListFilter) {
203
+ /**
204
+ * Default value: no filter.
205
+ *
206
+ * @generated from enum value: channel_conversation_list_filter_unspecified = 0;
207
+ */
208
+ ChannelConversationListFilter[ChannelConversationListFilter["channel_conversation_list_filter_unspecified"] = 0] = "channel_conversation_list_filter_unspecified";
209
+ /**
210
+ * Conversations where a human action is wanted: flagged for attention,
211
+ * or human-held with the customer's last message still unanswered
212
+ * (needs_attention OR (awaiting_reply AND control_human)).
213
+ *
214
+ * @generated from enum value: filter_wants_human = 1;
215
+ */
216
+ ChannelConversationListFilter[ChannelConversationListFilter["filter_wants_human"] = 1] = "filter_wants_human";
217
+ })(ChannelConversationListFilter || (ChannelConversationListFilter = {}));
218
+ /**
219
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelConversationListFilter.
220
+ */
221
+ export const ChannelConversationListFilterSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 3);
222
+ //# sourceMappingURL=conversation_io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation_io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AAC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,CAAN,IAAY,sBA0CX;AA1CD,WAAY,sBAAsB;IAChC;;;;OAIG;IACH,mIAAwC,CAAA;IAExC;;;;OAIG;IACH,yFAAmB,CAAA;IAEnB;;;;OAIG;IACH,mFAAgB,CAAA;IAEhB;;;;OAIG;IACH,yFAAmB,CAAA;IAEnB;;;;;;;;;;;OAWG;IACH,yFAAmB,CAAA;AACrB,CAAC,EA1CW,sBAAsB,KAAtB,sBAAsB,QA0CjC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAoC,aAAa,CACxF,QAAQ,CAAC,uDAAuD,EAAE,CAAC,CAAC,CAAC;AAEvE;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAN,IAAY,6BAgBX;AAhBD,WAAY,6BAA6B;IACvC;;;;OAIG;IACH,iKAAgD,CAAA;IAEhD;;;;;;OAMG;IACH,6GAAsB,CAAA;AACxB,CAAC,EAhBW,6BAA6B,KAA7B,6BAA6B,QAgBxC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAA2C,aAAa,CACtG,QAAQ,CAAC,uDAAuD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * ChannelConversationQueryController serves the console's conversation
3
+ * reads: the org-wide conversation list and each conversation's
4
+ * customer-visible timeline.
5
+ *
6
+ * @internal
7
+ * channel-conversations DD-003/DD-004: the query sibling of
8
+ * ChannelConversationCommandController, on the runtime surface beside the
9
+ * message_* triple (resource CRUD and runtime traffic never mix).
10
+ * Supersedes SessionQueryController.listByChannel as the console's
11
+ * conversation read (DD-004 D-g); listByChannel remains the session-level
12
+ * forensics read underneath a conversation. Cloud-first runtime: the OSS
13
+ * edition answers queries with empty results (the listMessagingChannels
14
+ * discovery-read posture) — "none" is the honest answer, not an error.
15
+ *
16
+ * @generated from service ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController
17
+ */
18
+ export declare const ChannelConversationQueryController: {
19
+ readonly typeName: "ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController";
20
+ readonly methods: {
21
+ /**
22
+ * List an organization's channel conversations, newest activity first.
23
+ *
24
+ * Returns conversations across all of the org's channels the caller can
25
+ * view, optionally filtered to one channel. Entries carry participation
26
+ * state and the customer's display name.
27
+ *
28
+ * @internal
29
+ * Org-wide read: no single object to authorize, so authorization is
30
+ * in-handler — an FGA ListObjects over agent_channel#can_view scopes
31
+ * the scan (the listByChannel two-stage precedent; DD-010 D-b). A
32
+ * caller who can view no channel receives an empty list, never an
33
+ * error. OSS answers empty (cloud-only runtime).
34
+ *
35
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.listConversations
36
+ */
37
+ readonly listConversations: {
38
+ readonly name: "listConversations";
39
+ readonly I: any;
40
+ readonly O: any;
41
+ readonly kind: any;
42
+ };
43
+ /**
44
+ * Get one conversation's identity and participation state.
45
+ *
46
+ * The single-row read behind a conversation detail view: who holds
47
+ * control, whether the conversation needs attention and why, the
48
+ * customer's display name, and the activity clocks. Answers NOT_FOUND
49
+ * until the customer's first message creates the conversation.
50
+ *
51
+ * @internal
52
+ * channel-conversations T04: the get sibling of listConversations, so
53
+ * a deep-linked console view or an embedded conversation surface never
54
+ * reconstructs one row by scanning list pages — and the open
55
+ * conversation can poll its own participation state instead of riding
56
+ * the list's slower refresh. Authorization is declarative on the
57
+ * channel, exactly getTimeline's shape (DD-003 D-a: conversations
58
+ * carry no per-conversation FGA tuples — the channel is the trust
59
+ * boundary). NOT_FOUND deliberately covers the timeline-without-row
60
+ * case (a proactive cold-send the customer never answered): getTimeline
61
+ * may serve items while this read refuses, the same "the customer
62
+ * wrote first" asymmetry reply's existing-conversation precondition
63
+ * enforces (T03 Sitting 2's A8) — consoles render that as "controls
64
+ * unlock when the customer writes", not as an error. OSS answers
65
+ * NOT_FOUND unconditionally: this edition never materializes
66
+ * conversations (cloud-only runtime), and a single-row get cannot
67
+ * answer "empty" the way the sibling discovery reads do.
68
+ *
69
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getConversation
70
+ */
71
+ readonly getConversation: {
72
+ readonly name: "getConversation";
73
+ readonly I: any;
74
+ readonly O: any;
75
+ readonly kind: any;
76
+ };
77
+ /**
78
+ * Get one conversation's timeline, newest first, cursor-paged.
79
+ *
80
+ * The timeline contains customer-visible items only: inbound customer
81
+ * messages (including non-text kinds the platform cannot render),
82
+ * delivered agent replies, and operator or platform sends. Execution
83
+ * internals never appear.
84
+ *
85
+ * @internal
86
+ * channel-conversations DD-004: stitched on read from the webhook
87
+ * event store, the delivery store (via the same last-AI-message
88
+ * extraction the delivery posted — never execution transcripts), and
89
+ * the outbound ledger; internal-lane events join as the fourth source
90
+ * in T03. Authorization is declarative on the channel: conversations
91
+ * carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
92
+ * the trust boundary.
93
+ *
94
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
95
+ */
96
+ readonly getTimeline: {
97
+ readonly name: "getTimeline";
98
+ readonly I: any;
99
+ readonly O: any;
100
+ readonly kind: any;
101
+ };
102
+ };
103
+ };
@@ -0,0 +1,110 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/agentic/agentchannel/v1/conversation_query.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { ChannelConversation, ChannelConversationList, ConversationTimeline, GetChannelConversationInput, GetConversationTimelineInput, ListChannelConversationsInput } from "./conversation_io_pbjs";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * ChannelConversationQueryController serves the console's conversation
9
+ * reads: the org-wide conversation list and each conversation's
10
+ * customer-visible timeline.
11
+ *
12
+ * @internal
13
+ * channel-conversations DD-003/DD-004: the query sibling of
14
+ * ChannelConversationCommandController, on the runtime surface beside the
15
+ * message_* triple (resource CRUD and runtime traffic never mix).
16
+ * Supersedes SessionQueryController.listByChannel as the console's
17
+ * conversation read (DD-004 D-g); listByChannel remains the session-level
18
+ * forensics read underneath a conversation. Cloud-first runtime: the OSS
19
+ * edition answers queries with empty results (the listMessagingChannels
20
+ * discovery-read posture) — "none" is the honest answer, not an error.
21
+ *
22
+ * @generated from service ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController
23
+ */
24
+ export const ChannelConversationQueryController = {
25
+ typeName: "ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController",
26
+ methods: {
27
+ /**
28
+ * List an organization's channel conversations, newest activity first.
29
+ *
30
+ * Returns conversations across all of the org's channels the caller can
31
+ * view, optionally filtered to one channel. Entries carry participation
32
+ * state and the customer's display name.
33
+ *
34
+ * @internal
35
+ * Org-wide read: no single object to authorize, so authorization is
36
+ * in-handler — an FGA ListObjects over agent_channel#can_view scopes
37
+ * the scan (the listByChannel two-stage precedent; DD-010 D-b). A
38
+ * caller who can view no channel receives an empty list, never an
39
+ * error. OSS answers empty (cloud-only runtime).
40
+ *
41
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.listConversations
42
+ */
43
+ listConversations: {
44
+ name: "listConversations",
45
+ I: ListChannelConversationsInput,
46
+ O: ChannelConversationList,
47
+ kind: MethodKind.Unary,
48
+ },
49
+ /**
50
+ * Get one conversation's identity and participation state.
51
+ *
52
+ * The single-row read behind a conversation detail view: who holds
53
+ * control, whether the conversation needs attention and why, the
54
+ * customer's display name, and the activity clocks. Answers NOT_FOUND
55
+ * until the customer's first message creates the conversation.
56
+ *
57
+ * @internal
58
+ * channel-conversations T04: the get sibling of listConversations, so
59
+ * a deep-linked console view or an embedded conversation surface never
60
+ * reconstructs one row by scanning list pages — and the open
61
+ * conversation can poll its own participation state instead of riding
62
+ * the list's slower refresh. Authorization is declarative on the
63
+ * channel, exactly getTimeline's shape (DD-003 D-a: conversations
64
+ * carry no per-conversation FGA tuples — the channel is the trust
65
+ * boundary). NOT_FOUND deliberately covers the timeline-without-row
66
+ * case (a proactive cold-send the customer never answered): getTimeline
67
+ * may serve items while this read refuses, the same "the customer
68
+ * wrote first" asymmetry reply's existing-conversation precondition
69
+ * enforces (T03 Sitting 2's A8) — consoles render that as "controls
70
+ * unlock when the customer writes", not as an error. OSS answers
71
+ * NOT_FOUND unconditionally: this edition never materializes
72
+ * conversations (cloud-only runtime), and a single-row get cannot
73
+ * answer "empty" the way the sibling discovery reads do.
74
+ *
75
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getConversation
76
+ */
77
+ getConversation: {
78
+ name: "getConversation",
79
+ I: GetChannelConversationInput,
80
+ O: ChannelConversation,
81
+ kind: MethodKind.Unary,
82
+ },
83
+ /**
84
+ * Get one conversation's timeline, newest first, cursor-paged.
85
+ *
86
+ * The timeline contains customer-visible items only: inbound customer
87
+ * messages (including non-text kinds the platform cannot render),
88
+ * delivered agent replies, and operator or platform sends. Execution
89
+ * internals never appear.
90
+ *
91
+ * @internal
92
+ * channel-conversations DD-004: stitched on read from the webhook
93
+ * event store, the delivery store (via the same last-AI-message
94
+ * extraction the delivery posted — never execution transcripts), and
95
+ * the outbound ledger; internal-lane events join as the fourth source
96
+ * in T03. Authorization is declarative on the channel: conversations
97
+ * carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
98
+ * the trust boundary.
99
+ *
100
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
101
+ */
102
+ getTimeline: {
103
+ name: "getTimeline",
104
+ I: GetConversationTimelineInput,
105
+ O: ConversationTimeline,
106
+ kind: MethodKind.Unary,
107
+ },
108
+ }
109
+ };
110
+ //# sourceMappingURL=conversation_query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation_query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,+IAA+I;AAC/I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACtM,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,QAAQ,EAAE,uEAAuE;IACjF,OAAO,EAAE;QACP;;;;;;;;;;;;;;;WAeG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,6BAA6B;YAChC,CAAC,EAAE,uBAAuB;YAC1B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;WAkBG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,4BAA4B;YAC/B,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,103 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ChannelConversationListSchema, ChannelConversationSchema, ConversationTimelineSchema, GetChannelConversationInputSchema, GetConversationTimelineInputSchema, ListChannelConversationsInputSchema } from "./conversation_io_pb.js";
3
+ /**
4
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/conversation_query.proto.
5
+ */
6
+ export declare const file_ai_stigmer_agentic_agentchannel_v1_conversation_query: GenFile;
7
+ /**
8
+ * ChannelConversationQueryController serves the console's conversation
9
+ * reads: the org-wide conversation list and each conversation's
10
+ * customer-visible timeline.
11
+ *
12
+ * @internal
13
+ * channel-conversations DD-003/DD-004: the query sibling of
14
+ * ChannelConversationCommandController, on the runtime surface beside the
15
+ * message_* triple (resource CRUD and runtime traffic never mix).
16
+ * Supersedes SessionQueryController.listByChannel as the console's
17
+ * conversation read (DD-004 D-g); listByChannel remains the session-level
18
+ * forensics read underneath a conversation. Cloud-first runtime: the OSS
19
+ * edition answers queries with empty results (the listMessagingChannels
20
+ * discovery-read posture) — "none" is the honest answer, not an error.
21
+ *
22
+ * @generated from service ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController
23
+ */
24
+ export declare const ChannelConversationQueryController: GenService<{
25
+ /**
26
+ * List an organization's channel conversations, newest activity first.
27
+ *
28
+ * Returns conversations across all of the org's channels the caller can
29
+ * view, optionally filtered to one channel. Entries carry participation
30
+ * state and the customer's display name.
31
+ *
32
+ * @internal
33
+ * Org-wide read: no single object to authorize, so authorization is
34
+ * in-handler — an FGA ListObjects over agent_channel#can_view scopes
35
+ * the scan (the listByChannel two-stage precedent; DD-010 D-b). A
36
+ * caller who can view no channel receives an empty list, never an
37
+ * error. OSS answers empty (cloud-only runtime).
38
+ *
39
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.listConversations
40
+ */
41
+ listConversations: {
42
+ methodKind: "unary";
43
+ input: typeof ListChannelConversationsInputSchema;
44
+ output: typeof ChannelConversationListSchema;
45
+ };
46
+ /**
47
+ * Get one conversation's identity and participation state.
48
+ *
49
+ * The single-row read behind a conversation detail view: who holds
50
+ * control, whether the conversation needs attention and why, the
51
+ * customer's display name, and the activity clocks. Answers NOT_FOUND
52
+ * until the customer's first message creates the conversation.
53
+ *
54
+ * @internal
55
+ * channel-conversations T04: the get sibling of listConversations, so
56
+ * a deep-linked console view or an embedded conversation surface never
57
+ * reconstructs one row by scanning list pages — and the open
58
+ * conversation can poll its own participation state instead of riding
59
+ * the list's slower refresh. Authorization is declarative on the
60
+ * channel, exactly getTimeline's shape (DD-003 D-a: conversations
61
+ * carry no per-conversation FGA tuples — the channel is the trust
62
+ * boundary). NOT_FOUND deliberately covers the timeline-without-row
63
+ * case (a proactive cold-send the customer never answered): getTimeline
64
+ * may serve items while this read refuses, the same "the customer
65
+ * wrote first" asymmetry reply's existing-conversation precondition
66
+ * enforces (T03 Sitting 2's A8) — consoles render that as "controls
67
+ * unlock when the customer writes", not as an error. OSS answers
68
+ * NOT_FOUND unconditionally: this edition never materializes
69
+ * conversations (cloud-only runtime), and a single-row get cannot
70
+ * answer "empty" the way the sibling discovery reads do.
71
+ *
72
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getConversation
73
+ */
74
+ getConversation: {
75
+ methodKind: "unary";
76
+ input: typeof GetChannelConversationInputSchema;
77
+ output: typeof ChannelConversationSchema;
78
+ };
79
+ /**
80
+ * Get one conversation's timeline, newest first, cursor-paged.
81
+ *
82
+ * The timeline contains customer-visible items only: inbound customer
83
+ * messages (including non-text kinds the platform cannot render),
84
+ * delivered agent replies, and operator or platform sends. Execution
85
+ * internals never appear.
86
+ *
87
+ * @internal
88
+ * channel-conversations DD-004: stitched on read from the webhook
89
+ * event store, the delivery store (via the same last-AI-message
90
+ * extraction the delivery posted — never execution transcripts), and
91
+ * the outbound ledger; internal-lane events join as the fourth source
92
+ * in T03. Authorization is declarative on the channel: conversations
93
+ * carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
94
+ * the trust boundary.
95
+ *
96
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
97
+ */
98
+ getTimeline: {
99
+ methodKind: "unary";
100
+ input: typeof GetConversationTimelineInputSchema;
101
+ output: typeof ConversationTimelineSchema;
102
+ };
103
+ }>;
@@ -0,0 +1,30 @@
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/conversation_query.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_agentic_agentchannel_v1_conversation_io } from "./conversation_io_pb.js";
6
+ import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
7
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/conversation_query.proto.
10
+ */
11
+ export const file_ai_stigmer_agentic_agentchannel_v1_conversation_query = /*@__PURE__*/ fileDesc("CjthaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9xdWVyeS5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MTKABQoiQ2hhbm5lbENvbnZlcnNhdGlvblF1ZXJ5Q29udHJvbGxlchKZAQoRbGlzdENvbnZlcnNhdGlvbnMSQS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkxpc3RDaGFubmVsQ29udmVyc2F0aW9uc0lucHV0GjsuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsQ29udmVyc2F0aW9uTGlzdCIE0LgYARLbAQoPZ2V0Q29udmVyc2F0aW9uEj8uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5HZXRDaGFubmVsQ29udmVyc2F0aW9uSW5wdXQaNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNoYW5uZWxDb252ZXJzYXRpb24iTsK4GEoIARAvIhBhZ2VudF9jaGFubmVsX2lkKjJ1bmF1dGhvcml6ZWQgdG8gdmlldyBjb252ZXJzYXRpb25zIG9uIHRoaXMgY2hhbm5lbBLZAQoLZ2V0VGltZWxpbmUSQC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkdldENvbnZlcnNhdGlvblRpbWVsaW5lSW5wdXQaOC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNvbnZlcnNhdGlvblRpbWVsaW5lIk7CuBhKCAEQLyIQYWdlbnRfY2hhbm5lbF9pZCoydW5hdXRob3JpemVkIHRvIHZpZXcgY29udmVyc2F0aW9ucyBvbiB0aGlzIGNoYW5uZWwaBKD/Ky9iBnByb3RvMw", [file_ai_stigmer_agentic_agentchannel_v1_conversation_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
12
+ /**
13
+ * ChannelConversationQueryController serves the console's conversation
14
+ * reads: the org-wide conversation list and each conversation's
15
+ * customer-visible timeline.
16
+ *
17
+ * @internal
18
+ * channel-conversations DD-003/DD-004: the query sibling of
19
+ * ChannelConversationCommandController, on the runtime surface beside the
20
+ * message_* triple (resource CRUD and runtime traffic never mix).
21
+ * Supersedes SessionQueryController.listByChannel as the console's
22
+ * conversation read (DD-004 D-g); listByChannel remains the session-level
23
+ * forensics read underneath a conversation. Cloud-first runtime: the OSS
24
+ * edition answers queries with empty results (the listMessagingChannels
25
+ * discovery-read posture) — "none" is the honest answer, not an error.
26
+ *
27
+ * @generated from service ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController
28
+ */
29
+ export const ChannelConversationQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_query, 0);
30
+ //# sourceMappingURL=conversation_query_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation_query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+IAA+I;AAC/I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uDAAuD,EAAE,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0DAA0D,GAAY,aAAa,CAC9F,QAAQ,CAAC,w+BAAw+B,EAAE,CAAC,uDAAuD,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAErpC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kCAAkC,GA+E1C,aAAa,CAChB,WAAW,CAAC,0DAA0D,EAAE,CAAC,CAAC,CAAC"}
@@ -133,6 +133,24 @@ export type ChannelDelivery = Message<"ai.stigmer.agentic.agentchannel.v1.Channe
133
133
  * @generated from field: google.protobuf.Timestamp next_attempt_at = 15;
134
134
  */
135
135
  nextAttemptAt?: Timestamp;
136
+ /**
137
+ * The reply text as rendered for the external user, recorded when the
138
+ * delivery reached a terminal status. Empty while pending/delivering, and
139
+ * on rows terminal before this field existed.
140
+ *
141
+ * @internal
142
+ * channel-conversations DD-004 D-c as amended at T02 Sitting 3 (D1-A):
143
+ * the conversation timeline renders agent replies from THIS field, never
144
+ * by re-running ChannelReplyExtractor at read time — the extractor's
145
+ * error/cancelled/limit copy constants change over releases, and a
146
+ * re-derivation would attribute today's words to yesterday's send.
147
+ * Written by the processor on markDelivered AND markFailed (a
148
+ * dead-lettered reply's text is what a human taking over needs to see);
149
+ * deliberately not on markRetry, which is non-terminal and re-extracts.
150
+ *
151
+ * @generated from field: string reply_text = 17;
152
+ */
153
+ replyText: string;
136
154
  };
137
155
  /**
138
156
  * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
@@ -213,7 +231,9 @@ export declare const WhatsAppDeliveryContextSchema: GenMessage<WhatsAppDeliveryC
213
231
  * @internal
214
232
  * pending -> delivering is the atomic claim (single winner across
215
233
  * replicas). delivering -> delivered | pending (retry, with backoff via
216
- * next_attempt_at) | failed (dead-lettered after max attempts).
234
+ * next_attempt_at) | failed (dead-lettered after max attempts) |
235
+ * suppressed (withheld under human control — channel-conversations
236
+ * DD-005 D-e; terminal, intended behavior, never an alert condition).
217
237
  *
218
238
  * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus
219
239
  */
@@ -247,7 +267,21 @@ export declare enum ChannelDeliveryStatus {
247
267
  *
248
268
  * @generated from enum value: failed = 4;
249
269
  */
250
- failed = 4
270
+ failed = 4,
271
+ /**
272
+ * Withheld because a human held the conversation when the reply came
273
+ * due; the customer never received it.
274
+ *
275
+ * @internal
276
+ * channel-conversations DD-005 D-e: terminal like delivered/failed,
277
+ * but intended behavior — a suppressed settle records its own metric
278
+ * and never feeds the bad-turn alert. The reply text is deliberately
279
+ * NOT extracted or persisted (the customer never saw any words, and
280
+ * the timeline's reply lane excludes this status by contract).
281
+ *
282
+ * @generated from enum value: suppressed = 5;
283
+ */
284
+ suppressed = 5
251
285
  }
252
286
  /**
253
287
  * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.