@atlanai/sdk 0.1.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.
Files changed (639) hide show
  1. package/README.md +86 -7
  2. package/dist/client.js +4 -2
  3. package/dist/evals.d.ts +177 -0
  4. package/dist/evals.js +916 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +9 -1
  7. package/dist/manifest.json +473 -204
  8. package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
  9. package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
  10. package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
  11. package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
  12. package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
  13. package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
  14. package/dist/raw/agent/apis/AgentsApi.d.ts +49 -4
  15. package/dist/raw/agent/apis/AgentsApi.js +65 -5
  16. package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
  17. package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
  18. package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
  19. package/dist/raw/agent/apis/HarnessesApi.js +49 -1
  20. package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
  21. package/dist/raw/agent/apis/OutputsApi.js +61 -1
  22. package/dist/raw/agent/apis/SessionsApi.d.ts +36 -0
  23. package/dist/raw/agent/apis/SessionsApi.js +49 -1
  24. package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
  25. package/dist/raw/agent/apis/TracesApi.js +25 -1
  26. package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
  27. package/dist/raw/agent/apis/VisitorsApi.js +13 -1
  28. package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +27 -15
  29. package/dist/raw/agent/models/AgentAgentArtifactView.js +2 -2
  30. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +27 -15
  31. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +2 -2
  32. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
  33. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
  34. package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +27 -15
  35. package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -2
  36. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
  37. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
  38. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
  39. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
  40. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
  41. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
  42. package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
  43. package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
  44. package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
  45. package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
  46. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
  47. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
  48. package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
  49. package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
  50. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
  51. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
  52. package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +27 -15
  53. package/dist/raw/agent/models/AgentSessionArtifactView.js +2 -2
  54. package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
  55. package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
  56. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
  57. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
  58. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
  59. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
  60. package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
  61. package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
  62. package/dist/raw/agent/models/Box.d.ts +27 -15
  63. package/dist/raw/agent/models/Box.js +2 -2
  64. package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
  65. package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
  66. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  67. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
  68. package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
  69. package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
  70. package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
  71. package/dist/raw/agent/models/SpanViewDto.js +8 -0
  72. package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
  73. package/dist/raw/agent/models/TraceDetailView.js +2 -0
  74. package/dist/raw/agent/models/index.d.ts +2 -0
  75. package/dist/raw/agent/models/index.js +2 -0
  76. package/dist/raw/eval/apis/DatasetsApi.d.ts +344 -0
  77. package/dist/raw/eval/apis/DatasetsApi.js +811 -0
  78. package/dist/raw/eval/apis/ExperimentsApi.d.ts +355 -0
  79. package/dist/raw/eval/apis/ExperimentsApi.js +830 -0
  80. package/dist/raw/eval/apis/ScorersApi.d.ts +129 -0
  81. package/dist/raw/eval/apis/ScorersApi.js +308 -0
  82. package/dist/raw/eval/apis/index.d.ts +3 -0
  83. package/dist/raw/eval/apis/index.js +21 -0
  84. package/dist/raw/eval/index.d.ts +3 -0
  85. package/dist/raw/eval/index.js +21 -0
  86. package/dist/raw/eval/models/AccessView.d.ts +57 -0
  87. package/dist/raw/eval/models/AccessView.js +64 -0
  88. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +69 -0
  89. package/dist/raw/eval/models/ArtifactConflictProblem.js +66 -0
  90. package/dist/raw/eval/models/CostView.d.ts +50 -0
  91. package/dist/raw/eval/models/CostView.js +60 -0
  92. package/dist/raw/eval/models/CursorPage.d.ts +38 -0
  93. package/dist/raw/eval/models/CursorPage.js +52 -0
  94. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +144 -0
  95. package/dist/raw/eval/models/EvalArtifactEnvelope.js +84 -0
  96. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +71 -0
  97. package/dist/raw/eval/models/EvalArtifactSearchRequest.js +60 -0
  98. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +33 -0
  99. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +51 -0
  100. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +52 -0
  101. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +60 -0
  102. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +33 -0
  103. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +51 -0
  104. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +53 -0
  105. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +60 -0
  106. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +65 -0
  107. package/dist/raw/eval/models/EvalCreateDataset400Response.js +75 -0
  108. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +63 -0
  109. package/dist/raw/eval/models/EvalCreateDataset409Response.js +75 -0
  110. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +64 -0
  111. package/dist/raw/eval/models/EvalCreateDataset413Response.js +74 -0
  112. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +64 -0
  113. package/dist/raw/eval/models/EvalCreateDataset415Response.js +74 -0
  114. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +63 -0
  115. package/dist/raw/eval/models/EvalCreateDataset422Response.js +75 -0
  116. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +296 -0
  117. package/dist/raw/eval/models/EvalDatasetArtifactView.js +148 -0
  118. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +156 -0
  119. package/dist/raw/eval/models/EvalDatasetCreate.js +88 -0
  120. package/dist/raw/eval/models/EvalDatasetMeta.d.ts +53 -0
  121. package/dist/raw/eval/models/EvalDatasetMeta.js +50 -0
  122. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +58 -0
  123. package/dist/raw/eval/models/EvalDatasetPatch.js +56 -0
  124. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +348 -0
  125. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +163 -0
  126. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +33 -0
  127. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +51 -0
  128. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +195 -0
  129. package/dist/raw/eval/models/EvalDatasetRecordCreate.js +101 -0
  130. package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +102 -0
  131. package/dist/raw/eval/models/EvalDatasetRecordMeta.js +69 -0
  132. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +81 -0
  133. package/dist/raw/eval/models/EvalDatasetRecordPatch.js +62 -0
  134. package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +57 -0
  135. package/dist/raw/eval/models/EvalDatasetSnapshot.js +65 -0
  136. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +99 -0
  137. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.js +77 -0
  138. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +339 -0
  139. package/dist/raw/eval/models/EvalExperimentArtifactView.js +163 -0
  140. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +193 -0
  141. package/dist/raw/eval/models/EvalExperimentCreate.js +100 -0
  142. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +97 -0
  143. package/dist/raw/eval/models/EvalExperimentMeta.js +65 -0
  144. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +64 -0
  145. package/dist/raw/eval/models/EvalExperimentPatch.js +57 -0
  146. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +359 -0
  147. package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +166 -0
  148. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +33 -0
  149. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +51 -0
  150. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +212 -0
  151. package/dist/raw/eval/models/EvalExperimentResultCreate.js +104 -0
  152. package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +119 -0
  153. package/dist/raw/eval/models/EvalExperimentResultMeta.js +70 -0
  154. package/dist/raw/eval/models/EvalExperimentStatus.d.ts +31 -0
  155. package/dist/raw/eval/models/EvalExperimentStatus.js +59 -0
  156. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +63 -0
  157. package/dist/raw/eval/models/EvalGetDataset404Response.js +75 -0
  158. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +63 -0
  159. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +75 -0
  160. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +63 -0
  161. package/dist/raw/eval/models/EvalListDatasets400Response.js +75 -0
  162. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +79 -0
  163. package/dist/raw/eval/models/EvalListDatasets401Response.js +89 -0
  164. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +64 -0
  165. package/dist/raw/eval/models/EvalListDatasets403Response.js +74 -0
  166. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +63 -0
  167. package/dist/raw/eval/models/EvalListDatasets500Response.js +75 -0
  168. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +64 -0
  169. package/dist/raw/eval/models/EvalListDatasets503Response.js +74 -0
  170. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +63 -0
  171. package/dist/raw/eval/models/EvalListDatasets504Response.js +75 -0
  172. package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +44 -0
  173. package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +56 -0
  174. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +44 -0
  175. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +56 -0
  176. package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +44 -0
  177. package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +56 -0
  178. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +44 -0
  179. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +56 -0
  180. package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +44 -0
  181. package/dist/raw/eval/models/EvalPageScorerArtifactView.js +56 -0
  182. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +63 -0
  183. package/dist/raw/eval/models/EvalPatchDataset412Response.js +75 -0
  184. package/dist/raw/eval/models/EvalRecordSource.d.ts +27 -0
  185. package/dist/raw/eval/models/EvalRecordSource.js +55 -0
  186. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +313 -0
  187. package/dist/raw/eval/models/EvalScorerArtifactView.js +154 -0
  188. package/dist/raw/eval/models/EvalScorerCreate.d.ts +172 -0
  189. package/dist/raw/eval/models/EvalScorerCreate.js +98 -0
  190. package/dist/raw/eval/models/EvalScorerKind.d.ts +32 -0
  191. package/dist/raw/eval/models/EvalScorerKind.js +60 -0
  192. package/dist/raw/eval/models/EvalScorerMeta.d.ts +67 -0
  193. package/dist/raw/eval/models/EvalScorerMeta.js +60 -0
  194. package/dist/raw/eval/models/EvalScorerPatch.d.ts +75 -0
  195. package/dist/raw/eval/models/EvalScorerPatch.js +56 -0
  196. package/dist/raw/eval/models/EvalScorerScope.d.ts +32 -0
  197. package/dist/raw/eval/models/EvalScorerScope.js +60 -0
  198. package/dist/raw/eval/models/EvalSubjectKind.d.ts +33 -0
  199. package/dist/raw/eval/models/EvalSubjectKind.js +61 -0
  200. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +262 -0
  201. package/dist/raw/eval/models/GatewayArtifactBase.js +139 -0
  202. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +60 -0
  203. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +58 -0
  204. package/dist/raw/eval/models/GatewayPageMeta.d.ts +46 -0
  205. package/dist/raw/eval/models/GatewayPageMeta.js +58 -0
  206. package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +106 -0
  207. package/dist/raw/eval/models/GatewaySourceEnvelope.js +66 -0
  208. package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +25 -0
  209. package/dist/raw/eval/models/GatewayTraceStatsBucket.js +53 -0
  210. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +25 -0
  211. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +53 -0
  212. package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +45 -0
  213. package/dist/raw/eval/models/GatewayTraceStatsComparison.js +59 -0
  214. package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +24 -0
  215. package/dist/raw/eval/models/GatewayTraceStatsData.js +64 -0
  216. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +46 -0
  217. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +66 -0
  218. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +53 -0
  219. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +71 -0
  220. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +46 -0
  221. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +66 -0
  222. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +50 -0
  223. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +59 -0
  224. package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +47 -0
  225. package/dist/raw/eval/models/GatewayTraceStatsFilter.js +59 -0
  226. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +28 -0
  227. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +56 -0
  228. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +21 -0
  229. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +85 -0
  230. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +35 -0
  231. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +63 -0
  232. package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +39 -0
  233. package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +67 -0
  234. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +49 -0
  235. package/dist/raw/eval/models/GatewayTraceStatsMeta.js +53 -0
  236. package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +40 -0
  237. package/dist/raw/eval/models/GatewayTraceStatsOrder.js +56 -0
  238. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +25 -0
  239. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +53 -0
  240. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +25 -0
  241. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +53 -0
  242. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +69 -0
  243. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +66 -0
  244. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +80 -0
  245. package/dist/raw/eval/models/GatewayTraceStatsRequest.js +72 -0
  246. package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +26 -0
  247. package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +54 -0
  248. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +52 -0
  249. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +59 -0
  250. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +52 -0
  251. package/dist/raw/eval/models/GatewayTraceStatsSeries.js +62 -0
  252. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +38 -0
  253. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +52 -0
  254. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +45 -0
  255. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +57 -0
  256. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +25 -0
  257. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +53 -0
  258. package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +38 -0
  259. package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +54 -0
  260. package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +38 -0
  261. package/dist/raw/eval/models/GatewayTraceStatsWindow.js +54 -0
  262. package/dist/raw/eval/models/ProblemDetails.d.ts +76 -0
  263. package/dist/raw/eval/models/ProblemDetails.js +64 -0
  264. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +38 -0
  265. package/dist/raw/eval/models/RegistryEdgeTarget.js +54 -0
  266. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +96 -0
  267. package/dist/raw/eval/models/RegistryRelationshipEdge.js +77 -0
  268. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +45 -0
  269. package/dist/raw/eval/models/RegistryRelationshipsView.js +59 -0
  270. package/dist/raw/eval/models/SpanListEnvelope.d.ts +40 -0
  271. package/dist/raw/eval/models/SpanListEnvelope.js +56 -0
  272. package/dist/raw/eval/models/SpanViewDto.d.ts +217 -0
  273. package/dist/raw/eval/models/SpanViewDto.js +125 -0
  274. package/dist/raw/eval/models/TraceDetailView.d.ts +186 -0
  275. package/dist/raw/eval/models/TraceDetailView.js +110 -0
  276. package/dist/raw/eval/models/TraceLinks.d.ts +45 -0
  277. package/dist/raw/eval/models/TraceLinks.js +58 -0
  278. package/dist/raw/eval/models/TraceListEnvelope.d.ts +47 -0
  279. package/dist/raw/eval/models/TraceListEnvelope.js +61 -0
  280. package/dist/raw/eval/models/TraceParentView.d.ts +68 -0
  281. package/dist/raw/eval/models/TraceParentView.js +64 -0
  282. package/dist/raw/eval/models/TraceStatus.d.ts +26 -0
  283. package/dist/raw/eval/models/TraceStatus.js +54 -0
  284. package/dist/raw/eval/models/TraceSummaryStats.d.ts +62 -0
  285. package/dist/raw/eval/models/TraceSummaryStats.js +62 -0
  286. package/dist/raw/eval/models/TraceSummaryView.d.ts +150 -0
  287. package/dist/raw/eval/models/TraceSummaryView.js +96 -0
  288. package/dist/raw/eval/models/UsageView.d.ts +56 -0
  289. package/dist/raw/eval/models/UsageView.js +66 -0
  290. package/dist/raw/eval/models/index.d.ts +102 -0
  291. package/dist/raw/eval/models/index.js +120 -0
  292. package/dist/raw/eval/runtime.d.ts +185 -0
  293. package/dist/raw/eval/runtime.js +369 -0
  294. package/dist/raw/file/apis/FileApi.d.ts +18 -0
  295. package/dist/raw/file/apis/FileApi.js +25 -1
  296. package/dist/raw/file/models/FileCreateUpload400Response.d.ts +2 -0
  297. package/dist/raw/file/models/FileCreateUpload400Response.js +2 -2
  298. package/dist/raw/file/models/FileCreateUpload413Response.d.ts +2 -1
  299. package/dist/raw/file/models/FileCreateUpload413Response.js +2 -3
  300. package/dist/raw/file/models/FileCreateUpload415Response.d.ts +1 -0
  301. package/dist/raw/file/models/FileCreateUpload415Response.js +1 -2
  302. package/dist/raw/file/models/FileFile.d.ts +4 -0
  303. package/dist/raw/file/models/FileFileArtifact.d.ts +31 -15
  304. package/dist/raw/file/models/FileFileArtifact.js +2 -2
  305. package/dist/raw/file/models/FileIngestUpload400Response.d.ts +2 -1
  306. package/dist/raw/file/models/FileIngestUpload400Response.js +2 -3
  307. package/dist/raw/file/models/FileIngestUpload415Response.d.ts +63 -0
  308. package/dist/raw/file/models/FileIngestUpload415Response.js +75 -0
  309. package/dist/raw/file/models/GatewayArtifactBase.d.ts +27 -15
  310. package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
  311. package/dist/raw/file/models/index.d.ts +1 -0
  312. package/dist/raw/file/models/index.js +1 -0
  313. package/dist/raw/mcp/apis/ServersApi.d.ts +18 -0
  314. package/dist/raw/mcp/apis/ServersApi.js +25 -1
  315. package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
  316. package/dist/raw/mcp/apis/ToolsApi.js +25 -1
  317. package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
  318. package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
  319. package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
  320. package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
  321. package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
  322. package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
  323. package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
  324. package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
  325. package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
  326. package/dist/raw/mcp/models/McpMcpServer.js +4 -0
  327. package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
  328. package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
  329. package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
  330. package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
  331. package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
  332. package/dist/raw/mcp/models/index.d.ts +1 -0
  333. package/dist/raw/mcp/models/index.js +1 -0
  334. package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
  335. package/dist/raw/model/apis/OpenaiApi.js +4 -4
  336. package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
  337. package/dist/raw/registry/apis/AppsApi.js +385 -0
  338. package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
  339. package/dist/raw/registry/apis/AuthApi.js +2 -2
  340. package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
  341. package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
  342. package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
  343. package/dist/raw/registry/apis/InvitationsApi.js +383 -0
  344. package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
  345. package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
  346. package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
  347. package/dist/raw/registry/apis/ReleasesApi.js +484 -0
  348. package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
  349. package/dist/raw/registry/apis/ReposApi.js +37 -1
  350. package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
  351. package/dist/raw/registry/apis/RolesApi.js +95 -0
  352. package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
  353. package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
  354. package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
  355. package/dist/raw/registry/apis/SessionsApi.js +150 -0
  356. package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
  357. package/dist/raw/registry/apis/UsersApi.js +139 -74
  358. package/dist/raw/registry/apis/WorkspacesApi.d.ts +52 -4
  359. package/dist/raw/registry/apis/WorkspacesApi.js +92 -5
  360. package/dist/raw/registry/apis/index.d.ts +5 -7
  361. package/dist/raw/registry/apis/index.js +5 -7
  362. package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
  363. package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
  364. package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
  365. package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
  366. package/dist/raw/registry/models/AppDto.d.ts +174 -0
  367. package/dist/raw/registry/models/AppDto.js +116 -0
  368. package/dist/raw/registry/models/AppsPage.d.ts +40 -0
  369. package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
  370. package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
  371. package/dist/raw/registry/models/ArtifactView.js +10 -2
  372. package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
  373. package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
  374. package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
  375. package/dist/raw/registry/models/CutReleaseBody.js +56 -0
  376. package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
  377. package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
  378. package/dist/raw/registry/models/InstallAppBody.js +48 -0
  379. package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
  380. package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
  381. package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
  382. package/dist/raw/registry/models/InvitationDto.js +88 -0
  383. package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
  384. package/dist/raw/registry/models/InvitationSendResult.js +54 -0
  385. package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
  386. package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
  387. package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
  388. package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
  389. package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
  390. package/dist/raw/registry/models/InvitationsResponse.js +51 -0
  391. package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
  392. package/dist/raw/registry/models/InviteeRequest.js +56 -0
  393. package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
  394. package/dist/raw/registry/models/InviteeResult.js +66 -0
  395. package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
  396. package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
  397. package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
  398. package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
  399. package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +16 -16
  400. package/dist/raw/registry/models/RegistryAggregate401Response.js +89 -0
  401. package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
  402. package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
  403. package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
  404. package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
  405. package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
  406. package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
  407. package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
  408. package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
  409. package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
  410. package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
  411. package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
  412. package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
  413. package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
  414. package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
  415. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
  416. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
  417. package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
  418. package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
  419. package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
  420. package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
  421. package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
  422. package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
  423. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
  424. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
  425. package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
  426. package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
  427. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
  428. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
  429. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
  430. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
  431. package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
  432. package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
  433. package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
  434. package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
  435. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
  436. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
  437. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
  438. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
  439. package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +33 -0
  440. package/dist/raw/registry/models/RegistryWorkspaceView.js +7 -0
  441. package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
  442. package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
  443. package/dist/raw/registry/models/ReleaseDto.js +100 -0
  444. package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
  445. package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
  446. package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
  447. package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
  448. package/dist/raw/registry/models/RoleDto.d.ts +38 -0
  449. package/dist/raw/registry/models/RoleDto.js +54 -0
  450. package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
  451. package/dist/raw/registry/models/RoleListDto.js +51 -0
  452. package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
  453. package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
  454. package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
  455. package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
  456. package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
  457. package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
  458. package/dist/raw/registry/models/SpanViewDto.js +8 -0
  459. package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
  460. package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
  461. package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
  462. package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
  463. package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
  464. package/dist/raw/registry/models/TraceDetailView.js +2 -0
  465. package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
  466. package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
  467. package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
  468. package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
  469. package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
  470. package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
  471. package/dist/raw/registry/models/UsersPage.d.ts +3 -3
  472. package/dist/raw/registry/models/UsersPage.js +3 -3
  473. package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
  474. package/dist/raw/registry/models/WhoamiResponse.js +5 -3
  475. package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
  476. package/dist/raw/registry/models/WithdrawBody.js +48 -0
  477. package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
  478. package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
  479. package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
  480. package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
  481. package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
  482. package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
  483. package/dist/raw/registry/models/index.d.ts +50 -50
  484. package/dist/raw/registry/models/index.js +50 -50
  485. package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
  486. package/dist/raw/skill/apis/SkillApi.js +86 -11
  487. package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
  488. package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
  489. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  490. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
  491. package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
  492. package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
  493. package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
  494. package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
  495. package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
  496. package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
  497. package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
  498. package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
  499. package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
  500. package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
  501. package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
  502. package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
  503. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
  504. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
  505. package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
  506. package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
  507. package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
  508. package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
  509. package/dist/raw/skill/models/SpanViewDto.js +8 -0
  510. package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
  511. package/dist/raw/skill/models/TraceDetailView.js +2 -0
  512. package/dist/raw/skill/models/index.d.ts +2 -0
  513. package/dist/raw/skill/models/index.js +2 -0
  514. package/dist/resources.d.ts +6 -1
  515. package/dist/resources.js +9 -6
  516. package/dist/resources.json +586 -296
  517. package/dist/tracing/client.d.ts +2 -0
  518. package/dist/tracing/client.js +13 -4
  519. package/dist/tracing/compat.d.ts +82 -0
  520. package/dist/tracing/compat.js +128 -0
  521. package/dist/tracing/index.d.ts +2 -0
  522. package/dist/tracing/index.js +13 -1
  523. package/dist/tracing/integrations.d.ts +35 -0
  524. package/dist/tracing/integrations.js +95 -0
  525. package/dist/tracing/propagation.d.ts +1 -0
  526. package/dist/tracing/propagation.js +7 -0
  527. package/dist/tracing/semconv.d.ts +8 -1
  528. package/dist/tracing/semconv.js +27 -13
  529. package/dist/tracing/spans.d.ts +12 -4
  530. package/dist/tracing/spans.js +36 -13
  531. package/dist/tracing/version.d.ts +1 -1
  532. package/dist/tracing/version.js +1 -1
  533. package/package.json +1 -1
  534. package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
  535. package/dist/raw/registry/apis/ActionsApi.js +0 -181
  536. package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
  537. package/dist/raw/registry/apis/CatalogApi.js +0 -259
  538. package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
  539. package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
  540. package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
  541. package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
  542. package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
  543. package/dist/raw/registry/apis/GroupsApi.js +0 -181
  544. package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
  545. package/dist/raw/registry/apis/ProjectsApi.js +0 -402
  546. package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
  547. package/dist/raw/registry/apis/UsageApi.js +0 -349
  548. package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
  549. package/dist/raw/registry/models/ActionRunDto.js +0 -86
  550. package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
  551. package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
  552. package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
  553. package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
  554. package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
  555. package/dist/raw/registry/models/ActionRunsPage.js +0 -56
  556. package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
  557. package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
  558. package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
  559. package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
  560. package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
  561. package/dist/raw/registry/models/BudgetDto.js +0 -96
  562. package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
  563. package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
  564. package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
  565. package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
  566. package/dist/raw/registry/models/CreateProjectBody.js +0 -60
  567. package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
  568. package/dist/raw/registry/models/DetectedUserDto.js +0 -74
  569. package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
  570. package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
  571. package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
  572. package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
  573. package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
  574. package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
  575. package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
  576. package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
  577. package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
  578. package/dist/raw/registry/models/GroupMemberDto.js +0 -58
  579. package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
  580. package/dist/raw/registry/models/GroupMembersPage.js +0 -56
  581. package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
  582. package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
  583. package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
  584. package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
  585. package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
  586. package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
  587. package/dist/raw/registry/models/MembershipDto.js +0 -66
  588. package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
  589. package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
  590. package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
  591. package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
  592. package/dist/raw/registry/models/PatchProjectBody.js +0 -54
  593. package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
  594. package/dist/raw/registry/models/PatchUserBody.js +0 -48
  595. package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
  596. package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
  597. package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
  598. package/dist/raw/registry/models/ProjectDto.js +0 -92
  599. package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
  600. package/dist/raw/registry/models/ProjectExport.js +0 -59
  601. package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
  602. package/dist/raw/registry/models/ProjectSlot.js +0 -60
  603. package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
  604. package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
  605. package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
  606. package/dist/raw/registry/models/ProjectsPage.js +0 -56
  607. package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
  608. package/dist/raw/registry/models/PublisherDto.js +0 -76
  609. package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
  610. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
  611. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
  612. package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
  613. package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
  614. package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
  615. package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
  616. package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
  617. package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
  618. package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
  619. package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
  620. package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
  621. package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
  622. package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
  623. package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
  624. package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
  625. package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
  626. package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
  627. package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
  628. package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
  629. package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
  630. package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
  631. package/dist/raw/registry/models/UsageCounters.js +0 -78
  632. package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
  633. package/dist/raw/registry/models/UsageDayDto.js +0 -114
  634. package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
  635. package/dist/raw/registry/models/UsageDaysPage.js +0 -56
  636. package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
  637. package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
  638. package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
  639. 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.** `name` is the skill\'s identity within its workspace: 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 name for a fresh line.
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.** `name` is the skill\'s identity within its workspace: 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 name for a fresh line.
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.** `name` is the skill\'s identity within its workspace: 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 name for a fresh line.
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.** `name` is the skill\'s identity within its workspace: 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 name for a fresh line.
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.** The registry resolves it from the artifact's
106
- * `service_principals` row rather than keeping a second copy on the artifact,
107
- * so it appears on the create response and on the single-artifact read — the
108
- * two paths that make that lookup and **not** on list, search, or a `PATCH`
109
- * response, none of which do a per-row identity read. It is the public half of
110
- * the credential pair and is not secret.
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
- * Absent when unset (legacy rows / system-plane creates).
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
- * Optional human version selector (semver); absent when unset.
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
- * Monotonic version coordinate within the artifact line.
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) {
@@ -51,6 +51,8 @@ export interface SkillAggregate400Response {
51
51
  * @enum {string}
52
52
  */
53
53
  export declare enum SkillAggregate400ResponseCodeEnum {
54
+ InvalidBase64 = "invalid_base64",
55
+ InvalidGzip = "invalid_gzip",
54
56
  InvalidJson = "invalid_json"
55
57
  }
56
58
  /**
@@ -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)