@evalops/sdk-ts 0.1.14 → 0.1.65

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.
@@ -57,6 +57,268 @@ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelConte
57
57
  * Use `create(RuntimeChannelContextSchema)` to create a new message.
58
58
  */
59
59
  export declare const RuntimeChannelContextSchema: GenMessage<RuntimeChannelContext>;
60
+ /**
61
+ * RuntimeWorkEnvelope identifies the durable work object that groups related
62
+ * normalized triggers. For Slack this is usually a conversation thread; future
63
+ * adapters can map email threads, Jira tickets, calendar events, and Teams
64
+ * threads into the same runtime primitive.
65
+ *
66
+ * @generated from message agentruntime.v1.RuntimeWorkEnvelope
67
+ */
68
+ export type RuntimeWorkEnvelope = Message<"agentruntime.v1.RuntimeWorkEnvelope"> & {
69
+ /**
70
+ * @generated from field: string id = 1;
71
+ */
72
+ id: string;
73
+ /**
74
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelopeKind kind = 2;
75
+ */
76
+ kind: RuntimeWorkEnvelopeKind;
77
+ /**
78
+ * @generated from field: string root_id = 3;
79
+ */
80
+ rootId: string;
81
+ /**
82
+ * @generated from field: string parent_id = 4;
83
+ */
84
+ parentId: string;
85
+ /**
86
+ * @generated from field: map<string, string> attributes = 5;
87
+ */
88
+ attributes: {
89
+ [key: string]: string;
90
+ };
91
+ };
92
+ /**
93
+ * Describes the message agentruntime.v1.RuntimeWorkEnvelope.
94
+ * Use `create(RuntimeWorkEnvelopeSchema)` to create a new message.
95
+ */
96
+ export declare const RuntimeWorkEnvelopeSchema: GenMessage<RuntimeWorkEnvelope>;
97
+ /**
98
+ * RuntimeRedaction records one projected field or payload category that has
99
+ * been redacted for channel/user display.
100
+ *
101
+ * @generated from message agentruntime.v1.RuntimeRedaction
102
+ */
103
+ export type RuntimeRedaction = Message<"agentruntime.v1.RuntimeRedaction"> & {
104
+ /**
105
+ * @generated from field: agentruntime.v1.RuntimeRedactionKind kind = 1;
106
+ */
107
+ kind: RuntimeRedactionKind;
108
+ /**
109
+ * @generated from field: string field_path = 2;
110
+ */
111
+ fieldPath: string;
112
+ /**
113
+ * @generated from field: string replacement = 3;
114
+ */
115
+ replacement: string;
116
+ /**
117
+ * @generated from field: string reason = 4;
118
+ */
119
+ reason: string;
120
+ };
121
+ /**
122
+ * Describes the message agentruntime.v1.RuntimeRedaction.
123
+ * Use `create(RuntimeRedactionSchema)` to create a new message.
124
+ */
125
+ export declare const RuntimeRedactionSchema: GenMessage<RuntimeRedaction>;
126
+ /**
127
+ * RuntimeVisibilityMetadata carries the projection policy for runtime events
128
+ * and waits. Safe summaries are required when visibility is user/channel
129
+ * visible so clients never need to render raw internal payloads.
130
+ *
131
+ * @generated from message agentruntime.v1.RuntimeVisibilityMetadata
132
+ */
133
+ export type RuntimeVisibilityMetadata = Message<"agentruntime.v1.RuntimeVisibilityMetadata"> & {
134
+ /**
135
+ * @generated from field: agentruntime.v1.RuntimeVisibilityLevel level = 1;
136
+ */
137
+ level: RuntimeVisibilityLevel;
138
+ /**
139
+ * @generated from field: repeated agentruntime.v1.RuntimeAudience audiences = 2;
140
+ */
141
+ audiences: RuntimeAudience[];
142
+ /**
143
+ * @generated from field: agentruntime.v1.RuntimeSensitivity sensitivity = 3;
144
+ */
145
+ sensitivity: RuntimeSensitivity;
146
+ /**
147
+ * @generated from field: string safe_summary = 4;
148
+ */
149
+ safeSummary: string;
150
+ /**
151
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 5;
152
+ */
153
+ redactions: RuntimeRedaction[];
154
+ /**
155
+ * @generated from field: map<string, string> attributes = 6;
156
+ */
157
+ attributes: {
158
+ [key: string]: string;
159
+ };
160
+ };
161
+ /**
162
+ * Describes the message agentruntime.v1.RuntimeVisibilityMetadata.
163
+ * Use `create(RuntimeVisibilityMetadataSchema)` to create a new message.
164
+ */
165
+ export declare const RuntimeVisibilityMetadataSchema: GenMessage<RuntimeVisibilityMetadata>;
166
+ /**
167
+ * ChannelActionActor captures the channel coordinates and resolved platform
168
+ * identity for the actor who submitted an action.
169
+ *
170
+ * @generated from message agentruntime.v1.ChannelActionActor
171
+ */
172
+ export type ChannelActionActor = Message<"agentruntime.v1.ChannelActionActor"> & {
173
+ /**
174
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 1;
175
+ */
176
+ channelKind: RuntimeChannelKind;
177
+ /**
178
+ * @generated from field: string provider_workspace_id = 2;
179
+ */
180
+ providerWorkspaceId: string;
181
+ /**
182
+ * @generated from field: string channel_id = 3;
183
+ */
184
+ channelId: string;
185
+ /**
186
+ * @generated from field: string thread_id = 4;
187
+ */
188
+ threadId: string;
189
+ /**
190
+ * @generated from field: string message_id = 5;
191
+ */
192
+ messageId: string;
193
+ /**
194
+ * @generated from field: string action_id = 6;
195
+ */
196
+ actionId: string;
197
+ /**
198
+ * @generated from field: string callback_id = 7;
199
+ */
200
+ callbackId: string;
201
+ /**
202
+ * @generated from field: string actor_channel_id = 8;
203
+ */
204
+ actorChannelId: string;
205
+ /**
206
+ * @generated from field: string actor_entity_id = 9;
207
+ */
208
+ actorEntityId: string;
209
+ /**
210
+ * @generated from field: string principal_id = 10;
211
+ */
212
+ principalId: string;
213
+ /**
214
+ * @generated from field: map<string, string> attributes = 11;
215
+ */
216
+ attributes: {
217
+ [key: string]: string;
218
+ };
219
+ };
220
+ /**
221
+ * Describes the message agentruntime.v1.ChannelActionActor.
222
+ * Use `create(ChannelActionActorSchema)` to create a new message.
223
+ */
224
+ export declare const ChannelActionActorSchema: GenMessage<ChannelActionActor>;
225
+ /**
226
+ * ChannelActionReceipt is the durable audit and idempotency record for a
227
+ * user-visible action submitted through a channel adapter.
228
+ *
229
+ * @generated from message agentruntime.v1.ChannelActionReceipt
230
+ */
231
+ export type ChannelActionReceipt = Message<"agentruntime.v1.ChannelActionReceipt"> & {
232
+ /**
233
+ * @generated from field: string id = 1;
234
+ */
235
+ id: string;
236
+ /**
237
+ * @generated from field: string workspace_id = 2;
238
+ */
239
+ workspaceId: string;
240
+ /**
241
+ * @generated from field: string idempotency_key = 3;
242
+ */
243
+ idempotencyKey: string;
244
+ /**
245
+ * @generated from field: string request_hash = 4;
246
+ */
247
+ requestHash: string;
248
+ /**
249
+ * @generated from field: common.v1.Surface surface_type = 5;
250
+ */
251
+ surfaceType: Surface;
252
+ /**
253
+ * @generated from field: agentruntime.v1.ChannelActionKind action_kind = 6;
254
+ */
255
+ actionKind: ChannelActionKind;
256
+ /**
257
+ * @generated from field: agentruntime.v1.ChannelActionTargetKind target_kind = 7;
258
+ */
259
+ targetKind: ChannelActionTargetKind;
260
+ /**
261
+ * @generated from field: string target_id = 8;
262
+ */
263
+ targetId: string;
264
+ /**
265
+ * @generated from field: string run_id = 9;
266
+ */
267
+ runId: string;
268
+ /**
269
+ * @generated from field: string wait_id = 10;
270
+ */
271
+ waitId: string;
272
+ /**
273
+ * @generated from field: string approval_request_id = 11;
274
+ */
275
+ approvalRequestId: string;
276
+ /**
277
+ * @generated from field: string objective_id = 12;
278
+ */
279
+ objectiveId: string;
280
+ /**
281
+ * @generated from field: agentruntime.v1.ChannelActionActor actor = 13;
282
+ */
283
+ actor?: ChannelActionActor | undefined;
284
+ /**
285
+ * @generated from field: google.protobuf.Struct payload = 14;
286
+ */
287
+ payload?: JsonObject | undefined;
288
+ /**
289
+ * @generated from field: agentruntime.v1.ChannelActionAuthorizationOutcome authorization_outcome = 15;
290
+ */
291
+ authorizationOutcome: ChannelActionAuthorizationOutcome;
292
+ /**
293
+ * @generated from field: agentruntime.v1.ChannelActionExecutionOutcome execution_outcome = 16;
294
+ */
295
+ executionOutcome: ChannelActionExecutionOutcome;
296
+ /**
297
+ * @generated from field: agentruntime.v1.ChannelActionDeliveryOutcome delivery_outcome = 17;
298
+ */
299
+ deliveryOutcome: ChannelActionDeliveryOutcome;
300
+ /**
301
+ * @generated from field: string reason = 18;
302
+ */
303
+ reason: string;
304
+ /**
305
+ * @generated from field: string error_reason = 19;
306
+ */
307
+ errorReason: string;
308
+ /**
309
+ * @generated from field: google.protobuf.Timestamp created_at = 20;
310
+ */
311
+ createdAt?: Timestamp | undefined;
312
+ /**
313
+ * @generated from field: google.protobuf.Timestamp updated_at = 21;
314
+ */
315
+ updatedAt?: Timestamp | undefined;
316
+ };
317
+ /**
318
+ * Describes the message agentruntime.v1.ChannelActionReceipt.
319
+ * Use `create(ChannelActionReceiptSchema)` to create a new message.
320
+ */
321
+ export declare const ChannelActionReceiptSchema: GenMessage<ChannelActionReceipt>;
60
322
  /**
61
323
  * NormalizedTrigger is the source-neutral trigger contract. Surface is an enum
62
324
  * so product callers share one durable taxonomy across Slack, Ensemble, Chat,
@@ -128,6 +390,10 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
128
390
  * @generated from field: agentruntime.v1.RuntimeTriggerKind trigger_kind = 14;
129
391
  */
130
392
  triggerKind: RuntimeTriggerKind;
393
+ /**
394
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 15;
395
+ */
396
+ workEnvelope?: RuntimeWorkEnvelope | undefined;
131
397
  };
132
398
  /**
133
399
  * Describes the message agentruntime.v1.NormalizedTrigger.
@@ -569,6 +835,10 @@ export type AgentRunWait = Message<"agentruntime.v1.AgentRunWait"> & {
569
835
  * @generated from field: string resolved_by_event_id = 15;
570
836
  */
571
837
  resolvedByEventId: string;
838
+ /**
839
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 16;
840
+ */
841
+ visibility?: RuntimeVisibilityMetadata | undefined;
572
842
  };
573
843
  /**
574
844
  * Describes the message agentruntime.v1.AgentRunWait.
@@ -779,6 +1049,10 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
779
1049
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 16;
780
1050
  */
781
1051
  linkage?: AgentRunLinkage | undefined;
1052
+ /**
1053
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
1054
+ */
1055
+ visibility?: RuntimeVisibilityMetadata | undefined;
782
1056
  };
783
1057
  /**
784
1058
  * Describes the message agentruntime.v1.RuntimeEvent.
@@ -1458,124 +1732,466 @@ export type GetRunResponse = Message<"agentruntime.v1.GetRunResponse"> & {
1458
1732
  */
1459
1733
  export declare const GetRunResponseSchema: GenMessage<GetRunResponse>;
1460
1734
  /**
1461
- * @generated from message agentruntime.v1.ListRunEventsRequest
1735
+ * @generated from message agentruntime.v1.ListRunsByWorkEnvelopeRequest
1462
1736
  */
1463
- export type ListRunEventsRequest = Message<"agentruntime.v1.ListRunEventsRequest"> & {
1737
+ export type ListRunsByWorkEnvelopeRequest = Message<"agentruntime.v1.ListRunsByWorkEnvelopeRequest"> & {
1464
1738
  /**
1465
- * @generated from field: string run_id = 1;
1739
+ * @generated from field: string workspace_id = 1;
1466
1740
  */
1467
- runId: string;
1741
+ workspaceId: string;
1742
+ /**
1743
+ * @generated from field: string work_envelope_id = 2;
1744
+ */
1745
+ workEnvelopeId: string;
1746
+ /**
1747
+ * @generated from field: int32 limit = 3;
1748
+ */
1749
+ limit: number;
1468
1750
  };
1469
1751
  /**
1470
- * Describes the message agentruntime.v1.ListRunEventsRequest.
1471
- * Use `create(ListRunEventsRequestSchema)` to create a new message.
1752
+ * Describes the message agentruntime.v1.ListRunsByWorkEnvelopeRequest.
1753
+ * Use `create(ListRunsByWorkEnvelopeRequestSchema)` to create a new message.
1472
1754
  */
1473
- export declare const ListRunEventsRequestSchema: GenMessage<ListRunEventsRequest>;
1755
+ export declare const ListRunsByWorkEnvelopeRequestSchema: GenMessage<ListRunsByWorkEnvelopeRequest>;
1474
1756
  /**
1475
- * @generated from message agentruntime.v1.ListRunEventsResponse
1757
+ * @generated from message agentruntime.v1.ListRunsByWorkEnvelopeResponse
1476
1758
  */
1477
- export type ListRunEventsResponse = Message<"agentruntime.v1.ListRunEventsResponse"> & {
1759
+ export type ListRunsByWorkEnvelopeResponse = Message<"agentruntime.v1.ListRunsByWorkEnvelopeResponse"> & {
1478
1760
  /**
1479
- * @generated from field: repeated agentruntime.v1.RuntimeEvent events = 1;
1761
+ * @generated from field: repeated agentruntime.v1.AgentRun runs = 1;
1480
1762
  */
1481
- events: RuntimeEvent[];
1763
+ runs: AgentRun[];
1482
1764
  };
1483
1765
  /**
1484
- * Describes the message agentruntime.v1.ListRunEventsResponse.
1485
- * Use `create(ListRunEventsResponseSchema)` to create a new message.
1766
+ * Describes the message agentruntime.v1.ListRunsByWorkEnvelopeResponse.
1767
+ * Use `create(ListRunsByWorkEnvelopeResponseSchema)` to create a new message.
1486
1768
  */
1487
- export declare const ListRunEventsResponseSchema: GenMessage<ListRunEventsResponse>;
1769
+ export declare const ListRunsByWorkEnvelopeResponseSchema: GenMessage<ListRunsByWorkEnvelopeResponse>;
1488
1770
  /**
1489
- * AgentRunState describes the runtime lifecycle of one durable attempt.
1490
- *
1491
- * @generated from enum agentruntime.v1.AgentRunState
1771
+ * @generated from message agentruntime.v1.ListRunWaitsRequest
1492
1772
  */
1493
- export declare enum AgentRunState {
1773
+ export type ListRunWaitsRequest = Message<"agentruntime.v1.ListRunWaitsRequest"> & {
1494
1774
  /**
1495
- * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
1775
+ * @generated from field: string workspace_id = 1;
1496
1776
  */
1497
- UNSPECIFIED = 0,
1777
+ workspaceId: string;
1498
1778
  /**
1499
- * @generated from enum value: AGENT_RUN_STATE_ACCEPTED = 1;
1779
+ * @generated from field: string run_id = 2;
1500
1780
  */
1501
- ACCEPTED = 1,
1781
+ runId: string;
1502
1782
  /**
1503
- * @generated from enum value: AGENT_RUN_STATE_QUEUED = 2;
1783
+ * @generated from field: string agent_id = 3;
1504
1784
  */
1505
- QUEUED = 2,
1785
+ agentId: string;
1506
1786
  /**
1507
- * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
1787
+ * @generated from field: string objective_id = 4;
1508
1788
  */
1509
- RUNNING = 3,
1789
+ objectiveId: string;
1510
1790
  /**
1511
- * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
1791
+ * @generated from field: string work_envelope_id = 5;
1512
1792
  */
1513
- WAITING = 4,
1793
+ workEnvelopeId: string;
1514
1794
  /**
1515
- * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
1795
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 6;
1516
1796
  */
1517
- SUCCEEDED = 5,
1797
+ state: AgentRunWaitState;
1518
1798
  /**
1519
- * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
1799
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
1520
1800
  */
1521
- FAILED = 6,
1801
+ type: AgentRunWaitType;
1522
1802
  /**
1523
- * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
1803
+ * @generated from field: agentruntime.v1.RuntimeAudience audience = 8;
1524
1804
  */
1525
- CANCELLED = 7,
1805
+ audience: RuntimeAudience;
1526
1806
  /**
1527
- * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
1807
+ * @generated from field: int32 limit = 9;
1528
1808
  */
1529
- RETRYING = 8,
1809
+ limit: number;
1530
1810
  /**
1531
- * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
1811
+ * @generated from field: string page_token = 10;
1532
1812
  */
1533
- DEAD_LETTERED = 9
1534
- }
1813
+ pageToken: string;
1814
+ };
1535
1815
  /**
1536
- * Describes the enum agentruntime.v1.AgentRunState.
1816
+ * Describes the message agentruntime.v1.ListRunWaitsRequest.
1817
+ * Use `create(ListRunWaitsRequestSchema)` to create a new message.
1537
1818
  */
1538
- export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
1819
+ export declare const ListRunWaitsRequestSchema: GenMessage<ListRunWaitsRequest>;
1539
1820
  /**
1540
- * AgentRunStepState describes progress for a single durable step record.
1541
- *
1542
- * @generated from enum agentruntime.v1.AgentRunStepState
1821
+ * @generated from message agentruntime.v1.AgentRunWaitSummary
1543
1822
  */
1544
- export declare enum AgentRunStepState {
1823
+ export type AgentRunWaitSummary = Message<"agentruntime.v1.AgentRunWaitSummary"> & {
1545
1824
  /**
1546
- * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
1825
+ * @generated from field: string run_id = 1;
1547
1826
  */
1548
- UNSPECIFIED = 0,
1827
+ runId: string;
1549
1828
  /**
1550
- * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
1829
+ * @generated from field: string wait_id = 2;
1551
1830
  */
1552
- PENDING = 1,
1831
+ waitId: string;
1553
1832
  /**
1554
- * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
1833
+ * @generated from field: string workspace_id = 3;
1555
1834
  */
1556
- RUNNING = 2,
1835
+ workspaceId: string;
1557
1836
  /**
1558
- * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
1837
+ * @generated from field: string agent_id = 4;
1559
1838
  */
1560
- WAITING = 3,
1839
+ agentId: string;
1561
1840
  /**
1562
- * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
1841
+ * @generated from field: string objective_id = 5;
1563
1842
  */
1564
- SUCCEEDED = 4,
1843
+ objectiveId: string;
1565
1844
  /**
1566
- * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
1845
+ * @generated from field: string step_id = 6;
1567
1846
  */
1568
- FAILED = 5,
1847
+ stepId: string;
1569
1848
  /**
1570
- * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
1849
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
1571
1850
  */
1572
- CANCELLED = 6,
1851
+ type: AgentRunWaitType;
1573
1852
  /**
1574
- * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
1853
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 8;
1575
1854
  */
1576
- SKIPPED = 7
1577
- }
1578
- /**
1855
+ state: AgentRunWaitState;
1856
+ /**
1857
+ * @generated from field: string external_ref = 9;
1858
+ */
1859
+ externalRef: string;
1860
+ /**
1861
+ * @generated from field: string reason = 10;
1862
+ */
1863
+ reason: string;
1864
+ /**
1865
+ * @generated from field: google.protobuf.Struct payload = 11;
1866
+ */
1867
+ payload?: JsonObject | undefined;
1868
+ /**
1869
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
1870
+ */
1871
+ createdAt?: Timestamp | undefined;
1872
+ /**
1873
+ * @generated from field: google.protobuf.Timestamp resume_after = 13;
1874
+ */
1875
+ resumeAfter?: Timestamp | undefined;
1876
+ /**
1877
+ * @generated from field: google.protobuf.Timestamp expires_at = 14;
1878
+ */
1879
+ expiresAt?: Timestamp | undefined;
1880
+ /**
1881
+ * @generated from field: google.protobuf.Timestamp resolved_at = 15;
1882
+ */
1883
+ resolvedAt?: Timestamp | undefined;
1884
+ /**
1885
+ * @generated from field: string resolved_by_event_id = 16;
1886
+ */
1887
+ resolvedByEventId: string;
1888
+ /**
1889
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
1890
+ */
1891
+ visibility?: RuntimeVisibilityMetadata | undefined;
1892
+ /**
1893
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 18;
1894
+ */
1895
+ channelContext?: RuntimeChannelContext | undefined;
1896
+ /**
1897
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 19;
1898
+ */
1899
+ workEnvelope?: RuntimeWorkEnvelope | undefined;
1900
+ };
1901
+ /**
1902
+ * Describes the message agentruntime.v1.AgentRunWaitSummary.
1903
+ * Use `create(AgentRunWaitSummarySchema)` to create a new message.
1904
+ */
1905
+ export declare const AgentRunWaitSummarySchema: GenMessage<AgentRunWaitSummary>;
1906
+ /**
1907
+ * @generated from message agentruntime.v1.ListRunWaitsResponse
1908
+ */
1909
+ export type ListRunWaitsResponse = Message<"agentruntime.v1.ListRunWaitsResponse"> & {
1910
+ /**
1911
+ * @generated from field: repeated agentruntime.v1.AgentRunWaitSummary waits = 1;
1912
+ */
1913
+ waits: AgentRunWaitSummary[];
1914
+ /**
1915
+ * @generated from field: string next_page_token = 2;
1916
+ */
1917
+ nextPageToken: string;
1918
+ };
1919
+ /**
1920
+ * Describes the message agentruntime.v1.ListRunWaitsResponse.
1921
+ * Use `create(ListRunWaitsResponseSchema)` to create a new message.
1922
+ */
1923
+ export declare const ListRunWaitsResponseSchema: GenMessage<ListRunWaitsResponse>;
1924
+ /**
1925
+ * @generated from message agentruntime.v1.RecordChannelActionReceiptRequest
1926
+ */
1927
+ export type RecordChannelActionReceiptRequest = Message<"agentruntime.v1.RecordChannelActionReceiptRequest"> & {
1928
+ /**
1929
+ * @generated from field: agentruntime.v1.ChannelActionReceipt receipt = 1;
1930
+ */
1931
+ receipt?: ChannelActionReceipt | undefined;
1932
+ };
1933
+ /**
1934
+ * Describes the message agentruntime.v1.RecordChannelActionReceiptRequest.
1935
+ * Use `create(RecordChannelActionReceiptRequestSchema)` to create a new message.
1936
+ */
1937
+ export declare const RecordChannelActionReceiptRequestSchema: GenMessage<RecordChannelActionReceiptRequest>;
1938
+ /**
1939
+ * @generated from message agentruntime.v1.RecordChannelActionReceiptResponse
1940
+ */
1941
+ export type RecordChannelActionReceiptResponse = Message<"agentruntime.v1.RecordChannelActionReceiptResponse"> & {
1942
+ /**
1943
+ * @generated from field: agentruntime.v1.ChannelActionReceipt receipt = 1;
1944
+ */
1945
+ receipt?: ChannelActionReceipt | undefined;
1946
+ /**
1947
+ * @generated from field: bool idempotent_replay = 2;
1948
+ */
1949
+ idempotentReplay: boolean;
1950
+ };
1951
+ /**
1952
+ * Describes the message agentruntime.v1.RecordChannelActionReceiptResponse.
1953
+ * Use `create(RecordChannelActionReceiptResponseSchema)` to create a new message.
1954
+ */
1955
+ export declare const RecordChannelActionReceiptResponseSchema: GenMessage<RecordChannelActionReceiptResponse>;
1956
+ /**
1957
+ * @generated from message agentruntime.v1.GetChannelActionReceiptRequest
1958
+ */
1959
+ export type GetChannelActionReceiptRequest = Message<"agentruntime.v1.GetChannelActionReceiptRequest"> & {
1960
+ /**
1961
+ * @generated from field: string id = 1;
1962
+ */
1963
+ id: string;
1964
+ };
1965
+ /**
1966
+ * Describes the message agentruntime.v1.GetChannelActionReceiptRequest.
1967
+ * Use `create(GetChannelActionReceiptRequestSchema)` to create a new message.
1968
+ */
1969
+ export declare const GetChannelActionReceiptRequestSchema: GenMessage<GetChannelActionReceiptRequest>;
1970
+ /**
1971
+ * @generated from message agentruntime.v1.GetChannelActionReceiptResponse
1972
+ */
1973
+ export type GetChannelActionReceiptResponse = Message<"agentruntime.v1.GetChannelActionReceiptResponse"> & {
1974
+ /**
1975
+ * @generated from field: agentruntime.v1.ChannelActionReceipt receipt = 1;
1976
+ */
1977
+ receipt?: ChannelActionReceipt | undefined;
1978
+ };
1979
+ /**
1980
+ * Describes the message agentruntime.v1.GetChannelActionReceiptResponse.
1981
+ * Use `create(GetChannelActionReceiptResponseSchema)` to create a new message.
1982
+ */
1983
+ export declare const GetChannelActionReceiptResponseSchema: GenMessage<GetChannelActionReceiptResponse>;
1984
+ /**
1985
+ * @generated from message agentruntime.v1.ListChannelActionReceiptsRequest
1986
+ */
1987
+ export type ListChannelActionReceiptsRequest = Message<"agentruntime.v1.ListChannelActionReceiptsRequest"> & {
1988
+ /**
1989
+ * @generated from field: string workspace_id = 1;
1990
+ */
1991
+ workspaceId: string;
1992
+ /**
1993
+ * @generated from field: string idempotency_key = 2;
1994
+ */
1995
+ idempotencyKey: string;
1996
+ /**
1997
+ * @generated from field: string actor_entity_id = 3;
1998
+ */
1999
+ actorEntityId: string;
2000
+ /**
2001
+ * @generated from field: agentruntime.v1.ChannelActionTargetKind target_kind = 4;
2002
+ */
2003
+ targetKind: ChannelActionTargetKind;
2004
+ /**
2005
+ * @generated from field: string target_id = 5;
2006
+ */
2007
+ targetId: string;
2008
+ /**
2009
+ * @generated from field: string run_id = 6;
2010
+ */
2011
+ runId: string;
2012
+ /**
2013
+ * @generated from field: string wait_id = 7;
2014
+ */
2015
+ waitId: string;
2016
+ /**
2017
+ * @generated from field: string approval_request_id = 8;
2018
+ */
2019
+ approvalRequestId: string;
2020
+ /**
2021
+ * @generated from field: string objective_id = 9;
2022
+ */
2023
+ objectiveId: string;
2024
+ /**
2025
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 10;
2026
+ */
2027
+ channelKind: RuntimeChannelKind;
2028
+ /**
2029
+ * @generated from field: string provider_workspace_id = 11;
2030
+ */
2031
+ providerWorkspaceId: string;
2032
+ /**
2033
+ * @generated from field: string channel_id = 12;
2034
+ */
2035
+ channelId: string;
2036
+ /**
2037
+ * @generated from field: string thread_id = 13;
2038
+ */
2039
+ threadId: string;
2040
+ /**
2041
+ * @generated from field: string message_id = 14;
2042
+ */
2043
+ messageId: string;
2044
+ /**
2045
+ * @generated from field: string action_id = 15;
2046
+ */
2047
+ actionId: string;
2048
+ /**
2049
+ * @generated from field: int32 limit = 16;
2050
+ */
2051
+ limit: number;
2052
+ };
2053
+ /**
2054
+ * Describes the message agentruntime.v1.ListChannelActionReceiptsRequest.
2055
+ * Use `create(ListChannelActionReceiptsRequestSchema)` to create a new message.
2056
+ */
2057
+ export declare const ListChannelActionReceiptsRequestSchema: GenMessage<ListChannelActionReceiptsRequest>;
2058
+ /**
2059
+ * @generated from message agentruntime.v1.ListChannelActionReceiptsResponse
2060
+ */
2061
+ export type ListChannelActionReceiptsResponse = Message<"agentruntime.v1.ListChannelActionReceiptsResponse"> & {
2062
+ /**
2063
+ * @generated from field: repeated agentruntime.v1.ChannelActionReceipt receipts = 1;
2064
+ */
2065
+ receipts: ChannelActionReceipt[];
2066
+ };
2067
+ /**
2068
+ * Describes the message agentruntime.v1.ListChannelActionReceiptsResponse.
2069
+ * Use `create(ListChannelActionReceiptsResponseSchema)` to create a new message.
2070
+ */
2071
+ export declare const ListChannelActionReceiptsResponseSchema: GenMessage<ListChannelActionReceiptsResponse>;
2072
+ /**
2073
+ * @generated from message agentruntime.v1.ListRunEventsRequest
2074
+ */
2075
+ export type ListRunEventsRequest = Message<"agentruntime.v1.ListRunEventsRequest"> & {
2076
+ /**
2077
+ * @generated from field: string run_id = 1;
2078
+ */
2079
+ runId: string;
2080
+ /**
2081
+ * @generated from field: agentruntime.v1.RuntimeAudience audience = 2;
2082
+ */
2083
+ audience: RuntimeAudience;
2084
+ };
2085
+ /**
2086
+ * Describes the message agentruntime.v1.ListRunEventsRequest.
2087
+ * Use `create(ListRunEventsRequestSchema)` to create a new message.
2088
+ */
2089
+ export declare const ListRunEventsRequestSchema: GenMessage<ListRunEventsRequest>;
2090
+ /**
2091
+ * @generated from message agentruntime.v1.ListRunEventsResponse
2092
+ */
2093
+ export type ListRunEventsResponse = Message<"agentruntime.v1.ListRunEventsResponse"> & {
2094
+ /**
2095
+ * @generated from field: repeated agentruntime.v1.RuntimeEvent events = 1;
2096
+ */
2097
+ events: RuntimeEvent[];
2098
+ };
2099
+ /**
2100
+ * Describes the message agentruntime.v1.ListRunEventsResponse.
2101
+ * Use `create(ListRunEventsResponseSchema)` to create a new message.
2102
+ */
2103
+ export declare const ListRunEventsResponseSchema: GenMessage<ListRunEventsResponse>;
2104
+ /**
2105
+ * AgentRunState describes the runtime lifecycle of one durable attempt.
2106
+ *
2107
+ * @generated from enum agentruntime.v1.AgentRunState
2108
+ */
2109
+ export declare enum AgentRunState {
2110
+ /**
2111
+ * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
2112
+ */
2113
+ UNSPECIFIED = 0,
2114
+ /**
2115
+ * @generated from enum value: AGENT_RUN_STATE_ACCEPTED = 1;
2116
+ */
2117
+ ACCEPTED = 1,
2118
+ /**
2119
+ * @generated from enum value: AGENT_RUN_STATE_QUEUED = 2;
2120
+ */
2121
+ QUEUED = 2,
2122
+ /**
2123
+ * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
2124
+ */
2125
+ RUNNING = 3,
2126
+ /**
2127
+ * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
2128
+ */
2129
+ WAITING = 4,
2130
+ /**
2131
+ * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
2132
+ */
2133
+ SUCCEEDED = 5,
2134
+ /**
2135
+ * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
2136
+ */
2137
+ FAILED = 6,
2138
+ /**
2139
+ * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
2140
+ */
2141
+ CANCELLED = 7,
2142
+ /**
2143
+ * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
2144
+ */
2145
+ RETRYING = 8,
2146
+ /**
2147
+ * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
2148
+ */
2149
+ DEAD_LETTERED = 9
2150
+ }
2151
+ /**
2152
+ * Describes the enum agentruntime.v1.AgentRunState.
2153
+ */
2154
+ export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
2155
+ /**
2156
+ * AgentRunStepState describes progress for a single durable step record.
2157
+ *
2158
+ * @generated from enum agentruntime.v1.AgentRunStepState
2159
+ */
2160
+ export declare enum AgentRunStepState {
2161
+ /**
2162
+ * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
2163
+ */
2164
+ UNSPECIFIED = 0,
2165
+ /**
2166
+ * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
2167
+ */
2168
+ PENDING = 1,
2169
+ /**
2170
+ * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
2171
+ */
2172
+ RUNNING = 2,
2173
+ /**
2174
+ * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
2175
+ */
2176
+ WAITING = 3,
2177
+ /**
2178
+ * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
2179
+ */
2180
+ SUCCEEDED = 4,
2181
+ /**
2182
+ * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
2183
+ */
2184
+ FAILED = 5,
2185
+ /**
2186
+ * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
2187
+ */
2188
+ CANCELLED = 6,
2189
+ /**
2190
+ * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
2191
+ */
2192
+ SKIPPED = 7
2193
+ }
2194
+ /**
1579
2195
  * Describes the enum agentruntime.v1.AgentRunStepState.
1580
2196
  */
1581
2197
  export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
@@ -1649,6 +2265,37 @@ export declare enum AgentRunWaitType {
1649
2265
  * Describes the enum agentruntime.v1.AgentRunWaitType.
1650
2266
  */
1651
2267
  export declare const AgentRunWaitTypeSchema: GenEnum<AgentRunWaitType>;
2268
+ /**
2269
+ * AgentRunWaitState describes the read-model state of a parked wait.
2270
+ *
2271
+ * @generated from enum agentruntime.v1.AgentRunWaitState
2272
+ */
2273
+ export declare enum AgentRunWaitState {
2274
+ /**
2275
+ * @generated from enum value: AGENT_RUN_WAIT_STATE_UNSPECIFIED = 0;
2276
+ */
2277
+ UNSPECIFIED = 0,
2278
+ /**
2279
+ * @generated from enum value: AGENT_RUN_WAIT_STATE_PENDING = 1;
2280
+ */
2281
+ PENDING = 1,
2282
+ /**
2283
+ * @generated from enum value: AGENT_RUN_WAIT_STATE_RESOLVED = 2;
2284
+ */
2285
+ RESOLVED = 2,
2286
+ /**
2287
+ * @generated from enum value: AGENT_RUN_WAIT_STATE_EXPIRED = 3;
2288
+ */
2289
+ EXPIRED = 3,
2290
+ /**
2291
+ * @generated from enum value: AGENT_RUN_WAIT_STATE_CANCELLED = 4;
2292
+ */
2293
+ CANCELLED = 4
2294
+ }
2295
+ /**
2296
+ * Describes the enum agentruntime.v1.AgentRunWaitState.
2297
+ */
2298
+ export declare const AgentRunWaitStateSchema: GenEnum<AgentRunWaitState>;
1652
2299
  /**
1653
2300
  * AgentRunArtifactKind classifies durable output produced by a run or step.
1654
2301
  *
@@ -1819,6 +2466,39 @@ export declare enum RuntimeDependencyStatus {
1819
2466
  * Describes the enum agentruntime.v1.RuntimeDependencyStatus.
1820
2467
  */
1821
2468
  export declare const RuntimeDependencyStatusSchema: GenEnum<RuntimeDependencyStatus>;
2469
+ /**
2470
+ * RuntimeWorkEnvelopeKind classifies the durable human/work object a trigger
2471
+ * belongs to. Envelopes group retries and follow-up messages across channels
2472
+ * without making the runtime depend on Slack-specific string labels.
2473
+ *
2474
+ * @generated from enum agentruntime.v1.RuntimeWorkEnvelopeKind
2475
+ */
2476
+ export declare enum RuntimeWorkEnvelopeKind {
2477
+ /**
2478
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_UNSPECIFIED = 0;
2479
+ */
2480
+ UNSPECIFIED = 0,
2481
+ /**
2482
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_CONVERSATION_THREAD = 1;
2483
+ */
2484
+ CONVERSATION_THREAD = 1,
2485
+ /**
2486
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_DIRECT_CONVERSATION = 2;
2487
+ */
2488
+ DIRECT_CONVERSATION = 2,
2489
+ /**
2490
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_TICKET = 3;
2491
+ */
2492
+ TICKET = 3,
2493
+ /**
2494
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_CALENDAR_EVENT = 4;
2495
+ */
2496
+ CALENDAR_EVENT = 4
2497
+ }
2498
+ /**
2499
+ * Describes the enum agentruntime.v1.RuntimeWorkEnvelopeKind.
2500
+ */
2501
+ export declare const RuntimeWorkEnvelopeKindSchema: GenEnum<RuntimeWorkEnvelopeKind>;
1822
2502
  /**
1823
2503
  * RuntimeChannelKind classifies the inbound or outbound channel adapter that
1824
2504
  * owns the human conversation surface for a run.
@@ -1916,6 +2596,360 @@ export declare enum RuntimeTriggerKind {
1916
2596
  * Describes the enum agentruntime.v1.RuntimeTriggerKind.
1917
2597
  */
1918
2598
  export declare const RuntimeTriggerKindSchema: GenEnum<RuntimeTriggerKind>;
2599
+ /**
2600
+ * RuntimeVisibilityLevel declares whether runtime state can be projected to
2601
+ * humans or should remain internal/audit-only. Unspecified values are treated
2602
+ * conservatively as agent-only by service helpers and consumers.
2603
+ *
2604
+ * @generated from enum agentruntime.v1.RuntimeVisibilityLevel
2605
+ */
2606
+ export declare enum RuntimeVisibilityLevel {
2607
+ /**
2608
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_UNSPECIFIED = 0;
2609
+ */
2610
+ UNSPECIFIED = 0,
2611
+ /**
2612
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_AGENT_ONLY = 1;
2613
+ */
2614
+ AGENT_ONLY = 1,
2615
+ /**
2616
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_USER_VISIBLE = 2;
2617
+ */
2618
+ USER_VISIBLE = 2,
2619
+ /**
2620
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_CHANNEL_VISIBLE = 3;
2621
+ */
2622
+ CHANNEL_VISIBLE = 3,
2623
+ /**
2624
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_ADMIN_VISIBLE = 4;
2625
+ */
2626
+ ADMIN_VISIBLE = 4,
2627
+ /**
2628
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_AUDIT_ONLY = 5;
2629
+ */
2630
+ AUDIT_ONLY = 5
2631
+ }
2632
+ /**
2633
+ * Describes the enum agentruntime.v1.RuntimeVisibilityLevel.
2634
+ */
2635
+ export declare const RuntimeVisibilityLevelSchema: GenEnum<RuntimeVisibilityLevel>;
2636
+ /**
2637
+ * RuntimeAudience identifies the audience allowed to see a runtime event or
2638
+ * wait projection. Audience is separate from visibility so clients can render a
2639
+ * channel-safe summary while keeping admin/audit detail available elsewhere.
2640
+ *
2641
+ * @generated from enum agentruntime.v1.RuntimeAudience
2642
+ */
2643
+ export declare enum RuntimeAudience {
2644
+ /**
2645
+ * @generated from enum value: RUNTIME_AUDIENCE_UNSPECIFIED = 0;
2646
+ */
2647
+ UNSPECIFIED = 0,
2648
+ /**
2649
+ * @generated from enum value: RUNTIME_AUDIENCE_AGENT = 1;
2650
+ */
2651
+ AGENT = 1,
2652
+ /**
2653
+ * @generated from enum value: RUNTIME_AUDIENCE_TRIGGER_ACTOR = 2;
2654
+ */
2655
+ TRIGGER_ACTOR = 2,
2656
+ /**
2657
+ * @generated from enum value: RUNTIME_AUDIENCE_CHANNEL = 3;
2658
+ */
2659
+ CHANNEL = 3,
2660
+ /**
2661
+ * @generated from enum value: RUNTIME_AUDIENCE_WORKSPACE_ADMINS = 4;
2662
+ */
2663
+ WORKSPACE_ADMINS = 4,
2664
+ /**
2665
+ * @generated from enum value: RUNTIME_AUDIENCE_AUDIT = 5;
2666
+ */
2667
+ AUDIT = 5,
2668
+ /**
2669
+ * @generated from enum value: RUNTIME_AUDIENCE_SYSTEM = 6;
2670
+ */
2671
+ SYSTEM = 6
2672
+ }
2673
+ /**
2674
+ * Describes the enum agentruntime.v1.RuntimeAudience.
2675
+ */
2676
+ export declare const RuntimeAudienceSchema: GenEnum<RuntimeAudience>;
2677
+ /**
2678
+ * ChannelActionKind classifies the user or integration action submitted from a
2679
+ * durable channel surface.
2680
+ *
2681
+ * @generated from enum agentruntime.v1.ChannelActionKind
2682
+ */
2683
+ export declare enum ChannelActionKind {
2684
+ /**
2685
+ * @generated from enum value: CHANNEL_ACTION_KIND_UNSPECIFIED = 0;
2686
+ */
2687
+ UNSPECIFIED = 0,
2688
+ /**
2689
+ * @generated from enum value: CHANNEL_ACTION_KIND_APPROVAL_DECISION = 1;
2690
+ */
2691
+ APPROVAL_DECISION = 1,
2692
+ /**
2693
+ * @generated from enum value: CHANNEL_ACTION_KIND_WAIT_RESUME = 2;
2694
+ */
2695
+ WAIT_RESUME = 2,
2696
+ /**
2697
+ * @generated from enum value: CHANNEL_ACTION_KIND_OBJECTIVE_CONTROL = 3;
2698
+ */
2699
+ OBJECTIVE_CONTROL = 3,
2700
+ /**
2701
+ * @generated from enum value: CHANNEL_ACTION_KIND_MEMORY_DECISION = 4;
2702
+ */
2703
+ MEMORY_DECISION = 4,
2704
+ /**
2705
+ * @generated from enum value: CHANNEL_ACTION_KIND_OPS_COMMAND = 5;
2706
+ */
2707
+ OPS_COMMAND = 5,
2708
+ /**
2709
+ * @generated from enum value: CHANNEL_ACTION_KIND_GENERIC = 6;
2710
+ */
2711
+ GENERIC = 6
2712
+ }
2713
+ /**
2714
+ * Describes the enum agentruntime.v1.ChannelActionKind.
2715
+ */
2716
+ export declare const ChannelActionKindSchema: GenEnum<ChannelActionKind>;
2717
+ /**
2718
+ * ChannelActionTargetKind identifies the platform object controlled by a
2719
+ * channel action.
2720
+ *
2721
+ * @generated from enum agentruntime.v1.ChannelActionTargetKind
2722
+ */
2723
+ export declare enum ChannelActionTargetKind {
2724
+ /**
2725
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_UNSPECIFIED = 0;
2726
+ */
2727
+ UNSPECIFIED = 0,
2728
+ /**
2729
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_RUN = 1;
2730
+ */
2731
+ RUN = 1,
2732
+ /**
2733
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_WAIT = 2;
2734
+ */
2735
+ WAIT = 2,
2736
+ /**
2737
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_APPROVAL = 3;
2738
+ */
2739
+ APPROVAL = 3,
2740
+ /**
2741
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_OBJECTIVE = 4;
2742
+ */
2743
+ OBJECTIVE = 4,
2744
+ /**
2745
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_ARTIFACT = 5;
2746
+ */
2747
+ ARTIFACT = 5,
2748
+ /**
2749
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_MEMORY_CANDIDATE = 6;
2750
+ */
2751
+ MEMORY_CANDIDATE = 6,
2752
+ /**
2753
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_TOOL_EXECUTION = 7;
2754
+ */
2755
+ TOOL_EXECUTION = 7
2756
+ }
2757
+ /**
2758
+ * Describes the enum agentruntime.v1.ChannelActionTargetKind.
2759
+ */
2760
+ export declare const ChannelActionTargetKindSchema: GenEnum<ChannelActionTargetKind>;
2761
+ /**
2762
+ * ChannelActionAuthorizationOutcome records the actor-resolution and policy
2763
+ * decision for a channel action.
2764
+ *
2765
+ * @generated from enum agentruntime.v1.ChannelActionAuthorizationOutcome
2766
+ */
2767
+ export declare enum ChannelActionAuthorizationOutcome {
2768
+ /**
2769
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_UNSPECIFIED = 0;
2770
+ */
2771
+ UNSPECIFIED = 0,
2772
+ /**
2773
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_ALLOWED = 1;
2774
+ */
2775
+ ALLOWED = 1,
2776
+ /**
2777
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_DENIED = 2;
2778
+ */
2779
+ DENIED = 2,
2780
+ /**
2781
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_UNMAPPED_ACTOR = 3;
2782
+ */
2783
+ UNMAPPED_ACTOR = 3,
2784
+ /**
2785
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_WRONG_APPROVER = 4;
2786
+ */
2787
+ WRONG_APPROVER = 4,
2788
+ /**
2789
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_EXPIRED = 5;
2790
+ */
2791
+ EXPIRED = 5,
2792
+ /**
2793
+ * @generated from enum value: CHANNEL_ACTION_AUTHORIZATION_OUTCOME_STALE = 6;
2794
+ */
2795
+ STALE = 6
2796
+ }
2797
+ /**
2798
+ * Describes the enum agentruntime.v1.ChannelActionAuthorizationOutcome.
2799
+ */
2800
+ export declare const ChannelActionAuthorizationOutcomeSchema: GenEnum<ChannelActionAuthorizationOutcome>;
2801
+ /**
2802
+ * ChannelActionExecutionOutcome records the durable side-effect result for a
2803
+ * channel action.
2804
+ *
2805
+ * @generated from enum agentruntime.v1.ChannelActionExecutionOutcome
2806
+ */
2807
+ export declare enum ChannelActionExecutionOutcome {
2808
+ /**
2809
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_UNSPECIFIED = 0;
2810
+ */
2811
+ UNSPECIFIED = 0,
2812
+ /**
2813
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_PENDING = 1;
2814
+ */
2815
+ PENDING = 1,
2816
+ /**
2817
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_SUCCEEDED = 2;
2818
+ */
2819
+ SUCCEEDED = 2,
2820
+ /**
2821
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_FAILED = 3;
2822
+ */
2823
+ FAILED = 3,
2824
+ /**
2825
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_DUPLICATE = 4;
2826
+ */
2827
+ DUPLICATE = 4,
2828
+ /**
2829
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_TARGET_NOT_FOUND = 5;
2830
+ */
2831
+ TARGET_NOT_FOUND = 5,
2832
+ /**
2833
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_ALREADY_RESOLVED = 6;
2834
+ */
2835
+ ALREADY_RESOLVED = 6,
2836
+ /**
2837
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_UNAUTHORIZED = 7;
2838
+ */
2839
+ UNAUTHORIZED = 7,
2840
+ /**
2841
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_EXPIRED = 8;
2842
+ */
2843
+ EXPIRED = 8,
2844
+ /**
2845
+ * @generated from enum value: CHANNEL_ACTION_EXECUTION_OUTCOME_STALE = 9;
2846
+ */
2847
+ STALE = 9
2848
+ }
2849
+ /**
2850
+ * Describes the enum agentruntime.v1.ChannelActionExecutionOutcome.
2851
+ */
2852
+ export declare const ChannelActionExecutionOutcomeSchema: GenEnum<ChannelActionExecutionOutcome>;
2853
+ /**
2854
+ * ChannelActionDeliveryOutcome records whether the channel message/update was
2855
+ * reconciled after handling an action.
2856
+ *
2857
+ * @generated from enum agentruntime.v1.ChannelActionDeliveryOutcome
2858
+ */
2859
+ export declare enum ChannelActionDeliveryOutcome {
2860
+ /**
2861
+ * @generated from enum value: CHANNEL_ACTION_DELIVERY_OUTCOME_UNSPECIFIED = 0;
2862
+ */
2863
+ UNSPECIFIED = 0,
2864
+ /**
2865
+ * @generated from enum value: CHANNEL_ACTION_DELIVERY_OUTCOME_NOT_ATTEMPTED = 1;
2866
+ */
2867
+ NOT_ATTEMPTED = 1,
2868
+ /**
2869
+ * @generated from enum value: CHANNEL_ACTION_DELIVERY_OUTCOME_UPDATED = 2;
2870
+ */
2871
+ UPDATED = 2,
2872
+ /**
2873
+ * @generated from enum value: CHANNEL_ACTION_DELIVERY_OUTCOME_FAILED = 3;
2874
+ */
2875
+ FAILED = 3,
2876
+ /**
2877
+ * @generated from enum value: CHANNEL_ACTION_DELIVERY_OUTCOME_SKIPPED = 4;
2878
+ */
2879
+ SKIPPED = 4
2880
+ }
2881
+ /**
2882
+ * Describes the enum agentruntime.v1.ChannelActionDeliveryOutcome.
2883
+ */
2884
+ export declare const ChannelActionDeliveryOutcomeSchema: GenEnum<ChannelActionDeliveryOutcome>;
2885
+ /**
2886
+ * RuntimeSensitivity classifies how carefully runtime payloads must be handled
2887
+ * before projection outside Platform.
2888
+ *
2889
+ * @generated from enum agentruntime.v1.RuntimeSensitivity
2890
+ */
2891
+ export declare enum RuntimeSensitivity {
2892
+ /**
2893
+ * @generated from enum value: RUNTIME_SENSITIVITY_UNSPECIFIED = 0;
2894
+ */
2895
+ UNSPECIFIED = 0,
2896
+ /**
2897
+ * @generated from enum value: RUNTIME_SENSITIVITY_PUBLIC = 1;
2898
+ */
2899
+ PUBLIC = 1,
2900
+ /**
2901
+ * @generated from enum value: RUNTIME_SENSITIVITY_INTERNAL = 2;
2902
+ */
2903
+ INTERNAL = 2,
2904
+ /**
2905
+ * @generated from enum value: RUNTIME_SENSITIVITY_CONFIDENTIAL = 3;
2906
+ */
2907
+ CONFIDENTIAL = 3,
2908
+ /**
2909
+ * @generated from enum value: RUNTIME_SENSITIVITY_RESTRICTED = 4;
2910
+ */
2911
+ RESTRICTED = 4
2912
+ }
2913
+ /**
2914
+ * Describes the enum agentruntime.v1.RuntimeSensitivity.
2915
+ */
2916
+ export declare const RuntimeSensitivitySchema: GenEnum<RuntimeSensitivity>;
2917
+ /**
2918
+ * RuntimeRedactionKind identifies data categories that were removed or must be
2919
+ * removed before channel/user rendering.
2920
+ *
2921
+ * @generated from enum agentruntime.v1.RuntimeRedactionKind
2922
+ */
2923
+ export declare enum RuntimeRedactionKind {
2924
+ /**
2925
+ * @generated from enum value: RUNTIME_REDACTION_KIND_UNSPECIFIED = 0;
2926
+ */
2927
+ UNSPECIFIED = 0,
2928
+ /**
2929
+ * @generated from enum value: RUNTIME_REDACTION_KIND_PII = 1;
2930
+ */
2931
+ PII = 1,
2932
+ /**
2933
+ * @generated from enum value: RUNTIME_REDACTION_KIND_CREDENTIAL = 2;
2934
+ */
2935
+ CREDENTIAL = 2,
2936
+ /**
2937
+ * @generated from enum value: RUNTIME_REDACTION_KIND_TOOL_ARGS = 3;
2938
+ */
2939
+ TOOL_ARGS = 3,
2940
+ /**
2941
+ * @generated from enum value: RUNTIME_REDACTION_KIND_POLICY_DETAIL = 4;
2942
+ */
2943
+ POLICY_DETAIL = 4,
2944
+ /**
2945
+ * @generated from enum value: RUNTIME_REDACTION_KIND_INTERNAL_CONTEXT = 5;
2946
+ */
2947
+ INTERNAL_CONTEXT = 5
2948
+ }
2949
+ /**
2950
+ * Describes the enum agentruntime.v1.RuntimeRedactionKind.
2951
+ */
2952
+ export declare const RuntimeRedactionKindSchema: GenEnum<RuntimeRedactionKind>;
1919
2953
  /**
1920
2954
  * AgentRuntimeService accepts normalized triggers and manages durable
1921
2955
  * AgentRun execution attempts. Workers claim runs by lease, checkpoint their
@@ -2091,6 +3125,62 @@ export declare const AgentRuntimeService: GenService<{
2091
3125
  input: typeof GetRunRequestSchema;
2092
3126
  output: typeof GetRunResponseSchema;
2093
3127
  };
3128
+ /**
3129
+ * ListRunsByWorkEnvelope retrieves runs that belong to one durable channel
3130
+ * work envelope, such as a Slack thread or future email/Jira/Teams object.
3131
+ *
3132
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListRunsByWorkEnvelope
3133
+ */
3134
+ listRunsByWorkEnvelope: {
3135
+ methodKind: "unary";
3136
+ input: typeof ListRunsByWorkEnvelopeRequestSchema;
3137
+ output: typeof ListRunsByWorkEnvelopeResponseSchema;
3138
+ };
3139
+ /**
3140
+ * ListRunWaits returns a pending-work projection over parked AgentRun waits
3141
+ * without requiring clients to replay runtime events or read full run
3142
+ * snapshots.
3143
+ *
3144
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListRunWaits
3145
+ */
3146
+ listRunWaits: {
3147
+ methodKind: "unary";
3148
+ input: typeof ListRunWaitsRequestSchema;
3149
+ output: typeof ListRunWaitsResponseSchema;
3150
+ };
3151
+ /**
3152
+ * RecordChannelActionReceipt durably records an interactive channel action,
3153
+ * such as a Slack approval button or slash command, before any side effects
3154
+ * resume runtime work.
3155
+ *
3156
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordChannelActionReceipt
3157
+ */
3158
+ recordChannelActionReceipt: {
3159
+ methodKind: "unary";
3160
+ input: typeof RecordChannelActionReceiptRequestSchema;
3161
+ output: typeof RecordChannelActionReceiptResponseSchema;
3162
+ };
3163
+ /**
3164
+ * GetChannelActionReceipt retrieves one recorded channel action receipt.
3165
+ *
3166
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.GetChannelActionReceipt
3167
+ */
3168
+ getChannelActionReceipt: {
3169
+ methodKind: "unary";
3170
+ input: typeof GetChannelActionReceiptRequestSchema;
3171
+ output: typeof GetChannelActionReceiptResponseSchema;
3172
+ };
3173
+ /**
3174
+ * ListChannelActionReceipts returns durable channel action receipts for
3175
+ * audit, idempotency, and channel adapter reconciliation.
3176
+ *
3177
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListChannelActionReceipts
3178
+ */
3179
+ listChannelActionReceipts: {
3180
+ methodKind: "unary";
3181
+ input: typeof ListChannelActionReceiptsRequestSchema;
3182
+ output: typeof ListChannelActionReceiptsResponseSchema;
3183
+ };
2094
3184
  /**
2095
3185
  * ListRunEvents returns the append-only event log for an AgentRun.
2096
3186
  *