@agentxm/client-core 0.16.1 → 0.17.0

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 (409) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +7552 -2952
  2. package/dist/src/unstable/agent-capabilities/catalog.d.ts.map +1 -1
  3. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts +46 -24
  4. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts.map +1 -1
  5. package/dist/src/unstable/agent-capabilities/data/agents/adal.js +52 -24
  6. package/dist/src/unstable/agent-capabilities/data/agents/adal.js.map +1 -1
  7. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts +24 -17
  8. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts.map +1 -1
  9. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js +24 -17
  10. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js.map +1 -1
  11. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts +71 -32
  12. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts.map +1 -1
  13. package/dist/src/unstable/agent-capabilities/data/agents/amp.js +76 -32
  14. package/dist/src/unstable/agent-capabilities/data/agents/amp.js.map +1 -1
  15. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts +90 -36
  16. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts.map +1 -1
  17. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js +101 -36
  18. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js.map +1 -1
  19. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +252 -34
  20. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts.map +1 -1
  21. package/dist/src/unstable/agent-capabilities/data/agents/augment.js +226 -34
  22. package/dist/src/unstable/agent-capabilities/data/agents/augment.js.map +1 -1
  23. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +200 -31
  24. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts.map +1 -1
  25. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +159 -33
  26. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js.map +1 -1
  27. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts +82 -28
  28. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts.map +1 -1
  29. package/dist/src/unstable/agent-capabilities/data/agents/cline.js +87 -28
  30. package/dist/src/unstable/agent-capabilities/data/agents/cline.js.map +1 -1
  31. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts +24 -17
  32. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts.map +1 -1
  33. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js +24 -17
  34. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js.map +1 -1
  35. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +272 -33
  36. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts.map +1 -1
  37. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +253 -33
  38. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js.map +1 -1
  39. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts +24 -17
  40. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts.map +1 -1
  41. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js +24 -17
  42. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js.map +1 -1
  43. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts +24 -17
  44. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts.map +1 -1
  45. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js +24 -17
  46. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js.map +1 -1
  47. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +222 -56
  48. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts.map +1 -1
  49. package/dist/src/unstable/agent-capabilities/data/agents/codex.js +197 -60
  50. package/dist/src/unstable/agent-capabilities/data/agents/codex.js.map +1 -1
  51. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts +24 -19
  52. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts.map +1 -1
  53. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +24 -19
  54. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js.map +1 -1
  55. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts +36 -22
  56. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts.map +1 -1
  57. package/dist/src/unstable/agent-capabilities/data/agents/continue.js +39 -22
  58. package/dist/src/unstable/agent-capabilities/data/agents/continue.js.map +1 -1
  59. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts +24 -17
  60. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts.map +1 -1
  61. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js +24 -17
  62. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js.map +1 -1
  63. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts +61 -29
  64. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts.map +1 -1
  65. package/dist/src/unstable/agent-capabilities/data/agents/crush.js +66 -29
  66. package/dist/src/unstable/agent-capabilities/data/agents/crush.js.map +1 -1
  67. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +36 -31
  68. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts.map +1 -1
  69. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +37 -33
  70. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js.map +1 -1
  71. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +24 -17
  72. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts.map +1 -1
  73. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +24 -17
  74. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js.map +1 -1
  75. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts +263 -35
  76. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts.map +1 -1
  77. package/dist/src/unstable/agent-capabilities/data/agents/devin.js +254 -35
  78. package/dist/src/unstable/agent-capabilities/data/agents/devin.js.map +1 -1
  79. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts +24 -17
  80. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts.map +1 -1
  81. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js +24 -17
  82. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js.map +1 -1
  83. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts +24 -19
  84. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts.map +1 -1
  85. package/dist/src/unstable/agent-capabilities/data/agents/droid.js +24 -19
  86. package/dist/src/unstable/agent-capabilities/data/agents/droid.js.map +1 -1
  87. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts +24 -17
  88. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts.map +1 -1
  89. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js +24 -17
  90. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js.map +1 -1
  91. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts +24 -18
  92. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts.map +1 -1
  93. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js +24 -18
  94. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js.map +1 -1
  95. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +207 -38
  96. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts.map +1 -1
  97. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +212 -41
  98. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js.map +1 -1
  99. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts +30 -24
  100. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts.map +1 -1
  101. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js +33 -24
  102. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js.map +1 -1
  103. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts +37 -53
  104. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts.map +1 -1
  105. package/dist/src/unstable/agent-capabilities/data/agents/goose.js +37 -55
  106. package/dist/src/unstable/agent-capabilities/data/agents/goose.js.map +1 -1
  107. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts +59 -28
  108. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts.map +1 -1
  109. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js +66 -28
  110. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js.map +1 -1
  111. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +25 -19
  112. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts.map +1 -1
  113. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +25 -19
  114. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js.map +1 -1
  115. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +34 -23
  116. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts.map +1 -1
  117. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +37 -23
  118. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js.map +1 -1
  119. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts +71 -47
  120. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts.map +1 -1
  121. package/dist/src/unstable/agent-capabilities/data/agents/junie.js +84 -47
  122. package/dist/src/unstable/agent-capabilities/data/agents/junie.js.map +1 -1
  123. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts +90 -70
  124. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts.map +1 -1
  125. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js +97 -74
  126. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js.map +1 -1
  127. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts +24 -18
  128. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts.map +1 -1
  129. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js +24 -18
  130. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js.map +1 -1
  131. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +60 -33
  132. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts.map +1 -1
  133. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +69 -33
  134. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js.map +1 -1
  135. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts +24 -20
  136. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts.map +1 -1
  137. package/dist/src/unstable/agent-capabilities/data/agents/kode.js +24 -20
  138. package/dist/src/unstable/agent-capabilities/data/agents/kode.js.map +1 -1
  139. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts +24 -17
  140. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts.map +1 -1
  141. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js +24 -17
  142. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js.map +1 -1
  143. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts +24 -20
  144. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts.map +1 -1
  145. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js +24 -20
  146. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js.map +1 -1
  147. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts +24 -19
  148. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts.map +1 -1
  149. package/dist/src/unstable/agent-capabilities/data/agents/mux.js +24 -19
  150. package/dist/src/unstable/agent-capabilities/data/agents/mux.js.map +1 -1
  151. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts +24 -18
  152. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts.map +1 -1
  153. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js +24 -18
  154. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js.map +1 -1
  155. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts +24 -17
  156. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts.map +1 -1
  157. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js +24 -17
  158. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js.map +1 -1
  159. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +98 -32
  160. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts.map +1 -1
  161. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +101 -32
  162. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js.map +1 -1
  163. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts +25 -19
  164. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts.map +1 -1
  165. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js +25 -19
  166. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js.map +1 -1
  167. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +30 -22
  168. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts.map +1 -1
  169. package/dist/src/unstable/agent-capabilities/data/agents/pi.js +30 -22
  170. package/dist/src/unstable/agent-capabilities/data/agents/pi.js.map +1 -1
  171. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts +24 -18
  172. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts.map +1 -1
  173. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js +24 -18
  174. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js.map +1 -1
  175. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +199 -40
  176. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts.map +1 -1
  177. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +175 -43
  178. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js.map +1 -1
  179. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +239 -34
  180. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts.map +1 -1
  181. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +209 -34
  182. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js.map +1 -1
  183. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts +24 -18
  184. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts.map +1 -1
  185. package/dist/src/unstable/agent-capabilities/data/agents/replit.js +24 -18
  186. package/dist/src/unstable/agent-capabilities/data/agents/replit.js.map +1 -1
  187. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +46 -64
  188. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts.map +1 -1
  189. package/dist/src/unstable/agent-capabilities/data/agents/roo.js +48 -67
  190. package/dist/src/unstable/agent-capabilities/data/agents/roo.js.map +1 -1
  191. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts +24 -18
  192. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts.map +1 -1
  193. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js +24 -18
  194. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js.map +1 -1
  195. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts +24 -18
  196. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts.map +1 -1
  197. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js +24 -18
  198. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js.map +1 -1
  199. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts +24 -19
  200. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts.map +1 -1
  201. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js +24 -19
  202. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js.map +1 -1
  203. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts +24 -19
  204. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts.map +1 -1
  205. package/dist/src/unstable/agent-capabilities/data/agents/trae.js +24 -19
  206. package/dist/src/unstable/agent-capabilities/data/agents/trae.js.map +1 -1
  207. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts +24 -17
  208. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts.map +1 -1
  209. package/dist/src/unstable/agent-capabilities/data/agents/warp.js +24 -17
  210. package/dist/src/unstable/agent-capabilities/data/agents/warp.js.map +1 -1
  211. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +232 -39
  212. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts.map +1 -1
  213. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +177 -42
  214. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js.map +1 -1
  215. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts +34 -23
  216. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts.map +1 -1
  217. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js +34 -23
  218. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js.map +1 -1
  219. package/dist/src/unstable/agent-capabilities/derive.d.ts +76 -14
  220. package/dist/src/unstable/agent-capabilities/derive.d.ts.map +1 -1
  221. package/dist/src/unstable/agent-capabilities/derive.js +167 -38
  222. package/dist/src/unstable/agent-capabilities/derive.js.map +1 -1
  223. package/dist/src/unstable/agent-capabilities/index.d.ts +2 -2
  224. package/dist/src/unstable/agent-capabilities/index.d.ts.map +1 -1
  225. package/dist/src/unstable/agent-capabilities/index.js +2 -2
  226. package/dist/src/unstable/agent-capabilities/index.js.map +1 -1
  227. package/dist/src/unstable/agent-capabilities/schema.d.ts +638 -464
  228. package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
  229. package/dist/src/unstable/agent-capabilities/schema.js +328 -116
  230. package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
  231. package/dist/src/unstable/agents/augment/service.d.ts.map +1 -1
  232. package/dist/src/unstable/agents/augment/service.js +4 -9
  233. package/dist/src/unstable/agents/augment/service.js.map +1 -1
  234. package/dist/src/unstable/agents/codex/service.js +1 -1
  235. package/dist/src/unstable/agents/codex/service.js.map +1 -1
  236. package/dist/src/unstable/agents/gemini-cli/service.js +1 -1
  237. package/dist/src/unstable/agents/instructions.d.ts +3 -3
  238. package/dist/src/unstable/agents/instructions.d.ts.map +1 -1
  239. package/dist/src/unstable/agents/instructions.js +16 -4
  240. package/dist/src/unstable/agents/instructions.js.map +1 -1
  241. package/dist/src/unstable/agents/junie/service.d.ts.map +1 -1
  242. package/dist/src/unstable/agents/junie/service.js +5 -0
  243. package/dist/src/unstable/agents/junie/service.js.map +1 -1
  244. package/dist/src/unstable/agents/kiro-cli/service.d.ts.map +1 -1
  245. package/dist/src/unstable/agents/kiro-cli/service.js +3 -8
  246. package/dist/src/unstable/agents/kiro-cli/service.js.map +1 -1
  247. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
  248. package/dist/src/unstable/agents/mcp-sync.js +8 -8
  249. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  250. package/dist/src/unstable/agents/repository.d.ts.map +1 -1
  251. package/dist/src/unstable/agents/repository.js +63 -42
  252. package/dist/src/unstable/agents/repository.js.map +1 -1
  253. package/dist/src/unstable/app-error/cause-chain.d.ts +11 -0
  254. package/dist/src/unstable/app-error/cause-chain.d.ts.map +1 -0
  255. package/dist/src/unstable/app-error/cause-chain.js +91 -0
  256. package/dist/src/unstable/app-error/cause-chain.js.map +1 -0
  257. package/dist/src/unstable/app-error/index.d.ts +1 -0
  258. package/dist/src/unstable/app-error/index.d.ts.map +1 -1
  259. package/dist/src/unstable/app-error/index.js +1 -0
  260. package/dist/src/unstable/app-error/index.js.map +1 -1
  261. package/dist/src/unstable/app-error/render.d.ts.map +1 -1
  262. package/dist/src/unstable/app-error/render.js +11 -29
  263. package/dist/src/unstable/app-error/render.js.map +1 -1
  264. package/dist/src/unstable/auth/auth-client.d.ts +1 -1
  265. package/dist/src/unstable/auth/auth-middleware.d.ts +2 -2
  266. package/dist/src/unstable/auth/device-login.d.ts +1 -1
  267. package/dist/src/unstable/auth/guard.d.ts +1 -1
  268. package/dist/src/unstable/auth/loopback-login.d.ts +1 -1
  269. package/dist/src/unstable/auth/token-resolution.d.ts +1 -1
  270. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts +1 -0
  271. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -1
  272. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +11 -1
  273. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -1
  274. package/dist/src/unstable/cli-runtime/handle-error.d.ts +4 -1
  275. package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
  276. package/dist/src/unstable/cli-runtime/handle-error.js +13 -17
  277. package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
  278. package/dist/src/unstable/cli-runtime/json-envelope.d.ts +17 -2
  279. package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
  280. package/dist/src/unstable/cli-runtime/json-envelope.js +10 -2
  281. package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
  282. package/dist/src/unstable/cli-runtime/run-cli-main.d.ts.map +1 -1
  283. package/dist/src/unstable/cli-runtime/run-cli-main.js +29 -8
  284. package/dist/src/unstable/cli-runtime/run-cli-main.js.map +1 -1
  285. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +1 -1
  286. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
  287. package/dist/src/unstable/cli-runtime/runtime-envelope.js +2 -3
  288. package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
  289. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +1 -1
  290. package/dist/src/unstable/git/detect.d.ts +7 -0
  291. package/dist/src/unstable/git/detect.d.ts.map +1 -0
  292. package/dist/src/unstable/git/detect.js +23 -0
  293. package/dist/src/unstable/git/detect.js.map +1 -0
  294. package/dist/src/unstable/git/index.d.ts +1 -0
  295. package/dist/src/unstable/git/index.d.ts.map +1 -1
  296. package/dist/src/unstable/git/index.js +1 -0
  297. package/dist/src/unstable/git/index.js.map +1 -1
  298. package/dist/src/unstable/hooks/manager.d.ts.map +1 -1
  299. package/dist/src/unstable/hooks/manager.js +167 -47
  300. package/dist/src/unstable/hooks/manager.js.map +1 -1
  301. package/dist/src/unstable/hooks/manifest-schema.d.ts +126 -5
  302. package/dist/src/unstable/hooks/manifest-schema.d.ts.map +1 -1
  303. package/dist/src/unstable/hooks/manifest-schema.js +74 -9
  304. package/dist/src/unstable/hooks/manifest-schema.js.map +1 -1
  305. package/dist/src/unstable/hooks/operations/new-hook.d.ts +2 -2
  306. package/dist/src/unstable/hooks/operations/new-hook.d.ts.map +1 -1
  307. package/dist/src/unstable/hooks/operations/new-hook.js +4 -2
  308. package/dist/src/unstable/hooks/operations/new-hook.js.map +1 -1
  309. package/dist/src/unstable/lint/catalog/hook/matcher-raw-portability.d.ts +4 -0
  310. package/dist/src/unstable/lint/catalog/hook/matcher-raw-portability.d.ts.map +1 -0
  311. package/dist/src/unstable/lint/catalog/hook/matcher-raw-portability.js +51 -0
  312. package/dist/src/unstable/lint/catalog/hook/matcher-raw-portability.js.map +1 -0
  313. package/dist/src/unstable/lint/catalog/hook.d.ts.map +1 -1
  314. package/dist/src/unstable/lint/catalog/hook.js +2 -0
  315. package/dist/src/unstable/lint/catalog/hook.js.map +1 -1
  316. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-drift.d.ts.map +1 -1
  317. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-drift.js +6 -3
  318. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-drift.js.map +1 -1
  319. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-orphaned.d.ts.map +1 -1
  320. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-orphaned.js +4 -1
  321. package/dist/src/unstable/lint/catalog/workspace/mcp-server-agent-orphaned.js.map +1 -1
  322. package/dist/src/unstable/lockfile/lockfile.d.ts +95 -95
  323. package/dist/src/unstable/mcps/config-writer.d.ts.map +1 -1
  324. package/dist/src/unstable/mcps/config-writer.js +12 -29
  325. package/dist/src/unstable/mcps/config-writer.js.map +1 -1
  326. package/dist/src/unstable/mcps/index.d.ts +1 -0
  327. package/dist/src/unstable/mcps/index.d.ts.map +1 -1
  328. package/dist/src/unstable/mcps/index.js +1 -0
  329. package/dist/src/unstable/mcps/index.js.map +1 -1
  330. package/dist/src/unstable/mcps/inspection.d.ts.map +1 -1
  331. package/dist/src/unstable/mcps/inspection.js +5 -4
  332. package/dist/src/unstable/mcps/inspection.js.map +1 -1
  333. package/dist/src/unstable/mcps/metadata.d.ts +26 -0
  334. package/dist/src/unstable/mcps/metadata.d.ts.map +1 -0
  335. package/dist/src/unstable/mcps/metadata.js +75 -0
  336. package/dist/src/unstable/mcps/metadata.js.map +1 -0
  337. package/dist/src/unstable/mcps/projection.d.ts.map +1 -1
  338. package/dist/src/unstable/mcps/projection.js +22 -4
  339. package/dist/src/unstable/mcps/projection.js.map +1 -1
  340. package/dist/src/unstable/mcps/resolution.d.ts.map +1 -1
  341. package/dist/src/unstable/mcps/resolution.js +18 -10
  342. package/dist/src/unstable/mcps/resolution.js.map +1 -1
  343. package/dist/src/unstable/publish/manifest-policy.d.ts +42 -2
  344. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  345. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +839 -108
  346. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  347. package/dist/src/unstable/registry/__generated__/registry-client.js +123 -10
  348. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  349. package/dist/src/unstable/registry/admin-client.d.ts +72 -0
  350. package/dist/src/unstable/registry/admin-client.d.ts.map +1 -0
  351. package/dist/src/unstable/registry/admin-client.js +71 -0
  352. package/dist/src/unstable/registry/admin-client.js.map +1 -0
  353. package/dist/src/unstable/registry/index.d.ts +5 -1
  354. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  355. package/dist/src/unstable/registry/index.js +3 -1
  356. package/dist/src/unstable/registry/index.js.map +1 -1
  357. package/dist/src/unstable/registry/release-age-policy.d.ts +18 -0
  358. package/dist/src/unstable/registry/release-age-policy.d.ts.map +1 -0
  359. package/dist/src/unstable/registry/release-age-policy.js +41 -0
  360. package/dist/src/unstable/registry/release-age-policy.js.map +1 -0
  361. package/dist/src/unstable/registry/utils.d.ts +2 -0
  362. package/dist/src/unstable/registry/utils.d.ts.map +1 -1
  363. package/dist/src/unstable/registry/utils.js +7 -0
  364. package/dist/src/unstable/registry/utils.js.map +1 -1
  365. package/dist/src/unstable/settings/index.d.ts +2 -2
  366. package/dist/src/unstable/settings/index.d.ts.map +1 -1
  367. package/dist/src/unstable/settings/index.js +1 -1
  368. package/dist/src/unstable/settings/index.js.map +1 -1
  369. package/dist/src/unstable/settings/schema.d.ts +10 -5
  370. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  371. package/dist/src/unstable/settings/schema.js +17 -3
  372. package/dist/src/unstable/settings/schema.js.map +1 -1
  373. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  374. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +8 -7
  375. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  376. package/dist/src/unstable/sources/provider.d.ts +3 -0
  377. package/dist/src/unstable/sources/provider.d.ts.map +1 -1
  378. package/dist/src/unstable/utils/transient-backup.d.ts +27 -0
  379. package/dist/src/unstable/utils/transient-backup.d.ts.map +1 -0
  380. package/dist/src/unstable/utils/transient-backup.js +53 -0
  381. package/dist/src/unstable/utils/transient-backup.js.map +1 -0
  382. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +9 -8
  383. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
  384. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +30 -0
  385. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
  386. package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
  387. package/dist/src/unstable/workspace/initialization-interaction.js +1 -0
  388. package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
  389. package/dist/src/unstable/workspace/initialization.d.ts +28 -24
  390. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  391. package/dist/src/unstable/workspace/initialization.js +5 -2
  392. package/dist/src/unstable/workspace/initialization.js.map +1 -1
  393. package/dist/src/unstable/workspace/read-model/__fixtures__/builder.d.ts +1 -1
  394. package/dist/src/unstable/workspace/read-model/__fixtures__/builder.d.ts.map +1 -1
  395. package/dist/src/unstable/workspace/read-model/__fixtures__/builder.js +14 -5
  396. package/dist/src/unstable/workspace/read-model/__fixtures__/builder.js.map +1 -1
  397. package/dist/src/unstable/workspace/service-interface.d.ts +3 -1
  398. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  399. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  400. package/dist/src/unstable/workspace/service.d.ts +2 -1
  401. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  402. package/dist/src/unstable/workspace/service.js +14 -0
  403. package/dist/src/unstable/workspace/service.js.map +1 -1
  404. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  405. package/dist/src/unstable/workspace/test-stubs.js +1 -0
  406. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  407. package/package.json +2 -2
  408. package/site-content/__generated__/schemas/hook.schema.json +166 -10
  409. package/site-content/__generated__/schemas/settings.schema.json +19 -3
@@ -226,8 +226,8 @@ export declare const ChangeTeamMemberRoleBody: Schema.Struct<{
226
226
  }>;
227
227
  export type ExtensionName = string;
228
228
  export declare const ExtensionName: Schema.String;
229
- export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "context" | "rule" | "pack";
230
- export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
229
+ export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "files" | "rule" | "hook" | "pack";
230
+ export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
231
231
  export type Version = string;
232
232
  export declare const Version: Schema.String;
233
233
  export type Repository = {
@@ -314,6 +314,12 @@ export type PutCollaboratorBody = {
314
314
  export declare const PutCollaboratorBody: Schema.Struct<{
315
315
  readonly role: Schema.Literals<readonly ["write", "read"]>;
316
316
  }>;
317
+ export type UpsertGrantBody = {
318
+ readonly role: "read" | "write";
319
+ };
320
+ export declare const UpsertGrantBody: Schema.Struct<{
321
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
322
+ }>;
317
323
  export type ExtensionFqn = string;
318
324
  export declare const ExtensionFqn: Schema.String;
319
325
  export type ProblemDetails = {
@@ -468,13 +474,29 @@ export declare const CreateTokenRequest: Schema.Struct<{
468
474
  }>, Schema.Null]>>;
469
475
  readonly expires_in: Schema.Number;
470
476
  }>;
471
- export type UpsertTeamGrantBody = {
472
- readonly teamId: TeamId;
477
+ export type ExtensionGrantEntry = {
478
+ readonly subject: {
479
+ readonly kind: "user";
480
+ readonly userId: UserId;
481
+ } | {
482
+ readonly kind: "team";
483
+ readonly teamId: TeamId;
484
+ };
473
485
  readonly role: "read" | "write";
486
+ readonly grantedBy: UserId | null;
487
+ readonly createdAt: string;
474
488
  };
475
- export declare const UpsertTeamGrantBody: Schema.Struct<{
476
- readonly teamId: Schema.String;
489
+ export declare const ExtensionGrantEntry: Schema.Struct<{
490
+ readonly subject: Schema.Union<readonly [Schema.Struct<{
491
+ readonly kind: Schema.Literal<"user">;
492
+ readonly userId: Schema.String;
493
+ }>, Schema.Struct<{
494
+ readonly kind: Schema.Literal<"team">;
495
+ readonly teamId: Schema.String;
496
+ }>]>;
477
497
  readonly role: Schema.Literals<readonly ["read", "write"]>;
498
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
499
+ readonly createdAt: Schema.String;
478
500
  }>;
479
501
  export type TeamGrant = {
480
502
  readonly teamId: TeamId;
@@ -488,20 +510,14 @@ export declare const TeamGrant: Schema.Struct<{
488
510
  readonly grantedBy: Schema.String;
489
511
  readonly grantedAt: Schema.String;
490
512
  }>;
491
- export type MaintainerTarget = {
492
- readonly kind: "user";
493
- readonly userId: UserId;
494
- } | {
495
- readonly kind: "team";
513
+ export type UpsertTeamGrantBody = {
496
514
  readonly teamId: TeamId;
515
+ readonly role: "read" | "write";
497
516
  };
498
- export declare const MaintainerTarget: Schema.Union<readonly [Schema.Struct<{
499
- readonly kind: Schema.Literal<"user">;
500
- readonly userId: Schema.String;
501
- }>, Schema.Struct<{
502
- readonly kind: Schema.Literal<"team">;
517
+ export declare const UpsertTeamGrantBody: Schema.Struct<{
503
518
  readonly teamId: Schema.String;
504
- }>]>;
519
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
520
+ }>;
505
521
  export type Maintainer = {
506
522
  readonly kind: "user";
507
523
  readonly userId: UserId;
@@ -532,6 +548,20 @@ export declare const Maintainer: Schema.Union<readonly [Schema.Struct<{
532
548
  readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
533
549
  readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
534
550
  }>]>;
551
+ export type MaintainerTarget = {
552
+ readonly kind: "user";
553
+ readonly userId: UserId;
554
+ } | {
555
+ readonly kind: "team";
556
+ readonly teamId: TeamId;
557
+ };
558
+ export declare const MaintainerTarget: Schema.Union<readonly [Schema.Struct<{
559
+ readonly kind: Schema.Literal<"user">;
560
+ readonly userId: Schema.String;
561
+ }>, Schema.Struct<{
562
+ readonly kind: Schema.Literal<"team">;
563
+ readonly teamId: Schema.String;
564
+ }>]>;
535
565
  export type Team = {
536
566
  readonly id: TeamId;
537
567
  readonly organizationId: OrgId;
@@ -572,7 +602,7 @@ export type PublishIdentity = {
572
602
  };
573
603
  export declare const PublishIdentity: Schema.Struct<{
574
604
  readonly owner: Schema.String;
575
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
605
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
576
606
  readonly name: Schema.String;
577
607
  readonly version: Schema.String;
578
608
  }>;
@@ -591,7 +621,7 @@ export type SearchHit = {
591
621
  export declare const SearchHit: Schema.Struct<{
592
622
  readonly name: Schema.String;
593
623
  readonly owner: Schema.String;
594
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
624
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
595
625
  readonly latestVersion: Schema.String;
596
626
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
597
627
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
@@ -683,6 +713,23 @@ export declare const TokenListResponse: Schema.Struct<{
683
713
  readonly has_more: Schema.Boolean;
684
714
  readonly cursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
685
715
  }>;
716
+ export type ExtensionGrantsResponse = {
717
+ readonly grants: ReadonlyArray<ExtensionGrantEntry>;
718
+ };
719
+ export declare const ExtensionGrantsResponse: Schema.Struct<{
720
+ readonly grants: Schema.$Array<Schema.Struct<{
721
+ readonly subject: Schema.Union<readonly [Schema.Struct<{
722
+ readonly kind: Schema.Literal<"user">;
723
+ readonly userId: Schema.String;
724
+ }>, Schema.Struct<{
725
+ readonly kind: Schema.Literal<"team">;
726
+ readonly teamId: Schema.String;
727
+ }>]>;
728
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
729
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
730
+ readonly createdAt: Schema.String;
731
+ }>>;
732
+ }>;
686
733
  export type TeamList = {
687
734
  readonly items: ReadonlyArray<Team>;
688
735
  readonly nextCursor: string | null;
@@ -736,7 +783,7 @@ export declare const ExtensionIdentityMismatchError: Schema.Struct<{
736
783
  readonly error: Schema.Literal<"extension_identity_mismatch">;
737
784
  readonly identity: Schema.Struct<{
738
785
  readonly owner: Schema.String;
739
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
786
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
740
787
  readonly name: Schema.String;
741
788
  readonly version: Schema.String;
742
789
  }>;
@@ -755,7 +802,7 @@ export declare const SearchResponse: Schema.Struct<{
755
802
  readonly extensions: Schema.$Array<Schema.Struct<{
756
803
  readonly name: Schema.String;
757
804
  readonly owner: Schema.String;
758
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
805
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
759
806
  readonly latestVersion: Schema.String;
760
807
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
761
808
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
@@ -799,7 +846,7 @@ export declare const ExtensionLintFailedError: Schema.Struct<{
799
846
  readonly error: Schema.Literal<"extension_lint_failed">;
800
847
  readonly identity: Schema.Struct<{
801
848
  readonly owner: Schema.String;
802
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
849
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
803
850
  readonly name: Schema.String;
804
851
  readonly version: Schema.String;
805
852
  }>;
@@ -2113,7 +2160,7 @@ export declare const ExtensionsListByOwner200: Schema.Struct<{
2113
2160
  readonly extensions: Schema.$Array<Schema.Struct<{
2114
2161
  readonly name: Schema.String;
2115
2162
  readonly owner: Schema.String;
2116
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2163
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2117
2164
  readonly latestVersion: Schema.String;
2118
2165
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2119
2166
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
@@ -2170,7 +2217,7 @@ export declare const ExtensionsListByType200: Schema.Struct<{
2170
2217
  readonly extensions: Schema.$Array<Schema.Struct<{
2171
2218
  readonly name: Schema.String;
2172
2219
  readonly owner: Schema.String;
2173
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2220
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2174
2221
  readonly latestVersion: Schema.String;
2175
2222
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2176
2223
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
@@ -2226,7 +2273,7 @@ export type ExtensionsGet200 = {
2226
2273
  export declare const ExtensionsGet200: Schema.Struct<{
2227
2274
  readonly name: Schema.String;
2228
2275
  readonly owner: Schema.String;
2229
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2276
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2230
2277
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2231
2278
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
2232
2279
  readonly url: Schema.String;
@@ -2300,7 +2347,7 @@ export type ExtensionsUpdateVisibility200 = {
2300
2347
  export declare const ExtensionsUpdateVisibility200: Schema.Struct<{
2301
2348
  readonly id: Schema.String;
2302
2349
  readonly owner: Schema.String;
2303
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2350
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2304
2351
  readonly name: Schema.String;
2305
2352
  readonly visibility: Schema.String;
2306
2353
  readonly updatedAt: Schema.String;
@@ -2449,7 +2496,7 @@ export type ExtensionsGetVersion200 = {
2449
2496
  export declare const ExtensionsGetVersion200: Schema.Struct<{
2450
2497
  readonly name: Schema.String;
2451
2498
  readonly owner: Schema.String;
2452
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2499
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2453
2500
  readonly version: Schema.String;
2454
2501
  readonly status: Schema.Literals<readonly ["pending", "available", "failed"]>;
2455
2502
  readonly published: Schema.String;
@@ -2525,7 +2572,7 @@ export type ExtensionsPublishVersion201 = {
2525
2572
  };
2526
2573
  export declare const ExtensionsPublishVersion201: Schema.Struct<{
2527
2574
  readonly owner: Schema.String;
2528
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2575
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2529
2576
  readonly name: Schema.String;
2530
2577
  readonly version: Schema.String;
2531
2578
  readonly integrity: Schema.String;
@@ -2712,7 +2759,7 @@ export declare const ExtensionsPublishVersion422: Schema.Union<readonly [Schema.
2712
2759
  readonly error: Schema.Literal<"extension_lint_failed">;
2713
2760
  readonly identity: Schema.Struct<{
2714
2761
  readonly owner: Schema.String;
2715
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2762
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2716
2763
  readonly name: Schema.String;
2717
2764
  readonly version: Schema.String;
2718
2765
  }>;
@@ -2743,7 +2790,7 @@ export declare const ExtensionsPublishVersion422: Schema.Union<readonly [Schema.
2743
2790
  readonly error: Schema.Literal<"extension_identity_mismatch">;
2744
2791
  readonly identity: Schema.Struct<{
2745
2792
  readonly owner: Schema.String;
2746
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2793
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2747
2794
  readonly name: Schema.String;
2748
2795
  readonly version: Schema.String;
2749
2796
  }>;
@@ -2922,7 +2969,7 @@ export type ExtensionsDeprecate200 = {
2922
2969
  };
2923
2970
  export declare const ExtensionsDeprecate200: Schema.Struct<{
2924
2971
  readonly owner: Schema.String;
2925
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
2972
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
2926
2973
  readonly name: Schema.String;
2927
2974
  readonly deprecatedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
2928
2975
  readonly deprecationNotice: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -3002,7 +3049,7 @@ export type ExtensionsUndeprecate200 = {
3002
3049
  };
3003
3050
  export declare const ExtensionsUndeprecate200: Schema.Struct<{
3004
3051
  readonly owner: Schema.String;
3005
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
3052
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3006
3053
  readonly name: Schema.String;
3007
3054
  readonly deprecatedAt: Schema.Null;
3008
3055
  readonly deprecationNotice: Schema.Null;
@@ -3083,7 +3130,7 @@ export type ExtensionsYankVersion200 = {
3083
3130
  };
3084
3131
  export declare const ExtensionsYankVersion200: Schema.Struct<{
3085
3132
  readonly owner: Schema.String;
3086
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
3133
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3087
3134
  readonly name: Schema.String;
3088
3135
  readonly version: Schema.String;
3089
3136
  readonly yankedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -3177,7 +3224,7 @@ export type ExtensionsUnyankVersion200 = {
3177
3224
  };
3178
3225
  export declare const ExtensionsUnyankVersion200: Schema.Struct<{
3179
3226
  readonly owner: Schema.String;
3180
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
3227
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
3181
3228
  readonly name: Schema.String;
3182
3229
  readonly version: Schema.String;
3183
3230
  readonly yankedAt: Schema.Null;
@@ -3587,6 +3634,109 @@ export declare const CollaboratorsDeleteCollaborator409: Schema.Struct<{
3587
3634
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3588
3635
  }>>;
3589
3636
  }>;
3637
+ export type TeamGrantsListExtensionGrants200 = ExtensionGrantsResponse;
3638
+ export declare const TeamGrantsListExtensionGrants200: Schema.Struct<{
3639
+ readonly grants: Schema.$Array<Schema.Struct<{
3640
+ readonly subject: Schema.Union<readonly [Schema.Struct<{
3641
+ readonly kind: Schema.Literal<"user">;
3642
+ readonly userId: Schema.String;
3643
+ }>, Schema.Struct<{
3644
+ readonly kind: Schema.Literal<"team">;
3645
+ readonly teamId: Schema.String;
3646
+ }>]>;
3647
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
3648
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3649
+ readonly createdAt: Schema.String;
3650
+ }>>;
3651
+ }>;
3652
+ export type TeamGrantsListExtensionGrants400 = DecodeErrorResponse;
3653
+ export declare const TeamGrantsListExtensionGrants400: Schema.Struct<{
3654
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
3655
+ readonly type: Schema.String;
3656
+ readonly title: Schema.String;
3657
+ readonly status: Schema.Number;
3658
+ readonly detail: Schema.String;
3659
+ readonly instance: Schema.optionalKey<Schema.String>;
3660
+ readonly code: Schema.String;
3661
+ }>;
3662
+ export type TeamGrantsListExtensionGrants401 = ProblemDetails;
3663
+ export declare const TeamGrantsListExtensionGrants401: Schema.Struct<{
3664
+ readonly type: Schema.String;
3665
+ readonly title: Schema.String;
3666
+ readonly status: Schema.Number;
3667
+ readonly detail: Schema.String;
3668
+ readonly instance: Schema.optionalKey<Schema.String>;
3669
+ readonly code: Schema.String;
3670
+ readonly details: Schema.optionalKey<Schema.Struct<{
3671
+ readonly retryable: Schema.Boolean;
3672
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3673
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3674
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3675
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3676
+ }>>;
3677
+ }>;
3678
+ export type TeamGrantsListExtensionGrants403 = ForbiddenError | ForbiddenError;
3679
+ export declare const TeamGrantsListExtensionGrants403: Schema.Union<readonly [Schema.Struct<{
3680
+ readonly kind: Schema.Literal<"ForbiddenError">;
3681
+ readonly type: Schema.String;
3682
+ readonly title: Schema.String;
3683
+ readonly status: Schema.Number;
3684
+ readonly detail: Schema.String;
3685
+ readonly instance: Schema.optionalKey<Schema.String>;
3686
+ 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"]>;
3687
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3688
+ readonly requiredScope: Schema.String;
3689
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3690
+ }>, Schema.Struct<{
3691
+ readonly requiredScope: Schema.String;
3692
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3693
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3694
+ }>, Schema.Struct<{
3695
+ readonly retryable: Schema.Boolean;
3696
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3697
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3698
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3699
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3700
+ }>]>>;
3701
+ }>, Schema.Struct<{
3702
+ readonly kind: Schema.Literal<"ForbiddenError">;
3703
+ readonly type: Schema.String;
3704
+ readonly title: Schema.String;
3705
+ readonly status: Schema.Number;
3706
+ readonly detail: Schema.String;
3707
+ readonly instance: Schema.optionalKey<Schema.String>;
3708
+ 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"]>;
3709
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
3710
+ readonly requiredScope: Schema.String;
3711
+ readonly grantedScopes: Schema.$Array<Schema.String>;
3712
+ }>, Schema.Struct<{
3713
+ readonly requiredScope: Schema.String;
3714
+ readonly tokenScopes: Schema.$Array<Schema.String>;
3715
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
3716
+ }>, Schema.Struct<{
3717
+ readonly retryable: Schema.Boolean;
3718
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3719
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3720
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3721
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3722
+ }>]>>;
3723
+ }>]>;
3724
+ export type TeamGrantsListExtensionGrants404 = ProblemDetails;
3725
+ export declare const TeamGrantsListExtensionGrants404: Schema.Struct<{
3726
+ readonly type: Schema.String;
3727
+ readonly title: Schema.String;
3728
+ readonly status: Schema.Number;
3729
+ readonly detail: Schema.String;
3730
+ readonly instance: Schema.optionalKey<Schema.String>;
3731
+ readonly code: Schema.String;
3732
+ readonly details: Schema.optionalKey<Schema.Struct<{
3733
+ readonly retryable: Schema.Boolean;
3734
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3735
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3736
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3737
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3738
+ }>>;
3739
+ }>;
3590
3740
  export type TeamGrantsUpsertTeamExtensionGrantRequestJson = UpsertTeamGrantBody;
3591
3741
  export declare const TeamGrantsUpsertTeamExtensionGrantRequestJson: Schema.Struct<{
3592
3742
  readonly teamId: Schema.String;
@@ -3717,8 +3867,38 @@ export declare const TeamGrantsUpsertTeamExtensionGrant422: Schema.Struct<{
3717
3867
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3718
3868
  }>>;
3719
3869
  }>;
3720
- export type TeamGrantsDeleteTeamExtensionGrant400 = DecodeErrorResponse;
3721
- export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
3870
+ export type TeamGrantsUpsertUserExtensionGrantRequestJson = UpsertGrantBody;
3871
+ export declare const TeamGrantsUpsertUserExtensionGrantRequestJson: Schema.Struct<{
3872
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
3873
+ }>;
3874
+ export type TeamGrantsUpsertUserExtensionGrant200 = {
3875
+ readonly userId: UserId;
3876
+ readonly role: string;
3877
+ readonly grantedBy: UserId | null;
3878
+ readonly createdAt: string;
3879
+ };
3880
+ export declare const TeamGrantsUpsertUserExtensionGrant200: Schema.Struct<{
3881
+ readonly userId: Schema.String;
3882
+ readonly role: Schema.String;
3883
+ readonly grantedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3884
+ readonly createdAt: Schema.String;
3885
+ }>;
3886
+ export type TeamGrantsUpsertUserExtensionGrant400 = ProblemDetails | DecodeErrorResponse;
3887
+ export declare const TeamGrantsUpsertUserExtensionGrant400: Schema.Union<readonly [Schema.Struct<{
3888
+ readonly type: Schema.String;
3889
+ readonly title: Schema.String;
3890
+ readonly status: Schema.Number;
3891
+ readonly detail: Schema.String;
3892
+ readonly instance: Schema.optionalKey<Schema.String>;
3893
+ readonly code: Schema.String;
3894
+ readonly details: Schema.optionalKey<Schema.Struct<{
3895
+ readonly retryable: Schema.Boolean;
3896
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
3897
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
3898
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
3899
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3900
+ }>>;
3901
+ }>, Schema.Struct<{
3722
3902
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3723
3903
  readonly type: Schema.String;
3724
3904
  readonly title: Schema.String;
@@ -3726,9 +3906,9 @@ export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
3726
3906
  readonly detail: Schema.String;
3727
3907
  readonly instance: Schema.optionalKey<Schema.String>;
3728
3908
  readonly code: Schema.String;
3729
- }>;
3730
- export type TeamGrantsDeleteTeamExtensionGrant401 = ProblemDetails;
3731
- export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
3909
+ }>]>;
3910
+ export type TeamGrantsUpsertUserExtensionGrant401 = ProblemDetails;
3911
+ export declare const TeamGrantsUpsertUserExtensionGrant401: Schema.Struct<{
3732
3912
  readonly type: Schema.String;
3733
3913
  readonly title: Schema.String;
3734
3914
  readonly status: Schema.Number;
@@ -3743,8 +3923,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
3743
3923
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3744
3924
  }>>;
3745
3925
  }>;
3746
- export type TeamGrantsDeleteTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
3747
- export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
3926
+ export type TeamGrantsUpsertUserExtensionGrant403 = ForbiddenError | ForbiddenError;
3927
+ export declare const TeamGrantsUpsertUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
3748
3928
  readonly kind: Schema.Literal<"ForbiddenError">;
3749
3929
  readonly type: Schema.String;
3750
3930
  readonly title: Schema.String;
@@ -3789,8 +3969,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonl
3789
3969
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3790
3970
  }>]>>;
3791
3971
  }>]>;
3792
- export type TeamGrantsDeleteTeamExtensionGrant404 = ProblemDetails;
3793
- export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
3972
+ export type TeamGrantsUpsertUserExtensionGrant404 = ProblemDetails;
3973
+ export declare const TeamGrantsUpsertUserExtensionGrant404: Schema.Struct<{
3794
3974
  readonly type: Schema.String;
3795
3975
  readonly title: Schema.String;
3796
3976
  readonly status: Schema.Number;
@@ -3805,32 +3985,8 @@ export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
3805
3985
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3806
3986
  }>>;
3807
3987
  }>;
3808
- export type MaintainerSetMaintainerRequestJson = MaintainerTarget;
3809
- export declare const MaintainerSetMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
3810
- readonly kind: Schema.Literal<"user">;
3811
- readonly userId: Schema.String;
3812
- }>, Schema.Struct<{
3813
- readonly kind: Schema.Literal<"team">;
3814
- readonly teamId: Schema.String;
3815
- }>]>;
3816
- export type MaintainerSetMaintainer200 = Maintainer;
3817
- export declare const MaintainerSetMaintainer200: Schema.Union<readonly [Schema.Struct<{
3818
- readonly kind: Schema.Literal<"user">;
3819
- readonly userId: Schema.String;
3820
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3821
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3822
- }>, Schema.Struct<{
3823
- readonly kind: Schema.Literal<"team">;
3824
- readonly teamId: Schema.String;
3825
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3826
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3827
- }>, Schema.Struct<{
3828
- readonly kind: Schema.Literal<"none">;
3829
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3830
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3831
- }>]>;
3832
- export type MaintainerSetMaintainer400 = DecodeErrorResponse;
3833
- export declare const MaintainerSetMaintainer400: Schema.Struct<{
3988
+ export type TeamGrantsDeleteUserExtensionGrant400 = DecodeErrorResponse;
3989
+ export declare const TeamGrantsDeleteUserExtensionGrant400: Schema.Struct<{
3834
3990
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3835
3991
  readonly type: Schema.String;
3836
3992
  readonly title: Schema.String;
@@ -3839,8 +3995,8 @@ export declare const MaintainerSetMaintainer400: Schema.Struct<{
3839
3995
  readonly instance: Schema.optionalKey<Schema.String>;
3840
3996
  readonly code: Schema.String;
3841
3997
  }>;
3842
- export type MaintainerSetMaintainer401 = ProblemDetails;
3843
- export declare const MaintainerSetMaintainer401: Schema.Struct<{
3998
+ export type TeamGrantsDeleteUserExtensionGrant401 = ProblemDetails;
3999
+ export declare const TeamGrantsDeleteUserExtensionGrant401: Schema.Struct<{
3844
4000
  readonly type: Schema.String;
3845
4001
  readonly title: Schema.String;
3846
4002
  readonly status: Schema.Number;
@@ -3855,8 +4011,8 @@ export declare const MaintainerSetMaintainer401: Schema.Struct<{
3855
4011
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3856
4012
  }>>;
3857
4013
  }>;
3858
- export type MaintainerSetMaintainer403 = ForbiddenError | ForbiddenError;
3859
- export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.Struct<{
4014
+ export type TeamGrantsDeleteUserExtensionGrant403 = ForbiddenError | ForbiddenError;
4015
+ export declare const TeamGrantsDeleteUserExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
3860
4016
  readonly kind: Schema.Literal<"ForbiddenError">;
3861
4017
  readonly type: Schema.String;
3862
4018
  readonly title: Schema.String;
@@ -3901,8 +4057,8 @@ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.S
3901
4057
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3902
4058
  }>]>>;
3903
4059
  }>]>;
3904
- export type MaintainerSetMaintainer404 = ProblemDetails;
3905
- export declare const MaintainerSetMaintainer404: Schema.Struct<{
4060
+ export type TeamGrantsDeleteUserExtensionGrant404 = ProblemDetails;
4061
+ export declare const TeamGrantsDeleteUserExtensionGrant404: Schema.Struct<{
3906
4062
  readonly type: Schema.String;
3907
4063
  readonly title: Schema.String;
3908
4064
  readonly status: Schema.Number;
@@ -3917,8 +4073,8 @@ export declare const MaintainerSetMaintainer404: Schema.Struct<{
3917
4073
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3918
4074
  }>>;
3919
4075
  }>;
3920
- export type MaintainerSetMaintainer422 = ProblemDetails;
3921
- export declare const MaintainerSetMaintainer422: Schema.Struct<{
4076
+ export type TeamGrantsDeleteUserExtensionGrant409 = ProblemDetails;
4077
+ export declare const TeamGrantsDeleteUserExtensionGrant409: Schema.Struct<{
3922
4078
  readonly type: Schema.String;
3923
4079
  readonly title: Schema.String;
3924
4080
  readonly status: Schema.Number;
@@ -3933,24 +4089,33 @@ export declare const MaintainerSetMaintainer422: Schema.Struct<{
3933
4089
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3934
4090
  }>>;
3935
4091
  }>;
3936
- export type MaintainerClearMaintainer200 = Maintainer;
3937
- export declare const MaintainerClearMaintainer200: Schema.Union<readonly [Schema.Struct<{
3938
- readonly kind: Schema.Literal<"user">;
3939
- readonly userId: Schema.String;
3940
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3941
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3942
- }>, Schema.Struct<{
3943
- readonly kind: Schema.Literal<"team">;
4092
+ export type TeamGrantsUpsertTeamExtensionGrantByIdRequestJson = UpsertGrantBody;
4093
+ export declare const TeamGrantsUpsertTeamExtensionGrantByIdRequestJson: Schema.Struct<{
4094
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
4095
+ }>;
4096
+ export type TeamGrantsUpsertTeamExtensionGrantById200 = TeamGrant;
4097
+ export declare const TeamGrantsUpsertTeamExtensionGrantById200: Schema.Struct<{
3944
4098
  readonly teamId: Schema.String;
3945
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3946
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4099
+ readonly role: Schema.Literals<readonly ["read", "write"]>;
4100
+ readonly grantedBy: Schema.String;
4101
+ readonly grantedAt: Schema.String;
4102
+ }>;
4103
+ export type TeamGrantsUpsertTeamExtensionGrantById400 = ProblemDetails | DecodeErrorResponse;
4104
+ export declare const TeamGrantsUpsertTeamExtensionGrantById400: Schema.Union<readonly [Schema.Struct<{
4105
+ readonly type: Schema.String;
4106
+ readonly title: Schema.String;
4107
+ readonly status: Schema.Number;
4108
+ readonly detail: Schema.String;
4109
+ readonly instance: Schema.optionalKey<Schema.String>;
4110
+ readonly code: Schema.String;
4111
+ readonly details: Schema.optionalKey<Schema.Struct<{
4112
+ readonly retryable: Schema.Boolean;
4113
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4114
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4115
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4116
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4117
+ }>>;
3947
4118
  }>, Schema.Struct<{
3948
- readonly kind: Schema.Literal<"none">;
3949
- readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
3950
- readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
3951
- }>]>;
3952
- export type MaintainerClearMaintainer400 = DecodeErrorResponse;
3953
- export declare const MaintainerClearMaintainer400: Schema.Struct<{
3954
4119
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
3955
4120
  readonly type: Schema.String;
3956
4121
  readonly title: Schema.String;
@@ -3958,9 +4123,9 @@ export declare const MaintainerClearMaintainer400: Schema.Struct<{
3958
4123
  readonly detail: Schema.String;
3959
4124
  readonly instance: Schema.optionalKey<Schema.String>;
3960
4125
  readonly code: Schema.String;
3961
- }>;
3962
- export type MaintainerClearMaintainer401 = ProblemDetails;
3963
- export declare const MaintainerClearMaintainer401: Schema.Struct<{
4126
+ }>]>;
4127
+ export type TeamGrantsUpsertTeamExtensionGrantById401 = ProblemDetails;
4128
+ export declare const TeamGrantsUpsertTeamExtensionGrantById401: Schema.Struct<{
3964
4129
  readonly type: Schema.String;
3965
4130
  readonly title: Schema.String;
3966
4131
  readonly status: Schema.Number;
@@ -3975,8 +4140,8 @@ export declare const MaintainerClearMaintainer401: Schema.Struct<{
3975
4140
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3976
4141
  }>>;
3977
4142
  }>;
3978
- export type MaintainerClearMaintainer403 = ForbiddenError | ForbiddenError;
3979
- export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema.Struct<{
4143
+ export type TeamGrantsUpsertTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
4144
+ export declare const TeamGrantsUpsertTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
3980
4145
  readonly kind: Schema.Literal<"ForbiddenError">;
3981
4146
  readonly type: Schema.String;
3982
4147
  readonly title: Schema.String;
@@ -4021,8 +4186,8 @@ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema
4021
4186
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4022
4187
  }>]>>;
4023
4188
  }>]>;
4024
- export type MaintainerClearMaintainer404 = ProblemDetails;
4025
- export declare const MaintainerClearMaintainer404: Schema.Struct<{
4189
+ export type TeamGrantsUpsertTeamExtensionGrantById404 = ProblemDetails;
4190
+ export declare const TeamGrantsUpsertTeamExtensionGrantById404: Schema.Struct<{
4026
4191
  readonly type: Schema.String;
4027
4192
  readonly title: Schema.String;
4028
4193
  readonly status: Schema.Number;
@@ -4037,8 +4202,8 @@ export declare const MaintainerClearMaintainer404: Schema.Struct<{
4037
4202
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4038
4203
  }>>;
4039
4204
  }>;
4040
- export type MaintainerClearMaintainer422 = ProblemDetails;
4041
- export declare const MaintainerClearMaintainer422: Schema.Struct<{
4205
+ export type TeamGrantsUpsertTeamExtensionGrantById422 = ProblemDetails;
4206
+ export declare const TeamGrantsUpsertTeamExtensionGrantById422: Schema.Struct<{
4042
4207
  readonly type: Schema.String;
4043
4208
  readonly title: Schema.String;
4044
4209
  readonly status: Schema.Number;
@@ -4053,11 +4218,539 @@ export declare const MaintainerClearMaintainer422: Schema.Struct<{
4053
4218
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4054
4219
  }>>;
4055
4220
  }>;
4056
- export type DiscoveryPostDiscoveryRequestJson = {
4057
- readonly client: {
4058
- readonly axmVersion: string;
4059
- };
4060
- readonly packages: ReadonlyArray<{
4221
+ export type TeamGrantsDeleteTeamExtensionGrantById400 = DecodeErrorResponse;
4222
+ export declare const TeamGrantsDeleteTeamExtensionGrantById400: Schema.Struct<{
4223
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4224
+ readonly type: Schema.String;
4225
+ readonly title: Schema.String;
4226
+ readonly status: Schema.Number;
4227
+ readonly detail: Schema.String;
4228
+ readonly instance: Schema.optionalKey<Schema.String>;
4229
+ readonly code: Schema.String;
4230
+ }>;
4231
+ export type TeamGrantsDeleteTeamExtensionGrantById401 = ProblemDetails;
4232
+ export declare const TeamGrantsDeleteTeamExtensionGrantById401: Schema.Struct<{
4233
+ readonly type: Schema.String;
4234
+ readonly title: Schema.String;
4235
+ readonly status: Schema.Number;
4236
+ readonly detail: Schema.String;
4237
+ readonly instance: Schema.optionalKey<Schema.String>;
4238
+ readonly code: Schema.String;
4239
+ readonly details: Schema.optionalKey<Schema.Struct<{
4240
+ readonly retryable: Schema.Boolean;
4241
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4242
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4243
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4244
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4245
+ }>>;
4246
+ }>;
4247
+ export type TeamGrantsDeleteTeamExtensionGrantById403 = ForbiddenError | ForbiddenError;
4248
+ export declare const TeamGrantsDeleteTeamExtensionGrantById403: Schema.Union<readonly [Schema.Struct<{
4249
+ readonly kind: Schema.Literal<"ForbiddenError">;
4250
+ readonly type: Schema.String;
4251
+ readonly title: Schema.String;
4252
+ readonly status: Schema.Number;
4253
+ readonly detail: Schema.String;
4254
+ readonly instance: Schema.optionalKey<Schema.String>;
4255
+ 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"]>;
4256
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4257
+ readonly requiredScope: Schema.String;
4258
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4259
+ }>, Schema.Struct<{
4260
+ readonly requiredScope: Schema.String;
4261
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4262
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4263
+ }>, Schema.Struct<{
4264
+ readonly retryable: Schema.Boolean;
4265
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4266
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4267
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4268
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4269
+ }>]>>;
4270
+ }>, Schema.Struct<{
4271
+ readonly kind: Schema.Literal<"ForbiddenError">;
4272
+ readonly type: Schema.String;
4273
+ readonly title: Schema.String;
4274
+ readonly status: Schema.Number;
4275
+ readonly detail: Schema.String;
4276
+ readonly instance: Schema.optionalKey<Schema.String>;
4277
+ 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"]>;
4278
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4279
+ readonly requiredScope: Schema.String;
4280
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4281
+ }>, Schema.Struct<{
4282
+ readonly requiredScope: Schema.String;
4283
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4284
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4285
+ }>, Schema.Struct<{
4286
+ readonly retryable: Schema.Boolean;
4287
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4288
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4289
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4290
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4291
+ }>]>>;
4292
+ }>]>;
4293
+ export type TeamGrantsDeleteTeamExtensionGrantById404 = ProblemDetails;
4294
+ export declare const TeamGrantsDeleteTeamExtensionGrantById404: Schema.Struct<{
4295
+ readonly type: Schema.String;
4296
+ readonly title: Schema.String;
4297
+ readonly status: Schema.Number;
4298
+ readonly detail: Schema.String;
4299
+ readonly instance: Schema.optionalKey<Schema.String>;
4300
+ readonly code: Schema.String;
4301
+ readonly details: Schema.optionalKey<Schema.Struct<{
4302
+ readonly retryable: Schema.Boolean;
4303
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4304
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4305
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4306
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4307
+ }>>;
4308
+ }>;
4309
+ export type TeamGrantsDeleteTeamExtensionGrant400 = DecodeErrorResponse;
4310
+ export declare const TeamGrantsDeleteTeamExtensionGrant400: Schema.Struct<{
4311
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4312
+ readonly type: Schema.String;
4313
+ readonly title: Schema.String;
4314
+ readonly status: Schema.Number;
4315
+ readonly detail: Schema.String;
4316
+ readonly instance: Schema.optionalKey<Schema.String>;
4317
+ readonly code: Schema.String;
4318
+ }>;
4319
+ export type TeamGrantsDeleteTeamExtensionGrant401 = ProblemDetails;
4320
+ export declare const TeamGrantsDeleteTeamExtensionGrant401: Schema.Struct<{
4321
+ readonly type: Schema.String;
4322
+ readonly title: Schema.String;
4323
+ readonly status: Schema.Number;
4324
+ readonly detail: Schema.String;
4325
+ readonly instance: Schema.optionalKey<Schema.String>;
4326
+ readonly code: Schema.String;
4327
+ readonly details: Schema.optionalKey<Schema.Struct<{
4328
+ readonly retryable: Schema.Boolean;
4329
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4330
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4331
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4332
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4333
+ }>>;
4334
+ }>;
4335
+ export type TeamGrantsDeleteTeamExtensionGrant403 = ForbiddenError | ForbiddenError;
4336
+ export declare const TeamGrantsDeleteTeamExtensionGrant403: Schema.Union<readonly [Schema.Struct<{
4337
+ readonly kind: Schema.Literal<"ForbiddenError">;
4338
+ readonly type: Schema.String;
4339
+ readonly title: Schema.String;
4340
+ readonly status: Schema.Number;
4341
+ readonly detail: Schema.String;
4342
+ readonly instance: Schema.optionalKey<Schema.String>;
4343
+ 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"]>;
4344
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4345
+ readonly requiredScope: Schema.String;
4346
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4347
+ }>, Schema.Struct<{
4348
+ readonly requiredScope: Schema.String;
4349
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4350
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4351
+ }>, Schema.Struct<{
4352
+ readonly retryable: Schema.Boolean;
4353
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4354
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4355
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4356
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4357
+ }>]>>;
4358
+ }>, Schema.Struct<{
4359
+ readonly kind: Schema.Literal<"ForbiddenError">;
4360
+ readonly type: Schema.String;
4361
+ readonly title: Schema.String;
4362
+ readonly status: Schema.Number;
4363
+ readonly detail: Schema.String;
4364
+ readonly instance: Schema.optionalKey<Schema.String>;
4365
+ 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"]>;
4366
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4367
+ readonly requiredScope: Schema.String;
4368
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4369
+ }>, Schema.Struct<{
4370
+ readonly requiredScope: Schema.String;
4371
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4372
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4373
+ }>, Schema.Struct<{
4374
+ readonly retryable: Schema.Boolean;
4375
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4376
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4377
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4378
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4379
+ }>]>>;
4380
+ }>]>;
4381
+ export type TeamGrantsDeleteTeamExtensionGrant404 = ProblemDetails;
4382
+ export declare const TeamGrantsDeleteTeamExtensionGrant404: Schema.Struct<{
4383
+ readonly type: Schema.String;
4384
+ readonly title: Schema.String;
4385
+ readonly status: Schema.Number;
4386
+ readonly detail: Schema.String;
4387
+ readonly instance: Schema.optionalKey<Schema.String>;
4388
+ readonly code: Schema.String;
4389
+ readonly details: Schema.optionalKey<Schema.Struct<{
4390
+ readonly retryable: Schema.Boolean;
4391
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4392
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4393
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4394
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4395
+ }>>;
4396
+ }>;
4397
+ export type MaintainerGetMaintainer200 = Maintainer;
4398
+ export declare const MaintainerGetMaintainer200: Schema.Union<readonly [Schema.Struct<{
4399
+ readonly kind: Schema.Literal<"user">;
4400
+ readonly userId: Schema.String;
4401
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4402
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4403
+ }>, Schema.Struct<{
4404
+ readonly kind: Schema.Literal<"team">;
4405
+ readonly teamId: Schema.String;
4406
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4407
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4408
+ }>, Schema.Struct<{
4409
+ readonly kind: Schema.Literal<"none">;
4410
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4411
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4412
+ }>]>;
4413
+ export type MaintainerGetMaintainer400 = DecodeErrorResponse;
4414
+ export declare const MaintainerGetMaintainer400: Schema.Struct<{
4415
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4416
+ readonly type: Schema.String;
4417
+ readonly title: Schema.String;
4418
+ readonly status: Schema.Number;
4419
+ readonly detail: Schema.String;
4420
+ readonly instance: Schema.optionalKey<Schema.String>;
4421
+ readonly code: Schema.String;
4422
+ }>;
4423
+ export type MaintainerGetMaintainer401 = ProblemDetails;
4424
+ export declare const MaintainerGetMaintainer401: Schema.Struct<{
4425
+ readonly type: Schema.String;
4426
+ readonly title: Schema.String;
4427
+ readonly status: Schema.Number;
4428
+ readonly detail: Schema.String;
4429
+ readonly instance: Schema.optionalKey<Schema.String>;
4430
+ readonly code: Schema.String;
4431
+ readonly details: Schema.optionalKey<Schema.Struct<{
4432
+ readonly retryable: Schema.Boolean;
4433
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4434
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4435
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4436
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4437
+ }>>;
4438
+ }>;
4439
+ export type MaintainerGetMaintainer403 = ForbiddenError | ForbiddenError;
4440
+ export declare const MaintainerGetMaintainer403: Schema.Union<readonly [Schema.Struct<{
4441
+ readonly kind: Schema.Literal<"ForbiddenError">;
4442
+ readonly type: Schema.String;
4443
+ readonly title: Schema.String;
4444
+ readonly status: Schema.Number;
4445
+ readonly detail: Schema.String;
4446
+ readonly instance: Schema.optionalKey<Schema.String>;
4447
+ 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"]>;
4448
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4449
+ readonly requiredScope: Schema.String;
4450
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4451
+ }>, Schema.Struct<{
4452
+ readonly requiredScope: Schema.String;
4453
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4454
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4455
+ }>, Schema.Struct<{
4456
+ readonly retryable: Schema.Boolean;
4457
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4458
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4459
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4460
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4461
+ }>]>>;
4462
+ }>, Schema.Struct<{
4463
+ readonly kind: Schema.Literal<"ForbiddenError">;
4464
+ readonly type: Schema.String;
4465
+ readonly title: Schema.String;
4466
+ readonly status: Schema.Number;
4467
+ readonly detail: Schema.String;
4468
+ readonly instance: Schema.optionalKey<Schema.String>;
4469
+ 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"]>;
4470
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4471
+ readonly requiredScope: Schema.String;
4472
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4473
+ }>, Schema.Struct<{
4474
+ readonly requiredScope: Schema.String;
4475
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4476
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4477
+ }>, Schema.Struct<{
4478
+ readonly retryable: Schema.Boolean;
4479
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4480
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4481
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4482
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4483
+ }>]>>;
4484
+ }>]>;
4485
+ export type MaintainerGetMaintainer404 = ProblemDetails;
4486
+ export declare const MaintainerGetMaintainer404: Schema.Struct<{
4487
+ readonly type: Schema.String;
4488
+ readonly title: Schema.String;
4489
+ readonly status: Schema.Number;
4490
+ readonly detail: Schema.String;
4491
+ readonly instance: Schema.optionalKey<Schema.String>;
4492
+ readonly code: Schema.String;
4493
+ readonly details: Schema.optionalKey<Schema.Struct<{
4494
+ readonly retryable: Schema.Boolean;
4495
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4496
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4497
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4498
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4499
+ }>>;
4500
+ }>;
4501
+ export type MaintainerSetMaintainerRequestJson = MaintainerTarget;
4502
+ export declare const MaintainerSetMaintainerRequestJson: Schema.Union<readonly [Schema.Struct<{
4503
+ readonly kind: Schema.Literal<"user">;
4504
+ readonly userId: Schema.String;
4505
+ }>, Schema.Struct<{
4506
+ readonly kind: Schema.Literal<"team">;
4507
+ readonly teamId: Schema.String;
4508
+ }>]>;
4509
+ export type MaintainerSetMaintainer200 = Maintainer;
4510
+ export declare const MaintainerSetMaintainer200: Schema.Union<readonly [Schema.Struct<{
4511
+ readonly kind: Schema.Literal<"user">;
4512
+ readonly userId: Schema.String;
4513
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4514
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4515
+ }>, Schema.Struct<{
4516
+ readonly kind: Schema.Literal<"team">;
4517
+ readonly teamId: Schema.String;
4518
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4519
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4520
+ }>, Schema.Struct<{
4521
+ readonly kind: Schema.Literal<"none">;
4522
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4523
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4524
+ }>]>;
4525
+ export type MaintainerSetMaintainer400 = DecodeErrorResponse;
4526
+ export declare const MaintainerSetMaintainer400: Schema.Struct<{
4527
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4528
+ readonly type: Schema.String;
4529
+ readonly title: Schema.String;
4530
+ readonly status: Schema.Number;
4531
+ readonly detail: Schema.String;
4532
+ readonly instance: Schema.optionalKey<Schema.String>;
4533
+ readonly code: Schema.String;
4534
+ }>;
4535
+ export type MaintainerSetMaintainer401 = ProblemDetails;
4536
+ export declare const MaintainerSetMaintainer401: Schema.Struct<{
4537
+ readonly type: Schema.String;
4538
+ readonly title: Schema.String;
4539
+ readonly status: Schema.Number;
4540
+ readonly detail: Schema.String;
4541
+ readonly instance: Schema.optionalKey<Schema.String>;
4542
+ readonly code: Schema.String;
4543
+ readonly details: Schema.optionalKey<Schema.Struct<{
4544
+ readonly retryable: Schema.Boolean;
4545
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4546
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4547
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4548
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4549
+ }>>;
4550
+ }>;
4551
+ export type MaintainerSetMaintainer403 = ForbiddenError | ForbiddenError;
4552
+ export declare const MaintainerSetMaintainer403: Schema.Union<readonly [Schema.Struct<{
4553
+ readonly kind: Schema.Literal<"ForbiddenError">;
4554
+ readonly type: Schema.String;
4555
+ readonly title: Schema.String;
4556
+ readonly status: Schema.Number;
4557
+ readonly detail: Schema.String;
4558
+ readonly instance: Schema.optionalKey<Schema.String>;
4559
+ 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"]>;
4560
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4561
+ readonly requiredScope: Schema.String;
4562
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4563
+ }>, Schema.Struct<{
4564
+ readonly requiredScope: Schema.String;
4565
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4566
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4567
+ }>, Schema.Struct<{
4568
+ readonly retryable: Schema.Boolean;
4569
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4570
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4571
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4572
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4573
+ }>]>>;
4574
+ }>, Schema.Struct<{
4575
+ readonly kind: Schema.Literal<"ForbiddenError">;
4576
+ readonly type: Schema.String;
4577
+ readonly title: Schema.String;
4578
+ readonly status: Schema.Number;
4579
+ readonly detail: Schema.String;
4580
+ readonly instance: Schema.optionalKey<Schema.String>;
4581
+ 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"]>;
4582
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4583
+ readonly requiredScope: Schema.String;
4584
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4585
+ }>, Schema.Struct<{
4586
+ readonly requiredScope: Schema.String;
4587
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4588
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4589
+ }>, Schema.Struct<{
4590
+ readonly retryable: Schema.Boolean;
4591
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4592
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4593
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4594
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4595
+ }>]>>;
4596
+ }>]>;
4597
+ export type MaintainerSetMaintainer404 = ProblemDetails;
4598
+ export declare const MaintainerSetMaintainer404: Schema.Struct<{
4599
+ readonly type: Schema.String;
4600
+ readonly title: Schema.String;
4601
+ readonly status: Schema.Number;
4602
+ readonly detail: Schema.String;
4603
+ readonly instance: Schema.optionalKey<Schema.String>;
4604
+ readonly code: Schema.String;
4605
+ readonly details: Schema.optionalKey<Schema.Struct<{
4606
+ readonly retryable: Schema.Boolean;
4607
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4608
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4609
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4610
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4611
+ }>>;
4612
+ }>;
4613
+ export type MaintainerSetMaintainer422 = ProblemDetails;
4614
+ export declare const MaintainerSetMaintainer422: Schema.Struct<{
4615
+ readonly type: Schema.String;
4616
+ readonly title: Schema.String;
4617
+ readonly status: Schema.Number;
4618
+ readonly detail: Schema.String;
4619
+ readonly instance: Schema.optionalKey<Schema.String>;
4620
+ readonly code: Schema.String;
4621
+ readonly details: Schema.optionalKey<Schema.Struct<{
4622
+ readonly retryable: Schema.Boolean;
4623
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4624
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4625
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4626
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4627
+ }>>;
4628
+ }>;
4629
+ export type MaintainerClearMaintainer200 = Maintainer;
4630
+ export declare const MaintainerClearMaintainer200: Schema.Union<readonly [Schema.Struct<{
4631
+ readonly kind: Schema.Literal<"user">;
4632
+ readonly userId: Schema.String;
4633
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4634
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4635
+ }>, Schema.Struct<{
4636
+ readonly kind: Schema.Literal<"team">;
4637
+ readonly teamId: Schema.String;
4638
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4639
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4640
+ }>, Schema.Struct<{
4641
+ readonly kind: Schema.Literal<"none">;
4642
+ readonly assignedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
4643
+ readonly assignedBy: Schema.Union<readonly [Schema.String, Schema.Null]>;
4644
+ }>]>;
4645
+ export type MaintainerClearMaintainer400 = DecodeErrorResponse;
4646
+ export declare const MaintainerClearMaintainer400: Schema.Struct<{
4647
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
4648
+ readonly type: Schema.String;
4649
+ readonly title: Schema.String;
4650
+ readonly status: Schema.Number;
4651
+ readonly detail: Schema.String;
4652
+ readonly instance: Schema.optionalKey<Schema.String>;
4653
+ readonly code: Schema.String;
4654
+ }>;
4655
+ export type MaintainerClearMaintainer401 = ProblemDetails;
4656
+ export declare const MaintainerClearMaintainer401: Schema.Struct<{
4657
+ readonly type: Schema.String;
4658
+ readonly title: Schema.String;
4659
+ readonly status: Schema.Number;
4660
+ readonly detail: Schema.String;
4661
+ readonly instance: Schema.optionalKey<Schema.String>;
4662
+ readonly code: Schema.String;
4663
+ readonly details: Schema.optionalKey<Schema.Struct<{
4664
+ readonly retryable: Schema.Boolean;
4665
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4666
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4667
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4668
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4669
+ }>>;
4670
+ }>;
4671
+ export type MaintainerClearMaintainer403 = ForbiddenError | ForbiddenError;
4672
+ export declare const MaintainerClearMaintainer403: Schema.Union<readonly [Schema.Struct<{
4673
+ readonly kind: Schema.Literal<"ForbiddenError">;
4674
+ readonly type: Schema.String;
4675
+ readonly title: Schema.String;
4676
+ readonly status: Schema.Number;
4677
+ readonly detail: Schema.String;
4678
+ readonly instance: Schema.optionalKey<Schema.String>;
4679
+ 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"]>;
4680
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4681
+ readonly requiredScope: Schema.String;
4682
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4683
+ }>, Schema.Struct<{
4684
+ readonly requiredScope: Schema.String;
4685
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4686
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4687
+ }>, Schema.Struct<{
4688
+ readonly retryable: Schema.Boolean;
4689
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4690
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4691
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4692
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4693
+ }>]>>;
4694
+ }>, Schema.Struct<{
4695
+ readonly kind: Schema.Literal<"ForbiddenError">;
4696
+ readonly type: Schema.String;
4697
+ readonly title: Schema.String;
4698
+ readonly status: Schema.Number;
4699
+ readonly detail: Schema.String;
4700
+ readonly instance: Schema.optionalKey<Schema.String>;
4701
+ 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"]>;
4702
+ readonly details: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
4703
+ readonly requiredScope: Schema.String;
4704
+ readonly grantedScopes: Schema.$Array<Schema.String>;
4705
+ }>, Schema.Struct<{
4706
+ readonly requiredScope: Schema.String;
4707
+ readonly tokenScopes: Schema.$Array<Schema.String>;
4708
+ readonly requiredRole: Schema.optionalKey<Schema.String>;
4709
+ }>, Schema.Struct<{
4710
+ readonly retryable: Schema.Boolean;
4711
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4712
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4713
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4714
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4715
+ }>]>>;
4716
+ }>]>;
4717
+ export type MaintainerClearMaintainer404 = ProblemDetails;
4718
+ export declare const MaintainerClearMaintainer404: Schema.Struct<{
4719
+ readonly type: Schema.String;
4720
+ readonly title: Schema.String;
4721
+ readonly status: Schema.Number;
4722
+ readonly detail: Schema.String;
4723
+ readonly instance: Schema.optionalKey<Schema.String>;
4724
+ readonly code: Schema.String;
4725
+ readonly details: Schema.optionalKey<Schema.Struct<{
4726
+ readonly retryable: Schema.Boolean;
4727
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4728
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4729
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4730
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4731
+ }>>;
4732
+ }>;
4733
+ export type MaintainerClearMaintainer422 = ProblemDetails;
4734
+ export declare const MaintainerClearMaintainer422: Schema.Struct<{
4735
+ readonly type: Schema.String;
4736
+ readonly title: Schema.String;
4737
+ readonly status: Schema.Number;
4738
+ readonly detail: Schema.String;
4739
+ readonly instance: Schema.optionalKey<Schema.String>;
4740
+ readonly code: Schema.String;
4741
+ readonly details: Schema.optionalKey<Schema.Struct<{
4742
+ readonly retryable: Schema.Boolean;
4743
+ readonly retryAfterSeconds: Schema.optionalKey<Schema.Number>;
4744
+ readonly requiredScope: Schema.optionalKey<Schema.String>;
4745
+ readonly tokenScopes: Schema.optionalKey<Schema.$Array<Schema.String>>;
4746
+ readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4747
+ }>>;
4748
+ }>;
4749
+ export type DiscoveryPostDiscoveryRequestJson = {
4750
+ readonly client: {
4751
+ readonly axmVersion: string;
4752
+ };
4753
+ readonly packages: ReadonlyArray<{
4061
4754
  readonly purl: string;
4062
4755
  readonly version: string;
4063
4756
  readonly declaredExtensions: ReadonlyArray<{
@@ -4306,7 +4999,7 @@ export declare const SearchSearchExtensions200: Schema.Struct<{
4306
4999
  readonly extensions: Schema.$Array<Schema.Struct<{
4307
5000
  readonly name: Schema.String;
4308
5001
  readonly owner: Schema.String;
4309
- readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "context", "rule", "pack"]>;
5002
+ readonly type: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook", "pack"]>;
4310
5003
  readonly latestVersion: Schema.String;
4311
5004
  readonly description: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4312
5005
  readonly repository: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
@@ -4610,6 +5303,12 @@ export interface RegistryClient {
4610
5303
  readonly CollaboratorsDeleteCollaborator: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
4611
5304
  readonly config?: Config | undefined;
4612
5305
  } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"CollaboratorsDeleteCollaborator400", typeof CollaboratorsDeleteCollaborator400.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator401", typeof CollaboratorsDeleteCollaborator401.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator403", typeof CollaboratorsDeleteCollaborator403.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator404", typeof CollaboratorsDeleteCollaborator404.Type> | RegistryClientError<"CollaboratorsDeleteCollaborator409", typeof CollaboratorsDeleteCollaborator409.Type>>;
5306
+ /**
5307
+ * List extension grants
5308
+ */
5309
+ readonly TeamGrantsListExtensionGrants: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
5310
+ readonly config?: Config | undefined;
5311
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsListExtensionGrants200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsListExtensionGrants400", typeof TeamGrantsListExtensionGrants400.Type> | RegistryClientError<"TeamGrantsListExtensionGrants401", typeof TeamGrantsListExtensionGrants401.Type> | RegistryClientError<"TeamGrantsListExtensionGrants403", typeof TeamGrantsListExtensionGrants403.Type> | RegistryClientError<"TeamGrantsListExtensionGrants404", typeof TeamGrantsListExtensionGrants404.Type>>;
4613
5312
  /**
4614
5313
  * Creates or updates a grant of a team's access to this extension. The team must belong to the same organization that owns the extension (otherwise 422). Only team admins or organization owners/admins may grant.
4615
5314
  */
@@ -4617,12 +5316,44 @@ export interface RegistryClient {
4617
5316
  readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantRequestJson.Encoded;
4618
5317
  readonly config?: Config | undefined;
4619
5318
  }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant400", typeof TeamGrantsUpsertTeamExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant401", typeof TeamGrantsUpsertTeamExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant403", typeof TeamGrantsUpsertTeamExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant404", typeof TeamGrantsUpsertTeamExtensionGrant404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrant422", typeof TeamGrantsUpsertTeamExtensionGrant422.Type>>;
5319
+ /**
5320
+ * Adds or updates the user grant identified by userId on the extension.
5321
+ */
5322
+ readonly TeamGrantsUpsertUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
5323
+ readonly payload: typeof TeamGrantsUpsertUserExtensionGrantRequestJson.Encoded;
5324
+ readonly config?: Config | undefined;
5325
+ }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertUserExtensionGrant200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant400", typeof TeamGrantsUpsertUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant401", typeof TeamGrantsUpsertUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant403", typeof TeamGrantsUpsertUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsUpsertUserExtensionGrant404", typeof TeamGrantsUpsertUserExtensionGrant404.Type>>;
5326
+ /**
5327
+ * Removes the user grant identified by userId from the extension.
5328
+ */
5329
+ readonly TeamGrantsDeleteUserExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, userId: string, options: {
5330
+ readonly config?: Config | undefined;
5331
+ } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant400", typeof TeamGrantsDeleteUserExtensionGrant400.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant401", typeof TeamGrantsDeleteUserExtensionGrant401.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant403", typeof TeamGrantsDeleteUserExtensionGrant403.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant404", typeof TeamGrantsDeleteUserExtensionGrant404.Type> | RegistryClientError<"TeamGrantsDeleteUserExtensionGrant409", typeof TeamGrantsDeleteUserExtensionGrant409.Type>>;
5332
+ /**
5333
+ * Adds or updates the team grant identified by teamId on the extension.
5334
+ */
5335
+ readonly TeamGrantsUpsertTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
5336
+ readonly payload: typeof TeamGrantsUpsertTeamExtensionGrantByIdRequestJson.Encoded;
5337
+ readonly config?: Config | undefined;
5338
+ }) => Effect.Effect<WithOptionalResponse<typeof TeamGrantsUpsertTeamExtensionGrantById200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById400", typeof TeamGrantsUpsertTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById401", typeof TeamGrantsUpsertTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById403", typeof TeamGrantsUpsertTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById404", typeof TeamGrantsUpsertTeamExtensionGrantById404.Type> | RegistryClientError<"TeamGrantsUpsertTeamExtensionGrantById422", typeof TeamGrantsUpsertTeamExtensionGrantById422.Type>>;
5339
+ /**
5340
+ * Removes the team grant identified by teamId from the extension.
5341
+ */
5342
+ readonly TeamGrantsDeleteTeamExtensionGrantById: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
5343
+ readonly config?: Config | undefined;
5344
+ } | undefined) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById400", typeof TeamGrantsDeleteTeamExtensionGrantById400.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById401", typeof TeamGrantsDeleteTeamExtensionGrantById401.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById403", typeof TeamGrantsDeleteTeamExtensionGrantById403.Type> | RegistryClientError<"TeamGrantsDeleteTeamExtensionGrantById404", typeof TeamGrantsDeleteTeamExtensionGrantById404.Type>>;
4620
5345
  /**
4621
5346
  * Removes a team's grant on this extension. Idempotent — deleting a non-existent grant still returns 204.
4622
5347
  */
4623
5348
  readonly TeamGrantsDeleteTeamExtensionGrant: <Config extends OperationConfig>(owner: string, type: string, name: string, teamId: string, options: {
4624
5349
  readonly config?: Config | undefined;
4625
5350
  } | 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>>;
5351
+ /**
5352
+ * Returns the apex maintainer for an extension, or none when org-owner fallback is active.
5353
+ */
5354
+ readonly MaintainerGetMaintainer: <Config extends OperationConfig>(owner: string, type: string, name: string, options: {
5355
+ readonly config?: Config | undefined;
5356
+ } | undefined) => Effect.Effect<WithOptionalResponse<typeof MaintainerGetMaintainer200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"MaintainerGetMaintainer400", typeof MaintainerGetMaintainer400.Type> | RegistryClientError<"MaintainerGetMaintainer401", typeof MaintainerGetMaintainer401.Type> | RegistryClientError<"MaintainerGetMaintainer403", typeof MaintainerGetMaintainer403.Type> | RegistryClientError<"MaintainerGetMaintainer404", typeof MaintainerGetMaintainer404.Type>>;
4626
5357
  /**
4627
5358
  * Sets or transfers the apex maintainer for an extension to an eligible user or team.
4628
5359
  */