@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
@@ -14,19 +14,37 @@ import type { AgentOutputMode } from './AgentOutputMode';
14
14
  import type { AgentSubjectKind } from './AgentSubjectKind';
15
15
  import type { RegistryRelationshipsView } from './RegistryRelationshipsView';
16
16
  /**
17
- * Published representation of OutputArtifact.
17
+ *
18
18
  * @export
19
19
  * @interface AgentOutputArtifactView
20
20
  */
21
21
  export interface AgentOutputArtifactView {
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 AgentOutputArtifactView
26
44
  */
27
45
  app?: string;
28
46
  /**
29
- * Value of the `artifact_status` field.
47
+ *
30
48
  * @type {string}
31
49
  * @memberof AgentOutputArtifactView
32
50
  */
@@ -38,31 +56,57 @@ export interface AgentOutputArtifactView {
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 AgentOutputArtifactView
44
82
  */
45
83
  contentHashHex?: string;
46
84
  /**
47
- * Value of the `created_at` field.
85
+ *
48
86
  * @type {string}
49
87
  * @memberof AgentOutputArtifactView
50
88
  */
51
89
  createdAt: string;
52
90
  /**
53
- * Value of the `created_by` field.
91
+ *
54
92
  * @type {string}
55
93
  * @memberof AgentOutputArtifactView
56
94
  */
57
95
  createdBy: string;
58
96
  /**
59
- * Human-readable description.
97
+ *
60
98
  * @type {string}
61
99
  * @memberof AgentOutputArtifactView
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 AgentOutputArtifactView
68
112
  */
@@ -74,7 +118,7 @@ export interface AgentOutputArtifactView {
74
118
  */
75
119
  id: string;
76
120
  /**
77
- * Value of the `identity` field.
121
+ *
78
122
  * @type {GatewayArtifactIdentityRevealView}
79
123
  * @memberof AgentOutputArtifactView
80
124
  */
@@ -86,7 +130,7 @@ export interface AgentOutputArtifactView {
86
130
  */
87
131
  isLatest: boolean;
88
132
  /**
89
- * Domain discriminator for this resource.
133
+ *
90
134
  * @type {string}
91
135
  * @memberof AgentOutputArtifactView
92
136
  */
@@ -222,13 +266,13 @@ export interface AgentOutputArtifactView {
222
266
  */
223
267
  sourceVersion?: string;
224
268
  /**
225
- * Value of the `updated_at` field.
269
+ *
226
270
  * @type {string}
227
271
  * @memberof AgentOutputArtifactView
228
272
  */
229
273
  updatedAt: string;
230
274
  /**
231
- * Value of the `updated_by` field.
275
+ *
232
276
  * @type {string}
233
277
  * @memberof AgentOutputArtifactView
234
278
  */
@@ -313,13 +357,22 @@ export interface AgentOutputArtifactView {
313
357
  */
314
358
  subjectId?: string | null;
315
359
  /**
316
- * Value of the `subject_kind` field.
360
+ *
317
361
  * @type {AgentSubjectKind}
318
362
  * @memberof AgentOutputArtifactView
319
363
  */
320
364
  subjectKind?: AgentSubjectKind | null;
321
365
  /**
322
- * Value of the `permissions` field.
366
+ * The caller's advisory `can_*` capability matrix on a resource.
367
+ *
368
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
369
+ * controls on. It never authorizes a request — the platform decides that
370
+ * independently on every call.
371
+ *
372
+ * Deliberately an open map rather than a typed struct. The authoritative
373
+ * permission tables are internal to the platform core, and lifting them into the
374
+ * SDK would put an authorization decision surface into every extension. An
375
+ * extension reads this matrix; it never derives one.
323
376
  * @type {{ [key: string]: boolean; }}
324
377
  * @memberof AgentOutputArtifactView
325
378
  */
@@ -327,7 +380,7 @@ export interface AgentOutputArtifactView {
327
380
  [key: string]: boolean;
328
381
  } | null;
329
382
  /**
330
- * Value of the `relationships` field.
383
+ *
331
384
  * @type {RegistryRelationshipsView}
332
385
  * @memberof AgentOutputArtifactView
333
386
  */
@@ -91,7 +91,7 @@ export interface AgentOutputCreate {
91
91
  */
92
92
  sourceVersion?: string;
93
93
  /**
94
- * Human-readable description.
94
+ *
95
95
  * @type {string}
96
96
  * @memberof AgentOutputCreate
97
97
  */
@@ -181,7 +181,7 @@ export interface AgentOutputCreate {
181
181
  */
182
182
  subjectId?: string | null;
183
183
  /**
184
- * Value of the `subject_kind` field.
184
+ *
185
185
  * @type {AgentSubjectKind}
186
186
  * @memberof AgentOutputCreate
187
187
  */
@@ -97,7 +97,7 @@ export interface AgentOutputMeta {
97
97
  */
98
98
  subjectId?: string | null;
99
99
  /**
100
- * Value of the `subject_kind` field.
100
+ *
101
101
  * @type {AgentSubjectKind}
102
102
  * @memberof AgentOutputMeta
103
103
  */
@@ -34,13 +34,13 @@ export interface AgentOutputPatch {
34
34
  */
35
35
  description?: string | null;
36
36
  /**
37
- * Human-readable name.
37
+ *
38
38
  * @type {string}
39
39
  * @memberof AgentOutputPatch
40
40
  */
41
41
  displayName?: string | null;
42
42
  /**
43
- * Stable machine-readable name.
43
+ *
44
44
  * @type {string}
45
45
  * @memberof AgentOutputPatch
46
46
  */
@@ -52,13 +52,13 @@ export interface AgentOutputPatch {
52
52
  */
53
53
  sessionId?: string | null;
54
54
  /**
55
- * Stable identifier of the related subject resource.
55
+ *
56
56
  * @type {string}
57
57
  * @memberof AgentOutputPatch
58
58
  */
59
59
  subjectId?: string | null;
60
60
  /**
61
- * Value of the `subject_kind` field.
61
+ *
62
62
  * @type {AgentSubjectKind}
63
63
  * @memberof AgentOutputPatch
64
64
  */
@@ -23,19 +23,19 @@ import type { AgentSubjectKind } from './AgentSubjectKind';
23
23
  */
24
24
  export interface AgentOutputVersionCreate {
25
25
  /**
26
- * Value of the `external_url` field.
26
+ *
27
27
  * @type {string}
28
28
  * @memberof AgentOutputVersionCreate
29
29
  */
30
30
  externalUrl?: string | null;
31
31
  /**
32
- * Stable identifier of the related file artifact resource.
32
+ *
33
33
  * @type {string}
34
34
  * @memberof AgentOutputVersionCreate
35
35
  */
36
36
  fileArtifactId?: string | null;
37
37
  /**
38
- * Value of the `file_version_ordinal` field.
38
+ *
39
39
  * @type {number}
40
40
  * @memberof AgentOutputVersionCreate
41
41
  */
@@ -47,19 +47,19 @@ export interface AgentOutputVersionCreate {
47
47
  */
48
48
  mode: AgentOutputMode;
49
49
  /**
50
- * Stable identifier of the related session resource.
50
+ *
51
51
  * @type {string}
52
52
  * @memberof AgentOutputVersionCreate
53
53
  */
54
54
  sessionId?: string | null;
55
55
  /**
56
- * Stable identifier of the related subject resource.
56
+ *
57
57
  * @type {string}
58
58
  * @memberof AgentOutputVersionCreate
59
59
  */
60
60
  subjectId?: string | null;
61
61
  /**
62
- * Value of the `subject_kind` field.
62
+ *
63
63
  * @type {AgentSubjectKind}
64
64
  * @memberof AgentOutputVersionCreate
65
65
  */
@@ -19,7 +19,7 @@ import type { GatewayPageMeta } from './GatewayPageMeta';
19
19
  */
20
20
  export interface AgentPageAgentArtifactView {
21
21
  /**
22
- * Items in this result.
22
+ *
23
23
  * @type {Array<AgentAgentArtifactView>}
24
24
  * @memberof AgentPageAgentArtifactView
25
25
  */
@@ -19,7 +19,7 @@ import type { GatewayPageMeta } from './GatewayPageMeta';
19
19
  */
20
20
  export interface AgentPageSessionEventView {
21
21
  /**
22
- * Items in this result.
22
+ *
23
23
  * @type {Array<AgentSessionEventView>}
24
24
  * @memberof AgentPageSessionEventView
25
25
  */
@@ -22,25 +22,25 @@ export interface AgentPatchAgentFramework412Response {
22
22
  */
23
23
  code: AgentPatchAgentFramework412ResponseCodeEnum;
24
24
  /**
25
- * Value of the `detail` field.
25
+ *
26
26
  * @type {string}
27
27
  * @memberof AgentPatchAgentFramework412Response
28
28
  */
29
29
  detail: string;
30
30
  /**
31
- * Current lifecycle state.
31
+ *
32
32
  * @type {number}
33
33
  * @memberof AgentPatchAgentFramework412Response
34
34
  */
35
35
  status: number;
36
36
  /**
37
- * Value of the `title` field.
37
+ *
38
38
  * @type {string}
39
39
  * @memberof AgentPatchAgentFramework412Response
40
40
  */
41
41
  title: string;
42
42
  /**
43
- * Stable identifier of the related trace resource.
43
+ *
44
44
  * @type {string}
45
45
  * @memberof AgentPatchAgentFramework412Response
46
46
  */
@@ -22,25 +22,25 @@ export interface AgentQueryAgentTraceStats400Response {
22
22
  */
23
23
  code: AgentQueryAgentTraceStats400ResponseCodeEnum;
24
24
  /**
25
- * Value of the `detail` field.
25
+ *
26
26
  * @type {string}
27
27
  * @memberof AgentQueryAgentTraceStats400Response
28
28
  */
29
29
  detail: string;
30
30
  /**
31
- * Current lifecycle state.
31
+ *
32
32
  * @type {number}
33
33
  * @memberof AgentQueryAgentTraceStats400Response
34
34
  */
35
35
  status: number;
36
36
  /**
37
- * Value of the `title` field.
37
+ *
38
38
  * @type {string}
39
39
  * @memberof AgentQueryAgentTraceStats400Response
40
40
  */
41
41
  title: string;
42
42
  /**
43
- * Stable identifier of the related trace resource.
43
+ *
44
44
  * @type {string}
45
45
  * @memberof AgentQueryAgentTraceStats400Response
46
46
  */
@@ -18,19 +18,37 @@ import type { AgentSessionStatus } from './AgentSessionStatus';
18
18
  import type { AgentVisitorType } from './AgentVisitorType';
19
19
  import type { RegistryRelationshipsView } from './RegistryRelationshipsView';
20
20
  /**
21
- * Published representation of SessionArtifact.
21
+ *
22
22
  * @export
23
23
  * @interface AgentSessionArtifactView
24
24
  */
25
25
  export interface AgentSessionArtifactView {
26
26
  /**
27
- * 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`.
28
46
  * @type {string}
29
47
  * @memberof AgentSessionArtifactView
30
48
  */
31
49
  app?: string;
32
50
  /**
33
- * Value of the `artifact_status` field.
51
+ *
34
52
  * @type {string}
35
53
  * @memberof AgentSessionArtifactView
36
54
  */
@@ -42,31 +60,57 @@ export interface AgentSessionArtifactView {
42
60
  */
43
61
  commitTs: string;
44
62
  /**
45
- * 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.
46
84
  * @type {string}
47
85
  * @memberof AgentSessionArtifactView
48
86
  */
49
87
  contentHashHex?: string;
50
88
  /**
51
- * Value of the `created_at` field.
89
+ *
52
90
  * @type {string}
53
91
  * @memberof AgentSessionArtifactView
54
92
  */
55
93
  createdAt: string;
56
94
  /**
57
- * Value of the `created_by` field.
95
+ *
58
96
  * @type {string}
59
97
  * @memberof AgentSessionArtifactView
60
98
  */
61
99
  createdBy: string;
62
100
  /**
63
- * Human-readable description.
101
+ *
64
102
  * @type {string}
65
103
  * @memberof AgentSessionArtifactView
66
104
  */
67
105
  description?: string;
68
106
  /**
69
- * 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.
70
114
  * @type {string}
71
115
  * @memberof AgentSessionArtifactView
72
116
  */
@@ -78,7 +122,7 @@ export interface AgentSessionArtifactView {
78
122
  */
79
123
  id: string;
80
124
  /**
81
- * Value of the `identity` field.
125
+ *
82
126
  * @type {GatewayArtifactIdentityRevealView}
83
127
  * @memberof AgentSessionArtifactView
84
128
  */
@@ -90,7 +134,7 @@ export interface AgentSessionArtifactView {
90
134
  */
91
135
  isLatest: boolean;
92
136
  /**
93
- * Domain discriminator for this resource.
137
+ *
94
138
  * @type {string}
95
139
  * @memberof AgentSessionArtifactView
96
140
  */
@@ -226,13 +270,13 @@ export interface AgentSessionArtifactView {
226
270
  */
227
271
  sourceVersion?: string;
228
272
  /**
229
- * Value of the `updated_at` field.
273
+ *
230
274
  * @type {string}
231
275
  * @memberof AgentSessionArtifactView
232
276
  */
233
277
  updatedAt: string;
234
278
  /**
235
- * Value of the `updated_by` field.
279
+ *
236
280
  * @type {string}
237
281
  * @memberof AgentSessionArtifactView
238
282
  */
@@ -266,7 +310,7 @@ export interface AgentSessionArtifactView {
266
310
  */
267
311
  agentProviderId?: string | null;
268
312
  /**
269
- * Value of the `agent_provider_type` field.
313
+ *
270
314
  * @type {AgentAgentProviderType}
271
315
  * @memberof AgentSessionArtifactView
272
316
  */
@@ -424,7 +468,7 @@ export interface AgentSessionArtifactView {
424
468
  */
425
469
  visitorName?: string | null;
426
470
  /**
427
- * Value of the `visitor_type` field.
471
+ *
428
472
  * @type {AgentVisitorType}
429
473
  * @memberof AgentSessionArtifactView
430
474
  */
@@ -439,7 +483,16 @@ export interface AgentSessionArtifactView {
439
483
  */
440
484
  visitorUserId?: string | null;
441
485
  /**
442
- * Value of the `permissions` field.
486
+ * The caller's advisory `can_*` capability matrix on a resource.
487
+ *
488
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
489
+ * controls on. It never authorizes a request — the platform decides that
490
+ * independently on every call.
491
+ *
492
+ * Deliberately an open map rather than a typed struct. The authoritative
493
+ * permission tables are internal to the platform core, and lifting them into the
494
+ * SDK would put an authorization decision surface into every extension. An
495
+ * extension reads this matrix; it never derives one.
443
496
  * @type {{ [key: string]: boolean; }}
444
497
  * @memberof AgentSessionArtifactView
445
498
  */
@@ -447,7 +500,7 @@ export interface AgentSessionArtifactView {
447
500
  [key: string]: boolean;
448
501
  } | null;
449
502
  /**
450
- * Value of the `relationships` field.
503
+ *
451
504
  * @type {RegistryRelationshipsView}
452
505
  * @memberof AgentSessionArtifactView
453
506
  */
@@ -94,7 +94,7 @@ export interface AgentSessionCreate {
94
94
  */
95
95
  sourceVersion?: string;
96
96
  /**
97
- * Human-readable description.
97
+ *
98
98
  * @type {string}
99
99
  * @memberof AgentSessionCreate
100
100
  */
@@ -260,7 +260,7 @@ export interface AgentSessionCreate {
260
260
  */
261
261
  visitorName?: string | null;
262
262
  /**
263
- * Value of the `visitor_type` field.
263
+ *
264
264
  * @type {AgentVisitorType}
265
265
  * @memberof AgentSessionCreate
266
266
  */
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Harness and agent catalog
3
+ * A `harness` is a tool a human drives; an `agent` is built with an `agent_framework` and run on an `agent_provider`. The gateway executes neither. This surface is the typed catalog for both — plus the `agent_framework` and `harness_vendor` catalogs, the `agent_provider` substrate, the `agent_environment` sandbox, and the `session`/`session_message` run history — the one agent run-trigger, live session reads (poll + SSE), and the access-controlled trace facade.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Acknowledgement of a relayed session event.
14
+ * @export
15
+ * @interface AgentSessionEventAck
16
+ */
17
+ export interface AgentSessionEventAck {
18
+ /**
19
+ * Always `true` — the provider accepted the event.
20
+ * @type {boolean}
21
+ * @memberof AgentSessionEventAck
22
+ */
23
+ queued: boolean;
24
+ /**
25
+ * The event type queued, echoed from the request.
26
+ * @type {string}
27
+ * @memberof AgentSessionEventAck
28
+ */
29
+ type: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AgentSessionEventAck interface.
33
+ */
34
+ export declare function instanceOfAgentSessionEventAck(value: object): value is AgentSessionEventAck;
35
+ export declare function AgentSessionEventAckFromJSON(json: any): AgentSessionEventAck;
36
+ export declare function AgentSessionEventAckFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentSessionEventAck;
37
+ export declare function AgentSessionEventAckToJSON(json: any): AgentSessionEventAck;
38
+ export declare function AgentSessionEventAckToJSONTyped(value?: AgentSessionEventAck | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Harness and agent catalog
6
+ * A `harness` is a tool a human drives; an `agent` is built with an `agent_framework` and run on an `agent_provider`. The gateway executes neither. This surface is the typed catalog for both — plus the `agent_framework` and `harness_vendor` catalogs, the `agent_provider` substrate, the `agent_environment` sandbox, and the `session`/`session_message` run history — the one agent run-trigger, live session reads (poll + SSE), and the access-controlled trace facade.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAgentSessionEventAck = instanceOfAgentSessionEventAck;
17
+ exports.AgentSessionEventAckFromJSON = AgentSessionEventAckFromJSON;
18
+ exports.AgentSessionEventAckFromJSONTyped = AgentSessionEventAckFromJSONTyped;
19
+ exports.AgentSessionEventAckToJSON = AgentSessionEventAckToJSON;
20
+ exports.AgentSessionEventAckToJSONTyped = AgentSessionEventAckToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentSessionEventAck interface.
23
+ */
24
+ function instanceOfAgentSessionEventAck(value) {
25
+ if (!('queued' in value) || value['queued'] === undefined)
26
+ return false;
27
+ if (!('type' in value) || value['type'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function AgentSessionEventAckFromJSON(json) {
32
+ return AgentSessionEventAckFromJSONTyped(json, false);
33
+ }
34
+ function AgentSessionEventAckFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'queued': json['queued'],
40
+ 'type': json['type'],
41
+ };
42
+ }
43
+ function AgentSessionEventAckToJSON(json) {
44
+ return AgentSessionEventAckToJSONTyped(json, false);
45
+ }
46
+ function AgentSessionEventAckToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'queued': value['queued'],
52
+ 'type': value['type'],
53
+ };
54
+ }