@evalops/sdk-ts 0.1.103 → 0.1.105

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.
@@ -112,6 +112,221 @@ export type RuntimeWorkEnvelope = Message<"agentruntime.v1.RuntimeWorkEnvelope">
112
112
  * Use `create(RuntimeWorkEnvelopeSchema)` to create a new message.
113
113
  */
114
114
  export declare const RuntimeWorkEnvelopeSchema: GenMessage<RuntimeWorkEnvelope>;
115
+ /**
116
+ * RuntimeProactiveSourceEvent identifies the upstream event that caused a
117
+ * proactive trigger candidate without copying the full source payload into the
118
+ * runtime record.
119
+ *
120
+ * @generated from message agentruntime.v1.RuntimeProactiveSourceEvent
121
+ */
122
+ export type RuntimeProactiveSourceEvent = Message<"agentruntime.v1.RuntimeProactiveSourceEvent"> & {
123
+ /**
124
+ * @generated from field: string stream = 1;
125
+ */
126
+ stream: string;
127
+ /**
128
+ * @generated from field: string subject = 2;
129
+ */
130
+ subject: string;
131
+ /**
132
+ * @generated from field: uint64 sequence = 3;
133
+ */
134
+ sequence: bigint;
135
+ /**
136
+ * @generated from field: string event_id = 4;
137
+ */
138
+ eventId: string;
139
+ /**
140
+ * @generated from field: string event_family = 5;
141
+ */
142
+ eventFamily: string;
143
+ /**
144
+ * @generated from field: string event_type = 6;
145
+ */
146
+ eventType: string;
147
+ /**
148
+ * @generated from field: string provider_object_id = 7;
149
+ */
150
+ providerObjectId: string;
151
+ };
152
+ /**
153
+ * Describes the message agentruntime.v1.RuntimeProactiveSourceEvent.
154
+ * Use `create(RuntimeProactiveSourceEventSchema)` to create a new message.
155
+ */
156
+ export declare const RuntimeProactiveSourceEventSchema: GenMessage<RuntimeProactiveSourceEvent>;
157
+ /**
158
+ * RuntimeProactivePolicy carries teammate/channel wake controls in the same
159
+ * trigger contract that AgentRuntime admission evaluates.
160
+ *
161
+ * @generated from message agentruntime.v1.RuntimeProactivePolicy
162
+ */
163
+ export type RuntimeProactivePolicy = Message<"agentruntime.v1.RuntimeProactivePolicy"> & {
164
+ /**
165
+ * @generated from field: optional bool wake_enabled = 1;
166
+ */
167
+ wakeEnabled?: boolean | undefined;
168
+ /**
169
+ * @generated from field: repeated string trigger_kinds = 2;
170
+ */
171
+ triggerKinds: string[];
172
+ /**
173
+ * @generated from field: bool allow_customer_facing = 3;
174
+ */
175
+ allowCustomerFacing: boolean;
176
+ /**
177
+ * @generated from field: bool post_run_started = 4;
178
+ */
179
+ postRunStarted: boolean;
180
+ };
181
+ /**
182
+ * Describes the message agentruntime.v1.RuntimeProactivePolicy.
183
+ * Use `create(RuntimeProactivePolicySchema)` to create a new message.
184
+ */
185
+ export declare const RuntimeProactivePolicySchema: GenMessage<RuntimeProactivePolicy>;
186
+ /**
187
+ * RuntimeSourceHealthSummary is the compact source-health projection used by
188
+ * proactive runtime context. Cerebro remains the source of truth for detailed
189
+ * health records.
190
+ *
191
+ * @generated from message agentruntime.v1.RuntimeSourceHealthSummary
192
+ */
193
+ export type RuntimeSourceHealthSummary = Message<"agentruntime.v1.RuntimeSourceHealthSummary"> & {
194
+ /**
195
+ * @generated from field: string status = 1;
196
+ */
197
+ status: string;
198
+ /**
199
+ * @generated from field: repeated string checked_sources = 2;
200
+ */
201
+ checkedSources: string[];
202
+ /**
203
+ * @generated from field: repeated string stale_sources = 3;
204
+ */
205
+ staleSources: string[];
206
+ /**
207
+ * @generated from field: string summary = 4;
208
+ */
209
+ summary: string;
210
+ };
211
+ /**
212
+ * Describes the message agentruntime.v1.RuntimeSourceHealthSummary.
213
+ * Use `create(RuntimeSourceHealthSummarySchema)` to create a new message.
214
+ */
215
+ export declare const RuntimeSourceHealthSummarySchema: GenMessage<RuntimeSourceHealthSummary>;
216
+ /**
217
+ * RuntimeCerebroFactsContext carries the identifiers and retrieval counts that
218
+ * let AgentRuntime, Ensemble, and operators trace a proactive run back to
219
+ * Cerebro without parsing payload maps.
220
+ *
221
+ * @generated from message agentruntime.v1.RuntimeCerebroFactsContext
222
+ */
223
+ export type RuntimeCerebroFactsContext = Message<"agentruntime.v1.RuntimeCerebroFactsContext"> & {
224
+ /**
225
+ * @generated from field: string provider = 1;
226
+ */
227
+ provider: string;
228
+ /**
229
+ * @generated from field: string workspace_id = 2;
230
+ */
231
+ workspaceId: string;
232
+ /**
233
+ * @generated from field: string query = 3;
234
+ */
235
+ query: string;
236
+ /**
237
+ * @generated from field: repeated string thing_ids = 4;
238
+ */
239
+ thingIds: string[];
240
+ /**
241
+ * @generated from field: repeated string fact_ids = 5;
242
+ */
243
+ factIds: string[];
244
+ /**
245
+ * @generated from field: repeated string event_ids = 6;
246
+ */
247
+ eventIds: string[];
248
+ /**
249
+ * @generated from field: agentruntime.v1.RuntimeSourceHealthSummary source_health_summary = 7;
250
+ */
251
+ sourceHealthSummary?: RuntimeSourceHealthSummary | undefined;
252
+ /**
253
+ * @generated from field: string belief_debug_summary = 8;
254
+ */
255
+ beliefDebugSummary: string;
256
+ /**
257
+ * @generated from field: string rollout_id = 9;
258
+ */
259
+ rolloutId: string;
260
+ /**
261
+ * @generated from field: string rollout_summary = 10;
262
+ */
263
+ rolloutSummary: string;
264
+ /**
265
+ * @generated from field: string rollout_result = 11;
266
+ */
267
+ rolloutResult: string;
268
+ /**
269
+ * @generated from field: map<string, int64> retrieval_counts = 12;
270
+ */
271
+ retrievalCounts: {
272
+ [key: string]: bigint;
273
+ };
274
+ };
275
+ /**
276
+ * Describes the message agentruntime.v1.RuntimeCerebroFactsContext.
277
+ * Use `create(RuntimeCerebroFactsContextSchema)` to create a new message.
278
+ */
279
+ export declare const RuntimeCerebroFactsContextSchema: GenMessage<RuntimeCerebroFactsContext>;
280
+ /**
281
+ * RuntimeProactiveContext is the first-class proactive trigger envelope. It
282
+ * keeps event identity, policy hints, risk hints, and Cerebro context out of
283
+ * ad hoc trigger payload conventions.
284
+ *
285
+ * @generated from message agentruntime.v1.RuntimeProactiveContext
286
+ */
287
+ export type RuntimeProactiveContext = Message<"agentruntime.v1.RuntimeProactiveContext"> & {
288
+ /**
289
+ * @generated from field: bool proactive_runtime = 1;
290
+ */
291
+ proactiveRuntime: boolean;
292
+ /**
293
+ * @generated from field: string proactive_ingest = 2;
294
+ */
295
+ proactiveIngest: string;
296
+ /**
297
+ * @generated from field: agentruntime.v1.RuntimeProactiveSourceEvent source_event = 3;
298
+ */
299
+ sourceEvent?: RuntimeProactiveSourceEvent | undefined;
300
+ /**
301
+ * @generated from field: repeated string thing_ids = 4;
302
+ */
303
+ thingIds: string[];
304
+ /**
305
+ * @generated from field: string action_class = 5;
306
+ */
307
+ actionClass: string;
308
+ /**
309
+ * @generated from field: string risk_level = 6;
310
+ */
311
+ riskLevel: string;
312
+ /**
313
+ * @generated from field: bool external_side_effect = 7;
314
+ */
315
+ externalSideEffect: boolean;
316
+ /**
317
+ * @generated from field: agentruntime.v1.RuntimeCerebroFactsContext facts_context = 8;
318
+ */
319
+ factsContext?: RuntimeCerebroFactsContext | undefined;
320
+ /**
321
+ * @generated from field: agentruntime.v1.RuntimeProactivePolicy policy = 9;
322
+ */
323
+ policy?: RuntimeProactivePolicy | undefined;
324
+ };
325
+ /**
326
+ * Describes the message agentruntime.v1.RuntimeProactiveContext.
327
+ * Use `create(RuntimeProactiveContextSchema)` to create a new message.
328
+ */
329
+ export declare const RuntimeProactiveContextSchema: GenMessage<RuntimeProactiveContext>;
115
330
  /**
116
331
  * RuntimeRedaction records one projected field or payload category that has
117
332
  * been redacted for channel/user display.
@@ -420,6 +635,10 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
420
635
  * @generated from field: codex.v1.CodexWorkRequest codex_work = 16;
421
636
  */
422
637
  codexWork?: CodexWorkRequest | undefined;
638
+ /**
639
+ * @generated from field: agentruntime.v1.RuntimeProactiveContext proactive_context = 17;
640
+ */
641
+ proactiveContext?: RuntimeProactiveContext | undefined;
423
642
  };
424
643
  /**
425
644
  * Describes the message agentruntime.v1.NormalizedTrigger.
@@ -1042,6 +1261,10 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
1042
1261
  * @generated from field: agentruntime.v1.RuntimeTraceContext trace_context = 34;
1043
1262
  */
1044
1263
  traceContext?: RuntimeTraceContext | undefined;
1264
+ /**
1265
+ * @generated from field: string autonomy_session_id = 35;
1266
+ */
1267
+ autonomySessionId: string;
1045
1268
  };
1046
1269
  /**
1047
1270
  * Describes the message agentruntime.v1.AgentRun.
@@ -1513,6 +1736,209 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
1513
1736
  * Use `create(RuntimeEventSchema)` to create a new message.
1514
1737
  */
1515
1738
  export declare const RuntimeEventSchema: GenMessage<RuntimeEvent>;
1739
+ /**
1740
+ * AgentAutonomySession is the durable teammate session projected over one
1741
+ * objective/work envelope. Platform owns this identity so Slack can wake,
1742
+ * steer, or inspect the same autonomous worker without becoming the run loop.
1743
+ *
1744
+ * @generated from message agentruntime.v1.AgentAutonomySession
1745
+ */
1746
+ export type AgentAutonomySession = Message<"agentruntime.v1.AgentAutonomySession"> & {
1747
+ /**
1748
+ * @generated from field: string id = 1;
1749
+ */
1750
+ id: string;
1751
+ /**
1752
+ * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
1753
+ */
1754
+ linkage?: AgentRunLinkage | undefined;
1755
+ /**
1756
+ * @generated from field: string work_envelope_id = 3;
1757
+ */
1758
+ workEnvelopeId: string;
1759
+ /**
1760
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelopeKind work_envelope_kind = 4;
1761
+ */
1762
+ workEnvelopeKind: RuntimeWorkEnvelopeKind;
1763
+ /**
1764
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 5;
1765
+ */
1766
+ channelContext?: RuntimeChannelContext | undefined;
1767
+ /**
1768
+ * @generated from field: agentruntime.v1.AutonomySessionState state = 6;
1769
+ */
1770
+ state: AutonomySessionState;
1771
+ /**
1772
+ * @generated from field: agentruntime.v1.AutonomyProcessingState processing_state = 7;
1773
+ */
1774
+ processingState: AutonomyProcessingState;
1775
+ /**
1776
+ * @generated from field: string processing_summary = 8;
1777
+ */
1778
+ processingSummary: string;
1779
+ /**
1780
+ * @generated from field: string root_run_id = 9;
1781
+ */
1782
+ rootRunId: string;
1783
+ /**
1784
+ * @generated from field: string active_run_id = 10;
1785
+ */
1786
+ activeRunId: string;
1787
+ /**
1788
+ * @generated from field: string current_goal = 11;
1789
+ */
1790
+ currentGoal: string;
1791
+ /**
1792
+ * @generated from field: string next_action = 12;
1793
+ */
1794
+ nextAction: string;
1795
+ /**
1796
+ * @generated from field: string blocker = 13;
1797
+ */
1798
+ blocker: string;
1799
+ /**
1800
+ * @generated from field: string processing_message_ts = 14;
1801
+ */
1802
+ processingMessageTs: string;
1803
+ /**
1804
+ * @generated from field: string assistant_stream_ts = 15;
1805
+ */
1806
+ assistantStreamTs: string;
1807
+ /**
1808
+ * @generated from field: string last_presence_event_id = 16;
1809
+ */
1810
+ lastPresenceEventId: string;
1811
+ /**
1812
+ * @generated from field: google.protobuf.Timestamp last_presence_update_at = 17;
1813
+ */
1814
+ lastPresenceUpdateAt?: Timestamp | undefined;
1815
+ /**
1816
+ * @generated from field: bool final_response_pending = 18;
1817
+ */
1818
+ finalResponsePending: boolean;
1819
+ /**
1820
+ * @generated from field: google.protobuf.Timestamp created_at = 19;
1821
+ */
1822
+ createdAt?: Timestamp | undefined;
1823
+ /**
1824
+ * @generated from field: google.protobuf.Timestamp updated_at = 20;
1825
+ */
1826
+ updatedAt?: Timestamp | undefined;
1827
+ };
1828
+ /**
1829
+ * Describes the message agentruntime.v1.AgentAutonomySession.
1830
+ * Use `create(AgentAutonomySessionSchema)` to create a new message.
1831
+ */
1832
+ export declare const AgentAutonomySessionSchema: GenMessage<AgentAutonomySession>;
1833
+ /**
1834
+ * AgentWorkItem is one node in the autonomous work graph. Workers and
1835
+ * reconcilers mutate this typed record directly; VFS ledgers are projections.
1836
+ *
1837
+ * @generated from message agentruntime.v1.AgentWorkItem
1838
+ */
1839
+ export type AgentWorkItem = Message<"agentruntime.v1.AgentWorkItem"> & {
1840
+ /**
1841
+ * @generated from field: string id = 1;
1842
+ */
1843
+ id: string;
1844
+ /**
1845
+ * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
1846
+ */
1847
+ linkage?: AgentRunLinkage | undefined;
1848
+ /**
1849
+ * @generated from field: string autonomy_session_id = 3;
1850
+ */
1851
+ autonomySessionId: string;
1852
+ /**
1853
+ * @generated from field: string run_id = 4;
1854
+ */
1855
+ runId: string;
1856
+ /**
1857
+ * @generated from field: string work_envelope_id = 5;
1858
+ */
1859
+ workEnvelopeId: string;
1860
+ /**
1861
+ * @generated from field: string parent_work_item_id = 6;
1862
+ */
1863
+ parentWorkItemId: string;
1864
+ /**
1865
+ * @generated from field: string owner_child_run_id = 7;
1866
+ */
1867
+ ownerChildRunId: string;
1868
+ /**
1869
+ * @generated from field: agentruntime.v1.AgentWorkItemKind kind = 8;
1870
+ */
1871
+ kind: AgentWorkItemKind;
1872
+ /**
1873
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 9;
1874
+ */
1875
+ state: AgentWorkItemState;
1876
+ /**
1877
+ * @generated from field: string title = 10;
1878
+ */
1879
+ title: string;
1880
+ /**
1881
+ * @generated from field: string goal = 11;
1882
+ */
1883
+ goal: string;
1884
+ /**
1885
+ * @generated from field: string next_action = 12;
1886
+ */
1887
+ nextAction: string;
1888
+ /**
1889
+ * @generated from field: string blocker = 13;
1890
+ */
1891
+ blocker: string;
1892
+ /**
1893
+ * @generated from field: string wait_id = 14;
1894
+ */
1895
+ waitId: string;
1896
+ /**
1897
+ * @generated from field: string tool_execution_id = 15;
1898
+ */
1899
+ toolExecutionId: string;
1900
+ /**
1901
+ * @generated from field: repeated string evidence_refs = 16;
1902
+ */
1903
+ evidenceRefs: string[];
1904
+ /**
1905
+ * @generated from field: string completion_gate = 17;
1906
+ */
1907
+ completionGate: string;
1908
+ /**
1909
+ * @generated from field: google.protobuf.Struct payload = 18;
1910
+ */
1911
+ payload?: JsonObject | undefined;
1912
+ /**
1913
+ * @generated from field: google.protobuf.Timestamp created_at = 19;
1914
+ */
1915
+ createdAt?: Timestamp | undefined;
1916
+ /**
1917
+ * @generated from field: google.protobuf.Timestamp updated_at = 20;
1918
+ */
1919
+ updatedAt?: Timestamp | undefined;
1920
+ /**
1921
+ * @generated from field: google.protobuf.Timestamp started_at = 21;
1922
+ */
1923
+ startedAt?: Timestamp | undefined;
1924
+ /**
1925
+ * @generated from field: google.protobuf.Timestamp completed_at = 22;
1926
+ */
1927
+ completedAt?: Timestamp | undefined;
1928
+ /**
1929
+ * @generated from field: google.protobuf.Timestamp failed_at = 23;
1930
+ */
1931
+ failedAt?: Timestamp | undefined;
1932
+ /**
1933
+ * @generated from field: google.protobuf.Timestamp cancelled_at = 24;
1934
+ */
1935
+ cancelledAt?: Timestamp | undefined;
1936
+ };
1937
+ /**
1938
+ * Describes the message agentruntime.v1.AgentWorkItem.
1939
+ * Use `create(AgentWorkItemSchema)` to create a new message.
1940
+ */
1941
+ export declare const AgentWorkItemSchema: GenMessage<AgentWorkItem>;
1516
1942
  /**
1517
1943
  * @generated from message agentruntime.v1.HandleTriggerRequest
1518
1944
  */
@@ -1910,65 +2336,397 @@ export type RecordRunEventRequest = Message<"agentruntime.v1.RecordRunEventReque
1910
2336
  */
1911
2337
  runId: string;
1912
2338
  /**
1913
- * @generated from field: agentruntime.v1.RuntimeEventType type = 2;
1914
- */
1915
- type: RuntimeEventType;
1916
- /**
1917
- * @generated from field: string message = 3;
2339
+ * @generated from field: agentruntime.v1.RuntimeEventType type = 2;
2340
+ */
2341
+ type: RuntimeEventType;
2342
+ /**
2343
+ * @generated from field: string message = 3;
2344
+ */
2345
+ message: string;
2346
+ /**
2347
+ * @generated from field: google.protobuf.Struct attributes = 4;
2348
+ */
2349
+ attributes?: JsonObject | undefined;
2350
+ /**
2351
+ * @generated from field: string step_id = 5;
2352
+ */
2353
+ stepId: string;
2354
+ /**
2355
+ * @generated from field: string checkpoint_id = 6;
2356
+ */
2357
+ checkpointId: string;
2358
+ /**
2359
+ * @generated from field: string artifact_id = 7;
2360
+ */
2361
+ artifactId: string;
2362
+ /**
2363
+ * @generated from field: string cost_id = 8;
2364
+ */
2365
+ costId: string;
2366
+ /**
2367
+ * @generated from field: string wait_id = 9;
2368
+ */
2369
+ waitId: string;
2370
+ /**
2371
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 10;
2372
+ */
2373
+ visibility?: RuntimeVisibilityMetadata | undefined;
2374
+ };
2375
+ /**
2376
+ * Describes the message agentruntime.v1.RecordRunEventRequest.
2377
+ * Use `create(RecordRunEventRequestSchema)` to create a new message.
2378
+ */
2379
+ export declare const RecordRunEventRequestSchema: GenMessage<RecordRunEventRequest>;
2380
+ /**
2381
+ * @generated from message agentruntime.v1.RecordRunEventResponse
2382
+ */
2383
+ export type RecordRunEventResponse = Message<"agentruntime.v1.RecordRunEventResponse"> & {
2384
+ /**
2385
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2386
+ */
2387
+ run?: AgentRun | undefined;
2388
+ /**
2389
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
2390
+ */
2391
+ event?: RuntimeEvent | undefined;
2392
+ };
2393
+ /**
2394
+ * Describes the message agentruntime.v1.RecordRunEventResponse.
2395
+ * Use `create(RecordRunEventResponseSchema)` to create a new message.
2396
+ */
2397
+ export declare const RecordRunEventResponseSchema: GenMessage<RecordRunEventResponse>;
2398
+ /**
2399
+ * @generated from message agentruntime.v1.ControlRunRequest
2400
+ */
2401
+ export type ControlRunRequest = Message<"agentruntime.v1.ControlRunRequest"> & {
2402
+ /**
2403
+ * @generated from field: string run_id = 1;
2404
+ */
2405
+ runId: string;
2406
+ /**
2407
+ * @generated from field: string workspace_id = 2;
2408
+ */
2409
+ workspaceId: string;
2410
+ /**
2411
+ * @generated from field: string agent_id = 3;
2412
+ */
2413
+ agentId: string;
2414
+ /**
2415
+ * @generated from field: string work_envelope_id = 4;
2416
+ */
2417
+ workEnvelopeId: string;
2418
+ /**
2419
+ * @generated from field: string autonomy_session_id = 5;
2420
+ */
2421
+ autonomySessionId: string;
2422
+ /**
2423
+ * @generated from field: agentruntime.v1.RunControlMode mode = 6;
2424
+ */
2425
+ mode: RunControlMode;
2426
+ /**
2427
+ * @generated from field: string message = 7;
2428
+ */
2429
+ message: string;
2430
+ /**
2431
+ * @generated from field: string idempotency_key = 8;
2432
+ */
2433
+ idempotencyKey: string;
2434
+ /**
2435
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 9;
2436
+ */
2437
+ channelContext?: RuntimeChannelContext | undefined;
2438
+ /**
2439
+ * @generated from field: google.protobuf.Struct payload = 10;
2440
+ */
2441
+ payload?: JsonObject | undefined;
2442
+ /**
2443
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 11;
2444
+ */
2445
+ visibility?: RuntimeVisibilityMetadata | undefined;
2446
+ };
2447
+ /**
2448
+ * Describes the message agentruntime.v1.ControlRunRequest.
2449
+ * Use `create(ControlRunRequestSchema)` to create a new message.
2450
+ */
2451
+ export declare const ControlRunRequestSchema: GenMessage<ControlRunRequest>;
2452
+ /**
2453
+ * @generated from message agentruntime.v1.ControlRunResponse
2454
+ */
2455
+ export type ControlRunResponse = Message<"agentruntime.v1.ControlRunResponse"> & {
2456
+ /**
2457
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2458
+ */
2459
+ run?: AgentRun | undefined;
2460
+ /**
2461
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
2462
+ */
2463
+ event?: RuntimeEvent | undefined;
2464
+ /**
2465
+ * @generated from field: string control_id = 3;
2466
+ */
2467
+ controlId: string;
2468
+ /**
2469
+ * @generated from field: bool cancelled = 4;
2470
+ */
2471
+ cancelled: boolean;
2472
+ /**
2473
+ * @generated from field: bool queued_for_worker = 5;
2474
+ */
2475
+ queuedForWorker: boolean;
2476
+ };
2477
+ /**
2478
+ * Describes the message agentruntime.v1.ControlRunResponse.
2479
+ * Use `create(ControlRunResponseSchema)` to create a new message.
2480
+ */
2481
+ export declare const ControlRunResponseSchema: GenMessage<ControlRunResponse>;
2482
+ /**
2483
+ * @generated from message agentruntime.v1.RecordRunWorkItemRequest
2484
+ */
2485
+ export type RecordRunWorkItemRequest = Message<"agentruntime.v1.RecordRunWorkItemRequest"> & {
2486
+ /**
2487
+ * @generated from field: string run_id = 1;
2488
+ */
2489
+ runId: string;
2490
+ /**
2491
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2492
+ */
2493
+ workItem?: AgentWorkItem | undefined;
2494
+ };
2495
+ /**
2496
+ * Describes the message agentruntime.v1.RecordRunWorkItemRequest.
2497
+ * Use `create(RecordRunWorkItemRequestSchema)` to create a new message.
2498
+ */
2499
+ export declare const RecordRunWorkItemRequestSchema: GenMessage<RecordRunWorkItemRequest>;
2500
+ /**
2501
+ * @generated from message agentruntime.v1.RecordRunWorkItemResponse
2502
+ */
2503
+ export type RecordRunWorkItemResponse = Message<"agentruntime.v1.RecordRunWorkItemResponse"> & {
2504
+ /**
2505
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2506
+ */
2507
+ run?: AgentRun | undefined;
2508
+ /**
2509
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2510
+ */
2511
+ workItem?: AgentWorkItem | undefined;
2512
+ /**
2513
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
2514
+ */
2515
+ event?: RuntimeEvent | undefined;
2516
+ };
2517
+ /**
2518
+ * Describes the message agentruntime.v1.RecordRunWorkItemResponse.
2519
+ * Use `create(RecordRunWorkItemResponseSchema)` to create a new message.
2520
+ */
2521
+ export declare const RecordRunWorkItemResponseSchema: GenMessage<RecordRunWorkItemResponse>;
2522
+ /**
2523
+ * @generated from message agentruntime.v1.UpdateRunWorkItemRequest
2524
+ */
2525
+ export type UpdateRunWorkItemRequest = Message<"agentruntime.v1.UpdateRunWorkItemRequest"> & {
2526
+ /**
2527
+ * @generated from field: string run_id = 1;
2528
+ */
2529
+ runId: string;
2530
+ /**
2531
+ * @generated from field: string work_item_id = 2;
2532
+ */
2533
+ workItemId: string;
2534
+ /**
2535
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 3;
2536
+ */
2537
+ state: AgentWorkItemState;
2538
+ /**
2539
+ * @generated from field: optional string next_action = 4;
2540
+ */
2541
+ nextAction?: string | undefined;
2542
+ /**
2543
+ * @generated from field: optional string blocker = 5;
2544
+ */
2545
+ blocker?: string | undefined;
2546
+ /**
2547
+ * @generated from field: optional string wait_id = 6;
2548
+ */
2549
+ waitId?: string | undefined;
2550
+ /**
2551
+ * @generated from field: optional string tool_execution_id = 7;
2552
+ */
2553
+ toolExecutionId?: string | undefined;
2554
+ /**
2555
+ * @generated from field: repeated string evidence_refs = 8;
2556
+ */
2557
+ evidenceRefs: string[];
2558
+ /**
2559
+ * @generated from field: optional string completion_gate = 9;
2560
+ */
2561
+ completionGate?: string | undefined;
2562
+ /**
2563
+ * @generated from field: google.protobuf.Struct payload = 10;
2564
+ */
2565
+ payload?: JsonObject | undefined;
2566
+ };
2567
+ /**
2568
+ * Describes the message agentruntime.v1.UpdateRunWorkItemRequest.
2569
+ * Use `create(UpdateRunWorkItemRequestSchema)` to create a new message.
2570
+ */
2571
+ export declare const UpdateRunWorkItemRequestSchema: GenMessage<UpdateRunWorkItemRequest>;
2572
+ /**
2573
+ * @generated from message agentruntime.v1.UpdateRunWorkItemResponse
2574
+ */
2575
+ export type UpdateRunWorkItemResponse = Message<"agentruntime.v1.UpdateRunWorkItemResponse"> & {
2576
+ /**
2577
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2578
+ */
2579
+ run?: AgentRun | undefined;
2580
+ /**
2581
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2582
+ */
2583
+ workItem?: AgentWorkItem | undefined;
2584
+ /**
2585
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
2586
+ */
2587
+ event?: RuntimeEvent | undefined;
2588
+ };
2589
+ /**
2590
+ * Describes the message agentruntime.v1.UpdateRunWorkItemResponse.
2591
+ * Use `create(UpdateRunWorkItemResponseSchema)` to create a new message.
2592
+ */
2593
+ export declare const UpdateRunWorkItemResponseSchema: GenMessage<UpdateRunWorkItemResponse>;
2594
+ /**
2595
+ * @generated from message agentruntime.v1.ListRunWorkItemsRequest
2596
+ */
2597
+ export type ListRunWorkItemsRequest = Message<"agentruntime.v1.ListRunWorkItemsRequest"> & {
2598
+ /**
2599
+ * @generated from field: string run_id = 1;
2600
+ */
2601
+ runId: string;
2602
+ /**
2603
+ * @generated from field: string workspace_id = 2;
2604
+ */
2605
+ workspaceId: string;
2606
+ /**
2607
+ * @generated from field: string work_envelope_id = 3;
2608
+ */
2609
+ workEnvelopeId: string;
2610
+ /**
2611
+ * @generated from field: string autonomy_session_id = 4;
2612
+ */
2613
+ autonomySessionId: string;
2614
+ /**
2615
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 5;
2616
+ */
2617
+ state: AgentWorkItemState;
2618
+ /**
2619
+ * @generated from field: int32 limit = 6;
2620
+ */
2621
+ limit: number;
2622
+ };
2623
+ /**
2624
+ * Describes the message agentruntime.v1.ListRunWorkItemsRequest.
2625
+ * Use `create(ListRunWorkItemsRequestSchema)` to create a new message.
2626
+ */
2627
+ export declare const ListRunWorkItemsRequestSchema: GenMessage<ListRunWorkItemsRequest>;
2628
+ /**
2629
+ * @generated from message agentruntime.v1.ListRunWorkItemsResponse
2630
+ */
2631
+ export type ListRunWorkItemsResponse = Message<"agentruntime.v1.ListRunWorkItemsResponse"> & {
2632
+ /**
2633
+ * @generated from field: repeated agentruntime.v1.AgentWorkItem work_items = 1;
2634
+ */
2635
+ workItems: AgentWorkItem[];
2636
+ };
2637
+ /**
2638
+ * Describes the message agentruntime.v1.ListRunWorkItemsResponse.
2639
+ * Use `create(ListRunWorkItemsResponseSchema)` to create a new message.
2640
+ */
2641
+ export declare const ListRunWorkItemsResponseSchema: GenMessage<ListRunWorkItemsResponse>;
2642
+ /**
2643
+ * @generated from message agentruntime.v1.YieldRunRequest
2644
+ */
2645
+ export type YieldRunRequest = Message<"agentruntime.v1.YieldRunRequest"> & {
2646
+ /**
2647
+ * @generated from field: string run_id = 1;
2648
+ */
2649
+ runId: string;
2650
+ /**
2651
+ * @generated from field: string lease_token = 2;
1918
2652
  */
1919
- message: string;
2653
+ leaseToken: string;
1920
2654
  /**
1921
- * @generated from field: google.protobuf.Struct attributes = 4;
2655
+ * @generated from field: agentruntime.v1.YieldContinuation continuation = 3;
1922
2656
  */
1923
- attributes?: JsonObject | undefined;
2657
+ continuation: YieldContinuation;
1924
2658
  /**
1925
- * @generated from field: string step_id = 5;
2659
+ * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
1926
2660
  */
1927
- stepId: string;
2661
+ checkpoint?: AgentRunCheckpoint | undefined;
1928
2662
  /**
1929
- * @generated from field: string checkpoint_id = 6;
2663
+ * @generated from field: google.protobuf.Timestamp resume_after = 5;
1930
2664
  */
1931
- checkpointId: string;
2665
+ resumeAfter?: Timestamp | undefined;
1932
2666
  /**
1933
- * @generated from field: string artifact_id = 7;
2667
+ * @generated from field: agentruntime.v1.AgentRunWait wait = 6;
1934
2668
  */
1935
- artifactId: string;
2669
+ wait?: AgentRunWait | undefined;
1936
2670
  /**
1937
- * @generated from field: string cost_id = 8;
2671
+ * @generated from field: string presence_status_text = 7;
1938
2672
  */
1939
- costId: string;
2673
+ presenceStatusText: string;
1940
2674
  /**
1941
- * @generated from field: string wait_id = 9;
2675
+ * @generated from field: string idempotency_key = 8;
1942
2676
  */
1943
- waitId: string;
2677
+ idempotencyKey: string;
1944
2678
  /**
1945
- * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 10;
2679
+ * @generated from field: int32 yield_budget = 9;
1946
2680
  */
1947
- visibility?: RuntimeVisibilityMetadata | undefined;
2681
+ yieldBudget: number;
1948
2682
  };
1949
2683
  /**
1950
- * Describes the message agentruntime.v1.RecordRunEventRequest.
1951
- * Use `create(RecordRunEventRequestSchema)` to create a new message.
2684
+ * Describes the message agentruntime.v1.YieldRunRequest.
2685
+ * Use `create(YieldRunRequestSchema)` to create a new message.
1952
2686
  */
1953
- export declare const RecordRunEventRequestSchema: GenMessage<RecordRunEventRequest>;
2687
+ export declare const YieldRunRequestSchema: GenMessage<YieldRunRequest>;
1954
2688
  /**
1955
- * @generated from message agentruntime.v1.RecordRunEventResponse
2689
+ * @generated from message agentruntime.v1.YieldRunResponse
1956
2690
  */
1957
- export type RecordRunEventResponse = Message<"agentruntime.v1.RecordRunEventResponse"> & {
2691
+ export type YieldRunResponse = Message<"agentruntime.v1.YieldRunResponse"> & {
1958
2692
  /**
1959
2693
  * @generated from field: agentruntime.v1.AgentRun run = 1;
1960
2694
  */
1961
2695
  run?: AgentRun | undefined;
1962
2696
  /**
1963
- * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
2697
+ * @generated from field: agentruntime.v1.AgentRun successor_run = 2;
2698
+ */
2699
+ successorRun?: AgentRun | undefined;
2700
+ /**
2701
+ * @generated from field: agentruntime.v1.AgentRunWait wait = 3;
2702
+ */
2703
+ wait?: AgentRunWait | undefined;
2704
+ /**
2705
+ * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
2706
+ */
2707
+ checkpoint?: AgentRunCheckpoint | undefined;
2708
+ /**
2709
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 5;
1964
2710
  */
1965
2711
  event?: RuntimeEvent | undefined;
2712
+ /**
2713
+ * @generated from field: agentruntime.v1.RuntimeEvent presence_event = 6;
2714
+ */
2715
+ presenceEvent?: RuntimeEvent | undefined;
2716
+ /**
2717
+ * @generated from field: bool session_blocked = 7;
2718
+ */
2719
+ sessionBlocked: boolean;
2720
+ /**
2721
+ * @generated from field: int32 yield_count = 8;
2722
+ */
2723
+ yieldCount: number;
1966
2724
  };
1967
2725
  /**
1968
- * Describes the message agentruntime.v1.RecordRunEventResponse.
1969
- * Use `create(RecordRunEventResponseSchema)` to create a new message.
2726
+ * Describes the message agentruntime.v1.YieldRunResponse.
2727
+ * Use `create(YieldRunResponseSchema)` to create a new message.
1970
2728
  */
1971
- export declare const RecordRunEventResponseSchema: GenMessage<RecordRunEventResponse>;
2729
+ export declare const YieldRunResponseSchema: GenMessage<YieldRunResponse>;
1972
2730
  /**
1973
2731
  * @generated from message agentruntime.v1.WaitRunRequest
1974
2732
  */
@@ -2438,6 +3196,18 @@ export type TeammateWorkLedger = Message<"agentruntime.v1.TeammateWorkLedger"> &
2438
3196
  * @generated from field: int32 event_count = 23;
2439
3197
  */
2440
3198
  eventCount: number;
3199
+ /**
3200
+ * @generated from field: repeated agentruntime.v1.AgentWorkItem active_work_items = 24;
3201
+ */
3202
+ activeWorkItems: AgentWorkItem[];
3203
+ /**
3204
+ * @generated from field: int32 active_work_item_count = 25;
3205
+ */
3206
+ activeWorkItemCount: number;
3207
+ /**
3208
+ * @generated from field: int32 blocked_work_item_count = 26;
3209
+ */
3210
+ blockedWorkItemCount: number;
2441
3211
  };
2442
3212
  /**
2443
3213
  * Describes the message agentruntime.v1.TeammateWorkLedger.
@@ -2759,6 +3529,38 @@ export type TeammateWorkLedgerChannelStatus = Message<"agentruntime.v1.TeammateW
2759
3529
  * @generated from field: string last_visible_summary = 5;
2760
3530
  */
2761
3531
  lastVisibleSummary: string;
3532
+ /**
3533
+ * @generated from field: agentruntime.v1.AutonomyProcessingState processing_state = 6;
3534
+ */
3535
+ processingState: AutonomyProcessingState;
3536
+ /**
3537
+ * @generated from field: string processing_summary = 7;
3538
+ */
3539
+ processingSummary: string;
3540
+ /**
3541
+ * @generated from field: string processing_message_ts = 8;
3542
+ */
3543
+ processingMessageTs: string;
3544
+ /**
3545
+ * @generated from field: string assistant_stream_ts = 9;
3546
+ */
3547
+ assistantStreamTs: string;
3548
+ /**
3549
+ * @generated from field: string last_presence_event_id = 10;
3550
+ */
3551
+ lastPresenceEventId: string;
3552
+ /**
3553
+ * @generated from field: google.protobuf.Timestamp last_presence_update_at = 11;
3554
+ */
3555
+ lastPresenceUpdateAt?: Timestamp | undefined;
3556
+ /**
3557
+ * @generated from field: bool final_response_pending = 12;
3558
+ */
3559
+ finalResponsePending: boolean;
3560
+ /**
3561
+ * @generated from field: string autonomy_session_id = 13;
3562
+ */
3563
+ autonomySessionId: string;
2762
3564
  };
2763
3565
  /**
2764
3566
  * Describes the message agentruntime.v1.TeammateWorkLedgerChannelStatus.
@@ -5421,12 +6223,299 @@ export declare enum RuntimeEventType {
5421
6223
  /**
5422
6224
  * @generated from enum value: RUNTIME_EVENT_TYPE_AGENT_PROGRESS_RECORDED = 32;
5423
6225
  */
5424
- AGENT_PROGRESS_RECORDED = 32
6226
+ AGENT_PROGRESS_RECORDED = 32,
6227
+ /**
6228
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CONTROL_RECORDED = 33;
6229
+ */
6230
+ RUN_CONTROL_RECORDED = 33,
6231
+ /**
6232
+ * @generated from enum value: RUNTIME_EVENT_TYPE_WORK_ITEM_RECORDED = 34;
6233
+ */
6234
+ WORK_ITEM_RECORDED = 34,
6235
+ /**
6236
+ * @generated from enum value: RUNTIME_EVENT_TYPE_WORK_ITEM_UPDATED = 35;
6237
+ */
6238
+ WORK_ITEM_UPDATED = 35,
6239
+ /**
6240
+ * @generated from enum value: RUNTIME_EVENT_TYPE_PROCESSING_PRESENCE_RECORDED = 36;
6241
+ */
6242
+ PROCESSING_PRESENCE_RECORDED = 36,
6243
+ /**
6244
+ * @generated from enum value: RUNTIME_EVENT_TYPE_AUTONOMY_SESSION_RECORDED = 37;
6245
+ */
6246
+ AUTONOMY_SESSION_RECORDED = 37,
6247
+ /**
6248
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_YIELDED = 38;
6249
+ */
6250
+ RUN_YIELDED = 38
5425
6251
  }
5426
6252
  /**
5427
6253
  * Describes the enum agentruntime.v1.RuntimeEventType.
5428
6254
  */
5429
6255
  export declare const RuntimeEventTypeSchema: GenEnum<RuntimeEventType>;
6256
+ /**
6257
+ * RunControlMode describes durable input applied to an autonomous run/session.
6258
+ * Steering and followups are optional controls; they are not the worker loop.
6259
+ *
6260
+ * @generated from enum agentruntime.v1.RunControlMode
6261
+ */
6262
+ export declare enum RunControlMode {
6263
+ /**
6264
+ * @generated from enum value: RUN_CONTROL_MODE_UNSPECIFIED = 0;
6265
+ */
6266
+ UNSPECIFIED = 0,
6267
+ /**
6268
+ * @generated from enum value: RUN_CONTROL_MODE_STEER = 1;
6269
+ */
6270
+ STEER = 1,
6271
+ /**
6272
+ * @generated from enum value: RUN_CONTROL_MODE_FOLLOWUP = 2;
6273
+ */
6274
+ FOLLOWUP = 2,
6275
+ /**
6276
+ * @generated from enum value: RUN_CONTROL_MODE_COLLECT = 3;
6277
+ */
6278
+ COLLECT = 3,
6279
+ /**
6280
+ * @generated from enum value: RUN_CONTROL_MODE_INTERRUPT = 4;
6281
+ */
6282
+ INTERRUPT = 4,
6283
+ /**
6284
+ * @generated from enum value: RUN_CONTROL_MODE_CANCEL = 5;
6285
+ */
6286
+ CANCEL = 5,
6287
+ /**
6288
+ * @generated from enum value: RUN_CONTROL_MODE_SYSTEM_WAKE = 6;
6289
+ */
6290
+ SYSTEM_WAKE = 6
6291
+ }
6292
+ /**
6293
+ * Describes the enum agentruntime.v1.RunControlMode.
6294
+ */
6295
+ export declare const RunControlModeSchema: GenEnum<RunControlMode>;
6296
+ /**
6297
+ * AutonomyProcessingState is the channel-safe processing presence for a
6298
+ * long-lived autonomous teammate. Adapters update the same visible Slack
6299
+ * message from this state instead of posting one reply per runtime turn.
6300
+ *
6301
+ * @generated from enum agentruntime.v1.AutonomyProcessingState
6302
+ */
6303
+ export declare enum AutonomyProcessingState {
6304
+ /**
6305
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_UNSPECIFIED = 0;
6306
+ */
6307
+ UNSPECIFIED = 0,
6308
+ /**
6309
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_QUEUED = 1;
6310
+ */
6311
+ QUEUED = 1,
6312
+ /**
6313
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_ORIENTING = 2;
6314
+ */
6315
+ ORIENTING = 2,
6316
+ /**
6317
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_THINKING = 3;
6318
+ */
6319
+ THINKING = 3,
6320
+ /**
6321
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_USING_TOOL = 4;
6322
+ */
6323
+ USING_TOOL = 4,
6324
+ /**
6325
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_SPAWNING_CHILDREN = 5;
6326
+ */
6327
+ SPAWNING_CHILDREN = 5,
6328
+ /**
6329
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_WAITING_ON_APPROVAL = 6;
6330
+ */
6331
+ WAITING_ON_APPROVAL = 6,
6332
+ /**
6333
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_WAITING_ON_EVENT = 7;
6334
+ */
6335
+ WAITING_ON_EVENT = 7,
6336
+ /**
6337
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_SYNTHESIZING = 8;
6338
+ */
6339
+ SYNTHESIZING = 8,
6340
+ /**
6341
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_COMPLETING = 9;
6342
+ */
6343
+ COMPLETING = 9,
6344
+ /**
6345
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_IDLE = 10;
6346
+ */
6347
+ IDLE = 10,
6348
+ /**
6349
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_FAILED = 11;
6350
+ */
6351
+ FAILED = 11
6352
+ }
6353
+ /**
6354
+ * Describes the enum agentruntime.v1.AutonomyProcessingState.
6355
+ */
6356
+ export declare const AutonomyProcessingStateSchema: GenEnum<AutonomyProcessingState>;
6357
+ /**
6358
+ * AgentWorkItemKind classifies nodes in the autonomous work graph.
6359
+ *
6360
+ * @generated from enum agentruntime.v1.AgentWorkItemKind
6361
+ */
6362
+ export declare enum AgentWorkItemKind {
6363
+ /**
6364
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_UNSPECIFIED = 0;
6365
+ */
6366
+ UNSPECIFIED = 0,
6367
+ /**
6368
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_ROOT = 1;
6369
+ */
6370
+ ROOT = 1,
6371
+ /**
6372
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_MODEL_CALL = 2;
6373
+ */
6374
+ MODEL_CALL = 2,
6375
+ /**
6376
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_TOOL_CALL = 3;
6377
+ */
6378
+ TOOL_CALL = 3,
6379
+ /**
6380
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_CHILD_RUN = 4;
6381
+ */
6382
+ CHILD_RUN = 4,
6383
+ /**
6384
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_WAIT = 5;
6385
+ */
6386
+ WAIT = 5,
6387
+ /**
6388
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_MEMORY = 6;
6389
+ */
6390
+ MEMORY = 6,
6391
+ /**
6392
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_USER_INPUT = 7;
6393
+ */
6394
+ USER_INPUT = 7,
6395
+ /**
6396
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_FOLLOWUP = 8;
6397
+ */
6398
+ FOLLOWUP = 8,
6399
+ /**
6400
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_RECOVERY = 9;
6401
+ */
6402
+ RECOVERY = 9
6403
+ }
6404
+ /**
6405
+ * Describes the enum agentruntime.v1.AgentWorkItemKind.
6406
+ */
6407
+ export declare const AgentWorkItemKindSchema: GenEnum<AgentWorkItemKind>;
6408
+ /**
6409
+ * AgentWorkItemState describes durable progress for a work graph node.
6410
+ *
6411
+ * @generated from enum agentruntime.v1.AgentWorkItemState
6412
+ */
6413
+ export declare enum AgentWorkItemState {
6414
+ /**
6415
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_UNSPECIFIED = 0;
6416
+ */
6417
+ UNSPECIFIED = 0,
6418
+ /**
6419
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_PENDING = 1;
6420
+ */
6421
+ PENDING = 1,
6422
+ /**
6423
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_RUNNING = 2;
6424
+ */
6425
+ RUNNING = 2,
6426
+ /**
6427
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_WAITING = 3;
6428
+ */
6429
+ WAITING = 3,
6430
+ /**
6431
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_BLOCKED = 4;
6432
+ */
6433
+ BLOCKED = 4,
6434
+ /**
6435
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_SUCCEEDED = 5;
6436
+ */
6437
+ SUCCEEDED = 5,
6438
+ /**
6439
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_FAILED = 6;
6440
+ */
6441
+ FAILED = 6,
6442
+ /**
6443
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_CANCELLED = 7;
6444
+ */
6445
+ CANCELLED = 7
6446
+ }
6447
+ /**
6448
+ * Describes the enum agentruntime.v1.AgentWorkItemState.
6449
+ */
6450
+ export declare const AgentWorkItemStateSchema: GenEnum<AgentWorkItemState>;
6451
+ /**
6452
+ * AutonomySessionState is the coarse lifecycle for the long-lived teammate
6453
+ * session attached to a work envelope.
6454
+ *
6455
+ * @generated from enum agentruntime.v1.AutonomySessionState
6456
+ */
6457
+ export declare enum AutonomySessionState {
6458
+ /**
6459
+ * @generated from enum value: AUTONOMY_SESSION_STATE_UNSPECIFIED = 0;
6460
+ */
6461
+ UNSPECIFIED = 0,
6462
+ /**
6463
+ * @generated from enum value: AUTONOMY_SESSION_STATE_ACTIVE = 1;
6464
+ */
6465
+ ACTIVE = 1,
6466
+ /**
6467
+ * @generated from enum value: AUTONOMY_SESSION_STATE_IDLE = 2;
6468
+ */
6469
+ IDLE = 2,
6470
+ /**
6471
+ * @generated from enum value: AUTONOMY_SESSION_STATE_WAITING = 3;
6472
+ */
6473
+ WAITING = 3,
6474
+ /**
6475
+ * @generated from enum value: AUTONOMY_SESSION_STATE_FAILED = 4;
6476
+ */
6477
+ FAILED = 4,
6478
+ /**
6479
+ * @generated from enum value: AUTONOMY_SESSION_STATE_CANCELLED = 5;
6480
+ */
6481
+ CANCELLED = 5
6482
+ }
6483
+ /**
6484
+ * Describes the enum agentruntime.v1.AutonomySessionState.
6485
+ */
6486
+ export declare const AutonomySessionStateSchema: GenEnum<AutonomySessionState>;
6487
+ /**
6488
+ * YieldContinuation describes how Platform should continue an autonomous
6489
+ * session after the current run releases its lease.
6490
+ *
6491
+ * @generated from enum agentruntime.v1.YieldContinuation
6492
+ */
6493
+ export declare enum YieldContinuation {
6494
+ /**
6495
+ * @generated from enum value: YIELD_CONTINUATION_UNSPECIFIED = 0;
6496
+ */
6497
+ UNSPECIFIED = 0,
6498
+ /**
6499
+ * @generated from enum value: YIELD_CONTINUATION_INLINE_NEXT_STEP = 1;
6500
+ */
6501
+ INLINE_NEXT_STEP = 1,
6502
+ /**
6503
+ * @generated from enum value: YIELD_CONTINUATION_SCHEDULED = 2;
6504
+ */
6505
+ SCHEDULED = 2,
6506
+ /**
6507
+ * @generated from enum value: YIELD_CONTINUATION_WAIT = 3;
6508
+ */
6509
+ WAIT = 3,
6510
+ /**
6511
+ * @generated from enum value: YIELD_CONTINUATION_END_SESSION = 4;
6512
+ */
6513
+ END_SESSION = 4
6514
+ }
6515
+ /**
6516
+ * Describes the enum agentruntime.v1.YieldContinuation.
6517
+ */
6518
+ export declare const YieldContinuationSchema: GenEnum<YieldContinuation>;
5430
6519
  /**
5431
6520
  * RuntimeDependencyStatus describes the readiness of a platform boundary that
5432
6521
  * contributed context to an AgentRun.
@@ -6345,6 +7434,63 @@ export declare const AgentRuntimeService: GenService<{
6345
7434
  input: typeof RecordRunEventRequestSchema;
6346
7435
  output: typeof RecordRunEventResponseSchema;
6347
7436
  };
7437
+ /**
7438
+ * ControlRun records a human, channel, scheduler, or system control against
7439
+ * the active autonomous run/session. Controls are durable steering input; the
7440
+ * Slack adapter is not responsible for keeping the agent alive turn by turn.
7441
+ *
7442
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ControlRun
7443
+ */
7444
+ controlRun: {
7445
+ methodKind: "unary";
7446
+ input: typeof ControlRunRequestSchema;
7447
+ output: typeof ControlRunResponseSchema;
7448
+ };
7449
+ /**
7450
+ * RecordRunWorkItem creates or replaces one node in the autonomous work graph.
7451
+ * Work items, not VFS projections, are the canonical state for long-horizon
7452
+ * goals, child runs, waits, tool activity, blockers, and completion gates.
7453
+ *
7454
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordRunWorkItem
7455
+ */
7456
+ recordRunWorkItem: {
7457
+ methodKind: "unary";
7458
+ input: typeof RecordRunWorkItemRequestSchema;
7459
+ output: typeof RecordRunWorkItemResponseSchema;
7460
+ };
7461
+ /**
7462
+ * UpdateRunWorkItem patches progress for one autonomous work graph node.
7463
+ *
7464
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.UpdateRunWorkItem
7465
+ */
7466
+ updateRunWorkItem: {
7467
+ methodKind: "unary";
7468
+ input: typeof UpdateRunWorkItemRequestSchema;
7469
+ output: typeof UpdateRunWorkItemResponseSchema;
7470
+ };
7471
+ /**
7472
+ * ListRunWorkItems returns the typed work graph for one run or work envelope.
7473
+ *
7474
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListRunWorkItems
7475
+ */
7476
+ listRunWorkItems: {
7477
+ methodKind: "unary";
7478
+ input: typeof ListRunWorkItemsRequestSchema;
7479
+ output: typeof ListRunWorkItemsResponseSchema;
7480
+ };
7481
+ /**
7482
+ * YieldRun ends the current leased run step while keeping the autonomous
7483
+ * session alive. Inline yields enqueue a successor AgentRun immediately;
7484
+ * end-session yields close the run without enqueueing more autonomous work.
7485
+ * Timer, approval, input, and event blocking use WaitRun/ResumeRun.
7486
+ *
7487
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.YieldRun
7488
+ */
7489
+ yieldRun: {
7490
+ methodKind: "unary";
7491
+ input: typeof YieldRunRequestSchema;
7492
+ output: typeof YieldRunResponseSchema;
7493
+ };
6348
7494
  /**
6349
7495
  * WaitRun parks the run on an approval, input, timer, or event wait and
6350
7496
  * clears the worker lease so no compute is held while blocked.