@evalops/sdk-ts 0.1.13 → 0.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/agentregistry/v1/service_pb.d.ts +11 -11
  2. package/dist/agentregistry/v1/service_pb.js +1 -1
  3. package/dist/agentruntime/v1/runtime_pb.d.ts +1612 -227
  4. package/dist/agentruntime/v1/runtime_pb.js +782 -51
  5. package/dist/agents/v1/agents_pb.d.ts +781 -20
  6. package/dist/agents/v1/agents_pb.js +301 -31
  7. package/dist/approvals/v1/approvals_pb.d.ts +17 -17
  8. package/dist/approvals/v1/approvals_pb.js +1 -1
  9. package/dist/artifacts/v1/artifacts_pb.d.ts +32 -32
  10. package/dist/artifacts/v1/artifacts_pb.js +1 -1
  11. package/dist/attestation/v1/attestation_pb.d.ts +7 -7
  12. package/dist/attestation/v1/attestation_pb.js +1 -1
  13. package/dist/attribution/v1/attribution_pb.d.ts +38 -38
  14. package/dist/attribution/v1/attribution_pb.js +1 -1
  15. package/dist/audit/v1/audit_pb.d.ts +30 -30
  16. package/dist/audit/v1/audit_pb.js +1 -1
  17. package/dist/buf/validate/validate_pb.d.ts +9 -9
  18. package/dist/catalogs/v1/catalogs_pb.d.ts +10 -10
  19. package/dist/catalogs/v1/catalogs_pb.js +1 -1
  20. package/dist/common/v1/analytics_pb.d.ts +4 -4
  21. package/dist/common/v1/analytics_pb.js +1 -1
  22. package/dist/common/v1/authz_pb.d.ts +4 -0
  23. package/dist/common/v1/authz_pb.js +8 -4
  24. package/dist/common/v1/delivery_pb.js +1 -1
  25. package/dist/common/v1/entity_pb.js +1 -1
  26. package/dist/common/v1/risk_pb.js +1 -1
  27. package/dist/common/v1/surface_pb.d.ts +42 -0
  28. package/dist/common/v1/surface_pb.js +46 -0
  29. package/dist/compliance/v1/compliance_pb.d.ts +24 -24
  30. package/dist/compliance/v1/compliance_pb.js +1 -1
  31. package/dist/config/v1/config_pb.d.ts +13 -13
  32. package/dist/config/v1/config_pb.js +1 -1
  33. package/dist/connectors/v1/connectors_pb.d.ts +13 -13
  34. package/dist/connectors/v1/connectors_pb.js +1 -1
  35. package/dist/entities/v1/entities_pb.d.ts +15 -15
  36. package/dist/entities/v1/entities_pb.js +1 -1
  37. package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +19 -19
  38. package/dist/evalpipeline/v1/evalpipeline_pb.js +1 -1
  39. package/dist/events/v1/change_pb.d.ts +2 -2
  40. package/dist/events/v1/change_pb.js +1 -1
  41. package/dist/events/v1/cloudevent_pb.d.ts +2 -2
  42. package/dist/events/v1/cloudevent_pb.js +1 -1
  43. package/dist/events/v1/evaluation_pb.d.ts +10 -10
  44. package/dist/events/v1/evaluation_pb.js +1 -1
  45. package/dist/fermata/v1/fermata_pb.d.ts +1604 -203
  46. package/dist/fermata/v1/fermata_pb.js +350 -51
  47. package/dist/fermata/v1/worker_pb.d.ts +15 -7
  48. package/dist/fermata/v1/worker_pb.js +3 -2
  49. package/dist/gate/v1/audit_pb.d.ts +8 -8
  50. package/dist/gate/v1/audit_pb.js +1 -1
  51. package/dist/gate/v1/connector_pb.d.ts +8 -8
  52. package/dist/gate/v1/connector_pb.js +1 -1
  53. package/dist/gate/v1/controlplane_pb.js +1 -1
  54. package/dist/gate/v1/identity_group_pb.d.ts +7 -7
  55. package/dist/gate/v1/identity_group_pb.js +1 -1
  56. package/dist/gate/v1/recording_pb.d.ts +1 -1
  57. package/dist/gate/v1/recording_pb.js +1 -1
  58. package/dist/gate/v1/resource_policy_pb.d.ts +19 -19
  59. package/dist/gate/v1/resource_policy_pb.js +1 -1
  60. package/dist/gate/v1/tenant_pb.d.ts +7 -7
  61. package/dist/gate/v1/tenant_pb.js +1 -1
  62. package/dist/gate/v1/webhook_access_pb.d.ts +11 -11
  63. package/dist/gate/v1/webhook_access_pb.js +1 -1
  64. package/dist/governance/v1/governance_pb.d.ts +28 -28
  65. package/dist/governance/v1/governance_pb.js +1 -1
  66. package/dist/identity/v1/organizations_pb.d.ts +9 -9
  67. package/dist/identity/v1/organizations_pb.js +1 -1
  68. package/dist/identity/v1/sessions_pb.d.ts +4 -4
  69. package/dist/identity/v1/sessions_pb.js +1 -1
  70. package/dist/identity/v1/tokens_pb.d.ts +5 -5
  71. package/dist/identity/v1/tokens_pb.js +1 -1
  72. package/dist/ingest/v1/admin_pb.d.ts +10 -10
  73. package/dist/ingest/v1/admin_pb.js +1 -1
  74. package/dist/ingest/v1/event_pb.d.ts +5 -5
  75. package/dist/ingest/v1/event_pb.js +1 -1
  76. package/dist/keys/v1/keys_pb.d.ts +9 -9
  77. package/dist/keys/v1/keys_pb.js +1 -1
  78. package/dist/llmgateway/v1/gateway_pb.d.ts +23 -23
  79. package/dist/llmgateway/v1/gateway_pb.js +1 -1
  80. package/dist/maestro/v1/events_pb.d.ts +930 -0
  81. package/dist/maestro/v1/events_pb.js +316 -0
  82. package/dist/maestro/v1/timeline_pb.d.ts +462 -0
  83. package/dist/maestro/v1/timeline_pb.js +235 -0
  84. package/dist/memory/v1/memory_pb.d.ts +18 -18
  85. package/dist/memory/v1/memory_pb.js +1 -1
  86. package/dist/meter/v1/meter_pb.d.ts +42 -42
  87. package/dist/meter/v1/meter_pb.js +1 -1
  88. package/dist/notifications/v1/notifications_pb.d.ts +10 -10
  89. package/dist/notifications/v1/notifications_pb.js +1 -1
  90. package/dist/objectives/v1/objectives_pb.d.ts +35 -26
  91. package/dist/objectives/v1/objectives_pb.js +3 -2
  92. package/dist/posture/v1/posture_pb.d.ts +8 -8
  93. package/dist/posture/v1/posture_pb.js +1 -1
  94. package/dist/prompts/v1/prompts_pb.d.ts +15 -15
  95. package/dist/prompts/v1/prompts_pb.js +1 -1
  96. package/dist/relationships/v1/relationships_pb.d.ts +15 -15
  97. package/dist/relationships/v1/relationships_pb.js +1 -1
  98. package/dist/remoterunner/v1/remoterunner_pb.d.ts +1786 -0
  99. package/dist/remoterunner/v1/remoterunner_pb.js +531 -0
  100. package/dist/secretbroker/v1/broker_pb.d.ts +15 -15
  101. package/dist/secretbroker/v1/broker_pb.js +1 -1
  102. package/dist/skills/v1/skills_pb.d.ts +9 -9
  103. package/dist/skills/v1/skills_pb.js +1 -1
  104. package/dist/tap/v1/admin_pb.d.ts +10 -10
  105. package/dist/tap/v1/admin_pb.js +1 -1
  106. package/dist/tap/v1/event_pb.d.ts +5 -5
  107. package/dist/tap/v1/event_pb.js +1 -1
  108. package/dist/toolexecution/v1/toolexecution_pb.d.ts +35 -29
  109. package/dist/toolexecution/v1/toolexecution_pb.js +3 -2
  110. package/dist/traces/v1/traces_pb.d.ts +17 -17
  111. package/dist/traces/v1/traces_pb.js +1 -1
  112. package/dist/workflows/v1/workflows_pb.d.ts +36 -36
  113. package/dist/workflows/v1/workflows_pb.js +1 -1
  114. package/package.json +17 -1
@@ -1,5 +1,6 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Agent, AgentConfig } from "../../agents/v1/agents_pb.js";
3
+ import type { Surface } from "../../common/v1/surface_pb.js";
3
4
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
5
  import type { Objective } from "../../objectives/v1/objectives_pb.js";
5
6
  import type { JsonObject, Message } from "@bufbuild/protobuf";
@@ -8,9 +9,321 @@ import type { JsonObject, Message } from "@bufbuild/protobuf";
8
9
  */
9
10
  export declare const file_agentruntime_v1_runtime: GenFile;
10
11
  /**
11
- * NormalizedTrigger is the source-neutral trigger contract. Channel and
12
- * surface are generic strings so Slack, web, email, and future surfaces stay
13
- * outside the core runtime.
12
+ * RuntimeChannelContext carries stable channel coordinates for channel
13
+ * adapters. Slack teammates use provider_workspace_id for team_id, channel_id
14
+ * for the conversation, thread_id for the Slack thread_ts, and message_id for
15
+ * the triggering message/event timestamp.
16
+ *
17
+ * @generated from message agentruntime.v1.RuntimeChannelContext
18
+ */
19
+ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelContext"> & {
20
+ /**
21
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 1;
22
+ */
23
+ channelKind: RuntimeChannelKind;
24
+ /**
25
+ * @generated from field: string provider_workspace_id = 2;
26
+ */
27
+ providerWorkspaceId: string;
28
+ /**
29
+ * @generated from field: string channel_id = 3;
30
+ */
31
+ channelId: string;
32
+ /**
33
+ * @generated from field: string thread_id = 4;
34
+ */
35
+ threadId: string;
36
+ /**
37
+ * @generated from field: string message_id = 5;
38
+ */
39
+ messageId: string;
40
+ /**
41
+ * @generated from field: string actor_id = 6;
42
+ */
43
+ actorId: string;
44
+ /**
45
+ * @generated from field: string permalink = 7;
46
+ */
47
+ permalink: string;
48
+ /**
49
+ * @generated from field: map<string, string> attributes = 8;
50
+ */
51
+ attributes: {
52
+ [key: string]: string;
53
+ };
54
+ };
55
+ /**
56
+ * Describes the message agentruntime.v1.RuntimeChannelContext.
57
+ * Use `create(RuntimeChannelContextSchema)` to create a new message.
58
+ */
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>;
322
+ /**
323
+ * NormalizedTrigger is the source-neutral trigger contract. Surface is an enum
324
+ * so product callers share one durable taxonomy across Slack, Ensemble, Chat,
325
+ * Maestro, and Conductor. The legacy string field remains for wire-compatible
326
+ * migration of early callers.
14
327
  *
15
328
  * @generated from message agentruntime.v1.NormalizedTrigger
16
329
  */
@@ -24,10 +337,15 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
24
337
  */
25
338
  agentId: string;
26
339
  /**
27
- * @generated from field: string surface = 3;
340
+ * @generated from field: string surface = 3 [deprecated = true];
341
+ * @deprecated
28
342
  */
29
343
  surface: string;
30
344
  /**
345
+ * Deprecated flat channel field. New callers should send channel_context;
346
+ * the runtime normalizes this field for legacy consumers and idempotency
347
+ * joins.
348
+ *
31
349
  * @generated from field: string channel_id = 4;
32
350
  */
33
351
  channelId: string;
@@ -40,7 +358,8 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
40
358
  */
41
359
  sourceEventId: string;
42
360
  /**
43
- * @generated from field: string source_event_type = 7;
361
+ * @generated from field: string source_event_type = 7 [deprecated = true];
362
+ * @deprecated
44
363
  */
45
364
  sourceEventType: string;
46
365
  /**
@@ -54,11 +373,27 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
54
373
  /**
55
374
  * @generated from field: google.protobuf.Struct payload = 10;
56
375
  */
57
- payload?: JsonObject;
376
+ payload?: JsonObject | undefined;
58
377
  /**
59
378
  * @generated from field: google.protobuf.Timestamp received_at = 11;
60
379
  */
61
- receivedAt?: Timestamp;
380
+ receivedAt?: Timestamp | undefined;
381
+ /**
382
+ * @generated from field: common.v1.Surface surface_type = 12;
383
+ */
384
+ surfaceType: Surface;
385
+ /**
386
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 13;
387
+ */
388
+ channelContext?: RuntimeChannelContext | undefined;
389
+ /**
390
+ * @generated from field: agentruntime.v1.RuntimeTriggerKind trigger_kind = 14;
391
+ */
392
+ triggerKind: RuntimeTriggerKind;
393
+ /**
394
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 15;
395
+ */
396
+ workEnvelope?: RuntimeWorkEnvelope | undefined;
62
397
  };
63
398
  /**
64
399
  * Describes the message agentruntime.v1.NormalizedTrigger.
@@ -106,13 +441,18 @@ export type RuntimeDependency = Message<"agentruntime.v1.RuntimeDependency"> & {
106
441
  */
107
442
  required: boolean;
108
443
  /**
109
- * @generated from field: string status = 4;
444
+ * @generated from field: string status = 4 [deprecated = true];
445
+ * @deprecated
110
446
  */
111
447
  status: string;
112
448
  /**
113
449
  * @generated from field: string reference_id = 5;
114
450
  */
115
451
  referenceId: string;
452
+ /**
453
+ * @generated from field: agentruntime.v1.RuntimeDependencyStatus status_type = 6;
454
+ */
455
+ statusType: RuntimeDependencyStatus;
116
456
  };
117
457
  /**
118
458
  * Describes the message agentruntime.v1.RuntimeDependency.
@@ -163,7 +503,7 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
163
503
  /**
164
504
  * @generated from field: agentruntime.v1.NormalizedTrigger trigger = 2;
165
505
  */
166
- trigger?: NormalizedTrigger;
506
+ trigger?: NormalizedTrigger | undefined;
167
507
  /**
168
508
  * @generated from field: agentruntime.v1.AgentRunState state = 3;
169
509
  */
@@ -171,19 +511,19 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
171
511
  /**
172
512
  * @generated from field: agents.v1.Agent agent = 4;
173
513
  */
174
- agent?: Agent;
514
+ agent?: Agent | undefined;
175
515
  /**
176
516
  * @generated from field: agents.v1.AgentConfig agent_config = 5;
177
517
  */
178
- agentConfig?: AgentConfig;
518
+ agentConfig?: AgentConfig | undefined;
179
519
  /**
180
520
  * @generated from field: objectives.v1.Objective objective = 6;
181
521
  */
182
- objective?: Objective;
522
+ objective?: Objective | undefined;
183
523
  /**
184
524
  * @generated from field: agentruntime.v1.RuntimeContext context = 7;
185
525
  */
186
- context?: RuntimeContext;
526
+ context?: RuntimeContext | undefined;
187
527
  /**
188
528
  * @generated from field: string worker_queue = 8;
189
529
  */
@@ -195,15 +535,15 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
195
535
  /**
196
536
  * @generated from field: google.protobuf.Timestamp created_at = 10;
197
537
  */
198
- createdAt?: Timestamp;
538
+ createdAt?: Timestamp | undefined;
199
539
  /**
200
540
  * @generated from field: google.protobuf.Timestamp updated_at = 11;
201
541
  */
202
- updatedAt?: Timestamp;
542
+ updatedAt?: Timestamp | undefined;
203
543
  /**
204
544
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 12;
205
545
  */
206
- linkage?: AgentRunLinkage;
546
+ linkage?: AgentRunLinkage | undefined;
207
547
  /**
208
548
  * @generated from field: int32 attempt = 15;
209
549
  */
@@ -215,11 +555,11 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
215
555
  /**
216
556
  * @generated from field: agentruntime.v1.AgentRunLease lease = 17;
217
557
  */
218
- lease?: AgentRunLease;
558
+ lease?: AgentRunLease | undefined;
219
559
  /**
220
560
  * @generated from field: agentruntime.v1.AgentRunCheckpoint latest_checkpoint = 18;
221
561
  */
222
- latestCheckpoint?: AgentRunCheckpoint;
562
+ latestCheckpoint?: AgentRunCheckpoint | undefined;
223
563
  /**
224
564
  * @generated from field: repeated agentruntime.v1.AgentRunStep steps = 19;
225
565
  */
@@ -243,31 +583,31 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
243
583
  /**
244
584
  * @generated from field: google.protobuf.Timestamp queued_at = 24;
245
585
  */
246
- queuedAt?: Timestamp;
586
+ queuedAt?: Timestamp | undefined;
247
587
  /**
248
588
  * @generated from field: google.protobuf.Timestamp started_at = 25;
249
589
  */
250
- startedAt?: Timestamp;
590
+ startedAt?: Timestamp | undefined;
251
591
  /**
252
592
  * @generated from field: google.protobuf.Timestamp waiting_at = 26;
253
593
  */
254
- waitingAt?: Timestamp;
594
+ waitingAt?: Timestamp | undefined;
255
595
  /**
256
596
  * @generated from field: google.protobuf.Timestamp completed_at = 27;
257
597
  */
258
- completedAt?: Timestamp;
598
+ completedAt?: Timestamp | undefined;
259
599
  /**
260
600
  * @generated from field: google.protobuf.Timestamp cancelled_at = 28;
261
601
  */
262
- cancelledAt?: Timestamp;
602
+ cancelledAt?: Timestamp | undefined;
263
603
  /**
264
604
  * @generated from field: google.protobuf.Timestamp next_retry_at = 29;
265
605
  */
266
- nextRetryAt?: Timestamp;
606
+ nextRetryAt?: Timestamp | undefined;
267
607
  /**
268
608
  * @generated from field: google.protobuf.Timestamp dead_lettered_at = 30;
269
609
  */
270
- deadLetteredAt?: Timestamp;
610
+ deadLetteredAt?: Timestamp | undefined;
271
611
  /**
272
612
  * @generated from field: string cancellation_reason = 31;
273
613
  */
@@ -299,7 +639,7 @@ export type AgentRunLease = Message<"agentruntime.v1.AgentRunLease"> & {
299
639
  /**
300
640
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
301
641
  */
302
- linkage?: AgentRunLinkage;
642
+ linkage?: AgentRunLinkage | undefined;
303
643
  /**
304
644
  * @generated from field: string worker_id = 6;
305
645
  */
@@ -319,15 +659,15 @@ export type AgentRunLease = Message<"agentruntime.v1.AgentRunLease"> & {
319
659
  /**
320
660
  * @generated from field: google.protobuf.Timestamp claimed_at = 10;
321
661
  */
322
- claimedAt?: Timestamp;
662
+ claimedAt?: Timestamp | undefined;
323
663
  /**
324
664
  * @generated from field: google.protobuf.Timestamp heartbeat_at = 11;
325
665
  */
326
- heartbeatAt?: Timestamp;
666
+ heartbeatAt?: Timestamp | undefined;
327
667
  /**
328
668
  * @generated from field: google.protobuf.Timestamp expires_at = 12;
329
669
  */
330
- expiresAt?: Timestamp;
670
+ expiresAt?: Timestamp | undefined;
331
671
  };
332
672
  /**
333
673
  * Describes the message agentruntime.v1.AgentRunLease.
@@ -347,13 +687,14 @@ export type AgentRunStep = Message<"agentruntime.v1.AgentRunStep"> & {
347
687
  /**
348
688
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
349
689
  */
350
- linkage?: AgentRunLinkage;
690
+ linkage?: AgentRunLinkage | undefined;
351
691
  /**
352
692
  * @generated from field: string name = 6;
353
693
  */
354
694
  name: string;
355
695
  /**
356
- * @generated from field: string kind = 7;
696
+ * @generated from field: string kind = 7 [deprecated = true];
697
+ * @deprecated
357
698
  */
358
699
  kind: string;
359
700
  /**
@@ -367,11 +708,11 @@ export type AgentRunStep = Message<"agentruntime.v1.AgentRunStep"> & {
367
708
  /**
368
709
  * @generated from field: google.protobuf.Struct input = 10;
369
710
  */
370
- input?: JsonObject;
711
+ input?: JsonObject | undefined;
371
712
  /**
372
713
  * @generated from field: google.protobuf.Struct output = 11;
373
714
  */
374
- output?: JsonObject;
715
+ output?: JsonObject | undefined;
375
716
  /**
376
717
  * @generated from field: string error_message = 12;
377
718
  */
@@ -383,11 +724,15 @@ export type AgentRunStep = Message<"agentruntime.v1.AgentRunStep"> & {
383
724
  /**
384
725
  * @generated from field: google.protobuf.Timestamp started_at = 14;
385
726
  */
386
- startedAt?: Timestamp;
727
+ startedAt?: Timestamp | undefined;
387
728
  /**
388
729
  * @generated from field: google.protobuf.Timestamp ended_at = 15;
389
730
  */
390
- endedAt?: Timestamp;
731
+ endedAt?: Timestamp | undefined;
732
+ /**
733
+ * @generated from field: agentruntime.v1.AgentRunStepKind step_kind = 16;
734
+ */
735
+ stepKind: AgentRunStepKind;
391
736
  };
392
737
  /**
393
738
  * Describes the message agentruntime.v1.AgentRunStep.
@@ -408,7 +753,7 @@ export type AgentRunCheckpoint = Message<"agentruntime.v1.AgentRunCheckpoint"> &
408
753
  /**
409
754
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
410
755
  */
411
- linkage?: AgentRunLinkage;
756
+ linkage?: AgentRunLinkage | undefined;
412
757
  /**
413
758
  * @generated from field: string step_id = 6;
414
759
  */
@@ -424,11 +769,11 @@ export type AgentRunCheckpoint = Message<"agentruntime.v1.AgentRunCheckpoint"> &
424
769
  /**
425
770
  * @generated from field: google.protobuf.Struct payload = 9;
426
771
  */
427
- payload?: JsonObject;
772
+ payload?: JsonObject | undefined;
428
773
  /**
429
774
  * @generated from field: google.protobuf.Timestamp created_at = 10;
430
775
  */
431
- createdAt?: Timestamp;
776
+ createdAt?: Timestamp | undefined;
432
777
  };
433
778
  /**
434
779
  * Describes the message agentruntime.v1.AgentRunCheckpoint.
@@ -449,7 +794,7 @@ export type AgentRunWait = Message<"agentruntime.v1.AgentRunWait"> & {
449
794
  /**
450
795
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
451
796
  */
452
- linkage?: AgentRunLinkage;
797
+ linkage?: AgentRunLinkage | undefined;
453
798
  /**
454
799
  * @generated from field: string step_id = 6;
455
800
  */
@@ -469,27 +814,31 @@ export type AgentRunWait = Message<"agentruntime.v1.AgentRunWait"> & {
469
814
  /**
470
815
  * @generated from field: google.protobuf.Struct payload = 10;
471
816
  */
472
- payload?: JsonObject;
817
+ payload?: JsonObject | undefined;
473
818
  /**
474
819
  * @generated from field: google.protobuf.Timestamp created_at = 11;
475
820
  */
476
- createdAt?: Timestamp;
821
+ createdAt?: Timestamp | undefined;
477
822
  /**
478
823
  * @generated from field: google.protobuf.Timestamp resume_after = 12;
479
824
  */
480
- resumeAfter?: Timestamp;
825
+ resumeAfter?: Timestamp | undefined;
481
826
  /**
482
827
  * @generated from field: google.protobuf.Timestamp expires_at = 13;
483
828
  */
484
- expiresAt?: Timestamp;
829
+ expiresAt?: Timestamp | undefined;
485
830
  /**
486
831
  * @generated from field: google.protobuf.Timestamp resolved_at = 14;
487
832
  */
488
- resolvedAt?: Timestamp;
833
+ resolvedAt?: Timestamp | undefined;
489
834
  /**
490
835
  * @generated from field: string resolved_by_event_id = 15;
491
836
  */
492
837
  resolvedByEventId: string;
838
+ /**
839
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 16;
840
+ */
841
+ visibility?: RuntimeVisibilityMetadata | undefined;
493
842
  };
494
843
  /**
495
844
  * Describes the message agentruntime.v1.AgentRunWait.
@@ -509,13 +858,14 @@ export type AgentRunArtifact = Message<"agentruntime.v1.AgentRunArtifact"> & {
509
858
  /**
510
859
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
511
860
  */
512
- linkage?: AgentRunLinkage;
861
+ linkage?: AgentRunLinkage | undefined;
513
862
  /**
514
863
  * @generated from field: string step_id = 6;
515
864
  */
516
865
  stepId: string;
517
866
  /**
518
- * @generated from field: string artifact_type = 7;
867
+ * @generated from field: string artifact_type = 7 [deprecated = true];
868
+ * @deprecated
519
869
  */
520
870
  artifactType: string;
521
871
  /**
@@ -533,11 +883,15 @@ export type AgentRunArtifact = Message<"agentruntime.v1.AgentRunArtifact"> & {
533
883
  /**
534
884
  * @generated from field: google.protobuf.Struct metadata = 11;
535
885
  */
536
- metadata?: JsonObject;
886
+ metadata?: JsonObject | undefined;
537
887
  /**
538
888
  * @generated from field: google.protobuf.Timestamp created_at = 12;
539
889
  */
540
- createdAt?: Timestamp;
890
+ createdAt?: Timestamp | undefined;
891
+ /**
892
+ * @generated from field: agentruntime.v1.AgentRunArtifactKind artifact_kind = 16;
893
+ */
894
+ artifactKind: AgentRunArtifactKind;
541
895
  };
542
896
  /**
543
897
  * Describes the message agentruntime.v1.AgentRunArtifact.
@@ -557,7 +911,7 @@ export type AgentRunCost = Message<"agentruntime.v1.AgentRunCost"> & {
557
911
  /**
558
912
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
559
913
  */
560
- linkage?: AgentRunLinkage;
914
+ linkage?: AgentRunLinkage | undefined;
561
915
  /**
562
916
  * @generated from field: string step_id = 6;
563
917
  */
@@ -597,7 +951,7 @@ export type AgentRunCost = Message<"agentruntime.v1.AgentRunCost"> & {
597
951
  /**
598
952
  * @generated from field: google.protobuf.Timestamp recorded_at = 15;
599
953
  */
600
- recordedAt?: Timestamp;
954
+ recordedAt?: Timestamp | undefined;
601
955
  };
602
956
  /**
603
957
  * Describes the message agentruntime.v1.AgentRunCost.
@@ -617,7 +971,7 @@ export type AgentRunStreamCursor = Message<"agentruntime.v1.AgentRunStreamCursor
617
971
  /**
618
972
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
619
973
  */
620
- linkage?: AgentRunLinkage;
974
+ linkage?: AgentRunLinkage | undefined;
621
975
  /**
622
976
  * @generated from field: string consumer = 4;
623
977
  */
@@ -629,7 +983,7 @@ export type AgentRunStreamCursor = Message<"agentruntime.v1.AgentRunStreamCursor
629
983
  /**
630
984
  * @generated from field: google.protobuf.Timestamp updated_at = 6;
631
985
  */
632
- updatedAt?: Timestamp;
986
+ updatedAt?: Timestamp | undefined;
633
987
  };
634
988
  /**
635
989
  * Describes the message agentruntime.v1.AgentRunStreamCursor.
@@ -666,11 +1020,11 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
666
1020
  /**
667
1021
  * @generated from field: google.protobuf.Struct attributes = 6;
668
1022
  */
669
- attributes?: JsonObject;
1023
+ attributes?: JsonObject | undefined;
670
1024
  /**
671
1025
  * @generated from field: google.protobuf.Timestamp occurred_at = 7;
672
1026
  */
673
- occurredAt?: Timestamp;
1027
+ occurredAt?: Timestamp | undefined;
674
1028
  /**
675
1029
  * @generated from field: string step_id = 11;
676
1030
  */
@@ -694,7 +1048,11 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
694
1048
  /**
695
1049
  * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 16;
696
1050
  */
697
- linkage?: AgentRunLinkage;
1051
+ linkage?: AgentRunLinkage | undefined;
1052
+ /**
1053
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
1054
+ */
1055
+ visibility?: RuntimeVisibilityMetadata | undefined;
698
1056
  };
699
1057
  /**
700
1058
  * Describes the message agentruntime.v1.RuntimeEvent.
@@ -708,7 +1066,7 @@ export type HandleTriggerRequest = Message<"agentruntime.v1.HandleTriggerRequest
708
1066
  /**
709
1067
  * @generated from field: agentruntime.v1.NormalizedTrigger trigger = 1;
710
1068
  */
711
- trigger?: NormalizedTrigger;
1069
+ trigger?: NormalizedTrigger | undefined;
712
1070
  };
713
1071
  /**
714
1072
  * Describes the message agentruntime.v1.HandleTriggerRequest.
@@ -722,7 +1080,7 @@ export type HandleTriggerResponse = Message<"agentruntime.v1.HandleTriggerRespon
722
1080
  /**
723
1081
  * @generated from field: agentruntime.v1.AgentRun run = 1;
724
1082
  */
725
- run?: AgentRun;
1083
+ run?: AgentRun | undefined;
726
1084
  /**
727
1085
  * @generated from field: repeated agentruntime.v1.RuntimeEvent events = 2;
728
1086
  */
@@ -766,11 +1124,11 @@ export type ClaimNextRunResponse = Message<"agentruntime.v1.ClaimNextRunResponse
766
1124
  /**
767
1125
  * @generated from field: agentruntime.v1.AgentRun run = 1;
768
1126
  */
769
- run?: AgentRun;
1127
+ run?: AgentRun | undefined;
770
1128
  /**
771
1129
  * @generated from field: agentruntime.v1.AgentRunLease lease = 2;
772
1130
  */
773
- lease?: AgentRunLease;
1131
+ lease?: AgentRunLease | undefined;
774
1132
  /**
775
1133
  * @generated from field: repeated agentruntime.v1.RuntimeEvent events = 3;
776
1134
  */
@@ -810,15 +1168,15 @@ export type HeartbeatRunResponse = Message<"agentruntime.v1.HeartbeatRunResponse
810
1168
  /**
811
1169
  * @generated from field: agentruntime.v1.AgentRun run = 1;
812
1170
  */
813
- run?: AgentRun;
1171
+ run?: AgentRun | undefined;
814
1172
  /**
815
1173
  * @generated from field: agentruntime.v1.AgentRunLease lease = 2;
816
1174
  */
817
- lease?: AgentRunLease;
1175
+ lease?: AgentRunLease | undefined;
818
1176
  /**
819
1177
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
820
1178
  */
821
- event?: RuntimeEvent;
1179
+ event?: RuntimeEvent | undefined;
822
1180
  };
823
1181
  /**
824
1182
  * Describes the message agentruntime.v1.HeartbeatRunResponse.
@@ -840,7 +1198,7 @@ export type RecordRunStepRequest = Message<"agentruntime.v1.RecordRunStepRequest
840
1198
  /**
841
1199
  * @generated from field: agentruntime.v1.AgentRunStep step = 3;
842
1200
  */
843
- step?: AgentRunStep;
1201
+ step?: AgentRunStep | undefined;
844
1202
  };
845
1203
  /**
846
1204
  * Describes the message agentruntime.v1.RecordRunStepRequest.
@@ -854,15 +1212,15 @@ export type RecordRunStepResponse = Message<"agentruntime.v1.RecordRunStepRespon
854
1212
  /**
855
1213
  * @generated from field: agentruntime.v1.AgentRun run = 1;
856
1214
  */
857
- run?: AgentRun;
1215
+ run?: AgentRun | undefined;
858
1216
  /**
859
1217
  * @generated from field: agentruntime.v1.AgentRunStep step = 2;
860
1218
  */
861
- step?: AgentRunStep;
1219
+ step?: AgentRunStep | undefined;
862
1220
  /**
863
1221
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
864
1222
  */
865
- event?: RuntimeEvent;
1223
+ event?: RuntimeEvent | undefined;
866
1224
  };
867
1225
  /**
868
1226
  * Describes the message agentruntime.v1.RecordRunStepResponse.
@@ -884,7 +1242,7 @@ export type RecordRunCheckpointRequest = Message<"agentruntime.v1.RecordRunCheck
884
1242
  /**
885
1243
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 3;
886
1244
  */
887
- checkpoint?: AgentRunCheckpoint;
1245
+ checkpoint?: AgentRunCheckpoint | undefined;
888
1246
  };
889
1247
  /**
890
1248
  * Describes the message agentruntime.v1.RecordRunCheckpointRequest.
@@ -898,15 +1256,15 @@ export type RecordRunCheckpointResponse = Message<"agentruntime.v1.RecordRunChec
898
1256
  /**
899
1257
  * @generated from field: agentruntime.v1.AgentRun run = 1;
900
1258
  */
901
- run?: AgentRun;
1259
+ run?: AgentRun | undefined;
902
1260
  /**
903
1261
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 2;
904
1262
  */
905
- checkpoint?: AgentRunCheckpoint;
1263
+ checkpoint?: AgentRunCheckpoint | undefined;
906
1264
  /**
907
1265
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
908
1266
  */
909
- event?: RuntimeEvent;
1267
+ event?: RuntimeEvent | undefined;
910
1268
  };
911
1269
  /**
912
1270
  * Describes the message agentruntime.v1.RecordRunCheckpointResponse.
@@ -928,7 +1286,7 @@ export type RecordRunArtifactRequest = Message<"agentruntime.v1.RecordRunArtifac
928
1286
  /**
929
1287
  * @generated from field: agentruntime.v1.AgentRunArtifact artifact = 3;
930
1288
  */
931
- artifact?: AgentRunArtifact;
1289
+ artifact?: AgentRunArtifact | undefined;
932
1290
  };
933
1291
  /**
934
1292
  * Describes the message agentruntime.v1.RecordRunArtifactRequest.
@@ -942,15 +1300,15 @@ export type RecordRunArtifactResponse = Message<"agentruntime.v1.RecordRunArtifa
942
1300
  /**
943
1301
  * @generated from field: agentruntime.v1.AgentRun run = 1;
944
1302
  */
945
- run?: AgentRun;
1303
+ run?: AgentRun | undefined;
946
1304
  /**
947
1305
  * @generated from field: agentruntime.v1.AgentRunArtifact artifact = 2;
948
1306
  */
949
- artifact?: AgentRunArtifact;
1307
+ artifact?: AgentRunArtifact | undefined;
950
1308
  /**
951
1309
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
952
1310
  */
953
- event?: RuntimeEvent;
1311
+ event?: RuntimeEvent | undefined;
954
1312
  };
955
1313
  /**
956
1314
  * Describes the message agentruntime.v1.RecordRunArtifactResponse.
@@ -972,7 +1330,7 @@ export type RecordRunCostRequest = Message<"agentruntime.v1.RecordRunCostRequest
972
1330
  /**
973
1331
  * @generated from field: agentruntime.v1.AgentRunCost cost = 3;
974
1332
  */
975
- cost?: AgentRunCost;
1333
+ cost?: AgentRunCost | undefined;
976
1334
  };
977
1335
  /**
978
1336
  * Describes the message agentruntime.v1.RecordRunCostRequest.
@@ -986,15 +1344,15 @@ export type RecordRunCostResponse = Message<"agentruntime.v1.RecordRunCostRespon
986
1344
  /**
987
1345
  * @generated from field: agentruntime.v1.AgentRun run = 1;
988
1346
  */
989
- run?: AgentRun;
1347
+ run?: AgentRun | undefined;
990
1348
  /**
991
1349
  * @generated from field: agentruntime.v1.AgentRunCost cost = 2;
992
1350
  */
993
- cost?: AgentRunCost;
1351
+ cost?: AgentRunCost | undefined;
994
1352
  /**
995
1353
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
996
1354
  */
997
- event?: RuntimeEvent;
1355
+ event?: RuntimeEvent | undefined;
998
1356
  };
999
1357
  /**
1000
1358
  * Describes the message agentruntime.v1.RecordRunCostResponse.
@@ -1012,7 +1370,7 @@ export type RecordRunStreamCursorRequest = Message<"agentruntime.v1.RecordRunStr
1012
1370
  /**
1013
1371
  * @generated from field: agentruntime.v1.AgentRunStreamCursor cursor = 2;
1014
1372
  */
1015
- cursor?: AgentRunStreamCursor;
1373
+ cursor?: AgentRunStreamCursor | undefined;
1016
1374
  };
1017
1375
  /**
1018
1376
  * Describes the message agentruntime.v1.RecordRunStreamCursorRequest.
@@ -1026,15 +1384,15 @@ export type RecordRunStreamCursorResponse = Message<"agentruntime.v1.RecordRunSt
1026
1384
  /**
1027
1385
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1028
1386
  */
1029
- run?: AgentRun;
1387
+ run?: AgentRun | undefined;
1030
1388
  /**
1031
1389
  * @generated from field: agentruntime.v1.AgentRunStreamCursor cursor = 2;
1032
1390
  */
1033
- cursor?: AgentRunStreamCursor;
1391
+ cursor?: AgentRunStreamCursor | undefined;
1034
1392
  /**
1035
1393
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
1036
1394
  */
1037
- event?: RuntimeEvent;
1395
+ event?: RuntimeEvent | undefined;
1038
1396
  };
1039
1397
  /**
1040
1398
  * Describes the message agentruntime.v1.RecordRunStreamCursorResponse.
@@ -1056,11 +1414,11 @@ export type WaitRunRequest = Message<"agentruntime.v1.WaitRunRequest"> & {
1056
1414
  /**
1057
1415
  * @generated from field: agentruntime.v1.AgentRunWait wait = 3;
1058
1416
  */
1059
- wait?: AgentRunWait;
1417
+ wait?: AgentRunWait | undefined;
1060
1418
  /**
1061
1419
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
1062
1420
  */
1063
- checkpoint?: AgentRunCheckpoint;
1421
+ checkpoint?: AgentRunCheckpoint | undefined;
1064
1422
  };
1065
1423
  /**
1066
1424
  * Describes the message agentruntime.v1.WaitRunRequest.
@@ -1074,19 +1432,19 @@ export type WaitRunResponse = Message<"agentruntime.v1.WaitRunResponse"> & {
1074
1432
  /**
1075
1433
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1076
1434
  */
1077
- run?: AgentRun;
1435
+ run?: AgentRun | undefined;
1078
1436
  /**
1079
1437
  * @generated from field: agentruntime.v1.AgentRunWait wait = 2;
1080
1438
  */
1081
- wait?: AgentRunWait;
1439
+ wait?: AgentRunWait | undefined;
1082
1440
  /**
1083
1441
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 3;
1084
1442
  */
1085
- checkpoint?: AgentRunCheckpoint;
1443
+ checkpoint?: AgentRunCheckpoint | undefined;
1086
1444
  /**
1087
1445
  * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
1088
1446
  */
1089
- event?: RuntimeEvent;
1447
+ event?: RuntimeEvent | undefined;
1090
1448
  };
1091
1449
  /**
1092
1450
  * Describes the message agentruntime.v1.WaitRunResponse.
@@ -1112,7 +1470,7 @@ export type ResumeRunRequest = Message<"agentruntime.v1.ResumeRunRequest"> & {
1112
1470
  /**
1113
1471
  * @generated from field: google.protobuf.Struct payload = 4;
1114
1472
  */
1115
- payload?: JsonObject;
1473
+ payload?: JsonObject | undefined;
1116
1474
  };
1117
1475
  /**
1118
1476
  * Describes the message agentruntime.v1.ResumeRunRequest.
@@ -1126,11 +1484,11 @@ export type ResumeRunResponse = Message<"agentruntime.v1.ResumeRunResponse"> & {
1126
1484
  /**
1127
1485
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1128
1486
  */
1129
- run?: AgentRun;
1487
+ run?: AgentRun | undefined;
1130
1488
  /**
1131
1489
  * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1132
1490
  */
1133
- event?: RuntimeEvent;
1491
+ event?: RuntimeEvent | undefined;
1134
1492
  };
1135
1493
  /**
1136
1494
  * Describes the message agentruntime.v1.ResumeRunResponse.
@@ -1152,11 +1510,11 @@ export type CompleteRunRequest = Message<"agentruntime.v1.CompleteRunRequest"> &
1152
1510
  /**
1153
1511
  * @generated from field: google.protobuf.Struct result = 3;
1154
1512
  */
1155
- result?: JsonObject;
1513
+ result?: JsonObject | undefined;
1156
1514
  /**
1157
1515
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
1158
1516
  */
1159
- checkpoint?: AgentRunCheckpoint;
1517
+ checkpoint?: AgentRunCheckpoint | undefined;
1160
1518
  };
1161
1519
  /**
1162
1520
  * Describes the message agentruntime.v1.CompleteRunRequest.
@@ -1170,15 +1528,15 @@ export type CompleteRunResponse = Message<"agentruntime.v1.CompleteRunResponse">
1170
1528
  /**
1171
1529
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1172
1530
  */
1173
- run?: AgentRun;
1531
+ run?: AgentRun | undefined;
1174
1532
  /**
1175
1533
  * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 2;
1176
1534
  */
1177
- checkpoint?: AgentRunCheckpoint;
1535
+ checkpoint?: AgentRunCheckpoint | undefined;
1178
1536
  /**
1179
1537
  * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
1180
1538
  */
1181
- event?: RuntimeEvent;
1539
+ event?: RuntimeEvent | undefined;
1182
1540
  };
1183
1541
  /**
1184
1542
  * Describes the message agentruntime.v1.CompleteRunResponse.
@@ -1222,11 +1580,11 @@ export type FailRunResponse = Message<"agentruntime.v1.FailRunResponse"> & {
1222
1580
  /**
1223
1581
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1224
1582
  */
1225
- run?: AgentRun;
1583
+ run?: AgentRun | undefined;
1226
1584
  /**
1227
1585
  * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1228
1586
  */
1229
- event?: RuntimeEvent;
1587
+ event?: RuntimeEvent | undefined;
1230
1588
  };
1231
1589
  /**
1232
1590
  * Describes the message agentruntime.v1.FailRunResponse.
@@ -1258,11 +1616,11 @@ export type CancelRunResponse = Message<"agentruntime.v1.CancelRunResponse"> & {
1258
1616
  /**
1259
1617
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1260
1618
  */
1261
- run?: AgentRun;
1619
+ run?: AgentRun | undefined;
1262
1620
  /**
1263
1621
  * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1264
1622
  */
1265
- event?: RuntimeEvent;
1623
+ event?: RuntimeEvent | undefined;
1266
1624
  };
1267
1625
  /**
1268
1626
  * Describes the message agentruntime.v1.CancelRunResponse.
@@ -1298,11 +1656,11 @@ export type RetryRunResponse = Message<"agentruntime.v1.RetryRunResponse"> & {
1298
1656
  /**
1299
1657
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1300
1658
  */
1301
- run?: AgentRun;
1659
+ run?: AgentRun | undefined;
1302
1660
  /**
1303
1661
  * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1304
1662
  */
1305
- event?: RuntimeEvent;
1663
+ event?: RuntimeEvent | undefined;
1306
1664
  };
1307
1665
  /**
1308
1666
  * Describes the message agentruntime.v1.RetryRunResponse.
@@ -1334,11 +1692,11 @@ export type DeadLetterRunResponse = Message<"agentruntime.v1.DeadLetterRunRespon
1334
1692
  /**
1335
1693
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1336
1694
  */
1337
- run?: AgentRun;
1695
+ run?: AgentRun | undefined;
1338
1696
  /**
1339
1697
  * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1340
1698
  */
1341
- event?: RuntimeEvent;
1699
+ event?: RuntimeEvent | undefined;
1342
1700
  };
1343
1701
  /**
1344
1702
  * Describes the message agentruntime.v1.DeadLetterRunResponse.
@@ -1366,7 +1724,7 @@ export type GetRunResponse = Message<"agentruntime.v1.GetRunResponse"> & {
1366
1724
  /**
1367
1725
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1368
1726
  */
1369
- run?: AgentRun;
1727
+ run?: AgentRun | undefined;
1370
1728
  };
1371
1729
  /**
1372
1730
  * Describes the message agentruntime.v1.GetRunResponse.
@@ -1374,253 +1732,1224 @@ export type GetRunResponse = Message<"agentruntime.v1.GetRunResponse"> & {
1374
1732
  */
1375
1733
  export declare const GetRunResponseSchema: GenMessage<GetRunResponse>;
1376
1734
  /**
1377
- * @generated from message agentruntime.v1.ListRunEventsRequest
1735
+ * @generated from message agentruntime.v1.ListRunsByWorkEnvelopeRequest
1378
1736
  */
1379
- export type ListRunEventsRequest = Message<"agentruntime.v1.ListRunEventsRequest"> & {
1737
+ export type ListRunsByWorkEnvelopeRequest = Message<"agentruntime.v1.ListRunsByWorkEnvelopeRequest"> & {
1380
1738
  /**
1381
- * @generated from field: string run_id = 1;
1739
+ * @generated from field: string workspace_id = 1;
1382
1740
  */
1383
- 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;
1384
1750
  };
1385
1751
  /**
1386
- * Describes the message agentruntime.v1.ListRunEventsRequest.
1387
- * Use `create(ListRunEventsRequestSchema)` to create a new message.
1752
+ * Describes the message agentruntime.v1.ListRunsByWorkEnvelopeRequest.
1753
+ * Use `create(ListRunsByWorkEnvelopeRequestSchema)` to create a new message.
1388
1754
  */
1389
- export declare const ListRunEventsRequestSchema: GenMessage<ListRunEventsRequest>;
1755
+ export declare const ListRunsByWorkEnvelopeRequestSchema: GenMessage<ListRunsByWorkEnvelopeRequest>;
1390
1756
  /**
1391
- * @generated from message agentruntime.v1.ListRunEventsResponse
1757
+ * @generated from message agentruntime.v1.ListRunsByWorkEnvelopeResponse
1392
1758
  */
1393
- export type ListRunEventsResponse = Message<"agentruntime.v1.ListRunEventsResponse"> & {
1759
+ export type ListRunsByWorkEnvelopeResponse = Message<"agentruntime.v1.ListRunsByWorkEnvelopeResponse"> & {
1394
1760
  /**
1395
- * @generated from field: repeated agentruntime.v1.RuntimeEvent events = 1;
1761
+ * @generated from field: repeated agentruntime.v1.AgentRun runs = 1;
1396
1762
  */
1397
- events: RuntimeEvent[];
1763
+ runs: AgentRun[];
1398
1764
  };
1399
1765
  /**
1400
- * Describes the message agentruntime.v1.ListRunEventsResponse.
1401
- * Use `create(ListRunEventsResponseSchema)` to create a new message.
1766
+ * Describes the message agentruntime.v1.ListRunsByWorkEnvelopeResponse.
1767
+ * Use `create(ListRunsByWorkEnvelopeResponseSchema)` to create a new message.
1402
1768
  */
1403
- export declare const ListRunEventsResponseSchema: GenMessage<ListRunEventsResponse>;
1769
+ export declare const ListRunsByWorkEnvelopeResponseSchema: GenMessage<ListRunsByWorkEnvelopeResponse>;
1404
1770
  /**
1405
- * AgentRunState describes the runtime lifecycle of one durable attempt.
1406
- *
1407
- * @generated from enum agentruntime.v1.AgentRunState
1771
+ * @generated from message agentruntime.v1.ListRunWaitsRequest
1408
1772
  */
1409
- export declare enum AgentRunState {
1773
+ export type ListRunWaitsRequest = Message<"agentruntime.v1.ListRunWaitsRequest"> & {
1410
1774
  /**
1411
- * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
1775
+ * @generated from field: string workspace_id = 1;
1412
1776
  */
1413
- UNSPECIFIED = 0,
1777
+ workspaceId: string;
1414
1778
  /**
1415
- * @generated from enum value: AGENT_RUN_STATE_ACCEPTED = 1;
1779
+ * @generated from field: string run_id = 2;
1416
1780
  */
1417
- ACCEPTED = 1,
1781
+ runId: string;
1418
1782
  /**
1419
- * @generated from enum value: AGENT_RUN_STATE_QUEUED = 2;
1783
+ * @generated from field: string agent_id = 3;
1420
1784
  */
1421
- QUEUED = 2,
1785
+ agentId: string;
1422
1786
  /**
1423
- * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
1787
+ * @generated from field: string objective_id = 4;
1424
1788
  */
1425
- RUNNING = 3,
1789
+ objectiveId: string;
1426
1790
  /**
1427
- * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
1791
+ * @generated from field: string work_envelope_id = 5;
1428
1792
  */
1429
- WAITING = 4,
1793
+ workEnvelopeId: string;
1430
1794
  /**
1431
- * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
1795
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 6;
1432
1796
  */
1433
- SUCCEEDED = 5,
1797
+ state: AgentRunWaitState;
1434
1798
  /**
1435
- * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
1799
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
1436
1800
  */
1437
- FAILED = 6,
1801
+ type: AgentRunWaitType;
1438
1802
  /**
1439
- * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
1803
+ * @generated from field: agentruntime.v1.RuntimeAudience audience = 8;
1440
1804
  */
1441
- CANCELLED = 7,
1805
+ audience: RuntimeAudience;
1442
1806
  /**
1443
- * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
1807
+ * @generated from field: int32 limit = 9;
1444
1808
  */
1445
- RETRYING = 8,
1809
+ limit: number;
1446
1810
  /**
1447
- * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
1811
+ * @generated from field: string page_token = 10;
1448
1812
  */
1449
- DEAD_LETTERED = 9
1450
- }
1813
+ pageToken: string;
1814
+ };
1451
1815
  /**
1452
- * Describes the enum agentruntime.v1.AgentRunState.
1816
+ * Describes the message agentruntime.v1.ListRunWaitsRequest.
1817
+ * Use `create(ListRunWaitsRequestSchema)` to create a new message.
1453
1818
  */
1454
- export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
1819
+ export declare const ListRunWaitsRequestSchema: GenMessage<ListRunWaitsRequest>;
1455
1820
  /**
1456
- * AgentRunStepState describes progress for a single durable step record.
1457
- *
1458
- * @generated from enum agentruntime.v1.AgentRunStepState
1821
+ * @generated from message agentruntime.v1.AgentRunWaitSummary
1459
1822
  */
1460
- export declare enum AgentRunStepState {
1823
+ export type AgentRunWaitSummary = Message<"agentruntime.v1.AgentRunWaitSummary"> & {
1461
1824
  /**
1462
- * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
1825
+ * @generated from field: string run_id = 1;
1826
+ */
1827
+ runId: string;
1828
+ /**
1829
+ * @generated from field: string wait_id = 2;
1830
+ */
1831
+ waitId: string;
1832
+ /**
1833
+ * @generated from field: string workspace_id = 3;
1834
+ */
1835
+ workspaceId: string;
1836
+ /**
1837
+ * @generated from field: string agent_id = 4;
1838
+ */
1839
+ agentId: string;
1840
+ /**
1841
+ * @generated from field: string objective_id = 5;
1842
+ */
1843
+ objectiveId: string;
1844
+ /**
1845
+ * @generated from field: string step_id = 6;
1846
+ */
1847
+ stepId: string;
1848
+ /**
1849
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
1850
+ */
1851
+ type: AgentRunWaitType;
1852
+ /**
1853
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 8;
1854
+ */
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
+ /**
2195
+ * Describes the enum agentruntime.v1.AgentRunStepState.
2196
+ */
2197
+ export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
2198
+ /**
2199
+ * AgentRunStepKind classifies the durable work represented by a run step.
2200
+ *
2201
+ * @generated from enum agentruntime.v1.AgentRunStepKind
2202
+ */
2203
+ export declare enum AgentRunStepKind {
2204
+ /**
2205
+ * @generated from enum value: AGENT_RUN_STEP_KIND_UNSPECIFIED = 0;
2206
+ */
2207
+ UNSPECIFIED = 0,
2208
+ /**
2209
+ * @generated from enum value: AGENT_RUN_STEP_KIND_MODEL_CALL = 1;
2210
+ */
2211
+ MODEL_CALL = 1,
2212
+ /**
2213
+ * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_CALL_INTENT = 2;
2214
+ */
2215
+ TOOL_CALL_INTENT = 2,
2216
+ /**
2217
+ * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_RESULT = 3;
2218
+ */
2219
+ TOOL_RESULT = 3,
2220
+ /**
2221
+ * @generated from enum value: AGENT_RUN_STEP_KIND_APPROVAL_WAIT = 4;
2222
+ */
2223
+ APPROVAL_WAIT = 4,
2224
+ /**
2225
+ * @generated from enum value: AGENT_RUN_STEP_KIND_ERROR = 5;
2226
+ */
2227
+ ERROR = 5,
2228
+ /**
2229
+ * @generated from enum value: AGENT_RUN_STEP_KIND_SYSTEM = 6;
2230
+ */
2231
+ SYSTEM = 6
2232
+ }
2233
+ /**
2234
+ * Describes the enum agentruntime.v1.AgentRunStepKind.
2235
+ */
2236
+ export declare const AgentRunStepKindSchema: GenEnum<AgentRunStepKind>;
2237
+ /**
2238
+ * AgentRunWaitType describes why a run released its worker lease.
2239
+ *
2240
+ * @generated from enum agentruntime.v1.AgentRunWaitType
2241
+ */
2242
+ export declare enum AgentRunWaitType {
2243
+ /**
2244
+ * @generated from enum value: AGENT_RUN_WAIT_TYPE_UNSPECIFIED = 0;
2245
+ */
2246
+ UNSPECIFIED = 0,
2247
+ /**
2248
+ * @generated from enum value: AGENT_RUN_WAIT_TYPE_APPROVAL = 1;
2249
+ */
2250
+ APPROVAL = 1,
2251
+ /**
2252
+ * @generated from enum value: AGENT_RUN_WAIT_TYPE_INPUT = 2;
2253
+ */
2254
+ INPUT = 2,
2255
+ /**
2256
+ * @generated from enum value: AGENT_RUN_WAIT_TYPE_EVENT = 3;
2257
+ */
2258
+ EVENT = 3,
2259
+ /**
2260
+ * @generated from enum value: AGENT_RUN_WAIT_TYPE_TIMER = 4;
2261
+ */
2262
+ TIMER = 4
2263
+ }
2264
+ /**
2265
+ * Describes the enum agentruntime.v1.AgentRunWaitType.
2266
+ */
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>;
2299
+ /**
2300
+ * AgentRunArtifactKind classifies durable output produced by a run or step.
2301
+ *
2302
+ * @generated from enum agentruntime.v1.AgentRunArtifactKind
2303
+ */
2304
+ export declare enum AgentRunArtifactKind {
2305
+ /**
2306
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_UNSPECIFIED = 0;
2307
+ */
2308
+ UNSPECIFIED = 0,
2309
+ /**
2310
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_TOOL_RESULT = 1;
2311
+ */
2312
+ TOOL_RESULT = 1,
2313
+ /**
2314
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_CHART = 2;
2315
+ */
2316
+ CHART = 2,
2317
+ /**
2318
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_REPORT = 3;
2319
+ */
2320
+ REPORT = 3,
2321
+ /**
2322
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_FILE = 4;
2323
+ */
2324
+ FILE = 4,
2325
+ /**
2326
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_TRANSCRIPT = 5;
2327
+ */
2328
+ TRANSCRIPT = 5,
2329
+ /**
2330
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_APPROVAL_PLAN = 6;
2331
+ */
2332
+ APPROVAL_PLAN = 6,
2333
+ /**
2334
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_SYSTEM = 7;
2335
+ */
2336
+ SYSTEM = 7
2337
+ }
2338
+ /**
2339
+ * Describes the enum agentruntime.v1.AgentRunArtifactKind.
2340
+ */
2341
+ export declare const AgentRunArtifactKindSchema: GenEnum<AgentRunArtifactKind>;
2342
+ /**
2343
+ * RuntimeEventType classifies append-only AgentRun events.
2344
+ *
2345
+ * @generated from enum agentruntime.v1.RuntimeEventType
2346
+ */
2347
+ export declare enum RuntimeEventType {
2348
+ /**
2349
+ * @generated from enum value: RUNTIME_EVENT_TYPE_UNSPECIFIED = 0;
2350
+ */
2351
+ UNSPECIFIED = 0,
2352
+ /**
2353
+ * @generated from enum value: RUNTIME_EVENT_TYPE_TRIGGER_ACCEPTED = 1;
2354
+ */
2355
+ TRIGGER_ACCEPTED = 1,
2356
+ /**
2357
+ * @generated from enum value: RUNTIME_EVENT_TYPE_AGENT_CONFIG_RESOLVED = 2;
2358
+ */
2359
+ AGENT_CONFIG_RESOLVED = 2,
2360
+ /**
2361
+ * @generated from enum value: RUNTIME_EVENT_TYPE_OBJECTIVE_RESOLVED = 3;
2362
+ */
2363
+ OBJECTIVE_RESOLVED = 3,
2364
+ /**
2365
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CONTEXT_BUILT = 4;
2366
+ */
2367
+ CONTEXT_BUILT = 4,
2368
+ /**
2369
+ * @generated from enum value: RUNTIME_EVENT_TYPE_WORKER_DISPATCHED = 5;
2370
+ */
2371
+ WORKER_DISPATCHED = 5,
2372
+ /**
2373
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_FAILED = 6;
2374
+ */
2375
+ RUN_FAILED = 6,
2376
+ /**
2377
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_QUEUED = 7;
2378
+ */
2379
+ RUN_QUEUED = 7,
2380
+ /**
2381
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CLAIMED = 8;
2382
+ */
2383
+ RUN_CLAIMED = 8,
2384
+ /**
2385
+ * @generated from enum value: RUNTIME_EVENT_TYPE_LEASE_HEARTBEAT = 9;
2386
+ */
2387
+ LEASE_HEARTBEAT = 9,
2388
+ /**
2389
+ * @generated from enum value: RUNTIME_EVENT_TYPE_STEP_RECORDED = 10;
2390
+ */
2391
+ STEP_RECORDED = 10,
2392
+ /**
2393
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CHECKPOINT_RECORDED = 11;
2394
+ */
2395
+ CHECKPOINT_RECORDED = 11,
2396
+ /**
2397
+ * @generated from enum value: RUNTIME_EVENT_TYPE_ARTIFACT_RECORDED = 12;
2398
+ */
2399
+ ARTIFACT_RECORDED = 12,
2400
+ /**
2401
+ * @generated from enum value: RUNTIME_EVENT_TYPE_COST_RECORDED = 13;
2402
+ */
2403
+ COST_RECORDED = 13,
2404
+ /**
2405
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_WAITING = 14;
2406
+ */
2407
+ RUN_WAITING = 14,
2408
+ /**
2409
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_RESUMED = 15;
2410
+ */
2411
+ RUN_RESUMED = 15,
2412
+ /**
2413
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_SUCCEEDED = 16;
2414
+ */
2415
+ RUN_SUCCEEDED = 16,
2416
+ /**
2417
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CANCELLED = 17;
2418
+ */
2419
+ RUN_CANCELLED = 17,
2420
+ /**
2421
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_RETRY_SCHEDULED = 18;
2422
+ */
2423
+ RUN_RETRY_SCHEDULED = 18,
2424
+ /**
2425
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_DEAD_LETTERED = 19;
2426
+ */
2427
+ RUN_DEAD_LETTERED = 19,
2428
+ /**
2429
+ * @generated from enum value: RUNTIME_EVENT_TYPE_STREAM_CURSOR_RECORDED = 20;
2430
+ */
2431
+ STREAM_CURSOR_RECORDED = 20
2432
+ }
2433
+ /**
2434
+ * Describes the enum agentruntime.v1.RuntimeEventType.
2435
+ */
2436
+ export declare const RuntimeEventTypeSchema: GenEnum<RuntimeEventType>;
2437
+ /**
2438
+ * RuntimeDependencyStatus describes the readiness of a platform boundary that
2439
+ * contributed context to an AgentRun.
2440
+ *
2441
+ * @generated from enum agentruntime.v1.RuntimeDependencyStatus
2442
+ */
2443
+ export declare enum RuntimeDependencyStatus {
2444
+ /**
2445
+ * @generated from enum value: RUNTIME_DEPENDENCY_STATUS_UNSPECIFIED = 0;
2446
+ */
2447
+ UNSPECIFIED = 0,
2448
+ /**
2449
+ * @generated from enum value: RUNTIME_DEPENDENCY_STATUS_RESOLVED = 1;
2450
+ */
2451
+ RESOLVED = 1,
2452
+ /**
2453
+ * @generated from enum value: RUNTIME_DEPENDENCY_STATUS_NOT_FOUND = 2;
2454
+ */
2455
+ NOT_FOUND = 2,
2456
+ /**
2457
+ * @generated from enum value: RUNTIME_DEPENDENCY_STATUS_NOT_CONFIGURED = 3;
2458
+ */
2459
+ NOT_CONFIGURED = 3,
2460
+ /**
2461
+ * @generated from enum value: RUNTIME_DEPENDENCY_STATUS_LOADED = 4;
2462
+ */
2463
+ LOADED = 4
2464
+ }
2465
+ /**
2466
+ * Describes the enum agentruntime.v1.RuntimeDependencyStatus.
2467
+ */
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>;
2502
+ /**
2503
+ * RuntimeChannelKind classifies the inbound or outbound channel adapter that
2504
+ * owns the human conversation surface for a run.
2505
+ *
2506
+ * @generated from enum agentruntime.v1.RuntimeChannelKind
2507
+ */
2508
+ export declare enum RuntimeChannelKind {
2509
+ /**
2510
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_UNSPECIFIED = 0;
1463
2511
  */
1464
2512
  UNSPECIFIED = 0,
1465
2513
  /**
1466
- * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
2514
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_SLACK = 1;
1467
2515
  */
1468
- PENDING = 1,
2516
+ SLACK = 1,
1469
2517
  /**
1470
- * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
2518
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_WEB = 2;
1471
2519
  */
1472
- RUNNING = 2,
2520
+ WEB = 2,
1473
2521
  /**
1474
- * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
2522
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_API = 3;
1475
2523
  */
1476
- WAITING = 3,
2524
+ API = 3,
1477
2525
  /**
1478
- * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
2526
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_EMAIL = 4;
1479
2527
  */
1480
- SUCCEEDED = 4,
2528
+ EMAIL = 4
2529
+ }
2530
+ /**
2531
+ * Describes the enum agentruntime.v1.RuntimeChannelKind.
2532
+ */
2533
+ export declare const RuntimeChannelKindSchema: GenEnum<RuntimeChannelKind>;
2534
+ /**
2535
+ * RuntimeTriggerKind classifies the normalized source event that started or
2536
+ * resumed a run. The legacy string source_event_type remains for compatibility
2537
+ * with early producers and arbitrary integration event names.
2538
+ *
2539
+ * @generated from enum agentruntime.v1.RuntimeTriggerKind
2540
+ */
2541
+ export declare enum RuntimeTriggerKind {
1481
2542
  /**
1482
- * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
2543
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_UNSPECIFIED = 0;
1483
2544
  */
1484
- FAILED = 5,
2545
+ UNSPECIFIED = 0,
1485
2546
  /**
1486
- * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
2547
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_APP_MENTION = 1;
1487
2548
  */
1488
- CANCELLED = 6,
2549
+ SLACK_APP_MENTION = 1,
1489
2550
  /**
1490
- * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
2551
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_DIRECT_MESSAGE = 2;
1491
2552
  */
1492
- SKIPPED = 7
2553
+ SLACK_DIRECT_MESSAGE = 2,
2554
+ /**
2555
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_SLASH_COMMAND = 3;
2556
+ */
2557
+ SLACK_SLASH_COMMAND = 3,
2558
+ /**
2559
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_ACTION = 4;
2560
+ */
2561
+ SLACK_ACTION = 4,
2562
+ /**
2563
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_THREAD_CONTINUATION = 5;
2564
+ */
2565
+ SLACK_THREAD_CONTINUATION = 5,
2566
+ /**
2567
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SLACK_EVENT = 6;
2568
+ */
2569
+ SLACK_EVENT = 6,
2570
+ /**
2571
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_ENSEMBLE_WEB_MESSAGE = 7;
2572
+ */
2573
+ ENSEMBLE_WEB_MESSAGE = 7,
2574
+ /**
2575
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_ENSEMBLE_WEBHOOK_EVENT = 8;
2576
+ */
2577
+ ENSEMBLE_WEBHOOK_EVENT = 8,
2578
+ /**
2579
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_SCHEDULE = 9;
2580
+ */
2581
+ SCHEDULE = 9,
2582
+ /**
2583
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_EMAIL = 10;
2584
+ */
2585
+ EMAIL = 10,
2586
+ /**
2587
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_API = 11;
2588
+ */
2589
+ API = 11,
2590
+ /**
2591
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_WEB = 12;
2592
+ */
2593
+ WEB = 12
1493
2594
  }
1494
2595
  /**
1495
- * Describes the enum agentruntime.v1.AgentRunStepState.
2596
+ * Describes the enum agentruntime.v1.RuntimeTriggerKind.
1496
2597
  */
1497
- export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
2598
+ export declare const RuntimeTriggerKindSchema: GenEnum<RuntimeTriggerKind>;
1498
2599
  /**
1499
- * AgentRunWaitType describes why a run released its worker lease.
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.
1500
2603
  *
1501
- * @generated from enum agentruntime.v1.AgentRunWaitType
2604
+ * @generated from enum agentruntime.v1.RuntimeVisibilityLevel
1502
2605
  */
1503
- export declare enum AgentRunWaitType {
2606
+ export declare enum RuntimeVisibilityLevel {
1504
2607
  /**
1505
- * @generated from enum value: AGENT_RUN_WAIT_TYPE_UNSPECIFIED = 0;
2608
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_UNSPECIFIED = 0;
1506
2609
  */
1507
2610
  UNSPECIFIED = 0,
1508
2611
  /**
1509
- * @generated from enum value: AGENT_RUN_WAIT_TYPE_APPROVAL = 1;
2612
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_AGENT_ONLY = 1;
1510
2613
  */
1511
- APPROVAL = 1,
2614
+ AGENT_ONLY = 1,
1512
2615
  /**
1513
- * @generated from enum value: AGENT_RUN_WAIT_TYPE_INPUT = 2;
2616
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_USER_VISIBLE = 2;
1514
2617
  */
1515
- INPUT = 2,
2618
+ USER_VISIBLE = 2,
1516
2619
  /**
1517
- * @generated from enum value: AGENT_RUN_WAIT_TYPE_EVENT = 3;
2620
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_CHANNEL_VISIBLE = 3;
1518
2621
  */
1519
- EVENT = 3,
2622
+ CHANNEL_VISIBLE = 3,
1520
2623
  /**
1521
- * @generated from enum value: AGENT_RUN_WAIT_TYPE_TIMER = 4;
2624
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_ADMIN_VISIBLE = 4;
1522
2625
  */
1523
- TIMER = 4
2626
+ ADMIN_VISIBLE = 4,
2627
+ /**
2628
+ * @generated from enum value: RUNTIME_VISIBILITY_LEVEL_AUDIT_ONLY = 5;
2629
+ */
2630
+ AUDIT_ONLY = 5
1524
2631
  }
1525
2632
  /**
1526
- * Describes the enum agentruntime.v1.AgentRunWaitType.
2633
+ * Describes the enum agentruntime.v1.RuntimeVisibilityLevel.
1527
2634
  */
1528
- export declare const AgentRunWaitTypeSchema: GenEnum<AgentRunWaitType>;
2635
+ export declare const RuntimeVisibilityLevelSchema: GenEnum<RuntimeVisibilityLevel>;
1529
2636
  /**
1530
- * RuntimeEventType classifies append-only AgentRun events.
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.
1531
2640
  *
1532
- * @generated from enum agentruntime.v1.RuntimeEventType
2641
+ * @generated from enum agentruntime.v1.RuntimeAudience
1533
2642
  */
1534
- export declare enum RuntimeEventType {
2643
+ export declare enum RuntimeAudience {
1535
2644
  /**
1536
- * @generated from enum value: RUNTIME_EVENT_TYPE_UNSPECIFIED = 0;
2645
+ * @generated from enum value: RUNTIME_AUDIENCE_UNSPECIFIED = 0;
1537
2646
  */
1538
2647
  UNSPECIFIED = 0,
1539
2648
  /**
1540
- * @generated from enum value: RUNTIME_EVENT_TYPE_TRIGGER_ACCEPTED = 1;
2649
+ * @generated from enum value: RUNTIME_AUDIENCE_AGENT = 1;
1541
2650
  */
1542
- TRIGGER_ACCEPTED = 1,
2651
+ AGENT = 1,
1543
2652
  /**
1544
- * @generated from enum value: RUNTIME_EVENT_TYPE_AGENT_CONFIG_RESOLVED = 2;
2653
+ * @generated from enum value: RUNTIME_AUDIENCE_TRIGGER_ACTOR = 2;
1545
2654
  */
1546
- AGENT_CONFIG_RESOLVED = 2,
2655
+ TRIGGER_ACTOR = 2,
1547
2656
  /**
1548
- * @generated from enum value: RUNTIME_EVENT_TYPE_OBJECTIVE_RESOLVED = 3;
2657
+ * @generated from enum value: RUNTIME_AUDIENCE_CHANNEL = 3;
1549
2658
  */
1550
- OBJECTIVE_RESOLVED = 3,
2659
+ CHANNEL = 3,
1551
2660
  /**
1552
- * @generated from enum value: RUNTIME_EVENT_TYPE_CONTEXT_BUILT = 4;
2661
+ * @generated from enum value: RUNTIME_AUDIENCE_WORKSPACE_ADMINS = 4;
1553
2662
  */
1554
- CONTEXT_BUILT = 4,
2663
+ WORKSPACE_ADMINS = 4,
1555
2664
  /**
1556
- * @generated from enum value: RUNTIME_EVENT_TYPE_WORKER_DISPATCHED = 5;
2665
+ * @generated from enum value: RUNTIME_AUDIENCE_AUDIT = 5;
1557
2666
  */
1558
- WORKER_DISPATCHED = 5,
2667
+ AUDIT = 5,
1559
2668
  /**
1560
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_FAILED = 6;
2669
+ * @generated from enum value: RUNTIME_AUDIENCE_SYSTEM = 6;
1561
2670
  */
1562
- RUN_FAILED = 6,
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 {
1563
2684
  /**
1564
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_QUEUED = 7;
2685
+ * @generated from enum value: CHANNEL_ACTION_KIND_UNSPECIFIED = 0;
1565
2686
  */
1566
- RUN_QUEUED = 7,
2687
+ UNSPECIFIED = 0,
1567
2688
  /**
1568
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CLAIMED = 8;
2689
+ * @generated from enum value: CHANNEL_ACTION_KIND_APPROVAL_DECISION = 1;
1569
2690
  */
1570
- RUN_CLAIMED = 8,
2691
+ APPROVAL_DECISION = 1,
1571
2692
  /**
1572
- * @generated from enum value: RUNTIME_EVENT_TYPE_LEASE_HEARTBEAT = 9;
2693
+ * @generated from enum value: CHANNEL_ACTION_KIND_WAIT_RESUME = 2;
1573
2694
  */
1574
- LEASE_HEARTBEAT = 9,
2695
+ WAIT_RESUME = 2,
1575
2696
  /**
1576
- * @generated from enum value: RUNTIME_EVENT_TYPE_STEP_RECORDED = 10;
2697
+ * @generated from enum value: CHANNEL_ACTION_KIND_OBJECTIVE_CONTROL = 3;
1577
2698
  */
1578
- STEP_RECORDED = 10,
2699
+ OBJECTIVE_CONTROL = 3,
1579
2700
  /**
1580
- * @generated from enum value: RUNTIME_EVENT_TYPE_CHECKPOINT_RECORDED = 11;
2701
+ * @generated from enum value: CHANNEL_ACTION_KIND_MEMORY_DECISION = 4;
1581
2702
  */
1582
- CHECKPOINT_RECORDED = 11,
2703
+ MEMORY_DECISION = 4,
1583
2704
  /**
1584
- * @generated from enum value: RUNTIME_EVENT_TYPE_ARTIFACT_RECORDED = 12;
2705
+ * @generated from enum value: CHANNEL_ACTION_KIND_OPS_COMMAND = 5;
1585
2706
  */
1586
- ARTIFACT_RECORDED = 12,
2707
+ OPS_COMMAND = 5,
1587
2708
  /**
1588
- * @generated from enum value: RUNTIME_EVENT_TYPE_COST_RECORDED = 13;
2709
+ * @generated from enum value: CHANNEL_ACTION_KIND_GENERIC = 6;
1589
2710
  */
1590
- COST_RECORDED = 13,
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 {
1591
2724
  /**
1592
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_WAITING = 14;
2725
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_UNSPECIFIED = 0;
1593
2726
  */
1594
- RUN_WAITING = 14,
2727
+ UNSPECIFIED = 0,
1595
2728
  /**
1596
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_RESUMED = 15;
2729
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_RUN = 1;
1597
2730
  */
1598
- RUN_RESUMED = 15,
2731
+ RUN = 1,
1599
2732
  /**
1600
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_SUCCEEDED = 16;
2733
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_WAIT = 2;
1601
2734
  */
1602
- RUN_SUCCEEDED = 16,
2735
+ WAIT = 2,
1603
2736
  /**
1604
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CANCELLED = 17;
2737
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_APPROVAL = 3;
1605
2738
  */
1606
- RUN_CANCELLED = 17,
2739
+ APPROVAL = 3,
1607
2740
  /**
1608
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_RETRY_SCHEDULED = 18;
2741
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_OBJECTIVE = 4;
1609
2742
  */
1610
- RUN_RETRY_SCHEDULED = 18,
2743
+ OBJECTIVE = 4,
1611
2744
  /**
1612
- * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_DEAD_LETTERED = 19;
2745
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_ARTIFACT = 5;
1613
2746
  */
1614
- RUN_DEAD_LETTERED = 19,
2747
+ ARTIFACT = 5,
1615
2748
  /**
1616
- * @generated from enum value: RUNTIME_EVENT_TYPE_STREAM_CURSOR_RECORDED = 20;
2749
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_MEMORY_CANDIDATE = 6;
1617
2750
  */
1618
- STREAM_CURSOR_RECORDED = 20
2751
+ MEMORY_CANDIDATE = 6,
2752
+ /**
2753
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_TOOL_EXECUTION = 7;
2754
+ */
2755
+ TOOL_EXECUTION = 7
1619
2756
  }
1620
2757
  /**
1621
- * Describes the enum agentruntime.v1.RuntimeEventType.
2758
+ * Describes the enum agentruntime.v1.ChannelActionTargetKind.
1622
2759
  */
1623
- export declare const RuntimeEventTypeSchema: GenEnum<RuntimeEventType>;
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>;
1624
2953
  /**
1625
2954
  * AgentRuntimeService accepts normalized triggers and manages durable
1626
2955
  * AgentRun execution attempts. Workers claim runs by lease, checkpoint their
@@ -1796,6 +3125,62 @@ export declare const AgentRuntimeService: GenService<{
1796
3125
  input: typeof GetRunRequestSchema;
1797
3126
  output: typeof GetRunResponseSchema;
1798
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
+ };
1799
3184
  /**
1800
3185
  * ListRunEvents returns the append-only event log for an AgentRun.
1801
3186
  *