@evalops/sdk-ts 0.1.104 → 0.1.106

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.
@@ -1261,6 +1261,10 @@ export type AgentRun = Message<"agentruntime.v1.AgentRun"> & {
1261
1261
  * @generated from field: agentruntime.v1.RuntimeTraceContext trace_context = 34;
1262
1262
  */
1263
1263
  traceContext?: RuntimeTraceContext | undefined;
1264
+ /**
1265
+ * @generated from field: string autonomy_session_id = 35;
1266
+ */
1267
+ autonomySessionId: string;
1264
1268
  };
1265
1269
  /**
1266
1270
  * Describes the message agentruntime.v1.AgentRun.
@@ -1732,6 +1736,209 @@ export type RuntimeEvent = Message<"agentruntime.v1.RuntimeEvent"> & {
1732
1736
  * Use `create(RuntimeEventSchema)` to create a new message.
1733
1737
  */
1734
1738
  export declare const RuntimeEventSchema: GenMessage<RuntimeEvent>;
1739
+ /**
1740
+ * AgentAutonomySession is the durable teammate session projected over one
1741
+ * objective/work envelope. Platform owns this identity so Slack can wake,
1742
+ * steer, or inspect the same autonomous worker without becoming the run loop.
1743
+ *
1744
+ * @generated from message agentruntime.v1.AgentAutonomySession
1745
+ */
1746
+ export type AgentAutonomySession = Message<"agentruntime.v1.AgentAutonomySession"> & {
1747
+ /**
1748
+ * @generated from field: string id = 1;
1749
+ */
1750
+ id: string;
1751
+ /**
1752
+ * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
1753
+ */
1754
+ linkage?: AgentRunLinkage | undefined;
1755
+ /**
1756
+ * @generated from field: string work_envelope_id = 3;
1757
+ */
1758
+ workEnvelopeId: string;
1759
+ /**
1760
+ * @generated from field: agentruntime.v1.RuntimeWorkEnvelopeKind work_envelope_kind = 4;
1761
+ */
1762
+ workEnvelopeKind: RuntimeWorkEnvelopeKind;
1763
+ /**
1764
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 5;
1765
+ */
1766
+ channelContext?: RuntimeChannelContext | undefined;
1767
+ /**
1768
+ * @generated from field: agentruntime.v1.AutonomySessionState state = 6;
1769
+ */
1770
+ state: AutonomySessionState;
1771
+ /**
1772
+ * @generated from field: agentruntime.v1.AutonomyProcessingState processing_state = 7;
1773
+ */
1774
+ processingState: AutonomyProcessingState;
1775
+ /**
1776
+ * @generated from field: string processing_summary = 8;
1777
+ */
1778
+ processingSummary: string;
1779
+ /**
1780
+ * @generated from field: string root_run_id = 9;
1781
+ */
1782
+ rootRunId: string;
1783
+ /**
1784
+ * @generated from field: string active_run_id = 10;
1785
+ */
1786
+ activeRunId: string;
1787
+ /**
1788
+ * @generated from field: string current_goal = 11;
1789
+ */
1790
+ currentGoal: string;
1791
+ /**
1792
+ * @generated from field: string next_action = 12;
1793
+ */
1794
+ nextAction: string;
1795
+ /**
1796
+ * @generated from field: string blocker = 13;
1797
+ */
1798
+ blocker: string;
1799
+ /**
1800
+ * @generated from field: string processing_message_ts = 14;
1801
+ */
1802
+ processingMessageTs: string;
1803
+ /**
1804
+ * @generated from field: string assistant_stream_ts = 15;
1805
+ */
1806
+ assistantStreamTs: string;
1807
+ /**
1808
+ * @generated from field: string last_presence_event_id = 16;
1809
+ */
1810
+ lastPresenceEventId: string;
1811
+ /**
1812
+ * @generated from field: google.protobuf.Timestamp last_presence_update_at = 17;
1813
+ */
1814
+ lastPresenceUpdateAt?: Timestamp | undefined;
1815
+ /**
1816
+ * @generated from field: bool final_response_pending = 18;
1817
+ */
1818
+ finalResponsePending: boolean;
1819
+ /**
1820
+ * @generated from field: google.protobuf.Timestamp created_at = 19;
1821
+ */
1822
+ createdAt?: Timestamp | undefined;
1823
+ /**
1824
+ * @generated from field: google.protobuf.Timestamp updated_at = 20;
1825
+ */
1826
+ updatedAt?: Timestamp | undefined;
1827
+ };
1828
+ /**
1829
+ * Describes the message agentruntime.v1.AgentAutonomySession.
1830
+ * Use `create(AgentAutonomySessionSchema)` to create a new message.
1831
+ */
1832
+ export declare const AgentAutonomySessionSchema: GenMessage<AgentAutonomySession>;
1833
+ /**
1834
+ * AgentWorkItem is one node in the autonomous work graph. Workers and
1835
+ * reconcilers mutate this typed record directly; VFS ledgers are projections.
1836
+ *
1837
+ * @generated from message agentruntime.v1.AgentWorkItem
1838
+ */
1839
+ export type AgentWorkItem = Message<"agentruntime.v1.AgentWorkItem"> & {
1840
+ /**
1841
+ * @generated from field: string id = 1;
1842
+ */
1843
+ id: string;
1844
+ /**
1845
+ * @generated from field: agentruntime.v1.AgentRunLinkage linkage = 2;
1846
+ */
1847
+ linkage?: AgentRunLinkage | undefined;
1848
+ /**
1849
+ * @generated from field: string autonomy_session_id = 3;
1850
+ */
1851
+ autonomySessionId: string;
1852
+ /**
1853
+ * @generated from field: string run_id = 4;
1854
+ */
1855
+ runId: string;
1856
+ /**
1857
+ * @generated from field: string work_envelope_id = 5;
1858
+ */
1859
+ workEnvelopeId: string;
1860
+ /**
1861
+ * @generated from field: string parent_work_item_id = 6;
1862
+ */
1863
+ parentWorkItemId: string;
1864
+ /**
1865
+ * @generated from field: string owner_child_run_id = 7;
1866
+ */
1867
+ ownerChildRunId: string;
1868
+ /**
1869
+ * @generated from field: agentruntime.v1.AgentWorkItemKind kind = 8;
1870
+ */
1871
+ kind: AgentWorkItemKind;
1872
+ /**
1873
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 9;
1874
+ */
1875
+ state: AgentWorkItemState;
1876
+ /**
1877
+ * @generated from field: string title = 10;
1878
+ */
1879
+ title: string;
1880
+ /**
1881
+ * @generated from field: string goal = 11;
1882
+ */
1883
+ goal: string;
1884
+ /**
1885
+ * @generated from field: string next_action = 12;
1886
+ */
1887
+ nextAction: string;
1888
+ /**
1889
+ * @generated from field: string blocker = 13;
1890
+ */
1891
+ blocker: string;
1892
+ /**
1893
+ * @generated from field: string wait_id = 14;
1894
+ */
1895
+ waitId: string;
1896
+ /**
1897
+ * @generated from field: string tool_execution_id = 15;
1898
+ */
1899
+ toolExecutionId: string;
1900
+ /**
1901
+ * @generated from field: repeated string evidence_refs = 16;
1902
+ */
1903
+ evidenceRefs: string[];
1904
+ /**
1905
+ * @generated from field: string completion_gate = 17;
1906
+ */
1907
+ completionGate: string;
1908
+ /**
1909
+ * @generated from field: google.protobuf.Struct payload = 18;
1910
+ */
1911
+ payload?: JsonObject | undefined;
1912
+ /**
1913
+ * @generated from field: google.protobuf.Timestamp created_at = 19;
1914
+ */
1915
+ createdAt?: Timestamp | undefined;
1916
+ /**
1917
+ * @generated from field: google.protobuf.Timestamp updated_at = 20;
1918
+ */
1919
+ updatedAt?: Timestamp | undefined;
1920
+ /**
1921
+ * @generated from field: google.protobuf.Timestamp started_at = 21;
1922
+ */
1923
+ startedAt?: Timestamp | undefined;
1924
+ /**
1925
+ * @generated from field: google.protobuf.Timestamp completed_at = 22;
1926
+ */
1927
+ completedAt?: Timestamp | undefined;
1928
+ /**
1929
+ * @generated from field: google.protobuf.Timestamp failed_at = 23;
1930
+ */
1931
+ failedAt?: Timestamp | undefined;
1932
+ /**
1933
+ * @generated from field: google.protobuf.Timestamp cancelled_at = 24;
1934
+ */
1935
+ cancelledAt?: Timestamp | undefined;
1936
+ };
1937
+ /**
1938
+ * Describes the message agentruntime.v1.AgentWorkItem.
1939
+ * Use `create(AgentWorkItemSchema)` to create a new message.
1940
+ */
1941
+ export declare const AgentWorkItemSchema: GenMessage<AgentWorkItem>;
1735
1942
  /**
1736
1943
  * @generated from message agentruntime.v1.HandleTriggerRequest
1737
1944
  */
@@ -2188,6 +2395,338 @@ export type RecordRunEventResponse = Message<"agentruntime.v1.RecordRunEventResp
2188
2395
  * Use `create(RecordRunEventResponseSchema)` to create a new message.
2189
2396
  */
2190
2397
  export declare const RecordRunEventResponseSchema: GenMessage<RecordRunEventResponse>;
2398
+ /**
2399
+ * @generated from message agentruntime.v1.ControlRunRequest
2400
+ */
2401
+ export type ControlRunRequest = Message<"agentruntime.v1.ControlRunRequest"> & {
2402
+ /**
2403
+ * @generated from field: string run_id = 1;
2404
+ */
2405
+ runId: string;
2406
+ /**
2407
+ * @generated from field: string workspace_id = 2;
2408
+ */
2409
+ workspaceId: string;
2410
+ /**
2411
+ * @generated from field: string agent_id = 3;
2412
+ */
2413
+ agentId: string;
2414
+ /**
2415
+ * @generated from field: string work_envelope_id = 4;
2416
+ */
2417
+ workEnvelopeId: string;
2418
+ /**
2419
+ * @generated from field: string autonomy_session_id = 5;
2420
+ */
2421
+ autonomySessionId: string;
2422
+ /**
2423
+ * @generated from field: agentruntime.v1.RunControlMode mode = 6;
2424
+ */
2425
+ mode: RunControlMode;
2426
+ /**
2427
+ * @generated from field: string message = 7;
2428
+ */
2429
+ message: string;
2430
+ /**
2431
+ * @generated from field: string idempotency_key = 8;
2432
+ */
2433
+ idempotencyKey: string;
2434
+ /**
2435
+ * @generated from field: agentruntime.v1.RuntimeChannelContext channel_context = 9;
2436
+ */
2437
+ channelContext?: RuntimeChannelContext | undefined;
2438
+ /**
2439
+ * @generated from field: google.protobuf.Struct payload = 10;
2440
+ */
2441
+ payload?: JsonObject | undefined;
2442
+ /**
2443
+ * @generated from field: agentruntime.v1.RuntimeVisibilityMetadata visibility = 11;
2444
+ */
2445
+ visibility?: RuntimeVisibilityMetadata | undefined;
2446
+ };
2447
+ /**
2448
+ * Describes the message agentruntime.v1.ControlRunRequest.
2449
+ * Use `create(ControlRunRequestSchema)` to create a new message.
2450
+ */
2451
+ export declare const ControlRunRequestSchema: GenMessage<ControlRunRequest>;
2452
+ /**
2453
+ * @generated from message agentruntime.v1.ControlRunResponse
2454
+ */
2455
+ export type ControlRunResponse = Message<"agentruntime.v1.ControlRunResponse"> & {
2456
+ /**
2457
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2458
+ */
2459
+ run?: AgentRun | undefined;
2460
+ /**
2461
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 2;
2462
+ */
2463
+ event?: RuntimeEvent | undefined;
2464
+ /**
2465
+ * @generated from field: string control_id = 3;
2466
+ */
2467
+ controlId: string;
2468
+ /**
2469
+ * @generated from field: bool cancelled = 4;
2470
+ */
2471
+ cancelled: boolean;
2472
+ /**
2473
+ * @generated from field: bool queued_for_worker = 5;
2474
+ */
2475
+ queuedForWorker: boolean;
2476
+ };
2477
+ /**
2478
+ * Describes the message agentruntime.v1.ControlRunResponse.
2479
+ * Use `create(ControlRunResponseSchema)` to create a new message.
2480
+ */
2481
+ export declare const ControlRunResponseSchema: GenMessage<ControlRunResponse>;
2482
+ /**
2483
+ * @generated from message agentruntime.v1.RecordRunWorkItemRequest
2484
+ */
2485
+ export type RecordRunWorkItemRequest = Message<"agentruntime.v1.RecordRunWorkItemRequest"> & {
2486
+ /**
2487
+ * @generated from field: string run_id = 1;
2488
+ */
2489
+ runId: string;
2490
+ /**
2491
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2492
+ */
2493
+ workItem?: AgentWorkItem | undefined;
2494
+ };
2495
+ /**
2496
+ * Describes the message agentruntime.v1.RecordRunWorkItemRequest.
2497
+ * Use `create(RecordRunWorkItemRequestSchema)` to create a new message.
2498
+ */
2499
+ export declare const RecordRunWorkItemRequestSchema: GenMessage<RecordRunWorkItemRequest>;
2500
+ /**
2501
+ * @generated from message agentruntime.v1.RecordRunWorkItemResponse
2502
+ */
2503
+ export type RecordRunWorkItemResponse = Message<"agentruntime.v1.RecordRunWorkItemResponse"> & {
2504
+ /**
2505
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2506
+ */
2507
+ run?: AgentRun | undefined;
2508
+ /**
2509
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2510
+ */
2511
+ workItem?: AgentWorkItem | undefined;
2512
+ /**
2513
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
2514
+ */
2515
+ event?: RuntimeEvent | undefined;
2516
+ };
2517
+ /**
2518
+ * Describes the message agentruntime.v1.RecordRunWorkItemResponse.
2519
+ * Use `create(RecordRunWorkItemResponseSchema)` to create a new message.
2520
+ */
2521
+ export declare const RecordRunWorkItemResponseSchema: GenMessage<RecordRunWorkItemResponse>;
2522
+ /**
2523
+ * @generated from message agentruntime.v1.UpdateRunWorkItemRequest
2524
+ */
2525
+ export type UpdateRunWorkItemRequest = Message<"agentruntime.v1.UpdateRunWorkItemRequest"> & {
2526
+ /**
2527
+ * @generated from field: string run_id = 1;
2528
+ */
2529
+ runId: string;
2530
+ /**
2531
+ * @generated from field: string work_item_id = 2;
2532
+ */
2533
+ workItemId: string;
2534
+ /**
2535
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 3;
2536
+ */
2537
+ state: AgentWorkItemState;
2538
+ /**
2539
+ * @generated from field: optional string next_action = 4;
2540
+ */
2541
+ nextAction?: string | undefined;
2542
+ /**
2543
+ * @generated from field: optional string blocker = 5;
2544
+ */
2545
+ blocker?: string | undefined;
2546
+ /**
2547
+ * @generated from field: optional string wait_id = 6;
2548
+ */
2549
+ waitId?: string | undefined;
2550
+ /**
2551
+ * @generated from field: optional string tool_execution_id = 7;
2552
+ */
2553
+ toolExecutionId?: string | undefined;
2554
+ /**
2555
+ * @generated from field: repeated string evidence_refs = 8;
2556
+ */
2557
+ evidenceRefs: string[];
2558
+ /**
2559
+ * @generated from field: optional string completion_gate = 9;
2560
+ */
2561
+ completionGate?: string | undefined;
2562
+ /**
2563
+ * @generated from field: google.protobuf.Struct payload = 10;
2564
+ */
2565
+ payload?: JsonObject | undefined;
2566
+ };
2567
+ /**
2568
+ * Describes the message agentruntime.v1.UpdateRunWorkItemRequest.
2569
+ * Use `create(UpdateRunWorkItemRequestSchema)` to create a new message.
2570
+ */
2571
+ export declare const UpdateRunWorkItemRequestSchema: GenMessage<UpdateRunWorkItemRequest>;
2572
+ /**
2573
+ * @generated from message agentruntime.v1.UpdateRunWorkItemResponse
2574
+ */
2575
+ export type UpdateRunWorkItemResponse = Message<"agentruntime.v1.UpdateRunWorkItemResponse"> & {
2576
+ /**
2577
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2578
+ */
2579
+ run?: AgentRun | undefined;
2580
+ /**
2581
+ * @generated from field: agentruntime.v1.AgentWorkItem work_item = 2;
2582
+ */
2583
+ workItem?: AgentWorkItem | undefined;
2584
+ /**
2585
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 3;
2586
+ */
2587
+ event?: RuntimeEvent | undefined;
2588
+ };
2589
+ /**
2590
+ * Describes the message agentruntime.v1.UpdateRunWorkItemResponse.
2591
+ * Use `create(UpdateRunWorkItemResponseSchema)` to create a new message.
2592
+ */
2593
+ export declare const UpdateRunWorkItemResponseSchema: GenMessage<UpdateRunWorkItemResponse>;
2594
+ /**
2595
+ * @generated from message agentruntime.v1.ListRunWorkItemsRequest
2596
+ */
2597
+ export type ListRunWorkItemsRequest = Message<"agentruntime.v1.ListRunWorkItemsRequest"> & {
2598
+ /**
2599
+ * @generated from field: string run_id = 1;
2600
+ */
2601
+ runId: string;
2602
+ /**
2603
+ * @generated from field: string workspace_id = 2;
2604
+ */
2605
+ workspaceId: string;
2606
+ /**
2607
+ * @generated from field: string work_envelope_id = 3;
2608
+ */
2609
+ workEnvelopeId: string;
2610
+ /**
2611
+ * @generated from field: string autonomy_session_id = 4;
2612
+ */
2613
+ autonomySessionId: string;
2614
+ /**
2615
+ * @generated from field: agentruntime.v1.AgentWorkItemState state = 5;
2616
+ */
2617
+ state: AgentWorkItemState;
2618
+ /**
2619
+ * @generated from field: int32 limit = 6;
2620
+ */
2621
+ limit: number;
2622
+ };
2623
+ /**
2624
+ * Describes the message agentruntime.v1.ListRunWorkItemsRequest.
2625
+ * Use `create(ListRunWorkItemsRequestSchema)` to create a new message.
2626
+ */
2627
+ export declare const ListRunWorkItemsRequestSchema: GenMessage<ListRunWorkItemsRequest>;
2628
+ /**
2629
+ * @generated from message agentruntime.v1.ListRunWorkItemsResponse
2630
+ */
2631
+ export type ListRunWorkItemsResponse = Message<"agentruntime.v1.ListRunWorkItemsResponse"> & {
2632
+ /**
2633
+ * @generated from field: repeated agentruntime.v1.AgentWorkItem work_items = 1;
2634
+ */
2635
+ workItems: AgentWorkItem[];
2636
+ };
2637
+ /**
2638
+ * Describes the message agentruntime.v1.ListRunWorkItemsResponse.
2639
+ * Use `create(ListRunWorkItemsResponseSchema)` to create a new message.
2640
+ */
2641
+ export declare const ListRunWorkItemsResponseSchema: GenMessage<ListRunWorkItemsResponse>;
2642
+ /**
2643
+ * @generated from message agentruntime.v1.YieldRunRequest
2644
+ */
2645
+ export type YieldRunRequest = Message<"agentruntime.v1.YieldRunRequest"> & {
2646
+ /**
2647
+ * @generated from field: string run_id = 1;
2648
+ */
2649
+ runId: string;
2650
+ /**
2651
+ * @generated from field: string lease_token = 2;
2652
+ */
2653
+ leaseToken: string;
2654
+ /**
2655
+ * @generated from field: agentruntime.v1.YieldContinuation continuation = 3;
2656
+ */
2657
+ continuation: YieldContinuation;
2658
+ /**
2659
+ * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
2660
+ */
2661
+ checkpoint?: AgentRunCheckpoint | undefined;
2662
+ /**
2663
+ * @generated from field: google.protobuf.Timestamp resume_after = 5;
2664
+ */
2665
+ resumeAfter?: Timestamp | undefined;
2666
+ /**
2667
+ * @generated from field: agentruntime.v1.AgentRunWait wait = 6;
2668
+ */
2669
+ wait?: AgentRunWait | undefined;
2670
+ /**
2671
+ * @generated from field: string presence_status_text = 7;
2672
+ */
2673
+ presenceStatusText: string;
2674
+ /**
2675
+ * @generated from field: string idempotency_key = 8;
2676
+ */
2677
+ idempotencyKey: string;
2678
+ /**
2679
+ * @generated from field: int32 yield_budget = 9;
2680
+ */
2681
+ yieldBudget: number;
2682
+ };
2683
+ /**
2684
+ * Describes the message agentruntime.v1.YieldRunRequest.
2685
+ * Use `create(YieldRunRequestSchema)` to create a new message.
2686
+ */
2687
+ export declare const YieldRunRequestSchema: GenMessage<YieldRunRequest>;
2688
+ /**
2689
+ * @generated from message agentruntime.v1.YieldRunResponse
2690
+ */
2691
+ export type YieldRunResponse = Message<"agentruntime.v1.YieldRunResponse"> & {
2692
+ /**
2693
+ * @generated from field: agentruntime.v1.AgentRun run = 1;
2694
+ */
2695
+ run?: AgentRun | undefined;
2696
+ /**
2697
+ * @generated from field: agentruntime.v1.AgentRun successor_run = 2;
2698
+ */
2699
+ successorRun?: AgentRun | undefined;
2700
+ /**
2701
+ * @generated from field: agentruntime.v1.AgentRunWait wait = 3;
2702
+ */
2703
+ wait?: AgentRunWait | undefined;
2704
+ /**
2705
+ * @generated from field: agentruntime.v1.AgentRunCheckpoint checkpoint = 4;
2706
+ */
2707
+ checkpoint?: AgentRunCheckpoint | undefined;
2708
+ /**
2709
+ * @generated from field: agentruntime.v1.RuntimeEvent event = 5;
2710
+ */
2711
+ event?: RuntimeEvent | undefined;
2712
+ /**
2713
+ * @generated from field: agentruntime.v1.RuntimeEvent presence_event = 6;
2714
+ */
2715
+ presenceEvent?: RuntimeEvent | undefined;
2716
+ /**
2717
+ * @generated from field: bool session_blocked = 7;
2718
+ */
2719
+ sessionBlocked: boolean;
2720
+ /**
2721
+ * @generated from field: int32 yield_count = 8;
2722
+ */
2723
+ yieldCount: number;
2724
+ };
2725
+ /**
2726
+ * Describes the message agentruntime.v1.YieldRunResponse.
2727
+ * Use `create(YieldRunResponseSchema)` to create a new message.
2728
+ */
2729
+ export declare const YieldRunResponseSchema: GenMessage<YieldRunResponse>;
2191
2730
  /**
2192
2731
  * @generated from message agentruntime.v1.WaitRunRequest
2193
2732
  */
@@ -2657,6 +3196,18 @@ export type TeammateWorkLedger = Message<"agentruntime.v1.TeammateWorkLedger"> &
2657
3196
  * @generated from field: int32 event_count = 23;
2658
3197
  */
2659
3198
  eventCount: number;
3199
+ /**
3200
+ * @generated from field: repeated agentruntime.v1.AgentWorkItem active_work_items = 24;
3201
+ */
3202
+ activeWorkItems: AgentWorkItem[];
3203
+ /**
3204
+ * @generated from field: int32 active_work_item_count = 25;
3205
+ */
3206
+ activeWorkItemCount: number;
3207
+ /**
3208
+ * @generated from field: int32 blocked_work_item_count = 26;
3209
+ */
3210
+ blockedWorkItemCount: number;
2660
3211
  };
2661
3212
  /**
2662
3213
  * Describes the message agentruntime.v1.TeammateWorkLedger.
@@ -2959,25 +3510,57 @@ export declare const TeammateWorkLedgerProactivePolicySchema: GenMessage<Teammat
2959
3510
  */
2960
3511
  export type TeammateWorkLedgerChannelStatus = Message<"agentruntime.v1.TeammateWorkLedgerChannelStatus"> & {
2961
3512
  /**
2962
- * @generated from field: string channel_kind = 1;
3513
+ * @generated from field: string channel_kind = 1;
3514
+ */
3515
+ channelKind: string;
3516
+ /**
3517
+ * @generated from field: string channel_id = 2;
3518
+ */
3519
+ channelId: string;
3520
+ /**
3521
+ * @generated from field: string thread_id = 3;
3522
+ */
3523
+ threadId: string;
3524
+ /**
3525
+ * @generated from field: string last_visible_event_id = 4;
3526
+ */
3527
+ lastVisibleEventId: string;
3528
+ /**
3529
+ * @generated from field: string last_visible_summary = 5;
3530
+ */
3531
+ lastVisibleSummary: string;
3532
+ /**
3533
+ * @generated from field: agentruntime.v1.AutonomyProcessingState processing_state = 6;
3534
+ */
3535
+ processingState: AutonomyProcessingState;
3536
+ /**
3537
+ * @generated from field: string processing_summary = 7;
2963
3538
  */
2964
- channelKind: string;
3539
+ processingSummary: string;
2965
3540
  /**
2966
- * @generated from field: string channel_id = 2;
3541
+ * @generated from field: string processing_message_ts = 8;
2967
3542
  */
2968
- channelId: string;
3543
+ processingMessageTs: string;
2969
3544
  /**
2970
- * @generated from field: string thread_id = 3;
3545
+ * @generated from field: string assistant_stream_ts = 9;
2971
3546
  */
2972
- threadId: string;
3547
+ assistantStreamTs: string;
2973
3548
  /**
2974
- * @generated from field: string last_visible_event_id = 4;
3549
+ * @generated from field: string last_presence_event_id = 10;
2975
3550
  */
2976
- lastVisibleEventId: string;
3551
+ lastPresenceEventId: string;
2977
3552
  /**
2978
- * @generated from field: string last_visible_summary = 5;
3553
+ * @generated from field: google.protobuf.Timestamp last_presence_update_at = 11;
2979
3554
  */
2980
- lastVisibleSummary: string;
3555
+ lastPresenceUpdateAt?: Timestamp | undefined;
3556
+ /**
3557
+ * @generated from field: bool final_response_pending = 12;
3558
+ */
3559
+ finalResponsePending: boolean;
3560
+ /**
3561
+ * @generated from field: string autonomy_session_id = 13;
3562
+ */
3563
+ autonomySessionId: string;
2981
3564
  };
2982
3565
  /**
2983
3566
  * Describes the message agentruntime.v1.TeammateWorkLedgerChannelStatus.
@@ -3162,6 +3745,78 @@ export type GetChannelThreadAdoptionResponse = Message<"agentruntime.v1.GetChann
3162
3745
  * Use `create(GetChannelThreadAdoptionResponseSchema)` to create a new message.
3163
3746
  */
3164
3747
  export declare const GetChannelThreadAdoptionResponseSchema: GenMessage<GetChannelThreadAdoptionResponse>;
3748
+ /**
3749
+ * @generated from message agentruntime.v1.RecordChannelThreadAdoptionRequest
3750
+ */
3751
+ export type RecordChannelThreadAdoptionRequest = Message<"agentruntime.v1.RecordChannelThreadAdoptionRequest"> & {
3752
+ /**
3753
+ * @generated from field: string workspace_id = 1;
3754
+ */
3755
+ workspaceId: string;
3756
+ /**
3757
+ * @generated from field: string agent_id = 2;
3758
+ */
3759
+ agentId: string;
3760
+ /**
3761
+ * @generated from field: agentruntime.v1.RuntimeChannelKind channel_kind = 3;
3762
+ */
3763
+ channelKind: RuntimeChannelKind;
3764
+ /**
3765
+ * @generated from field: string provider_workspace_id = 4;
3766
+ */
3767
+ providerWorkspaceId: string;
3768
+ /**
3769
+ * @generated from field: string channel_id = 5;
3770
+ */
3771
+ channelId: string;
3772
+ /**
3773
+ * @generated from field: string thread_id = 6;
3774
+ */
3775
+ threadId: string;
3776
+ /**
3777
+ * @generated from field: string message_id = 7;
3778
+ */
3779
+ messageId: string;
3780
+ /**
3781
+ * @generated from field: string source_event_id = 8;
3782
+ */
3783
+ sourceEventId: string;
3784
+ /**
3785
+ * @generated from field: string adoption_reason = 9;
3786
+ */
3787
+ adoptionReason: string;
3788
+ /**
3789
+ * @generated from field: google.protobuf.Timestamp expires_at = 10;
3790
+ */
3791
+ expiresAt?: Timestamp | undefined;
3792
+ /**
3793
+ * @generated from field: string work_envelope_id = 11;
3794
+ */
3795
+ workEnvelopeId: string;
3796
+ /**
3797
+ * @generated from field: google.protobuf.Struct metadata = 12;
3798
+ */
3799
+ metadata?: JsonObject | undefined;
3800
+ };
3801
+ /**
3802
+ * Describes the message agentruntime.v1.RecordChannelThreadAdoptionRequest.
3803
+ * Use `create(RecordChannelThreadAdoptionRequestSchema)` to create a new message.
3804
+ */
3805
+ export declare const RecordChannelThreadAdoptionRequestSchema: GenMessage<RecordChannelThreadAdoptionRequest>;
3806
+ /**
3807
+ * @generated from message agentruntime.v1.RecordChannelThreadAdoptionResponse
3808
+ */
3809
+ export type RecordChannelThreadAdoptionResponse = Message<"agentruntime.v1.RecordChannelThreadAdoptionResponse"> & {
3810
+ /**
3811
+ * @generated from field: agentruntime.v1.ChannelThreadAdoption adoption = 1;
3812
+ */
3813
+ adoption?: ChannelThreadAdoption | undefined;
3814
+ };
3815
+ /**
3816
+ * Describes the message agentruntime.v1.RecordChannelThreadAdoptionResponse.
3817
+ * Use `create(RecordChannelThreadAdoptionResponseSchema)` to create a new message.
3818
+ */
3819
+ export declare const RecordChannelThreadAdoptionResponseSchema: GenMessage<RecordChannelThreadAdoptionResponse>;
3165
3820
  /**
3166
3821
  * @generated from message agentruntime.v1.ListChannelThreadAdoptionsRequest
3167
3822
  */
@@ -5640,12 +6295,299 @@ export declare enum RuntimeEventType {
5640
6295
  /**
5641
6296
  * @generated from enum value: RUNTIME_EVENT_TYPE_AGENT_PROGRESS_RECORDED = 32;
5642
6297
  */
5643
- AGENT_PROGRESS_RECORDED = 32
6298
+ AGENT_PROGRESS_RECORDED = 32,
6299
+ /**
6300
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_CONTROL_RECORDED = 33;
6301
+ */
6302
+ RUN_CONTROL_RECORDED = 33,
6303
+ /**
6304
+ * @generated from enum value: RUNTIME_EVENT_TYPE_WORK_ITEM_RECORDED = 34;
6305
+ */
6306
+ WORK_ITEM_RECORDED = 34,
6307
+ /**
6308
+ * @generated from enum value: RUNTIME_EVENT_TYPE_WORK_ITEM_UPDATED = 35;
6309
+ */
6310
+ WORK_ITEM_UPDATED = 35,
6311
+ /**
6312
+ * @generated from enum value: RUNTIME_EVENT_TYPE_PROCESSING_PRESENCE_RECORDED = 36;
6313
+ */
6314
+ PROCESSING_PRESENCE_RECORDED = 36,
6315
+ /**
6316
+ * @generated from enum value: RUNTIME_EVENT_TYPE_AUTONOMY_SESSION_RECORDED = 37;
6317
+ */
6318
+ AUTONOMY_SESSION_RECORDED = 37,
6319
+ /**
6320
+ * @generated from enum value: RUNTIME_EVENT_TYPE_RUN_YIELDED = 38;
6321
+ */
6322
+ RUN_YIELDED = 38
5644
6323
  }
5645
6324
  /**
5646
6325
  * Describes the enum agentruntime.v1.RuntimeEventType.
5647
6326
  */
5648
6327
  export declare const RuntimeEventTypeSchema: GenEnum<RuntimeEventType>;
6328
+ /**
6329
+ * RunControlMode describes durable input applied to an autonomous run/session.
6330
+ * Steering and followups are optional controls; they are not the worker loop.
6331
+ *
6332
+ * @generated from enum agentruntime.v1.RunControlMode
6333
+ */
6334
+ export declare enum RunControlMode {
6335
+ /**
6336
+ * @generated from enum value: RUN_CONTROL_MODE_UNSPECIFIED = 0;
6337
+ */
6338
+ UNSPECIFIED = 0,
6339
+ /**
6340
+ * @generated from enum value: RUN_CONTROL_MODE_STEER = 1;
6341
+ */
6342
+ STEER = 1,
6343
+ /**
6344
+ * @generated from enum value: RUN_CONTROL_MODE_FOLLOWUP = 2;
6345
+ */
6346
+ FOLLOWUP = 2,
6347
+ /**
6348
+ * @generated from enum value: RUN_CONTROL_MODE_COLLECT = 3;
6349
+ */
6350
+ COLLECT = 3,
6351
+ /**
6352
+ * @generated from enum value: RUN_CONTROL_MODE_INTERRUPT = 4;
6353
+ */
6354
+ INTERRUPT = 4,
6355
+ /**
6356
+ * @generated from enum value: RUN_CONTROL_MODE_CANCEL = 5;
6357
+ */
6358
+ CANCEL = 5,
6359
+ /**
6360
+ * @generated from enum value: RUN_CONTROL_MODE_SYSTEM_WAKE = 6;
6361
+ */
6362
+ SYSTEM_WAKE = 6
6363
+ }
6364
+ /**
6365
+ * Describes the enum agentruntime.v1.RunControlMode.
6366
+ */
6367
+ export declare const RunControlModeSchema: GenEnum<RunControlMode>;
6368
+ /**
6369
+ * AutonomyProcessingState is the channel-safe processing presence for a
6370
+ * long-lived autonomous teammate. Adapters update the same visible Slack
6371
+ * message from this state instead of posting one reply per runtime turn.
6372
+ *
6373
+ * @generated from enum agentruntime.v1.AutonomyProcessingState
6374
+ */
6375
+ export declare enum AutonomyProcessingState {
6376
+ /**
6377
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_UNSPECIFIED = 0;
6378
+ */
6379
+ UNSPECIFIED = 0,
6380
+ /**
6381
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_QUEUED = 1;
6382
+ */
6383
+ QUEUED = 1,
6384
+ /**
6385
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_ORIENTING = 2;
6386
+ */
6387
+ ORIENTING = 2,
6388
+ /**
6389
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_THINKING = 3;
6390
+ */
6391
+ THINKING = 3,
6392
+ /**
6393
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_USING_TOOL = 4;
6394
+ */
6395
+ USING_TOOL = 4,
6396
+ /**
6397
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_SPAWNING_CHILDREN = 5;
6398
+ */
6399
+ SPAWNING_CHILDREN = 5,
6400
+ /**
6401
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_WAITING_ON_APPROVAL = 6;
6402
+ */
6403
+ WAITING_ON_APPROVAL = 6,
6404
+ /**
6405
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_WAITING_ON_EVENT = 7;
6406
+ */
6407
+ WAITING_ON_EVENT = 7,
6408
+ /**
6409
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_SYNTHESIZING = 8;
6410
+ */
6411
+ SYNTHESIZING = 8,
6412
+ /**
6413
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_COMPLETING = 9;
6414
+ */
6415
+ COMPLETING = 9,
6416
+ /**
6417
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_IDLE = 10;
6418
+ */
6419
+ IDLE = 10,
6420
+ /**
6421
+ * @generated from enum value: AUTONOMY_PROCESSING_STATE_FAILED = 11;
6422
+ */
6423
+ FAILED = 11
6424
+ }
6425
+ /**
6426
+ * Describes the enum agentruntime.v1.AutonomyProcessingState.
6427
+ */
6428
+ export declare const AutonomyProcessingStateSchema: GenEnum<AutonomyProcessingState>;
6429
+ /**
6430
+ * AgentWorkItemKind classifies nodes in the autonomous work graph.
6431
+ *
6432
+ * @generated from enum agentruntime.v1.AgentWorkItemKind
6433
+ */
6434
+ export declare enum AgentWorkItemKind {
6435
+ /**
6436
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_UNSPECIFIED = 0;
6437
+ */
6438
+ UNSPECIFIED = 0,
6439
+ /**
6440
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_ROOT = 1;
6441
+ */
6442
+ ROOT = 1,
6443
+ /**
6444
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_MODEL_CALL = 2;
6445
+ */
6446
+ MODEL_CALL = 2,
6447
+ /**
6448
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_TOOL_CALL = 3;
6449
+ */
6450
+ TOOL_CALL = 3,
6451
+ /**
6452
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_CHILD_RUN = 4;
6453
+ */
6454
+ CHILD_RUN = 4,
6455
+ /**
6456
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_WAIT = 5;
6457
+ */
6458
+ WAIT = 5,
6459
+ /**
6460
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_MEMORY = 6;
6461
+ */
6462
+ MEMORY = 6,
6463
+ /**
6464
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_USER_INPUT = 7;
6465
+ */
6466
+ USER_INPUT = 7,
6467
+ /**
6468
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_FOLLOWUP = 8;
6469
+ */
6470
+ FOLLOWUP = 8,
6471
+ /**
6472
+ * @generated from enum value: AGENT_WORK_ITEM_KIND_RECOVERY = 9;
6473
+ */
6474
+ RECOVERY = 9
6475
+ }
6476
+ /**
6477
+ * Describes the enum agentruntime.v1.AgentWorkItemKind.
6478
+ */
6479
+ export declare const AgentWorkItemKindSchema: GenEnum<AgentWorkItemKind>;
6480
+ /**
6481
+ * AgentWorkItemState describes durable progress for a work graph node.
6482
+ *
6483
+ * @generated from enum agentruntime.v1.AgentWorkItemState
6484
+ */
6485
+ export declare enum AgentWorkItemState {
6486
+ /**
6487
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_UNSPECIFIED = 0;
6488
+ */
6489
+ UNSPECIFIED = 0,
6490
+ /**
6491
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_PENDING = 1;
6492
+ */
6493
+ PENDING = 1,
6494
+ /**
6495
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_RUNNING = 2;
6496
+ */
6497
+ RUNNING = 2,
6498
+ /**
6499
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_WAITING = 3;
6500
+ */
6501
+ WAITING = 3,
6502
+ /**
6503
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_BLOCKED = 4;
6504
+ */
6505
+ BLOCKED = 4,
6506
+ /**
6507
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_SUCCEEDED = 5;
6508
+ */
6509
+ SUCCEEDED = 5,
6510
+ /**
6511
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_FAILED = 6;
6512
+ */
6513
+ FAILED = 6,
6514
+ /**
6515
+ * @generated from enum value: AGENT_WORK_ITEM_STATE_CANCELLED = 7;
6516
+ */
6517
+ CANCELLED = 7
6518
+ }
6519
+ /**
6520
+ * Describes the enum agentruntime.v1.AgentWorkItemState.
6521
+ */
6522
+ export declare const AgentWorkItemStateSchema: GenEnum<AgentWorkItemState>;
6523
+ /**
6524
+ * AutonomySessionState is the coarse lifecycle for the long-lived teammate
6525
+ * session attached to a work envelope.
6526
+ *
6527
+ * @generated from enum agentruntime.v1.AutonomySessionState
6528
+ */
6529
+ export declare enum AutonomySessionState {
6530
+ /**
6531
+ * @generated from enum value: AUTONOMY_SESSION_STATE_UNSPECIFIED = 0;
6532
+ */
6533
+ UNSPECIFIED = 0,
6534
+ /**
6535
+ * @generated from enum value: AUTONOMY_SESSION_STATE_ACTIVE = 1;
6536
+ */
6537
+ ACTIVE = 1,
6538
+ /**
6539
+ * @generated from enum value: AUTONOMY_SESSION_STATE_IDLE = 2;
6540
+ */
6541
+ IDLE = 2,
6542
+ /**
6543
+ * @generated from enum value: AUTONOMY_SESSION_STATE_WAITING = 3;
6544
+ */
6545
+ WAITING = 3,
6546
+ /**
6547
+ * @generated from enum value: AUTONOMY_SESSION_STATE_FAILED = 4;
6548
+ */
6549
+ FAILED = 4,
6550
+ /**
6551
+ * @generated from enum value: AUTONOMY_SESSION_STATE_CANCELLED = 5;
6552
+ */
6553
+ CANCELLED = 5
6554
+ }
6555
+ /**
6556
+ * Describes the enum agentruntime.v1.AutonomySessionState.
6557
+ */
6558
+ export declare const AutonomySessionStateSchema: GenEnum<AutonomySessionState>;
6559
+ /**
6560
+ * YieldContinuation describes how Platform should continue an autonomous
6561
+ * session after the current run releases its lease.
6562
+ *
6563
+ * @generated from enum agentruntime.v1.YieldContinuation
6564
+ */
6565
+ export declare enum YieldContinuation {
6566
+ /**
6567
+ * @generated from enum value: YIELD_CONTINUATION_UNSPECIFIED = 0;
6568
+ */
6569
+ UNSPECIFIED = 0,
6570
+ /**
6571
+ * @generated from enum value: YIELD_CONTINUATION_INLINE_NEXT_STEP = 1;
6572
+ */
6573
+ INLINE_NEXT_STEP = 1,
6574
+ /**
6575
+ * @generated from enum value: YIELD_CONTINUATION_SCHEDULED = 2;
6576
+ */
6577
+ SCHEDULED = 2,
6578
+ /**
6579
+ * @generated from enum value: YIELD_CONTINUATION_WAIT = 3;
6580
+ */
6581
+ WAIT = 3,
6582
+ /**
6583
+ * @generated from enum value: YIELD_CONTINUATION_END_SESSION = 4;
6584
+ */
6585
+ END_SESSION = 4
6586
+ }
6587
+ /**
6588
+ * Describes the enum agentruntime.v1.YieldContinuation.
6589
+ */
6590
+ export declare const YieldContinuationSchema: GenEnum<YieldContinuation>;
5649
6591
  /**
5650
6592
  * RuntimeDependencyStatus describes the readiness of a platform boundary that
5651
6593
  * contributed context to an AgentRun.
@@ -6564,6 +7506,63 @@ export declare const AgentRuntimeService: GenService<{
6564
7506
  input: typeof RecordRunEventRequestSchema;
6565
7507
  output: typeof RecordRunEventResponseSchema;
6566
7508
  };
7509
+ /**
7510
+ * ControlRun records a human, channel, scheduler, or system control against
7511
+ * the active autonomous run/session. Controls are durable steering input; the
7512
+ * Slack adapter is not responsible for keeping the agent alive turn by turn.
7513
+ *
7514
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ControlRun
7515
+ */
7516
+ controlRun: {
7517
+ methodKind: "unary";
7518
+ input: typeof ControlRunRequestSchema;
7519
+ output: typeof ControlRunResponseSchema;
7520
+ };
7521
+ /**
7522
+ * RecordRunWorkItem creates or replaces one node in the autonomous work graph.
7523
+ * Work items, not VFS projections, are the canonical state for long-horizon
7524
+ * goals, child runs, waits, tool activity, blockers, and completion gates.
7525
+ *
7526
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordRunWorkItem
7527
+ */
7528
+ recordRunWorkItem: {
7529
+ methodKind: "unary";
7530
+ input: typeof RecordRunWorkItemRequestSchema;
7531
+ output: typeof RecordRunWorkItemResponseSchema;
7532
+ };
7533
+ /**
7534
+ * UpdateRunWorkItem patches progress for one autonomous work graph node.
7535
+ *
7536
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.UpdateRunWorkItem
7537
+ */
7538
+ updateRunWorkItem: {
7539
+ methodKind: "unary";
7540
+ input: typeof UpdateRunWorkItemRequestSchema;
7541
+ output: typeof UpdateRunWorkItemResponseSchema;
7542
+ };
7543
+ /**
7544
+ * ListRunWorkItems returns the typed work graph for one run or work envelope.
7545
+ *
7546
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.ListRunWorkItems
7547
+ */
7548
+ listRunWorkItems: {
7549
+ methodKind: "unary";
7550
+ input: typeof ListRunWorkItemsRequestSchema;
7551
+ output: typeof ListRunWorkItemsResponseSchema;
7552
+ };
7553
+ /**
7554
+ * YieldRun ends the current leased run step while keeping the autonomous
7555
+ * session alive. Inline yields enqueue a successor AgentRun immediately;
7556
+ * end-session yields close the run without enqueueing more autonomous work.
7557
+ * Timer, approval, input, and event blocking use WaitRun/ResumeRun.
7558
+ *
7559
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.YieldRun
7560
+ */
7561
+ yieldRun: {
7562
+ methodKind: "unary";
7563
+ input: typeof YieldRunRequestSchema;
7564
+ output: typeof YieldRunResponseSchema;
7565
+ };
6567
7566
  /**
6568
7567
  * WaitRun parks the run on an approval, input, timer, or event wait and
6569
7568
  * clears the worker lease so no compute is held while blocked.
@@ -6681,6 +7680,17 @@ export declare const AgentRuntimeService: GenService<{
6681
7680
  input: typeof GetChannelThreadAdoptionRequestSchema;
6682
7681
  output: typeof GetChannelThreadAdoptionResponseSchema;
6683
7682
  };
7683
+ /**
7684
+ * RecordChannelThreadAdoption durably records an adapter-observed channel
7685
+ * thread adoption without requiring the adapter to create a new AgentRun.
7686
+ *
7687
+ * @generated from rpc agentruntime.v1.AgentRuntimeService.RecordChannelThreadAdoption
7688
+ */
7689
+ recordChannelThreadAdoption: {
7690
+ methodKind: "unary";
7691
+ input: typeof RecordChannelThreadAdoptionRequestSchema;
7692
+ output: typeof RecordChannelThreadAdoptionResponseSchema;
7693
+ };
6684
7694
  /**
6685
7695
  * ListChannelThreadAdoptions returns the durable adoption projection for
6686
7696
  * operator/debug surfaces and channel-adapter reconciliation.