@agentxm/client-core 0.5.1 → 0.5.3

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 (466) hide show
  1. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -1
  2. package/dist/src/unstable/agents/mcp-sync.js +1 -0
  3. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  4. package/dist/src/unstable/app-error/app-error.d.ts +79 -3
  5. package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
  6. package/dist/src/unstable/app-error/app-error.js +114 -38
  7. package/dist/src/unstable/app-error/app-error.js.map +1 -1
  8. package/dist/src/unstable/app-error/builders.d.ts.map +1 -1
  9. package/dist/src/unstable/app-error/builders.js +1 -2
  10. package/dist/src/unstable/app-error/builders.js.map +1 -1
  11. package/dist/src/unstable/app-error/index.d.ts +1 -1
  12. package/dist/src/unstable/app-error/index.d.ts.map +1 -1
  13. package/dist/src/unstable/app-error/index.js +1 -1
  14. package/dist/src/unstable/app-error/index.js.map +1 -1
  15. package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
  16. package/dist/src/unstable/auth/auth-client.js +10 -11
  17. package/dist/src/unstable/auth/auth-client.js.map +1 -1
  18. package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
  19. package/dist/src/unstable/auth/credential-store.js +1 -4
  20. package/dist/src/unstable/auth/credential-store.js.map +1 -1
  21. package/dist/src/unstable/auth/guard.js +1 -1
  22. package/dist/src/unstable/auth/guard.js.map +1 -1
  23. package/dist/src/unstable/auth/token-resolution.js +1 -1
  24. package/dist/src/unstable/auth/token-resolution.js.map +1 -1
  25. package/dist/src/unstable/cli/prompt/helpers.js +1 -1
  26. package/dist/src/unstable/cli/prompt/helpers.js.map +1 -1
  27. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -1
  28. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +1 -7
  29. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -1
  30. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -1
  31. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +9 -11
  32. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -1
  33. package/dist/src/unstable/cli-runtime/breadcrumb.d.ts +0 -2
  34. package/dist/src/unstable/cli-runtime/breadcrumb.d.ts.map +1 -1
  35. package/dist/src/unstable/cli-runtime/breadcrumb.js +7 -4
  36. package/dist/src/unstable/cli-runtime/breadcrumb.js.map +1 -1
  37. package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts +1 -1
  38. package/dist/src/unstable/cli-runtime/graceful-shutdown.js +2 -2
  39. package/dist/src/unstable/cli-runtime/handle-error.d.ts +3 -4
  40. package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
  41. package/dist/src/unstable/cli-runtime/handle-error.js +10 -20
  42. package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
  43. package/dist/src/unstable/cli-runtime/json-envelope.d.ts +3 -14
  44. package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
  45. package/dist/src/unstable/cli-runtime/json-envelope.js +3 -6
  46. package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
  47. package/dist/src/unstable/cli-runtime/output-mode.d.ts +0 -3
  48. package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -1
  49. package/dist/src/unstable/cli-runtime/output-mode.js +1 -4
  50. package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -1
  51. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +10 -0
  52. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
  53. package/dist/src/unstable/cli-runtime/runtime-envelope.js +32 -17
  54. package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
  55. package/dist/src/unstable/commands/command-content.d.ts +10 -0
  56. package/dist/src/unstable/commands/command-content.d.ts.map +1 -1
  57. package/dist/src/unstable/commands/command-content.js +17 -3
  58. package/dist/src/unstable/commands/command-content.js.map +1 -1
  59. package/dist/src/unstable/commands/manager.js +4 -4
  60. package/dist/src/unstable/commands/manager.js.map +1 -1
  61. package/dist/src/unstable/commands/manifest-schema.d.ts +11 -8
  62. package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
  63. package/dist/src/unstable/commands/manifest-schema.js +8 -6
  64. package/dist/src/unstable/commands/manifest-schema.js.map +1 -1
  65. package/dist/src/unstable/commands/operations/enable.js +3 -3
  66. package/dist/src/unstable/commands/operations/enable.js.map +1 -1
  67. package/dist/src/unstable/commands/operations/install.d.ts +1 -1
  68. package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
  69. package/dist/src/unstable/commands/operations/install.js +3 -3
  70. package/dist/src/unstable/commands/operations/install.js.map +1 -1
  71. package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
  72. package/dist/src/unstable/commands/operations/new-command.js +5 -4
  73. package/dist/src/unstable/commands/operations/new-command.js.map +1 -1
  74. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  75. package/dist/src/unstable/commands/operations/publish.js +12 -5
  76. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  77. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +11 -7
  78. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
  79. package/dist/src/unstable/commands/operations/shared-command-helpers.js +33 -7
  80. package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
  81. package/dist/src/unstable/commands/reconciliation-adapter.js +2 -2
  82. package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
  83. package/dist/src/unstable/commands/registry-ref-builder.d.ts +2 -2
  84. package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -1
  85. package/dist/src/unstable/commands/registry-ref-builder.js +2 -2
  86. package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -1
  87. package/dist/src/unstable/discover/discover.js +5 -5
  88. package/dist/src/unstable/discover/discover.js.map +1 -1
  89. package/dist/src/unstable/extensions/common.d.ts +117 -23
  90. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  91. package/dist/src/unstable/extensions/common.js +185 -43
  92. package/dist/src/unstable/extensions/common.js.map +1 -1
  93. package/dist/src/unstable/extensions/fqn.d.ts +38 -10
  94. package/dist/src/unstable/extensions/fqn.d.ts.map +1 -1
  95. package/dist/src/unstable/extensions/fqn.js +44 -25
  96. package/dist/src/unstable/extensions/fqn.js.map +1 -1
  97. package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -1
  98. package/dist/src/unstable/extensions/frontmatter.js +0 -1
  99. package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
  100. package/dist/src/unstable/extensions/index.d.ts +4 -4
  101. package/dist/src/unstable/extensions/index.d.ts.map +1 -1
  102. package/dist/src/unstable/extensions/index.js +3 -3
  103. package/dist/src/unstable/extensions/index.js.map +1 -1
  104. package/dist/src/unstable/extensions/materializable-from-disk.d.ts +2 -2
  105. package/dist/src/unstable/extensions/materializable-from-disk.d.ts.map +1 -1
  106. package/dist/src/unstable/extensions/materializable-from-disk.js +9 -12
  107. package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
  108. package/dist/src/unstable/extensions/operations.d.ts +4 -4
  109. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  110. package/dist/src/unstable/extensions/operations.js +10 -10
  111. package/dist/src/unstable/extensions/operations.js.map +1 -1
  112. package/dist/src/unstable/extensions/ref-base.d.ts +6 -9
  113. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  114. package/dist/src/unstable/extensions/refs.d.ts +2 -2
  115. package/dist/src/unstable/extensions/refs.d.ts.map +1 -1
  116. package/dist/src/unstable/extensions/registry-source.d.ts +8 -8
  117. package/dist/src/unstable/extensions/registry-source.js +13 -13
  118. package/dist/src/unstable/extensions/registry-source.js.map +1 -1
  119. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts +4 -4
  120. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js +9 -9
  121. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js.map +1 -1
  122. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +1 -1
  123. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -1
  124. package/dist/src/unstable/lint/catalog/pack/manifest-present.js +6 -6
  125. package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -1
  126. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts +5 -5
  127. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts.map +1 -1
  128. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js +9 -9
  129. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js.map +1 -1
  130. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts +1 -1
  131. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js +1 -1
  132. package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts +3 -3
  133. package/dist/src/unstable/lint/catalog/pack-accessor/platform.js +3 -3
  134. package/dist/src/unstable/lint/catalog/shared/schema-rule.js +1 -1
  135. package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
  136. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +1 -1
  137. package/dist/src/unstable/lint/catalog/skill/manifest-present.js +1 -1
  138. package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts +1 -1
  139. package/dist/src/unstable/lint/catalog/skill-accessor/vft.js +1 -1
  140. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts +1 -1
  141. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts.map +1 -1
  142. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js +1 -1
  143. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js.map +1 -1
  144. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts +1 -1
  145. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +1 -1
  146. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -1
  147. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js +1 -1
  148. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js.map +1 -1
  149. package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js +3 -3
  150. package/dist/src/unstable/lint/catalog/workspace-fixtures/interpret-ops.js.map +1 -1
  151. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts +1 -1
  152. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +1 -1
  153. package/dist/src/unstable/lint/context.d.ts +7 -7
  154. package/dist/src/unstable/lint/issues-to-findings.js +1 -1
  155. package/dist/src/unstable/lint/issues-to-findings.js.map +1 -1
  156. package/dist/src/unstable/lockfile/index.d.ts +2 -2
  157. package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
  158. package/dist/src/unstable/lockfile/index.js +1 -1
  159. package/dist/src/unstable/lockfile/index.js.map +1 -1
  160. package/dist/src/unstable/lockfile/resolved-version.d.ts.map +1 -1
  161. package/dist/src/unstable/lockfile/resolved-version.js +3 -4
  162. package/dist/src/unstable/lockfile/resolved-version.js.map +1 -1
  163. package/dist/src/unstable/lockfile/schema.d.ts +61 -61
  164. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  165. package/dist/src/unstable/lockfile/schema.js +20 -17
  166. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  167. package/dist/src/unstable/mcp-servers/manager.js +2 -2
  168. package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
  169. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +9 -5
  170. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -1
  171. package/dist/src/unstable/mcp-servers/manifest-schema.js +6 -3
  172. package/dist/src/unstable/mcp-servers/manifest-schema.js.map +1 -1
  173. package/dist/src/unstable/mcp-servers/operations/install.d.ts +1 -1
  174. package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
  175. package/dist/src/unstable/mcp-servers/operations/install.js +2 -2
  176. package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -1
  177. package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
  178. package/dist/src/unstable/mcp-servers/operations/publish.js +5 -4
  179. package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
  180. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +2 -2
  181. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -1
  182. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +2 -2
  183. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -1
  184. package/dist/src/unstable/mcp-servers/registry-ref-builder.js +2 -2
  185. package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -1
  186. package/dist/src/unstable/packaging/axm-package-meta.d.ts +1 -1
  187. package/dist/src/unstable/packaging/axm-package-meta.js +2 -2
  188. package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -1
  189. package/dist/src/unstable/packaging/package-type.d.ts +4 -0
  190. package/dist/src/unstable/packaging/package-type.d.ts.map +1 -1
  191. package/dist/src/unstable/packaging/package-type.js +17 -4
  192. package/dist/src/unstable/packaging/package-type.js.map +1 -1
  193. package/dist/src/unstable/packaging/package-url.d.ts +7 -1
  194. package/dist/src/unstable/packaging/package-url.d.ts.map +1 -1
  195. package/dist/src/unstable/packaging/package-url.js +38 -5
  196. package/dist/src/unstable/packaging/package-url.js.map +1 -1
  197. package/dist/src/unstable/packaging/read.d.ts +1 -1
  198. package/dist/src/unstable/packaging/read.d.ts.map +1 -1
  199. package/dist/src/unstable/packaging/types.d.ts +2 -2
  200. package/dist/src/unstable/packaging/types.d.ts.map +1 -1
  201. package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -3
  202. package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
  203. package/dist/src/unstable/packs/dependency-resolution.js +66 -27
  204. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
  205. package/dist/src/unstable/packs/expansion.d.ts +14 -14
  206. package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
  207. package/dist/src/unstable/packs/expansion.js +18 -18
  208. package/dist/src/unstable/packs/expansion.js.map +1 -1
  209. package/dist/src/unstable/packs/index.d.ts +22 -22
  210. package/dist/src/unstable/packs/index.d.ts.map +1 -1
  211. package/dist/src/unstable/packs/index.js +14 -14
  212. package/dist/src/unstable/packs/index.js.map +1 -1
  213. package/dist/src/unstable/packs/manager.d.ts +7 -7
  214. package/dist/src/unstable/packs/manager.d.ts.map +1 -1
  215. package/dist/src/unstable/packs/manager.js +26 -30
  216. package/dist/src/unstable/packs/manager.js.map +1 -1
  217. package/dist/src/unstable/packs/manifest-schema.d.ts +16 -17
  218. package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
  219. package/dist/src/unstable/packs/manifest-schema.js +14 -15
  220. package/dist/src/unstable/packs/manifest-schema.js.map +1 -1
  221. package/dist/src/unstable/packs/operations/add-to-pack.d.ts +7 -7
  222. package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
  223. package/dist/src/unstable/packs/operations/add-to-pack.js +19 -42
  224. package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -1
  225. package/dist/src/unstable/packs/operations/install.d.ts +17 -17
  226. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  227. package/dist/src/unstable/packs/operations/install.js +37 -33
  228. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  229. package/dist/src/unstable/packs/operations/new-pack.d.ts +12 -12
  230. package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
  231. package/dist/src/unstable/packs/operations/new-pack.js +29 -32
  232. package/dist/src/unstable/packs/operations/new-pack.js.map +1 -1
  233. package/dist/src/unstable/packs/operations/publish.d.ts +8 -8
  234. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  235. package/dist/src/unstable/packs/operations/publish.js +21 -31
  236. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  237. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +7 -7
  238. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
  239. package/dist/src/unstable/packs/operations/remove-from-pack.js +18 -27
  240. package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -1
  241. package/dist/src/unstable/packs/operations/uninstall.d.ts +11 -11
  242. package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -1
  243. package/dist/src/unstable/packs/operations/uninstall.js +17 -17
  244. package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
  245. package/dist/src/unstable/packs/operations/unpack.d.ts +10 -10
  246. package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
  247. package/dist/src/unstable/packs/operations/unpack.js +42 -20
  248. package/dist/src/unstable/packs/operations/unpack.js.map +1 -1
  249. package/dist/src/unstable/packs/paths.d.ts +9 -9
  250. package/dist/src/unstable/packs/paths.d.ts.map +1 -1
  251. package/dist/src/unstable/packs/paths.js +7 -7
  252. package/dist/src/unstable/packs/paths.js.map +1 -1
  253. package/dist/src/unstable/packs/reconciliation-adapter.d.ts +1 -1
  254. package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -1
  255. package/dist/src/unstable/packs/reconciliation-adapter.js +120 -79
  256. package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -1
  257. package/dist/src/unstable/packs/refs.d.ts +5 -5
  258. package/dist/src/unstable/packs/refs.d.ts.map +1 -1
  259. package/dist/src/unstable/packs/refs.js +2 -2
  260. package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -1
  261. package/dist/src/unstable/plan/resolve-plan.js +3 -4
  262. package/dist/src/unstable/plan/resolve-plan.js.map +1 -1
  263. package/dist/src/unstable/publish/input-normalization.d.ts +3 -3
  264. package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -1
  265. package/dist/src/unstable/publish/manifest-policy.d.ts +49 -34
  266. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  267. package/dist/src/unstable/publish/manifest-policy.js +19 -8
  268. package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
  269. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +4 -4
  270. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  271. package/dist/src/unstable/registry/__generated__/registry-client.js +2 -2
  272. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  273. package/dist/src/unstable/registry/client.d.ts +7 -7
  274. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  275. package/dist/src/unstable/registry/client.js.map +1 -1
  276. package/dist/src/unstable/registry/discover-schema.d.ts +8 -6
  277. package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -1
  278. package/dist/src/unstable/registry/discover-schema.js +2 -2
  279. package/dist/src/unstable/registry/discover-schema.js.map +1 -1
  280. package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
  281. package/dist/src/unstable/registry/error-mapping.js +2 -6
  282. package/dist/src/unstable/registry/error-mapping.js.map +1 -1
  283. package/dist/src/unstable/registry/local-client.js +10 -10
  284. package/dist/src/unstable/registry/local-client.js.map +1 -1
  285. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  286. package/dist/src/unstable/registry/remote-client.js +17 -23
  287. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  288. package/dist/src/unstable/registry/schema.d.ts +11 -7
  289. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  290. package/dist/src/unstable/registry/schema.js +3 -3
  291. package/dist/src/unstable/registry/schema.js.map +1 -1
  292. package/dist/src/unstable/registry/utils.d.ts +1 -1
  293. package/dist/src/unstable/registry/utils.d.ts.map +1 -1
  294. package/dist/src/unstable/registry/utils.js +4 -4
  295. package/dist/src/unstable/registry/utils.js.map +1 -1
  296. package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -1
  297. package/dist/src/unstable/settings/ignored-patterns.js +1 -4
  298. package/dist/src/unstable/settings/ignored-patterns.js.map +1 -1
  299. package/dist/src/unstable/settings/index.d.ts +2 -2
  300. package/dist/src/unstable/settings/index.d.ts.map +1 -1
  301. package/dist/src/unstable/settings/index.js +1 -1
  302. package/dist/src/unstable/settings/index.js.map +1 -1
  303. package/dist/src/unstable/settings/schema.d.ts +27 -27
  304. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  305. package/dist/src/unstable/settings/schema.js +57 -73
  306. package/dist/src/unstable/settings/schema.js.map +1 -1
  307. package/dist/src/unstable/skills/index.d.ts +2 -1
  308. package/dist/src/unstable/skills/index.d.ts.map +1 -1
  309. package/dist/src/unstable/skills/index.js +2 -1
  310. package/dist/src/unstable/skills/index.js.map +1 -1
  311. package/dist/src/unstable/skills/manager.d.ts.map +1 -1
  312. package/dist/src/unstable/skills/manager.js +5 -5
  313. package/dist/src/unstable/skills/manager.js.map +1 -1
  314. package/dist/src/unstable/skills/manifest-schema.d.ts +9 -5
  315. package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
  316. package/dist/src/unstable/skills/manifest-schema.js +6 -3
  317. package/dist/src/unstable/skills/manifest-schema.js.map +1 -1
  318. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
  319. package/dist/src/unstable/skills/operations/copy.js +3 -2
  320. package/dist/src/unstable/skills/operations/copy.js.map +1 -1
  321. package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
  322. package/dist/src/unstable/skills/operations/disable.js +1 -3
  323. package/dist/src/unstable/skills/operations/disable.js.map +1 -1
  324. package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
  325. package/dist/src/unstable/skills/operations/enable.js +4 -1
  326. package/dist/src/unstable/skills/operations/enable.js.map +1 -1
  327. package/dist/src/unstable/skills/operations/install.d.ts +1 -1
  328. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  329. package/dist/src/unstable/skills/operations/install.js +8 -8
  330. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  331. package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -1
  332. package/dist/src/unstable/skills/operations/new-skill.js +3 -4
  333. package/dist/src/unstable/skills/operations/new-skill.js.map +1 -1
  334. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  335. package/dist/src/unstable/skills/operations/publish.js +4 -4
  336. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  337. package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
  338. package/dist/src/unstable/skills/operations/uninstall.js +4 -6
  339. package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
  340. package/dist/src/unstable/skills/reconciliation-adapter.js +2 -2
  341. package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -1
  342. package/dist/src/unstable/skills/registry-ref-builder.d.ts +2 -2
  343. package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -1
  344. package/dist/src/unstable/skills/registry-ref-builder.js +2 -2
  345. package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -1
  346. package/dist/src/unstable/skills/utils.d.ts +7 -7
  347. package/dist/src/unstable/skills/utils.d.ts.map +1 -1
  348. package/dist/src/unstable/skills/utils.js +6 -6
  349. package/dist/src/unstable/skills/utils.js.map +1 -1
  350. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts +2 -2
  351. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  352. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +13 -28
  353. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  354. package/dist/src/unstable/source-resolution/resolve-identifier.d.ts.map +1 -1
  355. package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -10
  356. package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -1
  357. package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
  358. package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -1
  359. package/dist/src/unstable/sources/index.d.ts +1 -1
  360. package/dist/src/unstable/sources/index.d.ts.map +1 -1
  361. package/dist/src/unstable/sources/index.js +1 -1
  362. package/dist/src/unstable/sources/index.js.map +1 -1
  363. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts +3 -3
  364. package/dist/src/unstable/sources/lock-entry-to-ref.d.ts.map +1 -1
  365. package/dist/src/unstable/sources/lock-entry-to-ref.js +7 -10
  366. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  367. package/dist/src/unstable/sources/parser.d.ts +2 -2
  368. package/dist/src/unstable/sources/parser.d.ts.map +1 -1
  369. package/dist/src/unstable/sources/parser.js +1 -1
  370. package/dist/src/unstable/sources/parser.js.map +1 -1
  371. package/dist/src/unstable/sources/provider.d.ts +2 -2
  372. package/dist/src/unstable/sources/provider.d.ts.map +1 -1
  373. package/dist/src/unstable/subagents/manager.d.ts.map +1 -1
  374. package/dist/src/unstable/subagents/manager.js +0 -1
  375. package/dist/src/unstable/subagents/manager.js.map +1 -1
  376. package/dist/src/unstable/subagents/manifest-schema.d.ts +9 -5
  377. package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
  378. package/dist/src/unstable/subagents/manifest-schema.js +6 -3
  379. package/dist/src/unstable/subagents/manifest-schema.js.map +1 -1
  380. package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
  381. package/dist/src/unstable/subagents/operations/disable.js +1 -3
  382. package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
  383. package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
  384. package/dist/src/unstable/subagents/operations/enable.js +1 -2
  385. package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
  386. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  387. package/dist/src/unstable/subagents/operations/publish.js +4 -5
  388. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  389. package/dist/src/unstable/subagents/reconciliation-adapter.js +2 -2
  390. package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -1
  391. package/dist/src/unstable/subagents/registry-ref-builder.d.ts +2 -2
  392. package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -1
  393. package/dist/src/unstable/subagents/registry-ref-builder.js +2 -2
  394. package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -1
  395. package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -1
  396. package/dist/src/unstable/subagents/subagent-content.js +3 -10
  397. package/dist/src/unstable/subagents/subagent-content.js.map +1 -1
  398. package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -1
  399. package/dist/src/unstable/utils/build-zip-archive.js +0 -1
  400. package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
  401. package/dist/src/unstable/version-constraints/version-constraints.d.ts +30 -23
  402. package/dist/src/unstable/version-constraints/version-constraints.d.ts.map +1 -1
  403. package/dist/src/unstable/version-constraints/version-constraints.js +52 -43
  404. package/dist/src/unstable/version-constraints/version-constraints.js.map +1 -1
  405. package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -1
  406. package/dist/src/unstable/version-resolution/version-resolution.js +1 -7
  407. package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -1
  408. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +6 -6
  409. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
  410. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +26 -38
  411. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
  412. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts +4 -4
  413. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -1
  414. package/dist/src/unstable/workspace/index.d.ts +1 -1
  415. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  416. package/dist/src/unstable/workspace/initialization.d.ts +20 -20
  417. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  418. package/dist/src/unstable/workspace/initialization.js +1 -3
  419. package/dist/src/unstable/workspace/initialization.js.map +1 -1
  420. package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts +4 -4
  421. package/dist/src/unstable/workspace/read-model/extensions/pack.d.ts.map +1 -1
  422. package/dist/src/unstable/workspace/read-model/extensions/pack.js +2 -2
  423. package/dist/src/unstable/workspace/read-model/extensions/pack.js.map +1 -1
  424. package/dist/src/unstable/workspace/read-model/extensions/package-root.d.ts +4 -0
  425. package/dist/src/unstable/workspace/read-model/extensions/package-root.d.ts.map +1 -1
  426. package/dist/src/unstable/workspace/read-model/extensions/package-root.js +18 -1
  427. package/dist/src/unstable/workspace/read-model/extensions/package-root.js.map +1 -1
  428. package/dist/src/unstable/workspace/read-model/service.js +2 -2
  429. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  430. package/dist/src/unstable/workspace/read-model-record-readers.js +2 -2
  431. package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
  432. package/dist/src/unstable/workspace/reconciliation-types.d.ts +2 -2
  433. package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -1
  434. package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
  435. package/dist/src/unstable/workspace/service-interface.d.ts +17 -17
  436. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  437. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  438. package/dist/src/unstable/workspace/service.d.ts +38 -38
  439. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  440. package/dist/src/unstable/workspace/service.js +24 -28
  441. package/dist/src/unstable/workspace/service.js.map +1 -1
  442. package/dist/src/unstable/workspace/test-stubs.d.ts +8 -8
  443. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  444. package/dist/src/unstable/workspace/test-stubs.js +16 -16
  445. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  446. package/dist/src/unstable/workspace/version-currency/check-currency.d.ts +5 -5
  447. package/dist/src/unstable/workspace/version-currency/check-currency.d.ts.map +1 -1
  448. package/dist/src/unstable/workspace/version-currency/check-currency.js +2 -2
  449. package/dist/src/unstable/workspace/version-currency/check-currency.js.map +1 -1
  450. package/dist/src/unstable/workspace/version-currency/collectors.d.ts +3 -3
  451. package/dist/src/unstable/workspace/version-currency/collectors.d.ts.map +1 -1
  452. package/dist/src/unstable/workspace/version-currency/collectors.js +2 -2
  453. package/dist/src/unstable/workspace/version-currency/collectors.js.map +1 -1
  454. package/dist/src/unstable/workspace/version-currency/test-stubs.js +2 -2
  455. package/dist/src/unstable/workspace/version-currency/test-stubs.js.map +1 -1
  456. package/package.json +2 -2
  457. package/site-content/__generated__/schemas/axm-lock.schema.json +54 -23
  458. package/site-content/__generated__/schemas/axm-package-meta.schema.json +13 -2
  459. package/site-content/__generated__/schemas/command.schema.json +123 -19
  460. package/site-content/__generated__/schemas/mcp-server.schema.json +124 -14
  461. package/site-content/__generated__/schemas/pack.schema.json +173 -0
  462. package/site-content/__generated__/schemas/settings.schema.json +107 -22
  463. package/site-content/__generated__/schemas/skill.schema.json +124 -14
  464. package/site-content/__generated__/schemas/subagent.schema.json +176 -0
  465. package/site-content/install.md +1 -1
  466. package/site-content/__generated__/schemas/extension-pack.schema.json +0 -103
@@ -15,34 +15,70 @@
15
15
  }
16
16
  ]
17
17
  },
18
- "ExtensionName": { "type": "string" },
19
- "ExactSemverVersion": { "type": "string" },
20
- "ExtensionPackLockEntry": {
18
+ "ExtensionName": {
19
+ "type": "string",
20
+ "allOf": [
21
+ { "minLength": 1 },
22
+ {
23
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
24
+ "title": "Extension Name",
25
+ "description": "The name of an extension — lowercase letters, numbers, and hyphens (e.g. my-skill).",
26
+ "examples": ["my-skill", "code-review", "prettier"]
27
+ }
28
+ ]
29
+ },
30
+ "Version": {
31
+ "type": "string",
32
+ "allOf": [
33
+ {
34
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
35
+ "title": "Version",
36
+ "description": "A semver version like 1.0.0. Ranges are not allowed here.",
37
+ "examples": ["1.0.0", "2.3.1", "0.1.0-beta.1"]
38
+ }
39
+ ]
40
+ },
41
+ "ExtensionFqn": {
42
+ "type": "string",
43
+ "allOf": [
44
+ {
45
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcp-servers|subagents|files|rules|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$",
46
+ "title": "Extension FQN",
47
+ "description": "Canonical extension identifier in @owner/<type>s/<name> form.",
48
+ "examples": ["@acme/skills/code-review", "@my-org/commands/format"]
49
+ }
50
+ ]
51
+ },
52
+ "PackLockEntry": {
21
53
  "type": "object",
22
54
  "properties": {
23
55
  "type": { "type": "string", "enum": ["registry"] },
24
56
  "owner": { "$ref": "#/definitions/Handle" },
25
57
  "name": { "$ref": "#/definitions/ExtensionName" },
26
- "resolvedVersion": { "$ref": "#/definitions/ExactSemverVersion" },
58
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
27
59
  "integrity": { "type": "string" },
28
60
  "sourceName": { "type": "string" },
29
61
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
30
62
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
31
63
  "resolvedSkills": {
32
64
  "type": "object",
33
- "additionalProperties": { "$ref": "#/definitions/ExactSemverVersion" }
65
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
66
+ "additionalProperties": { "$ref": "#/definitions/Version" }
34
67
  },
35
68
  "resolvedCommands": {
36
69
  "type": "object",
37
- "additionalProperties": { "$ref": "#/definitions/ExactSemverVersion" }
70
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
71
+ "additionalProperties": { "$ref": "#/definitions/Version" }
38
72
  },
39
73
  "resolvedMcpServers": {
40
74
  "type": "object",
41
- "additionalProperties": { "$ref": "#/definitions/ExactSemverVersion" }
75
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
76
+ "additionalProperties": { "$ref": "#/definitions/Version" }
42
77
  },
43
78
  "resolvedSubagents": {
44
79
  "type": "object",
45
- "additionalProperties": { "$ref": "#/definitions/ExactSemverVersion" }
80
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
81
+ "additionalProperties": { "$ref": "#/definitions/Version" }
46
82
  }
47
83
  },
48
84
  "required": [
@@ -60,18 +96,16 @@
60
96
  "resolvedSubagents"
61
97
  ],
62
98
  "additionalProperties": false,
63
- "title": "Extension Pack Lock Entry",
64
- "description": "Pinned version info for an installed extension pack from a registry."
99
+ "title": "Pack Lock Entry",
100
+ "description": "Pinned version info for an installed pack from a registry."
65
101
  },
66
102
  "Lockfile": {
67
103
  "type": "object",
68
104
  "properties": {
69
105
  "lockfileVersion": {
70
- "anyOf": [
71
- { "type": "number" },
72
- { "type": "string", "enum": ["NaN"] },
73
- { "type": "string", "enum": ["Infinity"] },
74
- { "type": "string", "enum": ["-Infinity"] }
106
+ "type": "integer",
107
+ "allOf": [
108
+ { "minimum": 1, "description": "Lockfile schema version (currently 1).", "default": 1 }
75
109
  ]
76
110
  },
77
111
  "skills": {
@@ -349,7 +383,7 @@
349
383
  "type": { "type": "string", "enum": ["registry"] },
350
384
  "owner": { "$ref": "#/definitions/Handle" },
351
385
  "name": { "$ref": "#/definitions/ExtensionName" },
352
- "resolvedVersion": { "$ref": "#/definitions/ExactSemverVersion" },
386
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
353
387
  "integrity": { "type": "string" },
354
388
  "sourceName": { "type": "string" },
355
389
  "agents": { "type": "array", "items": { "type": "string" } },
@@ -669,7 +703,7 @@
669
703
  "type": { "type": "string", "enum": ["registry"] },
670
704
  "owner": { "$ref": "#/definitions/Handle" },
671
705
  "name": { "$ref": "#/definitions/ExtensionName" },
672
- "resolvedVersion": { "$ref": "#/definitions/ExactSemverVersion" },
706
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
673
707
  "integrity": { "type": "string" },
674
708
  "sourceName": { "type": "string" },
675
709
  "agents": { "type": "array", "items": { "type": "string" } },
@@ -992,7 +1026,7 @@
992
1026
  "type": { "type": "string", "enum": ["registry"] },
993
1027
  "owner": { "$ref": "#/definitions/Handle" },
994
1028
  "name": { "$ref": "#/definitions/ExtensionName" },
995
- "resolvedVersion": { "$ref": "#/definitions/ExactSemverVersion" },
1029
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
996
1030
  "integrity": { "type": "string" },
997
1031
  "sourceName": { "type": "string" },
998
1032
  "agents": { "type": "array", "items": { "type": "string" } },
@@ -1200,7 +1234,7 @@
1200
1234
  "type": { "type": "string", "enum": ["registry"] },
1201
1235
  "owner": { "$ref": "#/definitions/Handle" },
1202
1236
  "name": { "$ref": "#/definitions/ExtensionName" },
1203
- "resolvedVersion": { "$ref": "#/definitions/ExactSemverVersion" },
1237
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
1204
1238
  "integrity": { "type": "string" },
1205
1239
  "sourceName": { "type": "string" },
1206
1240
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1228,10 +1262,7 @@
1228
1262
  },
1229
1263
  "packs": {
1230
1264
  "anyOf": [
1231
- {
1232
- "type": "object",
1233
- "additionalProperties": { "$ref": "#/definitions/ExtensionPackLockEntry" }
1234
- },
1265
+ { "type": "object", "additionalProperties": { "$ref": "#/definitions/PackLockEntry" } },
1235
1266
  { "type": "null" }
1236
1267
  ]
1237
1268
  }
@@ -2,14 +2,25 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$ref": "#/definitions/AxmPackageMeta",
4
4
  "definitions": {
5
- "FullyQualifiedRef": { "type": "string" },
5
+ "ExtensionSpec": {
6
+ "type": "string",
7
+ "allOf": [
8
+ { "minLength": 1 },
9
+ {
10
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcp-servers|subagents|files|rules|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)(?:@.+)?$",
11
+ "title": "Extension Spec",
12
+ "description": "Extension reference with an optional version constraint suffix.",
13
+ "examples": ["@acme/skills/code-review", "@acme/skills/code-review@^1.0.0"]
14
+ }
15
+ ]
16
+ },
6
17
  "AxmPackageMeta": {
7
18
  "type": "object",
8
19
  "properties": {
9
20
  "$schema": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
10
21
  "recommendedExtensions": {
11
22
  "type": "array",
12
- "items": { "$ref": "#/definitions/FullyQualifiedRef" }
23
+ "items": { "$ref": "#/definitions/ExtensionSpec" }
13
24
  }
14
25
  },
15
26
  "required": ["recommendedExtensions"],
@@ -13,7 +13,17 @@
13
13
  }
14
14
  ]
15
15
  },
16
- "ExactSemverVersion": { "type": "string" },
16
+ "Version": {
17
+ "type": "string",
18
+ "allOf": [
19
+ {
20
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
21
+ "title": "Version",
22
+ "description": "A semver version like 1.0.0. Ranges are not allowed here.",
23
+ "examples": ["1.0.0", "2.3.1", "0.1.0-beta.1"]
24
+ }
25
+ ]
26
+ },
17
27
  "Author": {
18
28
  "type": "object",
19
29
  "properties": {
@@ -24,49 +34,143 @@
24
34
  "required": ["name"],
25
35
  "additionalProperties": false,
26
36
  "title": "Author",
27
- "description": "Author details: name, email, and URL."
37
+ "description": "A person credited as a creator or maintainer of this extension."
38
+ },
39
+ "PackageUrl": {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "pattern": "^[Pp][Kk][Gg]:[a-zA-Z][a-zA-Z0-9.+-]*\\/.+$",
44
+ "title": "Package URL",
45
+ "description": "A Package URL (purl) string identifying a package across ecosystems (e.g. pkg:npm/react@18.2.0).",
46
+ "examples": ["pkg:npm/react@18.2.0", "pkg:pypi/requests@2.31.0", "pkg:cargo/serde@1.0"]
47
+ }
48
+ ]
49
+ },
50
+ "PackSpec": {
51
+ "type": "string",
52
+ "allOf": [
53
+ { "minLength": 1 },
54
+ {
55
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/packs\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)(?:@.+)?$",
56
+ "title": "Pack Spec",
57
+ "description": "Pack reference with an optional version constraint suffix.",
58
+ "examples": ["@acme/packs/typescript", "@acme/packs/typescript@^1.0.0"]
59
+ }
60
+ ]
61
+ },
62
+ "ExtensionName": {
63
+ "type": "string",
64
+ "allOf": [
65
+ { "minLength": 1 },
66
+ {
67
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
68
+ "title": "Extension Name",
69
+ "description": "Short name for this command within its owner namespace. Combined with owner, forms the FQN @owner/commands/<name>.",
70
+ "examples": ["my-skill", "code-review", "prettier"]
71
+ }
72
+ ]
28
73
  },
29
- "PackageUrlParts": { "type": "string" },
30
- "ExtensionName": { "type": "string" },
31
74
  "CommandManifest": {
32
75
  "type": "object",
33
76
  "properties": {
34
77
  "$schema": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
35
78
  "owner": { "$ref": "#/definitions/Handle" },
36
- "version": { "$ref": "#/definitions/ExactSemverVersion" },
37
- "description": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
79
+ "version": { "$ref": "#/definitions/Version" },
80
+ "description": {
81
+ "anyOf": [
82
+ {
83
+ "type": "string",
84
+ "description": "Short, registry-facing summary of this extension shown in listings and search results."
85
+ },
86
+ { "type": "null" }
87
+ ]
88
+ },
38
89
  "keywords": {
39
- "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
90
+ "anyOf": [
91
+ {
92
+ "type": "array",
93
+ "examples": [["lint", "typescript", "review"]],
94
+ "items": { "type": "string", "allOf": [{ "minLength": 1 }] }
95
+ },
96
+ { "type": "null" }
97
+ ]
98
+ },
99
+ "repository": {
100
+ "anyOf": [
101
+ {
102
+ "type": "string",
103
+ "examples": ["https://github.com/acme/code-review"],
104
+ "format": "uri"
105
+ },
106
+ { "type": "null" }
107
+ ]
108
+ },
109
+ "homepage": {
110
+ "anyOf": [
111
+ { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
112
+ { "type": "null" }
113
+ ]
114
+ },
115
+ "license": {
116
+ "anyOf": [
117
+ { "type": "string", "allOf": [{ "minLength": 1, "examples": ["MIT", "Apache-2.0"] }] },
118
+ { "type": "null" }
119
+ ]
120
+ },
121
+ "bugs": {
122
+ "anyOf": [
123
+ {
124
+ "type": "string",
125
+ "examples": ["https://github.com/acme/code-review/issues"],
126
+ "format": "uri"
127
+ },
128
+ { "type": "null" }
129
+ ]
40
130
  },
41
- "repository": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
42
- "homepage": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
43
- "license": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
44
- "bugs": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
45
131
  "authors": {
46
132
  "anyOf": [
47
133
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
48
134
  { "type": "null" }
49
135
  ]
50
136
  },
51
- "compatiblePackages": {
137
+ "companionPackages": {
52
138
  "anyOf": [
53
- { "type": "array", "items": { "$ref": "#/definitions/PackageUrlParts" } },
139
+ {
140
+ "type": "array",
141
+ "description": "External ecosystem packages this extension is designed to work with (e.g. the npm or PyPI package an MCP server wraps), identified by Package URL (purl).",
142
+ "items": { "$ref": "#/definitions/PackageUrl" }
143
+ },
54
144
  { "type": "null" }
55
145
  ]
56
146
  },
57
- "type": { "type": "string", "enum": ["command"] },
58
- "name": { "$ref": "#/definitions/ExtensionName" },
59
- "agentOverrides": {
147
+ "recommendedPacks": {
60
148
  "anyOf": [
61
- { "type": "object", "additionalProperties": { "type": "object" } },
149
+ {
150
+ "type": "array",
151
+ "description": "Packs this extension is designed to work alongside. Each entry is a pack spec, optionally pinned to a version range.",
152
+ "items": { "$ref": "#/definitions/PackSpec" }
153
+ },
62
154
  { "type": "null" }
63
155
  ]
64
- }
156
+ },
157
+ "standalone": {
158
+ "anyOf": [
159
+ {
160
+ "type": "boolean",
161
+ "description": "Set to false to indicate this extension only makes sense when installed alongside one of its recommendedPacks.",
162
+ "default": true
163
+ },
164
+ { "type": "null" }
165
+ ]
166
+ },
167
+ "type": { "type": "string", "enum": ["command"] },
168
+ "name": { "$ref": "#/definitions/ExtensionName" }
65
169
  },
66
170
  "required": ["owner", "version", "type", "name"],
67
171
  "additionalProperties": false,
68
172
  "title": "Command Manifest",
69
- "description": "Configuration file (command.json) that defines a CLI command extension."
173
+ "description": "Extension manifest file for slash-command. Carries registry-facing identity, version, and metadata. Per-agent frontmatter overrides live in the content file."
70
174
  }
71
175
  }
72
176
  }
@@ -13,7 +13,17 @@
13
13
  }
14
14
  ]
15
15
  },
16
- "ExactSemverVersion": { "type": "string" },
16
+ "Version": {
17
+ "type": "string",
18
+ "allOf": [
19
+ {
20
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
21
+ "title": "Version",
22
+ "description": "A semver version like 1.0.0. Ranges are not allowed here.",
23
+ "examples": ["1.0.0", "2.3.1", "0.1.0-beta.1"]
24
+ }
25
+ ]
26
+ },
17
27
  "Author": {
18
28
  "type": "object",
19
29
  "properties": {
@@ -24,33 +34,133 @@
24
34
  "required": ["name"],
25
35
  "additionalProperties": false,
26
36
  "title": "Author",
27
- "description": "Author details: name, email, and URL."
37
+ "description": "A person credited as a creator or maintainer of this extension."
38
+ },
39
+ "PackageUrl": {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "pattern": "^[Pp][Kk][Gg]:[a-zA-Z][a-zA-Z0-9.+-]*\\/.+$",
44
+ "title": "Package URL",
45
+ "description": "A Package URL (purl) string identifying a package across ecosystems (e.g. pkg:npm/react@18.2.0).",
46
+ "examples": ["pkg:npm/react@18.2.0", "pkg:pypi/requests@2.31.0", "pkg:cargo/serde@1.0"]
47
+ }
48
+ ]
49
+ },
50
+ "PackSpec": {
51
+ "type": "string",
52
+ "allOf": [
53
+ { "minLength": 1 },
54
+ {
55
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/packs\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)(?:@.+)?$",
56
+ "title": "Pack Spec",
57
+ "description": "Pack reference with an optional version constraint suffix.",
58
+ "examples": ["@acme/packs/typescript", "@acme/packs/typescript@^1.0.0"]
59
+ }
60
+ ]
61
+ },
62
+ "ExtensionName": {
63
+ "type": "string",
64
+ "allOf": [
65
+ { "minLength": 1 },
66
+ {
67
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
68
+ "title": "Extension Name",
69
+ "description": "Short name for this MCP server within its owner namespace. Combined with owner, forms the FQN @owner/mcp-servers/<name>.",
70
+ "examples": ["my-skill", "code-review", "prettier"]
71
+ }
72
+ ]
28
73
  },
29
- "PackageUrlParts": { "type": "string" },
30
- "ExtensionName": { "type": "string" },
31
74
  "McpServerManifest": {
32
75
  "type": "object",
33
76
  "properties": {
34
77
  "$schema": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
35
78
  "owner": { "$ref": "#/definitions/Handle" },
36
- "version": { "$ref": "#/definitions/ExactSemverVersion" },
37
- "description": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
79
+ "version": { "$ref": "#/definitions/Version" },
80
+ "description": {
81
+ "anyOf": [
82
+ {
83
+ "type": "string",
84
+ "description": "Short, registry-facing summary of this extension shown in listings and search results."
85
+ },
86
+ { "type": "null" }
87
+ ]
88
+ },
38
89
  "keywords": {
39
- "anyOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "null" }]
90
+ "anyOf": [
91
+ {
92
+ "type": "array",
93
+ "examples": [["lint", "typescript", "review"]],
94
+ "items": { "type": "string", "allOf": [{ "minLength": 1 }] }
95
+ },
96
+ { "type": "null" }
97
+ ]
98
+ },
99
+ "repository": {
100
+ "anyOf": [
101
+ {
102
+ "type": "string",
103
+ "examples": ["https://github.com/acme/code-review"],
104
+ "format": "uri"
105
+ },
106
+ { "type": "null" }
107
+ ]
108
+ },
109
+ "homepage": {
110
+ "anyOf": [
111
+ { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
112
+ { "type": "null" }
113
+ ]
114
+ },
115
+ "license": {
116
+ "anyOf": [
117
+ { "type": "string", "allOf": [{ "minLength": 1, "examples": ["MIT", "Apache-2.0"] }] },
118
+ { "type": "null" }
119
+ ]
120
+ },
121
+ "bugs": {
122
+ "anyOf": [
123
+ {
124
+ "type": "string",
125
+ "examples": ["https://github.com/acme/code-review/issues"],
126
+ "format": "uri"
127
+ },
128
+ { "type": "null" }
129
+ ]
40
130
  },
41
- "repository": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
42
- "homepage": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
43
- "license": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
44
- "bugs": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
45
131
  "authors": {
46
132
  "anyOf": [
47
133
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
48
134
  { "type": "null" }
49
135
  ]
50
136
  },
51
- "compatiblePackages": {
137
+ "companionPackages": {
138
+ "anyOf": [
139
+ {
140
+ "type": "array",
141
+ "description": "External ecosystem packages this extension is designed to work with (e.g. the npm or PyPI package an MCP server wraps), identified by Package URL (purl).",
142
+ "items": { "$ref": "#/definitions/PackageUrl" }
143
+ },
144
+ { "type": "null" }
145
+ ]
146
+ },
147
+ "recommendedPacks": {
148
+ "anyOf": [
149
+ {
150
+ "type": "array",
151
+ "description": "Packs this extension is designed to work alongside. Each entry is a pack spec, optionally pinned to a version range.",
152
+ "items": { "$ref": "#/definitions/PackSpec" }
153
+ },
154
+ { "type": "null" }
155
+ ]
156
+ },
157
+ "standalone": {
52
158
  "anyOf": [
53
- { "type": "array", "items": { "$ref": "#/definitions/PackageUrlParts" } },
159
+ {
160
+ "type": "boolean",
161
+ "description": "Set to false to indicate this extension only makes sense when installed alongside one of its recommendedPacks.",
162
+ "default": true
163
+ },
54
164
  { "type": "null" }
55
165
  ]
56
166
  },
@@ -60,7 +170,7 @@
60
170
  "required": ["owner", "version", "type", "name"],
61
171
  "additionalProperties": false,
62
172
  "title": "MCP Server Manifest",
63
- "description": "Configuration file (mcp-server.json) that defines an MCP server extension."
173
+ "description": "Extension manifest file for MCP server. Registers a Model Context Protocol server that coding agents can connect to for additional tools and resources."
64
174
  }
65
175
  }
66
176
  }