@atlanai/sdk 0.2.4 → 0.3.1

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 (501) hide show
  1. package/dist/evals.d.ts +8 -1
  2. package/dist/evals.js +8 -1
  3. package/dist/manifest.json +59 -69
  4. package/dist/raw/agent/apis/SessionsApi.d.ts +29 -0
  5. package/dist/raw/agent/apis/SessionsApi.js +62 -1
  6. package/dist/raw/agent/apis/TracesApi.d.ts +0 -18
  7. package/dist/raw/agent/apis/TracesApi.js +0 -18
  8. package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +74 -19
  9. package/dist/raw/agent/models/AgentAgentCreate.d.ts +1 -1
  10. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +67 -14
  11. package/dist/raw/agent/models/AgentAgentEnvironmentCreate.d.ts +1 -1
  12. package/dist/raw/agent/models/AgentAgentEnvironmentPatch.d.ts +8 -8
  13. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +67 -14
  14. package/dist/raw/agent/models/AgentAgentFrameworkCreate.d.ts +1 -1
  15. package/dist/raw/agent/models/AgentAgentFrameworkPatch.d.ts +5 -5
  16. package/dist/raw/agent/models/AgentAgentIdentityStatusView.d.ts +1 -1
  17. package/dist/raw/agent/models/AgentAgentMeta.d.ts +8 -6
  18. package/dist/raw/agent/models/AgentAgentPatch.d.ts +5 -5
  19. package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +73 -14
  20. package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -0
  21. package/dist/raw/agent/models/AgentAgentProviderCreate.d.ts +5 -5
  22. package/dist/raw/agent/models/AgentAgentProviderMeta.d.ts +34 -1
  23. package/dist/raw/agent/models/AgentAgentProviderMeta.js +2 -0
  24. package/dist/raw/agent/models/AgentAgentProviderPatch.d.ts +6 -6
  25. package/dist/raw/agent/models/AgentArtifactAggregateGroup.d.ts +2 -2
  26. package/dist/raw/agent/models/AgentArtifactAggregateRequest.d.ts +3 -3
  27. package/dist/raw/agent/models/AgentArtifactAggregateResponse.d.ts +1 -1
  28. package/dist/raw/agent/models/AgentArtifactEnvelope.d.ts +1 -1
  29. package/dist/raw/agent/models/AgentArtifactSearchRequest.d.ts +2 -2
  30. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +4 -4
  31. package/dist/raw/agent/models/AgentCreateAgentFramework409Response.d.ts +4 -4
  32. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +4 -4
  33. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +4 -4
  34. package/dist/raw/agent/models/AgentCreateAgentFramework422Response.d.ts +4 -4
  35. package/dist/raw/agent/models/AgentDeleteAgentProfileImage422Response.d.ts +4 -4
  36. package/dist/raw/agent/models/AgentEnvironmentPackages.d.ts +5 -5
  37. package/dist/raw/agent/models/AgentGetAgentFramework404Response.d.ts +4 -4
  38. package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +4 -4
  39. package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +67 -14
  40. package/dist/raw/agent/models/AgentHarnessCreate.d.ts +1 -1
  41. package/dist/raw/agent/models/AgentHarnessPatch.d.ts +1 -1
  42. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +67 -14
  43. package/dist/raw/agent/models/AgentHarnessVendorCreate.d.ts +1 -1
  44. package/dist/raw/agent/models/AgentHarnessVendorPatch.d.ts +6 -6
  45. package/dist/raw/agent/models/AgentListAgentFrameworks400Response.d.ts +4 -4
  46. package/dist/raw/agent/models/AgentListAgentFrameworks401Response.d.ts +4 -4
  47. package/dist/raw/agent/models/AgentListAgentFrameworks403Response.d.ts +4 -4
  48. package/dist/raw/agent/models/AgentListAgentFrameworks500Response.d.ts +4 -4
  49. package/dist/raw/agent/models/AgentListAgentFrameworks503Response.d.ts +4 -4
  50. package/dist/raw/agent/models/AgentListAgentFrameworks504Response.d.ts +4 -4
  51. package/dist/raw/agent/models/AgentModelProvider.d.ts +2 -1
  52. package/dist/raw/agent/models/AgentModelProvider.js +1 -0
  53. package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +68 -15
  54. package/dist/raw/agent/models/AgentOutputCreate.d.ts +2 -2
  55. package/dist/raw/agent/models/AgentOutputMeta.d.ts +1 -1
  56. package/dist/raw/agent/models/AgentOutputPatch.d.ts +4 -4
  57. package/dist/raw/agent/models/AgentOutputVersionCreate.d.ts +6 -6
  58. package/dist/raw/agent/models/AgentPageAgentArtifactView.d.ts +1 -1
  59. package/dist/raw/agent/models/AgentPageSessionEventView.d.ts +1 -1
  60. package/dist/raw/agent/models/AgentPatchAgentFramework412Response.d.ts +4 -4
  61. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +4 -4
  62. package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +69 -16
  63. package/dist/raw/agent/models/AgentSessionCreate.d.ts +2 -2
  64. package/dist/raw/agent/models/AgentSessionEventAck.d.ts +38 -0
  65. package/dist/raw/agent/models/AgentSessionEventAck.js +54 -0
  66. package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +67 -14
  67. package/dist/raw/agent/models/AgentSessionMessageCreate.d.ts +1 -1
  68. package/dist/raw/agent/models/AgentSessionMeta.d.ts +2 -2
  69. package/dist/raw/agent/models/AgentSessionUsage.d.ts +5 -5
  70. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +4 -4
  71. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +4 -4
  72. package/dist/raw/agent/models/AgentUploadAgentProfileImage422Response.d.ts +4 -4
  73. package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +67 -14
  74. package/dist/raw/agent/models/AgentVisitorIdentifyRequest.d.ts +1 -1
  75. package/dist/raw/agent/models/ArtifactConflictProblem.d.ts +5 -5
  76. package/dist/raw/agent/models/CostView.d.ts +4 -4
  77. package/dist/raw/agent/models/CursorPage.d.ts +2 -2
  78. package/dist/raw/agent/models/GatewayArtifactBase.d.ts +63 -12
  79. package/dist/raw/agent/models/GatewayPageMeta.d.ts +3 -3
  80. package/dist/raw/agent/models/GatewayToolRefOneOf.d.ts +1 -1
  81. package/dist/raw/agent/models/GatewayToolRefOneOf1.d.ts +1 -1
  82. package/dist/raw/agent/models/GatewayTraceStatsDataOneOf.d.ts +2 -2
  83. package/dist/raw/agent/models/GatewayTraceStatsDataOneOf1.d.ts +3 -3
  84. package/dist/raw/agent/models/GatewayTraceStatsDataOneOf2.d.ts +2 -2
  85. package/dist/raw/agent/models/GatewayTraceStatsEnvelope.d.ts +1 -1
  86. package/dist/raw/agent/models/GatewayTraceStatsMeta.d.ts +2 -2
  87. package/dist/raw/agent/models/GatewayTraceStatsPanelQuery.d.ts +3 -3
  88. package/dist/raw/agent/models/GatewayTraceStatsRequest.d.ts +2 -2
  89. package/dist/raw/agent/models/GatewayTraceStatsScalarResult.d.ts +2 -2
  90. package/dist/raw/agent/models/GatewayTraceStatsSeries.d.ts +3 -3
  91. package/dist/raw/agent/models/GatewayTraceStatsSeriesPoint.d.ts +2 -2
  92. package/dist/raw/agent/models/GatewayTraceStatsTableColumn.d.ts +2 -2
  93. package/dist/raw/agent/models/ProblemDetails.d.ts +5 -5
  94. package/dist/raw/agent/models/RegistryEdgeTarget.d.ts +2 -2
  95. package/dist/raw/agent/models/RegistryRelationshipEdge.d.ts +9 -9
  96. package/dist/raw/agent/models/RegistryRelationshipsView.d.ts +3 -3
  97. package/dist/raw/agent/models/SpanListEnvelope.d.ts +1 -1
  98. package/dist/raw/agent/models/SpanViewDto.d.ts +23 -23
  99. package/dist/raw/agent/models/TraceDetailView.d.ts +15 -15
  100. package/dist/raw/agent/models/TraceLinks.d.ts +3 -3
  101. package/dist/raw/agent/models/TraceListEnvelope.d.ts +1 -1
  102. package/dist/raw/agent/models/TraceParentView.d.ts +7 -7
  103. package/dist/raw/agent/models/TraceSummaryStats.d.ts +6 -6
  104. package/dist/raw/agent/models/TraceSummaryView.d.ts +14 -14
  105. package/dist/raw/agent/models/TriggerBody.d.ts +29 -1
  106. package/dist/raw/agent/models/TriggerBody.js +6 -0
  107. package/dist/raw/agent/models/UsageView.d.ts +5 -5
  108. package/dist/raw/agent/models/index.d.ts +1 -0
  109. package/dist/raw/agent/models/index.js +1 -0
  110. package/dist/raw/api/models/ArtifactConflictProblem.d.ts +5 -5
  111. package/dist/raw/api/models/ProblemDetails.d.ts +5 -5
  112. package/dist/raw/eval/apis/DatasetsApi.d.ts +0 -4
  113. package/dist/raw/eval/apis/DatasetsApi.js +0 -4
  114. package/dist/raw/eval/apis/ExperimentsApi.d.ts +7 -10
  115. package/dist/raw/eval/apis/ExperimentsApi.js +9 -10
  116. package/dist/raw/eval/apis/ScorersApi.d.ts +40 -2
  117. package/dist/raw/eval/apis/ScorersApi.js +99 -2
  118. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +5 -5
  119. package/dist/raw/eval/models/CostView.d.ts +4 -4
  120. package/dist/raw/eval/models/CursorPage.d.ts +2 -2
  121. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +1 -1
  122. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +2 -2
  123. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +7 -2
  124. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +1 -1
  125. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +4 -4
  126. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +4 -4
  127. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +4 -4
  128. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +4 -4
  129. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +4 -4
  130. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +67 -14
  131. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +1 -1
  132. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +2 -2
  133. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +67 -14
  134. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +1 -1
  135. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +2 -2
  136. package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +5 -5
  137. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +9 -9
  138. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +69 -16
  139. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +2 -2
  140. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +2 -2
  141. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +3 -3
  142. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +67 -14
  143. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +1 -1
  144. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +4 -4
  145. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +4 -4
  146. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +4 -4
  147. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +4 -4
  148. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +4 -4
  149. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +4 -4
  150. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +4 -4
  151. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +4 -4
  152. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +4 -4
  153. package/dist/raw/eval/models/EvalRecordSource.d.ts +14 -1
  154. package/dist/raw/eval/models/EvalRecordSource.js +14 -1
  155. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +67 -14
  156. package/dist/raw/eval/models/EvalScorerCreate.d.ts +1 -1
  157. package/dist/raw/eval/models/EvalScorerPatch.d.ts +6 -11
  158. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +63 -12
  159. package/dist/raw/eval/models/GatewayPageMeta.d.ts +3 -3
  160. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +2 -2
  161. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +3 -3
  162. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +2 -2
  163. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +1 -1
  164. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +2 -2
  165. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +3 -3
  166. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +2 -2
  167. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +2 -2
  168. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +3 -3
  169. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +2 -2
  170. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +2 -2
  171. package/dist/raw/eval/models/ProblemDetails.d.ts +5 -5
  172. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +2 -2
  173. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +9 -9
  174. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +3 -3
  175. package/dist/raw/eval/models/SpanListEnvelope.d.ts +1 -1
  176. package/dist/raw/eval/models/SpanViewDto.d.ts +23 -23
  177. package/dist/raw/eval/models/TraceDetailView.d.ts +15 -15
  178. package/dist/raw/eval/models/TraceLinks.d.ts +3 -3
  179. package/dist/raw/eval/models/TraceListEnvelope.d.ts +1 -1
  180. package/dist/raw/eval/models/TraceParentView.d.ts +7 -7
  181. package/dist/raw/eval/models/TraceSummaryStats.d.ts +6 -6
  182. package/dist/raw/eval/models/TraceSummaryView.d.ts +14 -14
  183. package/dist/raw/eval/models/UsageView.d.ts +5 -5
  184. package/dist/raw/file/models/ArtifactConflictProblem.d.ts +5 -5
  185. package/dist/raw/file/models/FileCreateUpload400Response.d.ts +4 -4
  186. package/dist/raw/file/models/FileCreateUpload413Response.d.ts +4 -4
  187. package/dist/raw/file/models/FileCreateUpload415Response.d.ts +4 -4
  188. package/dist/raw/file/models/FileCreateUpload422Response.d.ts +4 -4
  189. package/dist/raw/file/models/FileFileArtifact.d.ts +55 -11
  190. package/dist/raw/file/models/FileFilePage.d.ts +1 -1
  191. package/dist/raw/file/models/FileGetContent404Response.d.ts +4 -4
  192. package/dist/raw/file/models/FileIngestUpload400Response.d.ts +4 -4
  193. package/dist/raw/file/models/FileIngestUpload415Response.d.ts +4 -4
  194. package/dist/raw/file/models/FileList400Response.d.ts +4 -4
  195. package/dist/raw/file/models/FileList401Response.d.ts +4 -4
  196. package/dist/raw/file/models/FileList403Response.d.ts +4 -4
  197. package/dist/raw/file/models/FileList500Response.d.ts +4 -4
  198. package/dist/raw/file/models/FileList503Response.d.ts +4 -4
  199. package/dist/raw/file/models/FileList504Response.d.ts +4 -4
  200. package/dist/raw/file/models/GatewayArtifactBase.d.ts +63 -12
  201. package/dist/raw/file/models/GatewayPageMeta.d.ts +3 -3
  202. package/dist/raw/file/models/ProblemDetails.d.ts +5 -5
  203. package/dist/raw/mcp/models/ArtifactConflictProblem.d.ts +5 -5
  204. package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +63 -12
  205. package/dist/raw/mcp/models/GatewayPageMeta.d.ts +3 -3
  206. package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +4 -4
  207. package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +4 -4
  208. package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +4 -4
  209. package/dist/raw/mcp/models/McpAggregateServers422Response.d.ts +4 -4
  210. package/dist/raw/mcp/models/McpGetServer404Response.d.ts +4 -4
  211. package/dist/raw/mcp/models/McpListServers400Response.d.ts +4 -4
  212. package/dist/raw/mcp/models/McpListServers401Response.d.ts +4 -4
  213. package/dist/raw/mcp/models/McpListServers403Response.d.ts +4 -4
  214. package/dist/raw/mcp/models/McpListServers429Response.d.ts +4 -4
  215. package/dist/raw/mcp/models/McpListServers500Response.d.ts +4 -4
  216. package/dist/raw/mcp/models/McpListServers503Response.d.ts +4 -4
  217. package/dist/raw/mcp/models/McpListServers504Response.d.ts +4 -4
  218. package/dist/raw/mcp/models/McpMcpAggregateGroup.d.ts +2 -2
  219. package/dist/raw/mcp/models/McpMcpAggregateRequest.d.ts +2 -2
  220. package/dist/raw/mcp/models/McpMcpAggregateResponse.d.ts +1 -1
  221. package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +67 -14
  222. package/dist/raw/mcp/models/McpMcpServerSearchRequest.d.ts +2 -2
  223. package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +67 -14
  224. package/dist/raw/mcp/models/McpMcpToolSearchRequest.d.ts +2 -2
  225. package/dist/raw/mcp/models/McpTestServer400Response.d.ts +4 -4
  226. package/dist/raw/mcp/models/ProblemDetails.d.ts +5 -5
  227. package/dist/raw/mcp/models/RegistryEdgeTarget.d.ts +2 -2
  228. package/dist/raw/mcp/models/RegistryRelationshipEdge.d.ts +9 -9
  229. package/dist/raw/mcp/models/RegistryRelationshipsView.d.ts +3 -3
  230. package/dist/raw/model/apis/{AnthropicApi.d.ts → AnthropicCompatibleApi.d.ts} +1 -1
  231. package/dist/raw/model/apis/{AnthropicApi.js → AnthropicCompatibleApi.js} +3 -3
  232. package/dist/raw/model/apis/{OpenaiApi.d.ts → OpenaiCompatibleApi.d.ts} +1 -1
  233. package/dist/raw/model/apis/{OpenaiApi.js → OpenaiCompatibleApi.js} +3 -3
  234. package/dist/raw/model/apis/index.d.ts +2 -2
  235. package/dist/raw/model/apis/index.js +2 -2
  236. package/dist/raw/model/models/ArtifactConflictProblem.d.ts +5 -5
  237. package/dist/raw/model/models/ModelListProviders401Response.d.ts +4 -4
  238. package/dist/raw/model/models/ModelListProviders403Response.d.ts +4 -4
  239. package/dist/raw/model/models/ModelListProviders500Response.d.ts +4 -4
  240. package/dist/raw/model/models/ModelListProviders503Response.d.ts +4 -4
  241. package/dist/raw/model/models/ModelListProviders504Response.d.ts +4 -4
  242. package/dist/raw/model/models/ModelModelEntry.d.ts +3 -3
  243. package/dist/raw/model/models/ModelModelList.d.ts +2 -2
  244. package/dist/raw/model/models/ModelProviderCatalog.d.ts +2 -2
  245. package/dist/raw/model/models/ProblemDetails.d.ts +5 -5
  246. package/dist/raw/model/models/index.d.ts +0 -4
  247. package/dist/raw/model/models/index.js +0 -4
  248. package/dist/raw/otel/apis/{OtlpApi.d.ts → OtelApi.d.ts} +10 -28
  249. package/dist/raw/otel/apis/{OtlpApi.js → OtelApi.js} +12 -15
  250. package/dist/raw/otel/apis/index.d.ts +1 -1
  251. package/dist/raw/otel/apis/index.js +1 -1
  252. package/dist/raw/otel/models/ArtifactConflictProblem.d.ts +5 -5
  253. package/dist/raw/otel/models/ProblemDetails.d.ts +5 -5
  254. package/dist/raw/otel/models/index.d.ts +0 -2
  255. package/dist/raw/otel/models/index.js +0 -2
  256. package/dist/raw/registry/apis/AppsApi.d.ts +2 -2
  257. package/dist/raw/registry/apis/AppsApi.js +2 -2
  258. package/dist/raw/registry/apis/OrganisationsApi.d.ts +0 -2
  259. package/dist/raw/registry/apis/OrganisationsApi.js +0 -2
  260. package/dist/raw/registry/apis/ReposApi.d.ts +0 -2
  261. package/dist/raw/registry/apis/ReposApi.js +0 -2
  262. package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +0 -2
  263. package/dist/raw/registry/apis/ServiceAccountsApi.js +0 -2
  264. package/dist/raw/registry/apis/SessionsApi.d.ts +34 -0
  265. package/dist/raw/registry/apis/SessionsApi.js +82 -0
  266. package/dist/raw/registry/apis/UsersApi.d.ts +3 -10
  267. package/dist/raw/registry/apis/UsersApi.js +5 -10
  268. package/dist/raw/registry/apis/WorkspacesApi.d.ts +2 -2
  269. package/dist/raw/registry/apis/WorkspacesApi.js +2 -2
  270. package/dist/raw/registry/models/AggregationResponse.d.ts +1 -1
  271. package/dist/raw/registry/models/AppActionDto.d.ts +7 -7
  272. package/dist/raw/registry/models/AppActionsPage.d.ts +1 -1
  273. package/dist/raw/registry/models/AppDto.d.ts +16 -16
  274. package/dist/raw/registry/models/AppsPage.d.ts +1 -1
  275. package/dist/raw/registry/models/ArchiveAck.d.ts +1 -1
  276. package/dist/raw/registry/models/ArtifactConflictProblem.d.ts +5 -5
  277. package/dist/raw/registry/models/ArtifactView.d.ts +32 -15
  278. package/dist/raw/registry/models/ArtifactView.js +2 -0
  279. package/dist/raw/registry/models/CostView.d.ts +4 -4
  280. package/dist/raw/registry/models/CreateRepoBody.d.ts +2 -2
  281. package/dist/raw/registry/models/CreateServiceAccountBody.d.ts +1 -1
  282. package/dist/raw/registry/models/CreateWorkspaceBody.d.ts +1 -1
  283. package/dist/raw/registry/models/CursorPage.d.ts +2 -2
  284. package/dist/raw/registry/models/CutReleaseBody.d.ts +1 -1
  285. package/dist/raw/registry/models/GroupDto.d.ts +4 -4
  286. package/dist/raw/registry/models/IntrospectedActor.d.ts +6 -2
  287. package/dist/raw/registry/models/IntrospectedIdentity.d.ts +3 -3
  288. package/dist/raw/registry/models/InvitationDto.d.ts +10 -10
  289. package/dist/raw/registry/models/InvitationSendResult.d.ts +1 -1
  290. package/dist/raw/registry/models/InvitationSummaryDto.d.ts +10 -10
  291. package/dist/raw/registry/models/InvitationsPage.d.ts +1 -1
  292. package/dist/raw/registry/models/InviteeRequest.d.ts +2 -1
  293. package/dist/raw/registry/models/OnboardResponse.d.ts +1 -1
  294. package/dist/raw/registry/models/OrganisationDto.d.ts +3 -3
  295. package/dist/raw/registry/models/OrganisationsPage.d.ts +1 -1
  296. package/dist/raw/registry/models/PatchRepoBody.d.ts +1 -1
  297. package/dist/raw/registry/models/PatchWorkspaceBody.d.ts +1 -1
  298. package/dist/raw/registry/models/ProblemDetails.d.ts +5 -5
  299. package/dist/raw/registry/models/ProjectSummary.d.ts +8 -8
  300. package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +1 -1
  301. package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +4 -4
  302. package/dist/raw/registry/models/RegistryAggregate401Response.d.ts +4 -4
  303. package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +4 -4
  304. package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +4 -4
  305. package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +4 -4
  306. package/dist/raw/registry/models/RegistryAggregate422Response.d.ts +4 -4
  307. package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +4 -4
  308. package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +4 -4
  309. package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +4 -4
  310. package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +4 -4
  311. package/dist/raw/registry/models/RegistryCreateRepo409Response.d.ts +4 -4
  312. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +4 -4
  313. package/dist/raw/registry/models/RegistryGetUserTrace503Response.d.ts +66 -0
  314. package/dist/raw/registry/models/RegistryGetUserTrace503Response.js +76 -0
  315. package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +4 -4
  316. package/dist/raw/registry/models/RegistryListApps400Response.d.ts +4 -4
  317. package/dist/raw/registry/models/RegistryListApps503Response.d.ts +4 -4
  318. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +4 -4
  319. package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +66 -0
  320. package/dist/raw/registry/models/RegistryListUserTraces400Response.js +76 -0
  321. package/dist/raw/registry/models/RegistryListUserTraces403Response.d.ts +65 -0
  322. package/dist/raw/registry/models/RegistryListUserTraces403Response.js +75 -0
  323. package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +6 -5
  324. package/dist/raw/registry/models/RegistryListUserTraces503Response.js +1 -0
  325. package/dist/raw/registry/models/RegistryPageMeta.d.ts +20 -1
  326. package/dist/raw/registry/models/RegistryQueryOrganisationTraceStats403Response.d.ts +4 -4
  327. package/dist/raw/registry/models/RegistryQueryOrganisationTraceStats503Response.d.ts +4 -4
  328. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +4 -4
  329. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +4 -4
  330. package/dist/raw/registry/models/RegistrySearch503Response.d.ts +4 -4
  331. package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +4 -4
  332. package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +22 -13
  333. package/dist/raw/registry/models/RelationshipDto.d.ts +2 -2
  334. package/dist/raw/registry/models/ReleaseDto.d.ts +11 -11
  335. package/dist/raw/registry/models/ReleasePage.d.ts +1 -1
  336. package/dist/raw/registry/models/ReleasePolicyDto.d.ts +4 -4
  337. package/dist/raw/registry/models/RepoDto.d.ts +11 -11
  338. package/dist/raw/registry/models/RepoListDto.d.ts +32 -12
  339. package/dist/raw/registry/models/RepoSlot.d.ts +2 -2
  340. package/dist/raw/registry/models/ReposPage.d.ts +1 -1
  341. package/dist/raw/registry/models/SearchPage.d.ts +7 -1
  342. package/dist/raw/registry/models/SearchRequest.d.ts +7 -1
  343. package/dist/raw/registry/models/ServiceAccountDto.d.ts +8 -8
  344. package/dist/raw/registry/models/ServiceAccountsPage.d.ts +1 -1
  345. package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +4 -4
  346. package/dist/raw/registry/models/SlotError.d.ts +2 -2
  347. package/dist/raw/registry/models/SpanListEnvelope.d.ts +1 -1
  348. package/dist/raw/registry/models/SpanViewDto.d.ts +23 -23
  349. package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +1 -1
  350. package/dist/raw/registry/models/TraceDetailView.d.ts +15 -15
  351. package/dist/raw/registry/models/TraceLinks.d.ts +3 -3
  352. package/dist/raw/registry/models/TraceListEnvelope.d.ts +1 -1
  353. package/dist/raw/registry/models/TraceParentView.d.ts +7 -7
  354. package/dist/raw/registry/models/TraceSummaryStats.d.ts +6 -6
  355. package/dist/raw/registry/models/TraceSummaryView.d.ts +14 -14
  356. package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +2 -1
  357. package/dist/raw/registry/models/UsageView.d.ts +5 -5
  358. package/dist/raw/registry/models/UserDirectoryDto.d.ts +4 -4
  359. package/dist/raw/registry/models/UserDto.d.ts +4 -4
  360. package/dist/raw/registry/models/UsersPage.d.ts +1 -1
  361. package/dist/raw/registry/models/WhoamiResponse.d.ts +9 -4
  362. package/dist/raw/registry/models/WorkspaceArchiveAck.d.ts +1 -1
  363. package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +1 -1
  364. package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +3 -3
  365. package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +1 -1
  366. package/dist/raw/registry/models/WorkspaceSlot.d.ts +2 -2
  367. package/dist/raw/registry/models/WorkspacesPage.d.ts +1 -1
  368. package/dist/raw/registry/models/index.d.ts +3 -0
  369. package/dist/raw/registry/models/index.js +3 -0
  370. package/dist/raw/secret/index.d.ts +0 -1
  371. package/dist/raw/secret/index.js +0 -1
  372. package/dist/raw/secret/models/ArtifactConflictProblem.d.ts +6 -6
  373. package/dist/raw/secret/models/ArtifactConflictProblem.js +1 -1
  374. package/dist/raw/secret/models/ProblemDetails.d.ts +6 -6
  375. package/dist/raw/secret/models/ProblemDetails.js +1 -1
  376. package/dist/raw/secret/models/index.d.ts +0 -19
  377. package/dist/raw/secret/models/index.js +0 -19
  378. package/dist/raw/secret/runtime.d.ts +1 -1
  379. package/dist/raw/secret/runtime.js +1 -1
  380. package/dist/raw/skill/apis/SkillApi.d.ts +2 -10
  381. package/dist/raw/skill/apis/SkillApi.js +2 -10
  382. package/dist/raw/skill/models/ArtifactConflictProblem.d.ts +5 -5
  383. package/dist/raw/skill/models/CostView.d.ts +4 -4
  384. package/dist/raw/skill/models/CursorPage.d.ts +2 -2
  385. package/dist/raw/skill/models/GatewayArtifactBase.d.ts +63 -12
  386. package/dist/raw/skill/models/GatewayPageMeta.d.ts +3 -3
  387. package/dist/raw/skill/models/GatewayTraceStatsDataOneOf.d.ts +2 -2
  388. package/dist/raw/skill/models/GatewayTraceStatsDataOneOf1.d.ts +3 -3
  389. package/dist/raw/skill/models/GatewayTraceStatsDataOneOf2.d.ts +2 -2
  390. package/dist/raw/skill/models/GatewayTraceStatsEnvelope.d.ts +1 -1
  391. package/dist/raw/skill/models/GatewayTraceStatsMeta.d.ts +2 -2
  392. package/dist/raw/skill/models/GatewayTraceStatsPanelQuery.d.ts +3 -3
  393. package/dist/raw/skill/models/GatewayTraceStatsRequest.d.ts +2 -2
  394. package/dist/raw/skill/models/GatewayTraceStatsScalarResult.d.ts +2 -2
  395. package/dist/raw/skill/models/GatewayTraceStatsSeries.d.ts +3 -3
  396. package/dist/raw/skill/models/GatewayTraceStatsSeriesPoint.d.ts +2 -2
  397. package/dist/raw/skill/models/GatewayTraceStatsTableColumn.d.ts +2 -2
  398. package/dist/raw/skill/models/ProblemDetails.d.ts +5 -5
  399. package/dist/raw/skill/models/RegistryEdgeTarget.d.ts +2 -2
  400. package/dist/raw/skill/models/RegistryRelationshipEdge.d.ts +9 -9
  401. package/dist/raw/skill/models/RegistryRelationshipsView.d.ts +3 -3
  402. package/dist/raw/skill/models/SkillAggregate400Response.d.ts +4 -4
  403. package/dist/raw/skill/models/SkillAggregate415Response.d.ts +4 -4
  404. package/dist/raw/skill/models/SkillBulkSkillResult.d.ts +6 -2
  405. package/dist/raw/skill/models/SkillCreate400Response.d.ts +4 -4
  406. package/dist/raw/skill/models/SkillCreate409Response.d.ts +4 -4
  407. package/dist/raw/skill/models/SkillCreate413Response.d.ts +4 -4
  408. package/dist/raw/skill/models/SkillCreate415Response.d.ts +4 -4
  409. package/dist/raw/skill/models/SkillCreate422Response.d.ts +4 -4
  410. package/dist/raw/skill/models/SkillGetEnriched404Response.d.ts +4 -4
  411. package/dist/raw/skill/models/SkillGetSkillTrace400Response.d.ts +4 -4
  412. package/dist/raw/skill/models/SkillGetSkillTrace403Response.d.ts +4 -4
  413. package/dist/raw/skill/models/SkillInsightSchemas401Response.d.ts +4 -4
  414. package/dist/raw/skill/models/SkillInsightSchemas403Response.d.ts +4 -4
  415. package/dist/raw/skill/models/SkillInsightSchemas500Response.d.ts +4 -4
  416. package/dist/raw/skill/models/SkillInsightSchemas503Response.d.ts +4 -4
  417. package/dist/raw/skill/models/SkillInsightSchemas504Response.d.ts +4 -4
  418. package/dist/raw/skill/models/SkillList400Response.d.ts +4 -4
  419. package/dist/raw/skill/models/SkillListSkillTraces400Response.d.ts +4 -4
  420. package/dist/raw/skill/models/SkillListSkillTraces403Response.d.ts +4 -4
  421. package/dist/raw/skill/models/SkillListSkillTraces404Response.d.ts +4 -4
  422. package/dist/raw/skill/models/SkillListSkillTraces503Response.d.ts +4 -4
  423. package/dist/raw/skill/models/SkillPageSkillArtifactView.d.ts +3 -2
  424. package/dist/raw/skill/models/SkillPatch412Response.d.ts +4 -4
  425. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +4 -4
  426. package/dist/raw/skill/models/SkillQuerySkillTraceStats422Response.d.ts +4 -4
  427. package/dist/raw/skill/models/SkillSkillAggregateGroup.d.ts +2 -2
  428. package/dist/raw/skill/models/SkillSkillAggregateRequest.d.ts +3 -3
  429. package/dist/raw/skill/models/SkillSkillAggregateResponse.d.ts +1 -1
  430. package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +72 -14
  431. package/dist/raw/skill/models/SkillSkillPatch.d.ts +24 -0
  432. package/dist/raw/skill/models/SkillSkillPatch.js +6 -0
  433. package/dist/raw/skill/models/SkillSkillSearchRequest.d.ts +2 -2
  434. package/dist/raw/skill/models/SpanListEnvelope.d.ts +1 -1
  435. package/dist/raw/skill/models/SpanViewDto.d.ts +23 -23
  436. package/dist/raw/skill/models/TraceDetailView.d.ts +15 -15
  437. package/dist/raw/skill/models/TraceLinks.d.ts +3 -3
  438. package/dist/raw/skill/models/TraceListEnvelope.d.ts +1 -1
  439. package/dist/raw/skill/models/TraceParentView.d.ts +7 -7
  440. package/dist/raw/skill/models/TraceSummaryStats.d.ts +6 -6
  441. package/dist/raw/skill/models/TraceSummaryView.d.ts +14 -14
  442. package/dist/raw/skill/models/UsageView.d.ts +5 -5
  443. package/dist/resource-types.d.ts +34 -39
  444. package/dist/resources.json +70 -85
  445. package/dist/tracing/version.d.ts +1 -1
  446. package/dist/tracing/version.js +1 -1
  447. package/package.json +1 -1
  448. package/dist/raw/model/models/ModelChatCompletions400Response.d.ts +0 -33
  449. package/dist/raw/model/models/ModelChatCompletions400Response.js +0 -51
  450. package/dist/raw/model/models/ModelChatCompletions400ResponseError.d.ts +0 -50
  451. package/dist/raw/model/models/ModelChatCompletions400ResponseError.js +0 -62
  452. package/dist/raw/model/models/ModelMessages400Response.d.ts +0 -52
  453. package/dist/raw/model/models/ModelMessages400Response.js +0 -70
  454. package/dist/raw/model/models/ModelMessages400ResponseError.d.ts +0 -38
  455. package/dist/raw/model/models/ModelMessages400ResponseError.js +0 -54
  456. package/dist/raw/otel/models/OtelIngestLogs400Response.d.ts +0 -46
  457. package/dist/raw/otel/models/OtelIngestLogs400Response.js +0 -58
  458. package/dist/raw/otel/models/OtelIngestLogs403Response.d.ts +0 -46
  459. package/dist/raw/otel/models/OtelIngestLogs403Response.js +0 -58
  460. package/dist/raw/secret/apis/OauthApi.d.ts +0 -143
  461. package/dist/raw/secret/apis/OauthApi.js +0 -335
  462. package/dist/raw/secret/apis/index.d.ts +0 -1
  463. package/dist/raw/secret/apis/index.js +0 -19
  464. package/dist/raw/secret/models/GatewayOauthCompleteRequest.d.ts +0 -32
  465. package/dist/raw/secret/models/GatewayOauthCompleteRequest.js +0 -50
  466. package/dist/raw/secret/models/GatewayOauthCompletion.d.ts +0 -46
  467. package/dist/raw/secret/models/GatewayOauthCompletion.js +0 -55
  468. package/dist/raw/secret/models/GatewayOauthConnection.d.ts +0 -83
  469. package/dist/raw/secret/models/GatewayOauthConnection.js +0 -83
  470. package/dist/raw/secret/models/GatewayOauthOwner.d.ts +0 -31
  471. package/dist/raw/secret/models/GatewayOauthOwner.js +0 -59
  472. package/dist/raw/secret/models/GatewayOauthProviderView.d.ts +0 -69
  473. package/dist/raw/secret/models/GatewayOauthProviderView.js +0 -69
  474. package/dist/raw/secret/models/GatewayOauthStartRequest.d.ts +0 -52
  475. package/dist/raw/secret/models/GatewayOauthStartRequest.js +0 -59
  476. package/dist/raw/secret/models/GatewayOauthStarted.d.ts +0 -39
  477. package/dist/raw/secret/models/GatewayOauthStarted.js +0 -54
  478. package/dist/raw/secret/models/SecretCompleteOauth400Response.d.ts +0 -70
  479. package/dist/raw/secret/models/SecretCompleteOauth400Response.js +0 -80
  480. package/dist/raw/secret/models/SecretCompleteOauth413Response.d.ts +0 -64
  481. package/dist/raw/secret/models/SecretCompleteOauth413Response.js +0 -74
  482. package/dist/raw/secret/models/SecretCompleteOauth415Response.d.ts +0 -64
  483. package/dist/raw/secret/models/SecretCompleteOauth415Response.js +0 -74
  484. package/dist/raw/secret/models/SecretCompleteOauth422Response.d.ts +0 -63
  485. package/dist/raw/secret/models/SecretCompleteOauth422Response.js +0 -75
  486. package/dist/raw/secret/models/SecretDisconnectOauth400Response.d.ts +0 -67
  487. package/dist/raw/secret/models/SecretDisconnectOauth400Response.js +0 -77
  488. package/dist/raw/secret/models/SecretOauthCallback400Response.d.ts +0 -68
  489. package/dist/raw/secret/models/SecretOauthCallback400Response.js +0 -78
  490. package/dist/raw/secret/models/SecretOauthCallback401Response.d.ts +0 -80
  491. package/dist/raw/secret/models/SecretOauthCallback401Response.js +0 -90
  492. package/dist/raw/secret/models/SecretOauthCallback403Response.d.ts +0 -66
  493. package/dist/raw/secret/models/SecretOauthCallback403Response.js +0 -76
  494. package/dist/raw/secret/models/SecretOauthCallback404Response.d.ts +0 -65
  495. package/dist/raw/secret/models/SecretOauthCallback404Response.js +0 -75
  496. package/dist/raw/secret/models/SecretOauthCallback500Response.d.ts +0 -64
  497. package/dist/raw/secret/models/SecretOauthCallback500Response.js +0 -74
  498. package/dist/raw/secret/models/SecretOauthCallback503Response.d.ts +0 -66
  499. package/dist/raw/secret/models/SecretOauthCallback503Response.js +0 -76
  500. package/dist/raw/secret/models/SecretOauthCallback504Response.d.ts +0 -63
  501. package/dist/raw/secret/models/SecretOauthCallback504Response.js +0 -75
@@ -22,25 +22,25 @@ export interface EvalPatchDataset412Response {
22
22
  */
23
23
  code: EvalPatchDataset412ResponseCodeEnum;
24
24
  /**
25
- * Value of the `detail` field.
25
+ *
26
26
  * @type {string}
27
27
  * @memberof EvalPatchDataset412Response
28
28
  */
29
29
  detail: string;
30
30
  /**
31
- * Current lifecycle state.
31
+ *
32
32
  * @type {number}
33
33
  * @memberof EvalPatchDataset412Response
34
34
  */
35
35
  status: number;
36
36
  /**
37
- * Value of the `title` field.
37
+ *
38
38
  * @type {string}
39
39
  * @memberof EvalPatchDataset412Response
40
40
  */
41
41
  title: string;
42
42
  /**
43
- * Stable identifier of the related trace resource.
43
+ *
44
44
  * @type {string}
45
45
  * @memberof EvalPatchDataset412Response
46
46
  */
@@ -10,7 +10,20 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Published representation of RecordSource.
13
+ * Where a dataset record came from. Promoted to the `source_kind` `CHECK`
14
+ * column; doc-comment-free per variant.
15
+ *
16
+ * `session` resolves against the gateway's own `session` artifacts;
17
+ * `trace` names an OTel trace id, which is a ClickHouse row rather than a
18
+ * registry artifact — which is exactly why provenance is a column pair and not
19
+ * an edge (an edge cannot point at a non-artifact).
20
+ *
21
+ * `external` is the same shape one step further out: the row was curated in a
22
+ * system this gateway does not host, so `source_ref` is a URI naming it
23
+ * (`braintrust://<dataset_id>/<row_id>`) and nothing here can resolve it. It
24
+ * exists because the alternative is worse — an imported corpus filed as
25
+ * `manual` claims a human typed it here, which is the provenance question
26
+ * answered wrongly rather than left open.
14
27
  * @export
15
28
  * @enum {string}
16
29
  */
@@ -20,7 +20,20 @@ exports.EvalRecordSourceFromJSONTyped = EvalRecordSourceFromJSONTyped;
20
20
  exports.EvalRecordSourceToJSON = EvalRecordSourceToJSON;
21
21
  exports.EvalRecordSourceToJSONTyped = EvalRecordSourceToJSONTyped;
22
22
  /**
23
- * Published representation of RecordSource.
23
+ * Where a dataset record came from. Promoted to the `source_kind` `CHECK`
24
+ * column; doc-comment-free per variant.
25
+ *
26
+ * `session` resolves against the gateway's own `session` artifacts;
27
+ * `trace` names an OTel trace id, which is a ClickHouse row rather than a
28
+ * registry artifact — which is exactly why provenance is a column pair and not
29
+ * an edge (an edge cannot point at a non-artifact).
30
+ *
31
+ * `external` is the same shape one step further out: the row was curated in a
32
+ * system this gateway does not host, so `source_ref` is a URI naming it
33
+ * (`braintrust://<dataset_id>/<row_id>`) and nothing here can resolve it. It
34
+ * exists because the alternative is worse — an imported corpus filed as
35
+ * `manual` claims a human typed it here, which is the provenance question
36
+ * answered wrongly rather than left open.
24
37
  * @export
25
38
  * @enum {string}
26
39
  */
@@ -14,19 +14,37 @@ import type { EvalScorerKind } from './EvalScorerKind';
14
14
  import type { EvalScorerScope } from './EvalScorerScope';
15
15
  import type { RegistryRelationshipsView } from './RegistryRelationshipsView';
16
16
  /**
17
- * Published representation of ScorerArtifact.
17
+ *
18
18
  * @export
19
19
  * @interface EvalScorerArtifactView
20
20
  */
21
21
  export interface EvalScorerArtifactView {
22
22
  /**
23
- * Value of the `app` field.
23
+ * The extension that registered the kind.
24
+ *
25
+ * `#[serde(default)]` because the registry's **L1** view omits it: `registry_http::artifact`
26
+ * serves `l1_view` — deliberately kind-polymorphic, deliberately without an extension name —
27
+ * from ranked search and from archive. Without the default, `flatten` being a whitelist made
28
+ * the absence a hard decode failure, so *every* extension-scoped `POST …/search` and
29
+ * `POST …/{id}/archive` answered `500 unexpected registry response shape` the moment a row came
30
+ * back. Empty result sets decoded fine, which is why it read as working.
31
+ *
32
+ * The archive case was the worse of the two: the write had already committed, so the caller saw
33
+ * a 500 for a request that succeeded.
34
+ *
35
+ * Serialization skips it when empty rather than emitting `""`, so a typed view built from an L1
36
+ * row **omits** the field exactly as the registry's own L1 row does. A client that needs it for
37
+ * a search hit resolves it from `kind` through `GET /kinds`, which is the same lookup the
38
+ * registry would do.
39
+ *
40
+ * Named `extension` until `apps-2026-09-15-the-extension-tables-are-dropped`; renamed with no
41
+ * alias, matching the registry's own `ArtifactView`.
24
42
  * @type {string}
25
43
  * @memberof EvalScorerArtifactView
26
44
  */
27
45
  app?: string;
28
46
  /**
29
- * Value of the `artifact_status` field.
47
+ *
30
48
  * @type {string}
31
49
  * @memberof EvalScorerArtifactView
32
50
  */
@@ -38,31 +56,57 @@ export interface EvalScorerArtifactView {
38
56
  */
39
57
  commitTs: string;
40
58
  /**
41
- * Value of the `content_hash_hex` field.
59
+ * BLAKE3 (hex) of the canonicalised per-kind properties — the artifact's `ETag`, and the
60
+ * `If-Match` precondition's subject. Named `_hex` for the shipped contract's sake.
61
+ *
62
+ * `#[serde(default)]` for the same reason `extension` above has one, and this is the second
63
+ * time that reason has cost every extension its read surface. The registry types the field
64
+ * `Option<String>` and **omits** it when the row's `content_hash` is NULL
65
+ * (`registry_http::ArtifactView`), populating it straight from the nullable column; `flatten`
66
+ * is a whitelist, so a bare `String` here made that omission a hard decode failure — every
67
+ * `skill`, `mcp` and `agent` read answered `500 unexpected registry response shape` for a
68
+ * request the registry had served correctly, while the registry's own `/artifacts` surface
69
+ * kept working and made it read as an extension bug.
70
+ *
71
+ * The absence is legitimate, which is why the fix is here and not a backfill: no write path
72
+ * leaves the column NULL, but the spanner→postgres mover deliberately **invalidates** every
73
+ * migrated hash — Spanner hashed `sha256(jcs(metadata))` and this stack hashes
74
+ * `blake3(write_canonical(metadata))`, so a carried-over digest could never match a
75
+ * recomputation. A migrated artifact has no hash until its next property write recomputes
76
+ * one, so a caller that wants a conditional write against it sends `*` or no `If-Match`.
77
+ *
78
+ * Skipped on the way out rather than serialized as `null`, so a typed per-kind view renders
79
+ * exactly the shape the registry served.
42
80
  * @type {string}
43
81
  * @memberof EvalScorerArtifactView
44
82
  */
45
83
  contentHashHex?: string;
46
84
  /**
47
- * Value of the `created_at` field.
85
+ *
48
86
  * @type {string}
49
87
  * @memberof EvalScorerArtifactView
50
88
  */
51
89
  createdAt: string;
52
90
  /**
53
- * Value of the `created_by` field.
91
+ *
54
92
  * @type {string}
55
93
  * @memberof EvalScorerArtifactView
56
94
  */
57
95
  createdBy: string;
58
96
  /**
59
- * Human-readable description.
97
+ *
60
98
  * @type {string}
61
99
  * @memberof EvalScorerArtifactView
62
100
  */
63
101
  description?: string;
64
102
  /**
65
- * Human-readable name.
103
+ * Human-readable label. The registry defaults it to `name` when a create
104
+ * body omits it, so it is always present on read and never null. Edit it
105
+ * freely without moving `name`.
106
+ *
107
+ * `#[serde(default)]` because `flatten` is a whitelist: without it, a view
108
+ * deserialized from a registry that predates this field would fail rather
109
+ * than fall back.
66
110
  * @type {string}
67
111
  * @memberof EvalScorerArtifactView
68
112
  */
@@ -74,7 +118,7 @@ export interface EvalScorerArtifactView {
74
118
  */
75
119
  id: string;
76
120
  /**
77
- * Value of the `identity` field.
121
+ *
78
122
  * @type {GatewayArtifactIdentityRevealView}
79
123
  * @memberof EvalScorerArtifactView
80
124
  */
@@ -86,7 +130,7 @@ export interface EvalScorerArtifactView {
86
130
  */
87
131
  isLatest: boolean;
88
132
  /**
89
- * Domain discriminator for this resource.
133
+ *
90
134
  * @type {string}
91
135
  * @memberof EvalScorerArtifactView
92
136
  */
@@ -222,13 +266,13 @@ export interface EvalScorerArtifactView {
222
266
  */
223
267
  sourceVersion?: string;
224
268
  /**
225
- * Value of the `updated_at` field.
269
+ *
226
270
  * @type {string}
227
271
  * @memberof EvalScorerArtifactView
228
272
  */
229
273
  updatedAt: string;
230
274
  /**
231
- * Value of the `updated_by` field.
275
+ *
232
276
  * @type {string}
233
277
  * @memberof EvalScorerArtifactView
234
278
  */
@@ -289,7 +333,16 @@ export interface EvalScorerArtifactView {
289
333
  [key: string]: any;
290
334
  } | null;
291
335
  /**
292
- * Value of the `permissions` field.
336
+ * The caller's advisory `can_*` capability matrix on a resource.
337
+ *
338
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
339
+ * controls on. It never authorizes a request — the platform decides that
340
+ * independently on every call.
341
+ *
342
+ * Deliberately an open map rather than a typed struct. The authoritative
343
+ * permission tables are internal to the platform core, and lifting them into the
344
+ * SDK would put an authorization decision surface into every extension. An
345
+ * extension reads this matrix; it never derives one.
293
346
  * @type {{ [key: string]: boolean; }}
294
347
  * @memberof EvalScorerArtifactView
295
348
  */
@@ -297,7 +350,7 @@ export interface EvalScorerArtifactView {
297
350
  [key: string]: boolean;
298
351
  } | null;
299
352
  /**
300
- * Value of the `relationships` field.
353
+ *
301
354
  * @type {RegistryRelationshipsView}
302
355
  * @memberof EvalScorerArtifactView
303
356
  */
@@ -82,7 +82,7 @@ export interface EvalScorerCreate {
82
82
  */
83
83
  sourceVersion?: string;
84
84
  /**
85
- * Human-readable description.
85
+ *
86
86
  * @type {string}
87
87
  * @memberof EvalScorerCreate
88
88
  */
@@ -16,15 +16,10 @@
16
16
  * identity, and changing them on the same line would reinterpret every score
17
17
  * citing it (the update hook pins them regardless).
18
18
  *
19
- * **Editing `spec`/`outputs` does not currently mint a version.** The plane's
20
- * PATCH edits the head in place `version_ordinal` stays where it was, and
21
- * only source-reconcile appends versions today so a rubric edit silently
22
- * changes what every score pinned to that ordinal actually cited. The pin is
23
- * therefore honest about *which ordinal* judged, but that ordinal's content is
24
- * mutable, which is not the guarantee this kind is supposed to give. Until
25
- * update-mints-version lands, treat a material rubric change as a **new
26
- * scorer**, not a patch. Tracked as an ADR; the alternative fix is to refuse
27
- * `spec`/`outputs` edits outright.
19
+ * A scorer PATCH appends an immutable version. Existing score spans continue
20
+ * to resolve the exact ordinal they cite, while new evaluations use the new
21
+ * head. This applies to display-only edits too: one write has one unambiguous
22
+ * historical meaning.
28
23
  * @export
29
24
  * @interface EvalScorerPatch
30
25
  */
@@ -36,13 +31,13 @@ export interface EvalScorerPatch {
36
31
  */
37
32
  description?: string | null;
38
33
  /**
39
- * Human-readable name.
34
+ *
40
35
  * @type {string}
41
36
  * @memberof EvalScorerPatch
42
37
  */
43
38
  displayName?: string | null;
44
39
  /**
45
- * Stable machine-readable name.
40
+ *
46
41
  * @type {string}
47
42
  * @memberof EvalScorerPatch
48
43
  */
@@ -11,19 +11,44 @@
11
11
  */
12
12
  import type { GatewayArtifactIdentityRevealView } from './GatewayArtifactIdentityRevealView';
13
13
  /**
14
- * Published representation of ArtifactBase.
14
+ * The generic L1 artifact envelope — every field the registry stores about an
15
+ * artifact independent of its kind. Composed into a typed per-kind view with
16
+ * `#[serde(flatten)]`; see [`ArtifactView`].
17
+ *
18
+ * Null-vs-omitted behaviour is normative and mirrors what the registry's write
19
+ * and read paths already emit: `description` always serializes (as `null` when
20
+ * unset), every other optional is omitted when unset. Changing one of these
21
+ * attributes changes the wire contract of every kind at once.
15
22
  * @export
16
23
  * @interface GatewayArtifactBase
17
24
  */
18
25
  export interface GatewayArtifactBase {
19
26
  /**
20
- * Value of the `app` field.
27
+ * The extension that registered the kind.
28
+ *
29
+ * `#[serde(default)]` because the registry's **L1** view omits it: `registry_http::artifact`
30
+ * serves `l1_view` — deliberately kind-polymorphic, deliberately without an extension name —
31
+ * from ranked search and from archive. Without the default, `flatten` being a whitelist made
32
+ * the absence a hard decode failure, so *every* extension-scoped `POST …/search` and
33
+ * `POST …/{id}/archive` answered `500 unexpected registry response shape` the moment a row came
34
+ * back. Empty result sets decoded fine, which is why it read as working.
35
+ *
36
+ * The archive case was the worse of the two: the write had already committed, so the caller saw
37
+ * a 500 for a request that succeeded.
38
+ *
39
+ * Serialization skips it when empty rather than emitting `""`, so a typed view built from an L1
40
+ * row **omits** the field exactly as the registry's own L1 row does. A client that needs it for
41
+ * a search hit resolves it from `kind` through `GET /kinds`, which is the same lookup the
42
+ * registry would do.
43
+ *
44
+ * Named `extension` until `apps-2026-09-15-the-extension-tables-are-dropped`; renamed with no
45
+ * alias, matching the registry's own `ArtifactView`.
21
46
  * @type {string}
22
47
  * @memberof GatewayArtifactBase
23
48
  */
24
49
  app?: string;
25
50
  /**
26
- * Value of the `artifact_status` field.
51
+ *
27
52
  * @type {string}
28
53
  * @memberof GatewayArtifactBase
29
54
  */
@@ -35,31 +60,57 @@ export interface GatewayArtifactBase {
35
60
  */
36
61
  commitTs: string;
37
62
  /**
38
- * Value of the `content_hash_hex` field.
63
+ * BLAKE3 (hex) of the canonicalised per-kind properties — the artifact's `ETag`, and the
64
+ * `If-Match` precondition's subject. Named `_hex` for the shipped contract's sake.
65
+ *
66
+ * `#[serde(default)]` for the same reason `extension` above has one, and this is the second
67
+ * time that reason has cost every extension its read surface. The registry types the field
68
+ * `Option<String>` and **omits** it when the row's `content_hash` is NULL
69
+ * (`registry_http::ArtifactView`), populating it straight from the nullable column; `flatten`
70
+ * is a whitelist, so a bare `String` here made that omission a hard decode failure — every
71
+ * `skill`, `mcp` and `agent` read answered `500 unexpected registry response shape` for a
72
+ * request the registry had served correctly, while the registry's own `/artifacts` surface
73
+ * kept working and made it read as an extension bug.
74
+ *
75
+ * The absence is legitimate, which is why the fix is here and not a backfill: no write path
76
+ * leaves the column NULL, but the spanner→postgres mover deliberately **invalidates** every
77
+ * migrated hash — Spanner hashed `sha256(jcs(metadata))` and this stack hashes
78
+ * `blake3(write_canonical(metadata))`, so a carried-over digest could never match a
79
+ * recomputation. A migrated artifact has no hash until its next property write recomputes
80
+ * one, so a caller that wants a conditional write against it sends `*` or no `If-Match`.
81
+ *
82
+ * Skipped on the way out rather than serialized as `null`, so a typed per-kind view renders
83
+ * exactly the shape the registry served.
39
84
  * @type {string}
40
85
  * @memberof GatewayArtifactBase
41
86
  */
42
87
  contentHashHex?: string | null;
43
88
  /**
44
- * Value of the `created_at` field.
89
+ *
45
90
  * @type {string}
46
91
  * @memberof GatewayArtifactBase
47
92
  */
48
93
  createdAt: string;
49
94
  /**
50
- * Value of the `created_by` field.
95
+ *
51
96
  * @type {string}
52
97
  * @memberof GatewayArtifactBase
53
98
  */
54
99
  createdBy: string;
55
100
  /**
56
- * Human-readable description.
101
+ *
57
102
  * @type {string}
58
103
  * @memberof GatewayArtifactBase
59
104
  */
60
105
  description?: string | null;
61
106
  /**
62
- * Human-readable name.
107
+ * Human-readable label. The registry defaults it to `name` when a create
108
+ * body omits it, so it is always present on read and never null. Edit it
109
+ * freely without moving `name`.
110
+ *
111
+ * `#[serde(default)]` because `flatten` is a whitelist: without it, a view
112
+ * deserialized from a registry that predates this field would fail rather
113
+ * than fall back.
63
114
  * @type {string}
64
115
  * @memberof GatewayArtifactBase
65
116
  */
@@ -71,7 +122,7 @@ export interface GatewayArtifactBase {
71
122
  */
72
123
  id: string;
73
124
  /**
74
- * Value of the `identity` field.
125
+ *
75
126
  * @type {GatewayArtifactIdentityRevealView}
76
127
  * @memberof GatewayArtifactBase
77
128
  */
@@ -83,7 +134,7 @@ export interface GatewayArtifactBase {
83
134
  */
84
135
  isLatest: boolean;
85
136
  /**
86
- * Domain discriminator for this resource.
137
+ *
87
138
  * @type {string}
88
139
  * @memberof GatewayArtifactBase
89
140
  */
@@ -219,13 +270,13 @@ export interface GatewayArtifactBase {
219
270
  */
220
271
  sourceVersion?: string | null;
221
272
  /**
222
- * Value of the `updated_at` field.
273
+ *
223
274
  * @type {string}
224
275
  * @memberof GatewayArtifactBase
225
276
  */
226
277
  updatedAt: string;
227
278
  /**
228
- * Value of the `updated_by` field.
279
+ *
229
280
  * @type {string}
230
281
  * @memberof GatewayArtifactBase
231
282
  */
@@ -18,19 +18,19 @@
18
18
  */
19
19
  export interface GatewayPageMeta {
20
20
  /**
21
- * Maximum number of items to return.
21
+ *
22
22
  * @type {number}
23
23
  * @memberof GatewayPageMeta
24
24
  */
25
25
  limit: number;
26
26
  /**
27
- * Number of items to skip before this page.
27
+ *
28
28
  * @type {number}
29
29
  * @memberof GatewayPageMeta
30
30
  */
31
31
  offset: number;
32
32
  /**
33
- * Value of the `total` field.
33
+ *
34
34
  * @type {number}
35
35
  * @memberof GatewayPageMeta
36
36
  */
@@ -17,13 +17,13 @@ import type { GatewayTraceStatsScalarResult } from './GatewayTraceStatsScalarRes
17
17
  */
18
18
  export interface GatewayTraceStatsDataOneOf {
19
19
  /**
20
- * Value of the `request_type` field.
20
+ *
21
21
  * @type {GatewayTraceStatsDataOneOfRequestTypeEnum}
22
22
  * @memberof GatewayTraceStatsDataOneOf
23
23
  */
24
24
  requestType: GatewayTraceStatsDataOneOfRequestTypeEnum;
25
25
  /**
26
- * Value of the `results` field.
26
+ *
27
27
  * @type {Array<GatewayTraceStatsScalarResult>}
28
28
  * @memberof GatewayTraceStatsDataOneOf
29
29
  */
@@ -18,19 +18,19 @@ import type { GatewayTraceStatsTableRow } from './GatewayTraceStatsTableRow';
18
18
  */
19
19
  export interface GatewayTraceStatsDataOneOf1 {
20
20
  /**
21
- * Value of the `columns` field.
21
+ *
22
22
  * @type {Array<GatewayTraceStatsTableColumn>}
23
23
  * @memberof GatewayTraceStatsDataOneOf1
24
24
  */
25
25
  columns: Array<GatewayTraceStatsTableColumn>;
26
26
  /**
27
- * Value of the `request_type` field.
27
+ *
28
28
  * @type {GatewayTraceStatsDataOneOf1RequestTypeEnum}
29
29
  * @memberof GatewayTraceStatsDataOneOf1
30
30
  */
31
31
  requestType: GatewayTraceStatsDataOneOf1RequestTypeEnum;
32
32
  /**
33
- * Value of the `rows` field.
33
+ *
34
34
  * @type {Array<GatewayTraceStatsTableRow>}
35
35
  * @memberof GatewayTraceStatsDataOneOf1
36
36
  */
@@ -17,13 +17,13 @@ import type { GatewayTraceStatsSeries } from './GatewayTraceStatsSeries';
17
17
  */
18
18
  export interface GatewayTraceStatsDataOneOf2 {
19
19
  /**
20
- * Value of the `request_type` field.
20
+ *
21
21
  * @type {GatewayTraceStatsDataOneOf2RequestTypeEnum}
22
22
  * @memberof GatewayTraceStatsDataOneOf2
23
23
  */
24
24
  requestType: GatewayTraceStatsDataOneOf2RequestTypeEnum;
25
25
  /**
26
- * Value of the `series` field.
26
+ *
27
27
  * @type {Array<GatewayTraceStatsSeries>}
28
28
  * @memberof GatewayTraceStatsDataOneOf2
29
29
  */
@@ -22,7 +22,7 @@ import type { GatewayTraceStatsComparison } from './GatewayTraceStatsComparison'
22
22
  */
23
23
  export interface GatewayTraceStatsEnvelope {
24
24
  /**
25
- * Value of the `comparison` field.
25
+ *
26
26
  * @type {GatewayTraceStatsComparison}
27
27
  * @memberof GatewayTraceStatsEnvelope
28
28
  */
@@ -27,13 +27,13 @@ export interface GatewayTraceStatsMeta {
27
27
  */
28
28
  asOfUnixSeconds?: number | null;
29
29
  /**
30
- * Non-fatal warnings produced while serving the request.
30
+ *
31
31
  * @type {Array<string>}
32
32
  * @memberof GatewayTraceStatsMeta
33
33
  */
34
34
  warnings?: Array<string>;
35
35
  /**
36
- * Value of the `window` field.
36
+ *
37
37
  * @type {GatewayTraceStatsWindow}
38
38
  * @memberof GatewayTraceStatsMeta
39
39
  */
@@ -21,7 +21,7 @@ import type { GatewayTraceStatsGroupBy } from './GatewayTraceStatsGroupBy';
21
21
  */
22
22
  export interface GatewayTraceStatsPanelQuery {
23
23
  /**
24
- * Predicates used to restrict the returned data.
24
+ *
25
25
  * @type {Array<GatewayTraceStatsFilter>}
26
26
  * @memberof GatewayTraceStatsPanelQuery
27
27
  */
@@ -34,7 +34,7 @@ export interface GatewayTraceStatsPanelQuery {
34
34
  */
35
35
  groupBy?: Array<GatewayTraceStatsGroupBy>;
36
36
  /**
37
- * Maximum number of items to return.
37
+ *
38
38
  * @type {number}
39
39
  * @memberof GatewayTraceStatsPanelQuery
40
40
  */
@@ -53,7 +53,7 @@ export interface GatewayTraceStatsPanelQuery {
53
53
  */
54
54
  name: string;
55
55
  /**
56
- * Value of the `order` field.
56
+ *
57
57
  * @type {GatewayTraceStatsOrder}
58
58
  * @memberof GatewayTraceStatsPanelQuery
59
59
  */
@@ -24,13 +24,13 @@ import type { GatewayTraceStatsRequestType } from './GatewayTraceStatsRequestTyp
24
24
  */
25
25
  export interface GatewayTraceStatsRequest {
26
26
  /**
27
- * Value of the `bucket` field.
27
+ *
28
28
  * @type {GatewayTraceStatsBucket}
29
29
  * @memberof GatewayTraceStatsRequest
30
30
  */
31
31
  bucket?: GatewayTraceStatsBucket | null;
32
32
  /**
33
- * Value of the `compare` field.
33
+ *
34
34
  * @type {GatewayTraceStatsCompareMode}
35
35
  * @memberof GatewayTraceStatsRequest
36
36
  */
@@ -23,13 +23,13 @@ export interface GatewayTraceStatsScalarResult {
23
23
  */
24
24
  measure: GatewayTraceStatsMeasure;
25
25
  /**
26
- * Value of the `query_name` field.
26
+ *
27
27
  * @type {string}
28
28
  * @memberof GatewayTraceStatsScalarResult
29
29
  */
30
30
  queryName: string;
31
31
  /**
32
- * Value of the `unit` field.
32
+ *
33
33
  * @type {string}
34
34
  * @memberof GatewayTraceStatsScalarResult
35
35
  */
@@ -24,19 +24,19 @@ export interface GatewayTraceStatsSeries {
24
24
  */
25
25
  measure: GatewayTraceStatsMeasure;
26
26
  /**
27
- * Value of the `points` field.
27
+ *
28
28
  * @type {Array<GatewayTraceStatsSeriesPoint>}
29
29
  * @memberof GatewayTraceStatsSeries
30
30
  */
31
31
  points: Array<GatewayTraceStatsSeriesPoint>;
32
32
  /**
33
- * Value of the `query_name` field.
33
+ *
34
34
  * @type {string}
35
35
  * @memberof GatewayTraceStatsSeries
36
36
  */
37
37
  queryName: string;
38
38
  /**
39
- * Value of the `unit` field.
39
+ *
40
40
  * @type {string}
41
41
  * @memberof GatewayTraceStatsSeries
42
42
  */
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface GatewayTraceStatsSeriesPoint {
18
18
  /**
19
- * Timestamp as Unix epoch seconds.
19
+ *
20
20
  * @type {number}
21
21
  * @memberof GatewayTraceStatsSeriesPoint
22
22
  */
23
23
  timestampUnixSeconds: number;
24
24
  /**
25
- * Value carried by this entry.
25
+ *
26
26
  * @type {number}
27
27
  * @memberof GatewayTraceStatsSeriesPoint
28
28
  */
@@ -23,13 +23,13 @@ export interface GatewayTraceStatsTableColumn {
23
23
  */
24
24
  columnType: GatewayTraceStatsTableColumnType;
25
25
  /**
26
- * Stable machine-readable name.
26
+ *
27
27
  * @type {string}
28
28
  * @memberof GatewayTraceStatsTableColumn
29
29
  */
30
30
  name: string;
31
31
  /**
32
- * Value of the `unit` field.
32
+ *
33
33
  * @type {string}
34
34
  * @memberof GatewayTraceStatsTableColumn
35
35
  */