@evalops/sdk-ts 0.1.96 → 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.
@@ -39,6 +39,11 @@ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelConte
39
39
  */
40
40
  messageId: string;
41
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
+ *
42
47
  * @generated from field: string actor_id = 6;
43
48
  */
44
49
  actorId: string;
@@ -52,6 +57,18 @@ export type RuntimeChannelContext = Message<"agentruntime.v1.RuntimeChannelConte
52
57
  attributes: {
53
58
  [key: string]: string;
54
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;
55
72
  };
56
73
  /**
57
74
  * Describes the message agentruntime.v1.RuntimeChannelContext.
@@ -425,12 +442,191 @@ export type RuntimeContext = Message<"agentruntime.v1.RuntimeContext"> & {
425
442
  attributes: {
426
443
  [key: string]: string;
427
444
  };
445
+ /**
446
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile virtual_files = 3;
447
+ */
448
+ virtualFiles: RuntimeVirtualFile[];
428
449
  };
429
450
  /**
430
451
  * Describes the message agentruntime.v1.RuntimeContext.
431
452
  * Use `create(RuntimeContextSchema)` to create a new message.
432
453
  */
433
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>;
434
630
  /**
435
631
  * RuntimeDependency names one platform service boundary the runtime depends on.
436
632
  *
@@ -1432,6 +1628,74 @@ export type RecordRunStreamCursorResponse = Message<"agentruntime.v1.RecordRunSt
1432
1628
  * Use `create(RecordRunStreamCursorResponseSchema)` to create a new message.
1433
1629
  */
1434
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>;
1435
1699
  /**
1436
1700
  * @generated from message agentruntime.v1.WaitRunRequest
1437
1701
  */
@@ -2139,125 +2403,755 @@ export type ListRunEventsResponse = Message<"agentruntime.v1.ListRunEventsRespon
2139
2403
  */
2140
2404
  export declare const ListRunEventsResponseSchema: GenMessage<ListRunEventsResponse>;
2141
2405
  /**
2142
- * AgentRunState describes the runtime lifecycle of one durable attempt.
2143
- *
2144
- * @generated from enum agentruntime.v1.AgentRunState
2406
+ * @generated from message agentruntime.v1.ListRunVirtualFilesRequest
2145
2407
  */
2146
- export declare enum AgentRunState {
2147
- /**
2148
- * @generated from enum value: AGENT_RUN_STATE_UNSPECIFIED = 0;
2149
- */
2150
- UNSPECIFIED = 0,
2151
- /**
2152
- * @generated from enum value: AGENT_RUN_STATE_ACCEPTED = 1;
2153
- */
2154
- ACCEPTED = 1,
2408
+ export type ListRunVirtualFilesRequest = Message<"agentruntime.v1.ListRunVirtualFilesRequest"> & {
2155
2409
  /**
2156
- * @generated from enum value: AGENT_RUN_STATE_QUEUED = 2;
2410
+ * @generated from field: string run_id = 1;
2157
2411
  */
2158
- QUEUED = 2,
2412
+ runId: string;
2159
2413
  /**
2160
- * @generated from enum value: AGENT_RUN_STATE_RUNNING = 3;
2414
+ * @generated from field: string path_prefix = 2;
2161
2415
  */
2162
- RUNNING = 3,
2416
+ pathPrefix: string;
2163
2417
  /**
2164
- * @generated from enum value: AGENT_RUN_STATE_WAITING = 4;
2418
+ * @generated from field: int32 limit = 3;
2165
2419
  */
2166
- 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"> & {
2167
2431
  /**
2168
- * @generated from enum value: AGENT_RUN_STATE_SUCCEEDED = 5;
2432
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileEntry entries = 1;
2169
2433
  */
2170
- 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"> & {
2171
2445
  /**
2172
- * @generated from enum value: AGENT_RUN_STATE_FAILED = 6;
2446
+ * @generated from field: string run_id = 1;
2173
2447
  */
2174
- FAILED = 6,
2448
+ runId: string;
2175
2449
  /**
2176
- * @generated from enum value: AGENT_RUN_STATE_CANCELLED = 7;
2450
+ * @generated from field: string path = 2;
2177
2451
  */
2178
- CANCELLED = 7,
2452
+ path: string;
2179
2453
  /**
2180
- * @generated from enum value: AGENT_RUN_STATE_RETRYING = 8;
2454
+ * @generated from field: int32 offset = 3;
2181
2455
  */
2182
- RETRYING = 8,
2456
+ offset: number;
2183
2457
  /**
2184
- * @generated from enum value: AGENT_RUN_STATE_DEAD_LETTERED = 9;
2458
+ * @generated from field: int32 limit = 4;
2185
2459
  */
2186
- DEAD_LETTERED = 9
2187
- }
2460
+ limit: number;
2461
+ };
2188
2462
  /**
2189
- * Describes the enum agentruntime.v1.AgentRunState.
2463
+ * Describes the message agentruntime.v1.ReadRunVirtualFileRequest.
2464
+ * Use `create(ReadRunVirtualFileRequestSchema)` to create a new message.
2190
2465
  */
2191
- export declare const AgentRunStateSchema: GenEnum<AgentRunState>;
2466
+ export declare const ReadRunVirtualFileRequestSchema: GenMessage<ReadRunVirtualFileRequest>;
2192
2467
  /**
2193
- * AgentRunStepState describes progress for a single durable step record.
2194
- *
2195
- * @generated from enum agentruntime.v1.AgentRunStepState
2468
+ * @generated from message agentruntime.v1.ReadRunVirtualFileResponse
2196
2469
  */
2197
- export declare enum AgentRunStepState {
2470
+ export type ReadRunVirtualFileResponse = Message<"agentruntime.v1.ReadRunVirtualFileResponse"> & {
2198
2471
  /**
2199
- * @generated from enum value: AGENT_RUN_STEP_STATE_UNSPECIFIED = 0;
2472
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileEntry entry = 1;
2200
2473
  */
2201
- UNSPECIFIED = 0,
2474
+ entry?: RuntimeVirtualFileEntry | undefined;
2202
2475
  /**
2203
- * @generated from enum value: AGENT_RUN_STEP_STATE_PENDING = 1;
2476
+ * @generated from field: string content = 2;
2204
2477
  */
2205
- PENDING = 1,
2478
+ content: string;
2206
2479
  /**
2207
- * @generated from enum value: AGENT_RUN_STEP_STATE_RUNNING = 2;
2480
+ * @generated from field: int32 offset = 3;
2208
2481
  */
2209
- RUNNING = 2,
2482
+ offset: number;
2210
2483
  /**
2211
- * @generated from enum value: AGENT_RUN_STEP_STATE_WAITING = 3;
2484
+ * @generated from field: int32 next_offset = 4;
2212
2485
  */
2213
- WAITING = 3,
2486
+ nextOffset: number;
2214
2487
  /**
2215
- * @generated from enum value: AGENT_RUN_STEP_STATE_SUCCEEDED = 4;
2488
+ * @generated from field: bool eof = 5;
2216
2489
  */
2217
- 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"> & {
2218
2501
  /**
2219
- * @generated from enum value: AGENT_RUN_STEP_STATE_FAILED = 5;
2502
+ * @generated from field: string run_id = 1;
2220
2503
  */
2221
- FAILED = 5,
2504
+ runId: string;
2222
2505
  /**
2223
- * @generated from enum value: AGENT_RUN_STEP_STATE_CANCELLED = 6;
2506
+ * @generated from field: string query = 2;
2224
2507
  */
2225
- CANCELLED = 6,
2508
+ query: string;
2226
2509
  /**
2227
- * @generated from enum value: AGENT_RUN_STEP_STATE_SKIPPED = 7;
2510
+ * @generated from field: string path_prefix = 3;
2228
2511
  */
2229
- SKIPPED = 7
2230
- }
2512
+ pathPrefix: string;
2513
+ /**
2514
+ * @generated from field: int32 limit = 4;
2515
+ */
2516
+ limit: number;
2517
+ };
2231
2518
  /**
2232
- * Describes the enum agentruntime.v1.AgentRunStepState.
2519
+ * Describes the message agentruntime.v1.SearchRunVirtualFilesRequest.
2520
+ * Use `create(SearchRunVirtualFilesRequestSchema)` to create a new message.
2233
2521
  */
2234
- export declare const AgentRunStepStateSchema: GenEnum<AgentRunStepState>;
2522
+ export declare const SearchRunVirtualFilesRequestSchema: GenMessage<SearchRunVirtualFilesRequest>;
2235
2523
  /**
2236
- * AgentRunStepKind classifies the durable work represented by a run step.
2237
- *
2238
- * @generated from enum agentruntime.v1.AgentRunStepKind
2524
+ * @generated from message agentruntime.v1.SearchRunVirtualFilesResponse
2239
2525
  */
2240
- export declare enum AgentRunStepKind {
2526
+ export type SearchRunVirtualFilesResponse = Message<"agentruntime.v1.SearchRunVirtualFilesResponse"> & {
2241
2527
  /**
2242
- * @generated from enum value: AGENT_RUN_STEP_KIND_UNSPECIFIED = 0;
2528
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileMatch matches = 1;
2243
2529
  */
2244
- UNSPECIFIED = 0,
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"> & {
2245
2541
  /**
2246
- * @generated from enum value: AGENT_RUN_STEP_KIND_MODEL_CALL = 1;
2542
+ * @generated from field: string run_id = 1;
2247
2543
  */
2248
- MODEL_CALL = 1,
2544
+ runId: string;
2249
2545
  /**
2250
- * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_CALL_INTENT = 2;
2546
+ * @generated from field: string lease_token = 2;
2251
2547
  */
2252
- TOOL_CALL_INTENT = 2,
2548
+ leaseToken: string;
2253
2549
  /**
2254
- * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_RESULT = 3;
2550
+ * @generated from field: string path = 3;
2255
2551
  */
2256
- TOOL_RESULT = 3,
2552
+ path: string;
2257
2553
  /**
2258
- * @generated from enum value: AGENT_RUN_STEP_KIND_APPROVAL_WAIT = 4;
2554
+ * @generated from field: string media_type = 4;
2259
2555
  */
2260
- APPROVAL_WAIT = 4,
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;
3137
+ */
3138
+ UNSPECIFIED = 0,
3139
+ /**
3140
+ * @generated from enum value: AGENT_RUN_STEP_KIND_MODEL_CALL = 1;
3141
+ */
3142
+ MODEL_CALL = 1,
3143
+ /**
3144
+ * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_CALL_INTENT = 2;
3145
+ */
3146
+ TOOL_CALL_INTENT = 2,
3147
+ /**
3148
+ * @generated from enum value: AGENT_RUN_STEP_KIND_TOOL_RESULT = 3;
3149
+ */
3150
+ TOOL_RESULT = 3,
3151
+ /**
3152
+ * @generated from enum value: AGENT_RUN_STEP_KIND_APPROVAL_WAIT = 4;
3153
+ */
3154
+ APPROVAL_WAIT = 4,
2261
3155
  /**
2262
3156
  * @generated from enum value: AGENT_RUN_STEP_KIND_ERROR = 5;
2263
3157
  */
@@ -2533,7 +3427,35 @@ export declare enum RuntimeEventType {
2533
3427
  /**
2534
3428
  * @generated from enum value: RUNTIME_EVENT_TYPE_CODEX_OUTCOME_OBSERVED = 25;
2535
3429
  */
2536
- CODEX_OUTCOME_OBSERVED = 25
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
2537
3459
  }
2538
3460
  /**
2539
3461
  * Describes the enum agentruntime.v1.RuntimeEventType.
@@ -2662,7 +3584,11 @@ export declare enum RuntimeChannelKind {
2662
3584
  /**
2663
3585
  * @generated from enum value: RUNTIME_CHANNEL_KIND_MONITORING = 9;
2664
3586
  */
2665
- MONITORING = 9
3587
+ MONITORING = 9,
3588
+ /**
3589
+ * @generated from enum value: RUNTIME_CHANNEL_KIND_BROWSER_EXTENSION = 10;
3590
+ */
3591
+ BROWSER_EXTENSION = 10
2666
3592
  }
2667
3593
  /**
2668
3594
  * Describes the enum agentruntime.v1.RuntimeChannelKind.
@@ -2873,7 +3799,11 @@ export declare enum ChannelActionKind {
2873
3799
  /**
2874
3800
  * @generated from enum value: CHANNEL_ACTION_KIND_CODEX_INTERACTION = 7;
2875
3801
  */
2876
- CODEX_INTERACTION = 7
3802
+ CODEX_INTERACTION = 7,
3803
+ /**
3804
+ * @generated from enum value: CHANNEL_ACTION_KIND_BROWSER_CONTROL = 8;
3805
+ */
3806
+ BROWSER_CONTROL = 8
2877
3807
  }
2878
3808
  /**
2879
3809
  * Describes the enum agentruntime.v1.ChannelActionKind.
@@ -2929,7 +3859,19 @@ export declare enum ChannelActionTargetKind {
2929
3859
  /**
2930
3860
  * @generated from enum value: CHANNEL_ACTION_TARGET_KIND_PULL_REQUEST = 10;
2931
3861
  */
2932
- PULL_REQUEST = 10
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
2933
3875
  }
2934
3876
  /**
2935
3877
  * Describes the enum agentruntime.v1.ChannelActionTargetKind.
@@ -3220,6 +4162,19 @@ export declare const AgentRuntimeService: GenService<{
3220
4162
  input: typeof RecordRunStreamCursorRequestSchema;
3221
4163
  output: typeof RecordRunStreamCursorResponseSchema;
3222
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
+ };
3223
4178
  /**
3224
4179
  * WaitRun parks the run on an approval, input, timer, or event wait and
3225
4180
  * clears the worker lease so no compute is held while blocked.
@@ -3368,4 +4323,95 @@ export declare const AgentRuntimeService: GenService<{
3368
4323
  input: typeof ListRunEventsRequestSchema;
3369
4324
  output: typeof ListRunEventsResponseSchema;
3370
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
+ };
3371
4417
  }>;