@atlanai/sdk 0.2.1 → 0.2.2
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/README.md +59 -12
- package/dist/client.js +1 -1
- package/dist/evals.d.ts +132 -1
- package/dist/evals.js +687 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/manifest.json +189 -216
- package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
- package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
- package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
- package/dist/raw/agent/apis/AgentsApi.d.ts +49 -4
- package/dist/raw/agent/apis/AgentsApi.js +65 -5
- package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
- package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessesApi.js +49 -1
- package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
- package/dist/raw/agent/apis/OutputsApi.js +61 -1
- package/dist/raw/agent/apis/SessionsApi.d.ts +36 -0
- package/dist/raw/agent/apis/SessionsApi.js +49 -1
- package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
- package/dist/raw/agent/apis/TracesApi.js +25 -1
- package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
- package/dist/raw/agent/apis/VisitorsApi.js +13 -1
- package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
- package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
- package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
- package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
- package/dist/raw/agent/models/Box.d.ts +27 -15
- package/dist/raw/agent/models/Box.js +2 -2
- package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/agent/models/SpanViewDto.js +8 -0
- package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/agent/models/TraceDetailView.js +2 -0
- package/dist/raw/agent/models/index.d.ts +2 -0
- package/dist/raw/agent/models/index.js +2 -0
- package/dist/raw/eval/apis/DatasetsApi.d.ts +43 -3
- package/dist/raw/eval/apis/DatasetsApi.js +108 -3
- package/dist/raw/eval/apis/ExperimentsApi.d.ts +8 -24
- package/dist/raw/eval/apis/ExperimentsApi.js +10 -49
- package/dist/raw/eval/apis/ScorersApi.d.ts +1 -1
- package/dist/raw/eval/apis/ScorersApi.js +1 -1
- package/dist/raw/eval/models/AccessView.d.ts +1 -1
- package/dist/raw/eval/models/AccessView.js +1 -1
- package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +1 -1
- package/dist/raw/eval/models/ArtifactConflictProblem.js +1 -1
- package/dist/raw/eval/models/CostView.d.ts +1 -1
- package/dist/raw/eval/models/CostView.js +1 -1
- package/dist/raw/eval/models/CursorPage.d.ts +1 -1
- package/dist/raw/eval/models/CursorPage.js +1 -1
- package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/EvalArtifactEnvelope.js +1 -1
- package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +1 -1
- package/dist/raw/eval/models/EvalArtifactSearchRequest.js +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset400Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset409Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset413Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset415Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset422Response.js +1 -1
- package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +35 -16
- package/dist/raw/eval/models/EvalDatasetArtifactView.js +5 -3
- package/dist/raw/eval/models/EvalDatasetCreate.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetCreate.js +3 -1
- package/dist/raw/eval/models/EvalDatasetMeta.d.ts +8 -1
- package/dist/raw/eval/models/EvalDatasetMeta.js +3 -1
- package/dist/raw/eval/models/EvalDatasetPatch.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetPatch.js +3 -1
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +34 -16
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +5 -3
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordCreate.js +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetRecordMeta.js +3 -1
- package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordPatch.js +1 -1
- package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +57 -0
- package/dist/raw/eval/models/EvalDatasetSnapshot.js +65 -0
- package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +99 -0
- package/dist/raw/eval/models/EvalDatasetSnapshotRecord.js +77 -0
- package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +35 -16
- package/dist/raw/eval/models/EvalExperimentArtifactView.js +6 -3
- package/dist/raw/eval/models/EvalExperimentCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentCreate.js +1 -1
- package/dist/raw/eval/models/EvalExperimentMeta.d.ts +10 -4
- package/dist/raw/eval/models/EvalExperimentMeta.js +4 -1
- package/dist/raw/eval/models/EvalExperimentPatch.d.ts +4 -3
- package/dist/raw/eval/models/EvalExperimentPatch.js +1 -1
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +45 -16
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +7 -3
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +1 -1
- package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +16 -1
- package/dist/raw/eval/models/EvalExperimentResultCreate.js +5 -1
- package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +18 -1
- package/dist/raw/eval/models/EvalExperimentResultMeta.js +5 -1
- package/dist/raw/eval/models/EvalExperimentStatus.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentStatus.js +1 -1
- package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalGetDataset404Response.js +1 -1
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets400Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets401Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets403Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets500Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets503Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets504Response.js +1 -1
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageScorerArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalPatchDataset412Response.js +1 -1
- package/dist/raw/eval/models/EvalRecordSource.d.ts +1 -1
- package/dist/raw/eval/models/EvalRecordSource.js +1 -1
- package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +28 -16
- package/dist/raw/eval/models/EvalScorerArtifactView.js +3 -3
- package/dist/raw/eval/models/EvalScorerCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerCreate.js +1 -1
- package/dist/raw/eval/models/EvalScorerKind.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerKind.js +1 -1
- package/dist/raw/eval/models/EvalScorerMeta.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerMeta.js +1 -1
- package/dist/raw/eval/models/EvalScorerPatch.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerPatch.js +1 -1
- package/dist/raw/eval/models/EvalScorerScope.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerScope.js +1 -1
- package/dist/raw/eval/models/EvalSubjectKind.d.ts +1 -1
- package/dist/raw/eval/models/EvalSubjectKind.js +1 -1
- package/dist/raw/eval/models/GatewayArtifactBase.d.ts +28 -16
- package/dist/raw/eval/models/GatewayArtifactBase.js +3 -3
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +1 -1
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +1 -1
- package/dist/raw/eval/models/GatewayPageMeta.d.ts +1 -1
- package/dist/raw/eval/models/GatewayPageMeta.js +1 -1
- package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/GatewaySourceEnvelope.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsBucket.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsComparison.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsData.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilter.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeta.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrder.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequest.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeries.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsWindow.js +1 -1
- package/dist/raw/eval/models/ProblemDetails.d.ts +1 -1
- package/dist/raw/eval/models/ProblemDetails.js +1 -1
- package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +1 -1
- package/dist/raw/eval/models/RegistryEdgeTarget.js +1 -1
- package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +1 -1
- package/dist/raw/eval/models/RegistryRelationshipEdge.js +1 -1
- package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +1 -1
- package/dist/raw/eval/models/RegistryRelationshipsView.js +1 -1
- package/dist/raw/eval/models/SpanListEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/SpanListEnvelope.js +1 -1
- package/dist/raw/eval/models/SpanViewDto.d.ts +26 -1
- package/dist/raw/eval/models/SpanViewDto.js +9 -1
- package/dist/raw/eval/models/TraceDetailView.d.ts +10 -1
- package/dist/raw/eval/models/TraceDetailView.js +3 -1
- package/dist/raw/eval/models/TraceLinks.d.ts +1 -1
- package/dist/raw/eval/models/TraceLinks.js +1 -1
- package/dist/raw/eval/models/TraceListEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/TraceListEnvelope.js +1 -1
- package/dist/raw/eval/models/TraceParentView.d.ts +1 -1
- package/dist/raw/eval/models/TraceParentView.js +1 -1
- package/dist/raw/eval/models/TraceStatus.d.ts +1 -1
- package/dist/raw/eval/models/TraceStatus.js +1 -1
- package/dist/raw/eval/models/TraceSummaryStats.d.ts +1 -1
- package/dist/raw/eval/models/TraceSummaryStats.js +1 -1
- package/dist/raw/eval/models/TraceSummaryView.d.ts +1 -1
- package/dist/raw/eval/models/TraceSummaryView.js +1 -1
- package/dist/raw/eval/models/UsageView.d.ts +1 -1
- package/dist/raw/eval/models/UsageView.js +1 -1
- package/dist/raw/eval/models/index.d.ts +2 -0
- package/dist/raw/eval/models/index.js +2 -0
- package/dist/raw/eval/runtime.d.ts +1 -1
- package/dist/raw/eval/runtime.js +1 -1
- package/dist/raw/file/apis/FileApi.d.ts +18 -0
- package/dist/raw/file/apis/FileApi.js +25 -1
- package/dist/raw/file/models/FileCreateUpload400Response.d.ts +2 -0
- package/dist/raw/file/models/FileCreateUpload400Response.js +2 -2
- package/dist/raw/file/models/FileCreateUpload413Response.d.ts +2 -1
- package/dist/raw/file/models/FileCreateUpload413Response.js +2 -3
- package/dist/raw/file/models/FileCreateUpload415Response.d.ts +1 -0
- package/dist/raw/file/models/FileCreateUpload415Response.js +1 -2
- package/dist/raw/file/models/FileFile.d.ts +4 -0
- package/dist/raw/file/models/FileFileArtifact.d.ts +31 -15
- package/dist/raw/file/models/FileFileArtifact.js +2 -2
- package/dist/raw/file/models/FileIngestUpload400Response.d.ts +2 -1
- package/dist/raw/file/models/FileIngestUpload400Response.js +2 -3
- package/dist/raw/file/models/FileIngestUpload415Response.d.ts +63 -0
- package/dist/raw/file/models/FileIngestUpload415Response.js +75 -0
- package/dist/raw/file/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/file/models/index.d.ts +1 -0
- package/dist/raw/file/models/index.js +1 -0
- package/dist/raw/mcp/apis/ServersApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ServersApi.js +25 -1
- package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ToolsApi.js +25 -1
- package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
- package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
- package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
- package/dist/raw/mcp/models/McpMcpServer.js +4 -0
- package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
- package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
- package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
- package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
- package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
- package/dist/raw/mcp/models/index.d.ts +1 -0
- package/dist/raw/mcp/models/index.js +1 -0
- package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
- package/dist/raw/model/apis/OpenaiApi.js +4 -4
- package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
- package/dist/raw/registry/apis/AppsApi.js +385 -0
- package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
- package/dist/raw/registry/apis/AuthApi.js +2 -2
- package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
- package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
- package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
- package/dist/raw/registry/apis/InvitationsApi.js +383 -0
- package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
- package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
- package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
- package/dist/raw/registry/apis/ReleasesApi.js +484 -0
- package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
- package/dist/raw/registry/apis/ReposApi.js +37 -1
- package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
- package/dist/raw/registry/apis/RolesApi.js +95 -0
- package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
- package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
- package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
- package/dist/raw/registry/apis/SessionsApi.js +150 -0
- package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
- package/dist/raw/registry/apis/UsersApi.js +139 -74
- package/dist/raw/registry/apis/WorkspacesApi.d.ts +52 -4
- package/dist/raw/registry/apis/WorkspacesApi.js +92 -5
- package/dist/raw/registry/apis/index.d.ts +5 -7
- package/dist/raw/registry/apis/index.js +5 -7
- package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
- package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
- package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
- package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
- package/dist/raw/registry/models/AppDto.d.ts +174 -0
- package/dist/raw/registry/models/AppDto.js +116 -0
- package/dist/raw/registry/models/AppsPage.d.ts +40 -0
- package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
- package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
- package/dist/raw/registry/models/ArtifactView.js +10 -2
- package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
- package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
- package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
- package/dist/raw/registry/models/CutReleaseBody.js +56 -0
- package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
- package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
- package/dist/raw/registry/models/InstallAppBody.js +48 -0
- package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
- package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
- package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
- package/dist/raw/registry/models/InvitationDto.js +88 -0
- package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
- package/dist/raw/registry/models/InvitationSendResult.js +54 -0
- package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
- package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
- package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
- package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
- package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
- package/dist/raw/registry/models/InvitationsResponse.js +51 -0
- package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
- package/dist/raw/registry/models/InviteeRequest.js +56 -0
- package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
- package/dist/raw/registry/models/InviteeResult.js +66 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
- package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +16 -16
- package/dist/raw/registry/models/RegistryAggregate401Response.js +89 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
- package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
- package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
- package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +33 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.js +7 -0
- package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
- package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
- package/dist/raw/registry/models/ReleaseDto.js +100 -0
- package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
- package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
- package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
- package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
- package/dist/raw/registry/models/RoleDto.d.ts +38 -0
- package/dist/raw/registry/models/RoleDto.js +54 -0
- package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
- package/dist/raw/registry/models/RoleListDto.js +51 -0
- package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
- package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
- package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
- package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/registry/models/SpanViewDto.js +8 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
- package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/registry/models/TraceDetailView.js +2 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
- package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
- package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
- package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
- package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
- package/dist/raw/registry/models/UsersPage.d.ts +3 -3
- package/dist/raw/registry/models/UsersPage.js +3 -3
- package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
- package/dist/raw/registry/models/WhoamiResponse.js +5 -3
- package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
- package/dist/raw/registry/models/WithdrawBody.js +48 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
- package/dist/raw/registry/models/index.d.ts +50 -50
- package/dist/raw/registry/models/index.js +50 -50
- package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
- package/dist/raw/skill/apis/SkillApi.js +86 -11
- package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
- package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
- package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
- package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
- package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
- package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
- package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
- package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
- package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
- package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
- package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
- package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
- package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/skill/models/SpanViewDto.js +8 -0
- package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/skill/models/TraceDetailView.js +2 -0
- package/dist/raw/skill/models/index.d.ts +2 -0
- package/dist/raw/skill/models/index.js +2 -0
- package/dist/resources.d.ts +6 -1
- package/dist/resources.js +9 -6
- package/dist/resources.json +316 -333
- package/dist/tracing/client.d.ts +2 -0
- package/dist/tracing/client.js +7 -0
- package/dist/tracing/compat.d.ts +82 -0
- package/dist/tracing/compat.js +128 -0
- package/dist/tracing/index.d.ts +2 -0
- package/dist/tracing/index.js +13 -1
- package/dist/tracing/integrations.d.ts +35 -0
- package/dist/tracing/integrations.js +95 -0
- package/dist/tracing/spans.d.ts +4 -0
- package/dist/tracing/spans.js +8 -0
- package/dist/tracing/version.d.ts +1 -1
- package/dist/tracing/version.js +1 -1
- package/package.json +1 -1
- package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ActionsApi.js +0 -181
- package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
- package/dist/raw/registry/apis/CatalogApi.js +0 -259
- package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
- package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
- package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
- package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
- package/dist/raw/registry/apis/GroupsApi.js +0 -181
- package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
- package/dist/raw/registry/apis/ProjectsApi.js +0 -402
- package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
- package/dist/raw/registry/apis/UsageApi.js +0 -349
- package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
- package/dist/raw/registry/models/ActionRunDto.js +0 -86
- package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
- package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
- package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
- package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunsPage.js +0 -56
- package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
- package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
- package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
- package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
- package/dist/raw/registry/models/BudgetDto.js +0 -96
- package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
- package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
- package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
- package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
- package/dist/raw/registry/models/CreateProjectBody.js +0 -60
- package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
- package/dist/raw/registry/models/DetectedUserDto.js +0 -74
- package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
- package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
- package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
- package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
- package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
- package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
- package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
- package/dist/raw/registry/models/GroupMemberDto.js +0 -58
- package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
- package/dist/raw/registry/models/GroupMembersPage.js +0 -56
- package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
- package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
- package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
- package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
- package/dist/raw/registry/models/MembershipDto.js +0 -66
- package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
- package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
- package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
- package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
- package/dist/raw/registry/models/PatchProjectBody.js +0 -54
- package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
- package/dist/raw/registry/models/PatchUserBody.js +0 -48
- package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
- package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
- package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
- package/dist/raw/registry/models/ProjectDto.js +0 -92
- package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
- package/dist/raw/registry/models/ProjectExport.js +0 -59
- package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
- package/dist/raw/registry/models/ProjectSlot.js +0 -60
- package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
- package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsPage.js +0 -56
- package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
- package/dist/raw/registry/models/PublisherDto.js +0 -76
- package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
- package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
- package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
- package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
- package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
- package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
- package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
- package/dist/raw/registry/models/UsageCounters.js +0 -78
- package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
- package/dist/raw/registry/models/UsageDayDto.js +0 -114
- package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageDaysPage.js +0 -56
- package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
- package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
- package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageMinutesPage.js +0 -56
|
@@ -24,16 +24,19 @@ import { type TraceDetailView } from '../models/TraceDetailView';
|
|
|
24
24
|
import { type TraceListEnvelope } from '../models/TraceListEnvelope';
|
|
25
25
|
export interface SkillAggregateRequest {
|
|
26
26
|
skillSkillAggregateRequest: SkillSkillAggregateRequest;
|
|
27
|
+
contentEncoding?: SkillAggregateContentEncodingEnum;
|
|
27
28
|
}
|
|
28
29
|
export interface SkillArchiveRequest {
|
|
29
30
|
skillId: string;
|
|
30
31
|
}
|
|
31
32
|
export interface SkillBulkCreateRequest {
|
|
32
33
|
items: string;
|
|
34
|
+
contentEncoding?: SkillBulkCreateContentEncodingEnum;
|
|
33
35
|
}
|
|
34
36
|
export interface SkillCreateRequest {
|
|
35
37
|
body: Blob;
|
|
36
38
|
metadata: string;
|
|
39
|
+
contentEncoding?: SkillCreateContentEncodingEnum;
|
|
37
40
|
}
|
|
38
41
|
export interface SkillGetBundleRequest {
|
|
39
42
|
skillId: string;
|
|
@@ -59,6 +62,7 @@ export interface SkillListRequest {
|
|
|
59
62
|
offset?: number;
|
|
60
63
|
license?: string;
|
|
61
64
|
skillVersion?: string;
|
|
65
|
+
workspaceId?: string;
|
|
62
66
|
sort?: string;
|
|
63
67
|
}
|
|
64
68
|
export interface SkillListInsightsRequest {
|
|
@@ -86,14 +90,17 @@ export interface SkillListSkillTracesRequest {
|
|
|
86
90
|
export interface SkillPatchRequest {
|
|
87
91
|
skillId: string;
|
|
88
92
|
skillSkillPatch: SkillSkillPatch;
|
|
93
|
+
contentEncoding?: SkillPatchContentEncodingEnum;
|
|
89
94
|
}
|
|
90
95
|
export interface SkillQuerySkillTraceStatsRequest {
|
|
91
96
|
skillId: string;
|
|
92
97
|
gatewayTraceStatsRequest: GatewayTraceStatsRequest;
|
|
93
98
|
versionOrdinal?: number;
|
|
99
|
+
contentEncoding?: SkillQuerySkillTraceStatsContentEncodingEnum;
|
|
94
100
|
}
|
|
95
101
|
export interface SkillSearchRequest {
|
|
96
102
|
skillSkillSearchRequest: SkillSkillSearchRequest;
|
|
103
|
+
contentEncoding?: SkillSearchContentEncodingEnum;
|
|
97
104
|
}
|
|
98
105
|
/**
|
|
99
106
|
*
|
|
@@ -132,12 +139,12 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
132
139
|
*/
|
|
133
140
|
skillBulkCreateRequestOpts(requestParameters: SkillBulkCreateRequest): Promise<runtime.RequestOpts>;
|
|
134
141
|
/**
|
|
135
|
-
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose `name` already names a skill in that workspace appends a version to it. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
142
|
+
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose identity (`source_id` when sent, else `name`) already names a skill in that workspace appends a version to it, and each item may carry its own `repo_id` and source envelope. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
136
143
|
* Create many skills from bundles
|
|
137
144
|
*/
|
|
138
145
|
skillBulkCreateRaw(requestParameters: SkillBulkCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillBulkSkillResponse>>;
|
|
139
146
|
/**
|
|
140
|
-
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose `name` already names a skill in that workspace appends a version to it. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
147
|
+
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose identity (`source_id` when sent, else `name`) already names a skill in that workspace appends a version to it, and each item may carry its own `repo_id` and source envelope. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
141
148
|
* Create many skills from bundles
|
|
142
149
|
*/
|
|
143
150
|
skillBulkCreate(requestParameters: SkillBulkCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillBulkSkillResponse>;
|
|
@@ -146,12 +153,12 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
146
153
|
*/
|
|
147
154
|
skillCreateRequestOpts(requestParameters: SkillCreateRequest): Promise<runtime.RequestOpts>;
|
|
148
155
|
/**
|
|
149
|
-
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.**
|
|
156
|
+
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.** The skill\'s identity within its workspace is `source_id` when the envelope carries one, else `name`: a create naming a skill that already lives there appends a new version to that line rather than minting a second one, so the handle is stable across uploads and the history sits on one artifact. A byte-identical re-upload is an idempotent no-op that returns the existing head with no new version. Archiving a skill frees its identity for a fresh line. **Provenance rides the envelope.** The `metadata` part may also carry `repo_id` and the source envelope (`source_type`, `source_id`, `source_uri`, `source_version`, `source_created_at`/`source_created_by`, `source_last_modified_at`/`source_last_modified_by`, `source_synced_at`, `source_metadata`), exactly as the generic artifact route takes them. A git sync sends the repo-relative skill path as `source_id` with `source_type: git`, which is what binds the skill to its repository and lets two repositories each publish a skill of the same name.
|
|
150
157
|
* Create a skill from a bundle
|
|
151
158
|
*/
|
|
152
159
|
skillCreateRaw(requestParameters: SkillCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillSkillArtifactView>>;
|
|
153
160
|
/**
|
|
154
|
-
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.**
|
|
161
|
+
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.** The skill\'s identity within its workspace is `source_id` when the envelope carries one, else `name`: a create naming a skill that already lives there appends a new version to that line rather than minting a second one, so the handle is stable across uploads and the history sits on one artifact. A byte-identical re-upload is an idempotent no-op that returns the existing head with no new version. Archiving a skill frees its identity for a fresh line. **Provenance rides the envelope.** The `metadata` part may also carry `repo_id` and the source envelope (`source_type`, `source_id`, `source_uri`, `source_version`, `source_created_at`/`source_created_by`, `source_last_modified_at`/`source_last_modified_by`, `source_synced_at`, `source_metadata`), exactly as the generic artifact route takes them. A git sync sends the repo-relative skill path as `source_id` with `source_type: git`, which is what binds the skill to its repository and lets two repositories each publish a skill of the same name.
|
|
155
162
|
* Create a skill from a bundle
|
|
156
163
|
*/
|
|
157
164
|
skillCreate(requestParameters: SkillCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillSkillArtifactView>;
|
|
@@ -174,12 +181,12 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
174
181
|
*/
|
|
175
182
|
skillGetEnrichedRequestOpts(requestParameters: SkillGetEnrichedRequest): Promise<runtime.RequestOpts>;
|
|
176
183
|
/**
|
|
177
|
-
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list.
|
|
184
|
+
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list. `files` is empty for a skill whose bytes are not served — `blocked` or `archived` — because the list names each file\'s directly fetchable content route; read `artifact_status` and, for a block, the skill\'s `security` insight.
|
|
178
185
|
* Read a skill with its files\' L1 embedded
|
|
179
186
|
*/
|
|
180
187
|
skillGetEnrichedRaw(requestParameters: SkillGetEnrichedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
181
188
|
/**
|
|
182
|
-
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list.
|
|
189
|
+
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list. `files` is empty for a skill whose bytes are not served — `blocked` or `archived` — because the list names each file\'s directly fetchable content route; read `artifact_status` and, for a block, the skill\'s `security` insight.
|
|
183
190
|
* Read a skill with its files\' L1 embedded
|
|
184
191
|
*/
|
|
185
192
|
skillGetEnriched(requestParameters: SkillGetEnrichedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -216,12 +223,12 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
216
223
|
*/
|
|
217
224
|
skillGetVersionEnrichedRequestOpts(requestParameters: SkillGetVersionEnrichedRequest): Promise<runtime.RequestOpts>;
|
|
218
225
|
/**
|
|
219
|
-
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest.
|
|
226
|
+
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest. `files` is empty when the skill is `blocked` or `archived`, as on the latest read.
|
|
220
227
|
* Read a pinned skill version with its files\' L1 embedded
|
|
221
228
|
*/
|
|
222
229
|
skillGetVersionEnrichedRaw(requestParameters: SkillGetVersionEnrichedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
223
230
|
/**
|
|
224
|
-
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest.
|
|
231
|
+
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest. `files` is empty when the skill is `blocked` or `archived`, as on the latest read.
|
|
225
232
|
* Read a pinned skill version with its files\' L1 embedded
|
|
226
233
|
*/
|
|
227
234
|
skillGetVersionEnriched(requestParameters: SkillGetVersionEnrichedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -244,12 +251,12 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
244
251
|
*/
|
|
245
252
|
skillListRequestOpts(requestParameters: SkillListRequest): Promise<runtime.RequestOpts>;
|
|
246
253
|
/**
|
|
247
|
-
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns.
|
|
254
|
+
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns; `workspace_id` narrows to one workspace and takes the prefixed `workspace_…` handle, the same spelling `POST /skills/search` and `POST /skills/aggregate` take. Without it the page spans every workspace the caller can read.
|
|
248
255
|
* List skills
|
|
249
256
|
*/
|
|
250
257
|
skillListRaw(requestParameters: SkillListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SkillPageSkillArtifactView>>;
|
|
251
258
|
/**
|
|
252
|
-
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns.
|
|
259
|
+
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns; `workspace_id` narrows to one workspace and takes the prefixed `workspace_…` handle, the same spelling `POST /skills/search` and `POST /skills/aggregate` take. Without it the page spans every workspace the caller can read.
|
|
253
260
|
* List skills
|
|
254
261
|
*/
|
|
255
262
|
skillList(requestParameters?: SkillListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillPageSkillArtifactView>;
|
|
@@ -338,3 +345,51 @@ export declare class SkillApi extends runtime.BaseAPI {
|
|
|
338
345
|
*/
|
|
339
346
|
skillSearch(requestParameters: SkillSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SkillPageSkillArtifactView>;
|
|
340
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* @export
|
|
350
|
+
* @enum {string}
|
|
351
|
+
*/
|
|
352
|
+
export declare enum SkillAggregateContentEncodingEnum {
|
|
353
|
+
Base64 = "base64",
|
|
354
|
+
GzipBase64 = "gzip, base64"
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* @export
|
|
358
|
+
* @enum {string}
|
|
359
|
+
*/
|
|
360
|
+
export declare enum SkillBulkCreateContentEncodingEnum {
|
|
361
|
+
Base64 = "base64",
|
|
362
|
+
GzipBase64 = "gzip, base64"
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* @export
|
|
366
|
+
* @enum {string}
|
|
367
|
+
*/
|
|
368
|
+
export declare enum SkillCreateContentEncodingEnum {
|
|
369
|
+
Base64 = "base64",
|
|
370
|
+
GzipBase64 = "gzip, base64"
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @export
|
|
374
|
+
* @enum {string}
|
|
375
|
+
*/
|
|
376
|
+
export declare enum SkillPatchContentEncodingEnum {
|
|
377
|
+
Base64 = "base64",
|
|
378
|
+
GzipBase64 = "gzip, base64"
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @export
|
|
382
|
+
* @enum {string}
|
|
383
|
+
*/
|
|
384
|
+
export declare enum SkillQuerySkillTraceStatsContentEncodingEnum {
|
|
385
|
+
Base64 = "base64",
|
|
386
|
+
GzipBase64 = "gzip, base64"
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @export
|
|
390
|
+
* @enum {string}
|
|
391
|
+
*/
|
|
392
|
+
export declare enum SkillSearchContentEncodingEnum {
|
|
393
|
+
Base64 = "base64",
|
|
394
|
+
GzipBase64 = "gzip, base64"
|
|
395
|
+
}
|
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.SkillApi = void 0;
|
|
49
|
+
exports.SkillSearchContentEncodingEnum = exports.SkillQuerySkillTraceStatsContentEncodingEnum = exports.SkillPatchContentEncodingEnum = exports.SkillCreateContentEncodingEnum = exports.SkillBulkCreateContentEncodingEnum = exports.SkillAggregateContentEncodingEnum = exports.SkillApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const GatewayTraceStatsEnvelope_1 = require("../models/GatewayTraceStatsEnvelope");
|
|
52
52
|
const GatewayTraceStatsRequest_1 = require("../models/GatewayTraceStatsRequest");
|
|
@@ -74,6 +74,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
74
74
|
const queryParameters = {};
|
|
75
75
|
const headerParameters = {};
|
|
76
76
|
headerParameters['Content-Type'] = 'application/json';
|
|
77
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
78
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
79
|
+
}
|
|
77
80
|
if (this.configuration && this.configuration.accessToken) {
|
|
78
81
|
const token = this.configuration.accessToken;
|
|
79
82
|
const tokenString = await token("bearer", []);
|
|
@@ -158,6 +161,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
158
161
|
}
|
|
159
162
|
const queryParameters = {};
|
|
160
163
|
const headerParameters = {};
|
|
164
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
165
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
166
|
+
}
|
|
161
167
|
if (this.configuration && this.configuration.accessToken) {
|
|
162
168
|
const token = this.configuration.accessToken;
|
|
163
169
|
const tokenString = await token("bearer", []);
|
|
@@ -191,7 +197,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
191
197
|
};
|
|
192
198
|
}
|
|
193
199
|
/**
|
|
194
|
-
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose `name` already names a skill in that workspace appends a version to it. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
200
|
+
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose identity (`source_id` when sent, else `name`) already names a skill in that workspace appends a version to it, and each item may carry its own `repo_id` and source envelope. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
195
201
|
* Create many skills from bundles
|
|
196
202
|
*/
|
|
197
203
|
async skillBulkCreateRaw(requestParameters, initOverrides) {
|
|
@@ -200,7 +206,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
200
206
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, SkillBulkSkillResponse_1.SkillBulkSkillResponseFromJSON)(jsonValue));
|
|
201
207
|
}
|
|
202
208
|
/**
|
|
203
|
-
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose `name` already names a skill in that workspace appends a version to it. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
209
|
+
* Upload up to 100 skill bundles in one `multipart/form-data` request. Send an `items` part holding a JSON array of `{metadata, body_part}` objects — `metadata` is the same envelope `POST /skills` takes (`name`, optional `description`, the required `workspace_id`), and `body_part` names another part of the same request carrying that skill\'s `.zip`. Each bundle runs the identical create flow to the single-upload route, and every skill\'s files are stored as content-addressed `file` artifacts in the same batch. Re-uploading versions rather than duplicates, exactly as `POST /skills` does: an item whose identity (`source_id` when sent, else `name`) already names a skill in that workspace appends a version to it, and each item may carry its own `repo_id` and source envelope. Two items in one batch naming the same skill is a per-item `409` — a batch cannot append twice to one line. A byte-identical item is also a `409`, carrying `existing_artifact_id` so the caller can identify the skill it already has. The response is `207 Multi-Status`: one slot per submitted item, in submitted order, each carrying either the created skill or an RFC 7807 problem. An item-attributable failure — a bundle that fails validation, a missing `body_part`, an unparseable envelope — is reported in that item\'s slot and does not affect the others. Only envelope-level failures (a malformed request, an `items` part that is missing, empty, or over the cap) fail the whole request. The practical ceiling is usually the 16 MiB request body rather than the 100-item cap, since one bundle may itself be up to 10 MiB: batch small text bundles freely, and send large ones through `POST /skills` instead. A bundle containing one file whose *decompressed* size exceeds 16 MiB is a per-item `422` on that skill alone — a single file is stored in one call and cannot be split.
|
|
204
210
|
* Create many skills from bundles
|
|
205
211
|
*/
|
|
206
212
|
async skillBulkCreate(requestParameters, initOverrides) {
|
|
@@ -219,6 +225,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
219
225
|
}
|
|
220
226
|
const queryParameters = {};
|
|
221
227
|
const headerParameters = {};
|
|
228
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
229
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
230
|
+
}
|
|
222
231
|
if (this.configuration && this.configuration.accessToken) {
|
|
223
232
|
const token = this.configuration.accessToken;
|
|
224
233
|
const tokenString = await token("bearer", []);
|
|
@@ -257,7 +266,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
257
266
|
};
|
|
258
267
|
}
|
|
259
268
|
/**
|
|
260
|
-
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.**
|
|
269
|
+
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.** The skill\'s identity within its workspace is `source_id` when the envelope carries one, else `name`: a create naming a skill that already lives there appends a new version to that line rather than minting a second one, so the handle is stable across uploads and the history sits on one artifact. A byte-identical re-upload is an idempotent no-op that returns the existing head with no new version. Archiving a skill frees its identity for a fresh line. **Provenance rides the envelope.** The `metadata` part may also carry `repo_id` and the source envelope (`source_type`, `source_id`, `source_uri`, `source_version`, `source_created_at`/`source_created_by`, `source_last_modified_at`/`source_last_modified_by`, `source_synced_at`, `source_metadata`), exactly as the generic artifact route takes them. A git sync sends the repo-relative skill path as `source_id` with `source_type: git`, which is what binds the skill to its repository and lets two repositories each publish a skill of the same name.
|
|
261
270
|
* Create a skill from a bundle
|
|
262
271
|
*/
|
|
263
272
|
async skillCreateRaw(requestParameters, initOverrides) {
|
|
@@ -266,7 +275,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
266
275
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, SkillSkillArtifactView_1.SkillSkillArtifactViewFromJSON)(jsonValue));
|
|
267
276
|
}
|
|
268
277
|
/**
|
|
269
|
-
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.**
|
|
278
|
+
* Upload a skill bundle as `multipart/form-data`: a `metadata` JSON part carrying `name`, optional `description`, and the required `workspace_id` handle, plus a `body` part holding the `.zip`. The create hook unzips the bundle, validates it (rejecting zip-slip and requiring `SKILL.md`), derives `summary`/`license`/the structural counts, stores each file as its own content-addressed `file` artifact, and pins the manifest — so the skill\'s own properties are derived, never supplied. **Re-uploading a skill versions it.** The skill\'s identity within its workspace is `source_id` when the envelope carries one, else `name`: a create naming a skill that already lives there appends a new version to that line rather than minting a second one, so the handle is stable across uploads and the history sits on one artifact. A byte-identical re-upload is an idempotent no-op that returns the existing head with no new version. Archiving a skill frees its identity for a fresh line. **Provenance rides the envelope.** The `metadata` part may also carry `repo_id` and the source envelope (`source_type`, `source_id`, `source_uri`, `source_version`, `source_created_at`/`source_created_by`, `source_last_modified_at`/`source_last_modified_by`, `source_synced_at`, `source_metadata`), exactly as the generic artifact route takes them. A git sync sends the repo-relative skill path as `source_id` with `source_type: git`, which is what binds the skill to its repository and lets two repositories each publish a skill of the same name.
|
|
270
279
|
* Create a skill from a bundle
|
|
271
280
|
*/
|
|
272
281
|
async skillCreate(requestParameters, initOverrides) {
|
|
@@ -341,7 +350,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
341
350
|
};
|
|
342
351
|
}
|
|
343
352
|
/**
|
|
344
|
-
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list.
|
|
353
|
+
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list. `files` is empty for a skill whose bytes are not served — `blocked` or `archived` — because the list names each file\'s directly fetchable content route; read `artifact_status` and, for a block, the skill\'s `security` insight.
|
|
345
354
|
* Read a skill with its files\' L1 embedded
|
|
346
355
|
*/
|
|
347
356
|
async skillGetEnrichedRaw(requestParameters, initOverrides) {
|
|
@@ -350,7 +359,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
350
359
|
return new runtime.VoidApiResponse(response);
|
|
351
360
|
}
|
|
352
361
|
/**
|
|
353
|
-
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list.
|
|
362
|
+
* Return the skill\'s latest view with each pinned file\'s L1 metadata embedded under `files` (content excluded). Each embedded file\'s `content_uri` is the file extension\'s HTTP content route, directly fetchable. The thin pin manifest is replaced by this richer list. `files` is empty for a skill whose bytes are not served — `blocked` or `archived` — because the list names each file\'s directly fetchable content route; read `artifact_status` and, for a block, the skill\'s `security` insight.
|
|
354
363
|
* Read a skill with its files\' L1 embedded
|
|
355
364
|
*/
|
|
356
365
|
async skillGetEnriched(requestParameters, initOverrides) {
|
|
@@ -481,7 +490,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
481
490
|
};
|
|
482
491
|
}
|
|
483
492
|
/**
|
|
484
|
-
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest.
|
|
493
|
+
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest. `files` is empty when the skill is `blocked` or `archived`, as on the latest read.
|
|
485
494
|
* Read a pinned skill version with its files\' L1 embedded
|
|
486
495
|
*/
|
|
487
496
|
async skillGetVersionEnrichedRaw(requestParameters, initOverrides) {
|
|
@@ -490,7 +499,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
490
499
|
return new runtime.VoidApiResponse(response);
|
|
491
500
|
}
|
|
492
501
|
/**
|
|
493
|
-
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest.
|
|
502
|
+
* Like the latest read, but for a pinned skill version — the embedded file L1s are the exact versions that skill version pins, not file-latest. `files` is empty when the skill is `blocked` or `archived`, as on the latest read.
|
|
494
503
|
* Read a pinned skill version with its files\' L1 embedded
|
|
495
504
|
*/
|
|
496
505
|
async skillGetVersionEnriched(requestParameters, initOverrides) {
|
|
@@ -550,6 +559,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
550
559
|
if (requestParameters['skillVersion'] != null) {
|
|
551
560
|
queryParameters['skill_version'] = requestParameters['skillVersion'];
|
|
552
561
|
}
|
|
562
|
+
if (requestParameters['workspaceId'] != null) {
|
|
563
|
+
queryParameters['workspace_id'] = requestParameters['workspaceId'];
|
|
564
|
+
}
|
|
553
565
|
if (requestParameters['sort'] != null) {
|
|
554
566
|
queryParameters['sort'] = requestParameters['sort'];
|
|
555
567
|
}
|
|
@@ -570,7 +582,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
570
582
|
};
|
|
571
583
|
}
|
|
572
584
|
/**
|
|
573
|
-
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns.
|
|
585
|
+
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns; `workspace_id` narrows to one workspace and takes the prefixed `workspace_…` handle, the same spelling `POST /skills/search` and `POST /skills/aggregate` take. Without it the page spans every workspace the caller can read.
|
|
574
586
|
* List skills
|
|
575
587
|
*/
|
|
576
588
|
async skillListRaw(requestParameters, initOverrides) {
|
|
@@ -579,7 +591,7 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
579
591
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, SkillPageSkillArtifactView_1.SkillPageSkillArtifactViewFromJSON)(jsonValue));
|
|
580
592
|
}
|
|
581
593
|
/**
|
|
582
|
-
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns.
|
|
594
|
+
* Page the account\'s skills, newest first, each carrying its typed metadata. System skills (the seeded bootstrap skill) are excluded. `license` and `skill_version` filter on the kind\'s indexed columns; `workspace_id` narrows to one workspace and takes the prefixed `workspace_…` handle, the same spelling `POST /skills/search` and `POST /skills/aggregate` take. Without it the page spans every workspace the caller can read.
|
|
583
595
|
* List skills
|
|
584
596
|
*/
|
|
585
597
|
async skillList(requestParameters = {}, initOverrides) {
|
|
@@ -764,6 +776,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
764
776
|
const queryParameters = {};
|
|
765
777
|
const headerParameters = {};
|
|
766
778
|
headerParameters['Content-Type'] = 'application/json';
|
|
779
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
780
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
781
|
+
}
|
|
767
782
|
if (this.configuration && this.configuration.accessToken) {
|
|
768
783
|
const token = this.configuration.accessToken;
|
|
769
784
|
const tokenString = await token("bearer", []);
|
|
@@ -814,6 +829,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
814
829
|
}
|
|
815
830
|
const headerParameters = {};
|
|
816
831
|
headerParameters['Content-Type'] = 'application/json';
|
|
832
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
833
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
834
|
+
}
|
|
817
835
|
if (this.configuration && this.configuration.accessToken) {
|
|
818
836
|
const token = this.configuration.accessToken;
|
|
819
837
|
const tokenString = await token("bearer", []);
|
|
@@ -858,6 +876,9 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
858
876
|
const queryParameters = {};
|
|
859
877
|
const headerParameters = {};
|
|
860
878
|
headerParameters['Content-Type'] = 'application/json';
|
|
879
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
880
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
881
|
+
}
|
|
861
882
|
if (this.configuration && this.configuration.accessToken) {
|
|
862
883
|
const token = this.configuration.accessToken;
|
|
863
884
|
const tokenString = await token("bearer", []);
|
|
@@ -893,3 +914,57 @@ class SkillApi extends runtime.BaseAPI {
|
|
|
893
914
|
}
|
|
894
915
|
}
|
|
895
916
|
exports.SkillApi = SkillApi;
|
|
917
|
+
/**
|
|
918
|
+
* @export
|
|
919
|
+
* @enum {string}
|
|
920
|
+
*/
|
|
921
|
+
var SkillAggregateContentEncodingEnum;
|
|
922
|
+
(function (SkillAggregateContentEncodingEnum) {
|
|
923
|
+
SkillAggregateContentEncodingEnum["Base64"] = "base64";
|
|
924
|
+
SkillAggregateContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
925
|
+
})(SkillAggregateContentEncodingEnum || (exports.SkillAggregateContentEncodingEnum = SkillAggregateContentEncodingEnum = {}));
|
|
926
|
+
/**
|
|
927
|
+
* @export
|
|
928
|
+
* @enum {string}
|
|
929
|
+
*/
|
|
930
|
+
var SkillBulkCreateContentEncodingEnum;
|
|
931
|
+
(function (SkillBulkCreateContentEncodingEnum) {
|
|
932
|
+
SkillBulkCreateContentEncodingEnum["Base64"] = "base64";
|
|
933
|
+
SkillBulkCreateContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
934
|
+
})(SkillBulkCreateContentEncodingEnum || (exports.SkillBulkCreateContentEncodingEnum = SkillBulkCreateContentEncodingEnum = {}));
|
|
935
|
+
/**
|
|
936
|
+
* @export
|
|
937
|
+
* @enum {string}
|
|
938
|
+
*/
|
|
939
|
+
var SkillCreateContentEncodingEnum;
|
|
940
|
+
(function (SkillCreateContentEncodingEnum) {
|
|
941
|
+
SkillCreateContentEncodingEnum["Base64"] = "base64";
|
|
942
|
+
SkillCreateContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
943
|
+
})(SkillCreateContentEncodingEnum || (exports.SkillCreateContentEncodingEnum = SkillCreateContentEncodingEnum = {}));
|
|
944
|
+
/**
|
|
945
|
+
* @export
|
|
946
|
+
* @enum {string}
|
|
947
|
+
*/
|
|
948
|
+
var SkillPatchContentEncodingEnum;
|
|
949
|
+
(function (SkillPatchContentEncodingEnum) {
|
|
950
|
+
SkillPatchContentEncodingEnum["Base64"] = "base64";
|
|
951
|
+
SkillPatchContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
952
|
+
})(SkillPatchContentEncodingEnum || (exports.SkillPatchContentEncodingEnum = SkillPatchContentEncodingEnum = {}));
|
|
953
|
+
/**
|
|
954
|
+
* @export
|
|
955
|
+
* @enum {string}
|
|
956
|
+
*/
|
|
957
|
+
var SkillQuerySkillTraceStatsContentEncodingEnum;
|
|
958
|
+
(function (SkillQuerySkillTraceStatsContentEncodingEnum) {
|
|
959
|
+
SkillQuerySkillTraceStatsContentEncodingEnum["Base64"] = "base64";
|
|
960
|
+
SkillQuerySkillTraceStatsContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
961
|
+
})(SkillQuerySkillTraceStatsContentEncodingEnum || (exports.SkillQuerySkillTraceStatsContentEncodingEnum = SkillQuerySkillTraceStatsContentEncodingEnum = {}));
|
|
962
|
+
/**
|
|
963
|
+
* @export
|
|
964
|
+
* @enum {string}
|
|
965
|
+
*/
|
|
966
|
+
var SkillSearchContentEncodingEnum;
|
|
967
|
+
(function (SkillSearchContentEncodingEnum) {
|
|
968
|
+
SkillSearchContentEncodingEnum["Base64"] = "base64";
|
|
969
|
+
SkillSearchContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
970
|
+
})(SkillSearchContentEncodingEnum || (exports.SkillSearchContentEncodingEnum = SkillSearchContentEncodingEnum = {}));
|
|
@@ -16,6 +16,12 @@ import type { GatewayArtifactIdentityRevealView } from './GatewayArtifactIdentit
|
|
|
16
16
|
* @interface GatewayArtifactBase
|
|
17
17
|
*/
|
|
18
18
|
export interface GatewayArtifactBase {
|
|
19
|
+
/**
|
|
20
|
+
* Value of the `app` field.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GatewayArtifactBase
|
|
23
|
+
*/
|
|
24
|
+
app?: string;
|
|
19
25
|
/**
|
|
20
26
|
* Value of the `artifact_status` field.
|
|
21
27
|
* @type {string}
|
|
@@ -58,12 +64,6 @@ export interface GatewayArtifactBase {
|
|
|
58
64
|
* @memberof GatewayArtifactBase
|
|
59
65
|
*/
|
|
60
66
|
displayName?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Value of the `extension` field.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof GatewayArtifactBase
|
|
65
|
-
*/
|
|
66
|
-
extension?: string;
|
|
67
67
|
/**
|
|
68
68
|
* Kind-prefixed Crockford-base32 handle (`<kind>_<base32>`).
|
|
69
69
|
* @type {string}
|
|
@@ -102,19 +102,28 @@ export interface GatewayArtifactBase {
|
|
|
102
102
|
* The Control-Plane OIDC client id this artifact authenticates as
|
|
103
103
|
* (`x-gateway-identity` kinds); absent for every other kind.
|
|
104
104
|
*
|
|
105
|
-
* **Derived, not stored
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
105
|
+
* **Derived, not stored, and present on the create response only.** The
|
|
106
|
+
* registry would resolve it from the artifact's `service_principals` row
|
|
107
|
+
* rather than keep a second copy on the artifact — but only the create path
|
|
108
|
+
* does that lookup, because it has just provisioned the identity. Every read
|
|
109
|
+
* shape (single read, list, search, `PATCH`) is built by one constructor that
|
|
110
|
+
* sets this `None`, so it is absent from all four.
|
|
111
|
+
*
|
|
112
|
+
* This block used to name the single-artifact read as a second populated path.
|
|
113
|
+
* It was never one. Adding it means deciding whether list and search pay a
|
|
114
|
+
* per-row identity read too; the lookup a future implementation would call is
|
|
115
|
+
* `registry_server::identity::artifact_principal`. It is the public half of the
|
|
116
|
+
* credential pair and is not secret.
|
|
111
117
|
* @type {string}
|
|
112
118
|
* @memberof GatewayArtifactBase
|
|
113
119
|
*/
|
|
114
120
|
oidcClientId?: string | null;
|
|
115
121
|
/**
|
|
116
122
|
* Canonical owner: the `users.user_id` this artifact belongs to, FK-backed.
|
|
117
|
-
*
|
|
123
|
+
*
|
|
124
|
+
* Defaulted to the creating principal, so this is normally set. Absent for a row created
|
|
125
|
+
* before that default landed, for a system-plane write, and for a principal with no directory
|
|
126
|
+
* row — a service account or a seed has nothing to own anything with.
|
|
118
127
|
* @type {string}
|
|
119
128
|
* @memberof GatewayArtifactBase
|
|
120
129
|
*/
|
|
@@ -222,13 +231,16 @@ export interface GatewayArtifactBase {
|
|
|
222
231
|
*/
|
|
223
232
|
updatedBy: string;
|
|
224
233
|
/**
|
|
225
|
-
*
|
|
234
|
+
* The free-form label the write set, verbatim. Absent when none was sent, and *not* the name
|
|
235
|
+
* the version shipped under — that is the release's own `version_label`.
|
|
226
236
|
* @type {string}
|
|
227
237
|
* @memberof GatewayArtifactBase
|
|
228
238
|
*/
|
|
229
239
|
versionLabel?: string | null;
|
|
230
240
|
/**
|
|
231
|
-
*
|
|
241
|
+
* This version's position in its line — the write index, 1-based and dense over versions
|
|
242
|
+
* *written*. Distinct from a release's `version_ordinal`, which counts versions **shipped**;
|
|
243
|
+
* the two agree under the default `auto` release policy and diverge under `manual`.
|
|
232
244
|
* @type {number}
|
|
233
245
|
* @memberof GatewayArtifactBase
|
|
234
246
|
*/
|
|
@@ -59,6 +59,7 @@ function GatewayArtifactBaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
return json;
|
|
60
60
|
}
|
|
61
61
|
return {
|
|
62
|
+
'app': json['app'] == null ? undefined : json['app'],
|
|
62
63
|
'artifactStatus': json['artifact_status'],
|
|
63
64
|
'commitTs': json['commit_ts'],
|
|
64
65
|
'contentHashHex': json['content_hash_hex'] === undefined ? undefined : json['content_hash_hex'] === null ? null : json['content_hash_hex'],
|
|
@@ -66,7 +67,6 @@ function GatewayArtifactBaseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
66
67
|
'createdBy': json['created_by'],
|
|
67
68
|
'description': json['description'] === undefined ? undefined : json['description'] === null ? null : json['description'],
|
|
68
69
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
69
|
-
'extension': json['extension'] == null ? undefined : json['extension'],
|
|
70
70
|
'id': json['id'],
|
|
71
71
|
'identity': json['identity'] === undefined ? undefined : json['identity'] === null ? null : (0, GatewayArtifactIdentityRevealView_1.GatewayArtifactIdentityRevealViewFromJSON)(json['identity']),
|
|
72
72
|
'isLatest': json['is_latest'],
|
|
@@ -102,6 +102,7 @@ function GatewayArtifactBaseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
102
102
|
return value;
|
|
103
103
|
}
|
|
104
104
|
return {
|
|
105
|
+
'app': value['app'],
|
|
105
106
|
'artifact_status': value['artifactStatus'],
|
|
106
107
|
'commit_ts': value['commitTs'],
|
|
107
108
|
'content_hash_hex': value['contentHashHex'],
|
|
@@ -109,7 +110,6 @@ function GatewayArtifactBaseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
109
110
|
'created_by': value['createdBy'],
|
|
110
111
|
'description': value['description'],
|
|
111
112
|
'display_name': value['displayName'],
|
|
112
|
-
'extension': value['extension'],
|
|
113
113
|
'id': value['id'],
|
|
114
114
|
'identity': (0, GatewayArtifactIdentityRevealView_1.GatewayArtifactIdentityRevealViewToJSON)(value['identity']),
|
|
115
115
|
'is_latest': value['isLatest'],
|
|
@@ -22,7 +22,11 @@ export declare enum GatewayTraceStatsGroupBy {
|
|
|
22
22
|
Mcp = "mcp",
|
|
23
23
|
Tool = "tool",
|
|
24
24
|
Model = "model",
|
|
25
|
-
User = "user"
|
|
25
|
+
User = "user",
|
|
26
|
+
Experiment = "experiment",
|
|
27
|
+
ScoreName = "score_name",
|
|
28
|
+
Scorer = "scorer",
|
|
29
|
+
ScorerVersion = "scorer_version"
|
|
26
30
|
}
|
|
27
31
|
export declare function instanceOfGatewayTraceStatsGroupBy(value: any): boolean;
|
|
28
32
|
export declare function GatewayTraceStatsGroupByFromJSON(json: any): GatewayTraceStatsGroupBy;
|
|
@@ -34,6 +34,10 @@ var GatewayTraceStatsGroupBy;
|
|
|
34
34
|
GatewayTraceStatsGroupBy["Tool"] = "tool";
|
|
35
35
|
GatewayTraceStatsGroupBy["Model"] = "model";
|
|
36
36
|
GatewayTraceStatsGroupBy["User"] = "user";
|
|
37
|
+
GatewayTraceStatsGroupBy["Experiment"] = "experiment";
|
|
38
|
+
GatewayTraceStatsGroupBy["ScoreName"] = "score_name";
|
|
39
|
+
GatewayTraceStatsGroupBy["Scorer"] = "scorer";
|
|
40
|
+
GatewayTraceStatsGroupBy["ScorerVersion"] = "scorer_version";
|
|
37
41
|
})(GatewayTraceStatsGroupBy || (exports.GatewayTraceStatsGroupBy = GatewayTraceStatsGroupBy = {}));
|
|
38
42
|
function instanceOfGatewayTraceStatsGroupBy(value) {
|
|
39
43
|
for (const key in GatewayTraceStatsGroupBy) {
|
|
@@ -28,7 +28,9 @@ export declare enum GatewayTraceStatsMeasure {
|
|
|
28
28
|
Cost = "cost",
|
|
29
29
|
LatencyP50 = "latency_p50",
|
|
30
30
|
LatencyP90 = "latency_p90",
|
|
31
|
-
LatencyP99 = "latency_p99"
|
|
31
|
+
LatencyP99 = "latency_p99",
|
|
32
|
+
ScoreValue = "score_value",
|
|
33
|
+
Scores = "scores"
|
|
32
34
|
}
|
|
33
35
|
export declare function instanceOfGatewayTraceStatsMeasure(value: any): boolean;
|
|
34
36
|
export declare function GatewayTraceStatsMeasureFromJSON(json: any): GatewayTraceStatsMeasure;
|
|
@@ -40,6 +40,8 @@ var GatewayTraceStatsMeasure;
|
|
|
40
40
|
GatewayTraceStatsMeasure["LatencyP50"] = "latency_p50";
|
|
41
41
|
GatewayTraceStatsMeasure["LatencyP90"] = "latency_p90";
|
|
42
42
|
GatewayTraceStatsMeasure["LatencyP99"] = "latency_p99";
|
|
43
|
+
GatewayTraceStatsMeasure["ScoreValue"] = "score_value";
|
|
44
|
+
GatewayTraceStatsMeasure["Scores"] = "scores";
|
|
43
45
|
})(GatewayTraceStatsMeasure || (exports.GatewayTraceStatsMeasure = GatewayTraceStatsMeasure = {}));
|
|
44
46
|
function instanceOfGatewayTraceStatsMeasure(value) {
|
|
45
47
|
for (const key in GatewayTraceStatsMeasure) {
|
|
@@ -25,6 +25,8 @@ exports.SkillAggregate400ResponseToJSONTyped = SkillAggregate400ResponseToJSONTy
|
|
|
25
25
|
*/
|
|
26
26
|
var SkillAggregate400ResponseCodeEnum;
|
|
27
27
|
(function (SkillAggregate400ResponseCodeEnum) {
|
|
28
|
+
SkillAggregate400ResponseCodeEnum["InvalidBase64"] = "invalid_base64";
|
|
29
|
+
SkillAggregate400ResponseCodeEnum["InvalidGzip"] = "invalid_gzip";
|
|
28
30
|
SkillAggregate400ResponseCodeEnum["InvalidJson"] = "invalid_json";
|
|
29
31
|
})(SkillAggregate400ResponseCodeEnum || (exports.SkillAggregate400ResponseCodeEnum = SkillAggregate400ResponseCodeEnum = {}));
|
|
30
32
|
/**
|
|
@@ -33,8 +35,6 @@ var SkillAggregate400ResponseCodeEnum;
|
|
|
33
35
|
function instanceOfSkillAggregate400Response(value) {
|
|
34
36
|
if (!('code' in value) || value['code'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (value['code'] !== 'invalid_json')
|
|
37
|
-
return false;
|
|
38
38
|
if (!('detail' in value) || value['detail'] === undefined)
|
|
39
39
|
return false;
|
|
40
40
|
if (!('status' in value) || value['status'] === undefined)
|