plato-sandbox-sdk 1.1.46 → 1.1.48

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 (98) hide show
  1. package/dist/chronos/index.d.mts +495 -49
  2. package/dist/chronos/index.d.ts +495 -49
  3. package/dist/chronos/index.js +234 -14
  4. package/dist/chronos/index.mjs +3 -1
  5. package/dist/{chunk-W7PZVWXN.mjs → chunk-FTGWZENC.mjs} +234 -14
  6. package/dist/{chunk-QZK75D4E.mjs → chunk-M3YRTVM4.mjs} +107 -1
  7. package/dist/index.d.mts +45 -9
  8. package/dist/index.d.ts +45 -9
  9. package/dist/index.js +338 -15
  10. package/dist/index.mjs +2 -2
  11. package/dist/plato/index.d.mts +262 -10
  12. package/dist/plato/index.d.ts +262 -10
  13. package/dist/plato/index.js +107 -1
  14. package/dist/plato/index.mjs +5 -1
  15. package/package.json +1 -1
  16. package/src/chronos/api/annotations.ts +7 -3
  17. package/src/chronos/api/assignments.ts +108 -8
  18. package/src/chronos/api/auth.ts +35 -0
  19. package/src/chronos/api/index.ts +1 -0
  20. package/src/chronos/api/reviews.ts +34 -2
  21. package/src/chronos/api/sessions.ts +94 -0
  22. package/src/chronos/api/stages.ts +65 -0
  23. package/src/chronos/client.ts +3 -0
  24. package/src/chronos/models/AgentCostEntry.ts +18 -0
  25. package/src/chronos/models/AnalyticsTimeseriesBucketResponse.ts +16 -0
  26. package/src/chronos/models/AnalyticsTimeseriesResponse.ts +11 -0
  27. package/src/chronos/models/ArtifactBrowserNode.ts +14 -0
  28. package/src/chronos/models/AssignmentAnalyticsResponse.ts +16 -0
  29. package/src/chronos/models/AssignmentPreviewItem.ts +3 -2
  30. package/src/chronos/models/AssignmentResponse.ts +4 -5
  31. package/src/chronos/models/AssignmentTypeInfo.ts +13 -0
  32. package/src/chronos/models/AuthSessionResponse.ts +2 -0
  33. package/src/chronos/models/AuthzCheckResponse.ts +10 -0
  34. package/src/chronos/models/BatchAssignmentItem.ts +15 -0
  35. package/src/chronos/models/BatchCreateAssignmentsBody.ts +5 -3
  36. package/src/chronos/models/CommentPanelNode.ts +14 -0
  37. package/src/chronos/models/CreateAssignmentBody.ts +7 -5
  38. package/src/chronos/models/CreateReviewRequest.ts +0 -4
  39. package/src/chronos/models/FindOrCreateReviewBody.ts +1 -0
  40. package/src/chronos/models/NodeTreeInput.ts +12 -0
  41. package/src/chronos/models/NodeTreeOutput.ts +12 -0
  42. package/src/chronos/models/PlatoUser.ts +2 -0
  43. package/src/chronos/models/Ref.ts +12 -0
  44. package/src/chronos/models/ReportStageRequest.ts +39 -0
  45. package/src/chronos/models/ReportStageResponse.ts +11 -0
  46. package/src/chronos/models/ReviewResponse.ts +3 -3
  47. package/src/chronos/models/ReviewerAnalytics.ts +16 -0
  48. package/src/chronos/models/ScreenshotCarouselNode.ts +16 -0
  49. package/src/chronos/models/ScreenshotRef.ts +12 -0
  50. package/src/chronos/models/SessionResponse.ts +2 -0
  51. package/src/chronos/models/SessionStagesResponse.ts +12 -0
  52. package/src/chronos/models/SplitNodeInput.ts +16 -0
  53. package/src/chronos/models/SplitNodeOutput.ts +16 -0
  54. package/src/chronos/models/StageResponse.ts +25 -0
  55. package/src/chronos/models/StaticValue.ts +11 -0
  56. package/src/chronos/models/TextNode.ts +12 -0
  57. package/src/chronos/models/UpdateNodeRequest.ts +11 -0
  58. package/src/chronos/models/UpdateReviewRequest.ts +0 -4
  59. package/src/chronos/models/index.ts +24 -2
  60. package/src/plato/api/v1/simulator.ts +1 -1
  61. package/src/plato/api/v2/benchmarks.ts +45 -0
  62. package/src/plato/api/v2/index.ts +2 -0
  63. package/src/plato/api/v2/testcases.ts +32 -0
  64. package/src/plato/api/v2/tools.ts +84 -0
  65. package/src/plato/client.ts +6 -0
  66. package/src/plato/models/AppApiV1EnvRoutesUpdateSimulatorRequest.ts +1 -0
  67. package/src/plato/models/AppApiV1SimulatorRoutesUpdateSimulatorRequest.ts +2 -0
  68. package/src/plato/models/AppSchemasBuildModelsSimConfigCompute.ts +2 -0
  69. package/src/plato/models/AppSchemasEnvResponsesSimulatorListItemResponse.ts +1 -0
  70. package/src/plato/models/AuthorizationRole.ts +3 -1
  71. package/src/plato/models/BatchUpdateStatusRequest.ts +12 -0
  72. package/src/plato/models/BatchUpdateStatusResponse.ts +16 -0
  73. package/src/plato/models/ColumnTransform.ts +15 -0
  74. package/src/plato/models/CreateSimulatorRequest.ts +1 -0
  75. package/src/plato/models/DatabaseIgnoreConfig.ts +7 -1
  76. package/src/plato/models/DockerAppSimulatorConfig.ts +1 -0
  77. package/src/plato/models/EnvironmentContext.ts +2 -0
  78. package/src/plato/models/FieldComparisonConfig.ts +13 -0
  79. package/src/plato/models/GenerateColumnTransformRequest.ts +14 -0
  80. package/src/plato/models/GenerateColumnTransformResponse.ts +13 -0
  81. package/src/plato/models/JSONSchemaDraft7.ts +15 -1
  82. package/src/plato/models/JsonSchemaScoringConfig.ts +3 -0
  83. package/src/plato/models/OrgResponse.ts +1 -0
  84. package/src/plato/models/PerSimIgnoreConfig.ts +5 -1
  85. package/src/plato/models/{PerSimScoringConfig.ts → PerSimScoringConfigInput.ts} +2 -2
  86. package/src/plato/models/PerSimScoringConfigOutput.ts +13 -0
  87. package/src/plato/models/RunColumnTransformRequest.ts +12 -0
  88. package/src/plato/models/RunColumnTransformResponse.ts +11 -0
  89. package/src/plato/models/SimulatorResponse.ts +1 -0
  90. package/src/plato/models/StatusUpdateItem.ts +10 -0
  91. package/src/plato/models/StatusUpdateResultItem.ts +12 -0
  92. package/src/plato/models/TransformTestResult.ts +12 -0
  93. package/src/plato/models/UserResponse.ts +2 -0
  94. package/src/plato/models/V2ScoringConfigInput.ts +2 -2
  95. package/src/plato/models/V2ScoringConfigOutput.ts +2 -2
  96. package/src/plato/models/index.ts +13 -1
  97. package/src/chronos/models/PageScopeConfig.ts +0 -14
  98. package/src/chronos/models/RouteScopeConfig.ts +0 -12
@@ -33,6 +33,24 @@ interface AgentArtifactPath {
33
33
  path?: string | null;
34
34
  }
35
35
 
36
+ /**
37
+ * AgentCostEntry
38
+ * Pre-computed cost breakdown for a single agent execution.
39
+ *
40
+ * Auto-generated - do not edit
41
+ */
42
+ interface AgentCostEntry {
43
+ span_id: string;
44
+ name?: string | null;
45
+ version?: string | null;
46
+ model?: string | null;
47
+ cost_usd?: number | null;
48
+ prompt_tokens?: number | null;
49
+ completion_tokens?: number | null;
50
+ cache_read_tokens?: number | null;
51
+ cache_write_tokens?: number | null;
52
+ }
53
+
36
54
  /**
37
55
  * AgentCostRecord
38
56
  *
@@ -280,6 +298,32 @@ interface AnalysisRecordOutput {
280
298
  report?: PerAgentReport | SessionReviewReportOutput | null;
281
299
  }
282
300
 
301
+ /**
302
+ * AnalyticsTimeseriesBucketResponse
303
+ *
304
+ * Auto-generated - do not edit
305
+ */
306
+ interface AnalyticsTimeseriesBucketResponse {
307
+ bucket: string;
308
+ group: string;
309
+ session_count?: number | null;
310
+ avg_cost_usd?: number | null;
311
+ total_cost_usd?: number | null;
312
+ avg_prompt_tokens?: number | null;
313
+ avg_completion_tokens?: number | null;
314
+ avg_io_ratio?: number | null;
315
+ }
316
+
317
+ /**
318
+ * AnalyticsTimeseriesResponse
319
+ *
320
+ * Auto-generated - do not edit
321
+ */
322
+
323
+ interface AnalyticsTimeseriesResponse {
324
+ buckets: AnalyticsTimeseriesBucketResponse[];
325
+ }
326
+
283
327
  /**
284
328
  * AnalyzerSessionRef
285
329
  *
@@ -394,6 +438,35 @@ interface Artifact {
394
438
  end_time_unix_nano?: number | null;
395
439
  }
396
440
 
441
+ /**
442
+ * ArtifactBrowserNode
443
+ * Spins up an artifact and renders a live browser preview.
444
+ *
445
+ * Auto-generated - do not edit
446
+ */
447
+ interface ArtifactBrowserNode {
448
+ type: string;
449
+ id: string;
450
+ artifact_id: string;
451
+ route: string;
452
+ plato_session_id?: string | null;
453
+ }
454
+
455
+ /**
456
+ * AssignmentAnalyticsResponse
457
+ * Analytics for the caller's org as an assignee.
458
+ *
459
+ * Auto-generated - do not edit
460
+ */
461
+
462
+ interface AssignmentAnalyticsResponse {
463
+ reviewers: ReviewerAnalytics[];
464
+ total_assignments: number;
465
+ total_completed: number;
466
+ total_reviews: number;
467
+ total_annotations: number;
468
+ }
469
+
397
470
  /**
398
471
  * AssignmentListResponse
399
472
  * List of assignments.
@@ -413,7 +486,8 @@ interface AssignmentListResponse {
413
486
  */
414
487
 
415
488
  interface AssignmentPreviewItem {
416
- scope: RouteScopeConfig | PageScopeConfig;
489
+ nodes?: NodeTreeOutput | null;
490
+ description?: string | null;
417
491
  }
418
492
 
419
493
  /**
@@ -436,16 +510,28 @@ interface AssignmentPreviewResponse {
436
510
 
437
511
  interface AssignmentResponse {
438
512
  public_id: string;
439
- session_id: string;
440
- scope: RouteScopeConfig | PageScopeConfig;
513
+ assignee_org_id?: number | null;
514
+ nodes?: NodeTreeOutput | null;
515
+ description?: string | null;
441
516
  status: string;
442
517
  annotation_count?: number | null;
443
- session_tags?: string[] | null;
444
- world_package?: string | null;
445
518
  created_at: string;
446
519
  updated_at: string;
447
520
  }
448
521
 
522
+ /**
523
+ * AssignmentTypeInfo
524
+ * Metadata for an assignment type, served to the frontend.
525
+ *
526
+ * Auto-generated - do not edit
527
+ */
528
+ interface AssignmentTypeInfo {
529
+ id: string;
530
+ label: string;
531
+ icon: string;
532
+ description_template: string;
533
+ }
534
+
449
535
  /**
450
536
  * AuditEventCountsResponse
451
537
  * Per-span audit event counts for a session.
@@ -568,6 +654,8 @@ interface AuthSessionResponse {
568
654
  authenticated: boolean;
569
655
  user: PlatoUser | null;
570
656
  env?: string | null;
657
+ sso_token?: string | null;
658
+ api_key?: string | null;
571
659
  }
572
660
 
573
661
  /**
@@ -583,15 +671,41 @@ interface AuthStatusResponse {
583
671
  env: string;
584
672
  }
585
673
 
674
+ /**
675
+ * AuthzCheckResponse
676
+ * Response for an authz check proxied to Plato.
677
+ *
678
+ * Auto-generated - do not edit
679
+ */
680
+ interface AuthzCheckResponse {
681
+ allowed: boolean;
682
+ }
683
+
684
+ /**
685
+ * BatchAssignmentItem
686
+ * A single item in a batch assignment request (no assignee_org_id — own-org only).
687
+ *
688
+ * Auto-generated - do not edit
689
+ */
690
+
691
+ interface BatchAssignmentItem {
692
+ /** Module tree defining the review layout */
693
+ nodes?: NodeTreeInput | null;
694
+ /** Short description shown on the assignments page */
695
+ description?: string | null;
696
+ }
697
+
586
698
  /**
587
699
  * BatchCreateAssignmentsBody
588
- * Batch-create assignments in the caller's org.
700
+ * Batch-create assignments.
589
701
  *
590
702
  * Auto-generated - do not edit
591
703
  */
592
704
 
593
705
  interface BatchCreateAssignmentsBody {
594
- assignments: CreateAssignmentBody[];
706
+ assignments: BatchAssignmentItem[];
707
+ /** Target org ID. Defaults to caller's org if not specified. */
708
+ assignee_org_id?: number | null;
595
709
  }
596
710
 
597
711
  /**
@@ -786,6 +900,19 @@ interface CloseSessionResponse {
786
900
  message: string;
787
901
  }
788
902
 
903
+ /**
904
+ * CommentPanelNode
905
+ * Comment input + list, targeting a session resolved from a ValueRef.
906
+ *
907
+ * Auto-generated - do not edit
908
+ */
909
+
910
+ interface CommentPanelNode {
911
+ type: string;
912
+ id: string;
913
+ target_session_id: StaticValue | Ref;
914
+ }
915
+
789
916
  /**
790
917
  * CompleteSessionRequest
791
918
  * Request to mark a session as completed.
@@ -1081,10 +1208,12 @@ interface CreateAnnotationRequest {
1081
1208
  */
1082
1209
 
1083
1210
  interface CreateAssignmentBody {
1084
- /** Public ID of the session to review */
1085
- session_id: string;
1086
- /** Review scope (discriminated by type) */
1087
- scope: RouteScopeConfig | PageScopeConfig;
1211
+ /** Module tree defining the review layout */
1212
+ nodes?: NodeTreeInput | null;
1213
+ /** Short description shown on the assignments page */
1214
+ description?: string | null;
1215
+ /** Org ID of the org assigned to review this session */
1216
+ assignee_org_id: number;
1088
1217
  }
1089
1218
 
1090
1219
  /**
@@ -1126,7 +1255,6 @@ interface CreateDatasetRequest {
1126
1255
  *
1127
1256
  * Auto-generated - do not edit
1128
1257
  */
1129
-
1130
1258
  interface CreateReviewRequest {
1131
1259
  /** Public ID of the session being reviewed */
1132
1260
  session_id: string;
@@ -1146,8 +1274,6 @@ interface CreateReviewRequest {
1146
1274
  analyzer_session_id?: string | null;
1147
1275
  /** Score dict keyed by aggregation method, e.g. {'pass_rate': 0.8, 'mean_score': 0.75} */
1148
1276
  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
1277
  /** Whether this review contains authoritative ground-truth annotations */
1152
1278
  is_ground_truth?: boolean | null;
1153
1279
  }
@@ -1771,6 +1897,7 @@ type FeedbackWidget = 'text' | 'textarea' | 'select' | 'boolean' | 'rating' | 'a
1771
1897
  */
1772
1898
  interface FindOrCreateReviewBody {
1773
1899
  session_id: string;
1900
+ assignment_id?: string | null;
1774
1901
  }
1775
1902
 
1776
1903
  /**
@@ -2151,6 +2278,28 @@ interface NavigateAnchorSessionRequest {
2151
2278
  target_url: string;
2152
2279
  }
2153
2280
 
2281
+ /**
2282
+ * NodeTreeInput
2283
+ * Root container for the node tree.
2284
+ *
2285
+ * Auto-generated - do not edit
2286
+ */
2287
+
2288
+ interface NodeTreeInput {
2289
+ root: SplitNodeInput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode;
2290
+ }
2291
+
2292
+ /**
2293
+ * NodeTreeOutput
2294
+ * Root container for the node tree.
2295
+ *
2296
+ * Auto-generated - do not edit
2297
+ */
2298
+
2299
+ interface NodeTreeOutput {
2300
+ root: SplitNodeOutput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode;
2301
+ }
2302
+
2154
2303
  /**
2155
2304
  * OAuthRefreshResponse
2156
2305
  * Response with refreshed OAuth credentials.
@@ -2231,20 +2380,6 @@ interface OTelTraceResponse {
2231
2380
  cursor?: string | null;
2232
2381
  }
2233
2382
 
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
2383
  /**
2249
2384
  * PerAgentReport
2250
2385
  *
@@ -2273,6 +2408,8 @@ interface PlatoUser {
2273
2408
  email: string;
2274
2409
  name?: string | null;
2275
2410
  organization_id?: number | null;
2411
+ org_public_id?: string | null;
2412
+ is_admin?: boolean | null;
2276
2413
  }
2277
2414
 
2278
2415
  /**
@@ -2339,6 +2476,18 @@ interface PublishedNoteRecord {
2339
2476
  provenance?: AnalysisProvenance | null;
2340
2477
  }
2341
2478
 
2479
+ /**
2480
+ * Ref
2481
+ * A reference to another node's runtime field.
2482
+ *
2483
+ * Auto-generated - do not edit
2484
+ */
2485
+ interface Ref {
2486
+ type: string;
2487
+ node_id: string;
2488
+ field: string;
2489
+ }
2490
+
2342
2491
  /**
2343
2492
  * RegistryAgentListResponse
2344
2493
  * List of agents from registry.
@@ -2410,6 +2559,56 @@ interface RegistryWorldInfo {
2410
2559
  */
2411
2560
  type RenderWidget = 'score_bar' | 'pass_fail_badge' | 'severity_badge' | 'code_snippet' | 'markdown' | 'json_tree' | 'link' | 'tag_list' | 'image' | 'diff' | 'table' | 'hidden';
2412
2561
 
2562
+ /**
2563
+ * ReportStageRequest
2564
+ * Report a stage lifecycle event (started, completed, or failed).
2565
+ *
2566
+ * Auto-generated - do not edit
2567
+ */
2568
+ interface ReportStageRequest {
2569
+ /** Chronos session public ID */
2570
+ session_public_id: string;
2571
+ /** Function or task name */
2572
+ stage_name: string;
2573
+ /** Whether this is a @durable function or an orchestrator sub-task */
2574
+ stage_type: string;
2575
+ /** Return type name (durable only) */
2576
+ output_type?: string | null;
2577
+ /** Stage lifecycle status */
2578
+ status: string;
2579
+ /** When the stage started executing */
2580
+ started_at: string;
2581
+ /** When the stage finished */
2582
+ completed_at?: string | null;
2583
+ /** Wall-clock duration */
2584
+ elapsed_seconds?: number | null;
2585
+ /** Resolved durable path on disk */
2586
+ base_path?: string | null;
2587
+ /** Serializable subset of function arguments */
2588
+ args_snapshot?: Record<string, unknown> | null;
2589
+ /** Public ID of the parent durable stage (for orchestrator tasks) */
2590
+ parent_stage_public_id?: string | null;
2591
+ /** OTel trace ID for linking to trajectory viewer */
2592
+ trace_id?: string | null;
2593
+ /** OTel span ID for linking to trajectory viewer */
2594
+ span_id?: string | null;
2595
+ /** Error details on failure */
2596
+ error_message?: string | null;
2597
+ /** Extensible metadata (agent_id, merged, branch_name, etc.) */
2598
+ metadata?: Record<string, unknown> | null;
2599
+ }
2600
+
2601
+ /**
2602
+ * ReportStageResponse
2603
+ * Response from reporting a stage event.
2604
+ *
2605
+ * Auto-generated - do not edit
2606
+ */
2607
+ interface ReportStageResponse {
2608
+ /** Public ID of the created/updated stage record */
2609
+ public_id: string;
2610
+ }
2611
+
2413
2612
  /**
2414
2613
  * RerunPreviewResponse
2415
2614
  * Preview of a rerun showing original and modified configs.
@@ -2488,7 +2687,7 @@ interface ReviewListResponse {
2488
2687
 
2489
2688
  interface ReviewResponse {
2490
2689
  public_id: string;
2491
- session_id: string;
2690
+ session_id?: string | null;
2492
2691
  assignment_id?: string | null;
2493
2692
  name?: string | null;
2494
2693
  description?: string | null;
@@ -2499,7 +2698,7 @@ interface ReviewResponse {
2499
2698
  created_at: string;
2500
2699
  analyzer_session_id?: string | null;
2501
2700
  scores?: Record<string, number> | null;
2502
- scope?: Record<string, unknown> | null;
2701
+ nodes?: NodeTreeOutput | null;
2503
2702
  is_ground_truth?: boolean | null;
2504
2703
  annotation_count?: number | null;
2505
2704
  session?: SessionSummary | null;
@@ -2520,15 +2719,19 @@ interface ReviewWidgetSchemaResponse {
2520
2719
  }
2521
2720
 
2522
2721
  /**
2523
- * RouteScopeConfig
2524
- * Review a specific route in the live sim.
2722
+ * ReviewerAnalytics
2723
+ * Per-reviewer analytics for a single annotator user.
2525
2724
  *
2526
2725
  * Auto-generated - do not edit
2527
2726
  */
2528
- interface RouteScopeConfig {
2529
- type: string;
2530
- /** Route path within the sim (e.g. '/customers', '/billing') */
2531
- route: string;
2727
+ interface ReviewerAnalytics {
2728
+ user_id: string | null;
2729
+ user_email: string | null;
2730
+ user_name: string | null;
2731
+ assignment_count: number;
2732
+ completed_count: number;
2733
+ review_count: number;
2734
+ annotation_count: number;
2532
2735
  }
2533
2736
 
2534
2737
  /**
@@ -2634,6 +2837,33 @@ interface SavedSessionFilters {
2634
2837
  status?: string | null;
2635
2838
  }
2636
2839
 
2840
+ /**
2841
+ * ScreenshotCarouselNode
2842
+ * Displays a carousel of screenshots from the session workspace.
2843
+ *
2844
+ * Auto-generated - do not edit
2845
+ */
2846
+
2847
+ interface ScreenshotCarouselNode {
2848
+ type: string;
2849
+ id: string;
2850
+ session_id: string;
2851
+ repo_name: string;
2852
+ screenshots?: ScreenshotRef[] | null;
2853
+ }
2854
+
2855
+ /**
2856
+ * ScreenshotRef
2857
+ * Reference to a single screenshot in a DVC-managed workspace.
2858
+ *
2859
+ * Auto-generated - do not edit
2860
+ */
2861
+ interface ScreenshotRef {
2862
+ file_hash: string;
2863
+ file_path: string;
2864
+ repo_name?: string | null;
2865
+ }
2866
+
2637
2867
  /**
2638
2868
  * ScreenshotResponse
2639
2869
  * Response from taking a screenshot.
@@ -2902,6 +3132,7 @@ interface SessionResponse {
2902
3132
  trajectory?: Record<string, JsonValue> | null;
2903
3133
  result?: Record<string, JsonValue> | null;
2904
3134
  total_cost_usd?: number | null;
3135
+ agent_costs?: AgentCostEntry[] | null;
2905
3136
  logs_url?: string | null;
2906
3137
  tags?: string[] | null;
2907
3138
  notes?: SessionNotesPayloadOutput | null;
@@ -3051,6 +3282,17 @@ interface SessionReviewerSpanNote {
3051
3282
  provenance?: AnalysisProvenance | null;
3052
3283
  }
3053
3284
 
3285
+ /**
3286
+ * SessionStagesResponse
3287
+ * All stages for a session.
3288
+ *
3289
+ * Auto-generated - do not edit
3290
+ */
3291
+
3292
+ interface SessionStagesResponse {
3293
+ stages: StageResponse[];
3294
+ }
3295
+
3054
3296
  /**
3055
3297
  * SessionStatusResponse
3056
3298
  * Lightweight status response for a session.
@@ -3162,6 +3404,61 @@ interface SlackLookupResponse {
3162
3404
  error?: string | null;
3163
3405
  }
3164
3406
 
3407
+ /**
3408
+ * SplitNodeInput
3409
+ * Layout node: arranges children horizontally or vertically.
3410
+ *
3411
+ * Auto-generated - do not edit
3412
+ */
3413
+
3414
+ interface SplitNodeInput {
3415
+ type: string;
3416
+ id: string;
3417
+ direction: string;
3418
+ children: SplitNodeInput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode[];
3419
+ sizes?: number[] | null;
3420
+ }
3421
+
3422
+ /**
3423
+ * SplitNodeOutput
3424
+ * Layout node: arranges children horizontally or vertically.
3425
+ *
3426
+ * Auto-generated - do not edit
3427
+ */
3428
+
3429
+ interface SplitNodeOutput {
3430
+ type: string;
3431
+ id: string;
3432
+ direction: string;
3433
+ children: SplitNodeOutput | ArtifactBrowserNode | ScreenshotCarouselNode | TextNode | CommentPanelNode[];
3434
+ sizes?: number[] | null;
3435
+ }
3436
+
3437
+ /**
3438
+ * StageResponse
3439
+ * Single stage record returned by the API.
3440
+ *
3441
+ * Auto-generated - do not edit
3442
+ */
3443
+ interface StageResponse {
3444
+ public_id: string;
3445
+ stage_name: string;
3446
+ stage_type: string;
3447
+ output_type?: string | null;
3448
+ status: string;
3449
+ started_at: string;
3450
+ completed_at?: string | null;
3451
+ elapsed_seconds?: number | null;
3452
+ base_path?: string | null;
3453
+ args_snapshot?: Record<string, unknown> | null;
3454
+ parent_stage_public_id?: string | null;
3455
+ trace_id?: string | null;
3456
+ span_id?: string | null;
3457
+ error_message?: string | null;
3458
+ metadata?: Record<string, unknown> | null;
3459
+ created_at: string;
3460
+ }
3461
+
3165
3462
  /**
3166
3463
  * StarredCheckpointCreate
3167
3464
  * Request to star a checkpoint.
@@ -3220,6 +3517,17 @@ interface StarredCheckpointUpdate {
3220
3517
  note?: string | null;
3221
3518
  }
3222
3519
 
3520
+ /**
3521
+ * StaticValue
3522
+ * A literal value set at assignment creation time.
3523
+ *
3524
+ * Auto-generated - do not edit
3525
+ */
3526
+ interface StaticValue {
3527
+ type: string;
3528
+ value: string;
3529
+ }
3530
+
3223
3531
  /**
3224
3532
  * StatusResponse
3225
3533
  * Overall status response.
@@ -3309,6 +3617,18 @@ interface TestRunListResponse {
3309
3617
  test_runs: ExperimentTestRunResponse[];
3310
3618
  }
3311
3619
 
3620
+ /**
3621
+ * TextNode
3622
+ * Displays a static block of instructional or informational text.
3623
+ *
3624
+ * Auto-generated - do not edit
3625
+ */
3626
+ interface TextNode {
3627
+ type: string;
3628
+ id: string;
3629
+ content: string;
3630
+ }
3631
+
3312
3632
  /**
3313
3633
  * TokenSummaryRecord
3314
3634
  *
@@ -3508,6 +3828,17 @@ interface UpdateFileResponse {
3508
3828
  new_manifest_hash: string;
3509
3829
  }
3510
3830
 
3831
+ /**
3832
+ * UpdateNodeRequest
3833
+ * Request to update fields on a node tree node.
3834
+ *
3835
+ * Auto-generated - do not edit
3836
+ */
3837
+ interface UpdateNodeRequest {
3838
+ /** Fields to update on the node */
3839
+ values: Record<string, string>;
3840
+ }
3841
+
3511
3842
  /**
3512
3843
  * UpdateNotesRequest
3513
3844
  * Request to update session notes.
@@ -3530,7 +3861,6 @@ interface UpdateNotesRequest {
3530
3861
  *
3531
3862
  * Auto-generated - do not edit
3532
3863
  */
3533
-
3534
3864
  interface UpdateReviewRequest {
3535
3865
  /** Updated name */
3536
3866
  name?: string | null;
@@ -3540,8 +3870,6 @@ interface UpdateReviewRequest {
3540
3870
  tags?: string[] | null;
3541
3871
  /** Updated scores */
3542
3872
  scores?: Record<string, number> | null;
3543
- /** Updated scope */
3544
- scope?: RouteScopeConfig | PageScopeConfig | null;
3545
3873
  /** Updated ground truth flag */
3546
3874
  is_ground_truth?: boolean | null;
3547
3875
  }
@@ -4377,6 +4705,7 @@ declare class AgentsApi {
4377
4705
  interface ListAnnotationsApiAnnotationsGetParams {
4378
4706
  sessionId?: string;
4379
4707
  reviewId?: string;
4708
+ assignmentId?: string;
4380
4709
  xApiKey?: string;
4381
4710
  }
4382
4711
  interface CreateAnnotationApiAnnotationsPostParams {
@@ -4410,7 +4739,7 @@ declare class AnnotationsApi {
4410
4739
  constructor(client: ApiClient);
4411
4740
  /**
4412
4741
  * List Annotations
4413
- * List annotations, filtered by session and/or review.
4742
+ * List annotations, filtered by session, review, and/or assignment.
4414
4743
  */
4415
4744
  listAnnotationsApiAnnotationsGet(params: ListAnnotationsApiAnnotationsGetParams, options?: RequestOptions): Promise<AnnotationListResponse>;
4416
4745
  /**
@@ -4430,12 +4759,12 @@ declare class AnnotationsApi {
4430
4759
  getAnnotationApiAnnotationsAnnotationPublicIdGet(params: GetAnnotationApiAnnotationsAnnotationPublicIdGetParams, options?: RequestOptions): Promise<AnnotationResponse>;
4431
4760
  /**
4432
4761
  * Update Annotation
4433
- * Update an annotation. Author only.
4762
+ * Update an annotation. Author only (admin can update any).
4434
4763
  */
4435
4764
  updateAnnotationApiAnnotationsAnnotationPublicIdPut(params: UpdateAnnotationApiAnnotationsAnnotationPublicIdPutParams, options?: RequestOptions): Promise<AnnotationResponse>;
4436
4765
  /**
4437
4766
  * Delete Annotation
4438
- * Delete an annotation and descendants. Author only.
4767
+ * Delete an annotation and descendants. Author only (admin can delete any).
4439
4768
  */
4440
4769
  deleteAnnotationApiAnnotationsAnnotationPublicIdDelete(params: DeleteAnnotationApiAnnotationsAnnotationPublicIdDeleteParams, options?: RequestOptions): Promise<void>;
4441
4770
  /**
@@ -4451,8 +4780,10 @@ declare class AnnotationsApi {
4451
4780
  * Auto-generated - do not edit
4452
4781
  */
4453
4782
 
4783
+ interface ListAssignmentTypesParams {
4784
+ xApiKey?: string;
4785
+ }
4454
4786
  interface ListAssignmentsApiAssignmentsGetParams {
4455
- sessionId?: string;
4456
4787
  status?: string;
4457
4788
  xApiKey?: string;
4458
4789
  }
@@ -4460,6 +4791,9 @@ interface CreateAssignmentApiAssignmentsPostParams {
4460
4791
  xApiKey?: string;
4461
4792
  body: CreateAssignmentBody;
4462
4793
  }
4794
+ interface GetAssignmentAnalyticsParams {
4795
+ xApiKey?: string;
4796
+ }
4463
4797
  interface GetAssignmentApiAssignmentsAssignmentIdGetParams {
4464
4798
  assignmentId: string;
4465
4799
  xApiKey?: string;
@@ -4475,7 +4809,13 @@ interface AutoCreateAssignmentsParams {
4475
4809
  }
4476
4810
  interface PreviewAssignmentsParams {
4477
4811
  sessionPublicId: string;
4478
- scopeType: string;
4812
+ artifactId?: string;
4813
+ xApiKey?: string;
4814
+ }
4815
+ interface StreamPreviewAssignmentsParams {
4816
+ sessionPublicId: string;
4817
+ artifactId?: string;
4818
+ assignmentType?: string;
4479
4819
  xApiKey?: string;
4480
4820
  }
4481
4821
  interface BatchCreateAssignmentsParams {
@@ -4485,6 +4825,11 @@ interface BatchCreateAssignmentsParams {
4485
4825
  declare class AssignmentsApi {
4486
4826
  private client;
4487
4827
  constructor(client: ApiClient);
4828
+ /**
4829
+ * Get Assignment Types
4830
+ * List available assignment types with metadata for the frontend.
4831
+ */
4832
+ listAssignmentTypes(params: ListAssignmentTypesParams, options?: RequestOptions): Promise<AssignmentTypeInfo[]>;
4488
4833
  /**
4489
4834
  * List Assignments
4490
4835
  * List assignments for your org.
@@ -4495,6 +4840,19 @@ declare class AssignmentsApi {
4495
4840
  * Create a new assignment for a session.
4496
4841
  */
4497
4842
  createAssignmentApiAssignmentsPost(params: CreateAssignmentApiAssignmentsPostParams, options?: RequestOptions): Promise<AssignmentResponse>;
4843
+ /**
4844
+ * Get Assignment Analytics
4845
+ * Per-reviewer stats for all assignments assigned to the caller's org.
4846
+
4847
+ Returns, for each distinct reviewer (user who created reviews):
4848
+ - assignment_count: number of assignments this reviewer has reviewed
4849
+ - completed_count: assignments marked completed
4850
+ - review_count: total reviews created by this user
4851
+ - annotation_count: total annotations by this user
4852
+
4853
+ Assignments with no reviews yet appear as a null-reviewer bucket.
4854
+ */
4855
+ getAssignmentAnalytics(params: GetAssignmentAnalyticsParams, options?: RequestOptions): Promise<AssignmentAnalyticsResponse>;
4498
4856
  /**
4499
4857
  * Get Assignment
4500
4858
  * Get a single assignment.
@@ -4513,10 +4871,16 @@ declare class AssignmentsApi {
4513
4871
  /**
4514
4872
  * Preview Assignments
4515
4873
  * Preview assignments that would be created for a session without persisting them.
4516
-
4517
- scope_type: "route" | "page"
4518
4874
  */
4519
4875
  previewAssignments(params: PreviewAssignmentsParams, options?: RequestOptions): Promise<AssignmentPreviewResponse>;
4876
+ /**
4877
+ * Stream Preview Assignments Route
4878
+ * Stream assignment preview items as NDJSON as they are discovered from S3.
4879
+
4880
+ assignment_type: layout type for generated assignments (default: "browser").
4881
+ Valid values: "browser", "browser_with_screenshots".
4882
+ */
4883
+ streamPreviewAssignments(params: StreamPreviewAssignmentsParams, options?: RequestOptions): Promise<void>;
4520
4884
  /**
4521
4885
  * Batch Create Assignments
4522
4886
  * Create multiple assignments at once in the caller's org.
@@ -4543,6 +4907,10 @@ interface RefreshOauthApiAuthRefreshOauthPostParams {
4543
4907
  xApiKey?: string;
4544
4908
  body: ClaudeCodeOAuthRefreshRequest;
4545
4909
  }
4910
+ interface AuthzCheckApiAuthAuthzCheckGetParams {
4911
+ role: string;
4912
+ xApiKey?: string;
4913
+ }
4546
4914
  declare class AuthApi {
4547
4915
  private client;
4548
4916
  constructor(client: ApiClient);
@@ -4583,6 +4951,13 @@ declare class AuthApi {
4583
4951
  row as a lock. If another agent already refreshed, returns cached creds.
4584
4952
  */
4585
4953
  refreshOauthApiAuthRefreshOauthPost(params: RefreshOauthApiAuthRefreshOauthPostParams, options?: RequestOptions): Promise<OAuthRefreshResponse>;
4954
+ /**
4955
+ * Authz Check
4956
+ * Proxy an authz check to Plato using the current principal's SSO auth.
4957
+
4958
+ Checks whether the current principal has the given role on their org.
4959
+ */
4960
+ authzCheckApiAuthAuthzCheckGet(params: AuthzCheckApiAuthAuthzCheckGetParams, options?: RequestOptions): Promise<AuthzCheckResponse>;
4586
4961
  /**
4587
4962
  * Debug Auth
4588
4963
  * Debug endpoint to see what auth info is being received.
@@ -5471,6 +5846,12 @@ interface CopyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPub
5471
5846
  xApiKey?: string;
5472
5847
  body: CopyAnnotationsRequest;
5473
5848
  }
5849
+ interface UpdateReviewNodeParams {
5850
+ reviewPublicId: string;
5851
+ nodeId: string;
5852
+ xApiKey?: string;
5853
+ body: UpdateNodeRequest;
5854
+ }
5474
5855
  declare class ReviewsApi {
5475
5856
  private client;
5476
5857
  constructor(client: ApiClient);
@@ -5501,12 +5882,12 @@ declare class ReviewsApi {
5501
5882
  getReviewApiReviewsReviewPublicIdGet(params: GetReviewApiReviewsReviewPublicIdGetParams, options?: RequestOptions): Promise<ReviewResponse>;
5502
5883
  /**
5503
5884
  * Update Review
5504
- * Update a review. Author only.
5885
+ * Update a review. Author only (admin can update any).
5505
5886
  */
5506
5887
  updateReviewApiReviewsReviewPublicIdPut(params: UpdateReviewApiReviewsReviewPublicIdPutParams, options?: RequestOptions): Promise<ReviewResponse>;
5507
5888
  /**
5508
5889
  * Delete Review
5509
- * Delete a review and its annotations. Author only.
5890
+ * Delete a review and its annotations. Author only (admin can delete any).
5510
5891
  */
5511
5892
  deleteReviewApiReviewsReviewPublicIdDelete(params: DeleteReviewApiReviewsReviewPublicIdDeleteParams, options?: RequestOptions): Promise<void>;
5512
5893
  /**
@@ -5514,6 +5895,11 @@ declare class ReviewsApi {
5514
5895
  * Copy top-level annotations from a source review.
5515
5896
  */
5516
5897
  copyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPublicIdPost(params: CopyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPublicIdPostParams, options?: RequestOptions): Promise<AnnotationResponse[]>;
5898
+ /**
5899
+ * Update Review Node
5900
+ * Update runtime values on a node tree node.
5901
+ */
5902
+ updateReviewNode(params: UpdateReviewNodeParams, options?: RequestOptions): Promise<NodeTreeOutput>;
5517
5903
  }
5518
5904
 
5519
5905
  /**
@@ -5610,6 +5996,22 @@ interface GetUsageStatsParams {
5610
5996
  excludeTags?: string[];
5611
5997
  xApiKey?: string;
5612
5998
  }
5999
+ interface GetAnalyticsTimeseriesParams {
6000
+ days?: number;
6001
+ bucket?: string;
6002
+ groupBy?: string;
6003
+ /** Include sessions with any of these tags */
6004
+ tags?: string[];
6005
+ /** Exclude sessions with any of these tags */
6006
+ excludeTags?: string[];
6007
+ /** Filter by world package names */
6008
+ worlds?: string[];
6009
+ /** Filter by session status */
6010
+ statuses?: string[];
6011
+ /** Filter by user emails */
6012
+ users?: string[];
6013
+ xApiKey?: string;
6014
+ }
5613
6015
  interface GetSessionCostSummaryParams {
5614
6016
  /** Filter by exact tags (repeat query param, e.g. ?tags=foo&tags=bar) */
5615
6017
  tags?: string[];
@@ -5623,6 +6025,10 @@ interface GetSessionParams {
5623
6025
  revealSecrets?: boolean;
5624
6026
  xApiKey?: string;
5625
6027
  }
6028
+ interface BackfillSessionCostsParams {
6029
+ publicId: string;
6030
+ xApiKey?: string;
6031
+ }
5626
6032
  interface GetSessionStatusParams {
5627
6033
  publicId: string;
5628
6034
  xApiKey?: string;
@@ -5815,6 +6221,11 @@ declare class SessionsApi {
5815
6221
  * Get org-wide usage stats for the leaderboard dashboard.
5816
6222
  */
5817
6223
  getUsageStats(params: GetUsageStatsParams, options?: RequestOptions): Promise<UsageStatsResponse>;
6224
+ /**
6225
+ * Get Analytics Timeseries Endpoint
6226
+ * Get analytics timeseries data for charting. Combines PG session data with ClickHouse token metrics.
6227
+ */
6228
+ getAnalyticsTimeseries(params: GetAnalyticsTimeseriesParams, options?: RequestOptions): Promise<AnalyticsTimeseriesResponse>;
5818
6229
  /**
5819
6230
  * Get Session Cost Summary
5820
6231
  * Return lightweight cost data for all matching sessions (no pagination limit).
@@ -5833,6 +6244,11 @@ declare class SessionsApi {
5833
6244
  reveal_secrets: If true, decrypt and return actual secret values
5834
6245
  */
5835
6246
  getSession(params: GetSessionParams, options?: RequestOptions): Promise<SessionResponse>;
6247
+ /**
6248
+ * Backfill Session Costs
6249
+ * Compute and persist agent_costs for a legacy session missing pre-computed costs.
6250
+ */
6251
+ backfillSessionCosts(params: BackfillSessionCostsParams, options?: RequestOptions): Promise<SessionResponse>;
5836
6252
  /**
5837
6253
  * Get Session Status
5838
6254
  * Get just the status of a session (lightweight endpoint).
@@ -6065,6 +6481,35 @@ declare class SlackApi {
6065
6481
  sendSlackMessage(params: SendSlackMessageParams, options?: RequestOptions): Promise<SendSlackMessageResponse>;
6066
6482
  }
6067
6483
 
6484
+ /**
6485
+ * stages API
6486
+ *
6487
+ * Auto-generated - do not edit
6488
+ */
6489
+
6490
+ interface ReportStageParams {
6491
+ xApiKey?: string;
6492
+ body: ReportStageRequest;
6493
+ }
6494
+ interface ListSessionStagesParams {
6495
+ sessionPublicId: string;
6496
+ xApiKey?: string;
6497
+ }
6498
+ declare class StagesApi {
6499
+ private client;
6500
+ constructor(client: ApiClient);
6501
+ /**
6502
+ * Report Stage
6503
+ * Report a durable stage lifecycle event (started, completed, or failed).
6504
+ */
6505
+ reportStage(params: ReportStageParams, options?: RequestOptions): Promise<ReportStageResponse>;
6506
+ /**
6507
+ * List Session Stages
6508
+ * List all stages for a session, ordered by start time.
6509
+ */
6510
+ listSessionStages(params: ListSessionStagesParams, options?: RequestOptions): Promise<SessionStagesResponse>;
6511
+ }
6512
+
6068
6513
  /**
6069
6514
  * starred_checkpoints API
6070
6515
  *
@@ -6532,6 +6977,7 @@ declare class ChronosClient {
6532
6977
  readonly sessions: SessionsApi;
6533
6978
  readonly settings: SettingsApi;
6534
6979
  readonly slack: SlackApi;
6980
+ readonly stages: StagesApi;
6535
6981
  readonly starredCheckpoints: StarredCheckpointsApi;
6536
6982
  readonly status: StatusApi;
6537
6983
  readonly workspaceRepos: WorkspaceReposApi;
@@ -6543,4 +6989,4 @@ declare class ChronosClient {
6543
6989
  getApiClient(): ApiClient;
6544
6990
  }
6545
6991
 
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 };
6992
+ export { type ActiveAnalysis, type AddSessionsRequest, AdminApi, type AgentArtifactPath, type AgentCostEntry, 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 AnalyticsTimeseriesBucketResponse, type AnalyticsTimeseriesResponse, 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 };