@agentxm/client-core 0.9.0 → 0.10.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 (381) hide show
  1. package/README.md +5 -0
  2. package/dist/src/unstable/app-error/app-error.d.ts +20 -4
  3. package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
  4. package/dist/src/unstable/app-error/app-error.js +37 -2
  5. package/dist/src/unstable/app-error/app-error.js.map +1 -1
  6. package/dist/src/unstable/app-error/builders.d.ts +4 -4
  7. package/dist/src/unstable/app-error/builders.d.ts.map +1 -1
  8. package/dist/src/unstable/app-error/builders.js +5 -5
  9. package/dist/src/unstable/app-error/builders.js.map +1 -1
  10. package/dist/src/unstable/app-error/index.d.ts +1 -1
  11. package/dist/src/unstable/app-error/index.d.ts.map +1 -1
  12. package/dist/src/unstable/app-error/index.js +1 -1
  13. package/dist/src/unstable/app-error/index.js.map +1 -1
  14. package/dist/src/unstable/app-error/render.d.ts +1 -1
  15. package/dist/src/unstable/app-error/render.d.ts.map +1 -1
  16. package/dist/src/unstable/app-error/render.js +48 -3
  17. package/dist/src/unstable/app-error/render.js.map +1 -1
  18. package/dist/src/unstable/auth/auth-client.d.ts +59 -1
  19. package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
  20. package/dist/src/unstable/auth/auth-client.js +223 -16
  21. package/dist/src/unstable/auth/auth-client.js.map +1 -1
  22. package/dist/src/unstable/auth/credential-store.js +2 -2
  23. package/dist/src/unstable/auth/device-login.d.ts +1 -0
  24. package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
  25. package/dist/src/unstable/auth/device-login.js +3 -1
  26. package/dist/src/unstable/auth/device-login.js.map +1 -1
  27. package/dist/src/unstable/auth/guard.js +1 -1
  28. package/dist/src/unstable/auth/index.d.ts +1 -1
  29. package/dist/src/unstable/auth/index.d.ts.map +1 -1
  30. package/dist/src/unstable/auth/index.js.map +1 -1
  31. package/dist/src/unstable/auth/loopback-login.d.ts +4 -1
  32. package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -1
  33. package/dist/src/unstable/auth/loopback-login.js +2 -2
  34. package/dist/src/unstable/auth/loopback-login.js.map +1 -1
  35. package/dist/src/unstable/auth/token-resolution.js +1 -1
  36. package/dist/src/unstable/cli/prompt/helpers.js +1 -1
  37. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts +7 -0
  38. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -1
  39. package/dist/src/unstable/cli-renderer/ansi-chrome.js +7 -7
  40. package/dist/src/unstable/cli-renderer/ansi-chrome.js.map +1 -1
  41. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  42. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +29 -104
  43. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  44. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  45. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +17 -13
  46. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  47. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +3 -2
  48. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -1
  49. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +24 -20
  50. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -1
  51. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +9 -8
  52. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -1
  53. package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -1
  54. package/dist/src/unstable/cli-renderer/index.d.ts +2 -1
  55. package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -1
  56. package/dist/src/unstable/cli-renderer/index.js +1 -0
  57. package/dist/src/unstable/cli-renderer/index.js.map +1 -1
  58. package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts +2 -0
  59. package/dist/src/unstable/cli-renderer/markdown-formatter.d.ts.map +1 -0
  60. package/dist/src/unstable/cli-renderer/markdown-formatter.js +255 -0
  61. package/dist/src/unstable/cli-renderer/markdown-formatter.js.map +1 -0
  62. package/dist/src/unstable/cli-renderer/table-formatter.d.ts +5 -0
  63. package/dist/src/unstable/cli-renderer/table-formatter.d.ts.map +1 -0
  64. package/dist/src/unstable/cli-renderer/table-formatter.js +85 -0
  65. package/dist/src/unstable/cli-renderer/table-formatter.js.map +1 -0
  66. package/dist/src/unstable/cli-runtime/index.d.ts +3 -3
  67. package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -1
  68. package/dist/src/unstable/cli-runtime/index.js +2 -2
  69. package/dist/src/unstable/cli-runtime/index.js.map +1 -1
  70. package/dist/src/unstable/cli-runtime/json-envelope.d.ts +27 -9
  71. package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
  72. package/dist/src/unstable/cli-runtime/json-envelope.js +18 -11
  73. package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
  74. package/dist/src/unstable/cli-runtime/output-mode.d.ts +5 -4
  75. package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
  76. package/dist/src/unstable/cli-runtime/output-mode.js +6 -5
  77. package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -1
  78. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
  79. package/dist/src/unstable/cli-runtime/runtime-envelope.js +18 -14
  80. package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
  81. package/dist/src/unstable/cli-runtime/suggested-action.d.ts +8 -0
  82. package/dist/src/unstable/cli-runtime/suggested-action.d.ts.map +1 -0
  83. package/dist/src/unstable/cli-runtime/suggested-action.js +16 -0
  84. package/dist/src/unstable/cli-runtime/suggested-action.js.map +1 -0
  85. package/dist/src/unstable/commands/command-content.js +1 -1
  86. package/dist/src/unstable/commands/manager.js +1 -1
  87. package/dist/src/unstable/commands/manifest-schema.d.ts +12 -9
  88. package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
  89. package/dist/src/unstable/commands/operations/enable.js +2 -2
  90. package/dist/src/unstable/commands/operations/install.js +2 -2
  91. package/dist/src/unstable/commands/operations/new-command.js +1 -1
  92. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  93. package/dist/src/unstable/commands/operations/publish.js +4 -3
  94. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  95. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +13 -12
  96. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
  97. package/dist/src/unstable/commands/registry-ref-builder.d.ts +1 -1
  98. package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -1
  99. package/dist/src/unstable/commands/registry-ref-builder.js +2 -2
  100. package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -1
  101. package/dist/src/unstable/discover/discover.d.ts +9 -13
  102. package/dist/src/unstable/discover/discover.d.ts.map +1 -1
  103. package/dist/src/unstable/discover/discover.js +94 -140
  104. package/dist/src/unstable/discover/discover.js.map +1 -1
  105. package/dist/src/unstable/discover/index.d.ts +1 -1
  106. package/dist/src/unstable/discover/index.d.ts.map +1 -1
  107. package/dist/src/unstable/discover/index.js.map +1 -1
  108. package/dist/src/unstable/extensions/common.d.ts +21 -9
  109. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  110. package/dist/src/unstable/extensions/common.js +22 -6
  111. package/dist/src/unstable/extensions/common.js.map +1 -1
  112. package/dist/src/unstable/extensions/fqn.d.ts +1 -1
  113. package/dist/src/unstable/extensions/fqn.js +2 -2
  114. package/dist/src/unstable/extensions/frontmatter.js +1 -1
  115. package/dist/src/unstable/extensions/index.d.ts +2 -1
  116. package/dist/src/unstable/extensions/index.d.ts.map +1 -1
  117. package/dist/src/unstable/extensions/index.js +2 -1
  118. package/dist/src/unstable/extensions/index.js.map +1 -1
  119. package/dist/src/unstable/extensions/license.d.ts +16 -0
  120. package/dist/src/unstable/extensions/license.d.ts.map +1 -0
  121. package/dist/src/unstable/extensions/license.js +29 -0
  122. package/dist/src/unstable/extensions/license.js.map +1 -0
  123. package/dist/src/unstable/extensions/materializable-from-disk.js +5 -5
  124. package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
  125. package/dist/src/unstable/extensions/operations.d.ts +3 -3
  126. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  127. package/dist/src/unstable/extensions/operations.js +7 -7
  128. package/dist/src/unstable/extensions/operations.js.map +1 -1
  129. package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
  130. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  131. package/dist/src/unstable/install-meta/install-meta.d.ts +1 -1
  132. package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.d.ts +11 -0
  133. package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.d.ts.map +1 -0
  134. package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.js +68 -0
  135. package/dist/src/unstable/lint/catalog/workspace/skills-universal-artifact-present.js.map +1 -0
  136. package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.d.ts.map +1 -1
  137. package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js +47 -0
  138. package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js.map +1 -1
  139. package/dist/src/unstable/lint/catalog/workspace.d.ts +1 -0
  140. package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -1
  141. package/dist/src/unstable/lint/catalog/workspace.js +4 -0
  142. package/dist/src/unstable/lint/catalog/workspace.js.map +1 -1
  143. package/dist/src/unstable/lint/cli.d.ts.map +1 -1
  144. package/dist/src/unstable/lint/cli.js +22 -0
  145. package/dist/src/unstable/lint/cli.js.map +1 -1
  146. package/dist/src/unstable/lockfile/resolved-version.js +1 -1
  147. package/dist/src/unstable/lockfile/schema.d.ts +85 -0
  148. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  149. package/dist/src/unstable/lockfile/schema.js +7 -1
  150. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  151. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +12 -9
  152. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -1
  153. package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
  154. package/dist/src/unstable/mcp-servers/operations/publish.js +4 -3
  155. package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
  156. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +1 -1
  157. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -1
  158. package/dist/src/unstable/mcp-servers/registry-ref-builder.js +2 -2
  159. package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -1
  160. package/dist/src/unstable/package-urls/companion-package.d.ts +14 -0
  161. package/dist/src/unstable/package-urls/companion-package.d.ts.map +1 -0
  162. package/dist/src/unstable/package-urls/companion-package.js +41 -0
  163. package/dist/src/unstable/package-urls/companion-package.js.map +1 -0
  164. package/dist/src/unstable/package-urls/companion-package.spec.d.ts +2 -0
  165. package/dist/src/unstable/package-urls/companion-package.spec.d.ts.map +1 -0
  166. package/dist/src/unstable/package-urls/companion-package.spec.js +37 -0
  167. package/dist/src/unstable/package-urls/companion-package.spec.js.map +1 -0
  168. package/dist/src/unstable/package-urls/index.d.ts +4 -0
  169. package/dist/src/unstable/package-urls/index.d.ts.map +1 -0
  170. package/dist/src/unstable/package-urls/index.js +4 -0
  171. package/dist/src/unstable/package-urls/index.js.map +1 -0
  172. package/dist/src/unstable/package-urls/internal.d.ts +6 -0
  173. package/dist/src/unstable/package-urls/internal.d.ts.map +1 -0
  174. package/dist/src/unstable/package-urls/internal.js +14 -0
  175. package/dist/src/unstable/package-urls/internal.js.map +1 -0
  176. package/dist/src/unstable/package-urls/package-identity-purl.d.ts +5 -0
  177. package/dist/src/unstable/package-urls/package-identity-purl.d.ts.map +1 -0
  178. package/dist/src/unstable/package-urls/package-identity-purl.js +26 -0
  179. package/dist/src/unstable/package-urls/package-identity-purl.js.map +1 -0
  180. package/dist/src/unstable/package-urls/package-identity-purl.spec.d.ts +2 -0
  181. package/dist/src/unstable/package-urls/package-identity-purl.spec.d.ts.map +1 -0
  182. package/dist/src/unstable/package-urls/package-identity-purl.spec.js +33 -0
  183. package/dist/src/unstable/package-urls/package-identity-purl.spec.js.map +1 -0
  184. package/dist/src/unstable/package-urls/vers-range.d.ts +32 -0
  185. package/dist/src/unstable/package-urls/vers-range.d.ts.map +1 -0
  186. package/dist/src/unstable/package-urls/vers-range.js +164 -0
  187. package/dist/src/unstable/package-urls/vers-range.js.map +1 -0
  188. package/dist/src/unstable/package-urls/vers-range.spec.d.ts +2 -0
  189. package/dist/src/unstable/package-urls/vers-range.spec.d.ts.map +1 -0
  190. package/dist/src/unstable/package-urls/vers-range.spec.js +60 -0
  191. package/dist/src/unstable/package-urls/vers-range.spec.js.map +1 -0
  192. package/dist/src/unstable/packaging/axm-package-meta.d.ts +9 -1
  193. package/dist/src/unstable/packaging/axm-package-meta.d.ts.map +1 -1
  194. package/dist/src/unstable/packaging/axm-package-meta.js +11 -2
  195. package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -1
  196. package/dist/src/unstable/packaging/bazel.js +1 -1
  197. package/dist/src/unstable/packaging/bazel.js.map +1 -1
  198. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
  199. package/dist/src/unstable/packaging/cargo.js +44 -10
  200. package/dist/src/unstable/packaging/cargo.js.map +1 -1
  201. package/dist/src/unstable/packaging/cocoapods.js +1 -1
  202. package/dist/src/unstable/packaging/cocoapods.js.map +1 -1
  203. package/dist/src/unstable/packaging/composer.js +1 -1
  204. package/dist/src/unstable/packaging/composer.js.map +1 -1
  205. package/dist/src/unstable/packaging/conan.js +1 -1
  206. package/dist/src/unstable/packaging/conan.js.map +1 -1
  207. package/dist/src/unstable/packaging/conda.js +2 -2
  208. package/dist/src/unstable/packaging/conda.js.map +1 -1
  209. package/dist/src/unstable/packaging/cpan.js +1 -1
  210. package/dist/src/unstable/packaging/cpan.js.map +1 -1
  211. package/dist/src/unstable/packaging/cran.js +1 -1
  212. package/dist/src/unstable/packaging/cran.js.map +1 -1
  213. package/dist/src/unstable/packaging/docker.js +1 -1
  214. package/dist/src/unstable/packaging/docker.js.map +1 -1
  215. package/dist/src/unstable/packaging/gem.d.ts.map +1 -1
  216. package/dist/src/unstable/packaging/gem.js +14 -17
  217. package/dist/src/unstable/packaging/gem.js.map +1 -1
  218. package/dist/src/unstable/packaging/golang.js +1 -1
  219. package/dist/src/unstable/packaging/golang.js.map +1 -1
  220. package/dist/src/unstable/packaging/hackage.js +2 -2
  221. package/dist/src/unstable/packaging/hackage.js.map +1 -1
  222. package/dist/src/unstable/packaging/hex.js +2 -2
  223. package/dist/src/unstable/packaging/hex.js.map +1 -1
  224. package/dist/src/unstable/packaging/huggingface.js +1 -1
  225. package/dist/src/unstable/packaging/huggingface.js.map +1 -1
  226. package/dist/src/unstable/packaging/index.d.ts +1 -1
  227. package/dist/src/unstable/packaging/index.d.ts.map +1 -1
  228. package/dist/src/unstable/packaging/index.js +1 -1
  229. package/dist/src/unstable/packaging/index.js.map +1 -1
  230. package/dist/src/unstable/packaging/jsr.js +1 -1
  231. package/dist/src/unstable/packaging/jsr.js.map +1 -1
  232. package/dist/src/unstable/packaging/julia.d.ts.map +1 -1
  233. package/dist/src/unstable/packaging/julia.js +42 -8
  234. package/dist/src/unstable/packaging/julia.js.map +1 -1
  235. package/dist/src/unstable/packaging/luarocks.js +1 -1
  236. package/dist/src/unstable/packaging/luarocks.js.map +1 -1
  237. package/dist/src/unstable/packaging/maven.js +2 -2
  238. package/dist/src/unstable/packaging/maven.js.map +1 -1
  239. package/dist/src/unstable/packaging/mojo.js +1 -1
  240. package/dist/src/unstable/packaging/mojo.js.map +1 -1
  241. package/dist/src/unstable/packaging/npm.js +1 -1
  242. package/dist/src/unstable/packaging/npm.js.map +1 -1
  243. package/dist/src/unstable/packaging/nuget.js +1 -1
  244. package/dist/src/unstable/packaging/nuget.js.map +1 -1
  245. package/dist/src/unstable/packaging/opam.js +1 -1
  246. package/dist/src/unstable/packaging/opam.js.map +1 -1
  247. package/dist/src/unstable/packaging/pub.d.ts.map +1 -1
  248. package/dist/src/unstable/packaging/pub.js +34 -13
  249. package/dist/src/unstable/packaging/pub.js.map +1 -1
  250. package/dist/src/unstable/packaging/pypi.js +1 -1
  251. package/dist/src/unstable/packaging/pypi.js.map +1 -1
  252. package/dist/src/unstable/packaging/read.d.ts +4 -1
  253. package/dist/src/unstable/packaging/read.d.ts.map +1 -1
  254. package/dist/src/unstable/packaging/swift.js +1 -1
  255. package/dist/src/unstable/packaging/swift.js.map +1 -1
  256. package/dist/src/unstable/packaging/types.d.ts +2 -2
  257. package/dist/src/unstable/packaging/types.d.ts.map +1 -1
  258. package/dist/src/unstable/packaging/zig.js +1 -1
  259. package/dist/src/unstable/packaging/zig.js.map +1 -1
  260. package/dist/src/unstable/packs/dependency-resolution.js +4 -4
  261. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
  262. package/dist/src/unstable/packs/expansion.js +1 -1
  263. package/dist/src/unstable/packs/manifest-schema.d.ts +12 -9
  264. package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
  265. package/dist/src/unstable/packs/operations/add-to-pack.js +2 -2
  266. package/dist/src/unstable/packs/operations/install.js +1 -1
  267. package/dist/src/unstable/packs/operations/new-pack.js +1 -1
  268. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  269. package/dist/src/unstable/packs/operations/publish.js +2 -1
  270. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  271. package/dist/src/unstable/packs/operations/remove-from-pack.js +2 -2
  272. package/dist/src/unstable/packs/operations/unpack.js +1 -1
  273. package/dist/src/unstable/plan/plan.d.ts +3 -0
  274. package/dist/src/unstable/plan/plan.d.ts.map +1 -1
  275. package/dist/src/unstable/plan/resolve-plan.js +2 -2
  276. package/dist/src/unstable/publish/manifest-policy.d.ts +61 -46
  277. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  278. package/dist/src/unstable/publish/manifest-policy.js +75 -5
  279. package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
  280. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +477 -70
  281. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  282. package/dist/src/unstable/registry/__generated__/registry-client.js +232 -30
  283. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  284. package/dist/src/unstable/registry/client.d.ts +17 -8
  285. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  286. package/dist/src/unstable/registry/client.js.map +1 -1
  287. package/dist/src/unstable/registry/discover-schema.d.ts +53 -61
  288. package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -1
  289. package/dist/src/unstable/registry/discover-schema.js +21 -52
  290. package/dist/src/unstable/registry/discover-schema.js.map +1 -1
  291. package/dist/src/unstable/registry/error-mapping.d.ts +3 -3
  292. package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
  293. package/dist/src/unstable/registry/error-mapping.js +10 -3
  294. package/dist/src/unstable/registry/error-mapping.js.map +1 -1
  295. package/dist/src/unstable/registry/index.d.ts +5 -5
  296. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  297. package/dist/src/unstable/registry/index.js +3 -3
  298. package/dist/src/unstable/registry/index.js.map +1 -1
  299. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  300. package/dist/src/unstable/registry/local-client.js +99 -44
  301. package/dist/src/unstable/registry/local-client.js.map +1 -1
  302. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  303. package/dist/src/unstable/registry/remote-client.js +89 -129
  304. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  305. package/dist/src/unstable/registry/schema.d.ts +26 -16
  306. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  307. package/dist/src/unstable/registry/schema.js +14 -1
  308. package/dist/src/unstable/registry/schema.js.map +1 -1
  309. package/dist/src/unstable/registry/translate.d.ts +3 -3
  310. package/dist/src/unstable/registry/translate.d.ts.map +1 -1
  311. package/dist/src/unstable/registry/translate.js +41 -14
  312. package/dist/src/unstable/registry/translate.js.map +1 -1
  313. package/dist/src/unstable/settings/ignored-patterns.js +2 -2
  314. package/dist/src/unstable/skills/manifest-schema.d.ts +12 -9
  315. package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
  316. package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
  317. package/dist/src/unstable/skills/operations/disable.js +15 -2
  318. package/dist/src/unstable/skills/operations/disable.js.map +1 -1
  319. package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
  320. package/dist/src/unstable/skills/operations/enable.js +18 -2
  321. package/dist/src/unstable/skills/operations/enable.js.map +1 -1
  322. package/dist/src/unstable/skills/operations/install.d.ts +1 -8
  323. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  324. package/dist/src/unstable/skills/operations/install.js +47 -22
  325. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  326. package/dist/src/unstable/skills/operations/new-skill.js +1 -1
  327. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  328. package/dist/src/unstable/skills/operations/publish.js +4 -3
  329. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  330. package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
  331. package/dist/src/unstable/skills/operations/uninstall.js +5 -0
  332. package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
  333. package/dist/src/unstable/skills/operations/universal-artifact.d.ts +43 -0
  334. package/dist/src/unstable/skills/operations/universal-artifact.d.ts.map +1 -0
  335. package/dist/src/unstable/skills/operations/universal-artifact.js +77 -0
  336. package/dist/src/unstable/skills/operations/universal-artifact.js.map +1 -0
  337. package/dist/src/unstable/skills/registry-ref-builder.d.ts +1 -1
  338. package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -1
  339. package/dist/src/unstable/skills/registry-ref-builder.js +2 -2
  340. package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -1
  341. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  342. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +3 -3
  343. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  344. package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -5
  345. package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
  346. package/dist/src/unstable/sources/lock-entry-to-ref.js +5 -5
  347. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  348. package/dist/src/unstable/subagents/manager.js +1 -1
  349. package/dist/src/unstable/subagents/manifest-schema.d.ts +12 -9
  350. package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
  351. package/dist/src/unstable/subagents/operations/disable.js +1 -1
  352. package/dist/src/unstable/subagents/operations/enable.js +2 -2
  353. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  354. package/dist/src/unstable/subagents/operations/publish.js +5 -4
  355. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  356. package/dist/src/unstable/subagents/registry-ref-builder.d.ts +1 -1
  357. package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -1
  358. package/dist/src/unstable/subagents/registry-ref-builder.js +2 -2
  359. package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -1
  360. package/dist/src/unstable/subagents/subagent-content.js +4 -4
  361. package/dist/src/unstable/version-resolution/version-resolution.js +5 -5
  362. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +13 -13
  363. package/dist/src/unstable/workspace/initialization.d.ts +16 -16
  364. package/dist/src/unstable/workspace/initialization.js +1 -1
  365. package/dist/src/unstable/workspace/service.d.ts +78 -22
  366. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  367. package/dist/src/unstable/workspace/service.js +2 -2
  368. package/dist/src/unstable/workspace/version-currency/test-stubs.js +1 -1
  369. package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
  370. package/package.json +11 -4
  371. package/site-content/__generated__/schemas/axm-lock.schema.json +98 -0
  372. package/site-content/__generated__/schemas/axm-package-meta.schema.json +35 -8
  373. package/site-content/__generated__/schemas/command.schema.json +35 -8
  374. package/site-content/__generated__/schemas/mcp-server.schema.json +35 -8
  375. package/site-content/__generated__/schemas/pack.schema.json +35 -8
  376. package/site-content/__generated__/schemas/skill.schema.json +35 -8
  377. package/site-content/__generated__/schemas/subagent.schema.json +35 -8
  378. package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +0 -7
  379. package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +0 -1
  380. package/dist/src/unstable/cli-runtime/breadcrumb.js +0 -15
  381. package/dist/src/unstable/cli-runtime/breadcrumb.js.map +0 -1
@@ -94,6 +94,12 @@ export declare const TokenOAuthError: Schema.Struct<{
94
94
  readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
95
95
  readonly error_description: Schema.String;
96
96
  }>;
97
+ export type AuthWhoamiResponse = {
98
+ readonly handle: string;
99
+ };
100
+ export declare const AuthWhoamiResponse: Schema.Struct<{
101
+ readonly handle: Schema.String;
102
+ }>;
97
103
  export type UserId = string;
98
104
  export declare const UserId: Schema.String;
99
105
  export type ResourceRestrictions = {
@@ -102,6 +108,20 @@ export type ResourceRestrictions = {
102
108
  export declare const ResourceRestrictions: Schema.Struct<{
103
109
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
104
110
  }>;
111
+ export type StepUpChallengeResponse = {
112
+ readonly status: "pending";
113
+ } | {
114
+ readonly status: "completed";
115
+ readonly step_up: string;
116
+ readonly expires_at: string;
117
+ };
118
+ export declare const StepUpChallengeResponse: Schema.Union<readonly [Schema.Struct<{
119
+ readonly status: Schema.Literal<"pending">;
120
+ }>, Schema.Struct<{
121
+ readonly status: Schema.Literal<"completed">;
122
+ readonly step_up: Schema.String;
123
+ readonly expires_at: Schema.String;
124
+ }>]>;
105
125
  export type TokenId = string;
106
126
  export declare const TokenId: Schema.String;
107
127
  export type IsoDateTimeString = string;
@@ -124,15 +144,43 @@ export declare const AuthorizationDenyDetails: Schema.Struct<{
124
144
  readonly tokenScopes: Schema.$Array<Schema.String>;
125
145
  readonly requiredRole: Schema.optionalKey<Schema.String>;
126
146
  }>;
127
- export type CreateTokenRequest = {
128
- readonly name: string;
129
- readonly scopes: ReadonlyArray<string>;
130
- readonly expires_in: number;
147
+ export type CreateTokenPermissionsRequest = {
148
+ readonly owners?: ReadonlyArray<string> | null;
149
+ readonly extensions?: ReadonlyArray<string> | null;
150
+ readonly permission?: "read" | "publish" | "admin" | null;
151
+ readonly org_permission?: "read" | "write" | "admin" | null;
152
+ readonly cidr?: ReadonlyArray<string> | null;
153
+ readonly bypass_mfa?: boolean | null;
131
154
  };
132
- export declare const CreateTokenRequest: Schema.Struct<{
133
- readonly name: Schema.String;
134
- readonly scopes: Schema.$Array<Schema.String>;
135
- readonly expires_in: Schema.Number;
155
+ export declare const CreateTokenPermissionsRequest: Schema.Struct<{
156
+ readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
157
+ readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
158
+ readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
159
+ readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
160
+ readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
161
+ readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
162
+ }>;
163
+ export type StepUpRequiredError = {
164
+ readonly kind: "StepUpRequiredError";
165
+ readonly type: string;
166
+ readonly title: string;
167
+ readonly status: number;
168
+ readonly detail: string;
169
+ readonly instance?: string;
170
+ readonly code: "eotp";
171
+ readonly authUrl: string;
172
+ readonly doneUrl: string;
173
+ };
174
+ export declare const StepUpRequiredError: Schema.Struct<{
175
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
176
+ readonly type: Schema.String;
177
+ readonly title: Schema.String;
178
+ readonly status: Schema.Number;
179
+ readonly detail: Schema.String;
180
+ readonly instance: Schema.optionalKey<Schema.String>;
181
+ readonly code: Schema.Literal<"eotp">;
182
+ readonly authUrl: Schema.String;
183
+ readonly doneUrl: Schema.String;
136
184
  }>;
137
185
  export type Handle = string;
138
186
  export declare const Handle: Schema.String;
@@ -176,6 +224,18 @@ export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "f
176
224
  export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
177
225
  export type Version = string;
178
226
  export declare const Version: Schema.String;
227
+ export type Repository = {
228
+ readonly url: string;
229
+ readonly type?: string | null;
230
+ readonly directory?: string | null;
231
+ };
232
+ export declare const Repository: Schema.Struct<{
233
+ readonly url: Schema.String;
234
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
235
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
236
+ }>;
237
+ export type LicenseExpression = string;
238
+ export declare const LicenseExpression: Schema.String;
179
239
  export type Author = {
180
240
  readonly name?: string | null;
181
241
  readonly email?: string | null;
@@ -186,8 +246,18 @@ export declare const Author: Schema.Struct<{
186
246
  readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
187
247
  readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
188
248
  }>;
249
+ export type Bugs = {
250
+ readonly url?: string | null;
251
+ readonly email?: string | null;
252
+ };
253
+ export declare const Bugs: Schema.Struct<{
254
+ readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
255
+ readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
256
+ }>;
189
257
  export type VersionRange = string;
190
258
  export declare const VersionRange: Schema.String;
259
+ export type PackageIdentityPurl = string;
260
+ export declare const PackageIdentityPurl: Schema.String;
191
261
  export type PatchVisibilityBody = {
192
262
  readonly visibility?: "public" | "internal" | "private" | null;
193
263
  readonly listed?: boolean | null;
@@ -198,6 +268,12 @@ export declare const PatchVisibilityBody: Schema.Struct<{
198
268
  }>;
199
269
  export type ExtensionId = string;
200
270
  export declare const ExtensionId: Schema.String;
271
+ export type ExtensionLinks = {
272
+ readonly html: string;
273
+ };
274
+ export declare const ExtensionLinks: Schema.Struct<{
275
+ readonly html: Schema.String;
276
+ }>;
201
277
  export type DeprecateBody = {
202
278
  readonly notice?: string | null;
203
279
  };
@@ -234,6 +310,8 @@ export type PutCollaboratorBody = {
234
310
  export declare const PutCollaboratorBody: Schema.Struct<{
235
311
  readonly role: Schema.Literals<readonly ["admin", "write", "read"]>;
236
312
  }>;
313
+ export type ExtensionFqn = string;
314
+ export declare const ExtensionFqn: Schema.String;
237
315
  export type ProblemDetails = {
238
316
  readonly type: string;
239
317
  readonly title: string;
@@ -280,6 +358,7 @@ export type AuthMeToken = {
280
358
  readonly id: string;
281
359
  readonly type: "session" | "pat" | "oidc";
282
360
  readonly name: string | null;
361
+ readonly permissions: unknown | null;
283
362
  readonly scopes: ReadonlyArray<string>;
284
363
  readonly resource_restrictions: ResourceRestrictions;
285
364
  readonly expires_at: string;
@@ -288,6 +367,7 @@ export declare const AuthMeToken: Schema.Struct<{
288
367
  readonly id: Schema.String;
289
368
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
290
369
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
370
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
291
371
  readonly scopes: Schema.$Array<Schema.String>;
292
372
  readonly resource_restrictions: Schema.Struct<{
293
373
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -299,6 +379,7 @@ export type TokenListItem = {
299
379
  readonly name: string | null;
300
380
  readonly type: string;
301
381
  readonly scopes: ReadonlyArray<string>;
382
+ readonly permissions: unknown | null;
302
383
  readonly created_at: IsoDateTimeString;
303
384
  readonly expires_at: IsoDateTimeString;
304
385
  readonly last_used_at: IsoDateTimeString | null;
@@ -308,6 +389,7 @@ export declare const TokenListItem: Schema.Struct<{
308
389
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
309
390
  readonly type: Schema.String;
310
391
  readonly scopes: Schema.$Array<Schema.String>;
392
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
311
393
  readonly created_at: Schema.String;
312
394
  readonly expires_at: Schema.String;
313
395
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -317,6 +399,7 @@ export type CreateTokenResponse = {
317
399
  readonly token: string;
318
400
  readonly name: string;
319
401
  readonly scopes: ReadonlyArray<string>;
402
+ readonly permissions: unknown;
320
403
  readonly created_at: IsoDateTimeString;
321
404
  readonly expires_at: IsoDateTimeString;
322
405
  };
@@ -325,6 +408,7 @@ export declare const CreateTokenResponse: Schema.Struct<{
325
408
  readonly token: Schema.String;
326
409
  readonly name: Schema.String;
327
410
  readonly scopes: Schema.$Array<Schema.String>;
411
+ readonly permissions: Schema.Unknown;
328
412
  readonly created_at: Schema.String;
329
413
  readonly expires_at: Schema.String;
330
414
  }>;
@@ -335,7 +419,7 @@ export type ForbiddenError = {
335
419
  readonly status: number;
336
420
  readonly detail: string;
337
421
  readonly instance?: string;
338
- readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
422
+ readonly code: "forbidden" | "insufficient_scope" | "resource_restriction" | "scope_escalation" | "gat_requires_session" | "team_create_not_authorized" | "team_delete_not_authorized" | "team_update_not_authorized" | "add_team_member_not_authorized" | "remove_team_member_not_authorized" | "change_team_member_role_not_authorized" | "team_extension_grant_delete_not_authorized" | "team_extension_grant_not_authorized" | "publish/quota-exceeded" | "publish/insufficient-scope" | "publish/resource-restriction" | "publish/handle-not-owned" | "publish/publish-forbidden";
339
423
  readonly details?: ScopeCheckDetails | AuthorizationDenyDetails | PublishDetails;
340
424
  };
341
425
  export declare const ForbiddenError: Schema.Struct<{
@@ -345,7 +429,7 @@ export declare const ForbiddenError: Schema.Struct<{
345
429
  readonly status: Schema.Number;
346
430
  readonly detail: Schema.String;
347
431
  readonly instance: Schema.optionalKey<Schema.String>;
348
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
432
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
349
433
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
350
434
  readonly requiredScope: Schema.String;
351
435
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -361,6 +445,25 @@ export declare const ForbiddenError: Schema.Struct<{
361
445
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
362
446
  }>]>>;
363
447
  }>;
448
+ export type CreateTokenRequest = {
449
+ readonly name: string;
450
+ readonly scopes?: ReadonlyArray<string> | null;
451
+ readonly permissions?: CreateTokenPermissionsRequest | null;
452
+ readonly expires_in: number;
453
+ };
454
+ export declare const CreateTokenRequest: Schema.Struct<{
455
+ readonly name: Schema.String;
456
+ readonly scopes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
457
+ readonly permissions: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
458
+ readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
459
+ readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
460
+ readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
461
+ readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
462
+ readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
463
+ readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
464
+ }>, Schema.Null]>>;
465
+ readonly expires_in: Schema.Number;
466
+ }>;
364
467
  export type UpsertTeamGrantBody = {
365
468
  readonly teamId: TeamId;
366
469
  readonly role: "read" | "write" | "admin";
@@ -431,8 +534,8 @@ export type SearchHit = {
431
534
  readonly type: ExtensionType;
432
535
  readonly latestVersion: Version;
433
536
  readonly description?: string | null;
434
- readonly repository?: string | null;
435
- readonly license?: string | null;
537
+ readonly repository?: Repository | null;
538
+ readonly license?: LicenseExpression | null;
436
539
  readonly authors?: ReadonlyArray<Author> | null;
437
540
  readonly deprecated_at?: IsoDateTimeString | null;
438
541
  readonly deprecation_notice?: string | null;
@@ -443,7 +546,11 @@ export declare const SearchHit: Schema.Struct<{
443
546
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
444
547
  readonly latestVersion: Schema.String;
445
548
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
446
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
549
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
550
+ readonly url: Schema.String;
551
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
552
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
553
+ }>, Schema.Null]>>;
447
554
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
448
555
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
449
556
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -453,6 +560,14 @@ export declare const SearchHit: Schema.Struct<{
453
560
  readonly deprecated_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
454
561
  readonly deprecation_notice: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
455
562
  }>;
563
+ export type CompanionPackage = {
564
+ readonly purl: PackageIdentityPurl;
565
+ readonly versionRange?: string | null;
566
+ };
567
+ export declare const CompanionPackage: Schema.Struct<{
568
+ readonly purl: Schema.String;
569
+ readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
570
+ }>;
456
571
  export type PublishLintFinding = {
457
572
  readonly kind: "advisory" | "autofixable";
458
573
  readonly ruleId: string;
@@ -493,6 +608,7 @@ export declare const AuthMeResponse: Schema.Struct<{
493
608
  readonly id: Schema.String;
494
609
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
495
610
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
611
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
496
612
  readonly scopes: Schema.$Array<Schema.String>;
497
613
  readonly resource_restrictions: Schema.Struct<{
498
614
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -511,6 +627,7 @@ export declare const TokenListResponse: Schema.Struct<{
511
627
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
512
628
  readonly type: Schema.String;
513
629
  readonly scopes: Schema.$Array<Schema.String>;
630
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
514
631
  readonly created_at: Schema.String;
515
632
  readonly expires_at: Schema.String;
516
633
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -593,7 +710,11 @@ export declare const SearchResponse: Schema.Struct<{
593
710
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
594
711
  readonly latestVersion: Schema.String;
595
712
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
596
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
713
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
714
+ readonly url: Schema.String;
715
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
716
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
717
+ }>, Schema.Null]>>;
597
718
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
598
719
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
599
720
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -911,6 +1032,36 @@ export declare const AuthRevokeOAuthToken400: Schema.Struct<{
911
1032
  readonly instance: Schema.optionalKey<Schema.String>;
912
1033
  readonly code: Schema.String;
913
1034
  }>;
1035
+ export type AuthGetWhoami200 = AuthWhoamiResponse;
1036
+ export declare const AuthGetWhoami200: Schema.Struct<{
1037
+ readonly handle: Schema.String;
1038
+ }>;
1039
+ export type AuthGetWhoami400 = DecodeErrorResponse;
1040
+ export declare const AuthGetWhoami400: Schema.Struct<{
1041
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
1042
+ readonly type: Schema.String;
1043
+ readonly title: Schema.String;
1044
+ readonly status: Schema.Number;
1045
+ readonly detail: Schema.String;
1046
+ readonly instance: Schema.optionalKey<Schema.String>;
1047
+ readonly code: Schema.String;
1048
+ }>;
1049
+ export type AuthGetWhoami401 = ProblemDetails;
1050
+ export declare const AuthGetWhoami401: Schema.Struct<{
1051
+ readonly type: Schema.String;
1052
+ readonly title: Schema.String;
1053
+ readonly status: Schema.Number;
1054
+ readonly detail: Schema.String;
1055
+ readonly instance: Schema.optionalKey<Schema.String>;
1056
+ readonly code: Schema.String;
1057
+ readonly details: Schema.optionalKey<Schema.Struct<{
1058
+ readonly retryable: Schema.Boolean;
1059
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
1060
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
1061
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1062
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1063
+ }>>;
1064
+ }>;
914
1065
  export type AuthGetMe200 = AuthMeResponse;
915
1066
  export declare const AuthGetMe200: Schema.Struct<{
916
1067
  readonly user: Schema.Struct<{
@@ -923,6 +1074,7 @@ export declare const AuthGetMe200: Schema.Struct<{
923
1074
  readonly id: Schema.String;
924
1075
  readonly type: Schema.Literals<readonly ["session", "pat", "oidc"]>;
925
1076
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
1077
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
926
1078
  readonly scopes: Schema.$Array<Schema.String>;
927
1079
  readonly resource_restrictions: Schema.Struct<{
928
1080
  readonly extensions: Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>;
@@ -956,6 +1108,56 @@ export declare const AuthGetMe401: Schema.Struct<{
956
1108
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
957
1109
  }>>;
958
1110
  }>;
1111
+ export type AuthGetStepUpChallenge200 = StepUpChallengeResponse;
1112
+ export declare const AuthGetStepUpChallenge200: Schema.Union<readonly [Schema.Struct<{
1113
+ readonly status: Schema.Literal<"pending">;
1114
+ }>, Schema.Struct<{
1115
+ readonly status: Schema.Literal<"completed">;
1116
+ readonly step_up: Schema.String;
1117
+ readonly expires_at: Schema.String;
1118
+ }>]>;
1119
+ export type AuthGetStepUpChallenge400 = DecodeErrorResponse;
1120
+ export declare const AuthGetStepUpChallenge400: Schema.Struct<{
1121
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
1122
+ readonly type: Schema.String;
1123
+ readonly title: Schema.String;
1124
+ readonly status: Schema.Number;
1125
+ readonly detail: Schema.String;
1126
+ readonly instance: Schema.optionalKey<Schema.String>;
1127
+ readonly code: Schema.String;
1128
+ }>;
1129
+ export type AuthGetStepUpChallenge401 = ProblemDetails;
1130
+ export declare const AuthGetStepUpChallenge401: Schema.Struct<{
1131
+ readonly type: Schema.String;
1132
+ readonly title: Schema.String;
1133
+ readonly status: Schema.Number;
1134
+ readonly detail: Schema.String;
1135
+ readonly instance: Schema.optionalKey<Schema.String>;
1136
+ readonly code: Schema.String;
1137
+ readonly details: Schema.optionalKey<Schema.Struct<{
1138
+ readonly retryable: Schema.Boolean;
1139
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
1140
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
1141
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1142
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1143
+ }>>;
1144
+ }>;
1145
+ export type AuthGetStepUpChallenge404 = ProblemDetails;
1146
+ export declare const AuthGetStepUpChallenge404: Schema.Struct<{
1147
+ readonly type: Schema.String;
1148
+ readonly title: Schema.String;
1149
+ readonly status: Schema.Number;
1150
+ readonly detail: Schema.String;
1151
+ readonly instance: Schema.optionalKey<Schema.String>;
1152
+ readonly code: Schema.String;
1153
+ readonly details: Schema.optionalKey<Schema.Struct<{
1154
+ readonly retryable: Schema.Boolean;
1155
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
1156
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
1157
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1158
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1159
+ }>>;
1160
+ }>;
959
1161
  export type AuthExchangeOidcToken400 = DecodeErrorResponse;
960
1162
  export declare const AuthExchangeOidcToken400: Schema.Struct<{
961
1163
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
@@ -997,6 +1199,7 @@ export declare const TokensList200: Schema.Struct<{
997
1199
  readonly name: Schema.Union<readonly [Schema.String, Schema.Null]>;
998
1200
  readonly type: Schema.String;
999
1201
  readonly scopes: Schema.$Array<Schema.String>;
1202
+ readonly permissions: Schema.Union<readonly [Schema.Unknown, Schema.Null]>;
1000
1203
  readonly created_at: Schema.String;
1001
1204
  readonly expires_at: Schema.String;
1002
1205
  readonly last_used_at: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -1038,7 +1241,7 @@ export declare const TokensList403: Schema.Struct<{
1038
1241
  readonly status: Schema.Number;
1039
1242
  readonly detail: Schema.String;
1040
1243
  readonly instance: Schema.optionalKey<Schema.String>;
1041
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1244
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1042
1245
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1043
1246
  readonly requiredScope: Schema.String;
1044
1247
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1057,7 +1260,15 @@ export declare const TokensList403: Schema.Struct<{
1057
1260
  export type TokensCreateRequestJson = CreateTokenRequest;
1058
1261
  export declare const TokensCreateRequestJson: Schema.Struct<{
1059
1262
  readonly name: Schema.String;
1060
- readonly scopes: Schema.$Array<Schema.String>;
1263
+ readonly scopes: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
1264
+ readonly permissions: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1265
+ readonly owners: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
1266
+ readonly extensions: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
1267
+ readonly permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "publish", "admin"]>, Schema.Null]>>;
1268
+ readonly org_permission: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["read", "write", "admin"]>, Schema.Null]>>;
1269
+ readonly cidr: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
1270
+ readonly bypass_mfa: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1271
+ }>, Schema.Null]>>;
1061
1272
  readonly expires_in: Schema.Number;
1062
1273
  }>;
1063
1274
  export type TokensCreate201 = CreateTokenResponse;
@@ -1066,6 +1277,7 @@ export declare const TokensCreate201: Schema.Struct<{
1066
1277
  readonly token: Schema.String;
1067
1278
  readonly name: Schema.String;
1068
1279
  readonly scopes: Schema.$Array<Schema.String>;
1280
+ readonly permissions: Schema.Unknown;
1069
1281
  readonly created_at: Schema.String;
1070
1282
  readonly expires_at: Schema.String;
1071
1283
  }>;
@@ -1103,7 +1315,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1103
1315
  readonly status: Schema.Number;
1104
1316
  readonly detail: Schema.String;
1105
1317
  readonly instance: Schema.optionalKey<Schema.String>;
1106
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1318
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1107
1319
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1108
1320
  readonly requiredScope: Schema.String;
1109
1321
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1125,7 +1337,7 @@ export declare const TokensCreate403: Schema.Union<readonly [Schema.Struct<{
1125
1337
  readonly status: Schema.Number;
1126
1338
  readonly detail: Schema.String;
1127
1339
  readonly instance: Schema.optionalKey<Schema.String>;
1128
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1340
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1129
1341
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1130
1342
  readonly requiredScope: Schema.String;
1131
1343
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1167,8 +1379,18 @@ export declare const TokensDelete400: Schema.Struct<{
1167
1379
  readonly instance: Schema.optionalKey<Schema.String>;
1168
1380
  readonly code: Schema.String;
1169
1381
  }>;
1170
- export type TokensDelete401 = ProblemDetails;
1171
- export declare const TokensDelete401: Schema.Struct<{
1382
+ export type TokensDelete401 = StepUpRequiredError | ProblemDetails;
1383
+ export declare const TokensDelete401: Schema.Union<readonly [Schema.Struct<{
1384
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
1385
+ readonly type: Schema.String;
1386
+ readonly title: Schema.String;
1387
+ readonly status: Schema.Number;
1388
+ readonly detail: Schema.String;
1389
+ readonly instance: Schema.optionalKey<Schema.String>;
1390
+ readonly code: Schema.Literal<"eotp">;
1391
+ readonly authUrl: Schema.String;
1392
+ readonly doneUrl: Schema.String;
1393
+ }>, Schema.Struct<{
1172
1394
  readonly type: Schema.String;
1173
1395
  readonly title: Schema.String;
1174
1396
  readonly status: Schema.Number;
@@ -1182,7 +1404,7 @@ export declare const TokensDelete401: Schema.Struct<{
1182
1404
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
1183
1405
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1184
1406
  }>>;
1185
- }>;
1407
+ }>]>;
1186
1408
  export type TokensDelete403 = ForbiddenError;
1187
1409
  export declare const TokensDelete403: Schema.Struct<{
1188
1410
  readonly kind: Schema.Literal<"ForbiddenError">;
@@ -1191,7 +1413,7 @@ export declare const TokensDelete403: Schema.Struct<{
1191
1413
  readonly status: Schema.Number;
1192
1414
  readonly detail: Schema.String;
1193
1415
  readonly instance: Schema.optionalKey<Schema.String>;
1194
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1416
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1195
1417
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1196
1418
  readonly requiredScope: Schema.String;
1197
1419
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1363,7 +1585,7 @@ export declare const OrgsTeamsCreateTeam403: Schema.Struct<{
1363
1585
  readonly status: Schema.Number;
1364
1586
  readonly detail: Schema.String;
1365
1587
  readonly instance: Schema.optionalKey<Schema.String>;
1366
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1588
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1367
1589
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1368
1590
  readonly requiredScope: Schema.String;
1369
1591
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1481,7 +1703,7 @@ export declare const OrgsTeamsDeleteTeam403: Schema.Struct<{
1481
1703
  readonly status: Schema.Number;
1482
1704
  readonly detail: Schema.String;
1483
1705
  readonly instance: Schema.optionalKey<Schema.String>;
1484
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1706
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1485
1707
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1486
1708
  readonly requiredScope: Schema.String;
1487
1709
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1576,7 +1798,7 @@ export declare const OrgsTeamsUpdateTeam403: Schema.Struct<{
1576
1798
  readonly status: Schema.Number;
1577
1799
  readonly detail: Schema.String;
1578
1800
  readonly instance: Schema.optionalKey<Schema.String>;
1579
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1801
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1580
1802
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1581
1803
  readonly requiredScope: Schema.String;
1582
1804
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1716,7 +1938,7 @@ export declare const OrgsTeamsAddTeamMember403: Schema.Struct<{
1716
1938
  readonly status: Schema.Number;
1717
1939
  readonly detail: Schema.String;
1718
1940
  readonly instance: Schema.optionalKey<Schema.String>;
1719
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1941
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1720
1942
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1721
1943
  readonly requiredScope: Schema.String;
1722
1944
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1798,7 +2020,7 @@ export declare const OrgsTeamsRemoveTeamMember403: Schema.Struct<{
1798
2020
  readonly status: Schema.Number;
1799
2021
  readonly detail: Schema.String;
1800
2022
  readonly instance: Schema.optionalKey<Schema.String>;
1801
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2023
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1802
2024
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1803
2025
  readonly requiredScope: Schema.String;
1804
2026
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1876,7 +2098,7 @@ export declare const OrgsTeamsChangeTeamMemberRole403: Schema.Struct<{
1876
2098
  readonly status: Schema.Number;
1877
2099
  readonly detail: Schema.String;
1878
2100
  readonly instance: Schema.optionalKey<Schema.String>;
1879
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2101
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
1880
2102
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
1881
2103
  readonly requiredScope: Schema.String;
1882
2104
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -1915,8 +2137,8 @@ export type ExtensionsListByOwner200 = {
1915
2137
  readonly type: ExtensionType;
1916
2138
  readonly latestVersion: Version;
1917
2139
  readonly description?: string | null;
1918
- readonly repository?: string | null;
1919
- readonly license?: string | null;
2140
+ readonly repository?: Repository | null;
2141
+ readonly license?: LicenseExpression | null;
1920
2142
  readonly authors?: ReadonlyArray<Author> | null;
1921
2143
  readonly visibility?: string | null;
1922
2144
  readonly deprecated_at?: IsoDateTimeString | null;
@@ -1930,7 +2152,11 @@ export declare const ExtensionsListByOwner200: Schema.Struct<{
1930
2152
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
1931
2153
  readonly latestVersion: Schema.String;
1932
2154
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1933
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2155
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2156
+ readonly url: Schema.String;
2157
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2158
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2159
+ }>, Schema.Null]>>;
1934
2160
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1935
2161
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
1936
2162
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -1959,8 +2185,8 @@ export type ExtensionsListByType200 = {
1959
2185
  readonly type: ExtensionType;
1960
2186
  readonly latestVersion: Version;
1961
2187
  readonly description?: string | null;
1962
- readonly repository?: string | null;
1963
- readonly license?: string | null;
2188
+ readonly repository?: Repository | null;
2189
+ readonly license?: LicenseExpression | null;
1964
2190
  readonly authors?: ReadonlyArray<Author> | null;
1965
2191
  readonly visibility?: string | null;
1966
2192
  readonly deprecated_at?: IsoDateTimeString | null;
@@ -1974,7 +2200,11 @@ export declare const ExtensionsListByType200: Schema.Struct<{
1974
2200
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
1975
2201
  readonly latestVersion: Schema.String;
1976
2202
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1977
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2203
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2204
+ readonly url: Schema.String;
2205
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2206
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2207
+ }>, Schema.Null]>>;
1978
2208
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1979
2209
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
1980
2210
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -2001,8 +2231,9 @@ export type ExtensionsGet200 = {
2001
2231
  readonly owner: Handle;
2002
2232
  readonly type: ExtensionType;
2003
2233
  readonly description?: string | null;
2004
- readonly repository?: string | null;
2005
- readonly license?: string | null;
2234
+ readonly repository?: Repository | null;
2235
+ readonly bugs?: Bugs | null;
2236
+ readonly license?: LicenseExpression | null;
2006
2237
  readonly authors?: ReadonlyArray<Author> | null;
2007
2238
  readonly versions: ReadonlyArray<{
2008
2239
  readonly version: Version;
@@ -2011,7 +2242,7 @@ export type ExtensionsGet200 = {
2011
2242
  readonly dependencies?: {
2012
2243
  readonly [x: string]: VersionRange;
2013
2244
  } | null;
2014
- readonly companionPackages?: ReadonlyArray<string> | null;
2245
+ readonly packages?: ReadonlyArray<CompanionPackage> | null;
2015
2246
  readonly yanked_at?: IsoDateTimeString | null;
2016
2247
  }>;
2017
2248
  readonly visibility?: "public" | "internal" | "private" | null;
@@ -2023,7 +2254,15 @@ export declare const ExtensionsGet200: Schema.Struct<{
2023
2254
  readonly owner: Schema.String;
2024
2255
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
2025
2256
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2026
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2257
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2258
+ readonly url: Schema.String;
2259
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2260
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2261
+ }>, Schema.Null]>>;
2262
+ readonly bugs: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2263
+ readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2264
+ readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2265
+ }>, Schema.Null]>>;
2027
2266
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2028
2267
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
2029
2268
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -2035,7 +2274,10 @@ export declare const ExtensionsGet200: Schema.Struct<{
2035
2274
  readonly published: Schema.String;
2036
2275
  readonly integrity: Schema.String;
2037
2276
  readonly dependencies: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2038
- readonly companionPackages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
2277
+ readonly packages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
2278
+ readonly purl: Schema.String;
2279
+ readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2280
+ }>>, Schema.Null]>>;
2039
2281
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2040
2282
  }>>;
2041
2283
  readonly visibility: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["public", "internal", "private"]>, Schema.Null]>>;
@@ -2081,6 +2323,7 @@ export type ExtensionsUpdateVisibility200 = {
2081
2323
  readonly visibility: string;
2082
2324
  readonly listed: boolean;
2083
2325
  readonly updatedAt: string;
2326
+ readonly links: ExtensionLinks;
2084
2327
  };
2085
2328
  export declare const ExtensionsUpdateVisibility200: Schema.Struct<{
2086
2329
  readonly id: Schema.String;
@@ -2090,6 +2333,9 @@ export declare const ExtensionsUpdateVisibility200: Schema.Struct<{
2090
2333
  readonly visibility: Schema.String;
2091
2334
  readonly listed: Schema.Boolean;
2092
2335
  readonly updatedAt: Schema.String;
2336
+ readonly links: Schema.Struct<{
2337
+ readonly html: Schema.String;
2338
+ }>;
2093
2339
  }>;
2094
2340
  export type ExtensionsUpdateVisibility400 = ProblemDetails | DecodeErrorResponse;
2095
2341
  export declare const ExtensionsUpdateVisibility400: Schema.Union<readonly [Schema.Struct<{
@@ -2139,7 +2385,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2139
2385
  readonly status: Schema.Number;
2140
2386
  readonly detail: Schema.String;
2141
2387
  readonly instance: Schema.optionalKey<Schema.String>;
2142
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2388
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2143
2389
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2144
2390
  readonly requiredScope: Schema.String;
2145
2391
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2161,7 +2407,7 @@ export declare const ExtensionsUpdateVisibility403: Schema.Union<readonly [Schem
2161
2407
  readonly status: Schema.Number;
2162
2408
  readonly detail: Schema.String;
2163
2409
  readonly instance: Schema.optionalKey<Schema.String>;
2164
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2410
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2165
2411
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2166
2412
  readonly requiredScope: Schema.String;
2167
2413
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2218,13 +2464,14 @@ export type ExtensionsGetVersion200 = {
2218
2464
  readonly published: IsoDateTimeString;
2219
2465
  readonly integrity: string;
2220
2466
  readonly description?: string | null;
2221
- readonly repository?: string | null;
2222
- readonly license?: string | null;
2467
+ readonly repository?: Repository | null;
2468
+ readonly bugs?: Bugs | null;
2469
+ readonly license?: LicenseExpression | null;
2223
2470
  readonly authors?: ReadonlyArray<Author> | null;
2224
2471
  readonly dependencies?: {
2225
2472
  readonly [x: string]: VersionRange;
2226
2473
  } | null;
2227
- readonly companionPackages?: ReadonlyArray<string> | null;
2474
+ readonly packages?: ReadonlyArray<CompanionPackage> | null;
2228
2475
  readonly yanked_at?: IsoDateTimeString | null;
2229
2476
  readonly deleted_at?: IsoDateTimeString | null;
2230
2477
  };
@@ -2237,7 +2484,15 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
2237
2484
  readonly published: Schema.String;
2238
2485
  readonly integrity: Schema.String;
2239
2486
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2240
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2487
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2488
+ readonly url: Schema.String;
2489
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2490
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2491
+ }>, Schema.Null]>>;
2492
+ readonly bugs: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2493
+ readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2494
+ readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2495
+ }>, Schema.Null]>>;
2241
2496
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2242
2497
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
2243
2498
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -2245,7 +2500,10 @@ export declare const ExtensionsGetVersion200: Schema.Struct<{
2245
2500
  readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2246
2501
  }>>, Schema.Null]>>;
2247
2502
  readonly dependencies: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2248
- readonly companionPackages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.String>, Schema.Null]>>;
2503
+ readonly packages: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
2504
+ readonly purl: Schema.String;
2505
+ readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2506
+ }>>, Schema.Null]>>;
2249
2507
  readonly yanked_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2250
2508
  readonly deleted_at: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2251
2509
  }>;
@@ -2292,6 +2550,7 @@ export type ExtensionsPublishVersion200 = {
2292
2550
  readonly sha256_hex: string;
2293
2551
  readonly published_at: IsoDateTimeString;
2294
2552
  readonly publish_status: "pending" | "available" | "failed";
2553
+ readonly links: ExtensionLinks;
2295
2554
  };
2296
2555
  export declare const ExtensionsPublishVersion200: Schema.Struct<{
2297
2556
  readonly owner: Schema.String;
@@ -2302,6 +2561,9 @@ export declare const ExtensionsPublishVersion200: Schema.Struct<{
2302
2561
  readonly sha256_hex: Schema.String;
2303
2562
  readonly published_at: Schema.String;
2304
2563
  readonly publish_status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2564
+ readonly links: Schema.Struct<{
2565
+ readonly html: Schema.String;
2566
+ }>;
2305
2567
  }>;
2306
2568
  export type ExtensionsPublishVersion201 = {
2307
2569
  readonly owner: Handle;
@@ -2312,6 +2574,7 @@ export type ExtensionsPublishVersion201 = {
2312
2574
  readonly sha256_hex: string;
2313
2575
  readonly published_at: IsoDateTimeString;
2314
2576
  readonly publish_status: "pending" | "available" | "failed";
2577
+ readonly links: ExtensionLinks;
2315
2578
  };
2316
2579
  export declare const ExtensionsPublishVersion201: Schema.Struct<{
2317
2580
  readonly owner: Schema.String;
@@ -2322,6 +2585,9 @@ export declare const ExtensionsPublishVersion201: Schema.Struct<{
2322
2585
  readonly sha256_hex: Schema.String;
2323
2586
  readonly published_at: Schema.String;
2324
2587
  readonly publish_status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2588
+ readonly links: Schema.Struct<{
2589
+ readonly html: Schema.String;
2590
+ }>;
2325
2591
  }>;
2326
2592
  export type ExtensionsPublishVersion400 = ProblemDetails | DecodeErrorResponse;
2327
2593
  export declare const ExtensionsPublishVersion400: Schema.Union<readonly [Schema.Struct<{
@@ -2371,7 +2637,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2371
2637
  readonly status: Schema.Number;
2372
2638
  readonly detail: Schema.String;
2373
2639
  readonly instance: Schema.optionalKey<Schema.String>;
2374
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2640
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2375
2641
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2376
2642
  readonly requiredScope: Schema.String;
2377
2643
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2393,7 +2659,7 @@ export declare const ExtensionsPublishVersion403: Schema.Union<readonly [Schema.
2393
2659
  readonly status: Schema.Number;
2394
2660
  readonly detail: Schema.String;
2395
2661
  readonly instance: Schema.optionalKey<Schema.String>;
2396
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2662
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2397
2663
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2398
2664
  readonly requiredScope: Schema.String;
2399
2665
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2622,7 +2888,7 @@ export declare const ExtensionsDeleteVersion403: Schema.Struct<{
2622
2888
  readonly status: Schema.Number;
2623
2889
  readonly detail: Schema.String;
2624
2890
  readonly instance: Schema.optionalKey<Schema.String>;
2625
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2891
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2626
2892
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2627
2893
  readonly requiredScope: Schema.String;
2628
2894
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2748,7 +3014,7 @@ export declare const ExtensionsDeprecate403: Schema.Struct<{
2748
3014
  readonly status: Schema.Number;
2749
3015
  readonly detail: Schema.String;
2750
3016
  readonly instance: Schema.optionalKey<Schema.String>;
2751
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3017
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2752
3018
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2753
3019
  readonly requiredScope: Schema.String;
2754
3020
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2828,7 +3094,7 @@ export declare const ExtensionsUndeprecate403: Schema.Struct<{
2828
3094
  readonly status: Schema.Number;
2829
3095
  readonly detail: Schema.String;
2830
3096
  readonly instance: Schema.optionalKey<Schema.String>;
2831
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3097
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2832
3098
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2833
3099
  readonly requiredScope: Schema.String;
2834
3100
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2866,6 +3132,7 @@ export type ExtensionsYankVersion200 = {
2866
3132
  readonly name: ExtensionName;
2867
3133
  readonly version: Version;
2868
3134
  readonly yankedAt: IsoDateTimeString | null;
3135
+ readonly links: ExtensionLinks;
2869
3136
  };
2870
3137
  export declare const ExtensionsYankVersion200: Schema.Struct<{
2871
3138
  readonly owner: Schema.String;
@@ -2873,6 +3140,9 @@ export declare const ExtensionsYankVersion200: Schema.Struct<{
2873
3140
  readonly name: Schema.String;
2874
3141
  readonly version: Schema.String;
2875
3142
  readonly yankedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3143
+ readonly links: Schema.Struct<{
3144
+ readonly html: Schema.String;
3145
+ }>;
2876
3146
  }>;
2877
3147
  export type ExtensionsYankVersion400 = DecodeErrorResponse;
2878
3148
  export declare const ExtensionsYankVersion400: Schema.Struct<{
@@ -2884,8 +3154,18 @@ export declare const ExtensionsYankVersion400: Schema.Struct<{
2884
3154
  readonly instance: Schema.optionalKey<Schema.String>;
2885
3155
  readonly code: Schema.String;
2886
3156
  }>;
2887
- export type ExtensionsYankVersion401 = ProblemDetails;
2888
- export declare const ExtensionsYankVersion401: Schema.Struct<{
3157
+ export type ExtensionsYankVersion401 = StepUpRequiredError | ProblemDetails;
3158
+ export declare const ExtensionsYankVersion401: Schema.Union<readonly [Schema.Struct<{
3159
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
3160
+ readonly type: Schema.String;
3161
+ readonly title: Schema.String;
3162
+ readonly status: Schema.Number;
3163
+ readonly detail: Schema.String;
3164
+ readonly instance: Schema.optionalKey<Schema.String>;
3165
+ readonly code: Schema.Literal<"eotp">;
3166
+ readonly authUrl: Schema.String;
3167
+ readonly doneUrl: Schema.String;
3168
+ }>, Schema.Struct<{
2889
3169
  readonly type: Schema.String;
2890
3170
  readonly title: Schema.String;
2891
3171
  readonly status: Schema.Number;
@@ -2899,7 +3179,7 @@ export declare const ExtensionsYankVersion401: Schema.Struct<{
2899
3179
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2900
3180
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2901
3181
  }>>;
2902
- }>;
3182
+ }>]>;
2903
3183
  export type ExtensionsYankVersion403 = ForbiddenError;
2904
3184
  export declare const ExtensionsYankVersion403: Schema.Struct<{
2905
3185
  readonly kind: Schema.Literal<"ForbiddenError">;
@@ -2908,7 +3188,7 @@ export declare const ExtensionsYankVersion403: Schema.Struct<{
2908
3188
  readonly status: Schema.Number;
2909
3189
  readonly detail: Schema.String;
2910
3190
  readonly instance: Schema.optionalKey<Schema.String>;
2911
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3191
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2912
3192
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2913
3193
  readonly requiredScope: Schema.String;
2914
3194
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -2946,6 +3226,7 @@ export type ExtensionsUnyankVersion200 = {
2946
3226
  readonly name: ExtensionName;
2947
3227
  readonly version: Version;
2948
3228
  readonly yankedAt: null;
3229
+ readonly links: ExtensionLinks;
2949
3230
  };
2950
3231
  export declare const ExtensionsUnyankVersion200: Schema.Struct<{
2951
3232
  readonly owner: Schema.String;
@@ -2953,6 +3234,9 @@ export declare const ExtensionsUnyankVersion200: Schema.Struct<{
2953
3234
  readonly name: Schema.String;
2954
3235
  readonly version: Schema.String;
2955
3236
  readonly yankedAt: Schema.Null;
3237
+ readonly links: Schema.Struct<{
3238
+ readonly html: Schema.String;
3239
+ }>;
2956
3240
  }>;
2957
3241
  export type ExtensionsUnyankVersion400 = DecodeErrorResponse;
2958
3242
  export declare const ExtensionsUnyankVersion400: Schema.Struct<{
@@ -2964,8 +3248,18 @@ export declare const ExtensionsUnyankVersion400: Schema.Struct<{
2964
3248
  readonly instance: Schema.optionalKey<Schema.String>;
2965
3249
  readonly code: Schema.String;
2966
3250
  }>;
2967
- export type ExtensionsUnyankVersion401 = ProblemDetails;
2968
- export declare const ExtensionsUnyankVersion401: Schema.Struct<{
3251
+ export type ExtensionsUnyankVersion401 = StepUpRequiredError | ProblemDetails;
3252
+ export declare const ExtensionsUnyankVersion401: Schema.Union<readonly [Schema.Struct<{
3253
+ readonly kind: Schema.Literal<"StepUpRequiredError">;
3254
+ readonly type: Schema.String;
3255
+ readonly title: Schema.String;
3256
+ readonly status: Schema.Number;
3257
+ readonly detail: Schema.String;
3258
+ readonly instance: Schema.optionalKey<Schema.String>;
3259
+ readonly code: Schema.Literal<"eotp">;
3260
+ readonly authUrl: Schema.String;
3261
+ readonly doneUrl: Schema.String;
3262
+ }>, Schema.Struct<{
2969
3263
  readonly type: Schema.String;
2970
3264
  readonly title: Schema.String;
2971
3265
  readonly status: Schema.Number;
@@ -2979,7 +3273,7 @@ export declare const ExtensionsUnyankVersion401: Schema.Struct<{
2979
3273
  readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
2980
3274
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2981
3275
  }>>;
2982
- }>;
3276
+ }>]>;
2983
3277
  export type ExtensionsUnyankVersion403 = ForbiddenError;
2984
3278
  export declare const ExtensionsUnyankVersion403: Schema.Struct<{
2985
3279
  readonly kind: Schema.Literal<"ForbiddenError">;
@@ -2988,7 +3282,7 @@ export declare const ExtensionsUnyankVersion403: Schema.Struct<{
2988
3282
  readonly status: Schema.Number;
2989
3283
  readonly detail: Schema.String;
2990
3284
  readonly instance: Schema.optionalKey<Schema.String>;
2991
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3285
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
2992
3286
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2993
3287
  readonly requiredScope: Schema.String;
2994
3288
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3070,7 +3364,7 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
3070
3364
  readonly status: Schema.Number;
3071
3365
  readonly detail: Schema.String;
3072
3366
  readonly instance: Schema.optionalKey<Schema.String>;
3073
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3367
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3074
3368
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3075
3369
  readonly requiredScope: Schema.String;
3076
3370
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3092,7 +3386,7 @@ export declare const CollaboratorsListCollaborators403: Schema.Union<readonly [S
3092
3386
  readonly status: Schema.Number;
3093
3387
  readonly detail: Schema.String;
3094
3388
  readonly instance: Schema.optionalKey<Schema.String>;
3095
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3389
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3096
3390
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3097
3391
  readonly requiredScope: Schema.String;
3098
3392
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3188,7 +3482,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
3188
3482
  readonly status: Schema.Number;
3189
3483
  readonly detail: Schema.String;
3190
3484
  readonly instance: Schema.optionalKey<Schema.String>;
3191
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3485
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3192
3486
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3193
3487
  readonly requiredScope: Schema.String;
3194
3488
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3210,7 +3504,7 @@ export declare const CollaboratorsUpsertCollaborator403: Schema.Union<readonly [
3210
3504
  readonly status: Schema.Number;
3211
3505
  readonly detail: Schema.String;
3212
3506
  readonly instance: Schema.optionalKey<Schema.String>;
3213
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3507
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3214
3508
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3215
3509
  readonly requiredScope: Schema.String;
3216
3510
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3276,7 +3570,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
3276
3570
  readonly status: Schema.Number;
3277
3571
  readonly detail: Schema.String;
3278
3572
  readonly instance: Schema.optionalKey<Schema.String>;
3279
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3573
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3280
3574
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3281
3575
  readonly requiredScope: Schema.String;
3282
3576
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3298,7 +3592,7 @@ export declare const CollaboratorsDeleteCollaborator403: Schema.Union<readonly [
3298
3592
  readonly status: Schema.Number;
3299
3593
  readonly detail: Schema.String;
3300
3594
  readonly instance: Schema.optionalKey<Schema.String>;
3301
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3595
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3302
3596
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3303
3597
  readonly requiredScope: Schema.String;
3304
3598
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3392,7 +3686,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
3392
3686
  readonly status: Schema.Number;
3393
3687
  readonly detail: Schema.String;
3394
3688
  readonly instance: Schema.optionalKey<Schema.String>;
3395
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3689
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3396
3690
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3397
3691
  readonly requiredScope: Schema.String;
3398
3692
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3414,7 +3708,7 @@ export declare const TeamGrantsUpsertTeamExtensionGrant403: Schema.Union<readonl
3414
3708
  readonly status: Schema.Number;
3415
3709
  readonly detail: Schema.String;
3416
3710
  readonly instance: Schema.optionalKey<Schema.String>;
3417
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3711
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3418
3712
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3419
3713
  readonly requiredScope: Schema.String;
3420
3714
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3496,7 +3790,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
3496
3790
  readonly status: Schema.Number;
3497
3791
  readonly detail: Schema.String;
3498
3792
  readonly instance: Schema.optionalKey<Schema.String>;
3499
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3793
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3500
3794
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3501
3795
  readonly requiredScope: Schema.String;
3502
3796
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3518,7 +3812,7 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
3518
3812
  readonly status: Schema.Number;
3519
3813
  readonly detail: Schema.String;
3520
3814
  readonly instance: Schema.optionalKey<Schema.String>;
3521
- readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3815
+ readonly code: Schema.Literals<readonly ["forbidden", "insufficient_scope", "resource_restriction", "scope_escalation", "gat_requires_session", "team_create_not_authorized", "team_delete_not_authorized", "team_update_not_authorized", "add_team_member_not_authorized", "remove_team_member_not_authorized", "change_team_member_role_not_authorized", "team_extension_grant_delete_not_authorized", "team_extension_grant_not_authorized", "publish/quota-exceeded", "publish/insufficient-scope", "publish/resource-restriction", "publish/handle-not-owned", "publish/publish-forbidden"]>;
3522
3816
  readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3523
3817
  readonly requiredScope: Schema.String;
3524
3818
  readonly grantedScopes: Schema.$Array<Schema.String>;
@@ -3550,6 +3844,96 @@ export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
3550
3844
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3551
3845
  }>>;
3552
3846
  }>;
3847
+ export type DiscoveryPostDiscoveryRequestJson = {
3848
+ readonly client: {
3849
+ readonly axmVersion: string;
3850
+ };
3851
+ readonly packages: ReadonlyArray<{
3852
+ readonly purl: string;
3853
+ readonly version: string;
3854
+ readonly declaredExtensions: ReadonlyArray<{
3855
+ readonly ref: ExtensionFqn;
3856
+ readonly versionRange?: string | null;
3857
+ }>;
3858
+ }>;
3859
+ };
3860
+ export declare const DiscoveryPostDiscoveryRequestJson: Schema.Struct<{
3861
+ readonly client: Schema.Struct<{
3862
+ readonly axmVersion: Schema.String;
3863
+ }>;
3864
+ readonly packages: Schema.$Array<Schema.Struct<{
3865
+ readonly purl: Schema.String;
3866
+ readonly version: Schema.String;
3867
+ readonly declaredExtensions: Schema.$Array<Schema.Struct<{
3868
+ readonly ref: Schema.String;
3869
+ readonly versionRange: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3870
+ }>>;
3871
+ }>>;
3872
+ }>;
3873
+ export type DiscoveryPostDiscovery200 = {
3874
+ readonly results: ReadonlyArray<{
3875
+ readonly purl: string;
3876
+ readonly version: string;
3877
+ readonly status: "resolved" | "invalid_purl";
3878
+ readonly extensions: ReadonlyArray<{
3879
+ readonly ref: string;
3880
+ readonly resolved: boolean;
3881
+ readonly extension?: {
3882
+ readonly owner: string;
3883
+ readonly type: string;
3884
+ readonly name: string;
3885
+ readonly installVersion: string;
3886
+ } | null;
3887
+ readonly attestedBy: ReadonlyArray<"package" | "extension">;
3888
+ readonly official: boolean;
3889
+ readonly packageVersionInRange: boolean;
3890
+ }>;
3891
+ }>;
3892
+ };
3893
+ export declare const DiscoveryPostDiscovery200: Schema.Struct<{
3894
+ readonly results: Schema.$Array<Schema.Struct<{
3895
+ readonly purl: Schema.String;
3896
+ readonly version: Schema.String;
3897
+ readonly status: Schema.Literals<readonly ["resolved", "invalid_purl"]>;
3898
+ readonly extensions: Schema.$Array<Schema.Struct<{
3899
+ readonly ref: Schema.String;
3900
+ readonly resolved: Schema.Boolean;
3901
+ readonly extension: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3902
+ readonly owner: Schema.String;
3903
+ readonly type: Schema.String;
3904
+ readonly name: Schema.String;
3905
+ readonly installVersion: Schema.String;
3906
+ }>, Schema.Null]>>;
3907
+ readonly attestedBy: Schema.$Array<Schema.Literals<readonly ["package", "extension"]>>;
3908
+ readonly official: Schema.Boolean;
3909
+ readonly packageVersionInRange: Schema.Boolean;
3910
+ }>>;
3911
+ }>>;
3912
+ }>;
3913
+ export type DiscoveryPostDiscovery400 = ProblemDetails | DecodeErrorResponse;
3914
+ export declare const DiscoveryPostDiscovery400: Schema.Union<readonly [Schema.Struct<{
3915
+ readonly type: Schema.String;
3916
+ readonly title: Schema.String;
3917
+ readonly status: Schema.Number;
3918
+ readonly detail: Schema.String;
3919
+ readonly instance: Schema.optionalKey<Schema.String>;
3920
+ readonly code: Schema.String;
3921
+ readonly details: Schema.optionalKey<Schema.Struct<{
3922
+ readonly retryable: Schema.Boolean;
3923
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3924
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3925
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3926
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3927
+ }>>;
3928
+ }>, Schema.Struct<{
3929
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
3930
+ readonly type: Schema.String;
3931
+ readonly title: Schema.String;
3932
+ readonly status: Schema.Number;
3933
+ readonly detail: Schema.String;
3934
+ readonly instance: Schema.optionalKey<Schema.String>;
3935
+ readonly code: Schema.String;
3936
+ }>]>;
3553
3937
  export type HealthGetShallowHealth200 = {
3554
3938
  readonly status: "pass" | "warn" | "fail";
3555
3939
  };
@@ -3716,7 +4100,11 @@ export declare const SearchSearchExtensions200: Schema.Struct<{
3716
4100
  readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
3717
4101
  readonly latestVersion: Schema.String;
3718
4102
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3719
- readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4103
+ readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4104
+ readonly url: Schema.String;
4105
+ readonly type: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4106
+ readonly directory: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4107
+ }>, Schema.Null]>>;
3720
4108
  readonly license: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3721
4109
  readonly authors: Schema.optionalKey<Schema.Union<readonly [Schema.$Array<Schema.Struct<{
3722
4110
  readonly name: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
@@ -3812,12 +4200,24 @@ export interface RegistryClient {
3812
4200
  readonly payload: typeof AuthRevokeOAuthTokenRequestFormUrlEncoded.Encoded;
3813
4201
  readonly config?: Config | undefined;
3814
4202
  }) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRevokeOAuthToken400", typeof AuthRevokeOAuthToken400.Type>>;
4203
+ /**
4204
+ * Return authenticated user handle
4205
+ */
4206
+ readonly AuthGetWhoami: <Config extends OperationConfig>(options: {
4207
+ readonly config?: Config | undefined;
4208
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetWhoami200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetWhoami400", typeof AuthGetWhoami400.Type> | RegistryClientError<"AuthGetWhoami401", typeof AuthGetWhoami401.Type>>;
3815
4209
  /**
3816
4210
  * Return authenticated user info
3817
4211
  */
3818
4212
  readonly AuthGetMe: <Config extends OperationConfig>(options: {
3819
4213
  readonly config?: Config | undefined;
3820
4214
  } | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetMe200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetMe400", typeof AuthGetMe400.Type> | RegistryClientError<"AuthGetMe401", typeof AuthGetMe401.Type>>;
4215
+ /**
4216
+ * Poll step-up challenge status
4217
+ */
4218
+ readonly AuthGetStepUpChallenge: <Config extends OperationConfig>(challengeId: string, options: {
4219
+ readonly config?: Config | undefined;
4220
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof AuthGetStepUpChallenge200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthGetStepUpChallenge400", typeof AuthGetStepUpChallenge400.Type> | RegistryClientError<"AuthGetStepUpChallenge401", typeof AuthGetStepUpChallenge401.Type> | RegistryClientError<"AuthGetStepUpChallenge404", typeof AuthGetStepUpChallenge404.Type>>;
3821
4221
  /**
3822
4222
  * Exchange OIDC token (reserved, not implemented)
3823
4223
  */
@@ -4027,6 +4427,13 @@ export interface RegistryClient {
4027
4427
  readonly TeamGrantsDeleteTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
4028
4428
  readonly config?: Config | undefined;
4029
4429
  } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant400", typeof TeamGrantsDeleteTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant401", typeof TeamGrantsDeleteTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant403", typeof TeamGrantsDeleteTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrant404", typeof TeamGrantsDeleteTeamExtensionGrant404.Type>>;
4430
+ /**
4431
+ * Persists submitted package metadata and resolves package and extension attestations.
4432
+ */
4433
+ readonly DiscoveryPostDiscovery: <Config extends OperationConfig>(options: {
4434
+ readonly payload: typeof DiscoveryPostDiscoveryRequestJson.Encoded;
4435
+ readonly config?: Config | undefined;
4436
+ }) => Effect.Effect<WithOptionalResponse<typeof DiscoveryPostDiscovery200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"DiscoveryPostDiscovery400", typeof DiscoveryPostDiscovery400.Type>>;
4030
4437
  /**
4031
4438
  * Returns pass/fail status. Public, no auth required.
4032
4439
  */