@evalops/sdk-ts 0.1.95 → 0.1.97

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.
@@ -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 { CodexInteractionDecision, CodexInteractionRequest, CodexOutcomeSignal, CodexOutputTarget, CodexRunProgress, CodexWorkRequest } from "../../codex/v1/codex_pb.js";
3
4
  import type { Surface } from "../../common/v1/surface_pb.js";
4
5
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
6
  import type { Objective } from "../../objectives/v1/objectives_pb.js";
@@ -38,6 +39,11 @@ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelConte
38
39
  */
39
40
  messageId: string;
40
41
  /**
42
+ * Deprecated overloaded actor field. New Slack and channel adapters should
43
+ * set actor_channel_id for the provider-local respondent, actor_entity_id for
44
+ * the resolved canonical entity, and principal_id for the authenticated
45
+ * platform principal when available.
46
+ *
41
47
  * @generated from field: string actor_id = 6;
42
48
  */
43
49
  actorId: string;
@@ -51,6 +57,18 @@ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelConte
51
57
  attributes: {
52
58
  [key: string]: string;
53
59
  };
60
+ /**
61
+ * @generated from field: string actor_channel_id = 9;
62
+ */
63
+ actorChannelId: string;
64
+ /**
65
+ * @generated from field: string actor_entity_id = 10;
66
+ */
67
+ actorEntityId: string;
68
+ /**
69
+ * @generated from field: string principal_id = 11;
70
+ */
71
+ principalId: string;
54
72
  };
55
73
  /**
56
74
  * Describes the message agentruntime.v1.RuntimeChannelContext.
@@ -313,6 +331,10 @@ export type ChannelActionReceipt = Message<"agentruntime.v1.ChannelActionReceipt
313
331
  * @generated from field: google.protobuf.Timestamp updated_at = 21;
314
332
  */
315
333
  updatedAt?: Timestamp | undefined;
334
+ /**
335
+ * @generated from field: codex.v1.CodexInteractionDecision codex_interaction_decision = 22;
336
+ */
337
+ codexInteractionDecision?: CodexInteractionDecision | undefined;
316
338
  };
317
339
  /**
318
340
  * Describes the message agentruntime.v1.ChannelActionReceipt.
@@ -394,6 +416,10 @@ export type NormalizedTrigger = Message<"agentruntime.v1.NormalizedTrigger"> & {
394
416
  * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 15;
395
417
  */
396
418
  workEnvelope?: RuntimeWorkEnvelope | undefined;
419
+ /**
420
+ * @generated from field: codex.v1.CodexWorkRequest codex_work = 16;
421
+ */
422
+ codexWork?: CodexWorkRequest | undefined;
397
423
  };
398
424
  /**
399
425
  * Describes the message agentruntime.v1.NormalizedTrigger.
@@ -416,12 +442,191 @@ export type RuntimeContext = Message<"agentruntime.v1.RuntimeContext"> & {
416
442
  attributes: {
417
443
  [key: string]: string;
418
444
  };
445
+ /**
446
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile virtual_files = 3;
447
+ */
448
+ virtualFiles: RuntimeVirtualFile[];
419
449
  };
420
450
  /**
421
451
  * Describes the message agentruntime.v1.RuntimeContext.
422
452
  * Use `create(RuntimeContextSchema)` to create a new message.
423
453
  */
424
454
  export declare const RuntimeContextSchema: GenMessage<RuntimeContext>;
455
+ /**
456
+ * RuntimeVirtualFile is a read-only file projected into an agent run from
457
+ * platform services. It lets workers consume rich context through a stable VFS
458
+ * instead of parsing flat runtime attributes.
459
+ *
460
+ * @generated from message agentruntime.v1.RuntimeVirtualFile
461
+ */
462
+ export type RuntimeVirtualFile = Message<"agentruntime.v1.RuntimeVirtualFile"> & {
463
+ /**
464
+ * @generated from field: string path = 1;
465
+ */
466
+ path: string;
467
+ /**
468
+ * @generated from field: string media_type = 2;
469
+ */
470
+ mediaType: string;
471
+ /**
472
+ * @generated from field: string content = 3;
473
+ */
474
+ content: string;
475
+ /**
476
+ * @generated from field: string source_service = 4;
477
+ */
478
+ sourceService: string;
479
+ /**
480
+ * @generated from field: string source_reference_id = 5;
481
+ */
482
+ sourceReferenceId: string;
483
+ /**
484
+ * @generated from field: map<string, string> metadata = 6;
485
+ */
486
+ metadata: {
487
+ [key: string]: string;
488
+ };
489
+ };
490
+ /**
491
+ * Describes the message agentruntime.v1.RuntimeVirtualFile.
492
+ * Use `create(RuntimeVirtualFileSchema)` to create a new message.
493
+ */
494
+ export declare const RuntimeVirtualFileSchema: GenMessage<RuntimeVirtualFile>;
495
+ /**
496
+ * RuntimeVirtualFileEntry is an ls/stat-friendly projection of one virtual
497
+ * file. It intentionally omits content so callers can discover before reading.
498
+ *
499
+ * @generated from message agentruntime.v1.RuntimeVirtualFileEntry
500
+ */
501
+ export type RuntimeVirtualFileEntry = Message<"agentruntime.v1.RuntimeVirtualFileEntry"> & {
502
+ /**
503
+ * @generated from field: string path = 1;
504
+ */
505
+ path: string;
506
+ /**
507
+ * @generated from field: string media_type = 2;
508
+ */
509
+ mediaType: string;
510
+ /**
511
+ * @generated from field: string source_service = 3;
512
+ */
513
+ sourceService: string;
514
+ /**
515
+ * @generated from field: string source_reference_id = 4;
516
+ */
517
+ sourceReferenceId: string;
518
+ /**
519
+ * @generated from field: map<string, string> metadata = 5;
520
+ */
521
+ metadata: {
522
+ [key: string]: string;
523
+ };
524
+ /**
525
+ * @generated from field: int64 size_bytes = 6;
526
+ */
527
+ sizeBytes: bigint;
528
+ /**
529
+ * @generated from field: string content_sha256 = 7;
530
+ */
531
+ contentSha256: string;
532
+ /**
533
+ * @generated from field: bool content_truncated = 8;
534
+ */
535
+ contentTruncated: boolean;
536
+ /**
537
+ * @generated from field: string mount = 9;
538
+ */
539
+ mount: string;
540
+ /**
541
+ * @generated from field: string kind = 10;
542
+ */
543
+ kind: string;
544
+ /**
545
+ * @generated from field: string permissions = 11;
546
+ */
547
+ permissions: string;
548
+ /**
549
+ * @generated from field: string view = 12;
550
+ */
551
+ view: string;
552
+ /**
553
+ * @generated from field: string revision_id = 13;
554
+ */
555
+ revisionId: string;
556
+ /**
557
+ * @generated from field: string parent_revision_id = 14;
558
+ */
559
+ parentRevisionId: string;
560
+ /**
561
+ * @generated from field: string provider_id = 15;
562
+ */
563
+ providerId: string;
564
+ /**
565
+ * @generated from field: string connection_id = 16;
566
+ */
567
+ connectionId: string;
568
+ /**
569
+ * @generated from field: string cache_policy = 17;
570
+ */
571
+ cachePolicy: string;
572
+ /**
573
+ * @generated from field: string policy = 18;
574
+ */
575
+ policy: string;
576
+ /**
577
+ * @generated from field: bool lazy = 19;
578
+ */
579
+ lazy: boolean;
580
+ /**
581
+ * @generated from field: int32 secret_ref_count = 20;
582
+ */
583
+ secretRefCount: number;
584
+ /**
585
+ * @generated from field: string cerebro_index = 21;
586
+ */
587
+ cerebroIndex: string;
588
+ /**
589
+ * @generated from field: string content_address = 22;
590
+ */
591
+ contentAddress: string;
592
+ };
593
+ /**
594
+ * Describes the message agentruntime.v1.RuntimeVirtualFileEntry.
595
+ * Use `create(RuntimeVirtualFileEntrySchema)` to create a new message.
596
+ */
597
+ export declare const RuntimeVirtualFileEntrySchema: GenMessage<RuntimeVirtualFileEntry>;
598
+ /**
599
+ * RuntimeVirtualFileMatch is one bounded literal match in a virtual file.
600
+ *
601
+ * @generated from message agentruntime.v1.RuntimeVirtualFileMatch
602
+ */
603
+ export type RuntimeVirtualFileMatch = Message<"agentruntime.v1.RuntimeVirtualFileMatch"> & {
604
+ /**
605
+ * @generated from field: string path = 1;
606
+ */
607
+ path: string;
608
+ /**
609
+ * @generated from field: int32 line_number = 2;
610
+ */
611
+ lineNumber: number;
612
+ /**
613
+ * @generated from field: string snippet = 3;
614
+ */
615
+ snippet: string;
616
+ /**
617
+ * @generated from field: string mount = 4;
618
+ */
619
+ mount: string;
620
+ /**
621
+ * @generated from field: string source_service = 5;
622
+ */
623
+ sourceService: string;
624
+ };
625
+ /**
626
+ * Describes the message agentruntime.v1.RuntimeVirtualFileMatch.
627
+ * Use `create(RuntimeVirtualFileMatchSchema)` to create a new message.
628
+ */
629
+ export declare const RuntimeVirtualFileMatchSchema: GenMessage<RuntimeVirtualFileMatch>;
425
630
  /**
426
631
  * RuntimeDependency names one platform service boundary the runtime depends on.
427
632
  *
@@ -733,6 +938,10 @@ export type AgentRunStep = Message<"agentruntime.v1.AgentRunStep"> & {
733
938
  * @generated from field: agentruntime.v1.AgentRunStepKind step_kind = 16;
734
939
  */
735
940
  stepKind: AgentRunStepKind;
941
+ /**
942
+ * @generated from field: codex.v1.CodexRunProgress codex_progress = 17;
943
+ */
944
+ codexProgress?: CodexRunProgress | undefined;
736
945
  };
737
946
  /**
738
947
  * Describes the message agentruntime.v1.AgentRunStep.
@@ -839,6 +1048,10 @@ export type AgentRunWait = Message<"agentruntime.v1.AgentRunWait"> & {
839
1048
  * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 16;
840
1049
  */
841
1050
  visibility?: RuntimeVisibilityMetadata | undefined;
1051
+ /**
1052
+ * @generated from field: codex.v1.CodexInteractionRequest codex_interaction = 17;
1053
+ */
1054
+ codexInteraction?: CodexInteractionRequest | undefined;
842
1055
  };
843
1056
  /**
844
1057
  * Describes the message agentruntime.v1.AgentRunWait.
@@ -892,6 +1105,10 @@ export type AgentRunArtifact = Message<"agentruntime.v1.AgentRunArtifact"> & {
892
1105
  * @generated from field: agentruntime.v1.AgentRunArtifactKind artifact_kind = 16;
893
1106
  */
894
1107
  artifactKind: AgentRunArtifactKind;
1108
+ /**
1109
+ * @generated from field: codex.v1.CodexOutputTarget codex_output = 17;
1110
+ */
1111
+ codexOutput?: CodexOutputTarget | undefined;
895
1112
  };
896
1113
  /**
897
1114
  * Describes the message agentruntime.v1.AgentRunArtifact.
@@ -1053,6 +1270,18 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
1053
1270
  * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
1054
1271
  */
1055
1272
  visibility?: RuntimeVisibilityMetadata | undefined;
1273
+ /**
1274
+ * @generated from field: codex.v1.CodexRunProgress codex_progress = 18;
1275
+ */
1276
+ codexProgress?: CodexRunProgress | undefined;
1277
+ /**
1278
+ * @generated from field: codex.v1.CodexInteractionRequest codex_interaction = 19;
1279
+ */
1280
+ codexInteraction?: CodexInteractionRequest | undefined;
1281
+ /**
1282
+ * @generated from field: codex.v1.CodexOutcomeSignal codex_outcome = 20;
1283
+ */
1284
+ codexOutcome?: CodexOutcomeSignal | undefined;
1056
1285
  };
1057
1286
  /**
1058
1287
  * Describes the message agentruntime.v1.RuntimeEvent.
@@ -1399,6 +1628,74 @@ export type RecordRunStreamCursorResponse = Message<"agentruntime.v1.RecordRunSt
1399
1628
  * Use `create(RecordRunStreamCursorResponseSchema)` to create a new message.
1400
1629
  */
1401
1630
  export declare const RecordRunStreamCursorResponseSchema: GenMessage<RecordRunStreamCursorResponse>;
1631
+ /**
1632
+ * @generated from message agentruntime.v1.RecordRunEventRequest
1633
+ */
1634
+ export type RecordRunEventRequest = Message<"agentruntime.v1.RecordRunEventRequest"> & {
1635
+ /**
1636
+ * @generated from field: string run_id = 1;
1637
+ */
1638
+ runId: string;
1639
+ /**
1640
+ * @generated from field: agentruntime.v1.RuntimeEventType type = 2;
1641
+ */
1642
+ type: RuntimeEventType;
1643
+ /**
1644
+ * @generated from field: string message = 3;
1645
+ */
1646
+ message: string;
1647
+ /**
1648
+ * @generated from field: google.protobuf.Struct attributes = 4;
1649
+ */
1650
+ attributes?: JsonObject | undefined;
1651
+ /**
1652
+ * @generated from field: string step_id = 5;
1653
+ */
1654
+ stepId: string;
1655
+ /**
1656
+ * @generated from field: string checkpoint_id = 6;
1657
+ */
1658
+ checkpointId: string;
1659
+ /**
1660
+ * @generated from field: string artifact_id = 7;
1661
+ */
1662
+ artifactId: string;
1663
+ /**
1664
+ * @generated from field: string cost_id = 8;
1665
+ */
1666
+ costId: string;
1667
+ /**
1668
+ * @generated from field: string wait_id = 9;
1669
+ */
1670
+ waitId: string;
1671
+ /**
1672
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 10;
1673
+ */
1674
+ visibility?: RuntimeVisibilityMetadata | undefined;
1675
+ };
1676
+ /**
1677
+ * Describes the message agentruntime.v1.RecordRunEventRequest.
1678
+ * Use `create(RecordRunEventRequestSchema)` to create a new message.
1679
+ */
1680
+ export declare const RecordRunEventRequestSchema: GenMessage<RecordRunEventRequest>;
1681
+ /**
1682
+ * @generated from message agentruntime.v1.RecordRunEventResponse
1683
+ */
1684
+ export type RecordRunEventResponse = Message<"agentruntime.v1.RecordRunEventResponse"> & {
1685
+ /**
1686
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
1687
+ */
1688
+ run?: AgentRun | undefined;
1689
+ /**
1690
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
1691
+ */
1692
+ event?: RuntimeEvent | undefined;
1693
+ };
1694
+ /**
1695
+ * Describes the message agentruntime.v1.RecordRunEventResponse.
1696
+ * Use `create(RecordRunEventResponseSchema)` to create a new message.
1697
+ */
1698
+ export declare const RecordRunEventResponseSchema: GenMessage<RecordRunEventResponse>;
1402
1699
  /**
1403
1700
  * @generated from message agentruntime.v1.WaitRunRequest
1404
1701
  */
@@ -1471,6 +1768,10 @@ export type ResumeRunRequest = Message<"agentruntime.v1.ResumeRunRequest"> & {
1471
1768
  * @generated from field: google.protobuf.Struct payload = 4;
1472
1769
  */
1473
1770
  payload?: JsonObject | undefined;
1771
+ /**
1772
+ * @generated from field: codex.v1.CodexInteractionDecision codex_interaction_decision = 5;
1773
+ */
1774
+ codexInteractionDecision?: CodexInteractionDecision | undefined;
1474
1775
  };
1475
1776
  /**
1476
1777
  * Describes the message agentruntime.v1.ResumeRunRequest.
@@ -2102,107 +2403,737 @@ export type ListRunEventsResponse = Message<"agentruntime.v1.ListRunEventsRespon
2102
2403
  */
2103
2404
  export declare const ListRunEventsResponseSchema: GenMessage<ListRunEventsResponse>;
2104
2405
  /**
2105
- * AgentRunState describes the runtime lifecycle of one durable attempt.
2106
- *
2107
- * @generated from enum agentruntime.v1.AgentRunState
2406
+ * @generated from message agentruntime.v1.ListRunVirtualFilesRequest
2108
2407
  */
2109
- export declare enum AgentRunState {
2110
- /**
2111
- * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
2112
- */
2113
- UNSPECIFIED = 0,
2408
+ export type ListRunVirtualFilesRequest = Message<"agentruntime.v1.ListRunVirtualFilesRequest"> & {
2114
2409
  /**
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;
2410
+ * @generated from field: string run_id = 1;
2120
2411
  */
2121
- QUEUED = 2,
2412
+ runId: string;
2122
2413
  /**
2123
- * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
2414
+ * @generated from field: string path_prefix = 2;
2124
2415
  */
2125
- RUNNING = 3,
2416
+ pathPrefix: string;
2126
2417
  /**
2127
- * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
2418
+ * @generated from field: int32 limit = 3;
2128
2419
  */
2129
- WAITING = 4,
2420
+ limit: number;
2421
+ };
2422
+ /**
2423
+ * Describes the message agentruntime.v1.ListRunVirtualFilesRequest.
2424
+ * Use `create(ListRunVirtualFilesRequestSchema)` to create a new message.
2425
+ */
2426
+ export declare const ListRunVirtualFilesRequestSchema: GenMessage<ListRunVirtualFilesRequest>;
2427
+ /**
2428
+ * @generated from message agentruntime.v1.ListRunVirtualFilesResponse
2429
+ */
2430
+ export type ListRunVirtualFilesResponse = Message<"agentruntime.v1.ListRunVirtualFilesResponse"> & {
2130
2431
  /**
2131
- * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
2432
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileEntry entries = 1;
2132
2433
  */
2133
- SUCCEEDED = 5,
2434
+ entries: RuntimeVirtualFileEntry[];
2435
+ };
2436
+ /**
2437
+ * Describes the message agentruntime.v1.ListRunVirtualFilesResponse.
2438
+ * Use `create(ListRunVirtualFilesResponseSchema)` to create a new message.
2439
+ */
2440
+ export declare const ListRunVirtualFilesResponseSchema: GenMessage<ListRunVirtualFilesResponse>;
2441
+ /**
2442
+ * @generated from message agentruntime.v1.ReadRunVirtualFileRequest
2443
+ */
2444
+ export type ReadRunVirtualFileRequest = Message<"agentruntime.v1.ReadRunVirtualFileRequest"> & {
2134
2445
  /**
2135
- * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
2446
+ * @generated from field: string run_id = 1;
2136
2447
  */
2137
- FAILED = 6,
2448
+ runId: string;
2138
2449
  /**
2139
- * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
2450
+ * @generated from field: string path = 2;
2140
2451
  */
2141
- CANCELLED = 7,
2452
+ path: string;
2142
2453
  /**
2143
- * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
2454
+ * @generated from field: int32 offset = 3;
2144
2455
  */
2145
- RETRYING = 8,
2456
+ offset: number;
2146
2457
  /**
2147
- * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
2458
+ * @generated from field: int32 limit = 4;
2148
2459
  */
2149
- DEAD_LETTERED = 9
2150
- }
2460
+ limit: number;
2461
+ };
2151
2462
  /**
2152
- * Describes the enum agentruntime.v1.AgentRunState.
2463
+ * Describes the message agentruntime.v1.ReadRunVirtualFileRequest.
2464
+ * Use `create(ReadRunVirtualFileRequestSchema)` to create a new message.
2153
2465
  */
2154
- export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
2466
+ export declare const ReadRunVirtualFileRequestSchema: GenMessage<ReadRunVirtualFileRequest>;
2155
2467
  /**
2156
- * AgentRunStepState describes progress for a single durable step record.
2157
- *
2158
- * @generated from enum agentruntime.v1.AgentRunStepState
2468
+ * @generated from message agentruntime.v1.ReadRunVirtualFileResponse
2159
2469
  */
2160
- export declare enum AgentRunStepState {
2470
+ export type ReadRunVirtualFileResponse = Message<"agentruntime.v1.ReadRunVirtualFileResponse"> & {
2161
2471
  /**
2162
- * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
2472
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileEntry entry = 1;
2163
2473
  */
2164
- UNSPECIFIED = 0,
2474
+ entry?: RuntimeVirtualFileEntry | undefined;
2165
2475
  /**
2166
- * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
2476
+ * @generated from field: string content = 2;
2167
2477
  */
2168
- PENDING = 1,
2478
+ content: string;
2169
2479
  /**
2170
- * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
2480
+ * @generated from field: int32 offset = 3;
2171
2481
  */
2172
- RUNNING = 2,
2482
+ offset: number;
2173
2483
  /**
2174
- * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
2484
+ * @generated from field: int32 next_offset = 4;
2175
2485
  */
2176
- WAITING = 3,
2486
+ nextOffset: number;
2177
2487
  /**
2178
- * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
2488
+ * @generated from field: bool eof = 5;
2179
2489
  */
2180
- SUCCEEDED = 4,
2490
+ eof: boolean;
2491
+ };
2492
+ /**
2493
+ * Describes the message agentruntime.v1.ReadRunVirtualFileResponse.
2494
+ * Use `create(ReadRunVirtualFileResponseSchema)` to create a new message.
2495
+ */
2496
+ export declare const ReadRunVirtualFileResponseSchema: GenMessage<ReadRunVirtualFileResponse>;
2497
+ /**
2498
+ * @generated from message agentruntime.v1.SearchRunVirtualFilesRequest
2499
+ */
2500
+ export type SearchRunVirtualFilesRequest = Message<"agentruntime.v1.SearchRunVirtualFilesRequest"> & {
2181
2501
  /**
2182
- * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
2502
+ * @generated from field: string run_id = 1;
2183
2503
  */
2184
- FAILED = 5,
2504
+ runId: string;
2185
2505
  /**
2186
- * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
2506
+ * @generated from field: string query = 2;
2187
2507
  */
2188
- CANCELLED = 6,
2508
+ query: string;
2189
2509
  /**
2190
- * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
2510
+ * @generated from field: string path_prefix = 3;
2191
2511
  */
2192
- SKIPPED = 7
2193
- }
2512
+ pathPrefix: string;
2513
+ /**
2514
+ * @generated from field: int32 limit = 4;
2515
+ */
2516
+ limit: number;
2517
+ };
2194
2518
  /**
2195
- * Describes the enum agentruntime.v1.AgentRunStepState.
2519
+ * Describes the message agentruntime.v1.SearchRunVirtualFilesRequest.
2520
+ * Use `create(SearchRunVirtualFilesRequestSchema)` to create a new message.
2196
2521
  */
2197
- export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
2522
+ export declare const SearchRunVirtualFilesRequestSchema: GenMessage<SearchRunVirtualFilesRequest>;
2198
2523
  /**
2199
- * AgentRunStepKind classifies the durable work represented by a run step.
2200
- *
2201
- * @generated from enum agentruntime.v1.AgentRunStepKind
2524
+ * @generated from message agentruntime.v1.SearchRunVirtualFilesResponse
2202
2525
  */
2203
- export declare enum AgentRunStepKind {
2526
+ export type SearchRunVirtualFilesResponse = Message<"agentruntime.v1.SearchRunVirtualFilesResponse"> & {
2204
2527
  /**
2205
- * @generated from enum value: AGENT_RUN_STEP_KIND_UNSPECIFIED = 0;
2528
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileMatch matches = 1;
2529
+ */
2530
+ matches: RuntimeVirtualFileMatch[];
2531
+ };
2532
+ /**
2533
+ * Describes the message agentruntime.v1.SearchRunVirtualFilesResponse.
2534
+ * Use `create(SearchRunVirtualFilesResponseSchema)` to create a new message.
2535
+ */
2536
+ export declare const SearchRunVirtualFilesResponseSchema: GenMessage<SearchRunVirtualFilesResponse>;
2537
+ /**
2538
+ * @generated from message agentruntime.v1.RecordRunVirtualFileProposalRequest
2539
+ */
2540
+ export type RecordRunVirtualFileProposalRequest = Message<"agentruntime.v1.RecordRunVirtualFileProposalRequest"> & {
2541
+ /**
2542
+ * @generated from field: string run_id = 1;
2543
+ */
2544
+ runId: string;
2545
+ /**
2546
+ * @generated from field: string lease_token = 2;
2547
+ */
2548
+ leaseToken: string;
2549
+ /**
2550
+ * @generated from field: string path = 3;
2551
+ */
2552
+ path: string;
2553
+ /**
2554
+ * @generated from field: string media_type = 4;
2555
+ */
2556
+ mediaType: string;
2557
+ /**
2558
+ * @generated from field: string content = 5;
2559
+ */
2560
+ content: string;
2561
+ /**
2562
+ * @generated from field: string proposal_kind = 6;
2563
+ */
2564
+ proposalKind: string;
2565
+ /**
2566
+ * @generated from field: string step_id = 7;
2567
+ */
2568
+ stepId: string;
2569
+ /**
2570
+ * @generated from field: map<string, string> metadata = 8;
2571
+ */
2572
+ metadata: {
2573
+ [key: string]: string;
2574
+ };
2575
+ };
2576
+ /**
2577
+ * Describes the message agentruntime.v1.RecordRunVirtualFileProposalRequest.
2578
+ * Use `create(RecordRunVirtualFileProposalRequestSchema)` to create a new message.
2579
+ */
2580
+ export declare const RecordRunVirtualFileProposalRequestSchema: GenMessage<RecordRunVirtualFileProposalRequest>;
2581
+ /**
2582
+ * @generated from message agentruntime.v1.RecordRunVirtualFileProposalResponse
2583
+ */
2584
+ export type RecordRunVirtualFileProposalResponse = Message<"agentruntime.v1.RecordRunVirtualFileProposalResponse"> & {
2585
+ /**
2586
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2587
+ */
2588
+ run?: AgentRun | undefined;
2589
+ /**
2590
+ * @generated from field: agentruntime.v1.AgentRunArtifact artifact = 2;
2591
+ */
2592
+ artifact?: AgentRunArtifact | undefined;
2593
+ /**
2594
+ * @generated from field: agentruntime.v1.RuntimeVirtualFile file = 3;
2595
+ */
2596
+ file?: RuntimeVirtualFile | undefined;
2597
+ /**
2598
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
2599
+ */
2600
+ event?: RuntimeEvent | undefined;
2601
+ };
2602
+ /**
2603
+ * Describes the message agentruntime.v1.RecordRunVirtualFileProposalResponse.
2604
+ * Use `create(RecordRunVirtualFileProposalResponseSchema)` to create a new message.
2605
+ */
2606
+ export declare const RecordRunVirtualFileProposalResponseSchema: GenMessage<RecordRunVirtualFileProposalResponse>;
2607
+ /**
2608
+ * @generated from message agentruntime.v1.RuntimeVirtualFileChange
2609
+ */
2610
+ export type RuntimeVirtualFileChange = Message<"agentruntime.v1.RuntimeVirtualFileChange"> & {
2611
+ /**
2612
+ * @generated from field: string path = 1;
2613
+ */
2614
+ path: string;
2615
+ /**
2616
+ * @generated from field: string media_type = 2;
2617
+ */
2618
+ mediaType: string;
2619
+ /**
2620
+ * @generated from field: string content = 3;
2621
+ */
2622
+ content: string;
2623
+ /**
2624
+ * @generated from field: string proposal_kind = 4;
2625
+ */
2626
+ proposalKind: string;
2627
+ /**
2628
+ * @generated from field: string step_id = 5;
2629
+ */
2630
+ stepId: string;
2631
+ /**
2632
+ * @generated from field: map<string, string> metadata = 6;
2633
+ */
2634
+ metadata: {
2635
+ [key: string]: string;
2636
+ };
2637
+ };
2638
+ /**
2639
+ * Describes the message agentruntime.v1.RuntimeVirtualFileChange.
2640
+ * Use `create(RuntimeVirtualFileChangeSchema)` to create a new message.
2641
+ */
2642
+ export declare const RuntimeVirtualFileChangeSchema: GenMessage<RuntimeVirtualFileChange>;
2643
+ /**
2644
+ * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionRequest
2645
+ */
2646
+ export type RecordRunVirtualFileTransactionRequest = Message<"agentruntime.v1.RecordRunVirtualFileTransactionRequest"> & {
2647
+ /**
2648
+ * @generated from field: string run_id = 1;
2649
+ */
2650
+ runId: string;
2651
+ /**
2652
+ * @generated from field: string lease_token = 2;
2653
+ */
2654
+ leaseToken: string;
2655
+ /**
2656
+ * @generated from field: string transaction_id = 3;
2657
+ */
2658
+ transactionId: string;
2659
+ /**
2660
+ * @generated from field: string parent_revision_id = 4;
2661
+ */
2662
+ parentRevisionId: string;
2663
+ /**
2664
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileChange changes = 5;
2665
+ */
2666
+ changes: RuntimeVirtualFileChange[];
2667
+ /**
2668
+ * @generated from field: map<string, string> metadata = 6;
2669
+ */
2670
+ metadata: {
2671
+ [key: string]: string;
2672
+ };
2673
+ /**
2674
+ * @generated from field: string idempotency_key = 7;
2675
+ */
2676
+ idempotencyKey: string;
2677
+ };
2678
+ /**
2679
+ * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionRequest.
2680
+ * Use `create(RecordRunVirtualFileTransactionRequestSchema)` to create a new message.
2681
+ */
2682
+ export declare const RecordRunVirtualFileTransactionRequestSchema: GenMessage<RecordRunVirtualFileTransactionRequest>;
2683
+ /**
2684
+ * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionResponse
2685
+ */
2686
+ export type RecordRunVirtualFileTransactionResponse = Message<"agentruntime.v1.RecordRunVirtualFileTransactionResponse"> & {
2687
+ /**
2688
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2689
+ */
2690
+ run?: AgentRun | undefined;
2691
+ /**
2692
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
2693
+ */
2694
+ artifacts: AgentRunArtifact[];
2695
+ /**
2696
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
2697
+ */
2698
+ files: RuntimeVirtualFile[];
2699
+ /**
2700
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
2701
+ */
2702
+ event?: RuntimeEvent | undefined;
2703
+ };
2704
+ /**
2705
+ * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionResponse.
2706
+ * Use `create(RecordRunVirtualFileTransactionResponseSchema)` to create a new message.
2707
+ */
2708
+ export declare const RecordRunVirtualFileTransactionResponseSchema: GenMessage<RecordRunVirtualFileTransactionResponse>;
2709
+ /**
2710
+ * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionRequest
2711
+ */
2712
+ export type PromoteRunVirtualFileTransactionRequest = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionRequest"> & {
2713
+ /**
2714
+ * @generated from field: string run_id = 1;
2715
+ */
2716
+ runId: string;
2717
+ /**
2718
+ * @generated from field: string lease_token = 2;
2719
+ */
2720
+ leaseToken: string;
2721
+ /**
2722
+ * @generated from field: string transaction_id = 3;
2723
+ */
2724
+ transactionId: string;
2725
+ /**
2726
+ * @generated from field: string expected_parent_revision_id = 4;
2727
+ */
2728
+ expectedParentRevisionId: string;
2729
+ /**
2730
+ * @generated from field: string approver_id = 5;
2731
+ */
2732
+ approverId: string;
2733
+ /**
2734
+ * @generated from field: map<string, string> metadata = 6;
2735
+ */
2736
+ metadata: {
2737
+ [key: string]: string;
2738
+ };
2739
+ };
2740
+ /**
2741
+ * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionRequest.
2742
+ * Use `create(PromoteRunVirtualFileTransactionRequestSchema)` to create a new message.
2743
+ */
2744
+ export declare const PromoteRunVirtualFileTransactionRequestSchema: GenMessage<PromoteRunVirtualFileTransactionRequest>;
2745
+ /**
2746
+ * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionResponse
2747
+ */
2748
+ export type PromoteRunVirtualFileTransactionResponse = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionResponse"> & {
2749
+ /**
2750
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2751
+ */
2752
+ run?: AgentRun | undefined;
2753
+ /**
2754
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
2755
+ */
2756
+ artifacts: AgentRunArtifact[];
2757
+ /**
2758
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
2759
+ */
2760
+ files: RuntimeVirtualFile[];
2761
+ /**
2762
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
2763
+ */
2764
+ event?: RuntimeEvent | undefined;
2765
+ };
2766
+ /**
2767
+ * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionResponse.
2768
+ * Use `create(PromoteRunVirtualFileTransactionResponseSchema)` to create a new message.
2769
+ */
2770
+ export declare const PromoteRunVirtualFileTransactionResponseSchema: GenMessage<PromoteRunVirtualFileTransactionResponse>;
2771
+ /**
2772
+ * @generated from message agentruntime.v1.HydrateRunVirtualFileMountRequest
2773
+ */
2774
+ export type HydrateRunVirtualFileMountRequest = Message<"agentruntime.v1.HydrateRunVirtualFileMountRequest"> & {
2775
+ /**
2776
+ * @generated from field: string run_id = 1;
2777
+ */
2778
+ runId: string;
2779
+ /**
2780
+ * @generated from field: string lease_token = 2;
2781
+ */
2782
+ leaseToken: string;
2783
+ /**
2784
+ * @generated from field: string mount = 3;
2785
+ */
2786
+ mount: string;
2787
+ /**
2788
+ * @generated from field: string provider_id = 4;
2789
+ */
2790
+ providerId: string;
2791
+ /**
2792
+ * @generated from field: string connection_id = 5;
2793
+ */
2794
+ connectionId: string;
2795
+ /**
2796
+ * @generated from field: string query = 6;
2797
+ */
2798
+ query: string;
2799
+ /**
2800
+ * @generated from field: int32 limit = 7;
2801
+ */
2802
+ limit: number;
2803
+ /**
2804
+ * @generated from field: map<string, string> metadata = 8;
2805
+ */
2806
+ metadata: {
2807
+ [key: string]: string;
2808
+ };
2809
+ /**
2810
+ * @generated from field: string idempotency_key = 9;
2811
+ */
2812
+ idempotencyKey: string;
2813
+ };
2814
+ /**
2815
+ * Describes the message agentruntime.v1.HydrateRunVirtualFileMountRequest.
2816
+ * Use `create(HydrateRunVirtualFileMountRequestSchema)` to create a new message.
2817
+ */
2818
+ export declare const HydrateRunVirtualFileMountRequestSchema: GenMessage<HydrateRunVirtualFileMountRequest>;
2819
+ /**
2820
+ * @generated from message agentruntime.v1.HydrateRunVirtualFileMountResponse
2821
+ */
2822
+ export type HydrateRunVirtualFileMountResponse = Message<"agentruntime.v1.HydrateRunVirtualFileMountResponse"> & {
2823
+ /**
2824
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2825
+ */
2826
+ run?: AgentRun | undefined;
2827
+ /**
2828
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
2829
+ */
2830
+ artifacts: AgentRunArtifact[];
2831
+ /**
2832
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
2833
+ */
2834
+ files: RuntimeVirtualFile[];
2835
+ /**
2836
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
2837
+ */
2838
+ event?: RuntimeEvent | undefined;
2839
+ };
2840
+ /**
2841
+ * Describes the message agentruntime.v1.HydrateRunVirtualFileMountResponse.
2842
+ * Use `create(HydrateRunVirtualFileMountResponseSchema)` to create a new message.
2843
+ */
2844
+ export declare const HydrateRunVirtualFileMountResponseSchema: GenMessage<HydrateRunVirtualFileMountResponse>;
2845
+ /**
2846
+ * @generated from message agentruntime.v1.InspectRunVirtualFilesRequest
2847
+ */
2848
+ export type InspectRunVirtualFilesRequest = Message<"agentruntime.v1.InspectRunVirtualFilesRequest"> & {
2849
+ /**
2850
+ * @generated from field: string run_id = 1;
2851
+ */
2852
+ runId: string;
2853
+ };
2854
+ /**
2855
+ * Describes the message agentruntime.v1.InspectRunVirtualFilesRequest.
2856
+ * Use `create(InspectRunVirtualFilesRequestSchema)` to create a new message.
2857
+ */
2858
+ export declare const InspectRunVirtualFilesRequestSchema: GenMessage<InspectRunVirtualFilesRequest>;
2859
+ /**
2860
+ * @generated from message agentruntime.v1.RuntimeVirtualFileInspectorSummary
2861
+ */
2862
+ export type RuntimeVirtualFileInspectorSummary = Message<"agentruntime.v1.RuntimeVirtualFileInspectorSummary"> & {
2863
+ /**
2864
+ * @generated from field: int32 file_count = 1;
2865
+ */
2866
+ fileCount: number;
2867
+ /**
2868
+ * @generated from field: int32 mount_count = 2;
2869
+ */
2870
+ mountCount: number;
2871
+ /**
2872
+ * @generated from field: int32 transaction_count = 3;
2873
+ */
2874
+ transactionCount: number;
2875
+ /**
2876
+ * @generated from field: int32 lazy_mount_count = 4;
2877
+ */
2878
+ lazyMountCount: number;
2879
+ /**
2880
+ * @generated from field: int32 hydrated_file_count = 5;
2881
+ */
2882
+ hydratedFileCount: number;
2883
+ /**
2884
+ * @generated from field: int32 cerebro_candidate_count = 6;
2885
+ */
2886
+ cerebroCandidateCount: number;
2887
+ /**
2888
+ * @generated from field: int32 cerebro_ready_count = 7;
2889
+ */
2890
+ cerebroReadyCount: number;
2891
+ /**
2892
+ * @generated from field: int32 accepted_file_count = 8;
2893
+ */
2894
+ acceptedFileCount: number;
2895
+ /**
2896
+ * @generated from field: int32 content_address_count = 9;
2897
+ */
2898
+ contentAddressCount: number;
2899
+ /**
2900
+ * @generated from field: int32 hydration_cache_hit_count = 10;
2901
+ */
2902
+ hydrationCacheHitCount: number;
2903
+ /**
2904
+ * @generated from field: int32 stale_transaction_count = 11;
2905
+ */
2906
+ staleTransactionCount: number;
2907
+ /**
2908
+ * @generated from field: int32 shadowed_file_count = 12;
2909
+ */
2910
+ shadowedFileCount: number;
2911
+ };
2912
+ /**
2913
+ * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorSummary.
2914
+ * Use `create(RuntimeVirtualFileInspectorSummarySchema)` to create a new message.
2915
+ */
2916
+ export declare const RuntimeVirtualFileInspectorSummarySchema: GenMessage<RuntimeVirtualFileInspectorSummary>;
2917
+ /**
2918
+ * @generated from message agentruntime.v1.RuntimeVirtualFileInspectorMount
2919
+ */
2920
+ export type RuntimeVirtualFileInspectorMount = Message<"agentruntime.v1.RuntimeVirtualFileInspectorMount"> & {
2921
+ /**
2922
+ * @generated from field: string path = 1;
2923
+ */
2924
+ path: string;
2925
+ /**
2926
+ * @generated from field: int32 file_count = 2;
2927
+ */
2928
+ fileCount: number;
2929
+ /**
2930
+ * @generated from field: int64 size_bytes = 3;
2931
+ */
2932
+ sizeBytes: bigint;
2933
+ /**
2934
+ * @generated from field: bool lazy = 4;
2935
+ */
2936
+ lazy: boolean;
2937
+ /**
2938
+ * @generated from field: string provider_id = 5;
2939
+ */
2940
+ providerId: string;
2941
+ /**
2942
+ * @generated from field: string connection_id = 6;
2943
+ */
2944
+ connectionId: string;
2945
+ /**
2946
+ * @generated from field: string cache_policy = 7;
2947
+ */
2948
+ cachePolicy: string;
2949
+ /**
2950
+ * @generated from field: string policy = 8;
2951
+ */
2952
+ policy: string;
2953
+ /**
2954
+ * @generated from field: string cerebro_index = 9;
2955
+ */
2956
+ cerebroIndex: string;
2957
+ /**
2958
+ * @generated from field: int32 secret_ref_count = 10;
2959
+ */
2960
+ secretRefCount: number;
2961
+ /**
2962
+ * @generated from field: repeated string source_services = 11;
2963
+ */
2964
+ sourceServices: string[];
2965
+ };
2966
+ /**
2967
+ * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorMount.
2968
+ * Use `create(RuntimeVirtualFileInspectorMountSchema)` to create a new message.
2969
+ */
2970
+ export declare const RuntimeVirtualFileInspectorMountSchema: GenMessage<RuntimeVirtualFileInspectorMount>;
2971
+ /**
2972
+ * @generated from message agentruntime.v1.RuntimeVirtualFileInspectorTransaction
2973
+ */
2974
+ export type RuntimeVirtualFileInspectorTransaction = Message<"agentruntime.v1.RuntimeVirtualFileInspectorTransaction"> & {
2975
+ /**
2976
+ * @generated from field: string transaction_id = 1;
2977
+ */
2978
+ transactionId: string;
2979
+ /**
2980
+ * @generated from field: string view = 2;
2981
+ */
2982
+ view: string;
2983
+ /**
2984
+ * @generated from field: string parent_revision_id = 3;
2985
+ */
2986
+ parentRevisionId: string;
2987
+ /**
2988
+ * @generated from field: int32 file_count = 4;
2989
+ */
2990
+ fileCount: number;
2991
+ /**
2992
+ * @generated from field: string policy = 5;
2993
+ */
2994
+ policy: string;
2995
+ /**
2996
+ * @generated from field: string cerebro_index = 6;
2997
+ */
2998
+ cerebroIndex: string;
2999
+ /**
3000
+ * @generated from field: repeated string content_addresses = 7;
3001
+ */
3002
+ contentAddresses: string[];
3003
+ };
3004
+ /**
3005
+ * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorTransaction.
3006
+ * Use `create(RuntimeVirtualFileInspectorTransactionSchema)` to create a new message.
3007
+ */
3008
+ export declare const RuntimeVirtualFileInspectorTransactionSchema: GenMessage<RuntimeVirtualFileInspectorTransaction>;
3009
+ /**
3010
+ * @generated from message agentruntime.v1.InspectRunVirtualFilesResponse
3011
+ */
3012
+ export type InspectRunVirtualFilesResponse = Message<"agentruntime.v1.InspectRunVirtualFilesResponse"> & {
3013
+ /**
3014
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileInspectorSummary summary = 1;
3015
+ */
3016
+ summary?: RuntimeVirtualFileInspectorSummary | undefined;
3017
+ /**
3018
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileInspectorMount mounts = 2;
3019
+ */
3020
+ mounts: RuntimeVirtualFileInspectorMount[];
3021
+ /**
3022
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileInspectorTransaction transactions = 3;
3023
+ */
3024
+ transactions: RuntimeVirtualFileInspectorTransaction[];
3025
+ /**
3026
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileEntry entries = 4;
3027
+ */
3028
+ entries: RuntimeVirtualFileEntry[];
3029
+ };
3030
+ /**
3031
+ * Describes the message agentruntime.v1.InspectRunVirtualFilesResponse.
3032
+ * Use `create(InspectRunVirtualFilesResponseSchema)` to create a new message.
3033
+ */
3034
+ export declare const InspectRunVirtualFilesResponseSchema: GenMessage<InspectRunVirtualFilesResponse>;
3035
+ /**
3036
+ * AgentRunState describes the runtime lifecycle of one durable attempt.
3037
+ *
3038
+ * @generated from enum agentruntime.v1.AgentRunState
3039
+ */
3040
+ export declare enum AgentRunState {
3041
+ /**
3042
+ * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
3043
+ */
3044
+ UNSPECIFIED = 0,
3045
+ /**
3046
+ * @generated from enum value: AGENT_RUN_STATE_ACCEPTED = 1;
3047
+ */
3048
+ ACCEPTED = 1,
3049
+ /**
3050
+ * @generated from enum value: AGENT_RUN_STATE_QUEUED = 2;
3051
+ */
3052
+ QUEUED = 2,
3053
+ /**
3054
+ * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
3055
+ */
3056
+ RUNNING = 3,
3057
+ /**
3058
+ * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
3059
+ */
3060
+ WAITING = 4,
3061
+ /**
3062
+ * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
3063
+ */
3064
+ SUCCEEDED = 5,
3065
+ /**
3066
+ * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
3067
+ */
3068
+ FAILED = 6,
3069
+ /**
3070
+ * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
3071
+ */
3072
+ CANCELLED = 7,
3073
+ /**
3074
+ * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
3075
+ */
3076
+ RETRYING = 8,
3077
+ /**
3078
+ * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
3079
+ */
3080
+ DEAD_LETTERED = 9
3081
+ }
3082
+ /**
3083
+ * Describes the enum agentruntime.v1.AgentRunState.
3084
+ */
3085
+ export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
3086
+ /**
3087
+ * AgentRunStepState describes progress for a single durable step record.
3088
+ *
3089
+ * @generated from enum agentruntime.v1.AgentRunStepState
3090
+ */
3091
+ export declare enum AgentRunStepState {
3092
+ /**
3093
+ * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
3094
+ */
3095
+ UNSPECIFIED = 0,
3096
+ /**
3097
+ * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
3098
+ */
3099
+ PENDING = 1,
3100
+ /**
3101
+ * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
3102
+ */
3103
+ RUNNING = 2,
3104
+ /**
3105
+ * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
3106
+ */
3107
+ WAITING = 3,
3108
+ /**
3109
+ * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
3110
+ */
3111
+ SUCCEEDED = 4,
3112
+ /**
3113
+ * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
3114
+ */
3115
+ FAILED = 5,
3116
+ /**
3117
+ * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
3118
+ */
3119
+ CANCELLED = 6,
3120
+ /**
3121
+ * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
3122
+ */
3123
+ SKIPPED = 7
3124
+ }
3125
+ /**
3126
+ * Describes the enum agentruntime.v1.AgentRunStepState.
3127
+ */
3128
+ export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
3129
+ /**
3130
+ * AgentRunStepKind classifies the durable work represented by a run step.
3131
+ *
3132
+ * @generated from enum agentruntime.v1.AgentRunStepKind
3133
+ */
3134
+ export declare enum AgentRunStepKind {
3135
+ /**
3136
+ * @generated from enum value: AGENT_RUN_STEP_KIND_UNSPECIFIED = 0;
2206
3137
  */
2207
3138
  UNSPECIFIED = 0,
2208
3139
  /**
@@ -2228,7 +3159,31 @@ export declare enum AgentRunStepKind {
2228
3159
  /**
2229
3160
  * @generated from enum value: AGENT_RUN_STEP_KIND_SYSTEM = 6;
2230
3161
  */
2231
- SYSTEM = 6
3162
+ SYSTEM = 6,
3163
+ /**
3164
+ * @generated from enum value: AGENT_RUN_STEP_KIND_CONTEXT_ENRICHMENT = 7;
3165
+ */
3166
+ CONTEXT_ENRICHMENT = 7,
3167
+ /**
3168
+ * @generated from enum value: AGENT_RUN_STEP_KIND_PLAN = 8;
3169
+ */
3170
+ PLAN = 8,
3171
+ /**
3172
+ * @generated from enum value: AGENT_RUN_STEP_KIND_PATCH = 9;
3173
+ */
3174
+ PATCH = 9,
3175
+ /**
3176
+ * @generated from enum value: AGENT_RUN_STEP_KIND_TEST = 10;
3177
+ */
3178
+ TEST = 10,
3179
+ /**
3180
+ * @generated from enum value: AGENT_RUN_STEP_KIND_PULL_REQUEST_SYNC = 11;
3181
+ */
3182
+ PULL_REQUEST_SYNC = 11,
3183
+ /**
3184
+ * @generated from enum value: AGENT_RUN_STEP_KIND_REVIEW_SYNC = 12;
3185
+ */
3186
+ REVIEW_SYNC = 12
2232
3187
  }
2233
3188
  /**
2234
3189
  * Describes the enum agentruntime.v1.AgentRunStepKind.
@@ -2333,7 +3288,31 @@ export declare enum AgentRunArtifactKind {
2333
3288
  /**
2334
3289
  * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_SYSTEM = 7;
2335
3290
  */
2336
- SYSTEM = 7
3291
+ SYSTEM = 7,
3292
+ /**
3293
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_PATCH = 8;
3294
+ */
3295
+ PATCH = 8,
3296
+ /**
3297
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_PULL_REQUEST = 9;
3298
+ */
3299
+ PULL_REQUEST = 9,
3300
+ /**
3301
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_PULL_REQUEST_COMMENT = 10;
3302
+ */
3303
+ PULL_REQUEST_COMMENT = 10,
3304
+ /**
3305
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_CI_STATUS = 11;
3306
+ */
3307
+ CI_STATUS = 11,
3308
+ /**
3309
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_RUN_PANEL = 12;
3310
+ */
3311
+ RUN_PANEL = 12,
3312
+ /**
3313
+ * @generated from enum value: AGENT_RUN_ARTIFACT_KIND_EVALUATION_EXAMPLE = 13;
3314
+ */
3315
+ EVALUATION_EXAMPLE = 13
2337
3316
  }
2338
3317
  /**
2339
3318
  * Describes the enum agentruntime.v1.AgentRunArtifactKind.
@@ -2428,7 +3407,55 @@ export declare enum RuntimeEventType {
2428
3407
  /**
2429
3408
  * @generated from enum value: RUNTIME_EVENT_TYPE_STREAM_CURSOR_RECORDED = 20;
2430
3409
  */
2431
- STREAM_CURSOR_RECORDED = 20
3410
+ STREAM_CURSOR_RECORDED = 20,
3411
+ /**
3412
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_INTERACTION_REQUESTED = 21;
3413
+ */
3414
+ CODEX_INTERACTION_REQUESTED = 21,
3415
+ /**
3416
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_INTERACTION_RESOLVED = 22;
3417
+ */
3418
+ CODEX_INTERACTION_RESOLVED = 22,
3419
+ /**
3420
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_PROGRESS_RECORDED = 23;
3421
+ */
3422
+ CODEX_PROGRESS_RECORDED = 23,
3423
+ /**
3424
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_OUTPUT_SYNCED = 24;
3425
+ */
3426
+ CODEX_OUTPUT_SYNCED = 24,
3427
+ /**
3428
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_OUTCOME_OBSERVED = 25;
3429
+ */
3430
+ CODEX_OUTCOME_OBSERVED = 25,
3431
+ /**
3432
+ * @generated from enum value: RUNTIME_EVENT_TYPE_CHANNEL_MESSAGE_RECORDED = 26;
3433
+ */
3434
+ CHANNEL_MESSAGE_RECORDED = 26,
3435
+ /**
3436
+ * @generated from enum value: RUNTIME_EVENT_TYPE_MODEL_RESPONSE_RECORDED = 27;
3437
+ */
3438
+ MODEL_RESPONSE_RECORDED = 27,
3439
+ /**
3440
+ * @generated from enum value: RUNTIME_EVENT_TYPE_TOOL_CALL_RECORDED = 28;
3441
+ */
3442
+ TOOL_CALL_RECORDED = 28,
3443
+ /**
3444
+ * @generated from enum value: RUNTIME_EVENT_TYPE_TOOL_RESULT_RECORDED = 29;
3445
+ */
3446
+ TOOL_RESULT_RECORDED = 29,
3447
+ /**
3448
+ * @generated from enum value: RUNTIME_EVENT_TYPE_APPROVAL_REQUESTED = 30;
3449
+ */
3450
+ APPROVAL_REQUESTED = 30,
3451
+ /**
3452
+ * @generated from enum value: RUNTIME_EVENT_TYPE_APPROVAL_RESOLVED = 31;
3453
+ */
3454
+ APPROVAL_RESOLVED = 31,
3455
+ /**
3456
+ * @generated from enum value: RUNTIME_EVENT_TYPE_AGENT_PROGRESS_RECORDED = 32;
3457
+ */
3458
+ AGENT_PROGRESS_RECORDED = 32
2432
3459
  }
2433
3460
  /**
2434
3461
  * Describes the enum agentruntime.v1.RuntimeEventType.
@@ -2493,7 +3520,19 @@ export declare enum RuntimeWorkEnvelopeKind {
2493
3520
  /**
2494
3521
  * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_CALENDAR_EVENT = 4;
2495
3522
  */
2496
- CALENDAR_EVENT = 4
3523
+ CALENDAR_EVENT = 4,
3524
+ /**
3525
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_PULL_REQUEST = 5;
3526
+ */
3527
+ PULL_REQUEST = 5,
3528
+ /**
3529
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_INCIDENT = 6;
3530
+ */
3531
+ INCIDENT = 6,
3532
+ /**
3533
+ * @generated from enum value: RUNTIME_WORK_ENVELOPE_KIND_REPOSITORY = 7;
3534
+ */
3535
+ REPOSITORY = 7
2497
3536
  }
2498
3537
  /**
2499
3538
  * Describes the enum agentruntime.v1.RuntimeWorkEnvelopeKind.
@@ -2525,7 +3564,31 @@ export declare enum RuntimeChannelKind {
2525
3564
  /**
2526
3565
  * @generated from enum value: RUNTIME_CHANNEL_KIND_EMAIL = 4;
2527
3566
  */
2528
- EMAIL = 4
3567
+ EMAIL = 4,
3568
+ /**
3569
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_GITHUB = 5;
3570
+ */
3571
+ GITHUB = 5,
3572
+ /**
3573
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_LINEAR = 6;
3574
+ */
3575
+ LINEAR = 6,
3576
+ /**
3577
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_JIRA = 7;
3578
+ */
3579
+ JIRA = 7,
3580
+ /**
3581
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_IDE = 8;
3582
+ */
3583
+ IDE = 8,
3584
+ /**
3585
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_MONITORING = 9;
3586
+ */
3587
+ MONITORING = 9,
3588
+ /**
3589
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_BROWSER_EXTENSION = 10;
3590
+ */
3591
+ BROWSER_EXTENSION = 10
2529
3592
  }
2530
3593
  /**
2531
3594
  * Describes the enum agentruntime.v1.RuntimeChannelKind.
@@ -2590,7 +3653,31 @@ export declare enum RuntimeTriggerKind {
2590
3653
  /**
2591
3654
  * @generated from enum value: RUNTIME_TRIGGER_KIND_WEB = 12;
2592
3655
  */
2593
- WEB = 12
3656
+ WEB = 12,
3657
+ /**
3658
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_GITHUB_ISSUE_COMMENT = 13;
3659
+ */
3660
+ GITHUB_ISSUE_COMMENT = 13,
3661
+ /**
3662
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_GITHUB_PULL_REQUEST_COMMENT = 14;
3663
+ */
3664
+ GITHUB_PULL_REQUEST_COMMENT = 14,
3665
+ /**
3666
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_LINEAR_ACTION = 15;
3667
+ */
3668
+ LINEAR_ACTION = 15,
3669
+ /**
3670
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_IDE_COMMAND = 16;
3671
+ */
3672
+ IDE_COMMAND = 16,
3673
+ /**
3674
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_MONITORING_ALERT = 17;
3675
+ */
3676
+ MONITORING_ALERT = 17,
3677
+ /**
3678
+ * @generated from enum value: RUNTIME_TRIGGER_KIND_PROACTIVE_PATTERN = 18;
3679
+ */
3680
+ PROACTIVE_PATTERN = 18
2594
3681
  }
2595
3682
  /**
2596
3683
  * Describes the enum agentruntime.v1.RuntimeTriggerKind.
@@ -2708,7 +3795,15 @@ export declare enum ChannelActionKind {
2708
3795
  /**
2709
3796
  * @generated from enum value: CHANNEL_ACTION_KIND_GENERIC = 6;
2710
3797
  */
2711
- GENERIC = 6
3798
+ GENERIC = 6,
3799
+ /**
3800
+ * @generated from enum value: CHANNEL_ACTION_KIND_CODEX_INTERACTION = 7;
3801
+ */
3802
+ CODEX_INTERACTION = 7,
3803
+ /**
3804
+ * @generated from enum value: CHANNEL_ACTION_KIND_BROWSER_CONTROL = 8;
3805
+ */
3806
+ BROWSER_CONTROL = 8
2712
3807
  }
2713
3808
  /**
2714
3809
  * Describes the enum agentruntime.v1.ChannelActionKind.
@@ -2752,7 +3847,31 @@ export declare enum ChannelActionTargetKind {
2752
3847
  /**
2753
3848
  * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_TOOL_EXECUTION = 7;
2754
3849
  */
2755
- TOOL_EXECUTION = 7
3850
+ TOOL_EXECUTION = 7,
3851
+ /**
3852
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_CODEX_SESSION = 8;
3853
+ */
3854
+ CODEX_SESSION = 8,
3855
+ /**
3856
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_PATCH = 9;
3857
+ */
3858
+ PATCH = 9,
3859
+ /**
3860
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_PULL_REQUEST = 10;
3861
+ */
3862
+ PULL_REQUEST = 10,
3863
+ /**
3864
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_BROWSER_SESSION = 11;
3865
+ */
3866
+ BROWSER_SESSION = 11,
3867
+ /**
3868
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_BROWSER_TAB = 12;
3869
+ */
3870
+ BROWSER_TAB = 12,
3871
+ /**
3872
+ * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_BROWSER_NATIVE_HOST = 13;
3873
+ */
3874
+ BROWSER_NATIVE_HOST = 13
2756
3875
  }
2757
3876
  /**
2758
3877
  * Describes the enum agentruntime.v1.ChannelActionTargetKind.
@@ -3043,6 +4162,19 @@ export declare const AgentRuntimeService: GenService<{
3043
4162
  input: typeof RecordRunStreamCursorRequestSchema;
3044
4163
  output: typeof RecordRunStreamCursorResponseSchema;
3045
4164
  };
4165
+ /**
4166
+ * RecordRunEvent appends an adapter-observed lifecycle event to an existing
4167
+ * AgentRun without requiring a worker lease. Channel adapters use this to
4168
+ * attach Slack/Teams/email delivery, approval, model, and tool milestones
4169
+ * while Platform remains the durable source of truth for the run timeline.
4170
+ *
4171
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordRunEvent
4172
+ */
4173
+ recordRunEvent: {
4174
+ methodKind: "unary";
4175
+ input: typeof RecordRunEventRequestSchema;
4176
+ output: typeof RecordRunEventResponseSchema;
4177
+ };
3046
4178
  /**
3047
4179
  * WaitRun parks the run on an approval, input, timer, or event wait and
3048
4180
  * clears the worker lease so no compute is held while blocked.
@@ -3191,4 +4323,95 @@ export declare const AgentRuntimeService: GenService<{
3191
4323
  input: typeof ListRunEventsRequestSchema;
3192
4324
  output: typeof ListRunEventsResponseSchema;
3193
4325
  };
4326
+ /**
4327
+ * ListRunVirtualFiles lists the durable read model of a run's virtual
4328
+ * filesystem, including context files and agent-authored proposal files.
4329
+ *
4330
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListRunVirtualFiles
4331
+ */
4332
+ listRunVirtualFiles: {
4333
+ methodKind: "unary";
4334
+ input: typeof ListRunVirtualFilesRequestSchema;
4335
+ output: typeof ListRunVirtualFilesResponseSchema;
4336
+ };
4337
+ /**
4338
+ * ReadRunVirtualFile reads a bounded slice of one run virtual file. Workers
4339
+ * should use this instead of loading every virtual file into model context.
4340
+ *
4341
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ReadRunVirtualFile
4342
+ */
4343
+ readRunVirtualFile: {
4344
+ methodKind: "unary";
4345
+ input: typeof ReadRunVirtualFileRequestSchema;
4346
+ output: typeof ReadRunVirtualFileResponseSchema;
4347
+ };
4348
+ /**
4349
+ * SearchRunVirtualFiles performs bounded literal search over text virtual
4350
+ * files projected for an AgentRun.
4351
+ *
4352
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.SearchRunVirtualFiles
4353
+ */
4354
+ searchRunVirtualFiles: {
4355
+ methodKind: "unary";
4356
+ input: typeof SearchRunVirtualFilesRequestSchema;
4357
+ output: typeof SearchRunVirtualFilesResponseSchema;
4358
+ };
4359
+ /**
4360
+ * RecordRunVirtualFileProposal writes an agent-authored file into the
4361
+ * proposal/workspace side of the VFS. Source mounts such as /context remain
4362
+ * read-only; promotion to real side effects happens through reviewers or
4363
+ * downstream services.
4364
+ *
4365
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordRunVirtualFileProposal
4366
+ */
4367
+ recordRunVirtualFileProposal: {
4368
+ methodKind: "unary";
4369
+ input: typeof RecordRunVirtualFileProposalRequestSchema;
4370
+ output: typeof RecordRunVirtualFileProposalResponseSchema;
4371
+ };
4372
+ /**
4373
+ * RecordRunVirtualFileTransaction atomically stages a multi-file VFS change
4374
+ * set as durable proposal artifacts with shared revision and review metadata.
4375
+ *
4376
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordRunVirtualFileTransaction
4377
+ */
4378
+ recordRunVirtualFileTransaction: {
4379
+ methodKind: "unary";
4380
+ input: typeof RecordRunVirtualFileTransactionRequestSchema;
4381
+ output: typeof RecordRunVirtualFileTransactionResponseSchema;
4382
+ };
4383
+ /**
4384
+ * PromoteRunVirtualFileTransaction records a reviewed transaction as the
4385
+ * accepted workspace view. Promotion is idempotent by transaction and keeps
4386
+ * proposal artifacts intact for audit.
4387
+ *
4388
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.PromoteRunVirtualFileTransaction
4389
+ */
4390
+ promoteRunVirtualFileTransaction: {
4391
+ methodKind: "unary";
4392
+ input: typeof PromoteRunVirtualFileTransactionRequestSchema;
4393
+ output: typeof PromoteRunVirtualFileTransactionResponseSchema;
4394
+ };
4395
+ /**
4396
+ * HydrateRunVirtualFileMount resolves a lazy connector mount into bounded
4397
+ * run-scoped VFS files without exposing credentials to the worker.
4398
+ *
4399
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.HydrateRunVirtualFileMount
4400
+ */
4401
+ hydrateRunVirtualFileMount: {
4402
+ methodKind: "unary";
4403
+ input: typeof HydrateRunVirtualFileMountRequestSchema;
4404
+ output: typeof HydrateRunVirtualFileMountResponseSchema;
4405
+ };
4406
+ /**
4407
+ * InspectRunVirtualFiles returns a debug projection over mounts,
4408
+ * transactions, content addresses, and Cerebro indexing readiness.
4409
+ *
4410
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.InspectRunVirtualFiles
4411
+ */
4412
+ inspectRunVirtualFiles: {
4413
+ methodKind: "unary";
4414
+ input: typeof InspectRunVirtualFilesRequestSchema;
4415
+ output: typeof InspectRunVirtualFilesResponseSchema;
4416
+ };
3194
4417
  }>;