plato-sandbox-sdk 1.1.26 → 1.1.28
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 +438 -26
- package/dist/chronos/index.d.ts +438 -26
- package/dist/chronos/index.js +85 -0
- package/dist/chronos/index.mjs +1 -1
- package/dist/{chunk-AUQ2R2X7.mjs → chunk-POSOEUQY.mjs} +85 -0
- package/dist/index.d.mts +31 -5
- package/dist/index.d.ts +31 -5
- package/dist/index.js +85 -0
- package/dist/index.mjs +2 -2
- package/dist/plato/index.d.mts +17 -14
- package/dist/plato/index.d.ts +17 -14
- package/dist/plato/index.mjs +1 -1
- package/package.json +1 -1
- package/src/chronos/api/auth.ts +42 -3
- package/src/chronos/api/jobs.ts +33 -1
- package/src/chronos/api/otel.ts +3 -3
- package/src/chronos/api/registry.ts +37 -0
- package/src/chronos/api/reviews.ts +17 -0
- package/src/chronos/api/sessions.ts +8 -2
- package/src/chronos/api/workspace_repos.ts +2 -2
- package/src/chronos/models/AuthSessionResponse.ts +3 -1
- package/src/chronos/models/AuthStatusResponse.ts +3 -1
- package/src/chronos/models/ClaudeCodeOAuthRefreshRequest.ts +14 -0
- package/src/chronos/models/CompleteSessionRequest.ts +3 -1
- package/src/chronos/models/CreateWorkspaceRefRequest.ts +1 -0
- package/src/chronos/models/ExperimentLaunchConfig.ts +26 -0
- package/src/chronos/models/ExperimentSessionCountResponse.ts +10 -0
- package/src/chronos/models/ExperimentVersionResponse.ts +2 -2
- package/src/chronos/models/FeedbackWidget.ts +8 -0
- package/src/chronos/models/JsonValue.ts +8 -0
- package/src/chronos/models/LaunchExperimentRequest.ts +12 -0
- package/src/chronos/models/LaunchJobRequest.ts +2 -2
- package/src/chronos/models/OAuthRefreshResponse.ts +14 -0
- package/src/chronos/models/OTelMetricDataPoint.ts +18 -0
- package/src/chronos/models/PlatoUser.ts +16 -0
- package/src/chronos/models/RenderWidget.ts +20 -0
- package/src/chronos/models/ReviewWidgetSchemaResponse.ts +15 -0
- package/src/chronos/models/SavedFilterCreate.ts +3 -1
- package/src/chronos/models/SavedFilterResponse.ts +3 -1
- package/src/chronos/models/SavedSessionFilters.ts +19 -0
- package/src/chronos/models/SessionCheckpointInfoResponse.ts +16 -0
- package/src/chronos/models/SessionLaunchConfig.ts +15 -0
- package/src/chronos/models/SessionMetricsResponse.ts +13 -0
- package/src/chronos/models/SessionResponse.ts +7 -3
- package/src/chronos/models/SessionReviewerSpanNote.ts +2 -2
- package/src/chronos/models/SessionStoredWorldConfig.ts +16 -0
- package/src/chronos/models/SessionWorldInfo.ts +3 -1
- package/src/chronos/models/TrajectoryWorldInfo.ts +2 -2
- package/src/chronos/models/UpdateSpanNoteRequest.ts +3 -1
- package/src/chronos/models/UsageStatsResponse.ts +10 -1
- package/src/chronos/models/UserWorldStatsEntry.ts +16 -0
- package/src/chronos/models/WorkspaceRefResponse.ts +1 -0
- package/src/chronos/models/WorkspaceSnapshotInfo.ts +12 -0
- package/src/chronos/models/WorldCatalogDetailResponse.ts +14 -0
- package/src/chronos/models/WorldCatalogEntry.ts +12 -0
- package/src/chronos/models/WorldConfigAgentEntry.ts +12 -0
- package/src/chronos/models/{WorldConfig.ts → WorldConfigInput.ts} +4 -4
- package/src/chronos/models/WorldConfigNamedEntry.ts +11 -0
- package/src/chronos/models/WorldConfigOutput.ts +19 -0
- package/src/chronos/models/WorldConfigSchema.ts +14 -0
- package/src/chronos/models/WorldCreate.ts +3 -1
- package/src/chronos/models/WorldLeaderboardEntry.ts +17 -0
- package/src/chronos/models/WorldResponse.ts +3 -1
- package/src/chronos/models/WorldSchemaResponse.ts +4 -2
- package/src/chronos/models/index.ts +26 -1
- package/src/plato/models/AppApiV2TestcaseRoutesAutoVerifyRequest.ts +1 -12
- package/src/plato/models/AppApiV2TestcaseRoutesAutoVerifySessionInput.ts +1 -1
- package/src/plato/models/AppApiV2TestcaseRoutesGenerateScoringConfigFromSessionsRequest.ts +0 -2
- package/src/plato/models/AutoVerifySession.ts +11 -0
- package/src/plato/models/CreateTestCaseRequest.ts +1 -1
- package/src/plato/models/GenerateScoringConfigRequest.ts +0 -2
- package/src/plato/models/SessionInput.ts +1 -1
- package/src/plato/models/V2ScoringGenerationResultInput.ts +2 -0
- package/src/plato/models/V2ScoringGenerationResultOutput.ts +2 -0
- package/src/plato/models/index.ts +1 -0
- /package/dist/{chunk-K5CLQGXP.mjs → chunk-FKEFT3JQ.mjs} +0 -0
package/dist/chronos/index.d.mts
CHANGED
|
@@ -497,9 +497,10 @@ interface AuditSummaryResponse {
|
|
|
497
497
|
*
|
|
498
498
|
* Auto-generated - do not edit
|
|
499
499
|
*/
|
|
500
|
+
|
|
500
501
|
interface AuthSessionResponse {
|
|
501
502
|
authenticated: boolean;
|
|
502
|
-
user
|
|
503
|
+
user: PlatoUser | null;
|
|
503
504
|
env?: string | null;
|
|
504
505
|
api_key?: string | null;
|
|
505
506
|
}
|
|
@@ -510,9 +511,10 @@ interface AuthSessionResponse {
|
|
|
510
511
|
*
|
|
511
512
|
* Auto-generated - do not edit
|
|
512
513
|
*/
|
|
514
|
+
|
|
513
515
|
interface AuthStatusResponse {
|
|
514
516
|
authenticated: boolean;
|
|
515
|
-
user
|
|
517
|
+
user: PlatoUser | null;
|
|
516
518
|
env: string;
|
|
517
519
|
}
|
|
518
520
|
|
|
@@ -590,6 +592,20 @@ interface ChildSessionSummary {
|
|
|
590
592
|
total_cost_usd?: number | null;
|
|
591
593
|
}
|
|
592
594
|
|
|
595
|
+
/**
|
|
596
|
+
* ClaudeCodeOAuthRefreshRequest
|
|
597
|
+
* OAuth refresh request for Claude Code (Anthropic OAuth).
|
|
598
|
+
*
|
|
599
|
+
* Auto-generated - do not edit
|
|
600
|
+
*/
|
|
601
|
+
interface ClaudeCodeOAuthRefreshRequest {
|
|
602
|
+
refresh_token: string;
|
|
603
|
+
scopes: string[];
|
|
604
|
+
current_expires_at: number;
|
|
605
|
+
provider?: string | null;
|
|
606
|
+
client_id?: string | null;
|
|
607
|
+
}
|
|
608
|
+
|
|
593
609
|
/**
|
|
594
610
|
* ClearDbResult
|
|
595
611
|
* Result of clearing the database.
|
|
@@ -619,6 +635,7 @@ interface CloseSessionResponse {
|
|
|
619
635
|
*
|
|
620
636
|
* Auto-generated - do not edit
|
|
621
637
|
*/
|
|
638
|
+
|
|
622
639
|
interface CompleteSessionRequest {
|
|
623
640
|
/** Final status: 'completed', 'failed', or 'needs_human_annotation' */
|
|
624
641
|
status: string;
|
|
@@ -627,7 +644,7 @@ interface CompleteSessionRequest {
|
|
|
627
644
|
/** Error message if failed */
|
|
628
645
|
error_message?: string | null;
|
|
629
646
|
/** Final observation/result data from the world */
|
|
630
|
-
result?: Record<string,
|
|
647
|
+
result?: Record<string, JsonValue> | null;
|
|
631
648
|
}
|
|
632
649
|
|
|
633
650
|
/**
|
|
@@ -1034,6 +1051,7 @@ interface CreateWorkspaceRefRequest {
|
|
|
1034
1051
|
source_step_name?: string | null;
|
|
1035
1052
|
changed?: boolean | null;
|
|
1036
1053
|
content_hash?: string | null;
|
|
1054
|
+
trigger_span_id?: string | null;
|
|
1037
1055
|
git_hash?: string | null;
|
|
1038
1056
|
branch?: string | null;
|
|
1039
1057
|
}
|
|
@@ -1284,6 +1302,41 @@ interface ExperimentFileVersionUpdateRequest {
|
|
|
1284
1302
|
notes?: string | null;
|
|
1285
1303
|
}
|
|
1286
1304
|
|
|
1305
|
+
/**
|
|
1306
|
+
* ExperimentLaunchConfig
|
|
1307
|
+
* Structured config stored with an experiment version.
|
|
1308
|
+
|
|
1309
|
+
Inherits all fields from LaunchJobRequest (world, tags, allow_prerelease,
|
|
1310
|
+
parent_session_id, preview) so the two schemas stay in sync. Adds
|
|
1311
|
+
extra="allow" for forward-compatibility with stored configs and a
|
|
1312
|
+
metadata field for experiment-specific data.
|
|
1313
|
+
*
|
|
1314
|
+
* Auto-generated - do not edit
|
|
1315
|
+
*/
|
|
1316
|
+
|
|
1317
|
+
interface ExperimentLaunchConfig {
|
|
1318
|
+
world?: WorldConfigOutput | null;
|
|
1319
|
+
/** Tags for organizing/filtering sessions */
|
|
1320
|
+
tags?: string[] | null;
|
|
1321
|
+
/** Allow prerelease versions (dev, alpha, beta, rc) for packages */
|
|
1322
|
+
allow_prerelease?: boolean | null;
|
|
1323
|
+
/** Parent session ID for nested sessions */
|
|
1324
|
+
parent_session_id?: string | null;
|
|
1325
|
+
/** Optional preview-mode launch settings */
|
|
1326
|
+
preview?: PreviewLaunchConfig | null;
|
|
1327
|
+
metadata?: Record<string, JsonValue> | null;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* ExperimentSessionCountResponse
|
|
1332
|
+
*
|
|
1333
|
+
* Auto-generated - do not edit
|
|
1334
|
+
*/
|
|
1335
|
+
interface ExperimentSessionCountResponse {
|
|
1336
|
+
total_experiment_sessions?: number | null;
|
|
1337
|
+
experiments_with_sessions?: number | null;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1287
1340
|
/**
|
|
1288
1341
|
* ExperimentSessionSummary
|
|
1289
1342
|
* Session attached to an experiment file version.
|
|
@@ -1315,7 +1368,7 @@ interface ExperimentVersionResponse {
|
|
|
1315
1368
|
created_at: string;
|
|
1316
1369
|
created_by?: UserInfo | null;
|
|
1317
1370
|
attached_session_count?: number | null;
|
|
1318
|
-
config_json?:
|
|
1371
|
+
config_json?: ExperimentLaunchConfig | null;
|
|
1319
1372
|
attached_sessions?: ExperimentSessionSummary[] | null;
|
|
1320
1373
|
}
|
|
1321
1374
|
|
|
@@ -1331,6 +1384,14 @@ interface FeatureFlagCheckResult {
|
|
|
1331
1384
|
org_id: number;
|
|
1332
1385
|
}
|
|
1333
1386
|
|
|
1387
|
+
/**
|
|
1388
|
+
* FeedbackWidget
|
|
1389
|
+
* Available feedback input widgets for review model feedback fields.
|
|
1390
|
+
*
|
|
1391
|
+
* Auto-generated - do not edit
|
|
1392
|
+
*/
|
|
1393
|
+
type FeedbackWidget = 'text' | 'textarea' | 'select' | 'boolean' | 'rating' | 'agree_disagree';
|
|
1394
|
+
|
|
1334
1395
|
/**
|
|
1335
1396
|
* FindOrCreateReviewRequest
|
|
1336
1397
|
*
|
|
@@ -1350,6 +1411,16 @@ interface HTTPValidationError {
|
|
|
1350
1411
|
detail?: ValidationError[] | null;
|
|
1351
1412
|
}
|
|
1352
1413
|
|
|
1414
|
+
/**
|
|
1415
|
+
* JsonValue
|
|
1416
|
+
* Recursive JSON-compatible value type.
|
|
1417
|
+
*
|
|
1418
|
+
* Auto-generated - do not edit
|
|
1419
|
+
*/
|
|
1420
|
+
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
1421
|
+
[key: string]: JsonValue;
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1353
1424
|
/**
|
|
1354
1425
|
* HillclimbRunResponse
|
|
1355
1426
|
*
|
|
@@ -1379,6 +1450,19 @@ interface IssueReference {
|
|
|
1379
1450
|
url?: string | null;
|
|
1380
1451
|
}
|
|
1381
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* LaunchExperimentRequest
|
|
1455
|
+
* Request to launch a session from an experiment version.
|
|
1456
|
+
|
|
1457
|
+
The full config (including world.runtime and tags) is pulled from the experiment
|
|
1458
|
+
version's config_json in the database. No frontend logic needed - just pass the
|
|
1459
|
+
version ID.
|
|
1460
|
+
*
|
|
1461
|
+
* Auto-generated - do not edit
|
|
1462
|
+
*/
|
|
1463
|
+
interface LaunchExperimentRequest {
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1382
1466
|
/**
|
|
1383
1467
|
* LaunchJobRequest
|
|
1384
1468
|
* Request to launch a job directly (image-based, no runtime artifacts).
|
|
@@ -1388,7 +1472,7 @@ interface IssueReference {
|
|
|
1388
1472
|
|
|
1389
1473
|
interface LaunchJobRequest {
|
|
1390
1474
|
/** World package, image, and configuration */
|
|
1391
|
-
world:
|
|
1475
|
+
world: WorldConfigInput;
|
|
1392
1476
|
/** Tags for organizing/filtering sessions */
|
|
1393
1477
|
tags?: string[] | null;
|
|
1394
1478
|
/** Allow prerelease versions (dev, alpha, beta, rc) for packages */
|
|
@@ -1469,6 +1553,37 @@ interface ModelRef {
|
|
|
1469
1553
|
model?: string | null;
|
|
1470
1554
|
}
|
|
1471
1555
|
|
|
1556
|
+
/**
|
|
1557
|
+
* OAuthRefreshResponse
|
|
1558
|
+
* Response with refreshed OAuth credentials.
|
|
1559
|
+
*
|
|
1560
|
+
* Auto-generated - do not edit
|
|
1561
|
+
*/
|
|
1562
|
+
interface OAuthRefreshResponse {
|
|
1563
|
+
access_token: string;
|
|
1564
|
+
refresh_token: string;
|
|
1565
|
+
expires_at: number;
|
|
1566
|
+
scopes: string[];
|
|
1567
|
+
already_refreshed?: boolean | null;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* OTelMetricDataPoint
|
|
1572
|
+
* One OTLP metric datapoint returned by Chronos.
|
|
1573
|
+
*
|
|
1574
|
+
* Auto-generated - do not edit
|
|
1575
|
+
*/
|
|
1576
|
+
|
|
1577
|
+
interface OTelMetricDataPoint {
|
|
1578
|
+
name: string;
|
|
1579
|
+
unit: string;
|
|
1580
|
+
env_alias: string | null;
|
|
1581
|
+
job_id: string;
|
|
1582
|
+
value: number | null;
|
|
1583
|
+
time_unix_nano: string | null;
|
|
1584
|
+
attributes: Record<string, JsonValue>;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1472
1587
|
/**
|
|
1473
1588
|
* OTelSpanListResponse
|
|
1474
1589
|
* List of OTel spans.
|
|
@@ -1535,6 +1650,22 @@ interface PerAgentReport {
|
|
|
1535
1650
|
model_recommendation?: string | null;
|
|
1536
1651
|
}
|
|
1537
1652
|
|
|
1653
|
+
/**
|
|
1654
|
+
* PlatoUser
|
|
1655
|
+
* User from Plato API.
|
|
1656
|
+
*
|
|
1657
|
+
* Auto-generated - do not edit
|
|
1658
|
+
*/
|
|
1659
|
+
interface PlatoUser {
|
|
1660
|
+
id: number;
|
|
1661
|
+
public_id: string;
|
|
1662
|
+
email: string;
|
|
1663
|
+
name?: string | null;
|
|
1664
|
+
organization_id?: number | null;
|
|
1665
|
+
organization_name?: string | null;
|
|
1666
|
+
is_org_key?: boolean | null;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1538
1669
|
/**
|
|
1539
1670
|
* PreservationRuleSet
|
|
1540
1671
|
*
|
|
@@ -1671,6 +1802,14 @@ interface RejectRunRequest {
|
|
|
1671
1802
|
reason?: string | null;
|
|
1672
1803
|
}
|
|
1673
1804
|
|
|
1805
|
+
/**
|
|
1806
|
+
* RenderWidget
|
|
1807
|
+
* Available render widgets for review model fields.
|
|
1808
|
+
*
|
|
1809
|
+
* Auto-generated - do not edit
|
|
1810
|
+
*/
|
|
1811
|
+
type RenderWidget = 'score_bar' | 'pass_fail_badge' | 'severity_badge' | 'code_snippet' | 'markdown' | 'json_tree' | 'link' | 'tag_list' | 'image' | 'diff' | 'table' | 'hidden';
|
|
1812
|
+
|
|
1674
1813
|
/**
|
|
1675
1814
|
* ReviewIssue
|
|
1676
1815
|
*
|
|
@@ -1722,6 +1861,20 @@ interface ReviewResponse {
|
|
|
1722
1861
|
session?: SessionSummary | null;
|
|
1723
1862
|
}
|
|
1724
1863
|
|
|
1864
|
+
/**
|
|
1865
|
+
* ReviewWidgetSchemaResponse
|
|
1866
|
+
* Schema of available widgets for review models.
|
|
1867
|
+
*
|
|
1868
|
+
* Auto-generated - do not edit
|
|
1869
|
+
*/
|
|
1870
|
+
|
|
1871
|
+
interface ReviewWidgetSchemaResponse {
|
|
1872
|
+
/** Available render widgets for display fields */
|
|
1873
|
+
render_widgets: RenderWidget[];
|
|
1874
|
+
/** Available feedback input widgets */
|
|
1875
|
+
feedback_widgets: FeedbackWidget[];
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1725
1878
|
/**
|
|
1726
1879
|
* RunLifecycle
|
|
1727
1880
|
*
|
|
@@ -1764,9 +1917,10 @@ interface SSOLoginRequest {
|
|
|
1764
1917
|
*
|
|
1765
1918
|
* Auto-generated - do not edit
|
|
1766
1919
|
*/
|
|
1920
|
+
|
|
1767
1921
|
interface SavedFilterCreate {
|
|
1768
1922
|
name: string;
|
|
1769
|
-
filters:
|
|
1923
|
+
filters: SavedSessionFilters;
|
|
1770
1924
|
}
|
|
1771
1925
|
|
|
1772
1926
|
/**
|
|
@@ -1786,13 +1940,33 @@ interface SavedFilterListResponse {
|
|
|
1786
1940
|
*
|
|
1787
1941
|
* Auto-generated - do not edit
|
|
1788
1942
|
*/
|
|
1943
|
+
|
|
1789
1944
|
interface SavedFilterResponse {
|
|
1790
1945
|
id: number;
|
|
1791
1946
|
name: string;
|
|
1792
|
-
filters:
|
|
1947
|
+
filters: SavedSessionFilters;
|
|
1793
1948
|
created_at: string;
|
|
1794
1949
|
}
|
|
1795
1950
|
|
|
1951
|
+
/**
|
|
1952
|
+
* SavedSessionFilters
|
|
1953
|
+
* Structured saved filters for session list views.
|
|
1954
|
+
|
|
1955
|
+
Uses ``extra="allow"`` so that filters stored in the database with
|
|
1956
|
+
additional keys (e.g. future filter fields) do not cause validation
|
|
1957
|
+
errors when read back.
|
|
1958
|
+
*
|
|
1959
|
+
* Auto-generated - do not edit
|
|
1960
|
+
*/
|
|
1961
|
+
interface SavedSessionFilters {
|
|
1962
|
+
tag?: string | null;
|
|
1963
|
+
tags?: string[] | null;
|
|
1964
|
+
tags_mode?: string | null;
|
|
1965
|
+
exclude_tags?: string[] | null;
|
|
1966
|
+
created_by?: string | null;
|
|
1967
|
+
status?: string | null;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1796
1970
|
/**
|
|
1797
1971
|
* ServiceStatuses
|
|
1798
1972
|
* Status of connected services.
|
|
@@ -1805,6 +1979,21 @@ interface ServiceStatuses {
|
|
|
1805
1979
|
plato: string;
|
|
1806
1980
|
}
|
|
1807
1981
|
|
|
1982
|
+
/**
|
|
1983
|
+
* SessionCheckpointInfoResponse
|
|
1984
|
+
* Checkpoint metadata and snapshots for a session.
|
|
1985
|
+
*
|
|
1986
|
+
* Auto-generated - do not edit
|
|
1987
|
+
*/
|
|
1988
|
+
|
|
1989
|
+
interface SessionCheckpointInfoResponse {
|
|
1990
|
+
session_id: string;
|
|
1991
|
+
workspaces: Record<string, string>;
|
|
1992
|
+
snapshots: WorkspaceSnapshotInfo[];
|
|
1993
|
+
resumable_steps: number[];
|
|
1994
|
+
state_keys: string[];
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1808
1997
|
/**
|
|
1809
1998
|
* SessionCostEntry
|
|
1810
1999
|
* Lightweight session entry for cost aggregation.
|
|
@@ -1855,6 +2044,20 @@ interface SessionEnvsResponse {
|
|
|
1855
2044
|
envs: EnvInfoResponse[];
|
|
1856
2045
|
}
|
|
1857
2046
|
|
|
2047
|
+
/**
|
|
2048
|
+
* SessionLaunchConfig
|
|
2049
|
+
* Explicit launch config projection for frontend consumers.
|
|
2050
|
+
*
|
|
2051
|
+
* Auto-generated - do not edit
|
|
2052
|
+
*/
|
|
2053
|
+
|
|
2054
|
+
interface SessionLaunchConfig {
|
|
2055
|
+
package: string;
|
|
2056
|
+
version?: string | null;
|
|
2057
|
+
config?: Record<string, JsonValue> | null;
|
|
2058
|
+
runtime?: Record<string, JsonValue> | null;
|
|
2059
|
+
}
|
|
2060
|
+
|
|
1858
2061
|
/**
|
|
1859
2062
|
* SessionLineageEntry
|
|
1860
2063
|
* One entry in a session lineage chain.
|
|
@@ -1908,6 +2111,18 @@ interface SessionLogsResponse {
|
|
|
1908
2111
|
audit_events?: Record<string, AuditEventResponse[]> | null;
|
|
1909
2112
|
}
|
|
1910
2113
|
|
|
2114
|
+
/**
|
|
2115
|
+
* SessionMetricsResponse
|
|
2116
|
+
* OTel metrics response for a session.
|
|
2117
|
+
*
|
|
2118
|
+
* Auto-generated - do not edit
|
|
2119
|
+
*/
|
|
2120
|
+
|
|
2121
|
+
interface SessionMetricsResponse {
|
|
2122
|
+
session_id: string;
|
|
2123
|
+
data_points: OTelMetricDataPoint[];
|
|
2124
|
+
}
|
|
2125
|
+
|
|
1911
2126
|
/**
|
|
1912
2127
|
* SessionNoteUserRef
|
|
1913
2128
|
*
|
|
@@ -1965,9 +2180,10 @@ interface SessionResponse {
|
|
|
1965
2180
|
ended_at: string | null;
|
|
1966
2181
|
created_at: string;
|
|
1967
2182
|
world?: SessionWorldInfo | null;
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2183
|
+
launch_config?: SessionLaunchConfig | null;
|
|
2184
|
+
world_config?: SessionStoredWorldConfig | null;
|
|
2185
|
+
trajectory?: Record<string, JsonValue> | null;
|
|
2186
|
+
result?: Record<string, JsonValue> | null;
|
|
1971
2187
|
total_cost_usd?: number | null;
|
|
1972
2188
|
logs_url?: string | null;
|
|
1973
2189
|
tags?: string[] | null;
|
|
@@ -2101,7 +2317,7 @@ interface SessionReviewerSpanNote {
|
|
|
2101
2317
|
source?: string | null;
|
|
2102
2318
|
atif_step_id?: number | null;
|
|
2103
2319
|
model_name?: string | null;
|
|
2104
|
-
metadata?: Record<string,
|
|
2320
|
+
metadata?: Record<string, JsonValue> | null;
|
|
2105
2321
|
created_at?: string | null;
|
|
2106
2322
|
updated_at?: string | null;
|
|
2107
2323
|
created_by?: SessionNoteUserRef | null;
|
|
@@ -2129,6 +2345,21 @@ interface SessionStatusResponse {
|
|
|
2129
2345
|
status_reason?: string | null;
|
|
2130
2346
|
}
|
|
2131
2347
|
|
|
2348
|
+
/**
|
|
2349
|
+
* SessionStoredWorldConfig
|
|
2350
|
+
* Stored session world config shape used in session responses.
|
|
2351
|
+
*
|
|
2352
|
+
* Auto-generated - do not edit
|
|
2353
|
+
*/
|
|
2354
|
+
|
|
2355
|
+
interface SessionStoredWorldConfig {
|
|
2356
|
+
package?: string | null;
|
|
2357
|
+
version?: string | null;
|
|
2358
|
+
config?: Record<string, JsonValue> | null;
|
|
2359
|
+
runtime?: Record<string, JsonValue> | null;
|
|
2360
|
+
preview?: Record<string, JsonValue> | null;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2132
2363
|
/**
|
|
2133
2364
|
* SessionSummary
|
|
2134
2365
|
* Lightweight session info embedded in review responses.
|
|
@@ -2179,11 +2410,12 @@ interface SessionTrajectory {
|
|
|
2179
2410
|
*
|
|
2180
2411
|
* Auto-generated - do not edit
|
|
2181
2412
|
*/
|
|
2413
|
+
|
|
2182
2414
|
interface SessionWorldInfo {
|
|
2183
2415
|
name: string;
|
|
2184
2416
|
package_name: string;
|
|
2185
2417
|
version?: string | null;
|
|
2186
|
-
config_schema?:
|
|
2418
|
+
config_schema?: WorldConfigSchema | null;
|
|
2187
2419
|
}
|
|
2188
2420
|
|
|
2189
2421
|
/**
|
|
@@ -2450,7 +2682,7 @@ interface TrajectoryToolCall {
|
|
|
2450
2682
|
interface TrajectoryWorldInfo {
|
|
2451
2683
|
name?: string | null;
|
|
2452
2684
|
version?: string | null;
|
|
2453
|
-
config?: Record<string,
|
|
2685
|
+
config?: Record<string, JsonValue> | null;
|
|
2454
2686
|
observation?: string | null;
|
|
2455
2687
|
steps?: WorldStep[] | null;
|
|
2456
2688
|
}
|
|
@@ -2560,6 +2792,7 @@ interface UpdateSettingRequest {
|
|
|
2560
2792
|
*
|
|
2561
2793
|
* Auto-generated - do not edit
|
|
2562
2794
|
*/
|
|
2795
|
+
|
|
2563
2796
|
interface UpdateSpanNoteRequest {
|
|
2564
2797
|
/** User-authored note text. Empty/null removes the span note. */
|
|
2565
2798
|
note?: string | null;
|
|
@@ -2574,7 +2807,7 @@ interface UpdateSpanNoteRequest {
|
|
|
2574
2807
|
/** LLM model name when available */
|
|
2575
2808
|
model_name?: string | null;
|
|
2576
2809
|
/** Additional structured metadata for later querying */
|
|
2577
|
-
metadata?: Record<string,
|
|
2810
|
+
metadata?: Record<string, JsonValue> | null;
|
|
2578
2811
|
}
|
|
2579
2812
|
|
|
2580
2813
|
/**
|
|
@@ -2607,7 +2840,10 @@ interface UpdateTagsRequest {
|
|
|
2607
2840
|
|
|
2608
2841
|
interface UsageStatsResponse {
|
|
2609
2842
|
leaderboard: UserLeaderboardEntry[];
|
|
2843
|
+
world_leaderboard: WorldLeaderboardEntry[];
|
|
2610
2844
|
daily_usage: DailyUsageBucketResponse[];
|
|
2845
|
+
experiment_sessions: ExperimentSessionCountResponse;
|
|
2846
|
+
user_world_stats?: UserWorldStatsEntry[] | null;
|
|
2611
2847
|
}
|
|
2612
2848
|
|
|
2613
2849
|
/**
|
|
@@ -2647,6 +2883,22 @@ interface UserLeaderboardEntry {
|
|
|
2647
2883
|
last_session_at?: string | null;
|
|
2648
2884
|
}
|
|
2649
2885
|
|
|
2886
|
+
/**
|
|
2887
|
+
* UserWorldStatsEntry
|
|
2888
|
+
*
|
|
2889
|
+
* Auto-generated - do not edit
|
|
2890
|
+
*/
|
|
2891
|
+
interface UserWorldStatsEntry {
|
|
2892
|
+
user_id: string;
|
|
2893
|
+
world_package: string;
|
|
2894
|
+
world_version?: string | null;
|
|
2895
|
+
total_sessions?: number | null;
|
|
2896
|
+
completed_sessions?: number | null;
|
|
2897
|
+
failed_sessions?: number | null;
|
|
2898
|
+
total_cost_usd?: number | null;
|
|
2899
|
+
total_vm_hours?: number | null;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2650
2902
|
/**
|
|
2651
2903
|
* VMResources
|
|
2652
2904
|
* VM resource configuration.
|
|
@@ -2720,6 +2972,7 @@ interface WorkspaceRefResponse {
|
|
|
2720
2972
|
changed?: boolean | null;
|
|
2721
2973
|
content_hash?: string | null;
|
|
2722
2974
|
dvc_files?: Record<string, string> | null;
|
|
2975
|
+
trigger_span_id?: string | null;
|
|
2723
2976
|
git_hash?: string | null;
|
|
2724
2977
|
branch?: string | null;
|
|
2725
2978
|
created_at: string;
|
|
@@ -2835,6 +3088,43 @@ interface WorkspaceRepoSizeResponse {
|
|
|
2835
3088
|
object_count: number;
|
|
2836
3089
|
}
|
|
2837
3090
|
|
|
3091
|
+
/**
|
|
3092
|
+
* WorkspaceSnapshotInfo
|
|
3093
|
+
* Single checkpoint snapshot entry.
|
|
3094
|
+
*
|
|
3095
|
+
* Auto-generated - do not edit
|
|
3096
|
+
*/
|
|
3097
|
+
interface WorkspaceSnapshotInfo {
|
|
3098
|
+
workspace: string;
|
|
3099
|
+
step: number;
|
|
3100
|
+
timestamp: string;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* WorldCatalogDetailResponse
|
|
3105
|
+
* All worlds within a package (catalog format or single-world).
|
|
3106
|
+
*
|
|
3107
|
+
* Auto-generated - do not edit
|
|
3108
|
+
*/
|
|
3109
|
+
|
|
3110
|
+
interface WorldCatalogDetailResponse {
|
|
3111
|
+
package_name: string;
|
|
3112
|
+
version?: string | null;
|
|
3113
|
+
worlds: WorldCatalogEntry[];
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
* WorldCatalogEntry
|
|
3118
|
+
* Single world entry within a package catalog.
|
|
3119
|
+
*
|
|
3120
|
+
* Auto-generated - do not edit
|
|
3121
|
+
*/
|
|
3122
|
+
interface WorldCatalogEntry {
|
|
3123
|
+
name: string;
|
|
3124
|
+
description?: string | null;
|
|
3125
|
+
has_review_schemas?: boolean | null;
|
|
3126
|
+
}
|
|
3127
|
+
|
|
2838
3128
|
/**
|
|
2839
3129
|
* WorldCatalogResponse
|
|
2840
3130
|
* Catalog of world packages.
|
|
@@ -2847,13 +3137,25 @@ interface WorldCatalogResponse {
|
|
|
2847
3137
|
}
|
|
2848
3138
|
|
|
2849
3139
|
/**
|
|
2850
|
-
*
|
|
3140
|
+
* WorldConfigAgentEntry
|
|
3141
|
+
* Agent entry in a world schema.
|
|
3142
|
+
*
|
|
3143
|
+
* Auto-generated - do not edit
|
|
3144
|
+
*/
|
|
3145
|
+
interface WorldConfigAgentEntry {
|
|
3146
|
+
name: string;
|
|
3147
|
+
description?: string | null;
|
|
3148
|
+
image?: string | null;
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* WorldConfigInput
|
|
2851
3153
|
* World configuration for launch.
|
|
2852
3154
|
*
|
|
2853
3155
|
* Auto-generated - do not edit
|
|
2854
3156
|
*/
|
|
2855
3157
|
|
|
2856
|
-
interface
|
|
3158
|
+
interface WorldConfigInput {
|
|
2857
3159
|
/** World package name with optional version (e.g., plato-world-structured-execution:0.1.17) */
|
|
2858
3160
|
package: string;
|
|
2859
3161
|
/** World name for multi-world packages. If the package registers multiple worlds, this selects which one to run. If omitted and the package has only one world, it is used automatically. */
|
|
@@ -2861,7 +3163,49 @@ interface WorldConfig {
|
|
|
2861
3163
|
/** VM runtime configuration */
|
|
2862
3164
|
runtime?: WorldRuntimeConfig | null;
|
|
2863
3165
|
/** World configuration - passed directly to world runner */
|
|
2864
|
-
config?: Record<string,
|
|
3166
|
+
config?: Record<string, JsonValue> | null;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* WorldConfigNamedEntry
|
|
3171
|
+
* Named world schema entry.
|
|
3172
|
+
*
|
|
3173
|
+
* Auto-generated - do not edit
|
|
3174
|
+
*/
|
|
3175
|
+
interface WorldConfigNamedEntry {
|
|
3176
|
+
name: string;
|
|
3177
|
+
description?: string | null;
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
/**
|
|
3181
|
+
* WorldConfigOutput
|
|
3182
|
+
* World configuration for launch.
|
|
3183
|
+
*
|
|
3184
|
+
* Auto-generated - do not edit
|
|
3185
|
+
*/
|
|
3186
|
+
|
|
3187
|
+
interface WorldConfigOutput {
|
|
3188
|
+
/** World package name with optional version (e.g., plato-world-structured-execution:0.1.17) */
|
|
3189
|
+
package: string;
|
|
3190
|
+
/** World name for multi-world packages. If the package registers multiple worlds, this selects which one to run. If omitted and the package has only one world, it is used automatically. */
|
|
3191
|
+
world_name?: string | null;
|
|
3192
|
+
/** VM runtime configuration */
|
|
3193
|
+
runtime?: WorldRuntimeConfig | null;
|
|
3194
|
+
/** World configuration - passed directly to world runner */
|
|
3195
|
+
config?: Record<string, JsonValue> | null;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* WorldConfigSchema
|
|
3200
|
+
* Structured world config schema surfaced to the frontend.
|
|
3201
|
+
*
|
|
3202
|
+
* Auto-generated - do not edit
|
|
3203
|
+
*/
|
|
3204
|
+
|
|
3205
|
+
interface WorldConfigSchema {
|
|
3206
|
+
agents?: WorldConfigAgentEntry[] | null;
|
|
3207
|
+
secrets?: WorldConfigNamedEntry[] | null;
|
|
3208
|
+
envs?: WorldConfigNamedEntry[] | null;
|
|
2865
3209
|
}
|
|
2866
3210
|
|
|
2867
3211
|
/**
|
|
@@ -2870,14 +3214,32 @@ interface WorldConfig {
|
|
|
2870
3214
|
*
|
|
2871
3215
|
* Auto-generated - do not edit
|
|
2872
3216
|
*/
|
|
3217
|
+
|
|
2873
3218
|
interface WorldCreate {
|
|
2874
3219
|
name: string;
|
|
2875
3220
|
package_name: string;
|
|
2876
3221
|
version?: string | null;
|
|
2877
|
-
config_schema?:
|
|
3222
|
+
config_schema?: WorldConfigSchema | null;
|
|
2878
3223
|
description?: string | null;
|
|
2879
3224
|
}
|
|
2880
3225
|
|
|
3226
|
+
/**
|
|
3227
|
+
* WorldLeaderboardEntry
|
|
3228
|
+
*
|
|
3229
|
+
* Auto-generated - do not edit
|
|
3230
|
+
*/
|
|
3231
|
+
interface WorldLeaderboardEntry {
|
|
3232
|
+
world_package: string;
|
|
3233
|
+
world_version?: string | null;
|
|
3234
|
+
total_sessions?: number | null;
|
|
3235
|
+
running_sessions?: number | null;
|
|
3236
|
+
completed_sessions?: number | null;
|
|
3237
|
+
failed_sessions?: number | null;
|
|
3238
|
+
total_cost_usd?: number | null;
|
|
3239
|
+
total_vm_hours?: number | null;
|
|
3240
|
+
experiment_sessions?: number | null;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
2881
3243
|
/**
|
|
2882
3244
|
* WorldListResponse
|
|
2883
3245
|
* List of worlds response.
|
|
@@ -2895,12 +3257,13 @@ interface WorldListResponse {
|
|
|
2895
3257
|
*
|
|
2896
3258
|
* Auto-generated - do not edit
|
|
2897
3259
|
*/
|
|
3260
|
+
|
|
2898
3261
|
interface WorldResponse {
|
|
2899
3262
|
public_id: string;
|
|
2900
3263
|
name: string;
|
|
2901
3264
|
package_name: string;
|
|
2902
3265
|
version: string | null;
|
|
2903
|
-
config_schema:
|
|
3266
|
+
config_schema: WorldConfigSchema | null;
|
|
2904
3267
|
description: string | null;
|
|
2905
3268
|
created_at: string;
|
|
2906
3269
|
archived_at: string | null;
|
|
@@ -2926,13 +3289,14 @@ interface WorldRuntimeConfig {
|
|
|
2926
3289
|
*
|
|
2927
3290
|
* Auto-generated - do not edit
|
|
2928
3291
|
*/
|
|
3292
|
+
|
|
2929
3293
|
interface WorldSchemaResponse {
|
|
2930
3294
|
name?: string | null;
|
|
2931
3295
|
description?: string | null;
|
|
2932
3296
|
version?: string | null;
|
|
2933
|
-
config_schema?:
|
|
3297
|
+
config_schema?: WorldConfigSchema | null;
|
|
2934
3298
|
secrets_schema?: Record<string, unknown> | null;
|
|
2935
|
-
agents?:
|
|
3299
|
+
agents?: WorldConfigAgentEntry[] | null;
|
|
2936
3300
|
image?: string | null;
|
|
2937
3301
|
resolved_world_name?: string | null;
|
|
2938
3302
|
}
|
|
@@ -3144,6 +3508,10 @@ interface GetCurrentUserRouteApiAuthMeGetParams {
|
|
|
3144
3508
|
interface CreateSessionApiAuthSessionPostParams {
|
|
3145
3509
|
body: SSOLoginRequest;
|
|
3146
3510
|
}
|
|
3511
|
+
interface RefreshOauthApiAuthRefreshOauthPostParams {
|
|
3512
|
+
xApiKey?: string;
|
|
3513
|
+
body: ClaudeCodeOAuthRefreshRequest;
|
|
3514
|
+
}
|
|
3147
3515
|
declare class AuthApi {
|
|
3148
3516
|
private client;
|
|
3149
3517
|
constructor(client: ApiClient);
|
|
@@ -3160,7 +3528,7 @@ declare class AuthApi {
|
|
|
3160
3528
|
|
|
3161
3529
|
Requires X-API-Key header or SSO cookie.
|
|
3162
3530
|
*/
|
|
3163
|
-
getCurrentUserRouteApiAuthMeGet(params: GetCurrentUserRouteApiAuthMeGetParams, options?: RequestOptions): Promise<
|
|
3531
|
+
getCurrentUserRouteApiAuthMeGet(params: GetCurrentUserRouteApiAuthMeGetParams, options?: RequestOptions): Promise<PlatoUser>;
|
|
3164
3532
|
/**
|
|
3165
3533
|
* Get Session
|
|
3166
3534
|
* Get the current session from cookie.
|
|
@@ -3176,6 +3544,14 @@ declare class AuthApi {
|
|
|
3176
3544
|
* Clear the session cookie (logout).
|
|
3177
3545
|
*/
|
|
3178
3546
|
deleteSessionApiAuthSessionDelete(options?: RequestOptions): Promise<Record<string, unknown>>;
|
|
3547
|
+
/**
|
|
3548
|
+
* Refresh Oauth
|
|
3549
|
+
* Refresh OAuth credentials with DB-based distributed lock.
|
|
3550
|
+
|
|
3551
|
+
Prevents concurrent refreshes from multiple agents by using an OrgSetting
|
|
3552
|
+
row as a lock. If another agent already refreshed, returns cached creds.
|
|
3553
|
+
*/
|
|
3554
|
+
refreshOauthApiAuthRefreshOauthPost(params: RefreshOauthApiAuthRefreshOauthPostParams, options?: RequestOptions): Promise<OAuthRefreshResponse>;
|
|
3179
3555
|
/**
|
|
3180
3556
|
* Debug Auth
|
|
3181
3557
|
* Debug endpoint to see what auth info is being received.
|
|
@@ -3511,6 +3887,11 @@ interface RerunJobParams {
|
|
|
3511
3887
|
publicId: string;
|
|
3512
3888
|
xApiKey?: string;
|
|
3513
3889
|
}
|
|
3890
|
+
interface LaunchExperimentParams {
|
|
3891
|
+
versionPublicId: string;
|
|
3892
|
+
xApiKey?: string;
|
|
3893
|
+
body: LaunchExperimentRequest;
|
|
3894
|
+
}
|
|
3514
3895
|
declare class JobsApi {
|
|
3515
3896
|
private client;
|
|
3516
3897
|
constructor(client: ApiClient);
|
|
@@ -3527,6 +3908,15 @@ declare class JobsApi {
|
|
|
3527
3908
|
* Re-run a previous session with the same stored config and runtime settings.
|
|
3528
3909
|
*/
|
|
3529
3910
|
rerunJob(params: RerunJobParams, options?: RequestOptions): Promise<LaunchJobResponse>;
|
|
3911
|
+
/**
|
|
3912
|
+
* Launch Experiment
|
|
3913
|
+
* Launch a session from an experiment version.
|
|
3914
|
+
|
|
3915
|
+
This endpoint pulls the full config (including world.runtime) from the
|
|
3916
|
+
experiment version's config_json in the database, ensuring no fields are
|
|
3917
|
+
dropped. The session is automatically linked to the experiment version.
|
|
3918
|
+
*/
|
|
3919
|
+
launchExperiment(params: LaunchExperimentParams, options?: RequestOptions): Promise<LaunchJobResponse>;
|
|
3530
3920
|
}
|
|
3531
3921
|
|
|
3532
3922
|
/**
|
|
@@ -3584,7 +3974,7 @@ declare class OtelApi {
|
|
|
3584
3974
|
|
|
3585
3975
|
Returns raw metric data points, optionally filtered by env_alias.
|
|
3586
3976
|
*/
|
|
3587
|
-
getSessionMetricsApiOtelSessionsSessionIdMetricsGet(params: GetSessionMetricsApiOtelSessionsSessionIdMetricsGetParams, options?: RequestOptions): Promise<
|
|
3977
|
+
getSessionMetricsApiOtelSessionsSessionIdMetricsGet(params: GetSessionMetricsApiOtelSessionsSessionIdMetricsGetParams, options?: RequestOptions): Promise<SessionMetricsResponse>;
|
|
3588
3978
|
/**
|
|
3589
3979
|
* Get Session Traces
|
|
3590
3980
|
* Get parsed traces for a session with cursor-based pagination.
|
|
@@ -3613,6 +4003,11 @@ interface GetWorldVersionsApiRegistryWorldsPackageNameVersionsGetParams {
|
|
|
3613
4003
|
packageName: string;
|
|
3614
4004
|
allowPrerelease?: boolean;
|
|
3615
4005
|
}
|
|
4006
|
+
interface GetWorldCatalogApiRegistryWorldsPackageNameCatalogGetParams {
|
|
4007
|
+
packageName: string;
|
|
4008
|
+
version?: string;
|
|
4009
|
+
allowPrerelease?: boolean;
|
|
4010
|
+
}
|
|
3616
4011
|
interface GetWorldSchemaApiRegistryWorldsPackageNameSchemaGetParams {
|
|
3617
4012
|
packageName: string;
|
|
3618
4013
|
version?: string;
|
|
@@ -3649,6 +4044,14 @@ declare class RegistryApi {
|
|
|
3649
4044
|
* Get versions for a world package from the registry.
|
|
3650
4045
|
*/
|
|
3651
4046
|
getWorldVersionsApiRegistryWorldsPackageNameVersionsGet(params: GetWorldVersionsApiRegistryWorldsPackageNameVersionsGetParams, options?: RequestOptions): Promise<WorldVersionsResponse>;
|
|
4047
|
+
/**
|
|
4048
|
+
* Get World Catalog
|
|
4049
|
+
* List all worlds within a package.
|
|
4050
|
+
|
|
4051
|
+
For catalog-format packages (multiple worlds), returns each world entry.
|
|
4052
|
+
For single-world packages, returns a list with one entry.
|
|
4053
|
+
*/
|
|
4054
|
+
getWorldCatalogApiRegistryWorldsPackageNameCatalogGet(params: GetWorldCatalogApiRegistryWorldsPackageNameCatalogGetParams, options?: RequestOptions): Promise<WorldCatalogDetailResponse>;
|
|
3652
4055
|
/**
|
|
3653
4056
|
* Get World Schema
|
|
3654
4057
|
* Get schema for a world package from the registry.
|
|
@@ -3753,6 +4156,13 @@ declare class ReviewsApi {
|
|
|
3753
4156
|
* Find the current user's human review for a session, or create one.
|
|
3754
4157
|
*/
|
|
3755
4158
|
findOrCreateReviewApiReviewsFindOrCreatePost(params: FindOrCreateReviewApiReviewsFindOrCreatePostParams, options?: RequestOptions): Promise<ReviewResponse>;
|
|
4159
|
+
/**
|
|
4160
|
+
* Get Review Widget Schema
|
|
4161
|
+
* Return the available render and feedback widgets for review models.
|
|
4162
|
+
|
|
4163
|
+
Used by SDK codegen to keep widget type definitions in sync.
|
|
4164
|
+
*/
|
|
4165
|
+
getReviewWidgetSchemaApiReviewsSchemaWidgetsGet(options?: RequestOptions): Promise<ReviewWidgetSchemaResponse>;
|
|
3756
4166
|
/**
|
|
3757
4167
|
* Get Review
|
|
3758
4168
|
* Get a single review.
|
|
@@ -3896,6 +4306,8 @@ interface ListSessionCreatorsParams {
|
|
|
3896
4306
|
}
|
|
3897
4307
|
interface GetUsageStatsParams {
|
|
3898
4308
|
days?: number;
|
|
4309
|
+
/** Tags to exclude from stats (repeat param, e.g. ?exclude_tags=ci.test&exclude_tags=ci.nightly) */
|
|
4310
|
+
excludeTags?: string[];
|
|
3899
4311
|
xApiKey?: string;
|
|
3900
4312
|
}
|
|
3901
4313
|
interface GetSessionCostSummaryParams {
|
|
@@ -4176,7 +4588,7 @@ declare class SessionsApi {
|
|
|
4176
4588
|
Downloads state.json from S3 and returns workspace snapshot info
|
|
4177
4589
|
so callers can see which steps are available for resume.
|
|
4178
4590
|
*/
|
|
4179
|
-
getSessionCheckpointInfo(params: GetSessionCheckpointInfoParams, options?: RequestOptions): Promise<
|
|
4591
|
+
getSessionCheckpointInfo(params: GetSessionCheckpointInfoParams, options?: RequestOptions): Promise<SessionCheckpointInfoResponse>;
|
|
4180
4592
|
/**
|
|
4181
4593
|
* Get Session Bash Logs Download
|
|
4182
4594
|
* Download the session's bash/execution logs directly.
|
|
@@ -4514,7 +4926,7 @@ declare class WorkspaceReposApi {
|
|
|
4514
4926
|
Files are streamed directly from S3 through the ZIP compressor to the
|
|
4515
4927
|
client — only one file chunk (~8 MB) is held in memory at a time.
|
|
4516
4928
|
*/
|
|
4517
|
-
downloadWorkspaceFiles(params: DownloadWorkspaceFilesParams, options?: RequestOptions): Promise<
|
|
4929
|
+
downloadWorkspaceFiles(params: DownloadWorkspaceFilesParams, options?: RequestOptions): Promise<Uint8Array>;
|
|
4518
4930
|
/**
|
|
4519
4931
|
* Get Workspace File Content
|
|
4520
4932
|
* Proxy a DVC-cached file from S3 to the browser (avoids CORS issues).
|
|
@@ -4716,4 +5128,4 @@ declare class ChronosClient {
|
|
|
4716
5128
|
getApiClient(): ApiClient;
|
|
4717
5129
|
}
|
|
4718
5130
|
|
|
4719
|
-
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 AnnotationListResponse, type AnnotationMetricsResponse, type AnnotationResponse, type AnnotationTarget, type AppConfigResponse, type ApproveRunRequest, type Artifact, type AuditEventInput, type AuditEventResponse, type AuditEventsListResponse, type AuditSummaryEntry, type AuditSummaryResponse, AuthApi, type AuthSessionResponse, type AuthStatusResponse, type BranchInfo, type BranchListResponse, type BulkRefAuditEventsRequest, type CheckpointListItem, type CheckpointListResponse, CheckpointsApi, type ChildSessionSummary, ApiClient as ChronosApiClient, ApiError as ChronosApiError, type ApiRequest as ChronosApiRequest, ChronosClient, type ClientConfig as ChronosClientConfig, type RequestOptions as ChronosRequestOptions, 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 CreateAnnotationRequest, type CreateBranchRequest, type CreateBranchResponse, type CreateDatasetRequest, type CreateHillclimbRunRequest, type CreateReviewRequest, type CreateSessionRequest, type CreateSessionResponse, type CreateStepFile, type CreateStepRequest, type CreateStepResponse, type CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, type DatasetDetailResponse, type DatasetResponse, type DatasetSessionSummary, 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 ExperimentSessionSummary, type ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FindOrCreateReviewRequest, type HTTPValidationError, HillclimbApi, type HillclimbRunResponse, type IssueReference, JobsApi, type LaunchJobRequest, type LaunchJobResponse, type LiveLogsResponse, type LogCoverageRuleSet, type LogScopePartitioning, type LogsDownloadResponse, type ModelRef, type OTelSpanListResponse, type OTelSpanSchema, type OTelTraceResponse, OtelApi, type PerAgentReport, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RejectRunRequest, type ReviewIssue, type ReviewListResponse, type ReviewResponse, ReviewsApi, type RunLifecycle, type RunProgress, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type ServiceStatuses, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, 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 SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetSessionRef, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, type WorkspaceRefResponse, type WorkspaceRefSearchResponse, type WorkspaceRefSearchResult, type WorkspaceRefsListResponse, type WorkspaceRepoCredentialsResponse, type WorkspaceRepoListItem, type WorkspaceRepoListResponse, type WorkspaceRepoResolveRequest, type WorkspaceRepoResolveResponse, type WorkspaceRepoSizeResponse, WorkspaceReposApi, type WorldCatalogResponse, type
|
|
5131
|
+
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 AnnotationListResponse, type AnnotationMetricsResponse, type AnnotationResponse, type AnnotationTarget, type AppConfigResponse, type ApproveRunRequest, type Artifact, type AuditEventInput, type AuditEventResponse, type AuditEventsListResponse, type AuditSummaryEntry, type AuditSummaryResponse, AuthApi, type AuthSessionResponse, type AuthStatusResponse, type BranchInfo, type BranchListResponse, type BulkRefAuditEventsRequest, type CheckpointListItem, type CheckpointListResponse, CheckpointsApi, type ChildSessionSummary, ApiClient as ChronosApiClient, ApiError as ChronosApiError, 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 CreateAnnotationRequest, type CreateBranchRequest, type CreateBranchResponse, type CreateDatasetRequest, type CreateHillclimbRunRequest, type CreateReviewRequest, type CreateSessionRequest, type CreateSessionResponse, type CreateStepFile, type CreateStepRequest, type CreateStepResponse, type CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, type DatasetDetailResponse, type DatasetResponse, type DatasetSessionSummary, 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 ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FeedbackWidget, type FindOrCreateReviewRequest, type HTTPValidationError, HillclimbApi, type HillclimbRunResponse, type IssueReference, JobsApi, type JsonValue, type LaunchExperimentRequest, type LaunchJobRequest, type LaunchJobResponse, type LiveLogsResponse, type LogCoverageRuleSet, type LogScopePartitioning, type LogsDownloadResponse, type ModelRef, 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 RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RejectRunRequest, type RenderWidget, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RunLifecycle, type RunProgress, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, 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, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetSessionRef, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type UserWorldStatsEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, 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 };
|