plato-sandbox-sdk 1.1.46 → 1.1.47

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.
Files changed (50) hide show
  1. package/dist/chronos/index.d.mts +414 -44
  2. package/dist/chronos/index.d.ts +414 -44
  3. package/dist/chronos/index.js +165 -9
  4. package/dist/chronos/index.mjs +3 -1
  5. package/dist/{chunk-W7PZVWXN.mjs → chunk-XO5CNUMC.mjs} +165 -9
  6. package/dist/index.d.mts +24 -5
  7. package/dist/index.d.ts +24 -5
  8. package/dist/index.js +164 -9
  9. package/dist/index.mjs +1 -1
  10. package/package.json +1 -1
  11. package/src/chronos/api/assignments.ts +108 -8
  12. package/src/chronos/api/auth.ts +35 -0
  13. package/src/chronos/api/index.ts +1 -0
  14. package/src/chronos/api/reviews.ts +32 -0
  15. package/src/chronos/api/stages.ts +65 -0
  16. package/src/chronos/client.ts +3 -0
  17. package/src/chronos/models/ArtifactBrowserNode.ts +14 -0
  18. package/src/chronos/models/AssignmentAnalyticsResponse.ts +16 -0
  19. package/src/chronos/models/AssignmentPreviewItem.ts +3 -2
  20. package/src/chronos/models/AssignmentResponse.ts +4 -5
  21. package/src/chronos/models/AssignmentTypeInfo.ts +13 -0
  22. package/src/chronos/models/AuthSessionResponse.ts +2 -0
  23. package/src/chronos/models/AuthzCheckResponse.ts +10 -0
  24. package/src/chronos/models/BatchAssignmentItem.ts +15 -0
  25. package/src/chronos/models/BatchCreateAssignmentsBody.ts +5 -3
  26. package/src/chronos/models/CommentPanelNode.ts +14 -0
  27. package/src/chronos/models/CreateAssignmentBody.ts +7 -5
  28. package/src/chronos/models/CreateReviewRequest.ts +0 -4
  29. package/src/chronos/models/FindOrCreateReviewBody.ts +1 -0
  30. package/src/chronos/models/NodeTreeInput.ts +12 -0
  31. package/src/chronos/models/NodeTreeOutput.ts +12 -0
  32. package/src/chronos/models/PlatoUser.ts +2 -0
  33. package/src/chronos/models/Ref.ts +12 -0
  34. package/src/chronos/models/ReportStageRequest.ts +39 -0
  35. package/src/chronos/models/ReportStageResponse.ts +11 -0
  36. package/src/chronos/models/ReviewResponse.ts +3 -3
  37. package/src/chronos/models/ReviewerAnalytics.ts +16 -0
  38. package/src/chronos/models/ScreenshotCarouselNode.ts +16 -0
  39. package/src/chronos/models/ScreenshotRef.ts +12 -0
  40. package/src/chronos/models/SessionStagesResponse.ts +12 -0
  41. package/src/chronos/models/SplitNodeInput.ts +16 -0
  42. package/src/chronos/models/SplitNodeOutput.ts +16 -0
  43. package/src/chronos/models/StageResponse.ts +25 -0
  44. package/src/chronos/models/StaticValue.ts +11 -0
  45. package/src/chronos/models/TextNode.ts +12 -0
  46. package/src/chronos/models/UpdateNodeRequest.ts +11 -0
  47. package/src/chronos/models/UpdateReviewRequest.ts +0 -4
  48. package/src/chronos/models/index.ts +21 -2
  49. package/src/chronos/models/PageScopeConfig.ts +0 -14
  50. package/src/chronos/models/RouteScopeConfig.ts +0 -12
@@ -394,6 +394,35 @@ interface Artifact {
394
394
  end_time_unix_nano?: number | null;
395
395
  }
396
396
 
397
+ /**
398
+ * ArtifactBrowserNode
399
+ * Spins up an artifact and renders a live browser preview.
400
+ *
401
+ * Auto-generated - do not edit
402
+ */
403
+ interface ArtifactBrowserNode {
404
+ type: string;
405
+ id: string;
406
+ artifact_id: string;
407
+ route: string;
408
+ plato_session_id?: string | null;
409
+ }
410
+
411
+ /**
412
+ * AssignmentAnalyticsResponse
413
+ * Analytics for the caller's org as an assignee.
414
+ *
415
+ * Auto-generated - do not edit
416
+ */
417
+
418
+ interface AssignmentAnalyticsResponse {
419
+ reviewers: ReviewerAnalytics[];
420
+ total_assignments: number;
421
+ total_completed: number;
422
+ total_reviews: number;
423
+ total_annotations: number;
424
+ }
425
+
397
426
  /**
398
427
  * AssignmentListResponse
399
428
  * List of assignments.
@@ -413,7 +442,8 @@ interface AssignmentListResponse {
413
442
  */
414
443
 
415
444
  interface AssignmentPreviewItem {
416
- scope: RouteScopeConfig | PageScopeConfig;
445
+ nodes?: NodeTreeOutput | null;
446
+ description?: string | null;
417
447
  }
418
448
 
419
449
  /**
@@ -436,16 +466,28 @@ interface AssignmentPreviewResponse {
436
466
 
437
467
  interface AssignmentResponse {
438
468
  public_id: string;
439
- session_id: string;
440
- scope: RouteScopeConfig | PageScopeConfig;
469
+ assignee_org_id?: number | null;
470
+ nodes?: NodeTreeOutput | null;
471
+ description?: string | null;
441
472
  status: string;
442
473
  annotation_count?: number | null;
443
- session_tags?: string[] | null;
444
- world_package?: string | null;
445
474
  created_at: string;
446
475
  updated_at: string;
447
476
  }
448
477
 
478
+ /**
479
+ * AssignmentTypeInfo
480
+ * Metadata for an assignment type, served to the frontend.
481
+ *
482
+ * Auto-generated - do not edit
483
+ */
484
+ interface AssignmentTypeInfo {
485
+ id: string;
486
+ label: string;
487
+ icon: string;
488
+ description_template: string;
489
+ }
490
+
449
491
  /**
450
492
  * AuditEventCountsResponse
451
493
  * Per-span audit event counts for a session.
@@ -568,6 +610,8 @@ interface AuthSessionResponse {
568
610
  authenticated: boolean;
569
611
  user: PlatoUser | null;
570
612
  env?: string | null;
613
+ sso_token?: string | null;
614
+ api_key?: string | null;
571
615
  }
572
616
 
573
617
  /**
@@ -583,15 +627,41 @@ interface AuthStatusResponse {
583
627
  env: string;
584
628
  }
585
629
 
630
+ /**
631
+ * AuthzCheckResponse
632
+ * Response for an authz check proxied to Plato.
633
+ *
634
+ * Auto-generated - do not edit
635
+ */
636
+ interface AuthzCheckResponse {
637
+ allowed: boolean;
638
+ }
639
+
640
+ /**
641
+ * BatchAssignmentItem
642
+ * A single item in a batch assignment request (no assignee_org_id — own-org only).
643
+ *
644
+ * Auto-generated - do not edit
645
+ */
646
+
647
+ interface BatchAssignmentItem {
648
+ /** Module tree defining the review layout */
649
+ nodes?: NodeTreeInput | null;
650
+ /** Short description shown on the assignments page */
651
+ description?: string | null;
652
+ }
653
+
586
654
  /**
587
655
  * BatchCreateAssignmentsBody
588
- * Batch-create assignments in the caller's org.
656
+ * Batch-create assignments.
589
657
  *
590
658
  * Auto-generated - do not edit
591
659
  */
592
660
 
593
661
  interface BatchCreateAssignmentsBody {
594
- assignments: CreateAssignmentBody[];
662
+ assignments: BatchAssignmentItem[];
663
+ /** Target org ID. Defaults to caller's org if not specified. */
664
+ assignee_org_id?: number | null;
595
665
  }
596
666
 
597
667
  /**
@@ -786,6 +856,19 @@ interface CloseSessionResponse {
786
856
  message: string;
787
857
  }
788
858
 
859
+ /**
860
+ * CommentPanelNode
861
+ * Comment input + list, targeting a session resolved from a ValueRef.
862
+ *
863
+ * Auto-generated - do not edit
864
+ */
865
+
866
+ interface CommentPanelNode {
867
+ type: string;
868
+ id: string;
869
+ target_session_id: StaticValue | Ref;
870
+ }
871
+
789
872
  /**
790
873
  * CompleteSessionRequest
791
874
  * Request to mark a session as completed.
@@ -1081,10 +1164,12 @@ interface CreateAnnotationRequest {
1081
1164
  */
1082
1165
 
1083
1166
  interface CreateAssignmentBody {
1084
- /** Public ID of the session to review */
1085
- session_id: string;
1086
- /** Review scope (discriminated by type) */
1087
- scope: RouteScopeConfig | PageScopeConfig;
1167
+ /** Module tree defining the review layout */
1168
+ nodes?: NodeTreeInput | null;
1169
+ /** Short description shown on the assignments page */
1170
+ description?: string | null;
1171
+ /** Org ID of the org assigned to review this session */
1172
+ assignee_org_id: number;
1088
1173
  }
1089
1174
 
1090
1175
  /**
@@ -1126,7 +1211,6 @@ interface CreateDatasetRequest {
1126
1211
  *
1127
1212
  * Auto-generated - do not edit
1128
1213
  */
1129
-
1130
1214
  interface CreateReviewRequest {
1131
1215
  /** Public ID of the session being reviewed */
1132
1216
  session_id: string;
@@ -1146,8 +1230,6 @@ interface CreateReviewRequest {
1146
1230
  analyzer_session_id?: string | null;
1147
1231
  /** Score dict keyed by aggregation method, e.g. {'pass_rate': 0.8, 'mean_score': 0.75} */
1148
1232
  scores?: Record<string, number> | null;
1149
- /** Scope of the review — discriminated union keyed by 'type' (e.g. route, screenshot, task) */
1150
- scope?: RouteScopeConfig | PageScopeConfig | null;
1151
1233
  /** Whether this review contains authoritative ground-truth annotations */
1152
1234
  is_ground_truth?: boolean | null;
1153
1235
  }
@@ -1771,6 +1853,7 @@ type FeedbackWidget = 'text' | 'textarea' | 'select' | 'boolean' | 'rating' | 'a
1771
1853
  */
1772
1854
  interface FindOrCreateReviewBody {
1773
1855
  session_id: string;
1856
+ assignment_id?: string | null;
1774
1857
  }
1775
1858
 
1776
1859
  /**
@@ -2151,6 +2234,28 @@ interface NavigateAnchorSessionRequest {
2151
2234
  target_url: string;
2152
2235
  }
2153
2236
 
2237
+ /**
2238
+ * NodeTreeInput
2239
+ * Root container for the node tree.
2240
+ *
2241
+ * Auto-generated - do not edit
2242
+ */
2243
+
2244
+ interface NodeTreeInput {
2245
+ root: SplitNodeInput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode;
2246
+ }
2247
+
2248
+ /**
2249
+ * NodeTreeOutput
2250
+ * Root container for the node tree.
2251
+ *
2252
+ * Auto-generated - do not edit
2253
+ */
2254
+
2255
+ interface NodeTreeOutput {
2256
+ root: SplitNodeOutput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode;
2257
+ }
2258
+
2154
2259
  /**
2155
2260
  * OAuthRefreshResponse
2156
2261
  * Response with refreshed OAuth credentials.
@@ -2231,20 +2336,6 @@ interface OTelTraceResponse {
2231
2336
  cursor?: string | null;
2232
2337
  }
2233
2338
 
2234
- /**
2235
- * PageScopeConfig
2236
- * Compare a reference screenshot against the live route.
2237
- *
2238
- * Auto-generated - do not edit
2239
- */
2240
- interface PageScopeConfig {
2241
- type: string;
2242
- /** Route path within the sim */
2243
- route: string;
2244
- /** URL of the reference screenshot to compare against */
2245
- screenshot_url: string;
2246
- }
2247
-
2248
2339
  /**
2249
2340
  * PerAgentReport
2250
2341
  *
@@ -2273,6 +2364,8 @@ interface PlatoUser {
2273
2364
  email: string;
2274
2365
  name?: string | null;
2275
2366
  organization_id?: number | null;
2367
+ org_public_id?: string | null;
2368
+ is_admin?: boolean | null;
2276
2369
  }
2277
2370
 
2278
2371
  /**
@@ -2339,6 +2432,18 @@ interface PublishedNoteRecord {
2339
2432
  provenance?: AnalysisProvenance | null;
2340
2433
  }
2341
2434
 
2435
+ /**
2436
+ * Ref
2437
+ * A reference to another node's runtime field.
2438
+ *
2439
+ * Auto-generated - do not edit
2440
+ */
2441
+ interface Ref {
2442
+ type: string;
2443
+ node_id: string;
2444
+ field: string;
2445
+ }
2446
+
2342
2447
  /**
2343
2448
  * RegistryAgentListResponse
2344
2449
  * List of agents from registry.
@@ -2410,6 +2515,56 @@ interface RegistryWorldInfo {
2410
2515
  */
2411
2516
  type RenderWidget = 'score_bar' | 'pass_fail_badge' | 'severity_badge' | 'code_snippet' | 'markdown' | 'json_tree' | 'link' | 'tag_list' | 'image' | 'diff' | 'table' | 'hidden';
2412
2517
 
2518
+ /**
2519
+ * ReportStageRequest
2520
+ * Report a stage lifecycle event (started, completed, or failed).
2521
+ *
2522
+ * Auto-generated - do not edit
2523
+ */
2524
+ interface ReportStageRequest {
2525
+ /** Chronos session public ID */
2526
+ session_public_id: string;
2527
+ /** Function or task name */
2528
+ stage_name: string;
2529
+ /** Whether this is a @durable function or an orchestrator sub-task */
2530
+ stage_type: string;
2531
+ /** Return type name (durable only) */
2532
+ output_type?: string | null;
2533
+ /** Stage lifecycle status */
2534
+ status: string;
2535
+ /** When the stage started executing */
2536
+ started_at: string;
2537
+ /** When the stage finished */
2538
+ completed_at?: string | null;
2539
+ /** Wall-clock duration */
2540
+ elapsed_seconds?: number | null;
2541
+ /** Resolved durable path on disk */
2542
+ base_path?: string | null;
2543
+ /** Serializable subset of function arguments */
2544
+ args_snapshot?: Record<string, unknown> | null;
2545
+ /** Public ID of the parent durable stage (for orchestrator tasks) */
2546
+ parent_stage_public_id?: string | null;
2547
+ /** OTel trace ID for linking to trajectory viewer */
2548
+ trace_id?: string | null;
2549
+ /** OTel span ID for linking to trajectory viewer */
2550
+ span_id?: string | null;
2551
+ /** Error details on failure */
2552
+ error_message?: string | null;
2553
+ /** Extensible metadata (agent_id, merged, branch_name, etc.) */
2554
+ metadata?: Record<string, unknown> | null;
2555
+ }
2556
+
2557
+ /**
2558
+ * ReportStageResponse
2559
+ * Response from reporting a stage event.
2560
+ *
2561
+ * Auto-generated - do not edit
2562
+ */
2563
+ interface ReportStageResponse {
2564
+ /** Public ID of the created/updated stage record */
2565
+ public_id: string;
2566
+ }
2567
+
2413
2568
  /**
2414
2569
  * RerunPreviewResponse
2415
2570
  * Preview of a rerun showing original and modified configs.
@@ -2488,7 +2643,7 @@ interface ReviewListResponse {
2488
2643
 
2489
2644
  interface ReviewResponse {
2490
2645
  public_id: string;
2491
- session_id: string;
2646
+ session_id?: string | null;
2492
2647
  assignment_id?: string | null;
2493
2648
  name?: string | null;
2494
2649
  description?: string | null;
@@ -2499,7 +2654,7 @@ interface ReviewResponse {
2499
2654
  created_at: string;
2500
2655
  analyzer_session_id?: string | null;
2501
2656
  scores?: Record<string, number> | null;
2502
- scope?: Record<string, unknown> | null;
2657
+ nodes?: NodeTreeOutput | null;
2503
2658
  is_ground_truth?: boolean | null;
2504
2659
  annotation_count?: number | null;
2505
2660
  session?: SessionSummary | null;
@@ -2520,15 +2675,19 @@ interface ReviewWidgetSchemaResponse {
2520
2675
  }
2521
2676
 
2522
2677
  /**
2523
- * RouteScopeConfig
2524
- * Review a specific route in the live sim.
2678
+ * ReviewerAnalytics
2679
+ * Per-reviewer analytics for a single annotator user.
2525
2680
  *
2526
2681
  * Auto-generated - do not edit
2527
2682
  */
2528
- interface RouteScopeConfig {
2529
- type: string;
2530
- /** Route path within the sim (e.g. '/customers', '/billing') */
2531
- route: string;
2683
+ interface ReviewerAnalytics {
2684
+ user_id: string | null;
2685
+ user_email: string | null;
2686
+ user_name: string | null;
2687
+ assignment_count: number;
2688
+ completed_count: number;
2689
+ review_count: number;
2690
+ annotation_count: number;
2532
2691
  }
2533
2692
 
2534
2693
  /**
@@ -2634,6 +2793,33 @@ interface SavedSessionFilters {
2634
2793
  status?: string | null;
2635
2794
  }
2636
2795
 
2796
+ /**
2797
+ * ScreenshotCarouselNode
2798
+ * Displays a carousel of screenshots from the session workspace.
2799
+ *
2800
+ * Auto-generated - do not edit
2801
+ */
2802
+
2803
+ interface ScreenshotCarouselNode {
2804
+ type: string;
2805
+ id: string;
2806
+ session_id: string;
2807
+ repo_name: string;
2808
+ screenshots?: ScreenshotRef[] | null;
2809
+ }
2810
+
2811
+ /**
2812
+ * ScreenshotRef
2813
+ * Reference to a single screenshot in a DVC-managed workspace.
2814
+ *
2815
+ * Auto-generated - do not edit
2816
+ */
2817
+ interface ScreenshotRef {
2818
+ file_hash: string;
2819
+ file_path: string;
2820
+ repo_name?: string | null;
2821
+ }
2822
+
2637
2823
  /**
2638
2824
  * ScreenshotResponse
2639
2825
  * Response from taking a screenshot.
@@ -3051,6 +3237,17 @@ interface SessionReviewerSpanNote {
3051
3237
  provenance?: AnalysisProvenance | null;
3052
3238
  }
3053
3239
 
3240
+ /**
3241
+ * SessionStagesResponse
3242
+ * All stages for a session.
3243
+ *
3244
+ * Auto-generated - do not edit
3245
+ */
3246
+
3247
+ interface SessionStagesResponse {
3248
+ stages: StageResponse[];
3249
+ }
3250
+
3054
3251
  /**
3055
3252
  * SessionStatusResponse
3056
3253
  * Lightweight status response for a session.
@@ -3162,6 +3359,61 @@ interface SlackLookupResponse {
3162
3359
  error?: string | null;
3163
3360
  }
3164
3361
 
3362
+ /**
3363
+ * SplitNodeInput
3364
+ * Layout node: arranges children horizontally or vertically.
3365
+ *
3366
+ * Auto-generated - do not edit
3367
+ */
3368
+
3369
+ interface SplitNodeInput {
3370
+ type: string;
3371
+ id: string;
3372
+ direction: string;
3373
+ children: SplitNodeInput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode[];
3374
+ sizes?: number[] | null;
3375
+ }
3376
+
3377
+ /**
3378
+ * SplitNodeOutput
3379
+ * Layout node: arranges children horizontally or vertically.
3380
+ *
3381
+ * Auto-generated - do not edit
3382
+ */
3383
+
3384
+ interface SplitNodeOutput {
3385
+ type: string;
3386
+ id: string;
3387
+ direction: string;
3388
+ children: SplitNodeOutput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode[];
3389
+ sizes?: number[] | null;
3390
+ }
3391
+
3392
+ /**
3393
+ * StageResponse
3394
+ * Single stage record returned by the API.
3395
+ *
3396
+ * Auto-generated - do not edit
3397
+ */
3398
+ interface StageResponse {
3399
+ public_id: string;
3400
+ stage_name: string;
3401
+ stage_type: string;
3402
+ output_type?: string | null;
3403
+ status: string;
3404
+ started_at: string;
3405
+ completed_at?: string | null;
3406
+ elapsed_seconds?: number | null;
3407
+ base_path?: string | null;
3408
+ args_snapshot?: Record<string, unknown> | null;
3409
+ parent_stage_public_id?: string | null;
3410
+ trace_id?: string | null;
3411
+ span_id?: string | null;
3412
+ error_message?: string | null;
3413
+ metadata?: Record<string, unknown> | null;
3414
+ created_at: string;
3415
+ }
3416
+
3165
3417
  /**
3166
3418
  * StarredCheckpointCreate
3167
3419
  * Request to star a checkpoint.
@@ -3220,6 +3472,17 @@ interface StarredCheckpointUpdate {
3220
3472
  note?: string | null;
3221
3473
  }
3222
3474
 
3475
+ /**
3476
+ * StaticValue
3477
+ * A literal value set at assignment creation time.
3478
+ *
3479
+ * Auto-generated - do not edit
3480
+ */
3481
+ interface StaticValue {
3482
+ type: string;
3483
+ value: string;
3484
+ }
3485
+
3223
3486
  /**
3224
3487
  * StatusResponse
3225
3488
  * Overall status response.
@@ -3309,6 +3572,18 @@ interface TestRunListResponse {
3309
3572
  test_runs: ExperimentTestRunResponse[];
3310
3573
  }
3311
3574
 
3575
+ /**
3576
+ * TextNode
3577
+ * Displays a static block of instructional or informational text.
3578
+ *
3579
+ * Auto-generated - do not edit
3580
+ */
3581
+ interface TextNode {
3582
+ type: string;
3583
+ id: string;
3584
+ content: string;
3585
+ }
3586
+
3312
3587
  /**
3313
3588
  * TokenSummaryRecord
3314
3589
  *
@@ -3508,6 +3783,17 @@ interface UpdateFileResponse {
3508
3783
  new_manifest_hash: string;
3509
3784
  }
3510
3785
 
3786
+ /**
3787
+ * UpdateNodeRequest
3788
+ * Request to update fields on a node tree node.
3789
+ *
3790
+ * Auto-generated - do not edit
3791
+ */
3792
+ interface UpdateNodeRequest {
3793
+ /** Fields to update on the node */
3794
+ values: Record<string, string>;
3795
+ }
3796
+
3511
3797
  /**
3512
3798
  * UpdateNotesRequest
3513
3799
  * Request to update session notes.
@@ -3530,7 +3816,6 @@ interface UpdateNotesRequest {
3530
3816
  *
3531
3817
  * Auto-generated - do not edit
3532
3818
  */
3533
-
3534
3819
  interface UpdateReviewRequest {
3535
3820
  /** Updated name */
3536
3821
  name?: string | null;
@@ -3540,8 +3825,6 @@ interface UpdateReviewRequest {
3540
3825
  tags?: string[] | null;
3541
3826
  /** Updated scores */
3542
3827
  scores?: Record<string, number> | null;
3543
- /** Updated scope */
3544
- scope?: RouteScopeConfig | PageScopeConfig | null;
3545
3828
  /** Updated ground truth flag */
3546
3829
  is_ground_truth?: boolean | null;
3547
3830
  }
@@ -4451,8 +4734,10 @@ declare class AnnotationsApi {
4451
4734
  * Auto-generated - do not edit
4452
4735
  */
4453
4736
 
4737
+ interface ListAssignmentTypesParams {
4738
+ xApiKey?: string;
4739
+ }
4454
4740
  interface ListAssignmentsApiAssignmentsGetParams {
4455
- sessionId?: string;
4456
4741
  status?: string;
4457
4742
  xApiKey?: string;
4458
4743
  }
@@ -4460,6 +4745,9 @@ interface CreateAssignmentApiAssignmentsPostParams {
4460
4745
  xApiKey?: string;
4461
4746
  body: CreateAssignmentBody;
4462
4747
  }
4748
+ interface GetAssignmentAnalyticsParams {
4749
+ xApiKey?: string;
4750
+ }
4463
4751
  interface GetAssignmentApiAssignmentsAssignmentIdGetParams {
4464
4752
  assignmentId: string;
4465
4753
  xApiKey?: string;
@@ -4475,7 +4763,13 @@ interface AutoCreateAssignmentsParams {
4475
4763
  }
4476
4764
  interface PreviewAssignmentsParams {
4477
4765
  sessionPublicId: string;
4478
- scopeType: string;
4766
+ artifactId?: string;
4767
+ xApiKey?: string;
4768
+ }
4769
+ interface StreamPreviewAssignmentsParams {
4770
+ sessionPublicId: string;
4771
+ artifactId?: string;
4772
+ assignmentType?: string;
4479
4773
  xApiKey?: string;
4480
4774
  }
4481
4775
  interface BatchCreateAssignmentsParams {
@@ -4485,6 +4779,11 @@ interface BatchCreateAssignmentsParams {
4485
4779
  declare class AssignmentsApi {
4486
4780
  private client;
4487
4781
  constructor(client: ApiClient);
4782
+ /**
4783
+ * Get Assignment Types
4784
+ * List available assignment types with metadata for the frontend.
4785
+ */
4786
+ listAssignmentTypes(params: ListAssignmentTypesParams, options?: RequestOptions): Promise<AssignmentTypeInfo[]>;
4488
4787
  /**
4489
4788
  * List Assignments
4490
4789
  * List assignments for your org.
@@ -4495,6 +4794,19 @@ declare class AssignmentsApi {
4495
4794
  * Create a new assignment for a session.
4496
4795
  */
4497
4796
  createAssignmentApiAssignmentsPost(params: CreateAssignmentApiAssignmentsPostParams, options?: RequestOptions): Promise<AssignmentResponse>;
4797
+ /**
4798
+ * Get Assignment Analytics
4799
+ * Per-reviewer stats for all assignments assigned to the caller's org.
4800
+
4801
+ Returns, for each distinct reviewer (user who created reviews):
4802
+ - assignment_count: number of assignments this reviewer has reviewed
4803
+ - completed_count: assignments marked completed
4804
+ - review_count: total reviews created by this user
4805
+ - annotation_count: total annotations by this user
4806
+
4807
+ Assignments with no reviews yet appear as a null-reviewer bucket.
4808
+ */
4809
+ getAssignmentAnalytics(params: GetAssignmentAnalyticsParams, options?: RequestOptions): Promise<AssignmentAnalyticsResponse>;
4498
4810
  /**
4499
4811
  * Get Assignment
4500
4812
  * Get a single assignment.
@@ -4513,10 +4825,16 @@ declare class AssignmentsApi {
4513
4825
  /**
4514
4826
  * Preview Assignments
4515
4827
  * Preview assignments that would be created for a session without persisting them.
4516
-
4517
- scope_type: "route" | "page"
4518
4828
  */
4519
4829
  previewAssignments(params: PreviewAssignmentsParams, options?: RequestOptions): Promise<AssignmentPreviewResponse>;
4830
+ /**
4831
+ * Stream Preview Assignments Route
4832
+ * Stream assignment preview items as NDJSON as they are discovered from S3.
4833
+
4834
+ assignment_type: layout type for generated assignments (default: "browser").
4835
+ Valid values: "browser", "browser_with_screenshots".
4836
+ */
4837
+ streamPreviewAssignments(params: StreamPreviewAssignmentsParams, options?: RequestOptions): Promise<void>;
4520
4838
  /**
4521
4839
  * Batch Create Assignments
4522
4840
  * Create multiple assignments at once in the caller's org.
@@ -4543,6 +4861,10 @@ interface RefreshOauthApiAuthRefreshOauthPostParams {
4543
4861
  xApiKey?: string;
4544
4862
  body: ClaudeCodeOAuthRefreshRequest;
4545
4863
  }
4864
+ interface AuthzCheckApiAuthAuthzCheckGetParams {
4865
+ role: string;
4866
+ xApiKey?: string;
4867
+ }
4546
4868
  declare class AuthApi {
4547
4869
  private client;
4548
4870
  constructor(client: ApiClient);
@@ -4583,6 +4905,13 @@ declare class AuthApi {
4583
4905
  row as a lock. If another agent already refreshed, returns cached creds.
4584
4906
  */
4585
4907
  refreshOauthApiAuthRefreshOauthPost(params: RefreshOauthApiAuthRefreshOauthPostParams, options?: RequestOptions): Promise<OAuthRefreshResponse>;
4908
+ /**
4909
+ * Authz Check
4910
+ * Proxy an authz check to Plato using the current principal's SSO auth.
4911
+
4912
+ Checks whether the current principal has the given role on their org.
4913
+ */
4914
+ authzCheckApiAuthAuthzCheckGet(params: AuthzCheckApiAuthAuthzCheckGetParams, options?: RequestOptions): Promise<AuthzCheckResponse>;
4586
4915
  /**
4587
4916
  * Debug Auth
4588
4917
  * Debug endpoint to see what auth info is being received.
@@ -5471,6 +5800,12 @@ interface CopyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPub
5471
5800
  xApiKey?: string;
5472
5801
  body: CopyAnnotationsRequest;
5473
5802
  }
5803
+ interface UpdateReviewNodeParams {
5804
+ reviewPublicId: string;
5805
+ nodeId: string;
5806
+ xApiKey?: string;
5807
+ body: UpdateNodeRequest;
5808
+ }
5474
5809
  declare class ReviewsApi {
5475
5810
  private client;
5476
5811
  constructor(client: ApiClient);
@@ -5514,6 +5849,11 @@ declare class ReviewsApi {
5514
5849
  * Copy top-level annotations from a source review.
5515
5850
  */
5516
5851
  copyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPublicIdPost(params: CopyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPublicIdPostParams, options?: RequestOptions): Promise<AnnotationResponse[]>;
5852
+ /**
5853
+ * Update Review Node
5854
+ * Update runtime values on a node tree node.
5855
+ */
5856
+ updateReviewNode(params: UpdateReviewNodeParams, options?: RequestOptions): Promise<NodeTreeOutput>;
5517
5857
  }
5518
5858
 
5519
5859
  /**
@@ -6065,6 +6405,35 @@ declare class SlackApi {
6065
6405
  sendSlackMessage(params: SendSlackMessageParams, options?: RequestOptions): Promise<SendSlackMessageResponse>;
6066
6406
  }
6067
6407
 
6408
+ /**
6409
+ * stages API
6410
+ *
6411
+ * Auto-generated - do not edit
6412
+ */
6413
+
6414
+ interface ReportStageParams {
6415
+ xApiKey?: string;
6416
+ body: ReportStageRequest;
6417
+ }
6418
+ interface ListSessionStagesParams {
6419
+ sessionPublicId: string;
6420
+ xApiKey?: string;
6421
+ }
6422
+ declare class StagesApi {
6423
+ private client;
6424
+ constructor(client: ApiClient);
6425
+ /**
6426
+ * Report Stage
6427
+ * Report a durable stage lifecycle event (started, completed, or failed).
6428
+ */
6429
+ reportStage(params: ReportStageParams, options?: RequestOptions): Promise<ReportStageResponse>;
6430
+ /**
6431
+ * List Session Stages
6432
+ * List all stages for a session, ordered by start time.
6433
+ */
6434
+ listSessionStages(params: ListSessionStagesParams, options?: RequestOptions): Promise<SessionStagesResponse>;
6435
+ }
6436
+
6068
6437
  /**
6069
6438
  * starred_checkpoints API
6070
6439
  *
@@ -6532,6 +6901,7 @@ declare class ChronosClient {
6532
6901
  readonly sessions: SessionsApi;
6533
6902
  readonly settings: SettingsApi;
6534
6903
  readonly slack: SlackApi;
6904
+ readonly stages: StagesApi;
6535
6905
  readonly starredCheckpoints: StarredCheckpointsApi;
6536
6906
  readonly status: StatusApi;
6537
6907
  readonly workspaceRepos: WorkspaceReposApi;
@@ -6543,4 +6913,4 @@ declare class ChronosClient {
6543
6913
  getApiClient(): ApiClient;
6544
6914
  }
6545
6915
 
6546
- export { type ActiveAnalysis, type AddSessionsRequest, AdminApi, type AgentArtifactPath, type AgentCostRecord, type AgentCreate, type AgentInfo, type AgentIssue, type AgentListResponse, type AgentLookupResponse, type AgentResponse, type AgentSchemaResponse, type AgentStep, type AgentStepMetrics, type AgentTrace, type AgentTrajectory, type AgentVersionInfo, type AgentVersionsResponse, AgentsApi, type AnalysisProvenance, type AnalysisRecordInput, type AnalysisRecordOutput, type AnalyzerSessionRef, type AnchorSessionResponse, type AnnotationListResponse, type AnnotationMetricsResponse, type AnnotationResponse, type AnnotationTarget, AnnotationsApi, type AppConfigResponse, type Artifact, type AssignmentListResponse, type AssignmentPreviewItem, type AssignmentPreviewResponse, type AssignmentResponse, AssignmentsApi, type AuditEventCountsResponse, type AuditEventInput, type AuditEventResponse, type AuditEventsListResponse, type AuditSummaryEntry, type AuditSummaryResponse, AuthApi, type AuthSessionResponse, type AuthStatusResponse, type BatchCreateAssignmentsBody, type BranchInfo, type BranchListResponse, BrowserApi, type BulkRefAuditEventsRequest, type CheckpointListItem, type CheckpointListResponse, CheckpointsApi, type ChildSessionSummary, type ChildWorldConfig, ApiClient as ChronosApiClient, type ChronosApiDatasetsFoldersListResponse, type ChronosApiDatasetsRenameFolderRequest, type ChronosApiDatasetsRenameFolderResponse, ApiError as ChronosApiError, type ChronosApiExperimentsFoldersListResponse, type ChronosApiExperimentsRenameFolderRequest, type ChronosApiExperimentsRenameFolderResponse, type ApiRequest as ChronosApiRequest, ChronosClient, type ClientConfig as ChronosClientConfig, type RequestOptions as ChronosRequestOptions, type ClaudeCodeOAuthRefreshRequest, type ClearDbResult, type CloseSessionResponse, type CompleteSessionRequest, type CompressionArtifactInventory, type CompressionArtifactRecord, type CompressionChunkRecord, type CompressionClusterRef, type CompressionCoverageInput, type CompressionCoverageOutput, type CompressionManifestInput, type CompressionManifestOutput, type CompressionMetrics, type CompressionNoteCounts, type CompressionRunRecordInput, type CompressionRunRecordOutput, type CopyAnnotationsRequest, type CostAnalysisRecordInput, type CostAnalysisRecordOutput, type CreateAnchorSessionRequest, type CreateAnnotationRequest, type CreateAssignmentBody, type CreateBranchRequest, type CreateBranchResponse, type CreateDatasetRequest, type CreateReviewRequest, type CreateSessionRequest, type CreateSessionResponse, type CreateStepFile, type CreateStepRequest, type CreateStepResponse, type CreateTestRunRequest, type CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, type DatasetColumn, type DatasetColumnType, type DatasetDetailResponse, type DatasetFileCreateRequest, type DatasetFileListResponse, type DatasetFileResponse, type DatasetFileUpdateRequest, type DatasetResponse, type DatasetSessionSummary, type DatasetVersionCreateRequest, type DatasetVersionResponse, type DatasetVersionUpdateRequest, DatasetsApi, DefaultApi, type DeleteSessionResult, type DirectoryListing, type DownstreamSessionEntry, type DownstreamSessionsResponse, type EnvInfo, type EnvInfoResponse, EventsApi, type ExperimentFileCreateRequest, type ExperimentFileListResponse, type ExperimentFileResponse, type ExperimentFileUpdateRequest, type ExperimentFileVersionCreateRequest, type ExperimentFileVersionUpdateRequest, type ExperimentLaunchConfig, type ExperimentSessionCountResponse, type ExperimentSessionSummary, type ExperimentTestRunResponse, type ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FeedbackWidget, type FindOrCreateReviewBody, type FullLineageNode, type FullLineageResponse, type HTTPValidationError, HillclimbApi, type HillclimbIterationResponse, type HillclimbRunDetailResponse, type HillclimbRunResponse, type IssueReference, type IterationOutcome, type IterationSessionIcon, type IterationSessionResponse, JobsApi, type JsonValue, type LaunchExperimentRequest, type LaunchExperimentResponse, type LaunchExperimentSessionResult, type LaunchHillclimbRunRequest, type LaunchHillclimbRunResponse, type LaunchJobRequest, type LaunchJobResponse, type LinkPlatoSessionRequest, type LiveLogsResponse, type LogCoverageRuleSet, type LogScopePartitioning, type LogsDownloadResponse, type ModelRef, type NavigateAnchorSessionRequest, type OAuthRefreshResponse, type OTelMetricDataPoint, type OTelSpanListResponse, type OTelSpanSchema, type OTelTraceResponse, OtelApi, type PageScopeConfig, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RouteScopeConfig, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotResponse, type SendSlackMessageRequest, type SendSlackMessageResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, SlackApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TestRunListResponse, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UpdateTestRunRequest, type UpsertIterationRequest, type UpsertIterationSessionRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type UserWorldStatsEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, type WorkspaceRefEntry, type WorkspaceRefResponse, type WorkspaceRefSearchResponse, type WorkspaceRefSearchResult, type WorkspaceRefsListResponse, type WorkspaceRepoCredentialsResponse, type WorkspaceRepoListItem, type WorkspaceRepoListResponse, type WorkspaceRepoResolveRequest, type WorkspaceRepoResolveResponse, type WorkspaceRepoSizeResponse, WorkspaceReposApi, type WorkspaceSnapshotInfo, type WorldCatalogDetailResponse, type WorldCatalogEntry, type WorldCatalogResponse, type WorldConfigAgentEntry, type WorldConfigInput, type WorldConfigNamedEntry, type WorldConfigOutput, type WorldConfigSchema, type WorldCreate, type WorldLeaderboardEntry, type WorldListResponse, type WorldResponse, type WorldRuntimeConfig, type WorldSchemaResponse, type WorldStep, type WorldVersionsResponse, WorldsApi };
6916
+ export { type ActiveAnalysis, type AddSessionsRequest, AdminApi, type AgentArtifactPath, type AgentCostRecord, type AgentCreate, type AgentInfo, type AgentIssue, type AgentListResponse, type AgentLookupResponse, type AgentResponse, type AgentSchemaResponse, type AgentStep, type AgentStepMetrics, type AgentTrace, type AgentTrajectory, type AgentVersionInfo, type AgentVersionsResponse, AgentsApi, type AnalysisProvenance, type AnalysisRecordInput, type AnalysisRecordOutput, type AnalyzerSessionRef, type AnchorSessionResponse, type AnnotationListResponse, type AnnotationMetricsResponse, type AnnotationResponse, type AnnotationTarget, AnnotationsApi, type AppConfigResponse, type Artifact, type ArtifactBrowserNode, type AssignmentAnalyticsResponse, type AssignmentListResponse, type AssignmentPreviewItem, type AssignmentPreviewResponse, type AssignmentResponse, type AssignmentTypeInfo, AssignmentsApi, type AuditEventCountsResponse, type AuditEventInput, type AuditEventResponse, type AuditEventsListResponse, type AuditSummaryEntry, type AuditSummaryResponse, AuthApi, type AuthSessionResponse, type AuthStatusResponse, type AuthzCheckResponse, type BatchAssignmentItem, type BatchCreateAssignmentsBody, type BranchInfo, type BranchListResponse, BrowserApi, type BulkRefAuditEventsRequest, type CheckpointListItem, type CheckpointListResponse, CheckpointsApi, type ChildSessionSummary, type ChildWorldConfig, ApiClient as ChronosApiClient, type ChronosApiDatasetsFoldersListResponse, type ChronosApiDatasetsRenameFolderRequest, type ChronosApiDatasetsRenameFolderResponse, ApiError as ChronosApiError, type ChronosApiExperimentsFoldersListResponse, type ChronosApiExperimentsRenameFolderRequest, type ChronosApiExperimentsRenameFolderResponse, type ApiRequest as ChronosApiRequest, ChronosClient, type ClientConfig as ChronosClientConfig, type RequestOptions as ChronosRequestOptions, type ClaudeCodeOAuthRefreshRequest, type ClearDbResult, type CloseSessionResponse, type CommentPanelNode, type CompleteSessionRequest, type CompressionArtifactInventory, type CompressionArtifactRecord, type CompressionChunkRecord, type CompressionClusterRef, type CompressionCoverageInput, type CompressionCoverageOutput, type CompressionManifestInput, type CompressionManifestOutput, type CompressionMetrics, type CompressionNoteCounts, type CompressionRunRecordInput, type CompressionRunRecordOutput, type CopyAnnotationsRequest, type CostAnalysisRecordInput, type CostAnalysisRecordOutput, type CreateAnchorSessionRequest, type CreateAnnotationRequest, type CreateAssignmentBody, type CreateBranchRequest, type CreateBranchResponse, type CreateDatasetRequest, type CreateReviewRequest, type CreateSessionRequest, type CreateSessionResponse, type CreateStepFile, type CreateStepRequest, type CreateStepResponse, type CreateTestRunRequest, type CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, type DatasetColumn, type DatasetColumnType, type DatasetDetailResponse, type DatasetFileCreateRequest, type DatasetFileListResponse, type DatasetFileResponse, type DatasetFileUpdateRequest, type DatasetResponse, type DatasetSessionSummary, type DatasetVersionCreateRequest, type DatasetVersionResponse, type DatasetVersionUpdateRequest, DatasetsApi, DefaultApi, type DeleteSessionResult, type DirectoryListing, type DownstreamSessionEntry, type DownstreamSessionsResponse, type EnvInfo, type EnvInfoResponse, EventsApi, type ExperimentFileCreateRequest, type ExperimentFileListResponse, type ExperimentFileResponse, type ExperimentFileUpdateRequest, type ExperimentFileVersionCreateRequest, type ExperimentFileVersionUpdateRequest, type ExperimentLaunchConfig, type ExperimentSessionCountResponse, type ExperimentSessionSummary, type ExperimentTestRunResponse, type ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FeedbackWidget, type FindOrCreateReviewBody, type FullLineageNode, type FullLineageResponse, type HTTPValidationError, HillclimbApi, type HillclimbIterationResponse, type HillclimbRunDetailResponse, type HillclimbRunResponse, type IssueReference, type IterationOutcome, type IterationSessionIcon, type IterationSessionResponse, JobsApi, type JsonValue, type LaunchExperimentRequest, type LaunchExperimentResponse, type LaunchExperimentSessionResult, type LaunchHillclimbRunRequest, type LaunchHillclimbRunResponse, type LaunchJobRequest, type LaunchJobResponse, type LinkPlatoSessionRequest, type LiveLogsResponse, type LogCoverageRuleSet, type LogScopePartitioning, type LogsDownloadResponse, type ModelRef, type NavigateAnchorSessionRequest, type NodeTreeInput, type NodeTreeOutput, type OAuthRefreshResponse, type OTelMetricDataPoint, type OTelSpanListResponse, type OTelSpanSchema, type OTelTraceResponse, OtelApi, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type Ref, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type ReportStageRequest, type ReportStageResponse, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, type ReviewerAnalytics, ReviewsApi, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotCarouselNode, type ScreenshotRef, type ScreenshotResponse, type SendSlackMessageRequest, type SendSlackMessageResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStagesResponse, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, SlackApi, type SlackLookupResponse, type SplitNodeInput, type SplitNodeOutput, type StageResponse, StagesApi, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, type StaticValue, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TestRunListResponse, type TextNode, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNodeRequest, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UpdateTestRunRequest, type UpsertIterationRequest, type UpsertIterationSessionRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type UserWorldStatsEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, type WorkspaceRefEntry, type WorkspaceRefResponse, type WorkspaceRefSearchResponse, type WorkspaceRefSearchResult, type WorkspaceRefsListResponse, type WorkspaceRepoCredentialsResponse, type WorkspaceRepoListItem, type WorkspaceRepoListResponse, type WorkspaceRepoResolveRequest, type WorkspaceRepoResolveResponse, type WorkspaceRepoSizeResponse, WorkspaceReposApi, type WorkspaceSnapshotInfo, type WorldCatalogDetailResponse, type WorldCatalogEntry, type WorldCatalogResponse, type WorldConfigAgentEntry, type WorldConfigInput, type WorldConfigNamedEntry, type WorldConfigOutput, type WorldConfigSchema, type WorldCreate, type WorldLeaderboardEntry, type WorldListResponse, type WorldResponse, type WorldRuntimeConfig, type WorldSchemaResponse, type WorldStep, type WorldVersionsResponse, WorldsApi };