@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
@@ -21,13 +21,31 @@ import type { AgentSyncState } from './AgentSyncState';
21
21
  */
22
22
  export interface AgentAgentArtifactView {
23
23
  /**
24
- * Value of the `app` field.
24
+ * The extension that registered the kind.
25
+ *
26
+ * `#[serde(default)]` because the registry's **L1** view omits it: `registry_http::artifact`
27
+ * serves `l1_view` — deliberately kind-polymorphic, deliberately without an extension name —
28
+ * from ranked search and from archive. Without the default, `flatten` being a whitelist made
29
+ * the absence a hard decode failure, so *every* extension-scoped `POST …/search` and
30
+ * `POST …/{id}/archive` answered `500 unexpected registry response shape` the moment a row came
31
+ * back. Empty result sets decoded fine, which is why it read as working.
32
+ *
33
+ * The archive case was the worse of the two: the write had already committed, so the caller saw
34
+ * a 500 for a request that succeeded.
35
+ *
36
+ * Serialization skips it when empty rather than emitting `""`, so a typed view built from an L1
37
+ * row **omits** the field exactly as the registry's own L1 row does. A client that needs it for
38
+ * a search hit resolves it from `kind` through `GET /kinds`, which is the same lookup the
39
+ * registry would do.
40
+ *
41
+ * Named `extension` until `apps-2026-09-15-the-extension-tables-are-dropped`; renamed with no
42
+ * alias, matching the registry's own `ArtifactView`.
25
43
  * @type {string}
26
44
  * @memberof AgentAgentArtifactView
27
45
  */
28
46
  app?: string;
29
47
  /**
30
- * Value of the `artifact_status` field.
48
+ *
31
49
  * @type {string}
32
50
  * @memberof AgentAgentArtifactView
33
51
  */
@@ -39,31 +57,57 @@ export interface AgentAgentArtifactView {
39
57
  */
40
58
  commitTs: string;
41
59
  /**
42
- * Value of the `content_hash_hex` field.
60
+ * BLAKE3 (hex) of the canonicalised per-kind properties — the artifact's `ETag`, and the
61
+ * `If-Match` precondition's subject. Named `_hex` for the shipped contract's sake.
62
+ *
63
+ * `#[serde(default)]` for the same reason `extension` above has one, and this is the second
64
+ * time that reason has cost every extension its read surface. The registry types the field
65
+ * `Option<String>` and **omits** it when the row's `content_hash` is NULL
66
+ * (`registry_http::ArtifactView`), populating it straight from the nullable column; `flatten`
67
+ * is a whitelist, so a bare `String` here made that omission a hard decode failure — every
68
+ * `skill`, `mcp` and `agent` read answered `500 unexpected registry response shape` for a
69
+ * request the registry had served correctly, while the registry's own `/artifacts` surface
70
+ * kept working and made it read as an extension bug.
71
+ *
72
+ * The absence is legitimate, which is why the fix is here and not a backfill: no write path
73
+ * leaves the column NULL, but the spanner→postgres mover deliberately **invalidates** every
74
+ * migrated hash — Spanner hashed `sha256(jcs(metadata))` and this stack hashes
75
+ * `blake3(write_canonical(metadata))`, so a carried-over digest could never match a
76
+ * recomputation. A migrated artifact has no hash until its next property write recomputes
77
+ * one, so a caller that wants a conditional write against it sends `*` or no `If-Match`.
78
+ *
79
+ * Skipped on the way out rather than serialized as `null`, so a typed per-kind view renders
80
+ * exactly the shape the registry served.
43
81
  * @type {string}
44
82
  * @memberof AgentAgentArtifactView
45
83
  */
46
84
  contentHashHex?: string;
47
85
  /**
48
- * Value of the `created_at` field.
86
+ *
49
87
  * @type {string}
50
88
  * @memberof AgentAgentArtifactView
51
89
  */
52
90
  createdAt: string;
53
91
  /**
54
- * Value of the `created_by` field.
92
+ *
55
93
  * @type {string}
56
94
  * @memberof AgentAgentArtifactView
57
95
  */
58
96
  createdBy: string;
59
97
  /**
60
- * Human-readable description.
98
+ *
61
99
  * @type {string}
62
100
  * @memberof AgentAgentArtifactView
63
101
  */
64
102
  description?: string;
65
103
  /**
66
- * Human-readable name.
104
+ * Human-readable label. The registry defaults it to `name` when a create
105
+ * body omits it, so it is always present on read and never null. Edit it
106
+ * freely without moving `name`.
107
+ *
108
+ * `#[serde(default)]` because `flatten` is a whitelist: without it, a view
109
+ * deserialized from a registry that predates this field would fail rather
110
+ * than fall back.
67
111
  * @type {string}
68
112
  * @memberof AgentAgentArtifactView
69
113
  */
@@ -75,7 +119,7 @@ export interface AgentAgentArtifactView {
75
119
  */
76
120
  id: string;
77
121
  /**
78
- * Value of the `identity` field.
122
+ *
79
123
  * @type {GatewayArtifactIdentityRevealView}
80
124
  * @memberof AgentAgentArtifactView
81
125
  */
@@ -87,7 +131,7 @@ export interface AgentAgentArtifactView {
87
131
  */
88
132
  isLatest: boolean;
89
133
  /**
90
- * Domain discriminator for this resource.
134
+ *
91
135
  * @type {string}
92
136
  * @memberof AgentAgentArtifactView
93
137
  */
@@ -223,13 +267,13 @@ export interface AgentAgentArtifactView {
223
267
  */
224
268
  sourceVersion?: string;
225
269
  /**
226
- * Value of the `updated_at` field.
270
+ *
227
271
  * @type {string}
228
272
  * @memberof AgentAgentArtifactView
229
273
  */
230
274
  updatedAt: string;
231
275
  /**
232
- * Value of the `updated_by` field.
276
+ *
233
277
  * @type {string}
234
278
  * @memberof AgentAgentArtifactView
235
279
  */
@@ -373,17 +417,19 @@ export interface AgentAgentArtifactView {
373
417
  */
374
418
  syncError?: string | null;
375
419
  /**
376
- * Value of the `sync_state` field.
420
+ *
377
421
  * @type {AgentSyncState}
378
422
  * @memberof AgentAgentArtifactView
379
423
  */
380
424
  syncState?: AgentSyncState | null;
381
425
  /**
382
- * A hash of the spec fields that map onto the remote agent config
383
- * (`instructions`, `model_id`, `tools`, `max_step_count`). A re-trigger reuses
384
- * the pushed version when it matches and pushes a new one when it does not,
385
- * so repeated runs of an unchanged agent do not mint a version each time.
386
- * Hook-owned.
426
+ * A hash of the spec that maps onto the remote agent config: `instructions`,
427
+ * `model_id`, `tools`, `max_step_count`, plus the composition edges — the
428
+ * sub-agent ids, and the attached skills at the head version the push would
429
+ * upload. A re-trigger reuses the pushed version when it matches **and**
430
+ * `sync_state` is `synced`, and pushes a new one otherwise, so repeated runs
431
+ * of an unchanged agent do not mint a version each time while a skill edit
432
+ * or a failed push still re-pushes. Hook-owned.
387
433
  * @type {string}
388
434
  * @memberof AgentAgentArtifactView
389
435
  */
@@ -395,7 +441,16 @@ export interface AgentAgentArtifactView {
395
441
  */
396
442
  tools?: Array<GatewayToolRef>;
397
443
  /**
398
- * Value of the `permissions` field.
444
+ * The caller's advisory `can_*` capability matrix on a resource.
445
+ *
446
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
447
+ * controls on. It never authorizes a request — the platform decides that
448
+ * independently on every call.
449
+ *
450
+ * Deliberately an open map rather than a typed struct. The authoritative
451
+ * permission tables are internal to the platform core, and lifting them into the
452
+ * SDK would put an authorization decision surface into every extension. An
453
+ * extension reads this matrix; it never derives one.
399
454
  * @type {{ [key: string]: boolean; }}
400
455
  * @memberof AgentAgentArtifactView
401
456
  */
@@ -418,7 +473,7 @@ export interface AgentAgentArtifactView {
418
473
  */
419
474
  profileImageUrl?: string | null;
420
475
  /**
421
- * Value of the `relationships` field.
476
+ *
422
477
  * @type {RegistryRelationshipsView}
423
478
  * @memberof AgentAgentArtifactView
424
479
  */
@@ -82,7 +82,7 @@ export interface AgentAgentCreate {
82
82
  */
83
83
  sourceVersion?: string;
84
84
  /**
85
- * Human-readable description.
85
+ *
86
86
  * @type {string}
87
87
  * @memberof AgentAgentCreate
88
88
  */
@@ -15,19 +15,37 @@ import type { AgentEnvironmentPackages } from './AgentEnvironmentPackages';
15
15
  import type { RegistryRelationshipsView } from './RegistryRelationshipsView';
16
16
  import type { AgentEnvironmentType } from './AgentEnvironmentType';
17
17
  /**
18
- * Published representation of AgentEnvironmentArtifact.
18
+ *
19
19
  * @export
20
20
  * @interface AgentAgentEnvironmentArtifactView
21
21
  */
22
22
  export interface AgentAgentEnvironmentArtifactView {
23
23
  /**
24
- * Value of the `app` field.
24
+ * The extension that registered the kind.
25
+ *
26
+ * `#[serde(default)]` because the registry's **L1** view omits it: `registry_http::artifact`
27
+ * serves `l1_view` — deliberately kind-polymorphic, deliberately without an extension name —
28
+ * from ranked search and from archive. Without the default, `flatten` being a whitelist made
29
+ * the absence a hard decode failure, so *every* extension-scoped `POST …/search` and
30
+ * `POST …/{id}/archive` answered `500 unexpected registry response shape` the moment a row came
31
+ * back. Empty result sets decoded fine, which is why it read as working.
32
+ *
33
+ * The archive case was the worse of the two: the write had already committed, so the caller saw
34
+ * a 500 for a request that succeeded.
35
+ *
36
+ * Serialization skips it when empty rather than emitting `""`, so a typed view built from an L1
37
+ * row **omits** the field exactly as the registry's own L1 row does. A client that needs it for
38
+ * a search hit resolves it from `kind` through `GET /kinds`, which is the same lookup the
39
+ * registry would do.
40
+ *
41
+ * Named `extension` until `apps-2026-09-15-the-extension-tables-are-dropped`; renamed with no
42
+ * alias, matching the registry's own `ArtifactView`.
25
43
  * @type {string}
26
44
  * @memberof AgentAgentEnvironmentArtifactView
27
45
  */
28
46
  app?: string;
29
47
  /**
30
- * Value of the `artifact_status` field.
48
+ *
31
49
  * @type {string}
32
50
  * @memberof AgentAgentEnvironmentArtifactView
33
51
  */
@@ -39,31 +57,57 @@ export interface AgentAgentEnvironmentArtifactView {
39
57
  */
40
58
  commitTs: string;
41
59
  /**
42
- * Value of the `content_hash_hex` field.
60
+ * BLAKE3 (hex) of the canonicalised per-kind properties — the artifact's `ETag`, and the
61
+ * `If-Match` precondition's subject. Named `_hex` for the shipped contract's sake.
62
+ *
63
+ * `#[serde(default)]` for the same reason `extension` above has one, and this is the second
64
+ * time that reason has cost every extension its read surface. The registry types the field
65
+ * `Option<String>` and **omits** it when the row's `content_hash` is NULL
66
+ * (`registry_http::ArtifactView`), populating it straight from the nullable column; `flatten`
67
+ * is a whitelist, so a bare `String` here made that omission a hard decode failure — every
68
+ * `skill`, `mcp` and `agent` read answered `500 unexpected registry response shape` for a
69
+ * request the registry had served correctly, while the registry's own `/artifacts` surface
70
+ * kept working and made it read as an extension bug.
71
+ *
72
+ * The absence is legitimate, which is why the fix is here and not a backfill: no write path
73
+ * leaves the column NULL, but the spanner→postgres mover deliberately **invalidates** every
74
+ * migrated hash — Spanner hashed `sha256(jcs(metadata))` and this stack hashes
75
+ * `blake3(write_canonical(metadata))`, so a carried-over digest could never match a
76
+ * recomputation. A migrated artifact has no hash until its next property write recomputes
77
+ * one, so a caller that wants a conditional write against it sends `*` or no `If-Match`.
78
+ *
79
+ * Skipped on the way out rather than serialized as `null`, so a typed per-kind view renders
80
+ * exactly the shape the registry served.
43
81
  * @type {string}
44
82
  * @memberof AgentAgentEnvironmentArtifactView
45
83
  */
46
84
  contentHashHex?: string;
47
85
  /**
48
- * Value of the `created_at` field.
86
+ *
49
87
  * @type {string}
50
88
  * @memberof AgentAgentEnvironmentArtifactView
51
89
  */
52
90
  createdAt: string;
53
91
  /**
54
- * Value of the `created_by` field.
92
+ *
55
93
  * @type {string}
56
94
  * @memberof AgentAgentEnvironmentArtifactView
57
95
  */
58
96
  createdBy: string;
59
97
  /**
60
- * Human-readable description.
98
+ *
61
99
  * @type {string}
62
100
  * @memberof AgentAgentEnvironmentArtifactView
63
101
  */
64
102
  description?: string;
65
103
  /**
66
- * Human-readable name.
104
+ * Human-readable label. The registry defaults it to `name` when a create
105
+ * body omits it, so it is always present on read and never null. Edit it
106
+ * freely without moving `name`.
107
+ *
108
+ * `#[serde(default)]` because `flatten` is a whitelist: without it, a view
109
+ * deserialized from a registry that predates this field would fail rather
110
+ * than fall back.
67
111
  * @type {string}
68
112
  * @memberof AgentAgentEnvironmentArtifactView
69
113
  */
@@ -75,7 +119,7 @@ export interface AgentAgentEnvironmentArtifactView {
75
119
  */
76
120
  id: string;
77
121
  /**
78
- * Value of the `identity` field.
122
+ *
79
123
  * @type {GatewayArtifactIdentityRevealView}
80
124
  * @memberof AgentAgentEnvironmentArtifactView
81
125
  */
@@ -87,7 +131,7 @@ export interface AgentAgentEnvironmentArtifactView {
87
131
  */
88
132
  isLatest: boolean;
89
133
  /**
90
- * Domain discriminator for this resource.
134
+ *
91
135
  * @type {string}
92
136
  * @memberof AgentAgentEnvironmentArtifactView
93
137
  */
@@ -223,13 +267,13 @@ export interface AgentAgentEnvironmentArtifactView {
223
267
  */
224
268
  sourceVersion?: string;
225
269
  /**
226
- * Value of the `updated_at` field.
270
+ *
227
271
  * @type {string}
228
272
  * @memberof AgentAgentEnvironmentArtifactView
229
273
  */
230
274
  updatedAt: string;
231
275
  /**
232
- * Value of the `updated_by` field.
276
+ *
233
277
  * @type {string}
234
278
  * @memberof AgentAgentEnvironmentArtifactView
235
279
  */
@@ -317,7 +361,16 @@ export interface AgentAgentEnvironmentArtifactView {
317
361
  */
318
362
  remoteEnvironmentId?: string | null;
319
363
  /**
320
- * Value of the `permissions` field.
364
+ * The caller's advisory `can_*` capability matrix on a resource.
365
+ *
366
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
367
+ * controls on. It never authorizes a request — the platform decides that
368
+ * independently on every call.
369
+ *
370
+ * Deliberately an open map rather than a typed struct. The authoritative
371
+ * permission tables are internal to the platform core, and lifting them into the
372
+ * SDK would put an authorization decision surface into every extension. An
373
+ * extension reads this matrix; it never derives one.
321
374
  * @type {{ [key: string]: boolean; }}
322
375
  * @memberof AgentAgentEnvironmentArtifactView
323
376
  */
@@ -325,7 +378,7 @@ export interface AgentAgentEnvironmentArtifactView {
325
378
  [key: string]: boolean;
326
379
  } | null;
327
380
  /**
328
- * Value of the `relationships` field.
381
+ *
329
382
  * @type {RegistryRelationshipsView}
330
383
  * @memberof AgentAgentEnvironmentArtifactView
331
384
  */
@@ -87,7 +87,7 @@ export interface AgentAgentEnvironmentCreate {
87
87
  */
88
88
  sourceVersion?: string;
89
89
  /**
90
- * Human-readable description.
90
+ *
91
91
  * @type {string}
92
92
  * @memberof AgentAgentEnvironmentCreate
93
93
  */
@@ -21,25 +21,25 @@ import type { AgentEnvironmentType } from './AgentEnvironmentType';
21
21
  */
22
22
  export interface AgentAgentEnvironmentPatch {
23
23
  /**
24
- * Stable identifier of the related agent provider resource.
24
+ *
25
25
  * @type {string}
26
26
  * @memberof AgentAgentEnvironmentPatch
27
27
  */
28
28
  agentProviderId?: string | null;
29
29
  /**
30
- * Whether mcp servers.
30
+ *
31
31
  * @type {boolean}
32
32
  * @memberof AgentAgentEnvironmentPatch
33
33
  */
34
34
  allowMcpServers?: boolean | null;
35
35
  /**
36
- * Whether package managers.
36
+ *
37
37
  * @type {boolean}
38
38
  * @memberof AgentAgentEnvironmentPatch
39
39
  */
40
40
  allowPackageManagers?: boolean | null;
41
41
  /**
42
- * Value of the `allowed_hosts` field.
42
+ *
43
43
  * @type {Array<string>}
44
44
  * @memberof AgentAgentEnvironmentPatch
45
45
  */
@@ -51,25 +51,25 @@ export interface AgentAgentEnvironmentPatch {
51
51
  */
52
52
  description?: string | null;
53
53
  /**
54
- * Human-readable name.
54
+ *
55
55
  * @type {string}
56
56
  * @memberof AgentAgentEnvironmentPatch
57
57
  */
58
58
  displayName?: string | null;
59
59
  /**
60
- * Value of the `environment_type` field.
60
+ *
61
61
  * @type {AgentEnvironmentType}
62
62
  * @memberof AgentAgentEnvironmentPatch
63
63
  */
64
64
  environmentType?: AgentEnvironmentType | null;
65
65
  /**
66
- * Stable machine-readable name.
66
+ *
67
67
  * @type {string}
68
68
  * @memberof AgentAgentEnvironmentPatch
69
69
  */
70
70
  name?: string | null;
71
71
  /**
72
- * Value of the `network_mode` field.
72
+ *
73
73
  * @type {AgentNetworkMode}
74
74
  * @memberof AgentAgentEnvironmentPatch
75
75
  */
@@ -12,19 +12,37 @@
12
12
  import type { GatewayArtifactIdentityRevealView } from './GatewayArtifactIdentityRevealView';
13
13
  import type { RegistryRelationshipsView } from './RegistryRelationshipsView';
14
14
  /**
15
- * Published representation of AgentFrameworkArtifact.
15
+ *
16
16
  * @export
17
17
  * @interface AgentAgentFrameworkArtifactView
18
18
  */
19
19
  export interface AgentAgentFrameworkArtifactView {
20
20
  /**
21
- * Value of the `app` field.
21
+ * The extension that registered the kind.
22
+ *
23
+ * `#[serde(default)]` because the registry's **L1** view omits it: `registry_http::artifact`
24
+ * serves `l1_view` — deliberately kind-polymorphic, deliberately without an extension name —
25
+ * from ranked search and from archive. Without the default, `flatten` being a whitelist made
26
+ * the absence a hard decode failure, so *every* extension-scoped `POST …/search` and
27
+ * `POST …/{id}/archive` answered `500 unexpected registry response shape` the moment a row came
28
+ * back. Empty result sets decoded fine, which is why it read as working.
29
+ *
30
+ * The archive case was the worse of the two: the write had already committed, so the caller saw
31
+ * a 500 for a request that succeeded.
32
+ *
33
+ * Serialization skips it when empty rather than emitting `""`, so a typed view built from an L1
34
+ * row **omits** the field exactly as the registry's own L1 row does. A client that needs it for
35
+ * a search hit resolves it from `kind` through `GET /kinds`, which is the same lookup the
36
+ * registry would do.
37
+ *
38
+ * Named `extension` until `apps-2026-09-15-the-extension-tables-are-dropped`; renamed with no
39
+ * alias, matching the registry's own `ArtifactView`.
22
40
  * @type {string}
23
41
  * @memberof AgentAgentFrameworkArtifactView
24
42
  */
25
43
  app?: string;
26
44
  /**
27
- * Value of the `artifact_status` field.
45
+ *
28
46
  * @type {string}
29
47
  * @memberof AgentAgentFrameworkArtifactView
30
48
  */
@@ -36,31 +54,57 @@ export interface AgentAgentFrameworkArtifactView {
36
54
  */
37
55
  commitTs: string;
38
56
  /**
39
- * Value of the `content_hash_hex` field.
57
+ * BLAKE3 (hex) of the canonicalised per-kind properties — the artifact's `ETag`, and the
58
+ * `If-Match` precondition's subject. Named `_hex` for the shipped contract's sake.
59
+ *
60
+ * `#[serde(default)]` for the same reason `extension` above has one, and this is the second
61
+ * time that reason has cost every extension its read surface. The registry types the field
62
+ * `Option<String>` and **omits** it when the row's `content_hash` is NULL
63
+ * (`registry_http::ArtifactView`), populating it straight from the nullable column; `flatten`
64
+ * is a whitelist, so a bare `String` here made that omission a hard decode failure — every
65
+ * `skill`, `mcp` and `agent` read answered `500 unexpected registry response shape` for a
66
+ * request the registry had served correctly, while the registry's own `/artifacts` surface
67
+ * kept working and made it read as an extension bug.
68
+ *
69
+ * The absence is legitimate, which is why the fix is here and not a backfill: no write path
70
+ * leaves the column NULL, but the spanner→postgres mover deliberately **invalidates** every
71
+ * migrated hash — Spanner hashed `sha256(jcs(metadata))` and this stack hashes
72
+ * `blake3(write_canonical(metadata))`, so a carried-over digest could never match a
73
+ * recomputation. A migrated artifact has no hash until its next property write recomputes
74
+ * one, so a caller that wants a conditional write against it sends `*` or no `If-Match`.
75
+ *
76
+ * Skipped on the way out rather than serialized as `null`, so a typed per-kind view renders
77
+ * exactly the shape the registry served.
40
78
  * @type {string}
41
79
  * @memberof AgentAgentFrameworkArtifactView
42
80
  */
43
81
  contentHashHex?: string;
44
82
  /**
45
- * Value of the `created_at` field.
83
+ *
46
84
  * @type {string}
47
85
  * @memberof AgentAgentFrameworkArtifactView
48
86
  */
49
87
  createdAt: string;
50
88
  /**
51
- * Value of the `created_by` field.
89
+ *
52
90
  * @type {string}
53
91
  * @memberof AgentAgentFrameworkArtifactView
54
92
  */
55
93
  createdBy: string;
56
94
  /**
57
- * Human-readable description.
95
+ *
58
96
  * @type {string}
59
97
  * @memberof AgentAgentFrameworkArtifactView
60
98
  */
61
99
  description?: string;
62
100
  /**
63
- * Human-readable name.
101
+ * Human-readable label. The registry defaults it to `name` when a create
102
+ * body omits it, so it is always present on read and never null. Edit it
103
+ * freely without moving `name`.
104
+ *
105
+ * `#[serde(default)]` because `flatten` is a whitelist: without it, a view
106
+ * deserialized from a registry that predates this field would fail rather
107
+ * than fall back.
64
108
  * @type {string}
65
109
  * @memberof AgentAgentFrameworkArtifactView
66
110
  */
@@ -72,7 +116,7 @@ export interface AgentAgentFrameworkArtifactView {
72
116
  */
73
117
  id: string;
74
118
  /**
75
- * Value of the `identity` field.
119
+ *
76
120
  * @type {GatewayArtifactIdentityRevealView}
77
121
  * @memberof AgentAgentFrameworkArtifactView
78
122
  */
@@ -84,7 +128,7 @@ export interface AgentAgentFrameworkArtifactView {
84
128
  */
85
129
  isLatest: boolean;
86
130
  /**
87
- * Domain discriminator for this resource.
131
+ *
88
132
  * @type {string}
89
133
  * @memberof AgentAgentFrameworkArtifactView
90
134
  */
@@ -220,13 +264,13 @@ export interface AgentAgentFrameworkArtifactView {
220
264
  */
221
265
  sourceVersion?: string;
222
266
  /**
223
- * Value of the `updated_at` field.
267
+ *
224
268
  * @type {string}
225
269
  * @memberof AgentAgentFrameworkArtifactView
226
270
  */
227
271
  updatedAt: string;
228
272
  /**
229
- * Value of the `updated_by` field.
273
+ *
230
274
  * @type {string}
231
275
  * @memberof AgentAgentFrameworkArtifactView
232
276
  */
@@ -298,7 +342,16 @@ export interface AgentAgentFrameworkArtifactView {
298
342
  */
299
343
  logoUrl?: string | null;
300
344
  /**
301
- * Value of the `permissions` field.
345
+ * The caller's advisory `can_*` capability matrix on a resource.
346
+ *
347
+ * Advisory only: it reflects what the caller may do, and is for a UI to gate
348
+ * controls on. It never authorizes a request — the platform decides that
349
+ * independently on every call.
350
+ *
351
+ * Deliberately an open map rather than a typed struct. The authoritative
352
+ * permission tables are internal to the platform core, and lifting them into the
353
+ * SDK would put an authorization decision surface into every extension. An
354
+ * extension reads this matrix; it never derives one.
302
355
  * @type {{ [key: string]: boolean; }}
303
356
  * @memberof AgentAgentFrameworkArtifactView
304
357
  */
@@ -306,7 +359,7 @@ export interface AgentAgentFrameworkArtifactView {
306
359
  [key: string]: boolean;
307
360
  } | null;
308
361
  /**
309
- * Value of the `relationships` field.
362
+ *
310
363
  * @type {RegistryRelationshipsView}
311
364
  * @memberof AgentAgentFrameworkArtifactView
312
365
  */
@@ -84,7 +84,7 @@ export interface AgentAgentFrameworkCreate {
84
84
  */
85
85
  sourceVersion?: string;
86
86
  /**
87
- * Human-readable description.
87
+ *
88
88
  * @type {string}
89
89
  * @memberof AgentAgentFrameworkCreate
90
90
  */
@@ -22,19 +22,19 @@ export interface AgentAgentFrameworkPatch {
22
22
  */
23
23
  description?: string | null;
24
24
  /**
25
- * Human-readable name.
25
+ *
26
26
  * @type {string}
27
27
  * @memberof AgentAgentFrameworkPatch
28
28
  */
29
29
  displayName?: string | null;
30
30
  /**
31
- * Value of the `docs_url` field.
31
+ *
32
32
  * @type {string}
33
33
  * @memberof AgentAgentFrameworkPatch
34
34
  */
35
35
  docsUrl?: string | null;
36
36
  /**
37
- * Value of the `homepage_url` field.
37
+ *
38
38
  * @type {string}
39
39
  * @memberof AgentAgentFrameworkPatch
40
40
  */
@@ -47,13 +47,13 @@ export interface AgentAgentFrameworkPatch {
47
47
  */
48
48
  languages?: Array<string> | null;
49
49
  /**
50
- * Value of the `logo_url` field.
50
+ *
51
51
  * @type {string}
52
52
  * @memberof AgentAgentFrameworkPatch
53
53
  */
54
54
  logoUrl?: string | null;
55
55
  /**
56
- * Stable machine-readable name.
56
+ *
57
57
  * @type {string}
58
58
  * @memberof AgentAgentFrameworkPatch
59
59
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface AgentAgentIdentityStatusView {
18
18
  /**
19
- * Stable identifier of the related client resource.
19
+ *
20
20
  * @type {string}
21
21
  * @memberof AgentAgentIdentityStatusView
22
22
  */
@@ -147,17 +147,19 @@ export interface AgentAgentMeta {
147
147
  */
148
148
  syncError?: string | null;
149
149
  /**
150
- * Value of the `sync_state` field.
150
+ *
151
151
  * @type {AgentSyncState}
152
152
  * @memberof AgentAgentMeta
153
153
  */
154
154
  syncState?: AgentSyncState | null;
155
155
  /**
156
- * A hash of the spec fields that map onto the remote agent config
157
- * (`instructions`, `model_id`, `tools`, `max_step_count`). A re-trigger reuses
158
- * the pushed version when it matches and pushes a new one when it does not,
159
- * so repeated runs of an unchanged agent do not mint a version each time.
160
- * Hook-owned.
156
+ * A hash of the spec that maps onto the remote agent config: `instructions`,
157
+ * `model_id`, `tools`, `max_step_count`, plus the composition edges — the
158
+ * sub-agent ids, and the attached skills at the head version the push would
159
+ * upload. A re-trigger reuses the pushed version when it matches **and**
160
+ * `sync_state` is `synced`, and pushes a new one otherwise, so repeated runs
161
+ * of an unchanged agent do not mint a version each time while a skill edit
162
+ * or a failed push still re-pushes. Hook-owned.
161
163
  * @type {string}
162
164
  * @memberof AgentAgentMeta
163
165
  */