@agentxm/client-core 0.14.0 → 0.15.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 (311) hide show
  1. package/dist/src/unstable/agent-capabilities/catalog.d.ts +11184 -0
  2. package/dist/src/unstable/agent-capabilities/{__generated__/catalog.d.ts.map → catalog.d.ts.map} +1 -1
  3. package/dist/src/unstable/agent-capabilities/catalog.js +132 -0
  4. package/dist/src/unstable/agent-capabilities/catalog.js.map +1 -0
  5. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts +81 -0
  6. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts.map +1 -0
  7. package/dist/src/unstable/agent-capabilities/data/agents/adal.js +83 -0
  8. package/dist/src/unstable/agent-capabilities/data/agents/adal.js.map +1 -0
  9. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts +73 -0
  10. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts.map +1 -0
  11. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js +78 -0
  12. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js.map +1 -0
  13. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts +85 -0
  14. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts.map +1 -0
  15. package/dist/src/unstable/agent-capabilities/data/agents/amp.js +87 -0
  16. package/dist/src/unstable/agent-capabilities/data/agents/amp.js.map +1 -0
  17. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts +109 -0
  18. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts.map +1 -0
  19. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js +117 -0
  20. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js.map +1 -0
  21. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +88 -0
  22. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts.map +1 -0
  23. package/dist/src/unstable/agent-capabilities/data/agents/augment.js +90 -0
  24. package/dist/src/unstable/agent-capabilities/data/agents/augment.js.map +1 -0
  25. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +190 -0
  26. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts.map +1 -0
  27. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +212 -0
  28. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js.map +1 -0
  29. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts +82 -0
  30. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts.map +1 -0
  31. package/dist/src/unstable/agent-capabilities/data/agents/cline.js +84 -0
  32. package/dist/src/unstable/agent-capabilities/data/agents/cline.js.map +1 -0
  33. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts +73 -0
  34. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts.map +1 -0
  35. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js +75 -0
  36. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js.map +1 -0
  37. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +88 -0
  38. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts.map +1 -0
  39. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +92 -0
  40. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js.map +1 -0
  41. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts +73 -0
  42. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts.map +1 -0
  43. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js +75 -0
  44. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js.map +1 -0
  45. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts +73 -0
  46. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts.map +1 -0
  47. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js +75 -0
  48. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js.map +1 -0
  49. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +184 -0
  50. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts.map +1 -0
  51. package/dist/src/unstable/agent-capabilities/data/agents/codex.js +207 -0
  52. package/dist/src/unstable/agent-capabilities/data/agents/codex.js.map +1 -0
  53. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts +114 -0
  54. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts.map +1 -0
  55. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +119 -0
  56. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js.map +1 -0
  57. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts +85 -0
  58. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts.map +1 -0
  59. package/dist/src/unstable/agent-capabilities/data/agents/continue.js +87 -0
  60. package/dist/src/unstable/agent-capabilities/data/agents/continue.js.map +1 -0
  61. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts +73 -0
  62. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts.map +1 -0
  63. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js +78 -0
  64. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js.map +1 -0
  65. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts +119 -0
  66. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts.map +1 -0
  67. package/dist/src/unstable/agent-capabilities/data/agents/crush.js +124 -0
  68. package/dist/src/unstable/agent-capabilities/data/agents/crush.js.map +1 -0
  69. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +190 -0
  70. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts.map +1 -0
  71. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +213 -0
  72. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js.map +1 -0
  73. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +73 -0
  74. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts.map +1 -0
  75. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +78 -0
  76. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js.map +1 -0
  77. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts +81 -0
  78. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts.map +1 -0
  79. package/dist/src/unstable/agent-capabilities/data/agents/devin.js +86 -0
  80. package/dist/src/unstable/agent-capabilities/data/agents/devin.js.map +1 -0
  81. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts +73 -0
  82. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts.map +1 -0
  83. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js +75 -0
  84. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js.map +1 -0
  85. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts +84 -0
  86. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts.map +1 -0
  87. package/dist/src/unstable/agent-capabilities/data/agents/droid.js +86 -0
  88. package/dist/src/unstable/agent-capabilities/data/agents/droid.js.map +1 -0
  89. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts +73 -0
  90. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts.map +1 -0
  91. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js +75 -0
  92. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js.map +1 -0
  93. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts +81 -0
  94. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts.map +1 -0
  95. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js +86 -0
  96. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js.map +1 -0
  97. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +165 -0
  98. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts.map +1 -0
  99. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +189 -0
  100. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js.map +1 -0
  101. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot.d.ts +167 -0
  102. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot.d.ts.map +1 -0
  103. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot.js +184 -0
  104. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot.js.map +1 -0
  105. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts +107 -0
  106. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts.map +1 -0
  107. package/dist/src/unstable/agent-capabilities/data/agents/goose.js +111 -0
  108. package/dist/src/unstable/agent-capabilities/data/agents/goose.js.map +1 -0
  109. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts +86 -0
  110. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts.map +1 -0
  111. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js +88 -0
  112. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js.map +1 -0
  113. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +86 -0
  114. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts.map +1 -0
  115. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +88 -0
  116. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js.map +1 -0
  117. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +118 -0
  118. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts.map +1 -0
  119. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +123 -0
  120. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js.map +1 -0
  121. package/dist/src/unstable/agent-capabilities/data/agents/index.d.ts +55 -0
  122. package/dist/src/unstable/agent-capabilities/data/agents/index.d.ts.map +1 -0
  123. package/dist/src/unstable/agent-capabilities/data/agents/index.js +55 -0
  124. package/dist/src/unstable/agent-capabilities/data/agents/index.js.map +1 -0
  125. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts +123 -0
  126. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts.map +1 -0
  127. package/dist/src/unstable/agent-capabilities/data/agents/junie.js +127 -0
  128. package/dist/src/unstable/agent-capabilities/data/agents/junie.js.map +1 -0
  129. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts +133 -0
  130. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts.map +1 -0
  131. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js +139 -0
  132. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js.map +1 -0
  133. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts +111 -0
  134. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts.map +1 -0
  135. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js +116 -0
  136. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js.map +1 -0
  137. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +127 -0
  138. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts.map +1 -0
  139. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +132 -0
  140. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js.map +1 -0
  141. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts +99 -0
  142. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts.map +1 -0
  143. package/dist/src/unstable/agent-capabilities/data/agents/kode.js +104 -0
  144. package/dist/src/unstable/agent-capabilities/data/agents/kode.js.map +1 -0
  145. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts +73 -0
  146. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts.map +1 -0
  147. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js +75 -0
  148. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js.map +1 -0
  149. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts +126 -0
  150. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts.map +1 -0
  151. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js +131 -0
  152. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js.map +1 -0
  153. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts +85 -0
  154. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts.map +1 -0
  155. package/dist/src/unstable/agent-capabilities/data/agents/mux.js +87 -0
  156. package/dist/src/unstable/agent-capabilities/data/agents/mux.js.map +1 -0
  157. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts +111 -0
  158. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts.map +1 -0
  159. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js +116 -0
  160. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js.map +1 -0
  161. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts +73 -0
  162. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts.map +1 -0
  163. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js +78 -0
  164. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js.map +1 -0
  165. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +121 -0
  166. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts.map +1 -0
  167. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +126 -0
  168. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js.map +1 -0
  169. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts +86 -0
  170. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts.map +1 -0
  171. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js +91 -0
  172. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js.map +1 -0
  173. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +84 -0
  174. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts.map +1 -0
  175. package/dist/src/unstable/agent-capabilities/data/agents/pi.js +86 -0
  176. package/dist/src/unstable/agent-capabilities/data/agents/pi.js.map +1 -0
  177. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts +111 -0
  178. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts.map +1 -0
  179. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js +116 -0
  180. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js.map +1 -0
  181. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +173 -0
  182. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts.map +1 -0
  183. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +192 -0
  184. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js.map +1 -0
  185. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +115 -0
  186. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts.map +1 -0
  187. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +120 -0
  188. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js.map +1 -0
  189. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts +107 -0
  190. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts.map +1 -0
  191. package/dist/src/unstable/agent-capabilities/data/agents/replit.js +111 -0
  192. package/dist/src/unstable/agent-capabilities/data/agents/replit.js.map +1 -0
  193. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +127 -0
  194. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts.map +1 -0
  195. package/dist/src/unstable/agent-capabilities/data/agents/roo.js +132 -0
  196. package/dist/src/unstable/agent-capabilities/data/agents/roo.js.map +1 -0
  197. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts +77 -0
  198. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts.map +1 -0
  199. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js +82 -0
  200. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js.map +1 -0
  201. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts +76 -0
  202. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts.map +1 -0
  203. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js +78 -0
  204. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js.map +1 -0
  205. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts +116 -0
  206. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts.map +1 -0
  207. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js +120 -0
  208. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js.map +1 -0
  209. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts +116 -0
  210. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts.map +1 -0
  211. package/dist/src/unstable/agent-capabilities/data/agents/trae.js +120 -0
  212. package/dist/src/unstable/agent-capabilities/data/agents/trae.js.map +1 -0
  213. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts +73 -0
  214. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts.map +1 -0
  215. package/dist/src/unstable/agent-capabilities/data/agents/warp.js +75 -0
  216. package/dist/src/unstable/agent-capabilities/data/agents/warp.js.map +1 -0
  217. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +136 -0
  218. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts.map +1 -0
  219. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +147 -0
  220. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js.map +1 -0
  221. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts +111 -0
  222. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts.map +1 -0
  223. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js +119 -0
  224. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js.map +1 -0
  225. package/dist/src/unstable/agent-capabilities/derive.d.ts +8 -154
  226. package/dist/src/unstable/agent-capabilities/derive.d.ts.map +1 -1
  227. package/dist/src/unstable/agent-capabilities/derive.js +34 -70
  228. package/dist/src/unstable/agent-capabilities/derive.js.map +1 -1
  229. package/dist/src/unstable/agent-capabilities/index.d.ts +4 -5
  230. package/dist/src/unstable/agent-capabilities/index.d.ts.map +1 -1
  231. package/dist/src/unstable/agent-capabilities/index.js +4 -5
  232. package/dist/src/unstable/agent-capabilities/index.js.map +1 -1
  233. package/dist/src/unstable/agent-capabilities/lookup.d.ts +1 -1
  234. package/dist/src/unstable/agent-capabilities/lookup.d.ts.map +1 -1
  235. package/dist/src/unstable/agent-capabilities/lookup.js +1 -1
  236. package/dist/src/unstable/agent-capabilities/lookup.js.map +1 -1
  237. package/dist/src/unstable/agent-capabilities/schema.d.ts +767 -285
  238. package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
  239. package/dist/src/unstable/agent-capabilities/schema.js +260 -144
  240. package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
  241. package/dist/src/unstable/agents/instructions.d.ts +31 -1
  242. package/dist/src/unstable/agents/instructions.d.ts.map +1 -1
  243. package/dist/src/unstable/agents/instructions.js +23 -10
  244. package/dist/src/unstable/agents/instructions.js.map +1 -1
  245. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
  246. package/dist/src/unstable/agents/mcp-sync.js +14 -21
  247. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  248. package/dist/src/unstable/agents/registry.js +1 -1
  249. package/dist/src/unstable/agents/registry.js.map +1 -1
  250. package/dist/src/unstable/agents/types.d.ts +1 -1
  251. package/dist/src/unstable/agents/types.d.ts.map +1 -1
  252. package/dist/src/unstable/agents/types.js +1 -1
  253. package/dist/src/unstable/agents/types.js.map +1 -1
  254. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +3 -3
  255. package/dist/src/unstable/extension-types/catalog.d.ts +144 -0
  256. package/dist/src/unstable/extension-types/catalog.d.ts.map +1 -0
  257. package/dist/src/unstable/extension-types/catalog.js +68 -0
  258. package/dist/src/unstable/extension-types/catalog.js.map +1 -0
  259. package/dist/src/unstable/extension-types/derive.d.ts +13 -0
  260. package/dist/src/unstable/extension-types/derive.d.ts.map +1 -0
  261. package/dist/src/unstable/extension-types/derive.js +13 -0
  262. package/dist/src/unstable/extension-types/derive.js.map +1 -0
  263. package/dist/src/unstable/extension-types/index.d.ts +5 -0
  264. package/dist/src/unstable/extension-types/index.d.ts.map +1 -0
  265. package/dist/src/unstable/extension-types/index.js +5 -0
  266. package/dist/src/unstable/extension-types/index.js.map +1 -0
  267. package/dist/src/unstable/extension-types/schema.d.ts +154 -0
  268. package/dist/src/unstable/extension-types/schema.d.ts.map +1 -0
  269. package/dist/src/unstable/extension-types/schema.js +85 -0
  270. package/dist/src/unstable/extension-types/schema.js.map +1 -0
  271. package/dist/src/unstable/{agent-capabilities → extension-types}/standards.d.ts +2 -2
  272. package/dist/src/unstable/extension-types/standards.d.ts.map +1 -0
  273. package/dist/src/unstable/{agent-capabilities → extension-types}/standards.js +2 -2
  274. package/dist/src/unstable/extension-types/standards.js.map +1 -0
  275. package/dist/src/unstable/mcps/resolution.d.ts +2 -2
  276. package/dist/src/unstable/mcps/resolution.d.ts.map +1 -1
  277. package/dist/src/unstable/mcps/resolution.js +11 -9
  278. package/dist/src/unstable/mcps/resolution.js.map +1 -1
  279. package/dist/src/unstable/workspace/initialization-interaction.d.ts +32 -0
  280. package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -1
  281. package/dist/src/unstable/workspace/initialization-interaction.js +65 -5
  282. package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -1
  283. package/dist/src/unstable/workspace/initialization.d.ts +60 -67
  284. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  285. package/dist/src/unstable/workspace/initialization.js +349 -50
  286. package/dist/src/unstable/workspace/initialization.js.map +1 -1
  287. package/dist/src/unstable/workspace/read-model/discovery/subagents.d.ts +1 -1
  288. package/dist/src/unstable/workspace/service-interface.d.ts +6 -0
  289. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  290. package/dist/src/unstable/workspace/service.d.ts +5 -5
  291. package/package.json +6 -2
  292. package/site-content/__generated__/schemas/axm-lock.schema.json +0 -1
  293. package/site-content/__generated__/schemas/axm-package-meta.schema.json +0 -1
  294. package/site-content/__generated__/schemas/command.schema.json +0 -1
  295. package/site-content/__generated__/schemas/files.schema.json +0 -1
  296. package/site-content/__generated__/schemas/hook.schema.json +0 -1
  297. package/site-content/__generated__/schemas/mcp-server.schema.json +0 -1
  298. package/site-content/__generated__/schemas/pack.schema.json +0 -1
  299. package/site-content/__generated__/schemas/rule.schema.json +0 -1
  300. package/site-content/__generated__/schemas/settings.schema.json +0 -1
  301. package/site-content/__generated__/schemas/skill.schema.json +0 -1
  302. package/site-content/__generated__/schemas/subagent.schema.json +0 -1
  303. package/dist/src/unstable/agent-capabilities/__generated__/catalog.d.ts +0 -6673
  304. package/dist/src/unstable/agent-capabilities/__generated__/catalog.js +0 -7428
  305. package/dist/src/unstable/agent-capabilities/__generated__/catalog.js.map +0 -1
  306. package/dist/src/unstable/agent-capabilities/standards.d.ts.map +0 -1
  307. package/dist/src/unstable/agent-capabilities/standards.js.map +0 -1
  308. package/dist/src/unstable/agent-capabilities/validate.d.ts +0 -19
  309. package/dist/src/unstable/agent-capabilities/validate.d.ts.map +0 -1
  310. package/dist/src/unstable/agent-capabilities/validate.js +0 -163
  311. package/dist/src/unstable/agent-capabilities/validate.js.map +0 -1
@@ -0,0 +1,119 @@
1
+ export const zencoderAgent = {
2
+ id: "zencoder",
3
+ name: "Zencoder",
4
+ vendor: "Zencoder",
5
+ homepage: "https://zencoder.ai",
6
+ interfaces: ["ide-extension"],
7
+ family: null,
8
+ rootDir: ".zencoder",
9
+ detection: {
10
+ projectDirs: [],
11
+ userDirs: [],
12
+ },
13
+ docs: [
14
+ {
15
+ label: "Zencoder documentation",
16
+ url: "https://docs.zencoder.ai",
17
+ },
18
+ ],
19
+ capabilities: {
20
+ skill: {
21
+ lifecycle: "supported",
22
+ notes: null,
23
+ docs: [],
24
+ sources: ["https://docs.zencoder.ai/features/agent-skills"],
25
+ lastVerified: "2026-05-20",
26
+ scopes: ["user", "project"],
27
+ standardsCompliance: "full",
28
+ convention: "vendor",
29
+ directory: ".zencoder/skills",
30
+ },
31
+ command: {
32
+ lifecycle: "unsupported",
33
+ notes: null,
34
+ docs: [],
35
+ sources: [],
36
+ },
37
+ "mcp-server": {
38
+ lifecycle: "supported",
39
+ notes: null,
40
+ docs: [],
41
+ sources: ["https://docs.zencoder.ai/features/integrations-and-mcp"],
42
+ lastVerified: "2026-05-20",
43
+ scopes: ["user", "project"],
44
+ standardsCompliance: "full",
45
+ convention: "universal",
46
+ transports: ["stdio"],
47
+ config: {
48
+ serversKey: "mcpServers",
49
+ nativeEnabled: true,
50
+ targets: [
51
+ {
52
+ scope: "user",
53
+ path: "~/.zencoder/mcp.json",
54
+ format: "json",
55
+ },
56
+ {
57
+ scope: "project",
58
+ path: ".zencoder/mcp.json",
59
+ format: "json",
60
+ },
61
+ ],
62
+ stdio: {
63
+ typeField: null,
64
+ command: "split",
65
+ envKey: "env",
66
+ },
67
+ remote: null,
68
+ transform: null,
69
+ },
70
+ },
71
+ subagent: {
72
+ lifecycle: "supported",
73
+ notes: "No industry spec for subagents yet; AXM bridges to the agent's native layout.",
74
+ docs: [],
75
+ sources: ["https://docs.zencoder.ai/features/agents-overview"],
76
+ lastVerified: "2026-05-20",
77
+ scopes: ["user", "project"],
78
+ directory: ".zencoder/agents",
79
+ layout: "directory",
80
+ },
81
+ files: {
82
+ lifecycle: "unsupported",
83
+ notes: null,
84
+ docs: [],
85
+ sources: [],
86
+ },
87
+ rule: {
88
+ lifecycle: "supported",
89
+ notes: "Uses a vendor rule directory under the AGENTS.md-governed rule umbrella.",
90
+ docs: [],
91
+ sources: [
92
+ "https://docs.zencoder.ai/features/agents-overview",
93
+ "https://docs.zencoder.ai/learn/10x-engineer/module-03",
94
+ ],
95
+ lastVerified: "2026-05-20",
96
+ scopes: ["project"],
97
+ standardsCompliance: "partial",
98
+ convention: "vendor",
99
+ kind: "rules-dir",
100
+ files: ["*.md"],
101
+ nestedDiscovery: false,
102
+ importSyntax: null,
103
+ directory: ".zencoder/rules",
104
+ },
105
+ hook: {
106
+ lifecycle: "unsupported",
107
+ notes: null,
108
+ docs: [],
109
+ sources: [],
110
+ },
111
+ },
112
+ permissions: {
113
+ lifecycle: "unsupported",
114
+ notes: null,
115
+ docs: [],
116
+ sources: [],
117
+ },
118
+ };
119
+ //# sourceMappingURL=zencoder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zencoder.js","sourceRoot":"","sources":["../../../../../../src/unstable/agent-capabilities/data/agents/zencoder.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,UAAU;IAClB,QAAQ,EAAE,qBAAqB;IAC/B,UAAU,EAAE,CAAC,eAAe,CAAC;IAC7B,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE;QACT,WAAW,EAAE,EAAE;QACf,QAAQ,EAAE,EAAE;KACb;IACD,IAAI,EAAE;QACJ;YACE,KAAK,EAAE,wBAAwB;YAC/B,GAAG,EAAE,0BAA0B;SAChC;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,CAAC,gDAAgD,CAAC;YAC3D,YAAY,EAAE,YAAY;YAC1B,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;YAC3B,mBAAmB,EAAE,MAA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EAAE,EAAE;YACR,OAAO,EAAE,EAAE;SACZ;QACD,IAAI,EAAE;YACJ,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,0EAA0E;YACjF,IAAI,EAAE,EAAE;YACR,OAAO,EAAE;gBACP,mDAAmD;gBACnD,uDAAuD;aACxD;YACD,YAAY,EAAE,YAAY;YAC1B,MAAM,EAAE,CAAC,SAAS,CAAC;YACnB,mBAAmB,EAAE,SAAS;YAC9B,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,CAAC,MAAM,CAAC;YACf,eAAe,EAAE,KAAK;YACtB,YAAY,EAAE,IAAI;YAClB,SAAS,EAAE,iBAAiB;SAC7B;QACD,IAAI,EAAE;YACJ,SAAS,EAAE,aAAa;YACxB,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,EAAE;SACZ;KACF;IACD,WAAW,EAAE;QACX,SAAS,EAAE,aAAa;QACxB,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;KACZ;CACuB,CAAC"}
@@ -3,21 +3,13 @@
3
3
  *
4
4
  * @experimental This API is unstable and may change without notice.
5
5
  */
6
- import type { ExtensionType } from "../extensions/common.js";
7
6
  import type { AgentDescriptor } from "../agents/types.js";
8
- import type { Agent, AgentCapability } from "./schema.js";
9
- /** @experimental This API is unstable and may change without notice. */
10
- export declare const LEAF_EXTENSION_TYPES: readonly ["skill", "command", "mcp-server", "subagent", "files", "rule", "hook"];
11
- /** @experimental This API is unstable and may change without notice. */
12
- export type LeafExtensionType = (typeof LEAF_EXTENSION_TYPES)[number];
13
- /** @experimental This API is unstable and may change without notice. */
14
- export declare const capabilityKinds: readonly ["skills", "commands", "mcp", "subagents", "instructions", "rules", "hooks", "permissions"];
15
- /** @experimental This API is unstable and may change without notice. */
16
- export type CapabilityKind = (typeof capabilityKinds)[number];
7
+ import type { ExtensionType } from "../extensions/common.js";
8
+ import { type Agent, type AgentExtensionCapability, type LeafExtensionType } from "./schema.js";
17
9
  /** @experimental This API is unstable and may change without notice. */
18
10
  export interface CapabilityListing {
19
11
  readonly type: LeafExtensionType;
20
- readonly capability: AgentCapability;
12
+ readonly capability: AgentExtensionCapability;
21
13
  }
22
14
  /** @experimental This API is unstable and may change without notice. */
23
15
  export type ExtensionCompatibilityInput = {
@@ -27,147 +19,9 @@ export type ExtensionCompatibilityInput = {
27
19
  readonly memberTypes: ReadonlyArray<LeafExtensionType>;
28
20
  };
29
21
  /** @experimental This API is unstable and may change without notice. */
30
- export declare const EXTENSION_TYPE_CAPABILITY: {
31
- skill: (agent: Agent) => {
32
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
33
- readonly scopes: readonly ("user" | "project")[];
34
- readonly standardsCompliance: "full" | "parity" | "partial" | "none";
35
- readonly convention: "universal" | "vendor";
36
- readonly notes?: string | undefined;
37
- readonly docs?: readonly {
38
- readonly url: string;
39
- readonly label: string;
40
- }[] | undefined;
41
- readonly sources?: readonly string[] | undefined;
42
- readonly lastVerified?: string | undefined;
43
- readonly directory?: string | undefined;
44
- } | undefined;
45
- command: (agent: Agent) => {
46
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
47
- readonly scopes: readonly ("user" | "project")[];
48
- readonly notes?: string | undefined;
49
- readonly docs?: readonly {
50
- readonly url: string;
51
- readonly label: string;
52
- }[] | undefined;
53
- readonly sources?: readonly string[] | undefined;
54
- readonly lastVerified?: string | undefined;
55
- readonly directory?: string | undefined;
56
- } | undefined;
57
- "mcp-server": (agent: Agent) => {
58
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
59
- readonly scopes: readonly ("user" | "project")[];
60
- readonly standardsCompliance: "full" | "parity" | "partial" | "none";
61
- readonly convention: "universal" | "vendor";
62
- readonly transports: readonly ("stdio" | "http" | "sse")[];
63
- readonly notes?: string | undefined;
64
- readonly docs?: readonly {
65
- readonly url: string;
66
- readonly label: string;
67
- }[] | undefined;
68
- readonly sources?: readonly string[] | undefined;
69
- readonly lastVerified?: string | undefined;
70
- readonly config?: {
71
- readonly targets: readonly {
72
- readonly format: "json" | "jsonc" | "toml" | "starlark" | "vscode-settings";
73
- readonly scope: "user" | "project";
74
- readonly path: string;
75
- }[];
76
- readonly serversKey: "mcpServers" | "servers" | "mcp" | "mcp_servers" | "context_servers";
77
- readonly nativeEnabled: boolean;
78
- readonly stdio?: {
79
- readonly command: "split" | "array";
80
- readonly typeField?: {
81
- readonly name: string;
82
- readonly value: string | {
83
- readonly sse: string;
84
- readonly "streamable-http": string;
85
- };
86
- } | undefined;
87
- readonly envKey?: string | undefined;
88
- } | undefined;
89
- readonly remote?: {
90
- readonly urlKey: {
91
- readonly sse: string;
92
- readonly "streamable-http": string;
93
- };
94
- readonly typeField?: {
95
- readonly name: string;
96
- readonly value: string | {
97
- readonly sse: string;
98
- readonly "streamable-http": string;
99
- };
100
- } | undefined;
101
- readonly headersKey?: string | undefined;
102
- } | undefined;
103
- readonly transform?: string | undefined;
104
- } | undefined;
105
- } | undefined;
106
- subagent: (agent: Agent) => {
107
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
108
- readonly scopes: readonly ("user" | "project")[];
109
- readonly layout: "directory" | "file";
110
- readonly notes?: string | undefined;
111
- readonly docs?: readonly {
112
- readonly url: string;
113
- readonly label: string;
114
- }[] | undefined;
115
- readonly sources?: readonly string[] | undefined;
116
- readonly lastVerified?: string | undefined;
117
- readonly directory?: string | undefined;
118
- } | undefined;
119
- files: (agent: Agent) => {
120
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
121
- readonly scopes: readonly ("user" | "project")[];
122
- readonly standardsCompliance: "full" | "parity" | "partial" | "none";
123
- readonly convention: "universal" | "vendor";
124
- readonly kind: "agents-md" | "own-file" | "rules-dir";
125
- readonly files: readonly string[];
126
- readonly nestedDiscovery: boolean;
127
- readonly notes?: string | undefined;
128
- readonly docs?: readonly {
129
- readonly url: string;
130
- readonly label: string;
131
- }[] | undefined;
132
- readonly sources?: readonly string[] | undefined;
133
- readonly lastVerified?: string | undefined;
134
- readonly importSyntax?: "at-path" | undefined;
135
- } | undefined;
136
- rule: (agent: Agent) => {
137
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
138
- readonly scopes: readonly ("user" | "project")[];
139
- readonly notes?: string | undefined;
140
- readonly docs?: readonly {
141
- readonly url: string;
142
- readonly label: string;
143
- }[] | undefined;
144
- readonly sources?: readonly string[] | undefined;
145
- readonly lastVerified?: string | undefined;
146
- readonly directory?: string | undefined;
147
- } | undefined;
148
- hook: (agent: Agent) => {
149
- readonly lifecycle: "available" | "planned" | "unsupported" | "unknown";
150
- readonly scopes: readonly ("user" | "project")[];
151
- readonly configFiles: readonly {
152
- readonly format: "json" | "jsonc" | "toml" | "starlark" | "vscode-settings";
153
- readonly scope: "user" | "project";
154
- readonly path: string;
155
- readonly gitignored: boolean;
156
- }[];
157
- readonly serializer: "claude-code-settings";
158
- readonly notes?: string | undefined;
159
- readonly docs?: readonly {
160
- readonly url: string;
161
- readonly label: string;
162
- }[] | undefined;
163
- readonly sources?: readonly string[] | undefined;
164
- readonly lastVerified?: string | undefined;
165
- } | undefined;
166
- };
167
- /** @experimental This API is unstable and may change without notice. */
168
22
  export declare const isLeafExtensionType: (value: ExtensionType) => value is LeafExtensionType;
169
23
  /** @experimental This API is unstable and may change without notice. */
170
- export declare const capabilityWorks: (capability: AgentCapability) => boolean;
24
+ export declare const isCapabilitySupported: (capability: AgentExtensionCapability) => boolean;
171
25
  /** @experimental This API is unstable and may change without notice. */
172
26
  export declare const deriveAgentDescriptor: (agent: Agent) => AgentDescriptor;
173
27
  /** @experimental This API is unstable and may change without notice. */
@@ -175,11 +29,11 @@ export declare const listCapabilities: (agent: Agent) => ReadonlyArray<Capabilit
175
29
  /** @experimental This API is unstable and may change without notice. */
176
30
  export declare const agentSupportsType: (agent: Agent, type: LeafExtensionType) => boolean;
177
31
  /** @experimental This API is unstable and may change without notice. */
178
- export declare const supportedTypes: (agent: Agent) => ReadonlyArray<LeafExtensionType>;
32
+ export declare const getSupportedExtensionTypesForAgent: (agent: Agent) => ReadonlyArray<LeafExtensionType>;
179
33
  /** @experimental This API is unstable and may change without notice. */
180
- export declare const worksOnAll: (types: ReadonlyArray<LeafExtensionType>, catalog: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
34
+ export declare const getSupportedAgentsForExtensionTypes: (types: ReadonlyArray<LeafExtensionType>, catalog?: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
181
35
  /** @experimental This API is unstable and may change without notice. */
182
- export declare const worksOn: (type: LeafExtensionType, catalog: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
36
+ export declare const getSupportedAgentsForExtensionType: (type: LeafExtensionType, catalog?: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
183
37
  /** @experimental This API is unstable and may change without notice. */
184
- export declare const worksOnExtension: (extension: ExtensionCompatibilityInput, catalog: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
38
+ export declare const getSupportedAgentsForExtension: (extension: ExtensionCompatibilityInput, catalog?: ReadonlyArray<Agent>) => ReadonlyArray<Agent>;
185
39
  //# sourceMappingURL=derive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"derive.d.ts","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/derive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,eAAe,EAGhB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE1D,wEAAwE;AACxE,eAAO,MAAM,oBAAoB,kFAQgB,CAAC;AAElD,wEAAwE;AACxE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,wEAAwE;AACxE,eAAO,MAAM,eAAe,sGASl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K,IAAI,iBAClD,CAAC;AAEnB,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,GAAI,YAAY,wBAAwB,KAAG,OAC/B,CAAC;AAwD/C,wEAAwE;AACxE,eAAO,MAAM,qBAAqB,GAAI,OAAO,KAAK,KAAG,eAsBpD,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,KAAG,aAAa,CAAC,iBAAiB,CAgB9E,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,EAAE,MAAM,iBAAiB,KAAG,OAGzE,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,kCAAkC,GAC7C,OAAO,KAAK,KACX,aAAa,CAAC,iBAAiB,CACqC,CAAC;AAExE,wEAAwE;AACxE,eAAO,MAAM,mCAAmC,GAC9C,OAAO,aAAa,CAAC,iBAAiB,CAAC,EACvC,UAAS,aAAa,CAAC,KAAK,CAAU,KACrC,aAAa,CAAC,KAAK,CAGrB,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,kCAAkC,GAC7C,MAAM,iBAAiB,EACvB,UAAS,aAAa,CAAC,KAAK,CAAU,KACrC,aAAa,CAAC,KAAK,CAAyD,CAAC;AAEhF,wEAAwE;AACxE,eAAO,MAAM,8BAA8B,GACzC,WAAW,2BAA2B,EACtC,UAAS,aAAa,CAAC,KAAK,CAAU,KACrC,aAAa,CAAC,KAAK,CAG2C,CAAC"}
@@ -3,48 +3,12 @@
3
3
  *
4
4
  * @experimental This API is unstable and may change without notice.
5
5
  */
6
- import { AGENT_IDS } from "./__generated__/catalog.js";
7
- /** @experimental This API is unstable and may change without notice. */
8
- export const LEAF_EXTENSION_TYPES = [
9
- "skill",
10
- "command",
11
- "mcp-server",
12
- "subagent",
13
- "files",
14
- "rule",
15
- "hook",
16
- ];
17
- /** @experimental This API is unstable and may change without notice. */
18
- export const capabilityKinds = [
19
- "skills",
20
- "commands",
21
- "mcp",
22
- "subagents",
23
- "instructions",
24
- "rules",
25
- "hooks",
26
- "permissions",
27
- ];
28
- /** @experimental This API is unstable and may change without notice. */
29
- export const EXTENSION_TYPE_CAPABILITY = {
30
- skill: (agent) => agent.skills,
31
- command: (agent) => agent.commands,
32
- "mcp-server": (agent) => agent.mcp,
33
- subagent: (agent) => agent.subagents,
34
- files: (agent) => agent.instructions,
35
- rule: (agent) => agent.rules,
36
- hook: (agent) => agent.hooks,
37
- };
6
+ import { AGENTS, AGENT_IDS } from "./catalog.js";
7
+ import { LEAF_EXTENSION_TYPES, SUPPORTED_LIFECYCLE, } from "./schema.js";
38
8
  /** @experimental This API is unstable and may change without notice. */
39
9
  export const isLeafExtensionType = (value) => value !== "pack";
40
10
  /** @experimental This API is unstable and may change without notice. */
41
- export const capabilityWorks = (capability) => {
42
- if (capability.lifecycle !== undefined && capability.lifecycle !== "available")
43
- return false;
44
- if ("standardsCompliance" in capability)
45
- return capability.standardsCompliance !== "none";
46
- return true;
47
- };
11
+ export const isCapabilitySupported = (capability) => capability.lifecycle === SUPPORTED_LIFECYCLE;
48
12
  const catalogAgentIds = new Set(AGENT_IDS);
49
13
  const isCatalogAgentId = (id) => catalogAgentIds.has(id);
50
14
  const deriveAgentId = (agent) => {
@@ -55,12 +19,15 @@ const deriveAgentId = (agent) => {
55
19
  const firstPathSegment = (path) => path.split("/")[0];
56
20
  const deriveRootDir = (agent) => agent.rootDir === null
57
21
  ? undefined
58
- : (agent.rootDir ?? firstPathSegment(agent.skills?.directory ?? ""));
22
+ : agent.rootDir ||
23
+ ("directory" in agent.capabilities.skill
24
+ ? firstPathSegment(agent.capabilities.skill.directory)
25
+ : undefined);
59
26
  const deriveSubagentsDescriptor = (agent) => {
60
- const subagents = agent.subagents;
61
- if (subagents === undefined || !capabilityWorks(subagents))
27
+ const subagents = agent.capabilities.subagent;
28
+ if (!isCapabilitySupported(subagents))
62
29
  return undefined;
63
- if (subagents.directory === undefined)
30
+ if (!("directory" in subagents))
64
31
  return undefined;
65
32
  return {
66
33
  dir: subagents.directory,
@@ -68,8 +35,8 @@ const deriveSubagentsDescriptor = (agent) => {
68
35
  };
69
36
  };
70
37
  const deriveInstructionsDescriptor = (agent) => {
71
- const instructions = agent.instructions;
72
- if (instructions === undefined || !capabilityWorks(instructions))
38
+ const instructions = agent.capabilities.rule;
39
+ if (!isCapabilitySupported(instructions) || !("kind" in instructions))
73
40
  return undefined;
74
41
  switch (instructions.kind) {
75
42
  case "agents-md":
@@ -81,27 +48,21 @@ const deriveInstructionsDescriptor = (agent) => {
81
48
  return {
82
49
  kind: "own-file",
83
50
  file,
84
- ...(instructions.importSyntax === undefined
85
- ? {}
86
- : { importSyntax: instructions.importSyntax }),
51
+ ...(instructions.importSyntax === null ? {} : { importSyntax: instructions.importSyntax }),
87
52
  };
88
53
  }
89
54
  case "rules-dir": {
90
- const dir = agent.rules?.directory;
91
- if (dir === undefined)
92
- return undefined;
93
- return { kind: "rules-dir", dir, format: "frontmatter" };
55
+ return { kind: "rules-dir", dir: instructions.directory, format: "frontmatter" };
94
56
  }
95
- default:
96
- return instructions.kind;
97
57
  }
98
58
  };
59
+ const hasDetectionMarkers = (agent) => agent.detection.projectDirs.length > 0 || agent.detection.userDirs.length > 0;
99
60
  /** @experimental This API is unstable and may change without notice. */
100
61
  export const deriveAgentDescriptor = (agent) => {
101
- const commands = agent.commands !== undefined &&
102
- capabilityWorks(agent.commands) &&
103
- agent.commands.directory !== undefined
104
- ? { dir: agent.commands.directory }
62
+ const skill = agent.capabilities.skill;
63
+ const command = agent.capabilities.command;
64
+ const commands = isCapabilitySupported(command) && "directory" in command
65
+ ? { dir: command.directory }
105
66
  : undefined;
106
67
  const subagents = deriveSubagentsDescriptor(agent);
107
68
  const instructions = deriveInstructionsDescriptor(agent);
@@ -110,9 +71,9 @@ export const deriveAgentDescriptor = (agent) => {
110
71
  name: agent.name,
111
72
  rootDir: deriveRootDir(agent),
112
73
  skills: {
113
- dir: agent.skills?.directory ?? "",
74
+ dir: "directory" in skill ? skill.directory : "",
114
75
  },
115
- ...(agent.detection === undefined ? {} : { detection: agent.detection }),
76
+ ...(hasDetectionMarkers(agent) ? { detection: agent.detection } : {}),
116
77
  ...(commands === undefined ? {} : { commands }),
117
78
  ...(subagents === undefined ? {} : { subagents }),
118
79
  ...(instructions === undefined ? {} : { instructions }),
@@ -122,8 +83,11 @@ export const deriveAgentDescriptor = (agent) => {
122
83
  export const listCapabilities = (agent) => {
123
84
  const capabilities = [];
124
85
  for (const type of LEAF_EXTENSION_TYPES) {
125
- const capability = EXTENSION_TYPE_CAPABILITY[type](agent);
126
- if (capability !== undefined) {
86
+ const capability = agent.capabilities[type];
87
+ if (capability.lifecycle !== "unsupported" ||
88
+ capability.sources.length > 0 ||
89
+ capability.docs.length > 0 ||
90
+ capability.notes !== null) {
127
91
  capabilities.push({ type, capability });
128
92
  }
129
93
  }
@@ -131,21 +95,21 @@ export const listCapabilities = (agent) => {
131
95
  };
132
96
  /** @experimental This API is unstable and may change without notice. */
133
97
  export const agentSupportsType = (agent, type) => {
134
- const capability = EXTENSION_TYPE_CAPABILITY[type](agent);
135
- return capability !== undefined && capabilityWorks(capability);
98
+ const capability = agent.capabilities[type];
99
+ return isCapabilitySupported(capability);
136
100
  };
137
101
  /** @experimental This API is unstable and may change without notice. */
138
- export const supportedTypes = (agent) => LEAF_EXTENSION_TYPES.filter((type) => agentSupportsType(agent, type));
102
+ export const getSupportedExtensionTypesForAgent = (agent) => LEAF_EXTENSION_TYPES.filter((type) => agentSupportsType(agent, type));
139
103
  /** @experimental This API is unstable and may change without notice. */
140
- export const worksOnAll = (types, catalog) => {
104
+ export const getSupportedAgentsForExtensionTypes = (types, catalog = AGENTS) => {
141
105
  if (types.length === 0)
142
106
  return [];
143
107
  return catalog.filter((agent) => types.every((type) => agentSupportsType(agent, type)));
144
108
  };
145
109
  /** @experimental This API is unstable and may change without notice. */
146
- export const worksOn = (type, catalog) => worksOnAll([type], catalog);
110
+ export const getSupportedAgentsForExtensionType = (type, catalog = AGENTS) => getSupportedAgentsForExtensionTypes([type], catalog);
147
111
  /** @experimental This API is unstable and may change without notice. */
148
- export const worksOnExtension = (extension, catalog) => extension.type === "pack"
149
- ? worksOnAll(extension.memberTypes, catalog)
150
- : worksOn(extension.type, catalog);
112
+ export const getSupportedAgentsForExtension = (extension, catalog = AGENTS) => extension.type === "pack"
113
+ ? getSupportedAgentsForExtensionTypes(extension.memberTypes, catalog)
114
+ : getSupportedAgentsForExtensionType(extension.type, catalog);
151
115
  //# sourceMappingURL=derive.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"derive.js","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/derive.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,SAAS,EAAgB,MAAM,4BAA4B,CAAC;AAGrE,wEAAwE;AACxE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO;IACP,SAAS;IACT,YAAY;IACZ,UAAU;IACV,OAAO;IACP,MAAM;IACN,MAAM;CACyC,CAAC;AAKlD,wEAAwE;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ;IACR,UAAU;IACV,KAAK;IACL,WAAW;IACX,cAAc;IACd,OAAO;IACP,OAAO;IACP,aAAa;CACL,CAAC;AAgBX,wEAAwE;AACxE,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM;IACrC,OAAO,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ;IACzC,YAAY,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG;IACzC,QAAQ,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS;IAC3C,KAAK,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY;IAC3C,IAAI,EAAE,CAAC,KAAY,EAAE,EAAE,CAAC,KAAK,CAA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,CAAC,IAAI,KAAK,MAAM;IACvB,CAAC,CAAC,mCAAmC,CAAC,SAAS,CAAC,WAAW,EAAE,OAAO,CAAC;IACrE,CAAC,CAAC,kCAAkC,CAAC,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC"}
@@ -4,10 +4,9 @@
4
4
  * @experimental All exports from this module are unstable and may change without notice.
5
5
  * @packageDocumentation
6
6
  */
7
- export { AgentIdFromYamlSchema, AgentInterfaceSchema, AgentSchema, CapabilityBaseSchema, CapabilityLifecycleSchema, CatalogExtensionTypeSchema, CommandsCapabilitySchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionSchema, DocLinkSchema, InstructionsCapabilitySchema, InstructionsImportSyntaxSchema, InstructionsKindSchema, LastVerifiedDateSchema, McpCapabilitySchema, McpTransportSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsCapabilitySchema, RulesCapabilitySchema, ScopeSchema, ScopedCapabilityBaseSchema, SkillsCapabilitySchema, StandardSchema, StandardsComplianceSchema, SubagentsCapabilitySchema, SubagentsLayoutSchema, type Agent, type AgentCapability, type AgentIdFromYaml, type AgentInterface, type CapabilityBase, type CapabilityLifecycle, type CommandsCapability, type ConfigFileFormat, type ConfigFileLocation, type Convention, type Detection, type DocLink, type InstructionsCapability, type InstructionsImportSyntax, type InstructionsKind, type LastVerifiedDate, type McpCapability, type McpConfig, type McpConfigTarget, type McpRemoteDialect, type McpServersKey, type McpStdioDialect, type McpTransport, type PermissionCliFlag, type PermissionGrammar, type PermissionGrammarStyle, type PermissionGrant, type PermissionMechanism, type PermissionPrerequisite, type PermissionsCapability, type RulesCapability, type Scope, type ScopedCapabilityBase, type SkillsCapability, type Standard, type StandardsCompliance, type SubagentsCapability, type SubagentsLayout, } from "./schema.js";
8
- export { STANDARDS } from "./standards.js";
9
- export { EXTENSION_TYPE_CAPABILITY, LEAF_EXTENSION_TYPES, agentSupportsType, capabilityWorks, capabilityKinds, deriveAgentDescriptor, isLeafExtensionType, listCapabilities, supportedTypes, worksOn, worksOnAll, worksOnExtension, type CapabilityKind, type CapabilityListing, type ExtensionCompatibilityInput, type LeafExtensionType, } from "./derive.js";
10
- export { validateCatalogSources, type CatalogSource, type CatalogValidationIssue, } from "./validate.js";
11
- export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema, type AgentId, } from "./__generated__/catalog.js";
7
+ export { AgentIdFromYamlSchema, AgentCapabilitiesSchema, AgentInterfaceSchema, AgentSchema, ActiveLifecycleSchema, CapabilityBaseSchema, CapabilityLifecycleSchema, CatalogExtensionTypeSchema, CommandsExtensionCapabilitySchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionSchema, DocLinkSchema, InactiveLifecycleSchema, LastVerifiedDateSchema, LEAF_EXTENSION_TYPES, FilesExtensionCapabilitySchema, McpExtensionCapabilitySchema, McpTransportSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsExtensionCapabilitySchema, RuleInstructionsImportSyntaxSchema, RuleInstructionsKindSchema, RulesExtensionCapabilitySchema, ScopeSchema, ScopedCapabilityBaseSchema, SkillsExtensionCapabilitySchema, StandardSchema, StandardsComplianceSchema, SubagentsExtensionCapabilitySchema, SubagentsLayoutSchema, SUPPORTED_LIFECYCLE, UrlSchema, type Agent, type AgentCapabilities, type AgentExtensionCapability, type ActiveLifecycle, type AgentIdFromYaml, type AgentInterface, type CapabilityBase, type CapabilityLifecycle, type CommandsExtensionCapability, type ConfigFileFormat, type ConfigFileLocation, type Convention, type Detection, type DocLink, type FilesExtensionCapability, type InactiveLifecycle, type LastVerifiedDate, type LeafExtensionType, type McpExtensionCapability, type McpConfig, type McpConfigTarget, type McpRemoteDialect, type McpServersKey, type McpStdioDialect, type McpTransport, type PermissionCliFlag, type PermissionGrammar, type PermissionGrammarStyle, type PermissionGrant, type PermissionMechanism, type PermissionPrerequisite, type PermissionsExtensionCapability, type RuleInstructionsImportSyntax, type RuleInstructionsKind, type RulesExtensionCapability, type Scope, type ScopedCapabilityBase, type SkillsExtensionCapability, type Standard, type StandardsCompliance, type SubagentsExtensionCapability, type SubagentsLayout, type Url, } from "./schema.js";
8
+ export { STANDARDS } from "../extension-types/standards.js";
9
+ export { agentSupportsType, deriveAgentDescriptor, getSupportedAgentsForExtension, getSupportedAgentsForExtensionType, getSupportedAgentsForExtensionTypes, getSupportedExtensionTypesForAgent, isCapabilitySupported, isLeafExtensionType, listCapabilities, type CapabilityListing, type ExtensionCompatibilityInput, } from "./derive.js";
10
+ export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema, type AgentId } from "./catalog.js";
12
11
  export { agentById } from "./lookup.js";
13
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,yBAAyB,EACzB,yBAAyB,EACzB,qBAAqB,EACrB,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,K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C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,oCAAoC,EACpC,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,EAC9B,WAAW,EACX,0BAA0B,EAC1B,+BAA+B,EAC/B,cAAc,EACd,yBAAyB,EACzB,kCAAkC,EAClC,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,EACT,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,eAAe,EACpB,KAAK,GAAG,GACT,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,8BAA8B,EAC9B,kCAAkC,EAClC,mCAAmC,EACnC,kCAAkC,EAClC,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,GACjC,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -4,10 +4,9 @@
4
4
  * @experimental All exports from this module are unstable and may change without notice.
5
5
  * @packageDocumentation
6
6
  */
7
- export { AgentIdFromYamlSchema, AgentInterfaceSchema, AgentSchema, CapabilityBaseSchema, CapabilityLifecycleSchema, CatalogExtensionTypeSchema, CommandsCapabilitySchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionSchema, DocLinkSchema, InstructionsCapabilitySchema, InstructionsImportSyntaxSchema, InstructionsKindSchema, LastVerifiedDateSchema, McpCapabilitySchema, McpTransportSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsCapabilitySchema, RulesCapabilitySchema, ScopeSchema, ScopedCapabilityBaseSchema, SkillsCapabilitySchema, StandardSchema, StandardsComplianceSchema, SubagentsCapabilitySchema, SubagentsLayoutSchema, } from "./schema.js";
8
- export { STANDARDS } from "./standards.js";
9
- export { EXTENSION_TYPE_CAPABILITY, LEAF_EXTENSION_TYPES, agentSupportsType, capabilityWorks, capabilityKinds, deriveAgentDescriptor, isLeafExtensionType, listCapabilities, supportedTypes, worksOn, worksOnAll, worksOnExtension, } from "./derive.js";
10
- export { validateCatalogSources, } from "./validate.js";
11
- export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema, } from "./__generated__/catalog.js";
7
+ export { AgentIdFromYamlSchema, AgentCapabilitiesSchema, AgentInterfaceSchema, AgentSchema, ActiveLifecycleSchema, CapabilityBaseSchema, CapabilityLifecycleSchema, CatalogExtensionTypeSchema, CommandsExtensionCapabilitySchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionSchema, DocLinkSchema, InactiveLifecycleSchema, LastVerifiedDateSchema, LEAF_EXTENSION_TYPES, FilesExtensionCapabilitySchema, McpExtensionCapabilitySchema, McpTransportSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsExtensionCapabilitySchema, RuleInstructionsImportSyntaxSchema, RuleInstructionsKindSchema, RulesExtensionCapabilitySchema, ScopeSchema, ScopedCapabilityBaseSchema, SkillsExtensionCapabilitySchema, StandardSchema, StandardsComplianceSchema, SubagentsExtensionCapabilitySchema, SubagentsLayoutSchema, SUPPORTED_LIFECYCLE, UrlSchema, } from "./schema.js";
8
+ export { STANDARDS } from "../extension-types/standards.js";
9
+ export { agentSupportsType, deriveAgentDescriptor, getSupportedAgentsForExtension, getSupportedAgentsForExtensionType, getSupportedAgentsForExtensionTypes, getSupportedExtensionTypesForAgent, isCapabilitySupported, isLeafExtensionType, listCapabilities, } from "./derive.js";
10
+ export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema } from "./catalog.js";
12
11
  export { agentById } from "./lookup.js";
13
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,WAAW,EACX,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,cAAc,EACd,yBAAyB,EACzB,yBAAyB,EACzB,qBAAqB,GAuCtB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,cAAc,EACd,OAAO,EACP,UAAU,EACV,gBAAgB,GAKjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,sBAAsB,GAGvB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,MAAM,EACN,YAAY,EACZ,SAAS,EACT,aAAa,GAEd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,oCAAoC,EACpC,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,EAC9B,WAAW,EACX,0BAA0B,EAC1B,+BAA+B,EAC/B,cAAc,EACd,yBAAyB,EACzB,kCAAkC,EAClC,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,GA4CV,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,8BAA8B,EAC9B,kCAAkC,EAClC,mCAAmC,EACnC,kCAAkC,EAClC,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,GAGjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAgB,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @experimental This API is unstable and may change without notice.
5
5
  */
6
- import { type AgentId } from "./__generated__/catalog.js";
6
+ import { type AgentId } from "./catalog.js";
7
7
  import type { Agent } from "./schema.js";
8
8
  /** @experimental This API is unstable and may change without notice. */
9
9
  export declare const agentById: (id: AgentId) => Agent;
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/lookup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAgB,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wEAAwE;AACxE,eAAO,MAAM,SAAS,GAAI,IAAI,OAAO,KAAG,KAAyB,CAAC"}
1
+ {"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/lookup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAgB,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wEAAwE;AACxE,eAAO,MAAM,SAAS,GAAI,IAAI,OAAO,KAAG,KAAyB,CAAC"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @experimental This API is unstable and may change without notice.
5
5
  */
6
- import { AGENTS_BY_ID } from "./__generated__/catalog.js";
6
+ import { AGENTS_BY_ID } from "./catalog.js";
7
7
  /** @experimental This API is unstable and may change without notice. */
8
8
  export const agentById = (id) => AGENTS_BY_ID[id];
9
9
  //# sourceMappingURL=lookup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.js","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/lookup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAgB,MAAM,4BAA4B,CAAC;AAGxE,wEAAwE;AACxE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAW,EAAS,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"lookup.js","sourceRoot":"","sources":["../../../../src/unstable/agent-capabilities/lookup.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAgB,MAAM,cAAc,CAAC;AAG1D,wEAAwE;AACxE,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAW,EAAS,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC"}