@evalops/sdk-ts 0.1.101 → 0.1.102

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.
@@ -486,12 +486,106 @@ export type RuntimeVirtualFile = Message<"agentruntime.v1.RuntimeVirtualFile"> &
486
486
  metadata: {
487
487
  [key: string]: string;
488
488
  };
489
+ /**
490
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileProvenance provenance = 7;
491
+ */
492
+ provenance?: RuntimeVirtualFileProvenance | undefined;
493
+ /**
494
+ * @generated from field: agentruntime.v1.RuntimeSensitivity sensitivity = 8;
495
+ */
496
+ sensitivity: RuntimeSensitivity;
497
+ /**
498
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 9;
499
+ */
500
+ redactionState: RuntimeVirtualFileRedactionState;
501
+ /**
502
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 10;
503
+ */
504
+ redactions: RuntimeRedaction[];
489
505
  };
490
506
  /**
491
507
  * Describes the message agentruntime.v1.RuntimeVirtualFile.
492
508
  * Use `create(RuntimeVirtualFileSchema)` to create a new message.
493
509
  */
494
510
  export declare const RuntimeVirtualFileSchema: GenMessage<RuntimeVirtualFile>;
511
+ /**
512
+ * RuntimeVirtualFileProvenance is the typed causal projection for a VFS
513
+ * revision. Producers still preserve legacy metadata keys, but workers should
514
+ * prefer this shape when explaining, citing, promoting, or rebasing files.
515
+ *
516
+ * @generated from message agentruntime.v1.RuntimeVirtualFileProvenance
517
+ */
518
+ export type RuntimeVirtualFileProvenance = Message<"agentruntime.v1.RuntimeVirtualFileProvenance"> & {
519
+ /**
520
+ * @generated from field: string producer_service = 1;
521
+ */
522
+ producerService: string;
523
+ /**
524
+ * @generated from field: string producer_kind = 2;
525
+ */
526
+ producerKind: string;
527
+ /**
528
+ * @generated from field: string source_reference_id = 3;
529
+ */
530
+ sourceReferenceId: string;
531
+ /**
532
+ * @generated from field: string runtime_event_id = 4;
533
+ */
534
+ runtimeEventId: string;
535
+ /**
536
+ * @generated from field: string artifact_id = 5;
537
+ */
538
+ artifactId: string;
539
+ /**
540
+ * @generated from field: string step_id = 6;
541
+ */
542
+ stepId: string;
543
+ /**
544
+ * @generated from field: string tool_execution_id = 7;
545
+ */
546
+ toolExecutionId: string;
547
+ /**
548
+ * @generated from field: string hydration_id = 8;
549
+ */
550
+ hydrationId: string;
551
+ /**
552
+ * @generated from field: string transaction_id = 9;
553
+ */
554
+ transactionId: string;
555
+ /**
556
+ * @generated from field: string promotion_id = 10;
557
+ */
558
+ promotionId: string;
559
+ /**
560
+ * @generated from field: string evidence_handle = 11;
561
+ */
562
+ evidenceHandle: string;
563
+ /**
564
+ * @generated from field: string trace_id = 12;
565
+ */
566
+ traceId: string;
567
+ /**
568
+ * @generated from field: string span_id = 13;
569
+ */
570
+ spanId: string;
571
+ /**
572
+ * @generated from field: repeated string parent_revision_ids = 14;
573
+ */
574
+ parentRevisionIds: string[];
575
+ /**
576
+ * @generated from field: string provider_id = 15;
577
+ */
578
+ providerId: string;
579
+ /**
580
+ * @generated from field: string connection_id = 16;
581
+ */
582
+ connectionId: string;
583
+ };
584
+ /**
585
+ * Describes the message agentruntime.v1.RuntimeVirtualFileProvenance.
586
+ * Use `create(RuntimeVirtualFileProvenanceSchema)` to create a new message.
587
+ */
588
+ export declare const RuntimeVirtualFileProvenanceSchema: GenMessage<RuntimeVirtualFileProvenance>;
495
589
  /**
496
590
  * RuntimeVirtualFileEntry is an ls/stat-friendly projection of one virtual
497
591
  * file. It intentionally omits content so callers can discover before reading.
@@ -589,6 +683,62 @@ export type RuntimeVirtualFileEntry = Message<"agentruntime.v1.RuntimeVirtualFil
589
683
  * @generated from field: string content_address = 22;
590
684
  */
591
685
  contentAddress: string;
686
+ /**
687
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileProvenance provenance = 23;
688
+ */
689
+ provenance?: RuntimeVirtualFileProvenance | undefined;
690
+ /**
691
+ * @generated from field: agentruntime.v1.RuntimeSensitivity sensitivity = 24;
692
+ */
693
+ sensitivity: RuntimeSensitivity;
694
+ /**
695
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 25;
696
+ */
697
+ redactionState: RuntimeVirtualFileRedactionState;
698
+ /**
699
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 26;
700
+ */
701
+ redactions: RuntimeRedaction[];
702
+ /**
703
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileOperation operation = 27;
704
+ */
705
+ operation: RuntimeVirtualFileOperation;
706
+ /**
707
+ * @generated from field: bool tombstone = 28;
708
+ */
709
+ tombstone: boolean;
710
+ /**
711
+ * @generated from field: string rename_from = 29;
712
+ */
713
+ renameFrom: string;
714
+ /**
715
+ * @generated from field: string rename_to = 30;
716
+ */
717
+ renameTo: string;
718
+ /**
719
+ * @generated from field: repeated string capabilities = 31;
720
+ */
721
+ capabilities: string[];
722
+ /**
723
+ * @generated from field: bool writable = 32;
724
+ */
725
+ writable: boolean;
726
+ /**
727
+ * @generated from field: bool read_only = 33;
728
+ */
729
+ readOnly: boolean;
730
+ /**
731
+ * @generated from field: bool generated = 34;
732
+ */
733
+ generated: boolean;
734
+ /**
735
+ * @generated from field: bool evidence_backed = 35;
736
+ */
737
+ evidenceBacked: boolean;
738
+ /**
739
+ * @generated from field: bool externally_indexed = 36;
740
+ */
741
+ externallyIndexed: boolean;
592
742
  };
593
743
  /**
594
744
  * Describes the message agentruntime.v1.RuntimeVirtualFileEntry.
@@ -596,7 +746,7 @@ export type RuntimeVirtualFileEntry = Message<"agentruntime.v1.RuntimeVirtualFil
596
746
  */
597
747
  export declare const RuntimeVirtualFileEntrySchema: GenMessage<RuntimeVirtualFileEntry>;
598
748
  /**
599
- * RuntimeVirtualFileMatch is one bounded literal match in a virtual file.
749
+ * RuntimeVirtualFileMatch is one bounded search match in a virtual file.
600
750
  *
601
751
  * @generated from message agentruntime.v1.RuntimeVirtualFileMatch
602
752
  */
@@ -621,6 +771,34 @@ export type RuntimeVirtualFileMatch = Message<"agentruntime.v1.RuntimeVirtualFil
621
771
  * @generated from field: string source_service = 5;
622
772
  */
623
773
  sourceService: string;
774
+ /**
775
+ * @generated from field: repeated string before_context = 6;
776
+ */
777
+ beforeContext: string[];
778
+ /**
779
+ * @generated from field: repeated string after_context = 7;
780
+ */
781
+ afterContext: string[];
782
+ /**
783
+ * @generated from field: int32 score = 8;
784
+ */
785
+ score: number;
786
+ /**
787
+ * @generated from field: repeated string match_reasons = 9;
788
+ */
789
+ matchReasons: string[];
790
+ /**
791
+ * @generated from field: string view = 10;
792
+ */
793
+ view: string;
794
+ /**
795
+ * @generated from field: string kind = 11;
796
+ */
797
+ kind: string;
798
+ /**
799
+ * @generated from field: string transaction_id = 12;
800
+ */
801
+ transactionId: string;
624
802
  };
625
803
  /**
626
804
  * Describes the message agentruntime.v1.RuntimeVirtualFileMatch.
@@ -1459,6 +1637,54 @@ export type HeartbeatRunResponse = Message<"agentruntime.v1.HeartbeatRunResponse
1459
1637
  * Use `create(HeartbeatRunResponseSchema)` to create a new message.
1460
1638
  */
1461
1639
  export declare const HeartbeatRunResponseSchema: GenMessage<HeartbeatRunResponse>;
1640
+ /**
1641
+ * @generated from message agentruntime.v1.RenewRunLeaseRequest
1642
+ */
1643
+ export type RenewRunLeaseRequest = Message<"agentruntime.v1.RenewRunLeaseRequest"> & {
1644
+ /**
1645
+ * @generated from field: string run_id = 1;
1646
+ */
1647
+ runId: string;
1648
+ /**
1649
+ * @generated from field: string lease_token = 2;
1650
+ */
1651
+ leaseToken: string;
1652
+ /**
1653
+ * @generated from field: int32 extend_seconds = 3;
1654
+ */
1655
+ extendSeconds: number;
1656
+ };
1657
+ /**
1658
+ * Describes the message agentruntime.v1.RenewRunLeaseRequest.
1659
+ * Use `create(RenewRunLeaseRequestSchema)` to create a new message.
1660
+ */
1661
+ export declare const RenewRunLeaseRequestSchema: GenMessage<RenewRunLeaseRequest>;
1662
+ /**
1663
+ * @generated from message agentruntime.v1.RenewRunLeaseResponse
1664
+ */
1665
+ export type RenewRunLeaseResponse = Message<"agentruntime.v1.RenewRunLeaseResponse"> & {
1666
+ /**
1667
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
1668
+ */
1669
+ run?: AgentRun | undefined;
1670
+ /**
1671
+ * @generated from field: agentruntime.v1.AgentRunLease lease = 2;
1672
+ */
1673
+ lease?: AgentRunLease | undefined;
1674
+ /**
1675
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
1676
+ */
1677
+ event?: RuntimeEvent | undefined;
1678
+ /**
1679
+ * @generated from field: bool renewed_after_expiry = 4;
1680
+ */
1681
+ renewedAfterExpiry: boolean;
1682
+ };
1683
+ /**
1684
+ * Describes the message agentruntime.v1.RenewRunLeaseResponse.
1685
+ * Use `create(RenewRunLeaseResponseSchema)` to create a new message.
1686
+ */
1687
+ export declare const RenewRunLeaseResponseSchema: GenMessage<RenewRunLeaseResponse>;
1462
1688
  /**
1463
1689
  * @generated from message agentruntime.v1.RecordRunStepRequest
1464
1690
  */
@@ -2576,152 +2802,354 @@ export type ListRunsByWorkEnvelopeResponse = Message<"agentruntime.v1.ListRunsBy
2576
2802
  */
2577
2803
  export declare const ListRunsByWorkEnvelopeResponseSchema: GenMessage<ListRunsByWorkEnvelopeResponse>;
2578
2804
  /**
2579
- * @generated from message agentruntime.v1.ListRunWaitsRequest
2805
+ * @generated from message agentruntime.v1.ChannelThreadAdoption
2580
2806
  */
2581
- export type ListRunWaitsRequest = Message<"agentruntime.v1.ListRunWaitsRequest"> & {
2807
+ export type ChannelThreadAdoption = Message<"agentruntime.v1.ChannelThreadAdoption"> & {
2582
2808
  /**
2583
- * @generated from field: string workspace_id = 1;
2809
+ * @generated from field: string id = 1;
2584
2810
  */
2585
- workspaceId: string;
2811
+ id: string;
2586
2812
  /**
2587
- * @generated from field: string run_id = 2;
2813
+ * @generated from field: string workspace_id = 2;
2588
2814
  */
2589
- runId: string;
2815
+ workspaceId: string;
2590
2816
  /**
2591
2817
  * @generated from field: string agent_id = 3;
2592
2818
  */
2593
2819
  agentId: string;
2594
2820
  /**
2595
- * @generated from field: string objective_id = 4;
2596
- */
2597
- objectiveId: string;
2598
- /**
2599
- * @generated from field: string work_envelope_id = 5;
2600
- */
2601
- workEnvelopeId: string;
2602
- /**
2603
- * @generated from field: agentruntime.v1.AgentRunWaitState state = 6;
2604
- */
2605
- state: AgentRunWaitState;
2606
- /**
2607
- * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
2821
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 4;
2608
2822
  */
2609
- type: AgentRunWaitType;
2823
+ channelKind: RuntimeChannelKind;
2610
2824
  /**
2611
- * @generated from field: agentruntime.v1.RuntimeAudience audience = 8;
2825
+ * @generated from field: string provider_workspace_id = 5;
2612
2826
  */
2613
- audience: RuntimeAudience;
2827
+ providerWorkspaceId: string;
2614
2828
  /**
2615
- * @generated from field: int32 limit = 9;
2829
+ * @generated from field: string channel_id = 6;
2616
2830
  */
2617
- limit: number;
2831
+ channelId: string;
2618
2832
  /**
2619
- * @generated from field: string page_token = 10;
2833
+ * @generated from field: string thread_id = 7;
2620
2834
  */
2621
- pageToken: string;
2835
+ threadId: string;
2622
2836
  /**
2623
- * external_ref filters waits by their external join key, such as an
2624
- * approvals.v1 ApprovalRequest id carried by desktop-control approval waits.
2625
- *
2626
- * @generated from field: string external_ref = 11;
2837
+ * @generated from field: string work_envelope_id = 8;
2627
2838
  */
2628
- externalRef: string;
2629
- };
2630
- /**
2631
- * Describes the message agentruntime.v1.ListRunWaitsRequest.
2632
- * Use `create(ListRunWaitsRequestSchema)` to create a new message.
2633
- */
2634
- export declare const ListRunWaitsRequestSchema: GenMessage<ListRunWaitsRequest>;
2635
- /**
2636
- * @generated from message agentruntime.v1.AgentRunWaitSummary
2637
- */
2638
- export type AgentRunWaitSummary = Message<"agentruntime.v1.AgentRunWaitSummary"> & {
2839
+ workEnvelopeId: string;
2639
2840
  /**
2640
- * @generated from field: string run_id = 1;
2841
+ * @generated from field: string first_adopted_run_id = 9;
2641
2842
  */
2642
- runId: string;
2843
+ firstAdoptedRunId: string;
2643
2844
  /**
2644
- * @generated from field: string wait_id = 2;
2845
+ * @generated from field: string last_run_id = 10;
2645
2846
  */
2646
- waitId: string;
2847
+ lastRunId: string;
2647
2848
  /**
2648
- * @generated from field: string workspace_id = 3;
2849
+ * @generated from field: google.protobuf.Timestamp first_adopted_at = 11;
2649
2850
  */
2650
- workspaceId: string;
2851
+ firstAdoptedAt?: Timestamp | undefined;
2651
2852
  /**
2652
- * @generated from field: string agent_id = 4;
2853
+ * @generated from field: google.protobuf.Timestamp updated_at = 12;
2653
2854
  */
2654
- agentId: string;
2855
+ updatedAt?: Timestamp | undefined;
2655
2856
  /**
2656
- * @generated from field: string objective_id = 5;
2857
+ * @generated from field: google.protobuf.Timestamp expires_at = 13;
2657
2858
  */
2658
- objectiveId: string;
2859
+ expiresAt?: Timestamp | undefined;
2659
2860
  /**
2660
- * @generated from field: string step_id = 6;
2861
+ * @generated from field: string last_message_id = 14;
2661
2862
  */
2662
- stepId: string;
2863
+ lastMessageId: string;
2663
2864
  /**
2664
- * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
2865
+ * @generated from field: string last_source_event_id = 15;
2665
2866
  */
2666
- type: AgentRunWaitType;
2867
+ lastSourceEventId: string;
2667
2868
  /**
2668
- * @generated from field: agentruntime.v1.AgentRunWaitState state = 8;
2869
+ * @generated from field: string last_adoption_reason = 16;
2669
2870
  */
2670
- state: AgentRunWaitState;
2871
+ lastAdoptionReason: string;
2671
2872
  /**
2672
- * @generated from field: string external_ref = 9;
2873
+ * @generated from field: string adoption_policy = 17;
2673
2874
  */
2674
- externalRef: string;
2875
+ adoptionPolicy: string;
2675
2876
  /**
2676
- * @generated from field: string reason = 10;
2877
+ * @generated from field: google.protobuf.Struct metadata = 18;
2677
2878
  */
2678
- reason: string;
2879
+ metadata?: JsonObject | undefined;
2679
2880
  /**
2680
- * @generated from field: google.protobuf.Struct payload = 11;
2881
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 19;
2681
2882
  */
2682
- payload?: JsonObject | undefined;
2883
+ channelContext?: RuntimeChannelContext | undefined;
2683
2884
  /**
2684
- * @generated from field: google.protobuf.Timestamp created_at = 12;
2885
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 20;
2685
2886
  */
2686
- createdAt?: Timestamp | undefined;
2887
+ workEnvelope?: RuntimeWorkEnvelope | undefined;
2888
+ };
2889
+ /**
2890
+ * Describes the message agentruntime.v1.ChannelThreadAdoption.
2891
+ * Use `create(ChannelThreadAdoptionSchema)` to create a new message.
2892
+ */
2893
+ export declare const ChannelThreadAdoptionSchema: GenMessage<ChannelThreadAdoption>;
2894
+ /**
2895
+ * @generated from message agentruntime.v1.GetChannelThreadAdoptionRequest
2896
+ */
2897
+ export type GetChannelThreadAdoptionRequest = Message<"agentruntime.v1.GetChannelThreadAdoptionRequest"> & {
2687
2898
  /**
2688
- * @generated from field: google.protobuf.Timestamp resume_after = 13;
2899
+ * @generated from field: string workspace_id = 1;
2689
2900
  */
2690
- resumeAfter?: Timestamp | undefined;
2901
+ workspaceId: string;
2691
2902
  /**
2692
- * @generated from field: google.protobuf.Timestamp expires_at = 14;
2903
+ * @generated from field: string agent_id = 2;
2693
2904
  */
2694
- expiresAt?: Timestamp | undefined;
2905
+ agentId: string;
2695
2906
  /**
2696
- * @generated from field: google.protobuf.Timestamp resolved_at = 15;
2907
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 3;
2697
2908
  */
2698
- resolvedAt?: Timestamp | undefined;
2909
+ channelKind: RuntimeChannelKind;
2699
2910
  /**
2700
- * @generated from field: string resolved_by_event_id = 16;
2911
+ * @generated from field: string provider_workspace_id = 4;
2701
2912
  */
2702
- resolvedByEventId: string;
2913
+ providerWorkspaceId: string;
2703
2914
  /**
2704
- * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
2915
+ * @generated from field: string channel_id = 5;
2705
2916
  */
2706
- visibility?: RuntimeVisibilityMetadata | undefined;
2917
+ channelId: string;
2707
2918
  /**
2708
- * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 18;
2919
+ * @generated from field: string thread_id = 6;
2709
2920
  */
2710
- channelContext?: RuntimeChannelContext | undefined;
2921
+ threadId: string;
2711
2922
  /**
2712
- * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 19;
2923
+ * @generated from field: bool include_expired = 7;
2713
2924
  */
2714
- workEnvelope?: RuntimeWorkEnvelope | undefined;
2925
+ includeExpired: boolean;
2715
2926
  };
2716
2927
  /**
2717
- * Describes the message agentruntime.v1.AgentRunWaitSummary.
2718
- * Use `create(AgentRunWaitSummarySchema)` to create a new message.
2928
+ * Describes the message agentruntime.v1.GetChannelThreadAdoptionRequest.
2929
+ * Use `create(GetChannelThreadAdoptionRequestSchema)` to create a new message.
2719
2930
  */
2720
- export declare const AgentRunWaitSummarySchema: GenMessage<AgentRunWaitSummary>;
2931
+ export declare const GetChannelThreadAdoptionRequestSchema: GenMessage<GetChannelThreadAdoptionRequest>;
2721
2932
  /**
2722
- * @generated from message agentruntime.v1.ListRunWaitsResponse
2933
+ * @generated from message agentruntime.v1.GetChannelThreadAdoptionResponse
2723
2934
  */
2724
- export type ListRunWaitsResponse = Message<"agentruntime.v1.ListRunWaitsResponse"> & {
2935
+ export type GetChannelThreadAdoptionResponse = Message<"agentruntime.v1.GetChannelThreadAdoptionResponse"> & {
2936
+ /**
2937
+ * @generated from field: agentruntime.v1.ChannelThreadAdoption adoption = 1;
2938
+ */
2939
+ adoption?: ChannelThreadAdoption | undefined;
2940
+ };
2941
+ /**
2942
+ * Describes the message agentruntime.v1.GetChannelThreadAdoptionResponse.
2943
+ * Use `create(GetChannelThreadAdoptionResponseSchema)` to create a new message.
2944
+ */
2945
+ export declare const GetChannelThreadAdoptionResponseSchema: GenMessage<GetChannelThreadAdoptionResponse>;
2946
+ /**
2947
+ * @generated from message agentruntime.v1.ListChannelThreadAdoptionsRequest
2948
+ */
2949
+ export type ListChannelThreadAdoptionsRequest = Message<"agentruntime.v1.ListChannelThreadAdoptionsRequest"> & {
2950
+ /**
2951
+ * @generated from field: string workspace_id = 1;
2952
+ */
2953
+ workspaceId: string;
2954
+ /**
2955
+ * @generated from field: string agent_id = 2;
2956
+ */
2957
+ agentId: string;
2958
+ /**
2959
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 3;
2960
+ */
2961
+ channelKind: RuntimeChannelKind;
2962
+ /**
2963
+ * @generated from field: string provider_workspace_id = 4;
2964
+ */
2965
+ providerWorkspaceId: string;
2966
+ /**
2967
+ * @generated from field: string channel_id = 5;
2968
+ */
2969
+ channelId: string;
2970
+ /**
2971
+ * @generated from field: string thread_id = 6;
2972
+ */
2973
+ threadId: string;
2974
+ /**
2975
+ * @generated from field: string work_envelope_id = 7;
2976
+ */
2977
+ workEnvelopeId: string;
2978
+ /**
2979
+ * @generated from field: bool include_expired = 8;
2980
+ */
2981
+ includeExpired: boolean;
2982
+ /**
2983
+ * @generated from field: int32 limit = 9;
2984
+ */
2985
+ limit: number;
2986
+ };
2987
+ /**
2988
+ * Describes the message agentruntime.v1.ListChannelThreadAdoptionsRequest.
2989
+ * Use `create(ListChannelThreadAdoptionsRequestSchema)` to create a new message.
2990
+ */
2991
+ export declare const ListChannelThreadAdoptionsRequestSchema: GenMessage<ListChannelThreadAdoptionsRequest>;
2992
+ /**
2993
+ * @generated from message agentruntime.v1.ListChannelThreadAdoptionsResponse
2994
+ */
2995
+ export type ListChannelThreadAdoptionsResponse = Message<"agentruntime.v1.ListChannelThreadAdoptionsResponse"> & {
2996
+ /**
2997
+ * @generated from field: repeated agentruntime.v1.ChannelThreadAdoption adoptions = 1;
2998
+ */
2999
+ adoptions: ChannelThreadAdoption[];
3000
+ };
3001
+ /**
3002
+ * Describes the message agentruntime.v1.ListChannelThreadAdoptionsResponse.
3003
+ * Use `create(ListChannelThreadAdoptionsResponseSchema)` to create a new message.
3004
+ */
3005
+ export declare const ListChannelThreadAdoptionsResponseSchema: GenMessage<ListChannelThreadAdoptionsResponse>;
3006
+ /**
3007
+ * @generated from message agentruntime.v1.ListRunWaitsRequest
3008
+ */
3009
+ export type ListRunWaitsRequest = Message<"agentruntime.v1.ListRunWaitsRequest"> & {
3010
+ /**
3011
+ * @generated from field: string workspace_id = 1;
3012
+ */
3013
+ workspaceId: string;
3014
+ /**
3015
+ * @generated from field: string run_id = 2;
3016
+ */
3017
+ runId: string;
3018
+ /**
3019
+ * @generated from field: string agent_id = 3;
3020
+ */
3021
+ agentId: string;
3022
+ /**
3023
+ * @generated from field: string objective_id = 4;
3024
+ */
3025
+ objectiveId: string;
3026
+ /**
3027
+ * @generated from field: string work_envelope_id = 5;
3028
+ */
3029
+ workEnvelopeId: string;
3030
+ /**
3031
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 6;
3032
+ */
3033
+ state: AgentRunWaitState;
3034
+ /**
3035
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
3036
+ */
3037
+ type: AgentRunWaitType;
3038
+ /**
3039
+ * @generated from field: agentruntime.v1.RuntimeAudience audience = 8;
3040
+ */
3041
+ audience: RuntimeAudience;
3042
+ /**
3043
+ * @generated from field: int32 limit = 9;
3044
+ */
3045
+ limit: number;
3046
+ /**
3047
+ * @generated from field: string page_token = 10;
3048
+ */
3049
+ pageToken: string;
3050
+ /**
3051
+ * external_ref filters waits by their external join key, such as an
3052
+ * approvals.v1 ApprovalRequest id carried by desktop-control approval waits.
3053
+ *
3054
+ * @generated from field: string external_ref = 11;
3055
+ */
3056
+ externalRef: string;
3057
+ };
3058
+ /**
3059
+ * Describes the message agentruntime.v1.ListRunWaitsRequest.
3060
+ * Use `create(ListRunWaitsRequestSchema)` to create a new message.
3061
+ */
3062
+ export declare const ListRunWaitsRequestSchema: GenMessage<ListRunWaitsRequest>;
3063
+ /**
3064
+ * @generated from message agentruntime.v1.AgentRunWaitSummary
3065
+ */
3066
+ export type AgentRunWaitSummary = Message<"agentruntime.v1.AgentRunWaitSummary"> & {
3067
+ /**
3068
+ * @generated from field: string run_id = 1;
3069
+ */
3070
+ runId: string;
3071
+ /**
3072
+ * @generated from field: string wait_id = 2;
3073
+ */
3074
+ waitId: string;
3075
+ /**
3076
+ * @generated from field: string workspace_id = 3;
3077
+ */
3078
+ workspaceId: string;
3079
+ /**
3080
+ * @generated from field: string agent_id = 4;
3081
+ */
3082
+ agentId: string;
3083
+ /**
3084
+ * @generated from field: string objective_id = 5;
3085
+ */
3086
+ objectiveId: string;
3087
+ /**
3088
+ * @generated from field: string step_id = 6;
3089
+ */
3090
+ stepId: string;
3091
+ /**
3092
+ * @generated from field: agentruntime.v1.AgentRunWaitType type = 7;
3093
+ */
3094
+ type: AgentRunWaitType;
3095
+ /**
3096
+ * @generated from field: agentruntime.v1.AgentRunWaitState state = 8;
3097
+ */
3098
+ state: AgentRunWaitState;
3099
+ /**
3100
+ * @generated from field: string external_ref = 9;
3101
+ */
3102
+ externalRef: string;
3103
+ /**
3104
+ * @generated from field: string reason = 10;
3105
+ */
3106
+ reason: string;
3107
+ /**
3108
+ * @generated from field: google.protobuf.Struct payload = 11;
3109
+ */
3110
+ payload?: JsonObject | undefined;
3111
+ /**
3112
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
3113
+ */
3114
+ createdAt?: Timestamp | undefined;
3115
+ /**
3116
+ * @generated from field: google.protobuf.Timestamp resume_after = 13;
3117
+ */
3118
+ resumeAfter?: Timestamp | undefined;
3119
+ /**
3120
+ * @generated from field: google.protobuf.Timestamp expires_at = 14;
3121
+ */
3122
+ expiresAt?: Timestamp | undefined;
3123
+ /**
3124
+ * @generated from field: google.protobuf.Timestamp resolved_at = 15;
3125
+ */
3126
+ resolvedAt?: Timestamp | undefined;
3127
+ /**
3128
+ * @generated from field: string resolved_by_event_id = 16;
3129
+ */
3130
+ resolvedByEventId: string;
3131
+ /**
3132
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 17;
3133
+ */
3134
+ visibility?: RuntimeVisibilityMetadata | undefined;
3135
+ /**
3136
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 18;
3137
+ */
3138
+ channelContext?: RuntimeChannelContext | undefined;
3139
+ /**
3140
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelope work_envelope = 19;
3141
+ */
3142
+ workEnvelope?: RuntimeWorkEnvelope | undefined;
3143
+ };
3144
+ /**
3145
+ * Describes the message agentruntime.v1.AgentRunWaitSummary.
3146
+ * Use `create(AgentRunWaitSummarySchema)` to create a new message.
3147
+ */
3148
+ export declare const AgentRunWaitSummarySchema: GenMessage<AgentRunWaitSummary>;
3149
+ /**
3150
+ * @generated from message agentruntime.v1.ListRunWaitsResponse
3151
+ */
3152
+ export type ListRunWaitsResponse = Message<"agentruntime.v1.ListRunWaitsResponse"> & {
2725
3153
  /**
2726
3154
  * @generated from field: repeated agentruntime.v1.AgentRunWaitSummary waits = 1;
2727
3155
  */
@@ -2932,6 +3360,10 @@ export type ListRunVirtualFilesRequest = Message<"agentruntime.v1.ListRunVirtual
2932
3360
  * @generated from field: int32 limit = 3;
2933
3361
  */
2934
3362
  limit: number;
3363
+ /**
3364
+ * @generated from field: bool include_tombstones = 4;
3365
+ */
3366
+ includeTombstones: boolean;
2935
3367
  };
2936
3368
  /**
2937
3369
  * Describes the message agentruntime.v1.ListRunVirtualFilesRequest.
@@ -2972,6 +3404,10 @@ export type ReadRunVirtualFileRequest = Message<"agentruntime.v1.ReadRunVirtualF
2972
3404
  * @generated from field: int32 limit = 4;
2973
3405
  */
2974
3406
  limit: number;
3407
+ /**
3408
+ * @generated from field: bool include_tombstones = 5;
3409
+ */
3410
+ includeTombstones: boolean;
2975
3411
  };
2976
3412
  /**
2977
3413
  * Describes the message agentruntime.v1.ReadRunVirtualFileRequest.
@@ -3002,6 +3438,14 @@ export type ReadRunVirtualFileResponse = Message<"agentruntime.v1.ReadRunVirtual
3002
3438
  * @generated from field: bool eof = 5;
3003
3439
  */
3004
3440
  eof: boolean;
3441
+ /**
3442
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 6;
3443
+ */
3444
+ redactionState: RuntimeVirtualFileRedactionState;
3445
+ /**
3446
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 7;
3447
+ */
3448
+ redactions: RuntimeRedaction[];
3005
3449
  };
3006
3450
  /**
3007
3451
  * Describes the message agentruntime.v1.ReadRunVirtualFileResponse.
@@ -3009,143 +3453,707 @@ export type ReadRunVirtualFileResponse = Message<"agentruntime.v1.ReadRunVirtual
3009
3453
  */
3010
3454
  export declare const ReadRunVirtualFileResponseSchema: GenMessage<ReadRunVirtualFileResponse>;
3011
3455
  /**
3012
- * @generated from message agentruntime.v1.SearchRunVirtualFilesRequest
3456
+ * @generated from message agentruntime.v1.StatRunVirtualFileRequest
3013
3457
  */
3014
- export type SearchRunVirtualFilesRequest = Message<"agentruntime.v1.SearchRunVirtualFilesRequest"> & {
3458
+ export type StatRunVirtualFileRequest = Message<"agentruntime.v1.StatRunVirtualFileRequest"> & {
3015
3459
  /**
3016
3460
  * @generated from field: string run_id = 1;
3017
3461
  */
3018
3462
  runId: string;
3019
3463
  /**
3020
- * @generated from field: string query = 2;
3021
- */
3022
- query: string;
3023
- /**
3024
- * @generated from field: string path_prefix = 3;
3464
+ * @generated from field: string path = 2;
3025
3465
  */
3026
- pathPrefix: string;
3466
+ path: string;
3027
3467
  /**
3028
- * @generated from field: int32 limit = 4;
3468
+ * @generated from field: bool include_tombstones = 3;
3029
3469
  */
3030
- limit: number;
3470
+ includeTombstones: boolean;
3031
3471
  };
3032
3472
  /**
3033
- * Describes the message agentruntime.v1.SearchRunVirtualFilesRequest.
3034
- * Use `create(SearchRunVirtualFilesRequestSchema)` to create a new message.
3473
+ * Describes the message agentruntime.v1.StatRunVirtualFileRequest.
3474
+ * Use `create(StatRunVirtualFileRequestSchema)` to create a new message.
3035
3475
  */
3036
- export declare const SearchRunVirtualFilesRequestSchema: GenMessage<SearchRunVirtualFilesRequest>;
3476
+ export declare const StatRunVirtualFileRequestSchema: GenMessage<StatRunVirtualFileRequest>;
3037
3477
  /**
3038
- * @generated from message agentruntime.v1.SearchRunVirtualFilesResponse
3478
+ * @generated from message agentruntime.v1.StatRunVirtualFileResponse
3039
3479
  */
3040
- export type SearchRunVirtualFilesResponse = Message<"agentruntime.v1.SearchRunVirtualFilesResponse"> & {
3480
+ export type StatRunVirtualFileResponse = Message<"agentruntime.v1.StatRunVirtualFileResponse"> & {
3041
3481
  /**
3042
- * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileMatch matches = 1;
3482
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileEntry entry = 1;
3043
3483
  */
3044
- matches: RuntimeVirtualFileMatch[];
3484
+ entry?: RuntimeVirtualFileEntry | undefined;
3045
3485
  };
3046
3486
  /**
3047
- * Describes the message agentruntime.v1.SearchRunVirtualFilesResponse.
3048
- * Use `create(SearchRunVirtualFilesResponseSchema)` to create a new message.
3487
+ * Describes the message agentruntime.v1.StatRunVirtualFileResponse.
3488
+ * Use `create(StatRunVirtualFileResponseSchema)` to create a new message.
3049
3489
  */
3050
- export declare const SearchRunVirtualFilesResponseSchema: GenMessage<SearchRunVirtualFilesResponse>;
3490
+ export declare const StatRunVirtualFileResponseSchema: GenMessage<StatRunVirtualFileResponse>;
3051
3491
  /**
3052
- * @generated from message agentruntime.v1.RecordRunVirtualFileProposalRequest
3492
+ * @generated from message agentruntime.v1.WatchRunVirtualFilesRequest
3053
3493
  */
3054
- export type RecordRunVirtualFileProposalRequest = Message<"agentruntime.v1.RecordRunVirtualFileProposalRequest"> & {
3494
+ export type WatchRunVirtualFilesRequest = Message<"agentruntime.v1.WatchRunVirtualFilesRequest"> & {
3055
3495
  /**
3056
3496
  * @generated from field: string run_id = 1;
3057
3497
  */
3058
3498
  runId: string;
3059
3499
  /**
3060
- * @generated from field: string lease_token = 2;
3500
+ * @generated from field: string since_cursor = 2;
3061
3501
  */
3062
- leaseToken: string;
3502
+ sinceCursor: string;
3063
3503
  /**
3064
- * @generated from field: string path = 3;
3504
+ * @generated from field: int32 limit = 3;
3065
3505
  */
3066
- path: string;
3506
+ limit: number;
3067
3507
  /**
3068
- * @generated from field: string media_type = 4;
3508
+ * @generated from field: bool follow = 4;
3069
3509
  */
3070
- mediaType: string;
3510
+ follow: boolean;
3071
3511
  /**
3072
- * @generated from field: string content = 5;
3512
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileSelector selector = 5;
3073
3513
  */
3074
- content: string;
3514
+ selector?: RuntimeVirtualFileSelector | undefined;
3515
+ };
3516
+ /**
3517
+ * Describes the message agentruntime.v1.WatchRunVirtualFilesRequest.
3518
+ * Use `create(WatchRunVirtualFilesRequestSchema)` to create a new message.
3519
+ */
3520
+ export declare const WatchRunVirtualFilesRequestSchema: GenMessage<WatchRunVirtualFilesRequest>;
3521
+ /**
3522
+ * @generated from message agentruntime.v1.WatchRunVirtualFilesResponse
3523
+ */
3524
+ export type WatchRunVirtualFilesResponse = Message<"agentruntime.v1.WatchRunVirtualFilesResponse"> & {
3075
3525
  /**
3076
- * @generated from field: string proposal_kind = 6;
3526
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileWatchEvent event = 1;
3077
3527
  */
3078
- proposalKind: string;
3528
+ event?: RuntimeVirtualFileWatchEvent | undefined;
3529
+ };
3530
+ /**
3531
+ * Describes the message agentruntime.v1.WatchRunVirtualFilesResponse.
3532
+ * Use `create(WatchRunVirtualFilesResponseSchema)` to create a new message.
3533
+ */
3534
+ export declare const WatchRunVirtualFilesResponseSchema: GenMessage<WatchRunVirtualFilesResponse>;
3535
+ /**
3536
+ * @generated from message agentruntime.v1.RuntimeVirtualFileWatchEvent
3537
+ */
3538
+ export type RuntimeVirtualFileWatchEvent = Message<"agentruntime.v1.RuntimeVirtualFileWatchEvent"> & {
3079
3539
  /**
3080
- * @generated from field: string step_id = 7;
3540
+ * @generated from field: string cursor = 1;
3081
3541
  */
3082
- stepId: string;
3542
+ cursor: string;
3083
3543
  /**
3084
- * @generated from field: map<string, string> metadata = 8;
3544
+ * @generated from field: string operation = 2;
3085
3545
  */
3086
- metadata: {
3087
- [key: string]: string;
3088
- };
3546
+ operation: string;
3547
+ /**
3548
+ * @generated from field: string path = 3;
3549
+ */
3550
+ path: string;
3551
+ /**
3552
+ * @generated from field: string revision_id = 4;
3553
+ */
3554
+ revisionId: string;
3555
+ /**
3556
+ * @generated from field: string parent_revision_id = 5;
3557
+ */
3558
+ parentRevisionId: string;
3559
+ /**
3560
+ * @generated from field: string transaction_id = 6;
3561
+ */
3562
+ transactionId: string;
3563
+ /**
3564
+ * @generated from field: string view = 7;
3565
+ */
3566
+ view: string;
3567
+ /**
3568
+ * @generated from field: string span_id = 8;
3569
+ */
3570
+ spanId: string;
3571
+ /**
3572
+ * @generated from field: string evidence_handle = 9;
3573
+ */
3574
+ evidenceHandle: string;
3575
+ /**
3576
+ * @generated from field: string runtime_event_id = 10;
3577
+ */
3578
+ runtimeEventId: string;
3579
+ /**
3580
+ * @generated from field: string artifact_id = 11;
3581
+ */
3582
+ artifactId: string;
3583
+ /**
3584
+ * @generated from field: string trace_id = 12;
3585
+ */
3586
+ traceId: string;
3587
+ /**
3588
+ * @generated from field: string hydration_id = 13;
3589
+ */
3590
+ hydrationId: string;
3591
+ /**
3592
+ * @generated from field: string promotion_id = 14;
3593
+ */
3594
+ promotionId: string;
3595
+ /**
3596
+ * @generated from field: string producer_service = 15;
3597
+ */
3598
+ producerService: string;
3599
+ /**
3600
+ * @generated from field: string producer_kind = 16;
3601
+ */
3602
+ producerKind: string;
3603
+ /**
3604
+ * @generated from field: google.protobuf.Timestamp occurred_at = 17;
3605
+ */
3606
+ occurredAt?: Timestamp | undefined;
3607
+ /**
3608
+ * @generated from field: string checkpoint_id = 18;
3609
+ */
3610
+ checkpointId: string;
3611
+ /**
3612
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileEntry entry = 19;
3613
+ */
3614
+ entry?: RuntimeVirtualFileEntry | undefined;
3615
+ };
3616
+ /**
3617
+ * Describes the message agentruntime.v1.RuntimeVirtualFileWatchEvent.
3618
+ * Use `create(RuntimeVirtualFileWatchEventSchema)` to create a new message.
3619
+ */
3620
+ export declare const RuntimeVirtualFileWatchEventSchema: GenMessage<RuntimeVirtualFileWatchEvent>;
3621
+ /**
3622
+ * @generated from message agentruntime.v1.RuntimeVirtualFileSelector
3623
+ */
3624
+ export type RuntimeVirtualFileSelector = Message<"agentruntime.v1.RuntimeVirtualFileSelector"> & {
3625
+ /**
3626
+ * @generated from field: repeated string paths = 1;
3627
+ */
3628
+ paths: string[];
3629
+ /**
3630
+ * @generated from field: string path_prefix = 2;
3631
+ */
3632
+ pathPrefix: string;
3633
+ /**
3634
+ * @generated from field: repeated string views = 3;
3635
+ */
3636
+ views: string[];
3637
+ /**
3638
+ * @generated from field: repeated string kinds = 4;
3639
+ */
3640
+ kinds: string[];
3641
+ /**
3642
+ * @generated from field: repeated string mounts = 5;
3643
+ */
3644
+ mounts: string[];
3645
+ /**
3646
+ * @generated from field: repeated string transaction_ids = 6;
3647
+ */
3648
+ transactionIds: string[];
3649
+ /**
3650
+ * @generated from field: repeated string policies = 7;
3651
+ */
3652
+ policies: string[];
3653
+ /**
3654
+ * @generated from field: repeated string source_services = 8;
3655
+ */
3656
+ sourceServices: string[];
3657
+ /**
3658
+ * @generated from field: repeated string cerebro_indexes = 9;
3659
+ */
3660
+ cerebroIndexes: string[];
3661
+ /**
3662
+ * @generated from field: bool include_tombstones = 10;
3663
+ */
3664
+ includeTombstones: boolean;
3665
+ };
3666
+ /**
3667
+ * Describes the message agentruntime.v1.RuntimeVirtualFileSelector.
3668
+ * Use `create(RuntimeVirtualFileSelectorSchema)` to create a new message.
3669
+ */
3670
+ export declare const RuntimeVirtualFileSelectorSchema: GenMessage<RuntimeVirtualFileSelector>;
3671
+ /**
3672
+ * @generated from message agentruntime.v1.RuntimeVirtualFileReadResult
3673
+ */
3674
+ export type RuntimeVirtualFileReadResult = Message<"agentruntime.v1.RuntimeVirtualFileReadResult"> & {
3675
+ /**
3676
+ * @generated from field: string path = 1;
3677
+ */
3678
+ path: string;
3679
+ /**
3680
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileEntry entry = 2;
3681
+ */
3682
+ entry?: RuntimeVirtualFileEntry | undefined;
3683
+ /**
3684
+ * @generated from field: string content = 3;
3685
+ */
3686
+ content: string;
3687
+ /**
3688
+ * @generated from field: int32 offset = 4;
3689
+ */
3690
+ offset: number;
3691
+ /**
3692
+ * @generated from field: int32 next_offset = 5;
3693
+ */
3694
+ nextOffset: number;
3695
+ /**
3696
+ * @generated from field: bool eof = 6;
3697
+ */
3698
+ eof: boolean;
3699
+ /**
3700
+ * @generated from field: bool skipped = 7;
3701
+ */
3702
+ skipped: boolean;
3703
+ /**
3704
+ * @generated from field: string skip_reason = 8;
3705
+ */
3706
+ skipReason: string;
3707
+ /**
3708
+ * @generated from field: string citation = 9;
3709
+ */
3710
+ citation: string;
3711
+ /**
3712
+ * @generated from field: int32 rank = 10;
3713
+ */
3714
+ rank: number;
3715
+ /**
3716
+ * @generated from field: string rank_reason = 11;
3717
+ */
3718
+ rankReason: string;
3719
+ /**
3720
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileReasonCode reason_code = 12;
3721
+ */
3722
+ reasonCode: RuntimeVirtualFileReasonCode;
3723
+ /**
3724
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 13;
3725
+ */
3726
+ redactionState: RuntimeVirtualFileRedactionState;
3727
+ /**
3728
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 14;
3729
+ */
3730
+ redactions: RuntimeRedaction[];
3731
+ };
3732
+ /**
3733
+ * Describes the message agentruntime.v1.RuntimeVirtualFileReadResult.
3734
+ * Use `create(RuntimeVirtualFileReadResultSchema)` to create a new message.
3735
+ */
3736
+ export declare const RuntimeVirtualFileReadResultSchema: GenMessage<RuntimeVirtualFileReadResult>;
3737
+ /**
3738
+ * @generated from message agentruntime.v1.BatchReadRunVirtualFilesRequest
3739
+ */
3740
+ export type BatchReadRunVirtualFilesRequest = Message<"agentruntime.v1.BatchReadRunVirtualFilesRequest"> & {
3741
+ /**
3742
+ * @generated from field: string run_id = 1;
3743
+ */
3744
+ runId: string;
3745
+ /**
3746
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileSelector selector = 2;
3747
+ */
3748
+ selector?: RuntimeVirtualFileSelector | undefined;
3749
+ /**
3750
+ * @generated from field: int32 per_file_limit = 3;
3751
+ */
3752
+ perFileLimit: number;
3753
+ /**
3754
+ * @generated from field: int32 total_limit = 4;
3755
+ */
3756
+ totalLimit: number;
3757
+ /**
3758
+ * @generated from field: int32 limit = 5;
3759
+ */
3760
+ limit: number;
3761
+ };
3762
+ /**
3763
+ * Describes the message agentruntime.v1.BatchReadRunVirtualFilesRequest.
3764
+ * Use `create(BatchReadRunVirtualFilesRequestSchema)` to create a new message.
3765
+ */
3766
+ export declare const BatchReadRunVirtualFilesRequestSchema: GenMessage<BatchReadRunVirtualFilesRequest>;
3767
+ /**
3768
+ * @generated from message agentruntime.v1.BatchReadRunVirtualFilesResponse
3769
+ */
3770
+ export type BatchReadRunVirtualFilesResponse = Message<"agentruntime.v1.BatchReadRunVirtualFilesResponse"> & {
3771
+ /**
3772
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileReadResult files = 1;
3773
+ */
3774
+ files: RuntimeVirtualFileReadResult[];
3775
+ /**
3776
+ * @generated from field: int32 total_content_bytes = 2;
3777
+ */
3778
+ totalContentBytes: number;
3779
+ /**
3780
+ * @generated from field: bool budget_exhausted = 3;
3781
+ */
3782
+ budgetExhausted: boolean;
3783
+ /**
3784
+ * @generated from field: int32 skipped_count = 4;
3785
+ */
3786
+ skippedCount: number;
3787
+ };
3788
+ /**
3789
+ * Describes the message agentruntime.v1.BatchReadRunVirtualFilesResponse.
3790
+ * Use `create(BatchReadRunVirtualFilesResponseSchema)` to create a new message.
3791
+ */
3792
+ export declare const BatchReadRunVirtualFilesResponseSchema: GenMessage<BatchReadRunVirtualFilesResponse>;
3793
+ /**
3794
+ * @generated from message agentruntime.v1.BuildRunVirtualFileContextPackRequest
3795
+ */
3796
+ export type BuildRunVirtualFileContextPackRequest = Message<"agentruntime.v1.BuildRunVirtualFileContextPackRequest"> & {
3797
+ /**
3798
+ * @generated from field: string run_id = 1;
3799
+ */
3800
+ runId: string;
3801
+ /**
3802
+ * @generated from field: string query = 2;
3803
+ */
3804
+ query: string;
3805
+ /**
3806
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileSelector selector = 3;
3807
+ */
3808
+ selector?: RuntimeVirtualFileSelector | undefined;
3809
+ /**
3810
+ * @generated from field: repeated string seed_paths = 4;
3811
+ */
3812
+ seedPaths: string[];
3813
+ /**
3814
+ * @generated from field: int32 per_file_limit = 5;
3815
+ */
3816
+ perFileLimit: number;
3817
+ /**
3818
+ * @generated from field: int32 total_limit = 6;
3819
+ */
3820
+ totalLimit: number;
3821
+ /**
3822
+ * @generated from field: int32 limit = 7;
3823
+ */
3824
+ limit: number;
3825
+ };
3826
+ /**
3827
+ * Describes the message agentruntime.v1.BuildRunVirtualFileContextPackRequest.
3828
+ * Use `create(BuildRunVirtualFileContextPackRequestSchema)` to create a new message.
3829
+ */
3830
+ export declare const BuildRunVirtualFileContextPackRequestSchema: GenMessage<BuildRunVirtualFileContextPackRequest>;
3831
+ /**
3832
+ * @generated from message agentruntime.v1.BuildRunVirtualFileContextPackResponse
3833
+ */
3834
+ export type BuildRunVirtualFileContextPackResponse = Message<"agentruntime.v1.BuildRunVirtualFileContextPackResponse"> & {
3835
+ /**
3836
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileReadResult snippets = 1;
3837
+ */
3838
+ snippets: RuntimeVirtualFileReadResult[];
3839
+ /**
3840
+ * @generated from field: int32 total_content_bytes = 2;
3841
+ */
3842
+ totalContentBytes: number;
3843
+ /**
3844
+ * @generated from field: bool budget_exhausted = 3;
3845
+ */
3846
+ budgetExhausted: boolean;
3847
+ /**
3848
+ * @generated from field: int32 skipped_count = 4;
3849
+ */
3850
+ skippedCount: number;
3851
+ /**
3852
+ * @generated from field: repeated string skipped_paths = 5;
3853
+ */
3854
+ skippedPaths: string[];
3855
+ };
3856
+ /**
3857
+ * Describes the message agentruntime.v1.BuildRunVirtualFileContextPackResponse.
3858
+ * Use `create(BuildRunVirtualFileContextPackResponseSchema)` to create a new message.
3859
+ */
3860
+ export declare const BuildRunVirtualFileContextPackResponseSchema: GenMessage<BuildRunVirtualFileContextPackResponse>;
3861
+ /**
3862
+ * @generated from message agentruntime.v1.SearchRunVirtualFilesRequest
3863
+ */
3864
+ export type SearchRunVirtualFilesRequest = Message<"agentruntime.v1.SearchRunVirtualFilesRequest"> & {
3865
+ /**
3866
+ * @generated from field: string run_id = 1;
3867
+ */
3868
+ runId: string;
3869
+ /**
3870
+ * @generated from field: string query = 2;
3871
+ */
3872
+ query: string;
3873
+ /**
3874
+ * @generated from field: string path_prefix = 3;
3875
+ */
3876
+ pathPrefix: string;
3877
+ /**
3878
+ * @generated from field: int32 limit = 4;
3879
+ */
3880
+ limit: number;
3881
+ /**
3882
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileSelector selector = 5;
3883
+ */
3884
+ selector?: RuntimeVirtualFileSelector | undefined;
3885
+ /**
3886
+ * @generated from field: bool regex = 6;
3887
+ */
3888
+ regex: boolean;
3889
+ /**
3890
+ * @generated from field: int32 context_lines = 7;
3891
+ */
3892
+ contextLines: number;
3893
+ /**
3894
+ * @generated from field: bool case_sensitive = 8;
3895
+ */
3896
+ caseSensitive: boolean;
3897
+ };
3898
+ /**
3899
+ * Describes the message agentruntime.v1.SearchRunVirtualFilesRequest.
3900
+ * Use `create(SearchRunVirtualFilesRequestSchema)` to create a new message.
3901
+ */
3902
+ export declare const SearchRunVirtualFilesRequestSchema: GenMessage<SearchRunVirtualFilesRequest>;
3903
+ /**
3904
+ * @generated from message agentruntime.v1.SearchRunVirtualFilesResponse
3905
+ */
3906
+ export type SearchRunVirtualFilesResponse = Message<"agentruntime.v1.SearchRunVirtualFilesResponse"> & {
3907
+ /**
3908
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileMatch matches = 1;
3909
+ */
3910
+ matches: RuntimeVirtualFileMatch[];
3911
+ /**
3912
+ * @generated from field: int32 total_matches = 2;
3913
+ */
3914
+ totalMatches: number;
3915
+ /**
3916
+ * @generated from field: bool limit_exhausted = 3;
3917
+ */
3918
+ limitExhausted: boolean;
3919
+ };
3920
+ /**
3921
+ * Describes the message agentruntime.v1.SearchRunVirtualFilesResponse.
3922
+ * Use `create(SearchRunVirtualFilesResponseSchema)` to create a new message.
3923
+ */
3924
+ export declare const SearchRunVirtualFilesResponseSchema: GenMessage<SearchRunVirtualFilesResponse>;
3925
+ /**
3926
+ * @generated from message agentruntime.v1.RecordRunVirtualFileProposalRequest
3927
+ */
3928
+ export type RecordRunVirtualFileProposalRequest = Message<"agentruntime.v1.RecordRunVirtualFileProposalRequest"> & {
3929
+ /**
3930
+ * @generated from field: string run_id = 1;
3931
+ */
3932
+ runId: string;
3933
+ /**
3934
+ * @generated from field: string lease_token = 2;
3935
+ */
3936
+ leaseToken: string;
3937
+ /**
3938
+ * @generated from field: string path = 3;
3939
+ */
3940
+ path: string;
3941
+ /**
3942
+ * @generated from field: string media_type = 4;
3943
+ */
3944
+ mediaType: string;
3945
+ /**
3946
+ * @generated from field: string content = 5;
3947
+ */
3948
+ content: string;
3949
+ /**
3950
+ * @generated from field: string proposal_kind = 6;
3951
+ */
3952
+ proposalKind: string;
3953
+ /**
3954
+ * @generated from field: string step_id = 7;
3955
+ */
3956
+ stepId: string;
3957
+ /**
3958
+ * @generated from field: map<string, string> metadata = 8;
3959
+ */
3960
+ metadata: {
3961
+ [key: string]: string;
3962
+ };
3089
3963
  /**
3090
3964
  * @generated from field: string idempotency_key = 9;
3091
3965
  */
3092
3966
  idempotencyKey: string;
3967
+ /**
3968
+ * @generated from field: agentruntime.v1.RuntimeSensitivity sensitivity = 10;
3969
+ */
3970
+ sensitivity: RuntimeSensitivity;
3971
+ /**
3972
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 11;
3973
+ */
3974
+ redactionState: RuntimeVirtualFileRedactionState;
3975
+ /**
3976
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 12;
3977
+ */
3978
+ redactions: RuntimeRedaction[];
3979
+ };
3980
+ /**
3981
+ * Describes the message agentruntime.v1.RecordRunVirtualFileProposalRequest.
3982
+ * Use `create(RecordRunVirtualFileProposalRequestSchema)` to create a new message.
3983
+ */
3984
+ export declare const RecordRunVirtualFileProposalRequestSchema: GenMessage<RecordRunVirtualFileProposalRequest>;
3985
+ /**
3986
+ * @generated from message agentruntime.v1.RecordRunVirtualFileProposalResponse
3987
+ */
3988
+ export type RecordRunVirtualFileProposalResponse = Message<"agentruntime.v1.RecordRunVirtualFileProposalResponse"> & {
3989
+ /**
3990
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
3991
+ */
3992
+ run?: AgentRun | undefined;
3993
+ /**
3994
+ * @generated from field: agentruntime.v1.AgentRunArtifact artifact = 2;
3995
+ */
3996
+ artifact?: AgentRunArtifact | undefined;
3997
+ /**
3998
+ * @generated from field: agentruntime.v1.RuntimeVirtualFile file = 3;
3999
+ */
4000
+ file?: RuntimeVirtualFile | undefined;
4001
+ /**
4002
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
4003
+ */
4004
+ event?: RuntimeEvent | undefined;
4005
+ };
4006
+ /**
4007
+ * Describes the message agentruntime.v1.RecordRunVirtualFileProposalResponse.
4008
+ * Use `create(RecordRunVirtualFileProposalResponseSchema)` to create a new message.
4009
+ */
4010
+ export declare const RecordRunVirtualFileProposalResponseSchema: GenMessage<RecordRunVirtualFileProposalResponse>;
4011
+ /**
4012
+ * @generated from message agentruntime.v1.RuntimeVirtualFileChange
4013
+ */
4014
+ export type RuntimeVirtualFileChange = Message<"agentruntime.v1.RuntimeVirtualFileChange"> & {
4015
+ /**
4016
+ * @generated from field: string path = 1;
4017
+ */
4018
+ path: string;
4019
+ /**
4020
+ * @generated from field: string media_type = 2;
4021
+ */
4022
+ mediaType: string;
4023
+ /**
4024
+ * @generated from field: string content = 3;
4025
+ */
4026
+ content: string;
4027
+ /**
4028
+ * @generated from field: string proposal_kind = 4;
4029
+ */
4030
+ proposalKind: string;
4031
+ /**
4032
+ * @generated from field: string step_id = 5;
4033
+ */
4034
+ stepId: string;
4035
+ /**
4036
+ * @generated from field: map<string, string> metadata = 6;
4037
+ */
4038
+ metadata: {
4039
+ [key: string]: string;
4040
+ };
4041
+ /**
4042
+ * @generated from field: agentruntime.v1.RuntimeSensitivity sensitivity = 7;
4043
+ */
4044
+ sensitivity: RuntimeSensitivity;
4045
+ /**
4046
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileRedactionState redaction_state = 8;
4047
+ */
4048
+ redactionState: RuntimeVirtualFileRedactionState;
4049
+ /**
4050
+ * @generated from field: repeated agentruntime.v1.RuntimeRedaction redactions = 9;
4051
+ */
4052
+ redactions: RuntimeRedaction[];
4053
+ /**
4054
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileOperation operation = 10;
4055
+ */
4056
+ operation: RuntimeVirtualFileOperation;
4057
+ /**
4058
+ * @generated from field: string rename_from = 11;
4059
+ */
4060
+ renameFrom: string;
4061
+ };
4062
+ /**
4063
+ * Describes the message agentruntime.v1.RuntimeVirtualFileChange.
4064
+ * Use `create(RuntimeVirtualFileChangeSchema)` to create a new message.
4065
+ */
4066
+ export declare const RuntimeVirtualFileChangeSchema: GenMessage<RuntimeVirtualFileChange>;
4067
+ /**
4068
+ * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionRequest
4069
+ */
4070
+ export type RecordRunVirtualFileTransactionRequest = Message<"agentruntime.v1.RecordRunVirtualFileTransactionRequest"> & {
4071
+ /**
4072
+ * @generated from field: string run_id = 1;
4073
+ */
4074
+ runId: string;
4075
+ /**
4076
+ * @generated from field: string lease_token = 2;
4077
+ */
4078
+ leaseToken: string;
4079
+ /**
4080
+ * @generated from field: string transaction_id = 3;
4081
+ */
4082
+ transactionId: string;
4083
+ /**
4084
+ * @generated from field: string parent_revision_id = 4;
4085
+ */
4086
+ parentRevisionId: string;
4087
+ /**
4088
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileChange changes = 5;
4089
+ */
4090
+ changes: RuntimeVirtualFileChange[];
4091
+ /**
4092
+ * @generated from field: map<string, string> metadata = 6;
4093
+ */
4094
+ metadata: {
4095
+ [key: string]: string;
4096
+ };
4097
+ /**
4098
+ * @generated from field: string idempotency_key = 7;
4099
+ */
4100
+ idempotencyKey: string;
3093
4101
  };
3094
4102
  /**
3095
- * Describes the message agentruntime.v1.RecordRunVirtualFileProposalRequest.
3096
- * Use `create(RecordRunVirtualFileProposalRequestSchema)` to create a new message.
4103
+ * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionRequest.
4104
+ * Use `create(RecordRunVirtualFileTransactionRequestSchema)` to create a new message.
3097
4105
  */
3098
- export declare const RecordRunVirtualFileProposalRequestSchema: GenMessage<RecordRunVirtualFileProposalRequest>;
4106
+ export declare const RecordRunVirtualFileTransactionRequestSchema: GenMessage<RecordRunVirtualFileTransactionRequest>;
3099
4107
  /**
3100
- * @generated from message agentruntime.v1.RecordRunVirtualFileProposalResponse
4108
+ * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionResponse
3101
4109
  */
3102
- export type RecordRunVirtualFileProposalResponse = Message<"agentruntime.v1.RecordRunVirtualFileProposalResponse"> & {
4110
+ export type RecordRunVirtualFileTransactionResponse = Message<"agentruntime.v1.RecordRunVirtualFileTransactionResponse"> & {
3103
4111
  /**
3104
4112
  * @generated from field: agentruntime.v1.AgentRun run = 1;
3105
4113
  */
3106
4114
  run?: AgentRun | undefined;
3107
4115
  /**
3108
- * @generated from field: agentruntime.v1.AgentRunArtifact artifact = 2;
4116
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
3109
4117
  */
3110
- artifact?: AgentRunArtifact | undefined;
4118
+ artifacts: AgentRunArtifact[];
3111
4119
  /**
3112
- * @generated from field: agentruntime.v1.RuntimeVirtualFile file = 3;
4120
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
3113
4121
  */
3114
- file?: RuntimeVirtualFile | undefined;
4122
+ files: RuntimeVirtualFile[];
3115
4123
  /**
3116
4124
  * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
3117
4125
  */
3118
4126
  event?: RuntimeEvent | undefined;
3119
4127
  };
3120
4128
  /**
3121
- * Describes the message agentruntime.v1.RecordRunVirtualFileProposalResponse.
3122
- * Use `create(RecordRunVirtualFileProposalResponseSchema)` to create a new message.
4129
+ * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionResponse.
4130
+ * Use `create(RecordRunVirtualFileTransactionResponseSchema)` to create a new message.
3123
4131
  */
3124
- export declare const RecordRunVirtualFileProposalResponseSchema: GenMessage<RecordRunVirtualFileProposalResponse>;
4132
+ export declare const RecordRunVirtualFileTransactionResponseSchema: GenMessage<RecordRunVirtualFileTransactionResponse>;
3125
4133
  /**
3126
- * @generated from message agentruntime.v1.RuntimeVirtualFileChange
4134
+ * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionRequest
3127
4135
  */
3128
- export type RuntimeVirtualFileChange = Message<"agentruntime.v1.RuntimeVirtualFileChange"> & {
4136
+ export type PromoteRunVirtualFileTransactionRequest = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionRequest"> & {
3129
4137
  /**
3130
- * @generated from field: string path = 1;
4138
+ * @generated from field: string run_id = 1;
3131
4139
  */
3132
- path: string;
4140
+ runId: string;
3133
4141
  /**
3134
- * @generated from field: string media_type = 2;
4142
+ * @generated from field: string lease_token = 2;
3135
4143
  */
3136
- mediaType: string;
4144
+ leaseToken: string;
3137
4145
  /**
3138
- * @generated from field: string content = 3;
4146
+ * @generated from field: string transaction_id = 3;
3139
4147
  */
3140
- content: string;
4148
+ transactionId: string;
3141
4149
  /**
3142
- * @generated from field: string proposal_kind = 4;
4150
+ * @generated from field: string expected_parent_revision_id = 4;
3143
4151
  */
3144
- proposalKind: string;
4152
+ expectedParentRevisionId: string;
3145
4153
  /**
3146
- * @generated from field: string step_id = 5;
4154
+ * @generated from field: string approver_id = 5;
3147
4155
  */
3148
- stepId: string;
4156
+ approverId: string;
3149
4157
  /**
3150
4158
  * @generated from field: map<string, string> metadata = 6;
3151
4159
  */
@@ -3154,14 +4162,288 @@ export type RuntimeVirtualFileChange = Message<"agentruntime.v1.RuntimeVirtualFi
3154
4162
  };
3155
4163
  };
3156
4164
  /**
3157
- * Describes the message agentruntime.v1.RuntimeVirtualFileChange.
3158
- * Use `create(RuntimeVirtualFileChangeSchema)` to create a new message.
4165
+ * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionRequest.
4166
+ * Use `create(PromoteRunVirtualFileTransactionRequestSchema)` to create a new message.
3159
4167
  */
3160
- export declare const RuntimeVirtualFileChangeSchema: GenMessage<RuntimeVirtualFileChange>;
4168
+ export declare const PromoteRunVirtualFileTransactionRequestSchema: GenMessage<PromoteRunVirtualFileTransactionRequest>;
3161
4169
  /**
3162
- * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionRequest
4170
+ * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionResponse
3163
4171
  */
3164
- export type RecordRunVirtualFileTransactionRequest = Message<"agentruntime.v1.RecordRunVirtualFileTransactionRequest"> & {
4172
+ export type PromoteRunVirtualFileTransactionResponse = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionResponse"> & {
4173
+ /**
4174
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
4175
+ */
4176
+ run?: AgentRun | undefined;
4177
+ /**
4178
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
4179
+ */
4180
+ artifacts: AgentRunArtifact[];
4181
+ /**
4182
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
4183
+ */
4184
+ files: RuntimeVirtualFile[];
4185
+ /**
4186
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
4187
+ */
4188
+ event?: RuntimeEvent | undefined;
4189
+ };
4190
+ /**
4191
+ * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionResponse.
4192
+ * Use `create(PromoteRunVirtualFileTransactionResponseSchema)` to create a new message.
4193
+ */
4194
+ export declare const PromoteRunVirtualFileTransactionResponseSchema: GenMessage<PromoteRunVirtualFileTransactionResponse>;
4195
+ /**
4196
+ * @generated from message agentruntime.v1.RuntimeVirtualFileDiffHunk
4197
+ */
4198
+ export type RuntimeVirtualFileDiffHunk = Message<"agentruntime.v1.RuntimeVirtualFileDiffHunk"> & {
4199
+ /**
4200
+ * @generated from field: int32 old_start_line = 1;
4201
+ */
4202
+ oldStartLine: number;
4203
+ /**
4204
+ * @generated from field: int32 old_line_count = 2;
4205
+ */
4206
+ oldLineCount: number;
4207
+ /**
4208
+ * @generated from field: int32 new_start_line = 3;
4209
+ */
4210
+ newStartLine: number;
4211
+ /**
4212
+ * @generated from field: int32 new_line_count = 4;
4213
+ */
4214
+ newLineCount: number;
4215
+ /**
4216
+ * @generated from field: string header = 5;
4217
+ */
4218
+ header: string;
4219
+ /**
4220
+ * @generated from field: string unified_diff = 6;
4221
+ */
4222
+ unifiedDiff: string;
4223
+ };
4224
+ /**
4225
+ * Describes the message agentruntime.v1.RuntimeVirtualFileDiffHunk.
4226
+ * Use `create(RuntimeVirtualFileDiffHunkSchema)` to create a new message.
4227
+ */
4228
+ export declare const RuntimeVirtualFileDiffHunkSchema: GenMessage<RuntimeVirtualFileDiffHunk>;
4229
+ /**
4230
+ * @generated from message agentruntime.v1.RuntimeVirtualFileTransactionFileDiff
4231
+ */
4232
+ export type RuntimeVirtualFileTransactionFileDiff = Message<"agentruntime.v1.RuntimeVirtualFileTransactionFileDiff"> & {
4233
+ /**
4234
+ * @generated from field: string path = 1;
4235
+ */
4236
+ path: string;
4237
+ /**
4238
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileOperation operation = 2;
4239
+ */
4240
+ operation: RuntimeVirtualFileOperation;
4241
+ /**
4242
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionApplyStatus apply_status = 3;
4243
+ */
4244
+ applyStatus: RuntimeVirtualFileTransactionApplyStatus;
4245
+ /**
4246
+ * @generated from field: string parent_revision_id = 4;
4247
+ */
4248
+ parentRevisionId: string;
4249
+ /**
4250
+ * @generated from field: string base_revision_id = 5;
4251
+ */
4252
+ baseRevisionId: string;
4253
+ /**
4254
+ * @generated from field: string current_revision_id = 6;
4255
+ */
4256
+ currentRevisionId: string;
4257
+ /**
4258
+ * @generated from field: string proposed_revision_id = 7;
4259
+ */
4260
+ proposedRevisionId: string;
4261
+ /**
4262
+ * @generated from field: string base_content_sha256 = 8;
4263
+ */
4264
+ baseContentSha256: string;
4265
+ /**
4266
+ * @generated from field: string current_content_sha256 = 9;
4267
+ */
4268
+ currentContentSha256: string;
4269
+ /**
4270
+ * @generated from field: string proposed_content_sha256 = 10;
4271
+ */
4272
+ proposedContentSha256: string;
4273
+ /**
4274
+ * @generated from field: int32 additions = 11;
4275
+ */
4276
+ additions: number;
4277
+ /**
4278
+ * @generated from field: int32 deletions = 12;
4279
+ */
4280
+ deletions: number;
4281
+ /**
4282
+ * @generated from field: bool binary = 13;
4283
+ */
4284
+ binary: boolean;
4285
+ /**
4286
+ * @generated from field: bool tombstone = 14;
4287
+ */
4288
+ tombstone: boolean;
4289
+ /**
4290
+ * @generated from field: string rename_from = 15;
4291
+ */
4292
+ renameFrom: string;
4293
+ /**
4294
+ * @generated from field: string rename_to = 16;
4295
+ */
4296
+ renameTo: string;
4297
+ /**
4298
+ * @generated from field: string unified_diff = 17;
4299
+ */
4300
+ unifiedDiff: string;
4301
+ /**
4302
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileDiffHunk hunks = 18;
4303
+ */
4304
+ hunks: RuntimeVirtualFileDiffHunk[];
4305
+ };
4306
+ /**
4307
+ * Describes the message agentruntime.v1.RuntimeVirtualFileTransactionFileDiff.
4308
+ * Use `create(RuntimeVirtualFileTransactionFileDiffSchema)` to create a new message.
4309
+ */
4310
+ export declare const RuntimeVirtualFileTransactionFileDiffSchema: GenMessage<RuntimeVirtualFileTransactionFileDiff>;
4311
+ /**
4312
+ * @generated from message agentruntime.v1.RuntimeVirtualFileTransactionConflict
4313
+ */
4314
+ export type RuntimeVirtualFileTransactionConflict = Message<"agentruntime.v1.RuntimeVirtualFileTransactionConflict"> & {
4315
+ /**
4316
+ * @generated from field: string path = 1;
4317
+ */
4318
+ path: string;
4319
+ /**
4320
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileReasonCode reason_code = 2;
4321
+ */
4322
+ reasonCode: RuntimeVirtualFileReasonCode;
4323
+ /**
4324
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionApplyStatus apply_status = 3;
4325
+ */
4326
+ applyStatus: RuntimeVirtualFileTransactionApplyStatus;
4327
+ /**
4328
+ * @generated from field: string message = 4;
4329
+ */
4330
+ message: string;
4331
+ /**
4332
+ * @generated from field: string parent_revision_id = 5;
4333
+ */
4334
+ parentRevisionId: string;
4335
+ /**
4336
+ * @generated from field: string base_revision_id = 6;
4337
+ */
4338
+ baseRevisionId: string;
4339
+ /**
4340
+ * @generated from field: string current_revision_id = 7;
4341
+ */
4342
+ currentRevisionId: string;
4343
+ /**
4344
+ * @generated from field: string proposed_revision_id = 8;
4345
+ */
4346
+ proposedRevisionId: string;
4347
+ /**
4348
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileDiffHunk hunks = 9;
4349
+ */
4350
+ hunks: RuntimeVirtualFileDiffHunk[];
4351
+ };
4352
+ /**
4353
+ * Describes the message agentruntime.v1.RuntimeVirtualFileTransactionConflict.
4354
+ * Use `create(RuntimeVirtualFileTransactionConflictSchema)` to create a new message.
4355
+ */
4356
+ export declare const RuntimeVirtualFileTransactionConflictSchema: GenMessage<RuntimeVirtualFileTransactionConflict>;
4357
+ /**
4358
+ * @generated from message agentruntime.v1.RuntimeVirtualFileTransactionDiff
4359
+ */
4360
+ export type RuntimeVirtualFileTransactionDiff = Message<"agentruntime.v1.RuntimeVirtualFileTransactionDiff"> & {
4361
+ /**
4362
+ * @generated from field: string transaction_id = 1;
4363
+ */
4364
+ transactionId: string;
4365
+ /**
4366
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileTransactionFileDiff files = 2;
4367
+ */
4368
+ files: RuntimeVirtualFileTransactionFileDiff[];
4369
+ /**
4370
+ * @generated from field: string unified_diff = 3;
4371
+ */
4372
+ unifiedDiff: string;
4373
+ /**
4374
+ * @generated from field: int32 file_count = 4;
4375
+ */
4376
+ fileCount: number;
4377
+ /**
4378
+ * @generated from field: int32 changed_file_count = 5;
4379
+ */
4380
+ changedFileCount: number;
4381
+ /**
4382
+ * @generated from field: int32 additions = 6;
4383
+ */
4384
+ additions: number;
4385
+ /**
4386
+ * @generated from field: int32 deletions = 7;
4387
+ */
4388
+ deletions: number;
4389
+ /**
4390
+ * @generated from field: bool stale = 8;
4391
+ */
4392
+ stale: boolean;
4393
+ /**
4394
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionOutcome outcome = 9;
4395
+ */
4396
+ outcome: RuntimeVirtualFileTransactionOutcome;
4397
+ /**
4398
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileTransactionConflict conflicts = 10;
4399
+ */
4400
+ conflicts: RuntimeVirtualFileTransactionConflict[];
4401
+ };
4402
+ /**
4403
+ * Describes the message agentruntime.v1.RuntimeVirtualFileTransactionDiff.
4404
+ * Use `create(RuntimeVirtualFileTransactionDiffSchema)` to create a new message.
4405
+ */
4406
+ export declare const RuntimeVirtualFileTransactionDiffSchema: GenMessage<RuntimeVirtualFileTransactionDiff>;
4407
+ /**
4408
+ * @generated from message agentruntime.v1.DiffRunVirtualFileTransactionRequest
4409
+ */
4410
+ export type DiffRunVirtualFileTransactionRequest = Message<"agentruntime.v1.DiffRunVirtualFileTransactionRequest"> & {
4411
+ /**
4412
+ * @generated from field: string run_id = 1;
4413
+ */
4414
+ runId: string;
4415
+ /**
4416
+ * @generated from field: string transaction_id = 2;
4417
+ */
4418
+ transactionId: string;
4419
+ /**
4420
+ * @generated from field: int32 context_lines = 3;
4421
+ */
4422
+ contextLines: number;
4423
+ };
4424
+ /**
4425
+ * Describes the message agentruntime.v1.DiffRunVirtualFileTransactionRequest.
4426
+ * Use `create(DiffRunVirtualFileTransactionRequestSchema)` to create a new message.
4427
+ */
4428
+ export declare const DiffRunVirtualFileTransactionRequestSchema: GenMessage<DiffRunVirtualFileTransactionRequest>;
4429
+ /**
4430
+ * @generated from message agentruntime.v1.DiffRunVirtualFileTransactionResponse
4431
+ */
4432
+ export type DiffRunVirtualFileTransactionResponse = Message<"agentruntime.v1.DiffRunVirtualFileTransactionResponse"> & {
4433
+ /**
4434
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionDiff diff = 1;
4435
+ */
4436
+ diff?: RuntimeVirtualFileTransactionDiff | undefined;
4437
+ };
4438
+ /**
4439
+ * Describes the message agentruntime.v1.DiffRunVirtualFileTransactionResponse.
4440
+ * Use `create(DiffRunVirtualFileTransactionResponseSchema)` to create a new message.
4441
+ */
4442
+ export declare const DiffRunVirtualFileTransactionResponseSchema: GenMessage<DiffRunVirtualFileTransactionResponse>;
4443
+ /**
4444
+ * @generated from message agentruntime.v1.ApplyRunVirtualFileTransactionRequest
4445
+ */
4446
+ export type ApplyRunVirtualFileTransactionRequest = Message<"agentruntime.v1.ApplyRunVirtualFileTransactionRequest"> & {
3165
4447
  /**
3166
4448
  * @generated from field: string run_id = 1;
3167
4449
  */
@@ -3175,13 +4457,13 @@ export type RecordRunVirtualFileTransactionRequest = Message<"agentruntime.v1.Re
3175
4457
  */
3176
4458
  transactionId: string;
3177
4459
  /**
3178
- * @generated from field: string parent_revision_id = 4;
4460
+ * @generated from field: string expected_parent_revision_id = 4;
3179
4461
  */
3180
- parentRevisionId: string;
4462
+ expectedParentRevisionId: string;
3181
4463
  /**
3182
- * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileChange changes = 5;
4464
+ * @generated from field: string approver_id = 5;
3183
4465
  */
3184
- changes: RuntimeVirtualFileChange[];
4466
+ approverId: string;
3185
4467
  /**
3186
4468
  * @generated from field: map<string, string> metadata = 6;
3187
4469
  */
@@ -3189,45 +4471,53 @@ export type RecordRunVirtualFileTransactionRequest = Message<"agentruntime.v1.Re
3189
4471
  [key: string]: string;
3190
4472
  };
3191
4473
  /**
3192
- * @generated from field: string idempotency_key = 7;
4474
+ * @generated from field: int32 context_lines = 7;
3193
4475
  */
3194
- idempotencyKey: string;
4476
+ contextLines: number;
3195
4477
  };
3196
4478
  /**
3197
- * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionRequest.
3198
- * Use `create(RecordRunVirtualFileTransactionRequestSchema)` to create a new message.
4479
+ * Describes the message agentruntime.v1.ApplyRunVirtualFileTransactionRequest.
4480
+ * Use `create(ApplyRunVirtualFileTransactionRequestSchema)` to create a new message.
3199
4481
  */
3200
- export declare const RecordRunVirtualFileTransactionRequestSchema: GenMessage<RecordRunVirtualFileTransactionRequest>;
4482
+ export declare const ApplyRunVirtualFileTransactionRequestSchema: GenMessage<ApplyRunVirtualFileTransactionRequest>;
3201
4483
  /**
3202
- * @generated from message agentruntime.v1.RecordRunVirtualFileTransactionResponse
4484
+ * @generated from message agentruntime.v1.ApplyRunVirtualFileTransactionResponse
3203
4485
  */
3204
- export type RecordRunVirtualFileTransactionResponse = Message<"agentruntime.v1.RecordRunVirtualFileTransactionResponse"> & {
4486
+ export type ApplyRunVirtualFileTransactionResponse = Message<"agentruntime.v1.ApplyRunVirtualFileTransactionResponse"> & {
3205
4487
  /**
3206
- * @generated from field: agentruntime.v1.AgentRun run = 1;
4488
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionOutcome outcome = 1;
4489
+ */
4490
+ outcome: RuntimeVirtualFileTransactionOutcome;
4491
+ /**
4492
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionDiff diff = 2;
4493
+ */
4494
+ diff?: RuntimeVirtualFileTransactionDiff | undefined;
4495
+ /**
4496
+ * @generated from field: agentruntime.v1.AgentRun run = 3;
3207
4497
  */
3208
4498
  run?: AgentRun | undefined;
3209
4499
  /**
3210
- * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
4500
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 4;
3211
4501
  */
3212
4502
  artifacts: AgentRunArtifact[];
3213
4503
  /**
3214
- * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
4504
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 5;
3215
4505
  */
3216
4506
  files: RuntimeVirtualFile[];
3217
4507
  /**
3218
- * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
4508
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 6;
3219
4509
  */
3220
4510
  event?: RuntimeEvent | undefined;
3221
4511
  };
3222
4512
  /**
3223
- * Describes the message agentruntime.v1.RecordRunVirtualFileTransactionResponse.
3224
- * Use `create(RecordRunVirtualFileTransactionResponseSchema)` to create a new message.
4513
+ * Describes the message agentruntime.v1.ApplyRunVirtualFileTransactionResponse.
4514
+ * Use `create(ApplyRunVirtualFileTransactionResponseSchema)` to create a new message.
3225
4515
  */
3226
- export declare const RecordRunVirtualFileTransactionResponseSchema: GenMessage<RecordRunVirtualFileTransactionResponse>;
4516
+ export declare const ApplyRunVirtualFileTransactionResponseSchema: GenMessage<ApplyRunVirtualFileTransactionResponse>;
3227
4517
  /**
3228
- * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionRequest
4518
+ * @generated from message agentruntime.v1.RebaseRunVirtualFileTransactionRequest
3229
4519
  */
3230
- export type PromoteRunVirtualFileTransactionRequest = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionRequest"> & {
4520
+ export type RebaseRunVirtualFileTransactionRequest = Message<"agentruntime.v1.RebaseRunVirtualFileTransactionRequest"> & {
3231
4521
  /**
3232
4522
  * @generated from field: string run_id = 1;
3233
4523
  */
@@ -3237,55 +4527,75 @@ export type PromoteRunVirtualFileTransactionRequest = Message<"agentruntime.v1.P
3237
4527
  */
3238
4528
  leaseToken: string;
3239
4529
  /**
3240
- * @generated from field: string transaction_id = 3;
3241
- */
3242
- transactionId: string;
3243
- /**
3244
- * @generated from field: string expected_parent_revision_id = 4;
4530
+ * @generated from field: string source_transaction_id = 3;
3245
4531
  */
3246
- expectedParentRevisionId: string;
4532
+ sourceTransactionId: string;
3247
4533
  /**
3248
- * @generated from field: string approver_id = 5;
4534
+ * @generated from field: string transaction_id = 4;
3249
4535
  */
3250
- approverId: string;
4536
+ transactionId: string;
3251
4537
  /**
3252
- * @generated from field: map<string, string> metadata = 6;
4538
+ * @generated from field: map<string, string> metadata = 5;
3253
4539
  */
3254
4540
  metadata: {
3255
4541
  [key: string]: string;
3256
4542
  };
4543
+ /**
4544
+ * @generated from field: string idempotency_key = 6;
4545
+ */
4546
+ idempotencyKey: string;
4547
+ /**
4548
+ * @generated from field: int32 context_lines = 7;
4549
+ */
4550
+ contextLines: number;
3257
4551
  };
3258
4552
  /**
3259
- * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionRequest.
3260
- * Use `create(PromoteRunVirtualFileTransactionRequestSchema)` to create a new message.
4553
+ * Describes the message agentruntime.v1.RebaseRunVirtualFileTransactionRequest.
4554
+ * Use `create(RebaseRunVirtualFileTransactionRequestSchema)` to create a new message.
3261
4555
  */
3262
- export declare const PromoteRunVirtualFileTransactionRequestSchema: GenMessage<PromoteRunVirtualFileTransactionRequest>;
4556
+ export declare const RebaseRunVirtualFileTransactionRequestSchema: GenMessage<RebaseRunVirtualFileTransactionRequest>;
3263
4557
  /**
3264
- * @generated from message agentruntime.v1.PromoteRunVirtualFileTransactionResponse
4558
+ * @generated from message agentruntime.v1.RebaseRunVirtualFileTransactionResponse
3265
4559
  */
3266
- export type PromoteRunVirtualFileTransactionResponse = Message<"agentruntime.v1.PromoteRunVirtualFileTransactionResponse"> & {
4560
+ export type RebaseRunVirtualFileTransactionResponse = Message<"agentruntime.v1.RebaseRunVirtualFileTransactionResponse"> & {
3267
4561
  /**
3268
- * @generated from field: agentruntime.v1.AgentRun run = 1;
4562
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionOutcome outcome = 1;
4563
+ */
4564
+ outcome: RuntimeVirtualFileTransactionOutcome;
4565
+ /**
4566
+ * @generated from field: string source_transaction_id = 2;
4567
+ */
4568
+ sourceTransactionId: string;
4569
+ /**
4570
+ * @generated from field: string transaction_id = 3;
4571
+ */
4572
+ transactionId: string;
4573
+ /**
4574
+ * @generated from field: agentruntime.v1.RuntimeVirtualFileTransactionDiff diff = 4;
4575
+ */
4576
+ diff?: RuntimeVirtualFileTransactionDiff | undefined;
4577
+ /**
4578
+ * @generated from field: agentruntime.v1.AgentRun run = 5;
3269
4579
  */
3270
4580
  run?: AgentRun | undefined;
3271
4581
  /**
3272
- * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 2;
4582
+ * @generated from field: repeated agentruntime.v1.AgentRunArtifact artifacts = 6;
3273
4583
  */
3274
4584
  artifacts: AgentRunArtifact[];
3275
4585
  /**
3276
- * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 3;
4586
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFile files = 7;
3277
4587
  */
3278
4588
  files: RuntimeVirtualFile[];
3279
4589
  /**
3280
- * @generated from field: agentruntime.v1.RuntimeEvent event = 4;
4590
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 8;
3281
4591
  */
3282
4592
  event?: RuntimeEvent | undefined;
3283
4593
  };
3284
4594
  /**
3285
- * Describes the message agentruntime.v1.PromoteRunVirtualFileTransactionResponse.
3286
- * Use `create(PromoteRunVirtualFileTransactionResponseSchema)` to create a new message.
4595
+ * Describes the message agentruntime.v1.RebaseRunVirtualFileTransactionResponse.
4596
+ * Use `create(RebaseRunVirtualFileTransactionResponseSchema)` to create a new message.
3287
4597
  */
3288
- export declare const PromoteRunVirtualFileTransactionResponseSchema: GenMessage<PromoteRunVirtualFileTransactionResponse>;
4598
+ export declare const RebaseRunVirtualFileTransactionResponseSchema: GenMessage<RebaseRunVirtualFileTransactionResponse>;
3289
4599
  /**
3290
4600
  * @generated from message agentruntime.v1.HydrateRunVirtualFileMountRequest
3291
4601
  */
@@ -3426,6 +4736,34 @@ export type RuntimeVirtualFileInspectorSummary = Message<"agentruntime.v1.Runtim
3426
4736
  * @generated from field: int32 shadowed_file_count = 12;
3427
4737
  */
3428
4738
  shadowedFileCount: number;
4739
+ /**
4740
+ * @generated from field: int32 producer_count = 13;
4741
+ */
4742
+ producerCount: number;
4743
+ /**
4744
+ * @generated from field: int32 preview_only_file_count = 14;
4745
+ */
4746
+ previewOnlyFileCount: number;
4747
+ /**
4748
+ * @generated from field: int32 denied_file_count = 15;
4749
+ */
4750
+ deniedFileCount: number;
4751
+ /**
4752
+ * @generated from field: int32 restricted_file_count = 16;
4753
+ */
4754
+ restrictedFileCount: number;
4755
+ /**
4756
+ * @generated from field: int32 tombstone_file_count = 17;
4757
+ */
4758
+ tombstoneFileCount: number;
4759
+ /**
4760
+ * @generated from field: int32 delete_file_count = 18;
4761
+ */
4762
+ deleteFileCount: number;
4763
+ /**
4764
+ * @generated from field: int32 rename_file_count = 19;
4765
+ */
4766
+ renameFileCount: number;
3429
4767
  };
3430
4768
  /**
3431
4769
  * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorSummary.
@@ -3480,6 +4818,42 @@ export type RuntimeVirtualFileInspectorMount = Message<"agentruntime.v1.RuntimeV
3480
4818
  * @generated from field: repeated string source_services = 11;
3481
4819
  */
3482
4820
  sourceServices: string[];
4821
+ /**
4822
+ * @generated from field: int32 preview_only_file_count = 12;
4823
+ */
4824
+ previewOnlyFileCount: number;
4825
+ /**
4826
+ * @generated from field: int32 denied_file_count = 13;
4827
+ */
4828
+ deniedFileCount: number;
4829
+ /**
4830
+ * @generated from field: int32 restricted_file_count = 14;
4831
+ */
4832
+ restrictedFileCount: number;
4833
+ /**
4834
+ * @generated from field: repeated string capabilities = 15;
4835
+ */
4836
+ capabilities: string[];
4837
+ /**
4838
+ * @generated from field: bool writable = 16;
4839
+ */
4840
+ writable: boolean;
4841
+ /**
4842
+ * @generated from field: bool read_only = 17;
4843
+ */
4844
+ readOnly: boolean;
4845
+ /**
4846
+ * @generated from field: bool generated = 18;
4847
+ */
4848
+ generated: boolean;
4849
+ /**
4850
+ * @generated from field: bool evidence_backed = 19;
4851
+ */
4852
+ evidenceBacked: boolean;
4853
+ /**
4854
+ * @generated from field: bool externally_indexed = 20;
4855
+ */
4856
+ externallyIndexed: boolean;
3483
4857
  };
3484
4858
  /**
3485
4859
  * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorMount.
@@ -3518,12 +4892,82 @@ export type RuntimeVirtualFileInspectorTransaction = Message<"agentruntime.v1.Ru
3518
4892
  * @generated from field: repeated string content_addresses = 7;
3519
4893
  */
3520
4894
  contentAddresses: string[];
4895
+ /**
4896
+ * @generated from field: int32 tombstone_file_count = 8;
4897
+ */
4898
+ tombstoneFileCount: number;
4899
+ /**
4900
+ * @generated from field: int32 delete_file_count = 9;
4901
+ */
4902
+ deleteFileCount: number;
4903
+ /**
4904
+ * @generated from field: int32 rename_file_count = 10;
4905
+ */
4906
+ renameFileCount: number;
3521
4907
  };
3522
4908
  /**
3523
4909
  * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorTransaction.
3524
4910
  * Use `create(RuntimeVirtualFileInspectorTransactionSchema)` to create a new message.
3525
4911
  */
3526
4912
  export declare const RuntimeVirtualFileInspectorTransactionSchema: GenMessage<RuntimeVirtualFileInspectorTransaction>;
4913
+ /**
4914
+ * @generated from message agentruntime.v1.RuntimeVirtualFileInspectorProducer
4915
+ */
4916
+ export type RuntimeVirtualFileInspectorProducer = Message<"agentruntime.v1.RuntimeVirtualFileInspectorProducer"> & {
4917
+ /**
4918
+ * @generated from field: string producer_service = 1;
4919
+ */
4920
+ producerService: string;
4921
+ /**
4922
+ * @generated from field: string producer_kind = 2;
4923
+ */
4924
+ producerKind: string;
4925
+ /**
4926
+ * @generated from field: int32 file_count = 3;
4927
+ */
4928
+ fileCount: number;
4929
+ /**
4930
+ * @generated from field: int32 revision_count = 4;
4931
+ */
4932
+ revisionCount: number;
4933
+ /**
4934
+ * @generated from field: repeated string runtime_event_ids = 5;
4935
+ */
4936
+ runtimeEventIds: string[];
4937
+ /**
4938
+ * @generated from field: repeated string artifact_ids = 6;
4939
+ */
4940
+ artifactIds: string[];
4941
+ /**
4942
+ * @generated from field: repeated string step_ids = 7;
4943
+ */
4944
+ stepIds: string[];
4945
+ /**
4946
+ * @generated from field: repeated string tool_execution_ids = 8;
4947
+ */
4948
+ toolExecutionIds: string[];
4949
+ /**
4950
+ * @generated from field: repeated string trace_ids = 9;
4951
+ */
4952
+ traceIds: string[];
4953
+ /**
4954
+ * @generated from field: repeated string hydration_ids = 10;
4955
+ */
4956
+ hydrationIds: string[];
4957
+ /**
4958
+ * @generated from field: repeated string transaction_ids = 11;
4959
+ */
4960
+ transactionIds: string[];
4961
+ /**
4962
+ * @generated from field: repeated string parent_revision_ids = 12;
4963
+ */
4964
+ parentRevisionIds: string[];
4965
+ };
4966
+ /**
4967
+ * Describes the message agentruntime.v1.RuntimeVirtualFileInspectorProducer.
4968
+ * Use `create(RuntimeVirtualFileInspectorProducerSchema)` to create a new message.
4969
+ */
4970
+ export declare const RuntimeVirtualFileInspectorProducerSchema: GenMessage<RuntimeVirtualFileInspectorProducer>;
3527
4971
  /**
3528
4972
  * @generated from message agentruntime.v1.InspectRunVirtualFilesResponse
3529
4973
  */
@@ -3544,6 +4988,10 @@ export type InspectRunVirtualFilesResponse = Message<"agentruntime.v1.InspectRun
3544
4988
  * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileEntry entries = 4;
3545
4989
  */
3546
4990
  entries: RuntimeVirtualFileEntry[];
4991
+ /**
4992
+ * @generated from field: repeated agentruntime.v1.RuntimeVirtualFileInspectorProducer producers = 5;
4993
+ */
4994
+ producers: RuntimeVirtualFileInspectorProducer[];
3547
4995
  };
3548
4996
  /**
3549
4997
  * Describes the message agentruntime.v1.InspectRunVirtualFilesResponse.
@@ -4607,6 +6055,179 @@ export declare enum RuntimeRedactionKind {
4607
6055
  * Describes the enum agentruntime.v1.RuntimeRedactionKind.
4608
6056
  */
4609
6057
  export declare const RuntimeRedactionKindSchema: GenEnum<RuntimeRedactionKind>;
6058
+ /**
6059
+ * RuntimeVirtualFileRedactionState mirrors the workspace VFS byte plane's
6060
+ * redaction contract so Runtime VFS callers can discover whether content is
6061
+ * safe to read, preview-only, already redacted, or denied.
6062
+ *
6063
+ * @generated from enum agentruntime.v1.RuntimeVirtualFileRedactionState
6064
+ */
6065
+ export declare enum RuntimeVirtualFileRedactionState {
6066
+ /**
6067
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REDACTION_STATE_UNSPECIFIED = 0;
6068
+ */
6069
+ UNSPECIFIED = 0,
6070
+ /**
6071
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REDACTION_STATE_RAW = 1;
6072
+ */
6073
+ RAW = 1,
6074
+ /**
6075
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REDACTION_STATE_REDACTED = 2;
6076
+ */
6077
+ REDACTED = 2,
6078
+ /**
6079
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REDACTION_STATE_PREVIEW_ONLY = 3;
6080
+ */
6081
+ PREVIEW_ONLY = 3,
6082
+ /**
6083
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REDACTION_STATE_DENIED = 4;
6084
+ */
6085
+ DENIED = 4
6086
+ }
6087
+ /**
6088
+ * Describes the enum agentruntime.v1.RuntimeVirtualFileRedactionState.
6089
+ */
6090
+ export declare const RuntimeVirtualFileRedactionStateSchema: GenEnum<RuntimeVirtualFileRedactionState>;
6091
+ /**
6092
+ * @generated from enum agentruntime.v1.RuntimeVirtualFileOperation
6093
+ */
6094
+ export declare enum RuntimeVirtualFileOperation {
6095
+ /**
6096
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_OPERATION_UNSPECIFIED = 0;
6097
+ */
6098
+ UNSPECIFIED = 0,
6099
+ /**
6100
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_OPERATION_WRITE = 1;
6101
+ */
6102
+ WRITE = 1,
6103
+ /**
6104
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_OPERATION_DELETE = 2;
6105
+ */
6106
+ DELETE = 2,
6107
+ /**
6108
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_OPERATION_RENAME = 3;
6109
+ */
6110
+ RENAME = 3
6111
+ }
6112
+ /**
6113
+ * Describes the enum agentruntime.v1.RuntimeVirtualFileOperation.
6114
+ */
6115
+ export declare const RuntimeVirtualFileOperationSchema: GenEnum<RuntimeVirtualFileOperation>;
6116
+ /**
6117
+ * RuntimeVirtualFileReasonCode is a stable, machine-readable reason taxonomy
6118
+ * for VFS skips and precondition failures. Human strings may evolve; clients
6119
+ * should branch on this enum.
6120
+ *
6121
+ * @generated from enum agentruntime.v1.RuntimeVirtualFileReasonCode
6122
+ */
6123
+ export declare enum RuntimeVirtualFileReasonCode {
6124
+ /**
6125
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_UNSPECIFIED = 0;
6126
+ */
6127
+ UNSPECIFIED = 0,
6128
+ /**
6129
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_NOT_FOUND = 1;
6130
+ */
6131
+ NOT_FOUND = 1,
6132
+ /**
6133
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_FILTERED_OUT = 2;
6134
+ */
6135
+ FILTERED_OUT = 2,
6136
+ /**
6137
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_TOTAL_BUDGET_EXHAUSTED = 3;
6138
+ */
6139
+ TOTAL_BUDGET_EXHAUSTED = 3,
6140
+ /**
6141
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_PATH_INVALID = 4;
6142
+ */
6143
+ PATH_INVALID = 4,
6144
+ /**
6145
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_CAPABILITY_DENIED = 5;
6146
+ */
6147
+ CAPABILITY_DENIED = 5,
6148
+ /**
6149
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_REVISION_CONFLICT = 6;
6150
+ */
6151
+ REVISION_CONFLICT = 6,
6152
+ /**
6153
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_CURSOR_LAGGED = 7;
6154
+ */
6155
+ CURSOR_LAGGED = 7,
6156
+ /**
6157
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_REASON_CODE_TEMPORARILY_UNAVAILABLE = 8;
6158
+ */
6159
+ TEMPORARILY_UNAVAILABLE = 8
6160
+ }
6161
+ /**
6162
+ * Describes the enum agentruntime.v1.RuntimeVirtualFileReasonCode.
6163
+ */
6164
+ export declare const RuntimeVirtualFileReasonCodeSchema: GenEnum<RuntimeVirtualFileReasonCode>;
6165
+ /**
6166
+ * @generated from enum agentruntime.v1.RuntimeVirtualFileTransactionApplyStatus
6167
+ */
6168
+ export declare enum RuntimeVirtualFileTransactionApplyStatus {
6169
+ /**
6170
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_UNSPECIFIED = 0;
6171
+ */
6172
+ UNSPECIFIED = 0,
6173
+ /**
6174
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_CLEAN = 1;
6175
+ */
6176
+ CLEAN = 1,
6177
+ /**
6178
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_IDENTICAL = 2;
6179
+ */
6180
+ IDENTICAL = 2,
6181
+ /**
6182
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_CONFLICT = 3;
6183
+ */
6184
+ CONFLICT = 3,
6185
+ /**
6186
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_MISSING_BASE = 4;
6187
+ */
6188
+ MISSING_BASE = 4,
6189
+ /**
6190
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_APPLY_STATUS_MISSING_TARGET = 5;
6191
+ */
6192
+ MISSING_TARGET = 5
6193
+ }
6194
+ /**
6195
+ * Describes the enum agentruntime.v1.RuntimeVirtualFileTransactionApplyStatus.
6196
+ */
6197
+ export declare const RuntimeVirtualFileTransactionApplyStatusSchema: GenEnum<RuntimeVirtualFileTransactionApplyStatus>;
6198
+ /**
6199
+ * @generated from enum agentruntime.v1.RuntimeVirtualFileTransactionOutcome
6200
+ */
6201
+ export declare enum RuntimeVirtualFileTransactionOutcome {
6202
+ /**
6203
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_UNSPECIFIED = 0;
6204
+ */
6205
+ UNSPECIFIED = 0,
6206
+ /**
6207
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_CLEAN = 1;
6208
+ */
6209
+ CLEAN = 1,
6210
+ /**
6211
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_APPLIED = 2;
6212
+ */
6213
+ APPLIED = 2,
6214
+ /**
6215
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_REBASED = 3;
6216
+ */
6217
+ REBASED = 3,
6218
+ /**
6219
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_CONFLICT = 4;
6220
+ */
6221
+ CONFLICT = 4,
6222
+ /**
6223
+ * @generated from enum value: RUNTIME_VIRTUAL_FILE_TRANSACTION_OUTCOME_NOOP = 5;
6224
+ */
6225
+ NOOP = 5
6226
+ }
6227
+ /**
6228
+ * Describes the enum agentruntime.v1.RuntimeVirtualFileTransactionOutcome.
6229
+ */
6230
+ export declare const RuntimeVirtualFileTransactionOutcomeSchema: GenEnum<RuntimeVirtualFileTransactionOutcome>;
4610
6231
  /**
4611
6232
  * AgentRuntimeService accepts normalized triggers and manages durable
4612
6233
  * AgentRun execution attempts. Workers claim runs by lease, checkpoint their
@@ -4649,6 +6270,17 @@ export declare const AgentRuntimeService: GenService<{
4649
6270
  input: typeof HeartbeatRunRequestSchema;
4650
6271
  output: typeof HeartbeatRunResponseSchema;
4651
6272
  };
6273
+ /**
6274
+ * RenewRunLease recovers a still-owned worker lease after it has expired but
6275
+ * before the run has been parked, completed, or otherwise taken over.
6276
+ *
6277
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RenewRunLease
6278
+ */
6279
+ renewRunLease: {
6280
+ methodKind: "unary";
6281
+ input: typeof RenewRunLeaseRequestSchema;
6282
+ output: typeof RenewRunLeaseResponseSchema;
6283
+ };
4652
6284
  /**
4653
6285
  * RecordRunStep upserts the durable record for one execution step.
4654
6286
  *
@@ -4819,6 +6451,28 @@ export declare const AgentRuntimeService: GenService<{
4819
6451
  input: typeof ListRunsByWorkEnvelopeRequestSchema;
4820
6452
  output: typeof ListRunsByWorkEnvelopeResponseSchema;
4821
6453
  };
6454
+ /**
6455
+ * GetChannelThreadAdoption resolves whether a channel thread has been
6456
+ * explicitly adopted by an agent and can receive no-mention continuations.
6457
+ *
6458
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.GetChannelThreadAdoption
6459
+ */
6460
+ getChannelThreadAdoption: {
6461
+ methodKind: "unary";
6462
+ input: typeof GetChannelThreadAdoptionRequestSchema;
6463
+ output: typeof GetChannelThreadAdoptionResponseSchema;
6464
+ };
6465
+ /**
6466
+ * ListChannelThreadAdoptions returns the durable adoption projection for
6467
+ * operator/debug surfaces and channel-adapter reconciliation.
6468
+ *
6469
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListChannelThreadAdoptions
6470
+ */
6471
+ listChannelThreadAdoptions: {
6472
+ methodKind: "unary";
6473
+ input: typeof ListChannelThreadAdoptionsRequestSchema;
6474
+ output: typeof ListChannelThreadAdoptionsResponseSchema;
6475
+ };
4822
6476
  /**
4823
6477
  * ListRunWaits returns a pending-work projection over parked AgentRun waits
4824
6478
  * without requiring clients to replay runtime events or read full run
@@ -4897,8 +6551,53 @@ export declare const AgentRuntimeService: GenService<{
4897
6551
  output: typeof ReadRunVirtualFileResponseSchema;
4898
6552
  };
4899
6553
  /**
4900
- * SearchRunVirtualFiles performs bounded literal search over text virtual
4901
- * files projected for an AgentRun.
6554
+ * StatRunVirtualFile returns the typed, content-free VFS projection for one
6555
+ * run virtual file by path.
6556
+ *
6557
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.StatRunVirtualFile
6558
+ */
6559
+ statRunVirtualFile: {
6560
+ methodKind: "unary";
6561
+ input: typeof StatRunVirtualFileRequestSchema;
6562
+ output: typeof StatRunVirtualFileResponseSchema;
6563
+ };
6564
+ /**
6565
+ * WatchRunVirtualFiles streams a resumable VFS timeline for local agent
6566
+ * development and inspectors without polling the full VFS projection.
6567
+ *
6568
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.WatchRunVirtualFiles
6569
+ */
6570
+ watchRunVirtualFiles: {
6571
+ methodKind: "server_streaming";
6572
+ input: typeof WatchRunVirtualFilesRequestSchema;
6573
+ output: typeof WatchRunVirtualFilesResponseSchema;
6574
+ };
6575
+ /**
6576
+ * BatchReadRunVirtualFiles reads multiple bounded VFS slices in one request
6577
+ * while making per-file and total-budget truncation explicit.
6578
+ *
6579
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.BatchReadRunVirtualFiles
6580
+ */
6581
+ batchReadRunVirtualFiles: {
6582
+ methodKind: "unary";
6583
+ input: typeof BatchReadRunVirtualFilesRequestSchema;
6584
+ output: typeof BatchReadRunVirtualFilesResponseSchema;
6585
+ };
6586
+ /**
6587
+ * BuildRunVirtualFileContextPack returns an ordered, cited set of VFS
6588
+ * snippets for a task or query so workers can hydrate model context without
6589
+ * hand-rolling list/search/read loops.
6590
+ *
6591
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.BuildRunVirtualFileContextPack
6592
+ */
6593
+ buildRunVirtualFileContextPack: {
6594
+ methodKind: "unary";
6595
+ input: typeof BuildRunVirtualFileContextPackRequestSchema;
6596
+ output: typeof BuildRunVirtualFileContextPackResponseSchema;
6597
+ };
6598
+ /**
6599
+ * SearchRunVirtualFiles performs bounded literal or regex search over text
6600
+ * virtual files projected for an AgentRun.
4902
6601
  *
4903
6602
  * @generated from rpc agentruntime.v1.AgentRuntimeService.SearchRunVirtualFiles
4904
6603
  */
@@ -4943,6 +6642,39 @@ export declare const AgentRuntimeService: GenService<{
4943
6642
  input: typeof PromoteRunVirtualFileTransactionRequestSchema;
4944
6643
  output: typeof PromoteRunVirtualFileTransactionResponseSchema;
4945
6644
  };
6645
+ /**
6646
+ * DiffRunVirtualFileTransaction previews a staged VFS transaction as
6647
+ * per-file stats, hunks, conflicts, and unified diff text.
6648
+ *
6649
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.DiffRunVirtualFileTransaction
6650
+ */
6651
+ diffRunVirtualFileTransaction: {
6652
+ methodKind: "unary";
6653
+ input: typeof DiffRunVirtualFileTransactionRequestSchema;
6654
+ output: typeof DiffRunVirtualFileTransactionResponseSchema;
6655
+ };
6656
+ /**
6657
+ * ApplyRunVirtualFileTransaction applies a transaction when the diff is
6658
+ * clean, and otherwise returns structured conflicts without mutating state.
6659
+ *
6660
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ApplyRunVirtualFileTransaction
6661
+ */
6662
+ applyRunVirtualFileTransaction: {
6663
+ methodKind: "unary";
6664
+ input: typeof ApplyRunVirtualFileTransactionRequestSchema;
6665
+ output: typeof ApplyRunVirtualFileTransactionResponseSchema;
6666
+ };
6667
+ /**
6668
+ * RebaseRunVirtualFileTransaction restages a clean transaction on top of the
6669
+ * latest accepted VFS revisions while preserving proposed content metadata.
6670
+ *
6671
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RebaseRunVirtualFileTransaction
6672
+ */
6673
+ rebaseRunVirtualFileTransaction: {
6674
+ methodKind: "unary";
6675
+ input: typeof RebaseRunVirtualFileTransactionRequestSchema;
6676
+ output: typeof RebaseRunVirtualFileTransactionResponseSchema;
6677
+ };
4946
6678
  /**
4947
6679
  * HydrateRunVirtualFileMount resolves a lazy connector mount into bounded
4948
6680
  * run-scoped VFS files without exposing credentials to the worker.