plato-sandbox-sdk 1.1.43 → 1.1.45
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 +170 -5
- package/dist/chronos/index.d.ts +170 -5
- package/dist/chronos/index.js +77 -0
- package/dist/chronos/index.mjs +1 -1
- package/dist/{chunk-MGSCPF3S.mjs → chunk-F36PEOJ6.mjs} +77 -0
- package/dist/index.d.mts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +77 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/chronos/api/experiments.ts +95 -0
- package/src/chronos/api/sessions.ts +5 -0
- package/src/chronos/api/workspace_repos.ts +30 -0
- package/src/chronos/models/CreateTestRunRequest.ts +18 -0
- package/src/chronos/models/DatasetColumn.ts +13 -0
- package/src/chronos/models/DatasetColumnType.ts +8 -0
- package/src/chronos/models/DatasetFileCreateRequest.ts +3 -1
- package/src/chronos/models/DatasetVersionCreateRequest.ts +3 -1
- package/src/chronos/models/DatasetVersionResponse.ts +2 -2
- package/src/chronos/models/DatasetVersionUpdateRequest.ts +3 -1
- package/src/chronos/models/ExperimentTestRunResponse.ts +27 -0
- package/src/chronos/models/ExperimentVersionResponse.ts +3 -1
- package/src/chronos/models/FullLineageNode.ts +18 -0
- package/src/chronos/models/FullLineageResponse.ts +14 -0
- package/src/chronos/models/TestRunListResponse.ts +12 -0
- package/src/chronos/models/UpdateTestRunRequest.ts +14 -0
- package/src/chronos/models/index.ts +8 -0
package/dist/chronos/index.d.mts
CHANGED
|
@@ -1201,6 +1201,24 @@ interface CreateStepResponse {
|
|
|
1201
1201
|
manifest_hash: string;
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
|
+
/**
|
|
1205
|
+
* CreateTestRunRequest
|
|
1206
|
+
* Register a sub-experiment test run for an experiment version.
|
|
1207
|
+
*
|
|
1208
|
+
* Auto-generated - do not edit
|
|
1209
|
+
*/
|
|
1210
|
+
interface CreateTestRunRequest {
|
|
1211
|
+
session_public_id: string;
|
|
1212
|
+
hypothesis_id: string;
|
|
1213
|
+
hypothesis_statement?: string | null;
|
|
1214
|
+
test_plan_name: string;
|
|
1215
|
+
isolation_strategy?: string | null;
|
|
1216
|
+
expected_outcome?: string | null;
|
|
1217
|
+
config_overrides?: Record<string, unknown> | null;
|
|
1218
|
+
git_link?: string | null;
|
|
1219
|
+
commit_sha?: string | null;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1204
1222
|
/**
|
|
1205
1223
|
* CreateWorkspaceRefRequest
|
|
1206
1224
|
* Record an input or output workspace ref for a session.
|
|
@@ -1269,6 +1287,26 @@ interface DailyUsageBucketResponse {
|
|
|
1269
1287
|
cost_usd?: number | null;
|
|
1270
1288
|
}
|
|
1271
1289
|
|
|
1290
|
+
/**
|
|
1291
|
+
* DatasetColumn
|
|
1292
|
+
* A typed column definition for a dataset.
|
|
1293
|
+
*
|
|
1294
|
+
* Auto-generated - do not edit
|
|
1295
|
+
*/
|
|
1296
|
+
|
|
1297
|
+
interface DatasetColumn {
|
|
1298
|
+
name: string;
|
|
1299
|
+
type?: DatasetColumnType | null;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* DatasetColumnType
|
|
1304
|
+
* Supported column types for dataset values.
|
|
1305
|
+
*
|
|
1306
|
+
* Auto-generated - do not edit
|
|
1307
|
+
*/
|
|
1308
|
+
type DatasetColumnType = 'str' | 'int' | 'float' | 'bool' | 'json';
|
|
1309
|
+
|
|
1272
1310
|
/**
|
|
1273
1311
|
* DatasetDetailResponse
|
|
1274
1312
|
*
|
|
@@ -1292,11 +1330,12 @@ interface DatasetDetailResponse {
|
|
|
1292
1330
|
*
|
|
1293
1331
|
* Auto-generated - do not edit
|
|
1294
1332
|
*/
|
|
1333
|
+
|
|
1295
1334
|
interface DatasetFileCreateRequest {
|
|
1296
1335
|
name: string;
|
|
1297
1336
|
description?: string | null;
|
|
1298
1337
|
notes?: string | null;
|
|
1299
|
-
columns?:
|
|
1338
|
+
columns?: DatasetColumn[] | null;
|
|
1300
1339
|
rows?: Record<string, unknown>[] | null;
|
|
1301
1340
|
folder?: string | null;
|
|
1302
1341
|
}
|
|
@@ -1378,9 +1417,10 @@ interface DatasetSessionSummary {
|
|
|
1378
1417
|
*
|
|
1379
1418
|
* Auto-generated - do not edit
|
|
1380
1419
|
*/
|
|
1420
|
+
|
|
1381
1421
|
interface DatasetVersionCreateRequest {
|
|
1382
1422
|
notes?: string | null;
|
|
1383
|
-
columns?:
|
|
1423
|
+
columns?: DatasetColumn[] | null;
|
|
1384
1424
|
rows?: Record<string, unknown>[] | null;
|
|
1385
1425
|
}
|
|
1386
1426
|
|
|
@@ -1399,7 +1439,7 @@ interface DatasetVersionResponse {
|
|
|
1399
1439
|
column_count?: number | null;
|
|
1400
1440
|
created_at: string;
|
|
1401
1441
|
created_by?: UserInfo | null;
|
|
1402
|
-
columns?:
|
|
1442
|
+
columns?: DatasetColumn[] | null;
|
|
1403
1443
|
rows?: Record<string, unknown>[] | null;
|
|
1404
1444
|
}
|
|
1405
1445
|
|
|
@@ -1409,9 +1449,10 @@ interface DatasetVersionResponse {
|
|
|
1409
1449
|
*
|
|
1410
1450
|
* Auto-generated - do not edit
|
|
1411
1451
|
*/
|
|
1452
|
+
|
|
1412
1453
|
interface DatasetVersionUpdateRequest {
|
|
1413
1454
|
notes?: string | null;
|
|
1414
|
-
columns?:
|
|
1455
|
+
columns?: DatasetColumn[] | null;
|
|
1415
1456
|
rows?: Record<string, unknown>[] | null;
|
|
1416
1457
|
}
|
|
1417
1458
|
|
|
@@ -1634,6 +1675,32 @@ interface ExperimentSessionSummary {
|
|
|
1634
1675
|
created_by?: UserInfo | null;
|
|
1635
1676
|
}
|
|
1636
1677
|
|
|
1678
|
+
/**
|
|
1679
|
+
* ExperimentTestRunResponse
|
|
1680
|
+
* Response model for a sub-experiment test run.
|
|
1681
|
+
*
|
|
1682
|
+
* Auto-generated - do not edit
|
|
1683
|
+
*/
|
|
1684
|
+
|
|
1685
|
+
interface ExperimentTestRunResponse {
|
|
1686
|
+
public_id: string;
|
|
1687
|
+
session_public_id: string;
|
|
1688
|
+
hypothesis_id: string;
|
|
1689
|
+
hypothesis_statement?: string | null;
|
|
1690
|
+
test_plan_name: string;
|
|
1691
|
+
isolation_strategy?: string | null;
|
|
1692
|
+
expected_outcome?: string | null;
|
|
1693
|
+
status: string;
|
|
1694
|
+
exit_code?: number | null;
|
|
1695
|
+
result_summary?: string | null;
|
|
1696
|
+
config_overrides?: Record<string, unknown> | null;
|
|
1697
|
+
git_link?: string | null;
|
|
1698
|
+
commit_sha?: string | null;
|
|
1699
|
+
session_status?: string | null;
|
|
1700
|
+
created_at: string;
|
|
1701
|
+
created_by?: UserInfo | null;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1637
1704
|
/**
|
|
1638
1705
|
* ExperimentVersionResponse
|
|
1639
1706
|
* Full experiment version payload for the frontend.
|
|
@@ -1653,8 +1720,10 @@ interface ExperimentVersionResponse {
|
|
|
1653
1720
|
created_at: string;
|
|
1654
1721
|
created_by?: UserInfo | null;
|
|
1655
1722
|
attached_session_count?: number | null;
|
|
1723
|
+
test_run_count?: number | null;
|
|
1656
1724
|
config_json?: ExperimentLaunchConfig | null;
|
|
1657
1725
|
attached_sessions?: ExperimentSessionSummary[] | null;
|
|
1726
|
+
test_runs?: ExperimentTestRunResponse[] | null;
|
|
1658
1727
|
}
|
|
1659
1728
|
|
|
1660
1729
|
/**
|
|
@@ -1686,6 +1755,37 @@ interface FindOrCreateReviewBody {
|
|
|
1686
1755
|
session_id: string;
|
|
1687
1756
|
}
|
|
1688
1757
|
|
|
1758
|
+
/**
|
|
1759
|
+
* FullLineageNode
|
|
1760
|
+
* A session node in the full lineage tree.
|
|
1761
|
+
*
|
|
1762
|
+
* Auto-generated - do not edit
|
|
1763
|
+
*/
|
|
1764
|
+
interface FullLineageNode {
|
|
1765
|
+
session_public_id: string;
|
|
1766
|
+
status?: string | null;
|
|
1767
|
+
total_cost_usd?: number | null;
|
|
1768
|
+
created_at?: string | null;
|
|
1769
|
+
world_name?: string | null;
|
|
1770
|
+
workspace: string;
|
|
1771
|
+
ref_public_id?: string | null;
|
|
1772
|
+
step_name?: string | null;
|
|
1773
|
+
children?: FullLineageNode[] | null;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* FullLineageResponse
|
|
1778
|
+
* Full session lineage tree across all workspaces, with costs.
|
|
1779
|
+
*
|
|
1780
|
+
* Auto-generated - do not edit
|
|
1781
|
+
*/
|
|
1782
|
+
|
|
1783
|
+
interface FullLineageResponse {
|
|
1784
|
+
roots: FullLineageNode[];
|
|
1785
|
+
total_cost_usd: number;
|
|
1786
|
+
session_count: number;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1689
1789
|
/**
|
|
1690
1790
|
* HTTPValidationError
|
|
1691
1791
|
*
|
|
@@ -3144,6 +3244,17 @@ interface TargetSessionRef {
|
|
|
3144
3244
|
target_session_url?: string | null;
|
|
3145
3245
|
}
|
|
3146
3246
|
|
|
3247
|
+
/**
|
|
3248
|
+
* TestRunListResponse
|
|
3249
|
+
* List of test runs for an experiment version.
|
|
3250
|
+
*
|
|
3251
|
+
* Auto-generated - do not edit
|
|
3252
|
+
*/
|
|
3253
|
+
|
|
3254
|
+
interface TestRunListResponse {
|
|
3255
|
+
test_runs: ExperimentTestRunResponse[];
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3147
3258
|
/**
|
|
3148
3259
|
* TokenSummaryRecord
|
|
3149
3260
|
*
|
|
@@ -3460,6 +3571,20 @@ interface UpdateTagsRequest {
|
|
|
3460
3571
|
tags: string[];
|
|
3461
3572
|
}
|
|
3462
3573
|
|
|
3574
|
+
/**
|
|
3575
|
+
* UpdateTestRunRequest
|
|
3576
|
+
* Update a test run status and result.
|
|
3577
|
+
*
|
|
3578
|
+
* Auto-generated - do not edit
|
|
3579
|
+
*/
|
|
3580
|
+
interface UpdateTestRunRequest {
|
|
3581
|
+
status?: string | null;
|
|
3582
|
+
exit_code?: number | null;
|
|
3583
|
+
result_summary?: string | null;
|
|
3584
|
+
git_link?: string | null;
|
|
3585
|
+
commit_sha?: string | null;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3463
3588
|
/**
|
|
3464
3589
|
* UpsertIterationRequest
|
|
3465
3590
|
* Upsert an iteration record. Keyed by (run_id, iteration).
|
|
@@ -4760,6 +4885,20 @@ interface RunExperimentTargetReviewsParams {
|
|
|
4760
4885
|
specIndex?: number;
|
|
4761
4886
|
xApiKey?: string;
|
|
4762
4887
|
}
|
|
4888
|
+
interface ListExperimentTestRunsParams {
|
|
4889
|
+
versionPublicId: string;
|
|
4890
|
+
xApiKey?: string;
|
|
4891
|
+
}
|
|
4892
|
+
interface CreateExperimentTestRunParams {
|
|
4893
|
+
versionPublicId: string;
|
|
4894
|
+
xApiKey?: string;
|
|
4895
|
+
body: CreateTestRunRequest;
|
|
4896
|
+
}
|
|
4897
|
+
interface UpdateExperimentTestRunParams {
|
|
4898
|
+
publicId: string;
|
|
4899
|
+
xApiKey?: string;
|
|
4900
|
+
body: UpdateTestRunRequest;
|
|
4901
|
+
}
|
|
4763
4902
|
declare class ExperimentsApi {
|
|
4764
4903
|
private client;
|
|
4765
4904
|
constructor(client: ApiClient);
|
|
@@ -4837,6 +4976,21 @@ declare class ExperimentsApi {
|
|
|
4837
4976
|
target_session_id set to the given session.
|
|
4838
4977
|
*/
|
|
4839
4978
|
runExperimentTargetReviews(params: RunExperimentTargetReviewsParams, options?: RequestOptions): Promise<RunReviewsResponse>;
|
|
4979
|
+
/**
|
|
4980
|
+
* List Test Runs
|
|
4981
|
+
* List test runs for an experiment version.
|
|
4982
|
+
*/
|
|
4983
|
+
listExperimentTestRuns(params: ListExperimentTestRunsParams, options?: RequestOptions): Promise<TestRunListResponse>;
|
|
4984
|
+
/**
|
|
4985
|
+
* Create Test Run
|
|
4986
|
+
* Register a sub-experiment test run for a specific experiment version.
|
|
4987
|
+
*/
|
|
4988
|
+
createExperimentTestRun(params: CreateExperimentTestRunParams, options?: RequestOptions): Promise<ExperimentTestRunResponse>;
|
|
4989
|
+
/**
|
|
4990
|
+
* Update Test Run
|
|
4991
|
+
* Update a test run's status and result.
|
|
4992
|
+
*/
|
|
4993
|
+
updateExperimentTestRun(params: UpdateExperimentTestRunParams, options?: RequestOptions): Promise<ExperimentTestRunResponse>;
|
|
4840
4994
|
}
|
|
4841
4995
|
|
|
4842
4996
|
/**
|
|
@@ -5370,6 +5524,8 @@ interface ListSessionsParams {
|
|
|
5370
5524
|
worldVersion?: string;
|
|
5371
5525
|
/** When true, show ONLY archived sessions. When false (default), exclude archived sessions. */
|
|
5372
5526
|
archivedOnly?: boolean;
|
|
5527
|
+
/** Filter to sessions linked to experiments in this folder. Use '__none__' for unfiled experiments. */
|
|
5528
|
+
experimentFolder?: string;
|
|
5373
5529
|
xApiKey?: string;
|
|
5374
5530
|
}
|
|
5375
5531
|
interface CreateSessionParams {
|
|
@@ -5967,6 +6123,10 @@ interface GetSessionLineageParams {
|
|
|
5967
6123
|
workspace: string;
|
|
5968
6124
|
xApiKey?: string;
|
|
5969
6125
|
}
|
|
6126
|
+
interface GetSessionFullLineageParams {
|
|
6127
|
+
sessionPublicId: string;
|
|
6128
|
+
xApiKey?: string;
|
|
6129
|
+
}
|
|
5970
6130
|
interface GetDownstreamSessionsParams {
|
|
5971
6131
|
refPublicId: string;
|
|
5972
6132
|
xApiKey?: string;
|
|
@@ -6094,6 +6254,11 @@ declare class WorkspaceReposApi {
|
|
|
6094
6254
|
* Walk backward through source_ref links to build session lineage for a workspace.
|
|
6095
6255
|
*/
|
|
6096
6256
|
getSessionLineage(params: GetSessionLineageParams, options?: RequestOptions): Promise<SessionLineageResponse>;
|
|
6257
|
+
/**
|
|
6258
|
+
* Get Session Full Lineage
|
|
6259
|
+
* Build a full lineage tree across all workspaces for a session, including costs.
|
|
6260
|
+
*/
|
|
6261
|
+
getSessionFullLineage(params: GetSessionFullLineageParams, options?: RequestOptions): Promise<FullLineageResponse>;
|
|
6097
6262
|
/**
|
|
6098
6263
|
* Get Downstream Sessions
|
|
6099
6264
|
* Find all sessions that consumed (forked/resumed from) a given workspace ref.
|
|
@@ -6284,4 +6449,4 @@ declare class ChronosClient {
|
|
|
6284
6449
|
getApiClient(): ApiClient;
|
|
6285
6450
|
}
|
|
6286
6451
|
|
|
6287
|
-
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 CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, 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 ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FeedbackWidget, type FindOrCreateReviewBody, 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 PageScopeConfig, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RouteScopeConfig, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type 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 };
|
|
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 PageScopeConfig, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RouteScopeConfig, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TestRunListResponse, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UpdateTestRunRequest, type UpsertIterationRequest, type UpsertIterationSessionRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type UserWorldStatsEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, type WorkspaceRefEntry, type WorkspaceRefResponse, type WorkspaceRefSearchResponse, type WorkspaceRefSearchResult, type WorkspaceRefsListResponse, type WorkspaceRepoCredentialsResponse, type WorkspaceRepoListItem, type WorkspaceRepoListResponse, type WorkspaceRepoResolveRequest, type WorkspaceRepoResolveResponse, type WorkspaceRepoSizeResponse, WorkspaceReposApi, type WorkspaceSnapshotInfo, type WorldCatalogDetailResponse, type WorldCatalogEntry, type WorldCatalogResponse, type WorldConfigAgentEntry, type WorldConfigInput, type WorldConfigNamedEntry, type WorldConfigOutput, type WorldConfigSchema, type WorldCreate, type WorldLeaderboardEntry, type WorldListResponse, type WorldResponse, type WorldRuntimeConfig, type WorldSchemaResponse, type WorldStep, type WorldVersionsResponse, WorldsApi };
|
package/dist/chronos/index.d.ts
CHANGED
|
@@ -1201,6 +1201,24 @@ interface CreateStepResponse {
|
|
|
1201
1201
|
manifest_hash: string;
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
|
+
/**
|
|
1205
|
+
* CreateTestRunRequest
|
|
1206
|
+
* Register a sub-experiment test run for an experiment version.
|
|
1207
|
+
*
|
|
1208
|
+
* Auto-generated - do not edit
|
|
1209
|
+
*/
|
|
1210
|
+
interface CreateTestRunRequest {
|
|
1211
|
+
session_public_id: string;
|
|
1212
|
+
hypothesis_id: string;
|
|
1213
|
+
hypothesis_statement?: string | null;
|
|
1214
|
+
test_plan_name: string;
|
|
1215
|
+
isolation_strategy?: string | null;
|
|
1216
|
+
expected_outcome?: string | null;
|
|
1217
|
+
config_overrides?: Record<string, unknown> | null;
|
|
1218
|
+
git_link?: string | null;
|
|
1219
|
+
commit_sha?: string | null;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1204
1222
|
/**
|
|
1205
1223
|
* CreateWorkspaceRefRequest
|
|
1206
1224
|
* Record an input or output workspace ref for a session.
|
|
@@ -1269,6 +1287,26 @@ interface DailyUsageBucketResponse {
|
|
|
1269
1287
|
cost_usd?: number | null;
|
|
1270
1288
|
}
|
|
1271
1289
|
|
|
1290
|
+
/**
|
|
1291
|
+
* DatasetColumn
|
|
1292
|
+
* A typed column definition for a dataset.
|
|
1293
|
+
*
|
|
1294
|
+
* Auto-generated - do not edit
|
|
1295
|
+
*/
|
|
1296
|
+
|
|
1297
|
+
interface DatasetColumn {
|
|
1298
|
+
name: string;
|
|
1299
|
+
type?: DatasetColumnType | null;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* DatasetColumnType
|
|
1304
|
+
* Supported column types for dataset values.
|
|
1305
|
+
*
|
|
1306
|
+
* Auto-generated - do not edit
|
|
1307
|
+
*/
|
|
1308
|
+
type DatasetColumnType = 'str' | 'int' | 'float' | 'bool' | 'json';
|
|
1309
|
+
|
|
1272
1310
|
/**
|
|
1273
1311
|
* DatasetDetailResponse
|
|
1274
1312
|
*
|
|
@@ -1292,11 +1330,12 @@ interface DatasetDetailResponse {
|
|
|
1292
1330
|
*
|
|
1293
1331
|
* Auto-generated - do not edit
|
|
1294
1332
|
*/
|
|
1333
|
+
|
|
1295
1334
|
interface DatasetFileCreateRequest {
|
|
1296
1335
|
name: string;
|
|
1297
1336
|
description?: string | null;
|
|
1298
1337
|
notes?: string | null;
|
|
1299
|
-
columns?:
|
|
1338
|
+
columns?: DatasetColumn[] | null;
|
|
1300
1339
|
rows?: Record<string, unknown>[] | null;
|
|
1301
1340
|
folder?: string | null;
|
|
1302
1341
|
}
|
|
@@ -1378,9 +1417,10 @@ interface DatasetSessionSummary {
|
|
|
1378
1417
|
*
|
|
1379
1418
|
* Auto-generated - do not edit
|
|
1380
1419
|
*/
|
|
1420
|
+
|
|
1381
1421
|
interface DatasetVersionCreateRequest {
|
|
1382
1422
|
notes?: string | null;
|
|
1383
|
-
columns?:
|
|
1423
|
+
columns?: DatasetColumn[] | null;
|
|
1384
1424
|
rows?: Record<string, unknown>[] | null;
|
|
1385
1425
|
}
|
|
1386
1426
|
|
|
@@ -1399,7 +1439,7 @@ interface DatasetVersionResponse {
|
|
|
1399
1439
|
column_count?: number | null;
|
|
1400
1440
|
created_at: string;
|
|
1401
1441
|
created_by?: UserInfo | null;
|
|
1402
|
-
columns?:
|
|
1442
|
+
columns?: DatasetColumn[] | null;
|
|
1403
1443
|
rows?: Record<string, unknown>[] | null;
|
|
1404
1444
|
}
|
|
1405
1445
|
|
|
@@ -1409,9 +1449,10 @@ interface DatasetVersionResponse {
|
|
|
1409
1449
|
*
|
|
1410
1450
|
* Auto-generated - do not edit
|
|
1411
1451
|
*/
|
|
1452
|
+
|
|
1412
1453
|
interface DatasetVersionUpdateRequest {
|
|
1413
1454
|
notes?: string | null;
|
|
1414
|
-
columns?:
|
|
1455
|
+
columns?: DatasetColumn[] | null;
|
|
1415
1456
|
rows?: Record<string, unknown>[] | null;
|
|
1416
1457
|
}
|
|
1417
1458
|
|
|
@@ -1634,6 +1675,32 @@ interface ExperimentSessionSummary {
|
|
|
1634
1675
|
created_by?: UserInfo | null;
|
|
1635
1676
|
}
|
|
1636
1677
|
|
|
1678
|
+
/**
|
|
1679
|
+
* ExperimentTestRunResponse
|
|
1680
|
+
* Response model for a sub-experiment test run.
|
|
1681
|
+
*
|
|
1682
|
+
* Auto-generated - do not edit
|
|
1683
|
+
*/
|
|
1684
|
+
|
|
1685
|
+
interface ExperimentTestRunResponse {
|
|
1686
|
+
public_id: string;
|
|
1687
|
+
session_public_id: string;
|
|
1688
|
+
hypothesis_id: string;
|
|
1689
|
+
hypothesis_statement?: string | null;
|
|
1690
|
+
test_plan_name: string;
|
|
1691
|
+
isolation_strategy?: string | null;
|
|
1692
|
+
expected_outcome?: string | null;
|
|
1693
|
+
status: string;
|
|
1694
|
+
exit_code?: number | null;
|
|
1695
|
+
result_summary?: string | null;
|
|
1696
|
+
config_overrides?: Record<string, unknown> | null;
|
|
1697
|
+
git_link?: string | null;
|
|
1698
|
+
commit_sha?: string | null;
|
|
1699
|
+
session_status?: string | null;
|
|
1700
|
+
created_at: string;
|
|
1701
|
+
created_by?: UserInfo | null;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1637
1704
|
/**
|
|
1638
1705
|
* ExperimentVersionResponse
|
|
1639
1706
|
* Full experiment version payload for the frontend.
|
|
@@ -1653,8 +1720,10 @@ interface ExperimentVersionResponse {
|
|
|
1653
1720
|
created_at: string;
|
|
1654
1721
|
created_by?: UserInfo | null;
|
|
1655
1722
|
attached_session_count?: number | null;
|
|
1723
|
+
test_run_count?: number | null;
|
|
1656
1724
|
config_json?: ExperimentLaunchConfig | null;
|
|
1657
1725
|
attached_sessions?: ExperimentSessionSummary[] | null;
|
|
1726
|
+
test_runs?: ExperimentTestRunResponse[] | null;
|
|
1658
1727
|
}
|
|
1659
1728
|
|
|
1660
1729
|
/**
|
|
@@ -1686,6 +1755,37 @@ interface FindOrCreateReviewBody {
|
|
|
1686
1755
|
session_id: string;
|
|
1687
1756
|
}
|
|
1688
1757
|
|
|
1758
|
+
/**
|
|
1759
|
+
* FullLineageNode
|
|
1760
|
+
* A session node in the full lineage tree.
|
|
1761
|
+
*
|
|
1762
|
+
* Auto-generated - do not edit
|
|
1763
|
+
*/
|
|
1764
|
+
interface FullLineageNode {
|
|
1765
|
+
session_public_id: string;
|
|
1766
|
+
status?: string | null;
|
|
1767
|
+
total_cost_usd?: number | null;
|
|
1768
|
+
created_at?: string | null;
|
|
1769
|
+
world_name?: string | null;
|
|
1770
|
+
workspace: string;
|
|
1771
|
+
ref_public_id?: string | null;
|
|
1772
|
+
step_name?: string | null;
|
|
1773
|
+
children?: FullLineageNode[] | null;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* FullLineageResponse
|
|
1778
|
+
* Full session lineage tree across all workspaces, with costs.
|
|
1779
|
+
*
|
|
1780
|
+
* Auto-generated - do not edit
|
|
1781
|
+
*/
|
|
1782
|
+
|
|
1783
|
+
interface FullLineageResponse {
|
|
1784
|
+
roots: FullLineageNode[];
|
|
1785
|
+
total_cost_usd: number;
|
|
1786
|
+
session_count: number;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1689
1789
|
/**
|
|
1690
1790
|
* HTTPValidationError
|
|
1691
1791
|
*
|
|
@@ -3144,6 +3244,17 @@ interface TargetSessionRef {
|
|
|
3144
3244
|
target_session_url?: string | null;
|
|
3145
3245
|
}
|
|
3146
3246
|
|
|
3247
|
+
/**
|
|
3248
|
+
* TestRunListResponse
|
|
3249
|
+
* List of test runs for an experiment version.
|
|
3250
|
+
*
|
|
3251
|
+
* Auto-generated - do not edit
|
|
3252
|
+
*/
|
|
3253
|
+
|
|
3254
|
+
interface TestRunListResponse {
|
|
3255
|
+
test_runs: ExperimentTestRunResponse[];
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3147
3258
|
/**
|
|
3148
3259
|
* TokenSummaryRecord
|
|
3149
3260
|
*
|
|
@@ -3460,6 +3571,20 @@ interface UpdateTagsRequest {
|
|
|
3460
3571
|
tags: string[];
|
|
3461
3572
|
}
|
|
3462
3573
|
|
|
3574
|
+
/**
|
|
3575
|
+
* UpdateTestRunRequest
|
|
3576
|
+
* Update a test run status and result.
|
|
3577
|
+
*
|
|
3578
|
+
* Auto-generated - do not edit
|
|
3579
|
+
*/
|
|
3580
|
+
interface UpdateTestRunRequest {
|
|
3581
|
+
status?: string | null;
|
|
3582
|
+
exit_code?: number | null;
|
|
3583
|
+
result_summary?: string | null;
|
|
3584
|
+
git_link?: string | null;
|
|
3585
|
+
commit_sha?: string | null;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3463
3588
|
/**
|
|
3464
3589
|
* UpsertIterationRequest
|
|
3465
3590
|
* Upsert an iteration record. Keyed by (run_id, iteration).
|
|
@@ -4760,6 +4885,20 @@ interface RunExperimentTargetReviewsParams {
|
|
|
4760
4885
|
specIndex?: number;
|
|
4761
4886
|
xApiKey?: string;
|
|
4762
4887
|
}
|
|
4888
|
+
interface ListExperimentTestRunsParams {
|
|
4889
|
+
versionPublicId: string;
|
|
4890
|
+
xApiKey?: string;
|
|
4891
|
+
}
|
|
4892
|
+
interface CreateExperimentTestRunParams {
|
|
4893
|
+
versionPublicId: string;
|
|
4894
|
+
xApiKey?: string;
|
|
4895
|
+
body: CreateTestRunRequest;
|
|
4896
|
+
}
|
|
4897
|
+
interface UpdateExperimentTestRunParams {
|
|
4898
|
+
publicId: string;
|
|
4899
|
+
xApiKey?: string;
|
|
4900
|
+
body: UpdateTestRunRequest;
|
|
4901
|
+
}
|
|
4763
4902
|
declare class ExperimentsApi {
|
|
4764
4903
|
private client;
|
|
4765
4904
|
constructor(client: ApiClient);
|
|
@@ -4837,6 +4976,21 @@ declare class ExperimentsApi {
|
|
|
4837
4976
|
target_session_id set to the given session.
|
|
4838
4977
|
*/
|
|
4839
4978
|
runExperimentTargetReviews(params: RunExperimentTargetReviewsParams, options?: RequestOptions): Promise<RunReviewsResponse>;
|
|
4979
|
+
/**
|
|
4980
|
+
* List Test Runs
|
|
4981
|
+
* List test runs for an experiment version.
|
|
4982
|
+
*/
|
|
4983
|
+
listExperimentTestRuns(params: ListExperimentTestRunsParams, options?: RequestOptions): Promise<TestRunListResponse>;
|
|
4984
|
+
/**
|
|
4985
|
+
* Create Test Run
|
|
4986
|
+
* Register a sub-experiment test run for a specific experiment version.
|
|
4987
|
+
*/
|
|
4988
|
+
createExperimentTestRun(params: CreateExperimentTestRunParams, options?: RequestOptions): Promise<ExperimentTestRunResponse>;
|
|
4989
|
+
/**
|
|
4990
|
+
* Update Test Run
|
|
4991
|
+
* Update a test run's status and result.
|
|
4992
|
+
*/
|
|
4993
|
+
updateExperimentTestRun(params: UpdateExperimentTestRunParams, options?: RequestOptions): Promise<ExperimentTestRunResponse>;
|
|
4840
4994
|
}
|
|
4841
4995
|
|
|
4842
4996
|
/**
|
|
@@ -5370,6 +5524,8 @@ interface ListSessionsParams {
|
|
|
5370
5524
|
worldVersion?: string;
|
|
5371
5525
|
/** When true, show ONLY archived sessions. When false (default), exclude archived sessions. */
|
|
5372
5526
|
archivedOnly?: boolean;
|
|
5527
|
+
/** Filter to sessions linked to experiments in this folder. Use '__none__' for unfiled experiments. */
|
|
5528
|
+
experimentFolder?: string;
|
|
5373
5529
|
xApiKey?: string;
|
|
5374
5530
|
}
|
|
5375
5531
|
interface CreateSessionParams {
|
|
@@ -5967,6 +6123,10 @@ interface GetSessionLineageParams {
|
|
|
5967
6123
|
workspace: string;
|
|
5968
6124
|
xApiKey?: string;
|
|
5969
6125
|
}
|
|
6126
|
+
interface GetSessionFullLineageParams {
|
|
6127
|
+
sessionPublicId: string;
|
|
6128
|
+
xApiKey?: string;
|
|
6129
|
+
}
|
|
5970
6130
|
interface GetDownstreamSessionsParams {
|
|
5971
6131
|
refPublicId: string;
|
|
5972
6132
|
xApiKey?: string;
|
|
@@ -6094,6 +6254,11 @@ declare class WorkspaceReposApi {
|
|
|
6094
6254
|
* Walk backward through source_ref links to build session lineage for a workspace.
|
|
6095
6255
|
*/
|
|
6096
6256
|
getSessionLineage(params: GetSessionLineageParams, options?: RequestOptions): Promise<SessionLineageResponse>;
|
|
6257
|
+
/**
|
|
6258
|
+
* Get Session Full Lineage
|
|
6259
|
+
* Build a full lineage tree across all workspaces for a session, including costs.
|
|
6260
|
+
*/
|
|
6261
|
+
getSessionFullLineage(params: GetSessionFullLineageParams, options?: RequestOptions): Promise<FullLineageResponse>;
|
|
6097
6262
|
/**
|
|
6098
6263
|
* Get Downstream Sessions
|
|
6099
6264
|
* Find all sessions that consumed (forked/resumed from) a given workspace ref.
|
|
@@ -6284,4 +6449,4 @@ declare class ChronosClient {
|
|
|
6284
6449
|
getApiClient(): ApiClient;
|
|
6285
6450
|
}
|
|
6286
6451
|
|
|
6287
|
-
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 CreateWorkspaceRefRequest, type CreatorsListResponse, type DVCManifestEntry, type DailyUsageBucketResponse, 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 ExperimentVersionResponse, ExperimentsApi, type FeatureFlagCheckResult, type FeedbackWidget, type FindOrCreateReviewBody, 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 PageScopeConfig, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RouteScopeConfig, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type 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 };
|
|
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 PageScopeConfig, type PerAgentReport, type PlatoUser, type PreservationRuleSet, type PreviewLaunchConfig, type PreviewResponse, type PromoteBranchRequest, type PublishedNoteRecord, type RegistryAgentListResponse, type RegistryAgentSchemaResponse, type RegistryAgentVersionInfo, type RegistryAgentVersionsResponse, RegistryApi, type RegistryWorldInfo, type RenderWidget, type RerunPreviewResponse, type RerunWithConfigRequest, type RetryConfig, type ReviewIssue, type ReviewListResponse, type ReviewResponse, type ReviewWidgetSchemaResponse, ReviewsApi, type RouteScopeConfig, type RunLifecycle, type RunProgress, type RunReviewsResponse, type SSOLoginRequest, type SavedFilterCreate, type SavedFilterListResponse, type SavedFilterResponse, SavedFiltersApi, type SavedSessionFilters, type ScreenshotResponse, type ServiceStatuses, type SessionCheckpointInfoResponse, type SessionCostEntry, type SessionCostSummaryResponse, type SessionCreator, type SessionEnvsResponse, type SessionLaunchConfig, type SessionLineageEntry, type SessionLineageResponse, type SessionListResponse, type SessionLogsResponse, type SessionLogsStreamEvent, type SessionMetricsResponse, type SessionNoteUserRef, type SessionNotesPayloadInput, type SessionNotesPayloadOutput, type SessionResponse, type SessionReviewReportInput, type SessionReviewReportOutput, type SessionReviewerNotesInput, type SessionReviewerNotesOutput, type SessionReviewerRunRecordInput, type SessionReviewerRunRecordOutput, type SessionReviewerSpanNote, type SessionStatusResponse, type SessionStoredWorldConfig, type SessionSummary, type SessionToolSummary, type SessionTrajectory, type SessionWorldInfo, SessionsApi, type SettingResponse, SettingsApi, type SlackLookupResponse, type StarredCheckpointCreate, type StarredCheckpointListResponse, type StarredCheckpointResponse, type StarredCheckpointUpdate, StarredCheckpointsApi, StatusApi, type StatusResponse, type SyncAllResult, type SyncResult, type TagsListResponse, type TargetReviewSpec, type TargetSessionRef, type TestRunListResponse, type TokenSummaryRecord, type ToolStat, type ToolUsageCount, type TrajectoryAgentInfo, type TrajectoryMetrics, type TrajectoryObservation, type TrajectoryObservationResult, type TrajectorySandboxInfo, type TrajectoryToolCall, type TrajectoryWorldInfo, type UpdateAnnotationRequest, type UpdateAssignmentBody, type UpdateDatasetRequest, type UpdateFileRequest, type UpdateFileResponse, type UpdateNotesRequest, type UpdateReviewRequest, type UpdateRunRequest, type UpdateSettingRequest, type UpdateSpanNoteRequest, type UpdateStatusRequest, type UpdateTagsRequest, type UpdateTestRunRequest, type UpsertIterationRequest, type UpsertIterationSessionRequest, type UsageStatsResponse, type UserInfo, type UserLeaderboardEntry, type UserWorldStatsEntry, type VMResources, type ValidationError, type VersionResponse, type WorkspaceFilesResponse, type WorkspaceRefEntry, type WorkspaceRefResponse, type WorkspaceRefSearchResponse, type WorkspaceRefSearchResult, type WorkspaceRefsListResponse, type WorkspaceRepoCredentialsResponse, type WorkspaceRepoListItem, type WorkspaceRepoListResponse, type WorkspaceRepoResolveRequest, type WorkspaceRepoResolveResponse, type WorkspaceRepoSizeResponse, WorkspaceReposApi, type WorkspaceSnapshotInfo, type WorldCatalogDetailResponse, type WorldCatalogEntry, type WorldCatalogResponse, type WorldConfigAgentEntry, type WorldConfigInput, type WorldConfigNamedEntry, type WorldConfigOutput, type WorldConfigSchema, type WorldCreate, type WorldLeaderboardEntry, type WorldListResponse, type WorldResponse, type WorldRuntimeConfig, type WorldSchemaResponse, type WorldStep, type WorldVersionsResponse, WorldsApi };
|