@agentxm/client-core 0.7.4 → 0.9.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 (289) hide show
  1. package/dist/src/unstable/agents/command-sync.js +3 -3
  2. package/dist/src/unstable/agents/command-sync.js.map +1 -1
  3. package/dist/src/unstable/agents/detection.js +1 -1
  4. package/dist/src/unstable/agents/detection.js.map +1 -1
  5. package/dist/src/unstable/agents/mcp-sync.js +7 -7
  6. package/dist/src/unstable/agents/mcp-sync.js.map +1 -1
  7. package/dist/src/unstable/agents/repository.js +1 -1
  8. package/dist/src/unstable/agents/repository.js.map +1 -1
  9. package/dist/src/unstable/agents/subagent-sync.js +7 -7
  10. package/dist/src/unstable/agents/subagent-sync.js.map +1 -1
  11. package/dist/src/unstable/app-error/app-error.d.ts +25 -7
  12. package/dist/src/unstable/app-error/app-error.d.ts.map +1 -1
  13. package/dist/src/unstable/app-error/app-error.js +46 -4
  14. package/dist/src/unstable/app-error/app-error.js.map +1 -1
  15. package/dist/src/unstable/app-error/builders.js +5 -5
  16. package/dist/src/unstable/app-error/builders.js.map +1 -1
  17. package/dist/src/unstable/app-error/index.d.ts +1 -1
  18. package/dist/src/unstable/app-error/index.d.ts.map +1 -1
  19. package/dist/src/unstable/app-error/index.js +1 -1
  20. package/dist/src/unstable/app-error/index.js.map +1 -1
  21. package/dist/src/unstable/app-error/render.d.ts.map +1 -1
  22. package/dist/src/unstable/app-error/render.js +39 -3
  23. package/dist/src/unstable/app-error/render.js.map +1 -1
  24. package/dist/src/unstable/auth/auth-client.js +16 -16
  25. package/dist/src/unstable/auth/auth-client.js.map +1 -1
  26. package/dist/src/unstable/auth/credential-store.js +11 -11
  27. package/dist/src/unstable/auth/credential-store.js.map +1 -1
  28. package/dist/src/unstable/auth/guard.js +1 -1
  29. package/dist/src/unstable/auth/guard.js.map +1 -1
  30. package/dist/src/unstable/auth/token-resolution.js +1 -1
  31. package/dist/src/unstable/auth/token-resolution.js.map +1 -1
  32. package/dist/src/unstable/cli/prompt/helpers.js +1 -1
  33. package/dist/src/unstable/cli/prompt/helpers.js.map +1 -1
  34. package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -1
  35. package/dist/src/unstable/cli-runtime/handle-error.js +4 -2
  36. package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -1
  37. package/dist/src/unstable/cli-runtime/json-envelope.d.ts +22 -6
  38. package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -1
  39. package/dist/src/unstable/cli-runtime/json-envelope.js +15 -4
  40. package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -1
  41. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -1
  42. package/dist/src/unstable/cli-runtime/runtime-envelope.js +13 -3
  43. package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -1
  44. package/dist/src/unstable/cli-runtime/telemetry.js +1 -1
  45. package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -1
  46. package/dist/src/unstable/commands/command-content.js +1 -1
  47. package/dist/src/unstable/commands/command-content.js.map +1 -1
  48. package/dist/src/unstable/commands/manager.js +9 -9
  49. package/dist/src/unstable/commands/manager.js.map +1 -1
  50. package/dist/src/unstable/commands/manifest-schema.d.ts +9 -2
  51. package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -1
  52. package/dist/src/unstable/commands/operations/disable.js +1 -1
  53. package/dist/src/unstable/commands/operations/disable.js.map +1 -1
  54. package/dist/src/unstable/commands/operations/enable.js +3 -3
  55. package/dist/src/unstable/commands/operations/enable.js.map +1 -1
  56. package/dist/src/unstable/commands/operations/install.js +7 -7
  57. package/dist/src/unstable/commands/operations/install.js.map +1 -1
  58. package/dist/src/unstable/commands/operations/new-command.js +4 -4
  59. package/dist/src/unstable/commands/operations/new-command.js.map +1 -1
  60. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  61. package/dist/src/unstable/commands/operations/publish.js +10 -16
  62. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  63. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +9 -2
  64. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -1
  65. package/dist/src/unstable/commands/operations/shared-command-helpers.js +5 -5
  66. package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -1
  67. package/dist/src/unstable/commands/operations/uninstall.js +1 -1
  68. package/dist/src/unstable/commands/operations/uninstall.js.map +1 -1
  69. package/dist/src/unstable/commands/reconciliation-adapter.js +1 -1
  70. package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -1
  71. package/dist/src/unstable/extensions/common.d.ts +45 -2
  72. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  73. package/dist/src/unstable/extensions/common.js +64 -8
  74. package/dist/src/unstable/extensions/common.js.map +1 -1
  75. package/dist/src/unstable/extensions/fqn.js +1 -1
  76. package/dist/src/unstable/extensions/fqn.js.map +1 -1
  77. package/dist/src/unstable/extensions/frontmatter.js +1 -1
  78. package/dist/src/unstable/extensions/frontmatter.js.map +1 -1
  79. package/dist/src/unstable/extensions/materializable-from-disk.js +7 -7
  80. package/dist/src/unstable/extensions/materializable-from-disk.js.map +1 -1
  81. package/dist/src/unstable/extensions/reconciliation-utils.js +1 -1
  82. package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -1
  83. package/dist/src/unstable/extensions/utils.js +1 -1
  84. package/dist/src/unstable/extensions/utils.js.map +1 -1
  85. package/dist/src/unstable/git/operations.js +1 -1
  86. package/dist/src/unstable/git/operations.js.map +1 -1
  87. package/dist/src/unstable/lockfile/lockfile.js +5 -5
  88. package/dist/src/unstable/lockfile/lockfile.js.map +1 -1
  89. package/dist/src/unstable/lockfile/resolved-version.js +1 -1
  90. package/dist/src/unstable/lockfile/resolved-version.js.map +1 -1
  91. package/dist/src/unstable/mcp-servers/manager.js +7 -7
  92. package/dist/src/unstable/mcp-servers/manager.js.map +1 -1
  93. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +9 -2
  94. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -1
  95. package/dist/src/unstable/mcp-servers/operations/install.js +11 -11
  96. package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -1
  97. package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
  98. package/dist/src/unstable/mcp-servers/operations/publish.js +8 -14
  99. package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
  100. package/dist/src/unstable/mcp-servers/operations/uninstall.js +5 -5
  101. package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -1
  102. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +1 -1
  103. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -1
  104. package/dist/src/unstable/packaging/cargo.d.ts +5 -2
  105. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -1
  106. package/dist/src/unstable/packaging/cargo.js +96 -55
  107. package/dist/src/unstable/packaging/cargo.js.map +1 -1
  108. package/dist/src/unstable/packs/dependency-resolution.js +4 -4
  109. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
  110. package/dist/src/unstable/packs/expansion.js +1 -1
  111. package/dist/src/unstable/packs/expansion.js.map +1 -1
  112. package/dist/src/unstable/packs/manager.js +2 -2
  113. package/dist/src/unstable/packs/manager.js.map +1 -1
  114. package/dist/src/unstable/packs/manifest-schema.d.ts +9 -2
  115. package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -1
  116. package/dist/src/unstable/packs/operations/add-to-pack.js +5 -5
  117. package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -1
  118. package/dist/src/unstable/packs/operations/install.js +6 -6
  119. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  120. package/dist/src/unstable/packs/operations/new-pack.js +4 -4
  121. package/dist/src/unstable/packs/operations/new-pack.js.map +1 -1
  122. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  123. package/dist/src/unstable/packs/operations/publish.js +9 -15
  124. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  125. package/dist/src/unstable/packs/operations/remove-from-pack.js +5 -5
  126. package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -1
  127. package/dist/src/unstable/packs/operations/uninstall.js +1 -1
  128. package/dist/src/unstable/packs/operations/uninstall.js.map +1 -1
  129. package/dist/src/unstable/packs/operations/unpack.js +2 -2
  130. package/dist/src/unstable/packs/operations/unpack.js.map +1 -1
  131. package/dist/src/unstable/plan/apply-plan.js +2 -2
  132. package/dist/src/unstable/plan/apply-plan.js.map +1 -1
  133. package/dist/src/unstable/plan/resolve-plan.js +3 -3
  134. package/dist/src/unstable/plan/resolve-plan.js.map +1 -1
  135. package/dist/src/unstable/publish/manifest-policy.d.ts +45 -10
  136. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  137. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +429 -447
  138. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  139. package/dist/src/unstable/registry/__generated__/registry-client.js +102 -184
  140. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  141. package/dist/src/unstable/registry/client.d.ts +3 -1
  142. package/dist/src/unstable/registry/client.d.ts.map +1 -1
  143. package/dist/src/unstable/registry/client.js.map +1 -1
  144. package/dist/src/unstable/registry/error-mapping.d.ts +7 -25
  145. package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -1
  146. package/dist/src/unstable/registry/error-mapping.js +15 -154
  147. package/dist/src/unstable/registry/error-mapping.js.map +1 -1
  148. package/dist/src/unstable/registry/index.d.ts +1 -1
  149. package/dist/src/unstable/registry/index.d.ts.map +1 -1
  150. package/dist/src/unstable/registry/index.js +1 -1
  151. package/dist/src/unstable/registry/index.js.map +1 -1
  152. package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
  153. package/dist/src/unstable/registry/local-client.js +7 -6
  154. package/dist/src/unstable/registry/local-client.js.map +1 -1
  155. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
  156. package/dist/src/unstable/registry/remote-client.js +27 -144
  157. package/dist/src/unstable/registry/remote-client.js.map +1 -1
  158. package/dist/src/unstable/registry/schema.d.ts +11 -2
  159. package/dist/src/unstable/registry/schema.d.ts.map +1 -1
  160. package/dist/src/unstable/registry/schema.js +5 -3
  161. package/dist/src/unstable/registry/schema.js.map +1 -1
  162. package/dist/src/unstable/registry/translate.d.ts +19 -0
  163. package/dist/src/unstable/registry/translate.d.ts.map +1 -0
  164. package/dist/src/unstable/registry/translate.js +142 -0
  165. package/dist/src/unstable/registry/translate.js.map +1 -0
  166. package/dist/src/unstable/registry/utils.js +4 -4
  167. package/dist/src/unstable/registry/utils.js.map +1 -1
  168. package/dist/src/unstable/settings/ignored-patterns.js +2 -2
  169. package/dist/src/unstable/settings/ignored-patterns.js.map +1 -1
  170. package/dist/src/unstable/settings/schema.d.ts +1 -0
  171. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  172. package/dist/src/unstable/settings/schema.js +5 -0
  173. package/dist/src/unstable/settings/schema.js.map +1 -1
  174. package/dist/src/unstable/settings/settings.js +3 -3
  175. package/dist/src/unstable/settings/settings.js.map +1 -1
  176. package/dist/src/unstable/skills/manager.js +1 -1
  177. package/dist/src/unstable/skills/manager.js.map +1 -1
  178. package/dist/src/unstable/skills/manifest-schema.d.ts +9 -2
  179. package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -1
  180. package/dist/src/unstable/skills/materialization.js +4 -4
  181. package/dist/src/unstable/skills/materialization.js.map +1 -1
  182. package/dist/src/unstable/skills/operations/copy.js +3 -3
  183. package/dist/src/unstable/skills/operations/copy.js.map +1 -1
  184. package/dist/src/unstable/skills/operations/disable.js +2 -2
  185. package/dist/src/unstable/skills/operations/disable.js.map +1 -1
  186. package/dist/src/unstable/skills/operations/enable.js +1 -1
  187. package/dist/src/unstable/skills/operations/enable.js.map +1 -1
  188. package/dist/src/unstable/skills/operations/install.js +5 -5
  189. package/dist/src/unstable/skills/operations/install.js.map +1 -1
  190. package/dist/src/unstable/skills/operations/new-skill.js +4 -4
  191. package/dist/src/unstable/skills/operations/new-skill.js.map +1 -1
  192. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  193. package/dist/src/unstable/skills/operations/publish.js +10 -17
  194. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  195. package/dist/src/unstable/skills/operations/uninstall.js +2 -2
  196. package/dist/src/unstable/skills/operations/uninstall.js.map +1 -1
  197. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +2 -2
  198. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -1
  199. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +2 -2
  200. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -1
  201. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +3 -3
  202. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -1
  203. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +1 -1
  204. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -1
  205. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +2 -2
  206. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -1
  207. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +3 -3
  208. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -1
  209. package/dist/src/unstable/source-resolution/providers/git-hosting.js +3 -3
  210. package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
  211. package/dist/src/unstable/source-resolution/providers/git.js +2 -2
  212. package/dist/src/unstable/source-resolution/providers/git.js.map +1 -1
  213. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +1 -1
  214. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -1
  215. package/dist/src/unstable/source-resolution/providers/github/scp.js +2 -2
  216. package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -1
  217. package/dist/src/unstable/source-resolution/providers/github/url.js +3 -3
  218. package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -1
  219. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +1 -1
  220. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -1
  221. package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +2 -2
  222. package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -1
  223. package/dist/src/unstable/source-resolution/providers/gitlab/url.js +3 -3
  224. package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -1
  225. package/dist/src/unstable/source-resolution/providers/local.js +2 -2
  226. package/dist/src/unstable/source-resolution/providers/local.js.map +1 -1
  227. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +1 -1
  228. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -1
  229. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +2 -2
  230. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -1
  231. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  232. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +4 -3
  233. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  234. package/dist/src/unstable/source-resolution/resolve-identifier.js +5 -5
  235. package/dist/src/unstable/source-resolution/resolve-identifier.js.map +1 -1
  236. package/dist/src/unstable/source-resolution/resolve-source-pattern.js +1 -1
  237. package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -1
  238. package/dist/src/unstable/source-resolution/resolve-source.js +23 -23
  239. package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
  240. package/dist/src/unstable/sources/lock-entry-to-ref.js +4 -4
  241. package/dist/src/unstable/sources/lock-entry-to-ref.js.map +1 -1
  242. package/dist/src/unstable/subagents/manager.js +7 -7
  243. package/dist/src/unstable/subagents/manager.js.map +1 -1
  244. package/dist/src/unstable/subagents/manifest-schema.d.ts +9 -2
  245. package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -1
  246. package/dist/src/unstable/subagents/operations/disable.js +2 -2
  247. package/dist/src/unstable/subagents/operations/disable.js.map +1 -1
  248. package/dist/src/unstable/subagents/operations/enable.js +2 -2
  249. package/dist/src/unstable/subagents/operations/enable.js.map +1 -1
  250. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  251. package/dist/src/unstable/subagents/operations/publish.js +12 -19
  252. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  253. package/dist/src/unstable/subagents/subagent-content.js +4 -4
  254. package/dist/src/unstable/subagents/subagent-content.js.map +1 -1
  255. package/dist/src/unstable/update-check/update-check.d.ts +5 -7
  256. package/dist/src/unstable/update-check/update-check.d.ts.map +1 -1
  257. package/dist/src/unstable/update-check/update-check.js +6 -9
  258. package/dist/src/unstable/update-check/update-check.js.map +1 -1
  259. package/dist/src/unstable/utils/build-zip-archive.js +3 -3
  260. package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
  261. package/dist/src/unstable/utils/create-symlink.js +4 -4
  262. package/dist/src/unstable/utils/create-symlink.js.map +1 -1
  263. package/dist/src/unstable/version-resolution/version-resolution.js +5 -5
  264. package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -1
  265. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +18 -18
  266. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
  267. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +1 -1
  268. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -1
  269. package/dist/src/unstable/workspace/initialization.d.ts +4 -0
  270. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  271. package/dist/src/unstable/workspace/initialization.js +5 -5
  272. package/dist/src/unstable/workspace/initialization.js.map +1 -1
  273. package/dist/src/unstable/workspace/read-model/discovery/skills.js +2 -2
  274. package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
  275. package/dist/src/unstable/workspace/read-model/discovery/subagents.js +1 -1
  276. package/dist/src/unstable/workspace/read-model/discovery/subagents.js.map +1 -1
  277. package/dist/src/unstable/workspace/reconciliation.js +6 -6
  278. package/dist/src/unstable/workspace/reconciliation.js.map +1 -1
  279. package/dist/src/unstable/workspace/rendered-file-cleanup.js +1 -1
  280. package/dist/src/unstable/workspace/rendered-file-cleanup.js.map +1 -1
  281. package/dist/src/unstable/workspace/service.js +6 -6
  282. package/dist/src/unstable/workspace/service.js.map +1 -1
  283. package/package.json +2 -2
  284. package/site-content/__generated__/schemas/command.schema.json +110 -20
  285. package/site-content/__generated__/schemas/mcp-server.schema.json +110 -20
  286. package/site-content/__generated__/schemas/pack.schema.json +110 -20
  287. package/site-content/__generated__/schemas/settings.schema.json +5 -0
  288. package/site-content/__generated__/schemas/skill.schema.json +110 -20
  289. package/site-content/__generated__/schemas/subagent.schema.json +110 -20
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -107,16 +215,7 @@
107
215
  { "type": "null" }
108
216
  ]
109
217
  },
110
- "repository": {
111
- "anyOf": [
112
- {
113
- "type": "string",
114
- "examples": ["https://github.com/acme/code-review"],
115
- "format": "uri"
116
- },
117
- { "type": "null" }
118
- ]
119
- },
218
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
120
219
  "homepage": {
121
220
  "anyOf": [
122
221
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -129,16 +228,7 @@
129
228
  { "type": "null" }
130
229
  ]
131
230
  },
132
- "bugs": {
133
- "anyOf": [
134
- {
135
- "type": "string",
136
- "examples": ["https://github.com/acme/code-review/issues"],
137
- "format": "uri"
138
- },
139
- { "type": "null" }
140
- ]
141
- },
231
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
142
232
  "authors": {
143
233
  "anyOf": [
144
234
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
@@ -486,6 +486,11 @@
486
486
  "AxmSettings": {
487
487
  "type": "object",
488
488
  "properties": {
489
+ "$schema": {
490
+ "type": "string",
491
+ "description": "URL to the AXM settings JSON Schema. Editors use this to provide autocomplete and validation.",
492
+ "examples": ["https://axm.sh/schemas/settings.schema.json"]
493
+ },
489
494
  "telemetry": {
490
495
  "anyOf": [{ "$ref": "#/definitions/TelemetryMode" }],
491
496
  "description": "Workspace telemetry mode: full, errors-only, or disabled."
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -96,16 +204,7 @@
96
204
  { "type": "null" }
97
205
  ]
98
206
  },
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
- },
207
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
109
208
  "homepage": {
110
209
  "anyOf": [
111
210
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -118,16 +217,7 @@
118
217
  { "type": "null" }
119
218
  ]
120
219
  },
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
- ]
130
- },
220
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
131
221
  "authors": {
132
222
  "anyOf": [
133
223
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },
@@ -24,6 +24,114 @@
24
24
  }
25
25
  ]
26
26
  },
27
+ "Repository": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
32
+ "format": "uri-reference"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "type": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "allOf": [
42
+ {
43
+ "minLength": 1,
44
+ "description": "Version control system (e.g., `git`).",
45
+ "examples": ["git"]
46
+ }
47
+ ]
48
+ },
49
+ { "type": "null" }
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "allOf": [
55
+ {
56
+ "minLength": 1,
57
+ "description": "Repository URL.",
58
+ "examples": ["https://github.com/acme/code-review"],
59
+ "format": "uri"
60
+ }
61
+ ]
62
+ },
63
+ "directory": {
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "allOf": [
68
+ {
69
+ "minLength": 1,
70
+ "description": "Subdirectory within the repository, for monorepo publishers.",
71
+ "examples": ["packages/code-review"]
72
+ }
73
+ ]
74
+ },
75
+ { "type": "null" }
76
+ ]
77
+ }
78
+ },
79
+ "required": ["url"],
80
+ "additionalProperties": false
81
+ }
82
+ ],
83
+ "title": "Repository",
84
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
85
+ },
86
+ "Bugs": {
87
+ "anyOf": [
88
+ {
89
+ "type": "string",
90
+ "examples": ["https://github.com/acme/code-review/issues"],
91
+ "format": "uri"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "url": {
97
+ "anyOf": [
98
+ {
99
+ "type": "string",
100
+ "allOf": [
101
+ {
102
+ "minLength": 1,
103
+ "description": "Issue tracker URL.",
104
+ "examples": ["https://github.com/acme/code-review/issues"],
105
+ "format": "uri"
106
+ }
107
+ ]
108
+ },
109
+ { "type": "null" }
110
+ ]
111
+ },
112
+ "email": {
113
+ "anyOf": [
114
+ {
115
+ "type": "string",
116
+ "allOf": [
117
+ {
118
+ "minLength": 1,
119
+ "description": "Contact email for bug reports.",
120
+ "examples": ["bugs@acme.dev"],
121
+ "format": "email"
122
+ }
123
+ ]
124
+ },
125
+ { "type": "null" }
126
+ ]
127
+ }
128
+ },
129
+ "additionalProperties": false
130
+ }
131
+ ],
132
+ "title": "Bugs",
133
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
134
+ },
27
135
  "Author": {
28
136
  "type": "object",
29
137
  "properties": {
@@ -96,16 +204,7 @@
96
204
  { "type": "null" }
97
205
  ]
98
206
  },
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
- },
207
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
109
208
  "homepage": {
110
209
  "anyOf": [
111
210
  { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
@@ -118,16 +217,7 @@
118
217
  { "type": "null" }
119
218
  ]
120
219
  },
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
- ]
130
- },
220
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
131
221
  "authors": {
132
222
  "anyOf": [
133
223
  { "type": "array", "items": { "$ref": "#/definitions/Author" } },