@stigmer/protos 3.5.3 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.d.ts +141 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js +149 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.d.ts +140 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js +34 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +541 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +181 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.d.ts +69 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +76 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.d.ts +70 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js +30 -0
- package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +36 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +18 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +90 -0
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js +16 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +27 -0
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +28 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +27 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +142 -6
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +94 -5
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +25 -0
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +5 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +66 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +81 -14
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.d.ts +210 -0
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js +25 -0
- package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js.map +1 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +17 -0
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +13 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +33 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +27 -0
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +26 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/schedule/v1/api_pb.d.ts +68 -0
- package/ai/stigmer/agentic/schedule/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/schedule/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +189 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.js +197 -0
- package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +187 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +387 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.js +150 -0
- package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +103 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.js +112 -0
- package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +103 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.js +25 -0
- package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +132 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js +16 -0
- package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.d.ts +85 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.js +16 -0
- package/ai/stigmer/agentic/schedule/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +10 -8
- package/ai/stigmer/agentic/session/v1/enum_pb.js +10 -8
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +7 -5
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +123 -104
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +4 -7
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +17 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +31 -2
- package/ai/stigmer/iam/v1/enum_pb.js +30 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +6 -4
- package/ai/stigmer/platform/v1/server_info_connect.js +6 -4
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +53 -4
- package/ai/stigmer/platform/v1/server_info_pb.js +7 -2
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,181 @@
|
|
|
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("CjhhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9pby5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MSLmAwoTQ2hhbm5lbENvbnZlcnNhdGlvbhIYChBhZ2VudF9jaGFubmVsX2lkGAEgASgJEhgKEGNvbnZlcnNhdGlvbl9rZXkYAiABKAkSCwoDb3JnGAMgASgJEkgKB2NvbnRyb2wYBCABKA4yNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNvbnZlcnNhdGlvbkNvbnRyb2wSFQoNY29udHJvbGxlZF9ieRgFIAEoCRI2ChJjb250cm9sX2NoYW5nZWRfYXQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhcKD25lZWRzX2F0dGVudGlvbhgHIAEoCBIYChBhdHRlbnRpb25fcmVh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AEgASgJQgq6SAdyBRABGIAIKmEKE0NvbnZlcnNhdGlvbkNvbnRyb2wSJAogY29udmVyc2F0aW9uX2NvbnRyb2xfdW5zcGVjaWZpZWQQABIRCg1jb250cm9sX2FnZW50EAESEQoNY29udHJvbF9odW1hbhACKlkKEENvbnZlcnNhdGlvbkxhbmUSIQodY29udmVyc2F0aW9uX2xhbmVfdW5zcGVjaWZpZWQQABIPCgtsYW5lX3B1YmxpYxABEhEKDWxhbmVfaW50ZXJuYWwQAiqTAQoWQ29udmVyc2F0aW9uSXRlbUF1dGhvchIoCiRjb252ZXJzYXRpb25faXRlbV9hdXRob3JfdW5zcGVjaWZpZWQQABITCg9hdXRob3JfY3VzdG9tZXIQARIQCgxhdXRob3JfYWdlbnQQAhITCg9hdXRob3JfdGVhbW1hdGUQAxITCg9hdXRob3JfcGxhdGZvcm0QBGIGcHJvdG8z", [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.GetConversationTimelineInput.
|
|
37
|
+
* Use `create(GetConversationTimelineInputSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const GetConversationTimelineInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 4);
|
|
40
|
+
/**
|
|
41
|
+
* Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline.
|
|
42
|
+
* Use `create(ConversationTimelineSchema)` to create a new message.
|
|
43
|
+
*/
|
|
44
|
+
export const ConversationTimelineSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 5);
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput.
|
|
47
|
+
* Use `create(ConversationControlInputSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const ConversationControlInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 6);
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput.
|
|
52
|
+
* Use `create(ReplyToConversationInputSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const ReplyToConversationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 7);
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput.
|
|
57
|
+
* Use `create(EscalateConversationInputSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const EscalateConversationInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 8);
|
|
60
|
+
/**
|
|
61
|
+
* ConversationControl names who may speak to the customer on a
|
|
62
|
+
* conversation's public lane.
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
* channel-conversations DD-002 (lane x control): exactly one holder at a
|
|
66
|
+
* time; transitions are CAS-guarded through the participation writer
|
|
67
|
+
* (DD-007 D-f). Values carry the control_ prefix — proto3 enum values are
|
|
68
|
+
* package-scoped and bare names invite collisions (the receipt_ precedent).
|
|
69
|
+
*
|
|
70
|
+
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationControl
|
|
71
|
+
*/
|
|
72
|
+
export var ConversationControl;
|
|
73
|
+
(function (ConversationControl) {
|
|
74
|
+
/**
|
|
75
|
+
* Default value when no control state is set.
|
|
76
|
+
*
|
|
77
|
+
* @generated from enum value: conversation_control_unspecified = 0;
|
|
78
|
+
*/
|
|
79
|
+
ConversationControl[ConversationControl["conversation_control_unspecified"] = 0] = "conversation_control_unspecified";
|
|
80
|
+
/**
|
|
81
|
+
* The agent serves the conversation (the default for every conversation).
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: control_agent = 1;
|
|
84
|
+
*/
|
|
85
|
+
ConversationControl[ConversationControl["control_agent"] = 1] = "control_agent";
|
|
86
|
+
/**
|
|
87
|
+
* A human holds the conversation; the agent is quiet until handback.
|
|
88
|
+
*
|
|
89
|
+
* @generated from enum value: control_human = 2;
|
|
90
|
+
*/
|
|
91
|
+
ConversationControl[ConversationControl["control_human"] = 2] = "control_human";
|
|
92
|
+
})(ConversationControl || (ConversationControl = {}));
|
|
93
|
+
/**
|
|
94
|
+
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationControl.
|
|
95
|
+
*/
|
|
96
|
+
export const ConversationControlSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 0);
|
|
97
|
+
/**
|
|
98
|
+
* ConversationLane distinguishes customer-visible items from internal ones.
|
|
99
|
+
*
|
|
100
|
+
* @internal
|
|
101
|
+
* channel-conversations DD-002: every timeline item has a lane. lane_internal
|
|
102
|
+
* carries the internal event store's items — escalations and attention clears
|
|
103
|
+
* since T03 Sitting 4, notes when their writer lands (the v1-stretch decision).
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationLane
|
|
106
|
+
*/
|
|
107
|
+
export var ConversationLane;
|
|
108
|
+
(function (ConversationLane) {
|
|
109
|
+
/**
|
|
110
|
+
* Default value when no lane is set.
|
|
111
|
+
*
|
|
112
|
+
* @generated from enum value: conversation_lane_unspecified = 0;
|
|
113
|
+
*/
|
|
114
|
+
ConversationLane[ConversationLane["conversation_lane_unspecified"] = 0] = "conversation_lane_unspecified";
|
|
115
|
+
/**
|
|
116
|
+
* The customer sees this item (their message, a delivered reply, a send).
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: lane_public = 1;
|
|
119
|
+
*/
|
|
120
|
+
ConversationLane[ConversationLane["lane_public"] = 1] = "lane_public";
|
|
121
|
+
/**
|
|
122
|
+
* Org-internal item (escalations, notes); the customer never sees it.
|
|
123
|
+
*
|
|
124
|
+
* @generated from enum value: lane_internal = 2;
|
|
125
|
+
*/
|
|
126
|
+
ConversationLane[ConversationLane["lane_internal"] = 2] = "lane_internal";
|
|
127
|
+
})(ConversationLane || (ConversationLane = {}));
|
|
128
|
+
/**
|
|
129
|
+
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationLane.
|
|
130
|
+
*/
|
|
131
|
+
export const ConversationLaneSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 1);
|
|
132
|
+
/**
|
|
133
|
+
* ConversationItemAuthor names who authored a timeline item.
|
|
134
|
+
*
|
|
135
|
+
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor
|
|
136
|
+
*/
|
|
137
|
+
export var ConversationItemAuthor;
|
|
138
|
+
(function (ConversationItemAuthor) {
|
|
139
|
+
/**
|
|
140
|
+
* Default value when no author is set.
|
|
141
|
+
*
|
|
142
|
+
* @generated from enum value: conversation_item_author_unspecified = 0;
|
|
143
|
+
*/
|
|
144
|
+
ConversationItemAuthor[ConversationItemAuthor["conversation_item_author_unspecified"] = 0] = "conversation_item_author_unspecified";
|
|
145
|
+
/**
|
|
146
|
+
* The external customer.
|
|
147
|
+
*
|
|
148
|
+
* @generated from enum value: author_customer = 1;
|
|
149
|
+
*/
|
|
150
|
+
ConversationItemAuthor[ConversationItemAuthor["author_customer"] = 1] = "author_customer";
|
|
151
|
+
/**
|
|
152
|
+
* The serving agent.
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum value: author_agent = 2;
|
|
155
|
+
*/
|
|
156
|
+
ConversationItemAuthor[ConversationItemAuthor["author_agent"] = 2] = "author_agent";
|
|
157
|
+
/**
|
|
158
|
+
* An org human replying as the business.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: author_teammate = 3;
|
|
161
|
+
*/
|
|
162
|
+
ConversationItemAuthor[ConversationItemAuthor["author_teammate"] = 3] = "author_teammate";
|
|
163
|
+
/**
|
|
164
|
+
* Platform-authored conversation copy (e.g. the takeover
|
|
165
|
+
* acknowledgment), neither the agent's words nor a teammate's.
|
|
166
|
+
*
|
|
167
|
+
* @internal
|
|
168
|
+
* channel-conversations DD-005 D-d: acknowledgment rows carry the
|
|
169
|
+
* platform outbound origin (lands in T03); rendering them as the agent
|
|
170
|
+
* would be a lie. The value exists from day one so the item vocabulary
|
|
171
|
+
* never needs a patch when the first platform row appears.
|
|
172
|
+
*
|
|
173
|
+
* @generated from enum value: author_platform = 4;
|
|
174
|
+
*/
|
|
175
|
+
ConversationItemAuthor[ConversationItemAuthor["author_platform"] = 4] = "author_platform";
|
|
176
|
+
})(ConversationItemAuthor || (ConversationItemAuthor = {}));
|
|
177
|
+
/**
|
|
178
|
+
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor.
|
|
179
|
+
*/
|
|
180
|
+
export const ConversationItemAuthorSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_conversation_io, 2);
|
|
181
|
+
//# 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;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,gDAAgD,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EAAE,kDAAkD,EAAE,MAAM,oBAAoB,CAAC;AAExF,OAAO,EAAE,gDAAgD,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAY,aAAa,CAC3F,QAAQ,CAAC,0kGAA0kG,EAAE,CAAC,gDAAgD,EAAE,kDAAkD,EAAE,gDAAgD,EAAE,sCAAsC,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAuHr1G;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,uDAAuD,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AC,uDAAuD,EAAE,CAAC,CAAC,CAAC;AAEvE;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,gBAqBX;AArBD,WAAY,gBAAgB;IAC1B;;;;OAIG;IACH,yGAAiC,CAAA;IAEjC;;;;OAIG;IACH,qEAAe,CAAA;IAEf;;;;OAIG;IACH,yEAAiB,CAAA;AACnB,CAAC,EArBW,gBAAgB,KAAhB,gBAAgB,QAqB3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,uDAAuD,EAAE,CAAC,CAAC,CAAC;AAEvE;;;;GAIG;AACH,MAAM,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"}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 timeline, newest first, cursor-paged.
|
|
45
|
+
*
|
|
46
|
+
* The timeline contains customer-visible items only: inbound customer
|
|
47
|
+
* messages (including non-text kinds the platform cannot render),
|
|
48
|
+
* delivered agent replies, and operator or platform sends. Execution
|
|
49
|
+
* internals never appear.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
* channel-conversations DD-004: stitched on read from the webhook
|
|
53
|
+
* event store, the delivery store (via the same last-AI-message
|
|
54
|
+
* extraction the delivery posted — never execution transcripts), and
|
|
55
|
+
* the outbound ledger; internal-lane events join as the fourth source
|
|
56
|
+
* in T03. Authorization is declarative on the channel: conversations
|
|
57
|
+
* carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
|
|
58
|
+
* the trust boundary.
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
|
|
61
|
+
*/
|
|
62
|
+
readonly getTimeline: {
|
|
63
|
+
readonly name: "getTimeline";
|
|
64
|
+
readonly I: any;
|
|
65
|
+
readonly O: any;
|
|
66
|
+
readonly kind: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { ChannelConversationList, ConversationTimeline, 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 timeline, newest first, cursor-paged.
|
|
51
|
+
*
|
|
52
|
+
* The timeline contains customer-visible items only: inbound customer
|
|
53
|
+
* messages (including non-text kinds the platform cannot render),
|
|
54
|
+
* delivered agent replies, and operator or platform sends. Execution
|
|
55
|
+
* internals never appear.
|
|
56
|
+
*
|
|
57
|
+
* @internal
|
|
58
|
+
* channel-conversations DD-004: stitched on read from the webhook
|
|
59
|
+
* event store, the delivery store (via the same last-AI-message
|
|
60
|
+
* extraction the delivery posted — never execution transcripts), and
|
|
61
|
+
* the outbound ledger; internal-lane events join as the fourth source
|
|
62
|
+
* in T03. Authorization is declarative on the channel: conversations
|
|
63
|
+
* carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
|
|
64
|
+
* the trust boundary.
|
|
65
|
+
*
|
|
66
|
+
* @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
|
|
67
|
+
*/
|
|
68
|
+
getTimeline: {
|
|
69
|
+
name: "getTimeline",
|
|
70
|
+
I: GetConversationTimelineInput,
|
|
71
|
+
O: ConversationTimeline,
|
|
72
|
+
kind: MethodKind.Unary,
|
|
73
|
+
},
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
//# 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,uBAAuB,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AACpJ,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;;;;;;;;;;;;;;;;;;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,70 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { ChannelConversationListSchema, ConversationTimelineSchema, 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 timeline, newest first, cursor-paged.
|
|
48
|
+
*
|
|
49
|
+
* The timeline contains customer-visible items only: inbound customer
|
|
50
|
+
* messages (including non-text kinds the platform cannot render),
|
|
51
|
+
* delivered agent replies, and operator or platform sends. Execution
|
|
52
|
+
* internals never appear.
|
|
53
|
+
*
|
|
54
|
+
* @internal
|
|
55
|
+
* channel-conversations DD-004: stitched on read from the webhook
|
|
56
|
+
* event store, the delivery store (via the same last-AI-message
|
|
57
|
+
* extraction the delivery posted — never execution transcripts), and
|
|
58
|
+
* the outbound ledger; internal-lane events join as the fourth source
|
|
59
|
+
* in T03. Authorization is declarative on the channel: conversations
|
|
60
|
+
* carry no per-conversation FGA tuples (DD-003 D-a) — the channel is
|
|
61
|
+
* the trust boundary.
|
|
62
|
+
*
|
|
63
|
+
* @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelConversationQueryController.getTimeline
|
|
64
|
+
*/
|
|
65
|
+
getTimeline: {
|
|
66
|
+
methodKind: "unary";
|
|
67
|
+
input: typeof GetConversationTimelineInputSchema;
|
|
68
|
+
output: typeof ConversationTimelineSchema;
|
|
69
|
+
};
|
|
70
|
+
}>;
|
|
@@ -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("CjthaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9xdWVyeS5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MTKiAwoiQ2hhbm5lbENvbnZlcnNhdGlvblF1ZXJ5Q29udHJvbGxlchKZAQoRbGlzdENvbnZlcnNhdGlvbnMSQS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkxpc3RDaGFubmVsQ29udmVyc2F0aW9uc0lucHV0GjsuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsQ29udmVyc2F0aW9uTGlzdCIE0LgYARLZAQoLZ2V0VGltZWxpbmUSQC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkdldENvbnZlcnNhdGlvblRpbWVsaW5lSW5wdXQaOC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNvbnZlcnNhdGlvblRpbWVsaW5lIk7CuBhKCAEQLyIQYWdlbnRfY2hhbm5lbF9pZCoydW5hdXRob3JpemVkIHRvIHZpZXcgY29udmVyc2F0aW9ucyBvbiB0aGlzIGNoYW5uZWwaBKD/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,gsBAAgsB,EAAE,CAAC,uDAAuD,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE72B;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,kCAAkC,GA8C1C,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.
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file ai/stigmer/agentic/agentchannel/v1/delivery.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_ai_stigmer_agentic_agentchannel_v1_delivery = /*@__PUR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RlbGl2ZXJ5Q29udGV4dBISCgpjaGFubmVsX2lkGAEgASgJEhEKCXRocmVhZF90cxgCIAEoCRIWCg5wbGFjZWhvbGRlcl90cxgDIAEoCSJLChdXaGF0c0FwcERlbGl2ZXJ5Q29udGV4dBIXCg9waG9uZV9udW1iZXJfaWQYASABKAkSFwoPcmVjaXBpZW50X3dhX2lkGAIgASgJKogBChVDaGFubmVsRGVsaXZlcnlTdGF0dXMSJwojY2hhbm5lbF9kZWxpdmVyeV9zdGF0dXNfdW5zcGVjaWZpZWQQABILCgdwZW5kaW5nEAESDgoKZGVsaXZlcmluZxACEg0KCWRlbGl2ZXJlZBADEgoKBmZhaWxlZBAEEg4KCnN1cHByZXNzZWQQBWIGcHJvdG8z", [file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
|
|
12
12
|
* Use `create(ChannelDeliverySchema)` to create a new message.
|
|
@@ -28,7 +28,9 @@ export const WhatsAppDeliveryContextSchema = /*@__PURE__*/ messageDesc(file_ai_s
|
|
|
28
28
|
* @internal
|
|
29
29
|
* pending -> delivering is the atomic claim (single winner across
|
|
30
30
|
* replicas). delivering -> delivered | pending (retry, with backoff via
|
|
31
|
-
* next_attempt_at) | failed (dead-lettered after max attempts)
|
|
31
|
+
* next_attempt_at) | failed (dead-lettered after max attempts) |
|
|
32
|
+
* suppressed (withheld under human control — channel-conversations
|
|
33
|
+
* DD-005 D-e; terminal, intended behavior, never an alert condition).
|
|
32
34
|
*
|
|
33
35
|
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus
|
|
34
36
|
*/
|
|
@@ -64,6 +66,20 @@ export var ChannelDeliveryStatus;
|
|
|
64
66
|
* @generated from enum value: failed = 4;
|
|
65
67
|
*/
|
|
66
68
|
ChannelDeliveryStatus[ChannelDeliveryStatus["failed"] = 4] = "failed";
|
|
69
|
+
/**
|
|
70
|
+
* Withheld because a human held the conversation when the reply came
|
|
71
|
+
* due; the customer never received it.
|
|
72
|
+
*
|
|
73
|
+
* @internal
|
|
74
|
+
* channel-conversations DD-005 D-e: terminal like delivered/failed,
|
|
75
|
+
* but intended behavior — a suppressed settle records its own metric
|
|
76
|
+
* and never feeds the bad-turn alert. The reply text is deliberately
|
|
77
|
+
* NOT extracted or persisted (the customer never saw any words, and
|
|
78
|
+
* the timeline's reply lane excludes this status by contract).
|
|
79
|
+
*
|
|
80
|
+
* @generated from enum value: suppressed = 5;
|
|
81
|
+
*/
|
|
82
|
+
ChannelDeliveryStatus[ChannelDeliveryStatus["suppressed"] = 5] = "suppressed";
|
|
67
83
|
})(ChannelDeliveryStatus || (ChannelDeliveryStatus = {}));
|
|
68
84
|
/**
|
|
69
85
|
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.
|
|
@@ -1 +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,
|
|
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,gDA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