@agentxm/extension-model 0.28.4-bootstrap.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 (263) hide show
  1. package/LICENSE +110 -0
  2. package/README.md +17 -0
  3. package/dist/src/unstable/agent-capabilities/catalog.d.ts +47000 -0
  4. package/dist/src/unstable/agent-capabilities/catalog.js +172 -0
  5. package/dist/src/unstable/agent-capabilities/data/agents/adal.d.ts +162 -0
  6. package/dist/src/unstable/agent-capabilities/data/agents/adal.js +134 -0
  7. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.d.ts +167 -0
  8. package/dist/src/unstable/agent-capabilities/data/agents/aider-desk.js +133 -0
  9. package/dist/src/unstable/agent-capabilities/data/agents/amp.d.ts +203 -0
  10. package/dist/src/unstable/agent-capabilities/data/agents/amp.js +187 -0
  11. package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.d.ts +186 -0
  12. package/dist/src/unstable/agent-capabilities/data/agents/antigravity-cli.js +140 -0
  13. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.d.ts +357 -0
  14. package/dist/src/unstable/agent-capabilities/data/agents/antigravity.js +294 -0
  15. package/dist/src/unstable/agent-capabilities/data/agents/augment.d.ts +383 -0
  16. package/dist/src/unstable/agent-capabilities/data/agents/augment.js +329 -0
  17. package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.d.ts +159 -0
  18. package/dist/src/unstable/agent-capabilities/data/agents/chatgpt.js +117 -0
  19. package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.d.ts +153 -0
  20. package/dist/src/unstable/agent-capabilities/data/agents/claude-ai.js +105 -0
  21. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.d.ts +460 -0
  22. package/dist/src/unstable/agent-capabilities/data/agents/claude-code.js +406 -0
  23. package/dist/src/unstable/agent-capabilities/data/agents/cline.d.ts +225 -0
  24. package/dist/src/unstable/agent-capabilities/data/agents/cline.js +190 -0
  25. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.d.ts +246 -0
  26. package/dist/src/unstable/agent-capabilities/data/agents/codearts-agent.js +206 -0
  27. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.d.ts +420 -0
  28. package/dist/src/unstable/agent-capabilities/data/agents/codebuddy.js +378 -0
  29. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.d.ts +143 -0
  30. package/dist/src/unstable/agent-capabilities/data/agents/codemaker.js +112 -0
  31. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.d.ts +165 -0
  32. package/dist/src/unstable/agent-capabilities/data/agents/codestudio.js +136 -0
  33. package/dist/src/unstable/agent-capabilities/data/agents/codex.d.ts +458 -0
  34. package/dist/src/unstable/agent-capabilities/data/agents/codex.js +399 -0
  35. package/dist/src/unstable/agent-capabilities/data/agents/command-code.d.ts +247 -0
  36. package/dist/src/unstable/agent-capabilities/data/agents/command-code.js +222 -0
  37. package/dist/src/unstable/agent-capabilities/data/agents/continue.d.ts +322 -0
  38. package/dist/src/unstable/agent-capabilities/data/agents/continue.js +273 -0
  39. package/dist/src/unstable/agent-capabilities/data/agents/cortex.d.ts +306 -0
  40. package/dist/src/unstable/agent-capabilities/data/agents/cortex.js +241 -0
  41. package/dist/src/unstable/agent-capabilities/data/agents/cowork.d.ts +185 -0
  42. package/dist/src/unstable/agent-capabilities/data/agents/cowork.js +133 -0
  43. package/dist/src/unstable/agent-capabilities/data/agents/crush.d.ts +249 -0
  44. package/dist/src/unstable/agent-capabilities/data/agents/crush.js +218 -0
  45. package/dist/src/unstable/agent-capabilities/data/agents/cursor.d.ts +300 -0
  46. package/dist/src/unstable/agent-capabilities/data/agents/cursor.js +282 -0
  47. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.d.ts +159 -0
  48. package/dist/src/unstable/agent-capabilities/data/agents/deepagents.js +137 -0
  49. package/dist/src/unstable/agent-capabilities/data/agents/devin.d.ts +410 -0
  50. package/dist/src/unstable/agent-capabilities/data/agents/devin.js +358 -0
  51. package/dist/src/unstable/agent-capabilities/data/agents/dexto.d.ts +166 -0
  52. package/dist/src/unstable/agent-capabilities/data/agents/dexto.js +141 -0
  53. package/dist/src/unstable/agent-capabilities/data/agents/droid.d.ts +318 -0
  54. package/dist/src/unstable/agent-capabilities/data/agents/droid.js +257 -0
  55. package/dist/src/unstable/agent-capabilities/data/agents/firebender.d.ts +313 -0
  56. package/dist/src/unstable/agent-capabilities/data/agents/firebender.js +244 -0
  57. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.d.ts +193 -0
  58. package/dist/src/unstable/agent-capabilities/data/agents/forgecode.js +160 -0
  59. package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.d.ts +153 -0
  60. package/dist/src/unstable/agent-capabilities/data/agents/gemini-app.js +105 -0
  61. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.d.ts +424 -0
  62. package/dist/src/unstable/agent-capabilities/data/agents/gemini-cli.js +411 -0
  63. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.d.ts +300 -0
  64. package/dist/src/unstable/agent-capabilities/data/agents/github-copilot-cli.js +307 -0
  65. package/dist/src/unstable/agent-capabilities/data/agents/goose.d.ts +162 -0
  66. package/dist/src/unstable/agent-capabilities/data/agents/goose.js +131 -0
  67. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.d.ts +186 -0
  68. package/dist/src/unstable/agent-capabilities/data/agents/grok-cli.js +164 -0
  69. package/dist/src/unstable/agent-capabilities/data/agents/hermes.d.ts +303 -0
  70. package/dist/src/unstable/agent-capabilities/data/agents/hermes.js +223 -0
  71. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.d.ts +231 -0
  72. package/dist/src/unstable/agent-capabilities/data/agents/ibm-bob.js +200 -0
  73. package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.d.ts +182 -0
  74. package/dist/src/unstable/agent-capabilities/data/agents/iflow-cli.js +126 -0
  75. package/dist/src/unstable/agent-capabilities/data/agents/index.d.ts +67 -0
  76. package/dist/src/unstable/agent-capabilities/data/agents/index.js +67 -0
  77. package/dist/src/unstable/agent-capabilities/data/agents/junie.d.ts +219 -0
  78. package/dist/src/unstable/agent-capabilities/data/agents/junie.js +200 -0
  79. package/dist/src/unstable/agent-capabilities/data/agents/kilo.d.ts +282 -0
  80. package/dist/src/unstable/agent-capabilities/data/agents/kilo.js +260 -0
  81. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.d.ts +350 -0
  82. package/dist/src/unstable/agent-capabilities/data/agents/kimi-cli.js +274 -0
  83. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.d.ts +227 -0
  84. package/dist/src/unstable/agent-capabilities/data/agents/kiro-cli.js +197 -0
  85. package/dist/src/unstable/agent-capabilities/data/agents/kode.d.ts +166 -0
  86. package/dist/src/unstable/agent-capabilities/data/agents/kode.js +141 -0
  87. package/dist/src/unstable/agent-capabilities/data/agents/lingma.d.ts +185 -0
  88. package/dist/src/unstable/agent-capabilities/data/agents/lingma.js +149 -0
  89. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.d.ts +144 -0
  90. package/dist/src/unstable/agent-capabilities/data/agents/mcpjam.js +116 -0
  91. package/dist/src/unstable/agent-capabilities/data/agents/minimax-code.d.ts +138 -0
  92. package/dist/src/unstable/agent-capabilities/data/agents/minimax-code.js +93 -0
  93. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.d.ts +244 -0
  94. package/dist/src/unstable/agent-capabilities/data/agents/mistral-vibe.js +200 -0
  95. package/dist/src/unstable/agent-capabilities/data/agents/mux.d.ts +155 -0
  96. package/dist/src/unstable/agent-capabilities/data/agents/mux.js +127 -0
  97. package/dist/src/unstable/agent-capabilities/data/agents/neovate.d.ts +211 -0
  98. package/dist/src/unstable/agent-capabilities/data/agents/neovate.js +178 -0
  99. package/dist/src/unstable/agent-capabilities/data/agents/ona.d.ts +167 -0
  100. package/dist/src/unstable/agent-capabilities/data/agents/ona.js +110 -0
  101. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.d.ts +139 -0
  102. package/dist/src/unstable/agent-capabilities/data/agents/openclaw.js +114 -0
  103. package/dist/src/unstable/agent-capabilities/data/agents/opencode.d.ts +220 -0
  104. package/dist/src/unstable/agent-capabilities/data/agents/opencode.js +192 -0
  105. package/dist/src/unstable/agent-capabilities/data/agents/openhands.d.ts +245 -0
  106. package/dist/src/unstable/agent-capabilities/data/agents/openhands.js +184 -0
  107. package/dist/src/unstable/agent-capabilities/data/agents/pi.d.ts +185 -0
  108. package/dist/src/unstable/agent-capabilities/data/agents/pi.js +169 -0
  109. package/dist/src/unstable/agent-capabilities/data/agents/pochi.d.ts +199 -0
  110. package/dist/src/unstable/agent-capabilities/data/agents/pochi.js +163 -0
  111. package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.d.ts +199 -0
  112. package/dist/src/unstable/agent-capabilities/data/agents/qoder-cn.js +141 -0
  113. package/dist/src/unstable/agent-capabilities/data/agents/qoder.d.ts +414 -0
  114. package/dist/src/unstable/agent-capabilities/data/agents/qoder.js +378 -0
  115. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.d.ts +406 -0
  116. package/dist/src/unstable/agent-capabilities/data/agents/qwen-code.js +345 -0
  117. package/dist/src/unstable/agent-capabilities/data/agents/replit.d.ts +144 -0
  118. package/dist/src/unstable/agent-capabilities/data/agents/replit.js +116 -0
  119. package/dist/src/unstable/agent-capabilities/data/agents/roo.d.ts +192 -0
  120. package/dist/src/unstable/agent-capabilities/data/agents/roo.js +180 -0
  121. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.d.ts +189 -0
  122. package/dist/src/unstable/agent-capabilities/data/agents/rovodev.js +156 -0
  123. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.d.ts +280 -0
  124. package/dist/src/unstable/agent-capabilities/data/agents/tabnine-cli.js +223 -0
  125. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.d.ts +188 -0
  126. package/dist/src/unstable/agent-capabilities/data/agents/trae-cn.js +156 -0
  127. package/dist/src/unstable/agent-capabilities/data/agents/trae.d.ts +188 -0
  128. package/dist/src/unstable/agent-capabilities/data/agents/trae.js +156 -0
  129. package/dist/src/unstable/agent-capabilities/data/agents/warp.d.ts +169 -0
  130. package/dist/src/unstable/agent-capabilities/data/agents/warp.js +133 -0
  131. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.d.ts +414 -0
  132. package/dist/src/unstable/agent-capabilities/data/agents/windsurf.js +326 -0
  133. package/dist/src/unstable/agent-capabilities/data/agents/zed.d.ts +168 -0
  134. package/dist/src/unstable/agent-capabilities/data/agents/zed.js +109 -0
  135. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.d.ts +168 -0
  136. package/dist/src/unstable/agent-capabilities/data/agents/zencoder.js +137 -0
  137. package/dist/src/unstable/agent-capabilities/data/agents/zenflow.d.ts +153 -0
  138. package/dist/src/unstable/agent-capabilities/data/agents/zenflow.js +96 -0
  139. package/dist/src/unstable/agent-capabilities/derive.d.ts +129 -0
  140. package/dist/src/unstable/agent-capabilities/derive.js +389 -0
  141. package/dist/src/unstable/agent-capabilities/index.d.ts +15 -0
  142. package/dist/src/unstable/agent-capabilities/index.js +15 -0
  143. package/dist/src/unstable/agent-capabilities/lookup.d.ts +10 -0
  144. package/dist/src/unstable/agent-capabilities/lookup.js +9 -0
  145. package/dist/src/unstable/agent-capabilities/schema.d.ts +3788 -0
  146. package/dist/src/unstable/agent-capabilities/schema.js +1218 -0
  147. package/dist/src/unstable/agent-capabilities/verification.d.ts +25 -0
  148. package/dist/src/unstable/agent-capabilities/verification.js +40 -0
  149. package/dist/src/unstable/agents/registry.d.ts +33 -0
  150. package/dist/src/unstable/agents/registry.js +50 -0
  151. package/dist/src/unstable/agents/types.d.ts +126 -0
  152. package/dist/src/unstable/agents/types.js +17 -0
  153. package/dist/src/unstable/date-time.d.ts +17 -0
  154. package/dist/src/unstable/date-time.js +30 -0
  155. package/dist/src/unstable/discovery-walk.d.ts +8 -0
  156. package/dist/src/unstable/discovery-walk.js +15 -0
  157. package/dist/src/unstable/extension-types/index.d.ts +8 -0
  158. package/dist/src/unstable/extension-types/index.js +8 -0
  159. package/dist/src/unstable/extension-types/schema.d.ts +154 -0
  160. package/dist/src/unstable/extension-types/schema.js +102 -0
  161. package/dist/src/unstable/extension-types/standards.d.ts +29 -0
  162. package/dist/src/unstable/extension-types/standards.js +29 -0
  163. package/dist/src/unstable/extensions/common.d.ts +539 -0
  164. package/dist/src/unstable/extensions/common.js +605 -0
  165. package/dist/src/unstable/extensions/deprecation.d.ts +42 -0
  166. package/dist/src/unstable/extensions/deprecation.js +46 -0
  167. package/dist/src/unstable/extensions/fqn-pattern.d.ts +17 -0
  168. package/dist/src/unstable/extensions/fqn-pattern.js +63 -0
  169. package/dist/src/unstable/extensions/fqn.d.ts +51 -0
  170. package/dist/src/unstable/extensions/fqn.js +51 -0
  171. package/dist/src/unstable/extensions/handle.d.ts +16 -0
  172. package/dist/src/unstable/extensions/handle.js +30 -0
  173. package/dist/src/unstable/extensions/index.d.ts +13 -0
  174. package/dist/src/unstable/extensions/index.js +13 -0
  175. package/dist/src/unstable/extensions/installable-types.d.ts +12 -0
  176. package/dist/src/unstable/extensions/installable-types.js +21 -0
  177. package/dist/src/unstable/extensions/license.d.ts +16 -0
  178. package/dist/src/unstable/extensions/license.js +29 -0
  179. package/dist/src/unstable/extensions/manifest-metadata.d.ts +18 -0
  180. package/dist/src/unstable/extensions/manifest-metadata.js +61 -0
  181. package/dist/src/unstable/extensions/refs/extension-ref.d.ts +20 -0
  182. package/dist/src/unstable/extensions/refs/extension-ref.js +12 -0
  183. package/dist/src/unstable/extensions/refs/hook.d.ts +29 -0
  184. package/dist/src/unstable/extensions/refs/hook.js +8 -0
  185. package/dist/src/unstable/extensions/refs/knowledge.d.ts +15 -0
  186. package/dist/src/unstable/extensions/refs/knowledge.js +2 -0
  187. package/dist/src/unstable/extensions/refs/mcp-server.d.ts +19 -0
  188. package/dist/src/unstable/extensions/refs/mcp-server.js +8 -0
  189. package/dist/src/unstable/extensions/refs/pack.d.ts +17 -0
  190. package/dist/src/unstable/extensions/refs/pack.js +10 -0
  191. package/dist/src/unstable/extensions/refs/ref-base.d.ts +125 -0
  192. package/dist/src/unstable/extensions/refs/ref-base.js +12 -0
  193. package/dist/src/unstable/extensions/refs/rule.d.ts +27 -0
  194. package/dist/src/unstable/extensions/refs/rule.js +8 -0
  195. package/dist/src/unstable/extensions/refs/skill.d.ts +28 -0
  196. package/dist/src/unstable/extensions/refs/skill.js +11 -0
  197. package/dist/src/unstable/extensions/refs/subagent.d.ts +19 -0
  198. package/dist/src/unstable/extensions/refs/subagent.js +8 -0
  199. package/dist/src/unstable/extensions/registry-source.d.ts +37 -0
  200. package/dist/src/unstable/extensions/registry-source.js +158 -0
  201. package/dist/src/unstable/extensions/release-age.d.ts +36 -0
  202. package/dist/src/unstable/extensions/release-age.js +11 -0
  203. package/dist/src/unstable/extensions/universal-skills-dir.d.ts +58 -0
  204. package/dist/src/unstable/extensions/universal-skills-dir.js +68 -0
  205. package/dist/src/unstable/hooks/manifest-schema.d.ts +175 -0
  206. package/dist/src/unstable/hooks/manifest-schema.js +112 -0
  207. package/dist/src/unstable/knowledge/concept-ref.d.ts +34 -0
  208. package/dist/src/unstable/knowledge/concept-ref.js +114 -0
  209. package/dist/src/unstable/knowledge/index.d.ts +8 -0
  210. package/dist/src/unstable/knowledge/index.js +8 -0
  211. package/dist/src/unstable/knowledge/manifest-schema.d.ts +60 -0
  212. package/dist/src/unstable/knowledge/manifest-schema.js +34 -0
  213. package/dist/src/unstable/mcps/manifest-schema.d.ts +899 -0
  214. package/dist/src/unstable/mcps/manifest-schema.js +230 -0
  215. package/dist/src/unstable/package-urls/companion-package.d.ts +14 -0
  216. package/dist/src/unstable/package-urls/companion-package.js +44 -0
  217. package/dist/src/unstable/package-urls/index.d.ts +4 -0
  218. package/dist/src/unstable/package-urls/index.js +4 -0
  219. package/dist/src/unstable/package-urls/internal.d.ts +6 -0
  220. package/dist/src/unstable/package-urls/internal.js +17 -0
  221. package/dist/src/unstable/package-urls/package-identity-purl.d.ts +5 -0
  222. package/dist/src/unstable/package-urls/package-identity-purl.js +26 -0
  223. package/dist/src/unstable/package-urls/vers-range.d.ts +34 -0
  224. package/dist/src/unstable/package-urls/vers-range.js +163 -0
  225. package/dist/src/unstable/packaging/index.d.ts +8 -0
  226. package/dist/src/unstable/packaging/index.js +8 -0
  227. package/dist/src/unstable/packaging/package-type.d.ts +23 -0
  228. package/dist/src/unstable/packaging/package-type.js +31 -0
  229. package/dist/src/unstable/packaging/package-url.d.ts +50 -0
  230. package/dist/src/unstable/packaging/package-url.js +93 -0
  231. package/dist/src/unstable/packs/manifest-schema.d.ts +66 -0
  232. package/dist/src/unstable/packs/manifest-schema.js +34 -0
  233. package/dist/src/unstable/path-types.d.ts +22 -0
  234. package/dist/src/unstable/path-types.js +48 -0
  235. package/dist/src/unstable/rules/manifest-schema.d.ts +70 -0
  236. package/dist/src/unstable/rules/manifest-schema.js +43 -0
  237. package/dist/src/unstable/schema-issues.d.ts +13 -0
  238. package/dist/src/unstable/schema-issues.js +34 -0
  239. package/dist/src/unstable/skills/manifest-schema.d.ts +69 -0
  240. package/dist/src/unstable/skills/manifest-schema.js +31 -0
  241. package/dist/src/unstable/sources/forge-grammar.d.ts +22 -0
  242. package/dist/src/unstable/sources/forge-grammar.js +50 -0
  243. package/dist/src/unstable/sources/parser.d.ts +85 -0
  244. package/dist/src/unstable/sources/parser.js +122 -0
  245. package/dist/src/unstable/sources/printer.d.ts +14 -0
  246. package/dist/src/unstable/sources/printer.js +45 -0
  247. package/dist/src/unstable/sources/source-hash.d.ts +24 -0
  248. package/dist/src/unstable/sources/source-hash.js +22 -0
  249. package/dist/src/unstable/sources/source-host-provider.d.ts +112 -0
  250. package/dist/src/unstable/sources/source-host-provider.js +11 -0
  251. package/dist/src/unstable/sources/types.d.ts +262 -0
  252. package/dist/src/unstable/sources/types.js +127 -0
  253. package/dist/src/unstable/sources/workspace.d.ts +13 -0
  254. package/dist/src/unstable/sources/workspace.js +13 -0
  255. package/dist/src/unstable/subagents/manifest-schema.d.ts +81 -0
  256. package/dist/src/unstable/subagents/manifest-schema.js +43 -0
  257. package/dist/src/unstable/version-constraints/version-constraints.d.ts +71 -0
  258. package/dist/src/unstable/version-constraints/version-constraints.js +144 -0
  259. package/dist/src/unstable/workspace-files.d.ts +13 -0
  260. package/dist/src/unstable/workspace-files.js +13 -0
  261. package/dist/src/unstable/workspace-scope.d.ts +11 -0
  262. package/dist/src/unstable/workspace-scope.js +10 -0
  263. package/package.json +271 -0
@@ -0,0 +1,389 @@
1
+ /**
2
+ * Pure derivation helpers for the agent capability catalog.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ */
6
+ import { PER_AGENT_EXTENSION_TYPES } from "../extensions/common.js";
7
+ import { AGENTS, CONFIGURABLE_AGENT_IDS } from "./catalog.js";
8
+ import { LEAF_EXTENSION_TYPES } from "../extension-types/schema.js";
9
+ import { SUPPORTED_AXM_SUPPORT, } from "./schema.js";
10
+ import {} from "../extensions/common.js";
11
+ /** @experimental This API is unstable and may change without notice. */
12
+ export const isLeafExtensionType = (value) => value !== "pack";
13
+ /** @experimental This API is unstable and may change without notice. */
14
+ export const agentCapabilityStatus = (capability) => {
15
+ switch (capability.native.availability.via) {
16
+ case "none":
17
+ return "none";
18
+ case "native":
19
+ return capability.native.vendorStatus.state === "active" ? "native" : "native-deprecated";
20
+ case "plugin":
21
+ return capability.native.vendorStatus.state === "active" ? "plugin" : "plugin-deprecated";
22
+ }
23
+ };
24
+ /** @experimental This API is unstable and may change without notice. */
25
+ export const axmIntegrationStatus = (capability) => capability.axm.writer === null ? capability.axm.status : "writer";
26
+ /** @experimental This API is unstable and may change without notice. */
27
+ export const isCapabilitySupported = (capability) => (capability.axm.writer !== null || capability.axm.status === SUPPORTED_AXM_SUPPORT) &&
28
+ capability.native.availability.via !== "none";
29
+ const perAgentTypes = new Set(PER_AGENT_EXTENSION_TYPES);
30
+ const isPerAgentType = (type) => perAgentTypes.has(type);
31
+ /**
32
+ * The capability record describing how one agent handles an extension type.
33
+ * `rule` resolves to the agent's `instructions` slot: rules render into shared
34
+ * workspace instruction files, but each agent still records how it consumes
35
+ * them. `knowledge` has no per-agent record because it is read on demand, so
36
+ * it resolves to `undefined`.
37
+ */
38
+ const capabilityForType = (agent, type) => {
39
+ if (type === "rule")
40
+ return agent.instructions;
41
+ if (isPerAgentType(type))
42
+ return agent.capabilities[type];
43
+ return undefined;
44
+ };
45
+ const configurableAgentIds = new Set(CONFIGURABLE_AGENT_IDS);
46
+ const isConfigurableAgentId = (id) => configurableAgentIds.has(id);
47
+ const deriveAgentId = (agent) => {
48
+ if (isConfigurableAgentId(agent.id))
49
+ return agent.id;
50
+ throw new Error(`Cannot derive filesystem descriptor for non-configurable agent: ${agent.id}`);
51
+ };
52
+ const firstPathSegment = (path) => path.split("/")[0];
53
+ const deriveRootDir = (agent) => agent.rootDir === null
54
+ ? undefined
55
+ : agent.rootDir ||
56
+ ("directory" in agent.capabilities.skill.native
57
+ ? firstPathSegment(agent.capabilities.skill.native.directory)
58
+ : undefined);
59
+ /** @experimental This API is unstable and may change without notice. */
60
+ export const deriveSkillConvention = (directory) => directory === ".agents/skills" || directory.startsWith(".agents/skills/")
61
+ ? "universal"
62
+ : "vendor";
63
+ const deriveAdditionalSkillReadPaths = (agent) => "additionalReadPaths" in agent.capabilities.skill.native
64
+ ? (agent.capabilities.skill.native.additionalReadPaths ?? [])
65
+ : [];
66
+ const detectionMarkerKey = (marker) => marker.kind === "executable" ? `executable:${marker.name}` : `${marker.kind}:${marker.path}`;
67
+ const fileMarker = (path) => ({
68
+ kind: "file",
69
+ path,
70
+ signal: "supporting",
71
+ note: null,
72
+ });
73
+ const appendMarker = (markers, marker) => {
74
+ markers.set(detectionMarkerKey(marker), marker);
75
+ };
76
+ const appendFileMarkers = (markersByScope, locations) => {
77
+ for (const location of locations) {
78
+ appendMarker(markersByScope[location.scope], fileMarker(location.path));
79
+ }
80
+ };
81
+ const hasConfigFiles = (capability) => "configFiles" in capability;
82
+ const deriveDetection = (agent, rootDir) => {
83
+ const projectMarkers = new Map();
84
+ const userMarkers = new Map();
85
+ const markersByScope = {
86
+ project: projectMarkers,
87
+ user: userMarkers,
88
+ };
89
+ if (rootDir !== undefined) {
90
+ appendMarker(projectMarkers, {
91
+ kind: "dir",
92
+ path: rootDir,
93
+ signal: "definitive",
94
+ note: null,
95
+ });
96
+ }
97
+ const mcp = agent.capabilities["mcp-server"];
98
+ if (mcp.axm.writer !== null) {
99
+ appendFileMarkers(markersByScope, mcp.axm.writer.config.targets.filter((target) => target.attribution === "agent"));
100
+ }
101
+ for (const capability of Object.values(agent.capabilities)) {
102
+ if (hasConfigFiles(capability.native)) {
103
+ appendFileMarkers(markersByScope, capability.native.configFiles);
104
+ }
105
+ }
106
+ if (hasConfigFiles(agent.permissions.native)) {
107
+ appendFileMarkers(markersByScope, agent.permissions.native.configFiles);
108
+ }
109
+ for (const marker of agent.detection.project.markers) {
110
+ appendMarker(projectMarkers, marker);
111
+ }
112
+ for (const marker of agent.detection.user.markers) {
113
+ appendMarker(userMarkers, marker);
114
+ }
115
+ const project = Array.from(projectMarkers.values());
116
+ const user = Array.from(userMarkers.values());
117
+ return {
118
+ project: { markers: project },
119
+ user: { markers: user },
120
+ };
121
+ };
122
+ const deriveSubagentsDescriptor = (agent) => {
123
+ const subagents = agent.capabilities.subagent;
124
+ if (!isCapabilitySupported(subagents))
125
+ return undefined;
126
+ if (!("directory" in subagents.native))
127
+ return undefined;
128
+ return {
129
+ dir: subagents.native.directory,
130
+ scopes: subagents.native.scopes,
131
+ ...(subagents.native.layout === "file" ? { isFile: true } : {}),
132
+ };
133
+ };
134
+ const deriveInstructionsDescriptor = (agent) => {
135
+ const instructions = agent.instructions;
136
+ if (!isCapabilitySupported(instructions) || !("kind" in instructions.native))
137
+ return undefined;
138
+ // A secondary native rules directory beside the instruction file. Carried
139
+ // through so status output can report it as unsynced; AXM writes only the
140
+ // instruction file itself.
141
+ const rulesDir = "directory" in instructions.native ? { rulesDir: instructions.native.directory } : {};
142
+ switch (instructions.native.kind) {
143
+ case "agents-md":
144
+ return { kind: "agents-md", ...rulesDir };
145
+ case "own-file": {
146
+ const file = instructions.native.files[0];
147
+ if (file === undefined)
148
+ return undefined;
149
+ return {
150
+ kind: "own-file",
151
+ file,
152
+ ...(instructions.native.importSyntax === null
153
+ ? {}
154
+ : { importSyntax: instructions.native.importSyntax }),
155
+ ...rulesDir,
156
+ };
157
+ }
158
+ case "rules-dir": {
159
+ return {
160
+ kind: "rules-dir",
161
+ dir: instructions.native.directory,
162
+ format: "frontmatter",
163
+ };
164
+ }
165
+ }
166
+ };
167
+ /** @experimental This API is unstable and may change without notice. */
168
+ export const deriveAgentDescriptor = (agent) => {
169
+ const subagents = deriveSubagentsDescriptor(agent);
170
+ const instructions = deriveInstructionsDescriptor(agent);
171
+ const rootDir = deriveRootDir(agent);
172
+ const detection = deriveDetection(agent, rootDir);
173
+ const skills = isCapabilitySupported(agent.capabilities.skill) &&
174
+ "directory" in agent.capabilities.skill.native
175
+ ? {
176
+ dir: agent.capabilities.skill.native.directory,
177
+ additionalReadPaths: deriveAdditionalSkillReadPaths(agent),
178
+ }
179
+ : undefined;
180
+ return {
181
+ id: deriveAgentId(agent),
182
+ name: agent.name,
183
+ rootDir,
184
+ detection,
185
+ ...(skills === undefined ? {} : { skills }),
186
+ ...(subagents === undefined ? {} : { subagents }),
187
+ ...(instructions === undefined ? {} : { instructions }),
188
+ };
189
+ };
190
+ /** @experimental This API is unstable and may change without notice. */
191
+ export const listCapabilities = (agent) => {
192
+ const capabilities = [];
193
+ for (const type of LEAF_EXTENSION_TYPES) {
194
+ const capability = capabilityForType(agent, type);
195
+ if (capability === undefined)
196
+ continue;
197
+ if (capability.axm.status !== "unsupported" ||
198
+ capability.axm.writer !== null ||
199
+ capability.axm.lastVerified !== null ||
200
+ capability.native.availability.via !== "none" ||
201
+ capability.native.sources.length > 0 ||
202
+ capability.native.docs.length > 0 ||
203
+ capability.native.notes !== null) {
204
+ capabilities.push({ type, capability });
205
+ }
206
+ }
207
+ return capabilities;
208
+ };
209
+ /** @experimental This API is unstable and may change without notice. */
210
+ export const agentSupportsType = (agent, type) => {
211
+ const capability = agent.capabilities[type];
212
+ return isCapabilitySupported(capability);
213
+ };
214
+ /** @experimental This API is unstable and may change without notice. */
215
+ export const getSupportedExtensionTypesForAgent = (agent) => LEAF_EXTENSION_TYPES.filter((type) => {
216
+ const capability = capabilityForType(agent, type);
217
+ return capability !== undefined && isCapabilitySupported(capability);
218
+ });
219
+ // A type the catalog models no capability for is treated as unsupported.
220
+ const agentSatisfiesType = (agent, type) => {
221
+ const capability = capabilityForType(agent, type);
222
+ return capability !== undefined && isCapabilitySupported(capability);
223
+ };
224
+ /**
225
+ * Agents an extension of the given types can be installed for.
226
+ *
227
+ * @experimental This API is unstable and may change without notice.
228
+ */
229
+ export const getSupportedAgentsForExtensionTypes = (types, catalog = AGENTS) => {
230
+ if (types.length === 0)
231
+ return [];
232
+ return catalog.filter((agent) => types.every((type) => agentSatisfiesType(agent, type)));
233
+ };
234
+ /** @experimental This API is unstable and may change without notice. */
235
+ export const getSupportedAgentsForExtensionType = (type, catalog = AGENTS) => getSupportedAgentsForExtensionTypes([type], catalog);
236
+ /** @experimental This API is unstable and may change without notice. */
237
+ export const getSupportedAgentsForExtension = (extension, catalog = AGENTS) => extension.type === "pack"
238
+ ? getSupportedAgentsForExtensionTypes(extension.memberTypes, catalog)
239
+ : getSupportedAgentsForExtensionType(extension.type, catalog);
240
+ const hookDecisionKinds = (decisions) => new Set(decisions.map((decision) => decision.kind));
241
+ const missingValues = (required, available) => required.filter((value) => !available.has(value));
242
+ const unique = (values) => Array.from(new Set(values));
243
+ /** @experimental This API is unstable and may change without notice. */
244
+ export const canonicalCoverage = (agent) => {
245
+ const hook = agent.capabilities.hook;
246
+ if (!("events" in hook.native)) {
247
+ return {
248
+ events: [],
249
+ tools: [],
250
+ mechanism: [],
251
+ matcherKinds: [],
252
+ decision: [],
253
+ };
254
+ }
255
+ return {
256
+ events: unique(hook.native.events.map((event) => event.canonical)),
257
+ tools: unique(hook.native.tools.map((tool) => tool.canonical)),
258
+ mechanism: unique(hook.native.mechanism),
259
+ matcherKinds: unique(hook.native.events.map((event) => event.matcher.kind)),
260
+ decision: hook.native.events.flatMap((event) => event.decision),
261
+ };
262
+ };
263
+ const hookEventForBinding = (agent, binding) => {
264
+ const native = agent.capabilities.hook.native;
265
+ if (!("events" in native))
266
+ return undefined;
267
+ return native.events.find((event) => event.canonical === binding.on);
268
+ };
269
+ const targetMatcherRaw = (agent, binding) => binding.targets?.[agent.id]?.matcherRaw ?? binding.matcherRaw;
270
+ const bindingRequiresMatcher = (agent, binding) => targetMatcherRaw(agent, binding) !== undefined || (binding.match?.tools?.length ?? 0) > 0;
271
+ const decisionRequirementSatisfied = (available, required) => available.some((decision) => decision.kind === required.kind);
272
+ /** @experimental This API is unstable and may change without notice. */
273
+ export const installable = (agent, binding) => {
274
+ const hook = agent.capabilities.hook;
275
+ if (hook.native.availability.via === "none") {
276
+ return { installable: false, reason: `${agent.name} has no hook system.` };
277
+ }
278
+ if (!("events" in hook.native)) {
279
+ return { installable: false, reason: `${agent.name} has no modeled hook events.` };
280
+ }
281
+ if (hook.axm.writer === null) {
282
+ return { installable: false, reason: `AXM has not built a hook writer for ${agent.name}.` };
283
+ }
284
+ const event = hookEventForBinding(agent, binding);
285
+ if (event === undefined) {
286
+ return {
287
+ installable: false,
288
+ reason: `${agent.name} does not support ${binding.on}.`,
289
+ };
290
+ }
291
+ if (bindingRequiresMatcher(agent, binding) && event.matcher.kind === "none-imperative") {
292
+ return {
293
+ installable: false,
294
+ reason: `${agent.name} cannot express a matcher for ${binding.on}.`,
295
+ };
296
+ }
297
+ const tools = binding.match?.tools ?? [];
298
+ if (tools.length > 0) {
299
+ const nativeTools = new Set(hook.native.tools.map((tool) => tool.canonical));
300
+ const missingTools = missingValues(tools, nativeTools);
301
+ if (missingTools.length > 0) {
302
+ return {
303
+ installable: false,
304
+ reason: `${agent.name} cannot express matcher tool(s): ${missingTools.join(", ")}.`,
305
+ };
306
+ }
307
+ }
308
+ const requiredDecision = binding.requires?.decision;
309
+ if (requiredDecision !== undefined &&
310
+ !decisionRequirementSatisfied(event.decision, requiredDecision)) {
311
+ return {
312
+ installable: false,
313
+ reason: `${agent.name} cannot satisfy ${requiredDecision.kind} decisions for ${binding.on}.`,
314
+ };
315
+ }
316
+ return { installable: true, reason: `${agent.name} can install ${binding.on}.` };
317
+ };
318
+ /** @experimental This API is unstable and may change without notice. */
319
+ export const deriveHookPortability = (agent, requirement) => {
320
+ const hook = agent.capabilities.hook;
321
+ if (hook.native.availability.via === "none") {
322
+ return {
323
+ standardsCompliance: "none",
324
+ reason: `${agent.name} has no known native hook surface.`,
325
+ };
326
+ }
327
+ if (!("events" in hook.native)) {
328
+ return {
329
+ standardsCompliance: "none",
330
+ reason: `${agent.name} has no modeled native hook events.`,
331
+ };
332
+ }
333
+ const coverage = canonicalCoverage(agent);
334
+ const eventIds = new Set(coverage.events);
335
+ const missingEvents = missingValues(requirement.events, eventIds);
336
+ if (missingEvents.length > 0) {
337
+ return {
338
+ standardsCompliance: "none",
339
+ reason: `${agent.name} does not expose required hook event(s): ${missingEvents.join(", ")}.`,
340
+ };
341
+ }
342
+ const mechanisms = new Set(coverage.mechanism);
343
+ const missingMechanisms = missingValues(requirement.mechanisms, mechanisms);
344
+ const decisions = hook.native.events.flatMap((event) => event.decision);
345
+ const availableDecisionKinds = hookDecisionKinds(decisions);
346
+ const missingDecisions = missingValues(requirement.decisions, availableDecisionKinds);
347
+ const partialReasons = [
348
+ ...(missingMechanisms.length === 0
349
+ ? []
350
+ : [`missing mechanism(s): ${missingMechanisms.join(", ")}`]),
351
+ ...(missingDecisions.length === 0
352
+ ? []
353
+ : [`missing decision(s): ${missingDecisions.join(", ")}`]),
354
+ ...(hook.axm.writer !== null ? [] : ["AXM has no writer"]),
355
+ ];
356
+ if (partialReasons.length > 0) {
357
+ return {
358
+ standardsCompliance: "partial",
359
+ reason: `${agent.name} has a native hook surface, but ${partialReasons.join("; ")}.`,
360
+ };
361
+ }
362
+ return {
363
+ standardsCompliance: "full",
364
+ reason: `${agent.name} supports the required hook events, mechanism, decisions, and AXM writer.`,
365
+ };
366
+ };
367
+ /** @experimental This API is unstable and may change without notice. */
368
+ export const toNativeAgent = (agent) => ({
369
+ id: agent.id,
370
+ name: agent.name,
371
+ vendor: agent.vendor,
372
+ homepage: agent.homepage,
373
+ interfaces: agent.interfaces,
374
+ family: agent.family,
375
+ rootDir: agent.rootDir,
376
+ ...(agent.installTarget === undefined ? {} : { installTarget: agent.installTarget }),
377
+ lifecycle: agent.lifecycle,
378
+ detection: agent.detection,
379
+ docs: agent.docs,
380
+ capabilities: {
381
+ skill: agent.capabilities.skill.native,
382
+ "mcp-server": agent.capabilities["mcp-server"].native,
383
+ subagent: agent.capabilities.subagent.native,
384
+ hook: agent.capabilities.hook.native,
385
+ },
386
+ instructions: agent.instructions.native,
387
+ permissions: agent.permissions.native,
388
+ });
389
+ //# sourceMappingURL=derive.js.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Agent capability catalog for @agentxm/extension-model.
3
+ *
4
+ * @experimental All exports from this module are unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { AgentIdFromYamlSchema, AgentCapabilitiesSchema, AgentInterfaceSchema, AgentLifecycleSchema, AgentLifecycleStateSchema, AgentSchema, ActiveAxmSupportSchema, AvailabilitySchema, AxmSupportSchema, CANONICAL_HOOK_EVENTS, CANONICAL_HOOK_EVENT_IDS, CANONICAL_HOOK_TOOL_IDS, CapabilityTargetingEntrySchema, CapabilityTargetingSchema, CanonicalHookEventIdSchema, CanonicalHookEventSchema, CanonicalHookToolIdSchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionMarkerSchema, DetectionSchema, DetectionSignalSchema, InactiveAxmSupportSchema, LastVerifiedDateSchema, HookBlockOutcomeSchema, HookCommandNameSerializationSchema, HookDecisionCapabilitySchema, HookEventMappingSchema, HookEventTierSchema, HookMatcherKindSchema, HookMatcherSerializationSchema, HookMatcherSchema, HookMechanismFamilySchema, HookModifyOperationSchema, HookTimeoutSerializationSchema, HookToolMappingSchema, HostedInstallArtifactSchema, HostedInstallDeliverySchema, HostedInstallTargetSchema, McpEnvExpansionSchema, McpExtensionCapabilitySchema, McpActivationFieldRepresentationSchema, McpActivationFieldSchema, McpTypeFieldRepresentationSchema, McpTypeFieldSchema, McpTransportSchema, NativeCapabilityBaseSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsExtensionCapabilitySchema, PluginDescriptorSchema, PluginDetectionConfigKeySchema, PluginDetectionPathSchema, PluginDetectionSchema, PluginDistributionMechanismSchema, PluginDistributionSchema, ProvenanceSchema, RuleInstructionsImportSyntaxSchema, RuleInstructionsKindSchema, RulesExtensionCapabilitySchema, ScopeSchema, ScopeDetectionSchema, SkillReadPathSchema, SkillReadPathStatusSchema, SkillsExtensionCapabilitySchema, StandardsComplianceSchema, SubagentsExtensionCapabilitySchema, SubagentsLayoutSchema, SUPPORTED_AXM_SUPPORT, VendorStatusSchema, type Agent, type AgentCapabilities, type AgentExtensionCapability, type ActiveAxmSupport, type AgentIdFromYaml, type AgentInterface, type AgentLifecycle, type AgentLifecycleState, type Availability, type AxmCapabilityState, type AxmSupport, type CanonicalHookEvent, type CanonicalHookEventId, type CanonicalHookToolId, type ConfigFileFormat, type ConfigFileLocation, type Convention, type Detection, type DetectionMarker, type DetectionSignal, type HookBlockOutcome, type HookCommandNameSerialization, type HookDecisionCapability, type HookEventMapping, type HookEventTier, type HookMatcher, type HookMatcherKind, type HookMatcherSerialization, type HookMechanismFamily, type HookModifyOperation, type HookTimeoutSerialization, type HookToolMapping, type HostedInstallArtifact, type HostedInstallDelivery, type HostedInstallTarget, type HooksSerializer, type HooksWriter, type InactiveAxmSupport, type LastVerifiedDate, type McpEnvExpansion, type McpExtensionCapability, type McpActivationField, type McpActivationFieldRepresentation, type McpConfig, type McpConfigTarget, type McpTargetAttribution, type McpRemoteDialect, type McpServersKey, type McpStdioDialect, type McpTypeField, type McpTypeFieldRepresentation, type McpTransport, type PermissionCliFlag, type PermissionGrammar, type PermissionGrammarStyle, type PermissionGrant, type PermissionMechanism, type PermissionPrerequisite, type PermissionsExtensionCapability, type NativeCapability, type NativeCapabilityBase, type PluginDescriptor, type PluginDetection, type PluginDetectionConfigKey, type PluginDetectionPath, type PluginDistribution, type PluginDistributionMechanism, type Provenance, type RuleInstructionsImportSyntax, type RuleInstructionsKind, type RulesExtensionCapability, type Scope, type ScopeDetection, type SkillReadPath, type SkillReadPathStatus, type SkillsExtensionCapability, type StandardsCompliance, type SubagentsExtensionCapability, type SubagentsLayout, type VendorStatus, } from "./schema.js";
8
+ export { DocLinkSchema, LEAF_EXTENSION_TYPES, StandardSchema, UrlSchema, type DocLink, type LeafExtensionType, type Standard, type Url, } from "../extension-types/schema.js";
9
+ export { type PerAgentType } from "../extensions/common.js";
10
+ export { STANDARDS } from "../extension-types/standards.js";
11
+ export { CAPABILITY_VERIFICATION_BUDGET_DAYS, capabilityVerificationAgeReport, type AgentCapabilitySlot, type CapabilityVerificationAge, } from "./verification.js";
12
+ export { agentCapabilityStatus, agentSupportsType, axmIntegrationStatus, canonicalCoverage, deriveAgentDescriptor, deriveSkillConvention, deriveHookPortability, getSupportedAgentsForExtension, getSupportedAgentsForExtensionType, getSupportedAgentsForExtensionTypes, getSupportedExtensionTypesForAgent, isCapabilitySupported, isLeafExtensionType, listCapabilities, installable, toNativeAgent, type AgentCapabilityStatus, type AxmIntegrationStatus, type CapabilityListing, type ExtensionCompatibilityInput, type HookDecisionKind, type HookDecisionRequirement, type HookInstallabilityVerdict, type HookInstallBinding, type HookPortabilityRequirement, type HookPortabilityVerdict, type NativeAgent, type NativeAgentCapabilities, } from "./derive.js";
13
+ export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema, CONFIGURABLE_AGENTS_BY_ID, CONFIGURABLE_AGENT_IDS, HOSTED_AGENTS_BY_ID, HOSTED_AGENT_IDS, type AgentId, type ConfigurableAgentId, type HostedAgentId, } from "./catalog.js";
14
+ export { agentById } from "./lookup.js";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Agent capability catalog for @agentxm/extension-model.
3
+ *
4
+ * @experimental All exports from this module are unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { AgentIdFromYamlSchema, AgentCapabilitiesSchema, AgentInterfaceSchema, AgentLifecycleSchema, AgentLifecycleStateSchema, AgentSchema, ActiveAxmSupportSchema, AvailabilitySchema, AxmSupportSchema, CANONICAL_HOOK_EVENTS, CANONICAL_HOOK_EVENT_IDS, CANONICAL_HOOK_TOOL_IDS, CapabilityTargetingEntrySchema, CapabilityTargetingSchema, CanonicalHookEventIdSchema, CanonicalHookEventSchema, CanonicalHookToolIdSchema, ConfigFileFormatSchema, ConfigFileLocationSchema, ConventionSchema, DetectionMarkerSchema, DetectionSchema, DetectionSignalSchema, InactiveAxmSupportSchema, LastVerifiedDateSchema, HookBlockOutcomeSchema, HookCommandNameSerializationSchema, HookDecisionCapabilitySchema, HookEventMappingSchema, HookEventTierSchema, HookMatcherKindSchema, HookMatcherSerializationSchema, HookMatcherSchema, HookMechanismFamilySchema, HookModifyOperationSchema, HookTimeoutSerializationSchema, HookToolMappingSchema, HostedInstallArtifactSchema, HostedInstallDeliverySchema, HostedInstallTargetSchema, McpEnvExpansionSchema, McpExtensionCapabilitySchema, McpActivationFieldRepresentationSchema, McpActivationFieldSchema, McpTypeFieldRepresentationSchema, McpTypeFieldSchema, McpTransportSchema, NativeCapabilityBaseSchema, PermissionCliFlagSchema, PermissionGrammarSchema, PermissionGrammarStyleSchema, PermissionGrantSchema, PermissionMechanismSchema, PermissionPrerequisiteSchema, PermissionsExtensionCapabilitySchema, PluginDescriptorSchema, PluginDetectionConfigKeySchema, PluginDetectionPathSchema, PluginDetectionSchema, PluginDistributionMechanismSchema, PluginDistributionSchema, ProvenanceSchema, RuleInstructionsImportSyntaxSchema, RuleInstructionsKindSchema, RulesExtensionCapabilitySchema, ScopeSchema, ScopeDetectionSchema, SkillReadPathSchema, SkillReadPathStatusSchema, SkillsExtensionCapabilitySchema, StandardsComplianceSchema, SubagentsExtensionCapabilitySchema, SubagentsLayoutSchema, SUPPORTED_AXM_SUPPORT, VendorStatusSchema, } from "./schema.js";
8
+ export { DocLinkSchema, LEAF_EXTENSION_TYPES, StandardSchema, UrlSchema, } from "../extension-types/schema.js";
9
+ export {} from "../extensions/common.js";
10
+ export { STANDARDS } from "../extension-types/standards.js";
11
+ export { CAPABILITY_VERIFICATION_BUDGET_DAYS, capabilityVerificationAgeReport, } from "./verification.js";
12
+ export { agentCapabilityStatus, agentSupportsType, axmIntegrationStatus, canonicalCoverage, deriveAgentDescriptor, deriveSkillConvention, deriveHookPortability, getSupportedAgentsForExtension, getSupportedAgentsForExtensionType, getSupportedAgentsForExtensionTypes, getSupportedExtensionTypesForAgent, isCapabilitySupported, isLeafExtensionType, listCapabilities, installable, toNativeAgent, } from "./derive.js";
13
+ export { AGENTS, AGENTS_BY_ID, AGENT_IDS, AgentIdSchema, CONFIGURABLE_AGENTS_BY_ID, CONFIGURABLE_AGENT_IDS, HOSTED_AGENTS_BY_ID, HOSTED_AGENT_IDS, } from "./catalog.js";
14
+ export { agentById } from "./lookup.js";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Catalog lookup helpers.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ */
6
+ import { type AgentId } from "./catalog.js";
7
+ import type { Agent } from "./schema.js";
8
+ /** @experimental This API is unstable and may change without notice. */
9
+ export declare const agentById: (id: AgentId) => Agent;
10
+ //# sourceMappingURL=lookup.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Catalog lookup helpers.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ */
6
+ import { AGENTS_BY_ID } from "./catalog.js";
7
+ /** @experimental This API is unstable and may change without notice. */
8
+ export const agentById = (id) => AGENTS_BY_ID[id];
9
+ //# sourceMappingURL=lookup.js.map