plato-sandbox-sdk 1.1.45 → 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.
- package/dist/chronos/index.d.mts +508 -44
- package/dist/chronos/index.d.ts +508 -44
- package/dist/chronos/index.js +223 -9
- package/dist/chronos/index.mjs +5 -1
- package/dist/{chunk-F36PEOJ6.mjs → chunk-XO5CNUMC.mjs} +223 -9
- package/dist/index.d.mts +29 -5
- package/dist/index.d.ts +29 -5
- package/dist/index.js +221 -9
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/chronos/api/assignments.ts +108 -8
- package/src/chronos/api/auth.ts +35 -0
- package/src/chronos/api/index.ts +2 -0
- package/src/chronos/api/otel.ts +12 -0
- package/src/chronos/api/reviews.ts +32 -0
- package/src/chronos/api/sessions.ts +32 -0
- package/src/chronos/api/slack.ts +39 -0
- package/src/chronos/api/stages.ts +65 -0
- package/src/chronos/client.ts +6 -0
- package/src/chronos/models/ArtifactBrowserNode.ts +14 -0
- package/src/chronos/models/AssignmentAnalyticsResponse.ts +16 -0
- package/src/chronos/models/AssignmentPreviewItem.ts +3 -2
- package/src/chronos/models/AssignmentResponse.ts +4 -5
- package/src/chronos/models/AssignmentTypeInfo.ts +13 -0
- package/src/chronos/models/AuthSessionResponse.ts +2 -0
- package/src/chronos/models/AuthzCheckResponse.ts +10 -0
- package/src/chronos/models/BatchAssignmentItem.ts +15 -0
- package/src/chronos/models/BatchCreateAssignmentsBody.ts +5 -3
- package/src/chronos/models/ChildWorldConfig.ts +17 -0
- package/src/chronos/models/CommentPanelNode.ts +14 -0
- package/src/chronos/models/CreateAssignmentBody.ts +7 -5
- package/src/chronos/models/CreateReviewRequest.ts +0 -4
- package/src/chronos/models/ExperimentLaunchConfig.ts +3 -1
- package/src/chronos/models/FindOrCreateReviewBody.ts +1 -0
- package/src/chronos/models/LaunchJobRequest.ts +3 -1
- package/src/chronos/models/LinkPlatoSessionRequest.ts +11 -0
- package/src/chronos/models/NodeTreeInput.ts +12 -0
- package/src/chronos/models/NodeTreeOutput.ts +12 -0
- package/src/chronos/models/PlatoUser.ts +2 -0
- package/src/chronos/models/Ref.ts +12 -0
- package/src/chronos/models/ReportStageRequest.ts +39 -0
- package/src/chronos/models/ReportStageResponse.ts +11 -0
- package/src/chronos/models/ReviewResponse.ts +3 -3
- package/src/chronos/models/ReviewerAnalytics.ts +16 -0
- package/src/chronos/models/ScreenshotCarouselNode.ts +16 -0
- package/src/chronos/models/ScreenshotRef.ts +12 -0
- package/src/chronos/models/SendSlackMessageRequest.ts +10 -0
- package/src/chronos/models/SendSlackMessageResponse.ts +10 -0
- package/src/chronos/models/SessionMetricsResponse.ts +2 -0
- package/src/chronos/models/SessionStagesResponse.ts +12 -0
- package/src/chronos/models/SessionStoredWorldConfig.ts +2 -1
- package/src/chronos/models/SplitNodeInput.ts +16 -0
- package/src/chronos/models/SplitNodeOutput.ts +16 -0
- package/src/chronos/models/StageResponse.ts +25 -0
- package/src/chronos/models/StaticValue.ts +11 -0
- package/src/chronos/models/TextNode.ts +12 -0
- package/src/chronos/models/UpdateNodeRequest.ts +11 -0
- package/src/chronos/models/UpdateReviewRequest.ts +0 -4
- package/src/chronos/models/index.ts +25 -2
- package/src/chronos/models/PageScopeConfig.ts +0 -14
- package/src/chronos/models/RouteScopeConfig.ts +0 -12
package/dist/chronos/index.d.mts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
440
|
-
|
|
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
|
|
656
|
+
* Batch-create assignments.
|
|
589
657
|
*
|
|
590
658
|
* Auto-generated - do not edit
|
|
591
659
|
*/
|
|
592
660
|
|
|
593
661
|
interface BatchCreateAssignmentsBody {
|
|
594
|
-
assignments:
|
|
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
|
/**
|
|
@@ -674,6 +744,22 @@ interface ChildSessionSummary {
|
|
|
674
744
|
archived_at?: string | null;
|
|
675
745
|
}
|
|
676
746
|
|
|
747
|
+
/**
|
|
748
|
+
* ChildWorldConfig
|
|
749
|
+
* Structured child world config used in launch requests and stored sessions.
|
|
750
|
+
*
|
|
751
|
+
* Auto-generated - do not edit
|
|
752
|
+
*/
|
|
753
|
+
|
|
754
|
+
interface ChildWorldConfig {
|
|
755
|
+
mode?: string | null;
|
|
756
|
+
package?: string | null;
|
|
757
|
+
world_name?: string | null;
|
|
758
|
+
config?: Record<string, JsonValue> | null;
|
|
759
|
+
runtime?: Record<string, JsonValue> | null;
|
|
760
|
+
tags?: string[] | null;
|
|
761
|
+
}
|
|
762
|
+
|
|
677
763
|
/**
|
|
678
764
|
* ChronosApiDatasetsFoldersListResponse
|
|
679
765
|
*
|
|
@@ -770,6 +856,19 @@ interface CloseSessionResponse {
|
|
|
770
856
|
message: string;
|
|
771
857
|
}
|
|
772
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
|
+
|
|
773
872
|
/**
|
|
774
873
|
* CompleteSessionRequest
|
|
775
874
|
* Request to mark a session as completed.
|
|
@@ -1065,10 +1164,12 @@ interface CreateAnnotationRequest {
|
|
|
1065
1164
|
*/
|
|
1066
1165
|
|
|
1067
1166
|
interface CreateAssignmentBody {
|
|
1068
|
-
/**
|
|
1069
|
-
|
|
1070
|
-
/**
|
|
1071
|
-
|
|
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;
|
|
1072
1173
|
}
|
|
1073
1174
|
|
|
1074
1175
|
/**
|
|
@@ -1110,7 +1211,6 @@ interface CreateDatasetRequest {
|
|
|
1110
1211
|
*
|
|
1111
1212
|
* Auto-generated - do not edit
|
|
1112
1213
|
*/
|
|
1113
|
-
|
|
1114
1214
|
interface CreateReviewRequest {
|
|
1115
1215
|
/** Public ID of the session being reviewed */
|
|
1116
1216
|
session_id: string;
|
|
@@ -1130,8 +1230,6 @@ interface CreateReviewRequest {
|
|
|
1130
1230
|
analyzer_session_id?: string | null;
|
|
1131
1231
|
/** Score dict keyed by aggregation method, e.g. {'pass_rate': 0.8, 'mean_score': 0.75} */
|
|
1132
1232
|
scores?: Record<string, number> | null;
|
|
1133
|
-
/** Scope of the review — discriminated union keyed by 'type' (e.g. route, screenshot, task) */
|
|
1134
|
-
scope?: RouteScopeConfig | PageScopeConfig | null;
|
|
1135
1233
|
/** Whether this review contains authoritative ground-truth annotations */
|
|
1136
1234
|
is_ground_truth?: boolean | null;
|
|
1137
1235
|
}
|
|
@@ -1636,6 +1734,8 @@ metadata field for experiment-specific data.
|
|
|
1636
1734
|
|
|
1637
1735
|
interface ExperimentLaunchConfig {
|
|
1638
1736
|
world?: WorldConfigOutput | null;
|
|
1737
|
+
/** Inline/session child world configs passed through to the world runner */
|
|
1738
|
+
child_worlds?: Record<string, ChildWorldConfig> | null;
|
|
1639
1739
|
/** Tags for organizing/filtering sessions */
|
|
1640
1740
|
tags?: string[] | null;
|
|
1641
1741
|
/** Allow prerelease versions (dev, alpha, beta, rc) for packages */
|
|
@@ -1753,6 +1853,7 @@ type FeedbackWidget = 'text' | 'textarea' | 'select' | 'boolean' | 'rating' | 'a
|
|
|
1753
1853
|
*/
|
|
1754
1854
|
interface FindOrCreateReviewBody {
|
|
1755
1855
|
session_id: string;
|
|
1856
|
+
assignment_id?: string | null;
|
|
1756
1857
|
}
|
|
1757
1858
|
|
|
1758
1859
|
/**
|
|
@@ -2025,6 +2126,8 @@ interface LaunchHillclimbRunResponse {
|
|
|
2025
2126
|
interface LaunchJobRequest {
|
|
2026
2127
|
/** World package, image, and configuration */
|
|
2027
2128
|
world: WorldConfigInput;
|
|
2129
|
+
/** Inline/session child world configs passed through to the world runner */
|
|
2130
|
+
child_worlds?: Record<string, ChildWorldConfig> | null;
|
|
2028
2131
|
/** Tags for organizing/filtering sessions */
|
|
2029
2132
|
tags?: string[] | null;
|
|
2030
2133
|
/** Allow prerelease versions (dev, alpha, beta, rc) for packages */
|
|
@@ -2052,6 +2155,17 @@ interface LaunchJobResponse {
|
|
|
2052
2155
|
status: string;
|
|
2053
2156
|
}
|
|
2054
2157
|
|
|
2158
|
+
/**
|
|
2159
|
+
* LinkPlatoSessionRequest
|
|
2160
|
+
* Request to link a Plato session to an existing Chronos session.
|
|
2161
|
+
*
|
|
2162
|
+
* Auto-generated - do not edit
|
|
2163
|
+
*/
|
|
2164
|
+
interface LinkPlatoSessionRequest {
|
|
2165
|
+
/** Plato session ID to link */
|
|
2166
|
+
plato_session_id: string;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2055
2169
|
/**
|
|
2056
2170
|
* LiveLogsResponse
|
|
2057
2171
|
* Response for live session logs from VM.
|
|
@@ -2120,6 +2234,28 @@ interface NavigateAnchorSessionRequest {
|
|
|
2120
2234
|
target_url: string;
|
|
2121
2235
|
}
|
|
2122
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
|
+
|
|
2123
2259
|
/**
|
|
2124
2260
|
* OAuthRefreshResponse
|
|
2125
2261
|
* Response with refreshed OAuth credentials.
|
|
@@ -2200,20 +2336,6 @@ interface OTelTraceResponse {
|
|
|
2200
2336
|
cursor?: string | null;
|
|
2201
2337
|
}
|
|
2202
2338
|
|
|
2203
|
-
/**
|
|
2204
|
-
* PageScopeConfig
|
|
2205
|
-
* Compare a reference screenshot against the live route.
|
|
2206
|
-
*
|
|
2207
|
-
* Auto-generated - do not edit
|
|
2208
|
-
*/
|
|
2209
|
-
interface PageScopeConfig {
|
|
2210
|
-
type: string;
|
|
2211
|
-
/** Route path within the sim */
|
|
2212
|
-
route: string;
|
|
2213
|
-
/** URL of the reference screenshot to compare against */
|
|
2214
|
-
screenshot_url: string;
|
|
2215
|
-
}
|
|
2216
|
-
|
|
2217
2339
|
/**
|
|
2218
2340
|
* PerAgentReport
|
|
2219
2341
|
*
|
|
@@ -2242,6 +2364,8 @@ interface PlatoUser {
|
|
|
2242
2364
|
email: string;
|
|
2243
2365
|
name?: string | null;
|
|
2244
2366
|
organization_id?: number | null;
|
|
2367
|
+
org_public_id?: string | null;
|
|
2368
|
+
is_admin?: boolean | null;
|
|
2245
2369
|
}
|
|
2246
2370
|
|
|
2247
2371
|
/**
|
|
@@ -2308,6 +2432,18 @@ interface PublishedNoteRecord {
|
|
|
2308
2432
|
provenance?: AnalysisProvenance | null;
|
|
2309
2433
|
}
|
|
2310
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
|
+
|
|
2311
2447
|
/**
|
|
2312
2448
|
* RegistryAgentListResponse
|
|
2313
2449
|
* List of agents from registry.
|
|
@@ -2379,6 +2515,56 @@ interface RegistryWorldInfo {
|
|
|
2379
2515
|
*/
|
|
2380
2516
|
type RenderWidget = 'score_bar' | 'pass_fail_badge' | 'severity_badge' | 'code_snippet' | 'markdown' | 'json_tree' | 'link' | 'tag_list' | 'image' | 'diff' | 'table' | 'hidden';
|
|
2381
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
|
+
|
|
2382
2568
|
/**
|
|
2383
2569
|
* RerunPreviewResponse
|
|
2384
2570
|
* Preview of a rerun showing original and modified configs.
|
|
@@ -2457,7 +2643,7 @@ interface ReviewListResponse {
|
|
|
2457
2643
|
|
|
2458
2644
|
interface ReviewResponse {
|
|
2459
2645
|
public_id: string;
|
|
2460
|
-
session_id
|
|
2646
|
+
session_id?: string | null;
|
|
2461
2647
|
assignment_id?: string | null;
|
|
2462
2648
|
name?: string | null;
|
|
2463
2649
|
description?: string | null;
|
|
@@ -2468,7 +2654,7 @@ interface ReviewResponse {
|
|
|
2468
2654
|
created_at: string;
|
|
2469
2655
|
analyzer_session_id?: string | null;
|
|
2470
2656
|
scores?: Record<string, number> | null;
|
|
2471
|
-
|
|
2657
|
+
nodes?: NodeTreeOutput | null;
|
|
2472
2658
|
is_ground_truth?: boolean | null;
|
|
2473
2659
|
annotation_count?: number | null;
|
|
2474
2660
|
session?: SessionSummary | null;
|
|
@@ -2489,15 +2675,19 @@ interface ReviewWidgetSchemaResponse {
|
|
|
2489
2675
|
}
|
|
2490
2676
|
|
|
2491
2677
|
/**
|
|
2492
|
-
*
|
|
2493
|
-
*
|
|
2678
|
+
* ReviewerAnalytics
|
|
2679
|
+
* Per-reviewer analytics for a single annotator user.
|
|
2494
2680
|
*
|
|
2495
2681
|
* Auto-generated - do not edit
|
|
2496
2682
|
*/
|
|
2497
|
-
interface
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
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;
|
|
2501
2691
|
}
|
|
2502
2692
|
|
|
2503
2693
|
/**
|
|
@@ -2603,6 +2793,33 @@ interface SavedSessionFilters {
|
|
|
2603
2793
|
status?: string | null;
|
|
2604
2794
|
}
|
|
2605
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
|
+
|
|
2606
2823
|
/**
|
|
2607
2824
|
* ScreenshotResponse
|
|
2608
2825
|
* Response from taking a screenshot.
|
|
@@ -2616,6 +2833,26 @@ interface ScreenshotResponse {
|
|
|
2616
2833
|
s3_url?: string | null;
|
|
2617
2834
|
}
|
|
2618
2835
|
|
|
2836
|
+
/**
|
|
2837
|
+
* SendSlackMessageRequest
|
|
2838
|
+
*
|
|
2839
|
+
* Auto-generated - do not edit
|
|
2840
|
+
*/
|
|
2841
|
+
interface SendSlackMessageRequest {
|
|
2842
|
+
/** The message to send to Slack */
|
|
2843
|
+
message: string;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* SendSlackMessageResponse
|
|
2848
|
+
*
|
|
2849
|
+
* Auto-generated - do not edit
|
|
2850
|
+
*/
|
|
2851
|
+
interface SendSlackMessageResponse {
|
|
2852
|
+
success: boolean;
|
|
2853
|
+
detail: string;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2619
2856
|
/**
|
|
2620
2857
|
* ServiceStatuses
|
|
2621
2858
|
* Status of connected services.
|
|
@@ -2785,6 +3022,8 @@ interface SessionLogsStreamEvent {
|
|
|
2785
3022
|
interface SessionMetricsResponse {
|
|
2786
3023
|
session_id: string;
|
|
2787
3024
|
data_points: OTelMetricDataPoint[];
|
|
3025
|
+
has_more?: boolean | null;
|
|
3026
|
+
cursor?: string | null;
|
|
2788
3027
|
}
|
|
2789
3028
|
|
|
2790
3029
|
/**
|
|
@@ -2998,6 +3237,17 @@ interface SessionReviewerSpanNote {
|
|
|
2998
3237
|
provenance?: AnalysisProvenance | null;
|
|
2999
3238
|
}
|
|
3000
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
|
+
|
|
3001
3251
|
/**
|
|
3002
3252
|
* SessionStatusResponse
|
|
3003
3253
|
* Lightweight status response for a session.
|
|
@@ -3021,6 +3271,7 @@ interface SessionStoredWorldConfig {
|
|
|
3021
3271
|
package?: string | null;
|
|
3022
3272
|
version?: string | null;
|
|
3023
3273
|
config?: Record<string, JsonValue> | null;
|
|
3274
|
+
child_worlds?: Record<string, ChildWorldConfig> | null;
|
|
3024
3275
|
runtime?: Record<string, JsonValue> | null;
|
|
3025
3276
|
preview?: Record<string, JsonValue> | null;
|
|
3026
3277
|
}
|
|
@@ -3108,6 +3359,61 @@ interface SlackLookupResponse {
|
|
|
3108
3359
|
error?: string | null;
|
|
3109
3360
|
}
|
|
3110
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
|
+
|
|
3111
3417
|
/**
|
|
3112
3418
|
* StarredCheckpointCreate
|
|
3113
3419
|
* Request to star a checkpoint.
|
|
@@ -3166,6 +3472,17 @@ interface StarredCheckpointUpdate {
|
|
|
3166
3472
|
note?: string | null;
|
|
3167
3473
|
}
|
|
3168
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
|
+
|
|
3169
3486
|
/**
|
|
3170
3487
|
* StatusResponse
|
|
3171
3488
|
* Overall status response.
|
|
@@ -3255,6 +3572,18 @@ interface TestRunListResponse {
|
|
|
3255
3572
|
test_runs: ExperimentTestRunResponse[];
|
|
3256
3573
|
}
|
|
3257
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
|
+
|
|
3258
3587
|
/**
|
|
3259
3588
|
* TokenSummaryRecord
|
|
3260
3589
|
*
|
|
@@ -3454,6 +3783,17 @@ interface UpdateFileResponse {
|
|
|
3454
3783
|
new_manifest_hash: string;
|
|
3455
3784
|
}
|
|
3456
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
|
+
|
|
3457
3797
|
/**
|
|
3458
3798
|
* UpdateNotesRequest
|
|
3459
3799
|
* Request to update session notes.
|
|
@@ -3476,7 +3816,6 @@ interface UpdateNotesRequest {
|
|
|
3476
3816
|
*
|
|
3477
3817
|
* Auto-generated - do not edit
|
|
3478
3818
|
*/
|
|
3479
|
-
|
|
3480
3819
|
interface UpdateReviewRequest {
|
|
3481
3820
|
/** Updated name */
|
|
3482
3821
|
name?: string | null;
|
|
@@ -3486,8 +3825,6 @@ interface UpdateReviewRequest {
|
|
|
3486
3825
|
tags?: string[] | null;
|
|
3487
3826
|
/** Updated scores */
|
|
3488
3827
|
scores?: Record<string, number> | null;
|
|
3489
|
-
/** Updated scope */
|
|
3490
|
-
scope?: RouteScopeConfig | PageScopeConfig | null;
|
|
3491
3828
|
/** Updated ground truth flag */
|
|
3492
3829
|
is_ground_truth?: boolean | null;
|
|
3493
3830
|
}
|
|
@@ -4397,8 +4734,10 @@ declare class AnnotationsApi {
|
|
|
4397
4734
|
* Auto-generated - do not edit
|
|
4398
4735
|
*/
|
|
4399
4736
|
|
|
4737
|
+
interface ListAssignmentTypesParams {
|
|
4738
|
+
xApiKey?: string;
|
|
4739
|
+
}
|
|
4400
4740
|
interface ListAssignmentsApiAssignmentsGetParams {
|
|
4401
|
-
sessionId?: string;
|
|
4402
4741
|
status?: string;
|
|
4403
4742
|
xApiKey?: string;
|
|
4404
4743
|
}
|
|
@@ -4406,6 +4745,9 @@ interface CreateAssignmentApiAssignmentsPostParams {
|
|
|
4406
4745
|
xApiKey?: string;
|
|
4407
4746
|
body: CreateAssignmentBody;
|
|
4408
4747
|
}
|
|
4748
|
+
interface GetAssignmentAnalyticsParams {
|
|
4749
|
+
xApiKey?: string;
|
|
4750
|
+
}
|
|
4409
4751
|
interface GetAssignmentApiAssignmentsAssignmentIdGetParams {
|
|
4410
4752
|
assignmentId: string;
|
|
4411
4753
|
xApiKey?: string;
|
|
@@ -4421,7 +4763,13 @@ interface AutoCreateAssignmentsParams {
|
|
|
4421
4763
|
}
|
|
4422
4764
|
interface PreviewAssignmentsParams {
|
|
4423
4765
|
sessionPublicId: string;
|
|
4424
|
-
|
|
4766
|
+
artifactId?: string;
|
|
4767
|
+
xApiKey?: string;
|
|
4768
|
+
}
|
|
4769
|
+
interface StreamPreviewAssignmentsParams {
|
|
4770
|
+
sessionPublicId: string;
|
|
4771
|
+
artifactId?: string;
|
|
4772
|
+
assignmentType?: string;
|
|
4425
4773
|
xApiKey?: string;
|
|
4426
4774
|
}
|
|
4427
4775
|
interface BatchCreateAssignmentsParams {
|
|
@@ -4431,6 +4779,11 @@ interface BatchCreateAssignmentsParams {
|
|
|
4431
4779
|
declare class AssignmentsApi {
|
|
4432
4780
|
private client;
|
|
4433
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[]>;
|
|
4434
4787
|
/**
|
|
4435
4788
|
* List Assignments
|
|
4436
4789
|
* List assignments for your org.
|
|
@@ -4441,6 +4794,19 @@ declare class AssignmentsApi {
|
|
|
4441
4794
|
* Create a new assignment for a session.
|
|
4442
4795
|
*/
|
|
4443
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>;
|
|
4444
4810
|
/**
|
|
4445
4811
|
* Get Assignment
|
|
4446
4812
|
* Get a single assignment.
|
|
@@ -4459,10 +4825,16 @@ declare class AssignmentsApi {
|
|
|
4459
4825
|
/**
|
|
4460
4826
|
* Preview Assignments
|
|
4461
4827
|
* Preview assignments that would be created for a session without persisting them.
|
|
4462
|
-
|
|
4463
|
-
scope_type: "route" | "page"
|
|
4464
4828
|
*/
|
|
4465
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>;
|
|
4466
4838
|
/**
|
|
4467
4839
|
* Batch Create Assignments
|
|
4468
4840
|
* Create multiple assignments at once in the caller's org.
|
|
@@ -4489,6 +4861,10 @@ interface RefreshOauthApiAuthRefreshOauthPostParams {
|
|
|
4489
4861
|
xApiKey?: string;
|
|
4490
4862
|
body: ClaudeCodeOAuthRefreshRequest;
|
|
4491
4863
|
}
|
|
4864
|
+
interface AuthzCheckApiAuthAuthzCheckGetParams {
|
|
4865
|
+
role: string;
|
|
4866
|
+
xApiKey?: string;
|
|
4867
|
+
}
|
|
4492
4868
|
declare class AuthApi {
|
|
4493
4869
|
private client;
|
|
4494
4870
|
constructor(client: ApiClient);
|
|
@@ -4529,6 +4905,13 @@ declare class AuthApi {
|
|
|
4529
4905
|
row as a lock. If another agent already refreshed, returns cached creds.
|
|
4530
4906
|
*/
|
|
4531
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>;
|
|
4532
4915
|
/**
|
|
4533
4916
|
* Debug Auth
|
|
4534
4917
|
* Debug endpoint to see what auth info is being received.
|
|
@@ -5233,6 +5616,10 @@ declare class JobsApi {
|
|
|
5233
5616
|
interface GetSessionMetricsApiOtelSessionsSessionIdMetricsGetParams {
|
|
5234
5617
|
sessionId: string;
|
|
5235
5618
|
envAlias?: string;
|
|
5619
|
+
/** Opaque cursor (batch ID) for pagination */
|
|
5620
|
+
cursor?: string;
|
|
5621
|
+
/** Max number of batches to process */
|
|
5622
|
+
limit?: number;
|
|
5236
5623
|
xApiKey?: string;
|
|
5237
5624
|
}
|
|
5238
5625
|
interface GetSessionTracesApiOtelSessionsSessionIdTracesGetParams {
|
|
@@ -5278,6 +5665,8 @@ declare class OtelApi {
|
|
|
5278
5665
|
* Get stored OTLP metrics for a session.
|
|
5279
5666
|
|
|
5280
5667
|
Returns raw metric data points, optionally filtered by env_alias.
|
|
5668
|
+
Uses cursor-based pagination over metric batches to avoid loading
|
|
5669
|
+
all data into memory at once.
|
|
5281
5670
|
*/
|
|
5282
5671
|
getSessionMetricsApiOtelSessionsSessionIdMetricsGet(params: GetSessionMetricsApiOtelSessionsSessionIdMetricsGetParams, options?: RequestOptions): Promise<SessionMetricsResponse>;
|
|
5283
5672
|
/**
|
|
@@ -5411,6 +5800,12 @@ interface CopyAnnotationsToReviewApiReviewsReviewPublicIdCopyFromSourceReviewPub
|
|
|
5411
5800
|
xApiKey?: string;
|
|
5412
5801
|
body: CopyAnnotationsRequest;
|
|
5413
5802
|
}
|
|
5803
|
+
interface UpdateReviewNodeParams {
|
|
5804
|
+
reviewPublicId: string;
|
|
5805
|
+
nodeId: string;
|
|
5806
|
+
xApiKey?: string;
|
|
5807
|
+
body: UpdateNodeRequest;
|
|
5808
|
+
}
|
|
5414
5809
|
declare class ReviewsApi {
|
|
5415
5810
|
private client;
|
|
5416
5811
|
constructor(client: ApiClient);
|
|
@@ -5454,6 +5849,11 @@ declare class ReviewsApi {
|
|
|
5454
5849
|
* Copy top-level annotations from a source review.
|
|
5455
5850
|
*/
|
|
5456
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>;
|
|
5457
5857
|
}
|
|
5458
5858
|
|
|
5459
5859
|
/**
|
|
@@ -5605,6 +6005,11 @@ interface CompleteSessionParams {
|
|
|
5605
6005
|
xApiKey?: string;
|
|
5606
6006
|
body: CompleteSessionRequest;
|
|
5607
6007
|
}
|
|
6008
|
+
interface LinkPlatoSessionParams {
|
|
6009
|
+
publicId: string;
|
|
6010
|
+
xApiKey?: string;
|
|
6011
|
+
body: LinkPlatoSessionRequest;
|
|
6012
|
+
}
|
|
5608
6013
|
interface GetSessionLogsParams {
|
|
5609
6014
|
publicId: string;
|
|
5610
6015
|
limit?: number;
|
|
@@ -5816,6 +6221,14 @@ declare class SessionsApi {
|
|
|
5816
6221
|
Also closes the Plato session to release VM resources.
|
|
5817
6222
|
*/
|
|
5818
6223
|
completeSession(params: CompleteSessionParams, options?: RequestOptions): Promise<SessionResponse>;
|
|
6224
|
+
/**
|
|
6225
|
+
* Link Plato Session
|
|
6226
|
+
* Link a Plato session to an existing Chronos session.
|
|
6227
|
+
|
|
6228
|
+
Used by dev/test runners that create the Chronos session first (for OTel),
|
|
6229
|
+
then create the Plato session separately.
|
|
6230
|
+
*/
|
|
6231
|
+
linkPlatoSession(params: LinkPlatoSessionParams, options?: RequestOptions): Promise<SessionResponse>;
|
|
5819
6232
|
/**
|
|
5820
6233
|
* Get Session Logs
|
|
5821
6234
|
* Get logs/events for a session with cursor-based pagination.
|
|
@@ -5972,6 +6385,55 @@ declare class SettingsApi {
|
|
|
5972
6385
|
slackLookupByEmail(params: SlackLookupByEmailParams, options?: RequestOptions): Promise<SlackLookupResponse>;
|
|
5973
6386
|
}
|
|
5974
6387
|
|
|
6388
|
+
/**
|
|
6389
|
+
* slack API
|
|
6390
|
+
*
|
|
6391
|
+
* Auto-generated - do not edit
|
|
6392
|
+
*/
|
|
6393
|
+
|
|
6394
|
+
interface SendSlackMessageParams {
|
|
6395
|
+
xApiKey?: string;
|
|
6396
|
+
body: SendSlackMessageRequest;
|
|
6397
|
+
}
|
|
6398
|
+
declare class SlackApi {
|
|
6399
|
+
private client;
|
|
6400
|
+
constructor(client: ApiClient);
|
|
6401
|
+
/**
|
|
6402
|
+
* Send Slack Message
|
|
6403
|
+
* Send a custom Slack message tagged with the authenticated user.
|
|
6404
|
+
*/
|
|
6405
|
+
sendSlackMessage(params: SendSlackMessageParams, options?: RequestOptions): Promise<SendSlackMessageResponse>;
|
|
6406
|
+
}
|
|
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
|
+
|
|
5975
6437
|
/**
|
|
5976
6438
|
* starred_checkpoints API
|
|
5977
6439
|
*
|
|
@@ -6438,6 +6900,8 @@ declare class ChronosClient {
|
|
|
6438
6900
|
readonly savedFilters: SavedFiltersApi;
|
|
6439
6901
|
readonly sessions: SessionsApi;
|
|
6440
6902
|
readonly settings: SettingsApi;
|
|
6903
|
+
readonly slack: SlackApi;
|
|
6904
|
+
readonly stages: StagesApi;
|
|
6441
6905
|
readonly starredCheckpoints: StarredCheckpointsApi;
|
|
6442
6906
|
readonly status: StatusApi;
|
|
6443
6907
|
readonly workspaceRepos: WorkspaceReposApi;
|
|
@@ -6449,4 +6913,4 @@ declare class ChronosClient {
|
|
|
6449
6913
|
getApiClient(): ApiClient;
|
|
6450
6914
|
}
|
|
6451
6915
|
|
|
6452
|
-
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, 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 LiveLogsResponse, type LogCoverageRuleSet, type LogScopePartitioning, type LogsDownloadResponse, type ModelRef, type NavigateAnchorSessionRequest, type OAuthRefreshResponse, type OTelMetricDataPoint, type OTelSpanListResponse, type OTelSpanSchema, type OTelTraceResponse, OtelApi, type
|
|
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 };
|