@agentxm/client-core 0.13.1 → 0.13.2

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 (449) hide show
  1. package/dist/src/unstable/agent-capabilities/__generated__/catalog.d.ts +48 -0
  2. package/dist/src/unstable/agent-capabilities/__generated__/catalog.d.ts.map +1 -1
  3. package/dist/src/unstable/agent-capabilities/__generated__/catalog.js +62 -0
  4. package/dist/src/unstable/agent-capabilities/__generated__/catalog.js.map +1 -1
  5. package/dist/src/unstable/agent-capabilities/derive.d.ts +21 -3
  6. package/dist/src/unstable/agent-capabilities/derive.d.ts.map +1 -1
  7. package/dist/src/unstable/agent-capabilities/derive.js +5 -2
  8. package/dist/src/unstable/agent-capabilities/derive.js.map +1 -1
  9. package/dist/src/unstable/agent-capabilities/schema.d.ts +45 -2
  10. package/dist/src/unstable/agent-capabilities/schema.d.ts.map +1 -1
  11. package/dist/src/unstable/agent-capabilities/schema.js +18 -0
  12. package/dist/src/unstable/agent-capabilities/schema.js.map +1 -1
  13. package/dist/src/unstable/agent-capabilities/validate.d.ts.map +1 -1
  14. package/dist/src/unstable/agent-capabilities/validate.js +2 -0
  15. package/dist/src/unstable/agent-capabilities/validate.js.map +1 -1
  16. package/dist/src/unstable/agents/instructions.js +1 -1
  17. package/dist/src/unstable/agents/instructions.js.map +1 -1
  18. package/dist/src/unstable/branding/naming.d.ts +11 -5
  19. package/dist/src/unstable/branding/naming.d.ts.map +1 -1
  20. package/dist/src/unstable/branding/naming.js +15 -7
  21. package/dist/src/unstable/branding/naming.js.map +1 -1
  22. package/dist/src/unstable/cli-runtime/command-summary.d.ts +1 -1
  23. package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -1
  24. package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -1
  25. package/dist/src/unstable/extensions/common.d.ts +6 -6
  26. package/dist/src/unstable/extensions/common.d.ts.map +1 -1
  27. package/dist/src/unstable/extensions/common.js +22 -13
  28. package/dist/src/unstable/extensions/common.js.map +1 -1
  29. package/dist/src/unstable/extensions/fqn.js +1 -1
  30. package/dist/src/unstable/extensions/fqn.js.map +1 -1
  31. package/dist/src/unstable/extensions/installable-types.d.ts +4 -4
  32. package/dist/src/unstable/extensions/installable-types.d.ts.map +1 -1
  33. package/dist/src/unstable/extensions/installable-types.js +12 -4
  34. package/dist/src/unstable/extensions/installable-types.js.map +1 -1
  35. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  36. package/dist/src/unstable/extensions/operations.js +6 -2
  37. package/dist/src/unstable/extensions/operations.js.map +1 -1
  38. package/dist/src/unstable/extensions/ref-base.d.ts +1 -1
  39. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -1
  40. package/dist/src/unstable/extensions/refs.d.ts +4 -2
  41. package/dist/src/unstable/extensions/refs.d.ts.map +1 -1
  42. package/dist/src/unstable/extensions/registry-source.d.ts +4 -4
  43. package/dist/src/unstable/extensions/utils.js +1 -1
  44. package/dist/src/unstable/files/discovery.d.ts +19 -0
  45. package/dist/src/unstable/files/discovery.d.ts.map +1 -0
  46. package/dist/src/unstable/{docs → files}/discovery.js +18 -11
  47. package/dist/src/unstable/files/discovery.js.map +1 -0
  48. package/dist/src/unstable/{docs → files}/generators.d.ts +1 -1
  49. package/dist/src/unstable/files/generators.d.ts.map +1 -0
  50. package/dist/src/unstable/{docs → files}/generators.js +1 -1
  51. package/dist/src/unstable/files/generators.js.map +1 -0
  52. package/dist/src/unstable/files/index.d.ts +15 -0
  53. package/dist/src/unstable/files/index.d.ts.map +1 -0
  54. package/dist/src/unstable/{docs → files}/index.js +4 -4
  55. package/dist/src/unstable/files/index.js.map +1 -0
  56. package/dist/src/unstable/files/manager.d.ts +19 -0
  57. package/dist/src/unstable/files/manager.d.ts.map +1 -0
  58. package/dist/src/unstable/{docs → files}/manager.js +56 -54
  59. package/dist/src/unstable/files/manager.js.map +1 -0
  60. package/dist/src/unstable/{docs → files}/manifest-schema.d.ts +17 -17
  61. package/dist/src/unstable/files/manifest-schema.d.ts.map +1 -0
  62. package/dist/src/unstable/{docs → files}/manifest-schema.js +48 -48
  63. package/dist/src/unstable/files/manifest-schema.js.map +1 -0
  64. package/dist/src/unstable/files/markers.d.ts +7 -0
  65. package/dist/src/unstable/files/markers.d.ts.map +1 -0
  66. package/dist/src/unstable/files/markers.js +7 -0
  67. package/dist/src/unstable/files/markers.js.map +1 -0
  68. package/dist/src/unstable/{docs → files}/materialization.d.ts +8 -8
  69. package/dist/src/unstable/files/materialization.d.ts.map +1 -0
  70. package/dist/src/unstable/{docs → files}/materialization.js +24 -24
  71. package/dist/src/unstable/files/materialization.js.map +1 -0
  72. package/dist/src/unstable/files/refs.d.ts +17 -0
  73. package/dist/src/unstable/files/refs.d.ts.map +1 -0
  74. package/dist/src/unstable/files/refs.js +8 -0
  75. package/dist/src/unstable/files/refs.js.map +1 -0
  76. package/dist/src/unstable/files/workspace-generators.d.ts.map +1 -0
  77. package/dist/src/unstable/files/workspace-generators.js.map +1 -0
  78. package/dist/src/unstable/hooks/discovery.d.ts +19 -0
  79. package/dist/src/unstable/hooks/discovery.d.ts.map +1 -0
  80. package/dist/src/unstable/hooks/discovery.js +101 -0
  81. package/dist/src/unstable/hooks/discovery.js.map +1 -0
  82. package/dist/src/unstable/hooks/index.d.ts +13 -0
  83. package/dist/src/unstable/hooks/index.d.ts.map +1 -0
  84. package/dist/src/unstable/hooks/index.js +11 -0
  85. package/dist/src/unstable/hooks/index.js.map +1 -0
  86. package/dist/src/unstable/{docs → hooks}/manager.d.ts +6 -6
  87. package/dist/src/unstable/hooks/manager.d.ts.map +1 -0
  88. package/dist/src/unstable/hooks/manager.js +512 -0
  89. package/dist/src/unstable/hooks/manager.js.map +1 -0
  90. package/dist/src/unstable/hooks/manifest-schema.d.ts +94 -0
  91. package/dist/src/unstable/hooks/manifest-schema.d.ts.map +1 -0
  92. package/dist/src/unstable/hooks/manifest-schema.js +85 -0
  93. package/dist/src/unstable/hooks/manifest-schema.js.map +1 -0
  94. package/dist/src/unstable/hooks/operations/publish.d.ts +22 -0
  95. package/dist/src/unstable/hooks/operations/publish.d.ts.map +1 -0
  96. package/dist/src/unstable/hooks/operations/publish.js +95 -0
  97. package/dist/src/unstable/hooks/operations/publish.js.map +1 -0
  98. package/dist/src/unstable/hooks/refs.d.ts +25 -0
  99. package/dist/src/unstable/hooks/refs.d.ts.map +1 -0
  100. package/dist/src/unstable/{docs → hooks}/refs.js +1 -1
  101. package/dist/src/unstable/hooks/refs.js.map +1 -0
  102. package/dist/src/unstable/hooks/registry-ref-builder.d.ts +7 -0
  103. package/dist/src/unstable/hooks/registry-ref-builder.d.ts.map +1 -0
  104. package/dist/src/unstable/hooks/registry-ref-builder.js +13 -0
  105. package/dist/src/unstable/hooks/registry-ref-builder.js.map +1 -0
  106. package/dist/src/unstable/lint/catalog/files/generator-valid.d.ts +4 -0
  107. package/dist/src/unstable/lint/catalog/files/generator-valid.d.ts.map +1 -0
  108. package/dist/src/unstable/lint/catalog/{docs → files}/generator-valid.js +6 -6
  109. package/dist/src/unstable/lint/catalog/files/generator-valid.js.map +1 -0
  110. package/dist/src/unstable/lint/catalog/{docs → files}/helpers.d.ts +6 -6
  111. package/dist/src/unstable/lint/catalog/files/helpers.d.ts.map +1 -0
  112. package/dist/src/unstable/lint/catalog/{docs → files}/helpers.js +7 -7
  113. package/dist/src/unstable/lint/catalog/files/helpers.js.map +1 -0
  114. package/dist/src/unstable/lint/catalog/files/manifest-keys-recognized.d.ts +4 -0
  115. package/dist/src/unstable/lint/catalog/files/manifest-keys-recognized.d.ts.map +1 -0
  116. package/dist/src/unstable/lint/catalog/files/manifest-keys-recognized.js +14 -0
  117. package/dist/src/unstable/lint/catalog/files/manifest-keys-recognized.js.map +1 -0
  118. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts +4 -0
  119. package/dist/src/unstable/lint/catalog/files/manifest-present.d.ts.map +1 -0
  120. package/dist/src/unstable/lint/catalog/files/manifest-present.js +24 -0
  121. package/dist/src/unstable/lint/catalog/files/manifest-present.js.map +1 -0
  122. package/dist/src/unstable/lint/catalog/files/manifest-schema-valid.d.ts +4 -0
  123. package/dist/src/unstable/lint/catalog/files/manifest-schema-valid.d.ts.map +1 -0
  124. package/dist/src/unstable/lint/catalog/files/manifest-schema-valid.js +12 -0
  125. package/dist/src/unstable/lint/catalog/files/manifest-schema-valid.js.map +1 -0
  126. package/dist/src/unstable/lint/catalog/files/marker-valid.d.ts +4 -0
  127. package/dist/src/unstable/lint/catalog/files/marker-valid.d.ts.map +1 -0
  128. package/dist/src/unstable/lint/catalog/{docs → files}/marker-valid.js +6 -6
  129. package/dist/src/unstable/lint/catalog/files/marker-valid.js.map +1 -0
  130. package/dist/src/unstable/lint/catalog/files/package-valid.d.ts +4 -0
  131. package/dist/src/unstable/lint/catalog/files/package-valid.d.ts.map +1 -0
  132. package/dist/src/unstable/lint/catalog/{docs → files}/package-valid.js +9 -9
  133. package/dist/src/unstable/lint/catalog/files/package-valid.js.map +1 -0
  134. package/dist/src/unstable/lint/catalog/files/target-valid.d.ts +4 -0
  135. package/dist/src/unstable/lint/catalog/files/target-valid.d.ts.map +1 -0
  136. package/dist/src/unstable/lint/catalog/{docs → files}/target-valid.js +6 -6
  137. package/dist/src/unstable/lint/catalog/files/target-valid.js.map +1 -0
  138. package/dist/src/unstable/lint/catalog/files/template-valid.d.ts +4 -0
  139. package/dist/src/unstable/lint/catalog/files/template-valid.d.ts.map +1 -0
  140. package/dist/src/unstable/lint/catalog/{docs → files}/template-valid.js +7 -7
  141. package/dist/src/unstable/lint/catalog/files/template-valid.js.map +1 -0
  142. package/dist/src/unstable/lint/catalog/files-accessor/contexts.d.ts +10 -0
  143. package/dist/src/unstable/lint/catalog/files-accessor/contexts.d.ts.map +1 -0
  144. package/dist/src/unstable/lint/catalog/files-accessor/contexts.js +8 -0
  145. package/dist/src/unstable/lint/catalog/files-accessor/contexts.js.map +1 -0
  146. package/dist/src/unstable/lint/catalog/files-accessor/platform.d.ts +9 -0
  147. package/dist/src/unstable/lint/catalog/files-accessor/platform.d.ts.map +1 -0
  148. package/dist/src/unstable/lint/catalog/{docs-accessor → files-accessor}/platform.js +1 -1
  149. package/dist/src/unstable/lint/catalog/files-accessor/platform.js.map +1 -0
  150. package/dist/src/unstable/lint/catalog/files-accessor/vft.d.ts +8 -0
  151. package/dist/src/unstable/lint/catalog/files-accessor/vft.d.ts.map +1 -0
  152. package/dist/src/unstable/lint/catalog/{docs-accessor → files-accessor}/vft.js +1 -1
  153. package/dist/src/unstable/lint/catalog/files-accessor/vft.js.map +1 -0
  154. package/dist/src/unstable/lint/catalog/files.d.ts +4 -0
  155. package/dist/src/unstable/lint/catalog/files.d.ts.map +1 -0
  156. package/dist/src/unstable/lint/catalog/files.js +21 -0
  157. package/dist/src/unstable/lint/catalog/files.js.map +1 -0
  158. package/dist/src/unstable/lint/catalog/hook/entrypoint-exists.d.ts +4 -0
  159. package/dist/src/unstable/lint/catalog/hook/entrypoint-exists.d.ts.map +1 -0
  160. package/dist/src/unstable/lint/catalog/hook/entrypoint-exists.js +39 -0
  161. package/dist/src/unstable/lint/catalog/hook/entrypoint-exists.js.map +1 -0
  162. package/dist/src/unstable/lint/catalog/hook/manifest-keys-recognized.d.ts +4 -0
  163. package/dist/src/unstable/lint/catalog/{docs → hook}/manifest-keys-recognized.d.ts.map +1 -1
  164. package/dist/src/unstable/lint/catalog/hook/manifest-keys-recognized.js +13 -0
  165. package/dist/src/unstable/lint/catalog/hook/manifest-keys-recognized.js.map +1 -0
  166. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts +4 -0
  167. package/dist/src/unstable/lint/catalog/hook/manifest-present.d.ts.map +1 -0
  168. package/dist/src/unstable/lint/catalog/hook/manifest-present.js +24 -0
  169. package/dist/src/unstable/lint/catalog/hook/manifest-present.js.map +1 -0
  170. package/dist/src/unstable/lint/catalog/hook/manifest-schema-valid.d.ts +4 -0
  171. package/dist/src/unstable/lint/catalog/{docs → hook}/manifest-schema-valid.d.ts.map +1 -1
  172. package/dist/src/unstable/lint/catalog/hook/manifest-schema-valid.js +11 -0
  173. package/dist/src/unstable/lint/catalog/hook/manifest-schema-valid.js.map +1 -0
  174. package/dist/src/unstable/lint/catalog/hook.d.ts +4 -0
  175. package/dist/src/unstable/lint/catalog/hook.d.ts.map +1 -0
  176. package/dist/src/unstable/lint/catalog/hook.js +13 -0
  177. package/dist/src/unstable/lint/catalog/hook.js.map +1 -0
  178. package/dist/src/unstable/lint/catalog/index.d.ts +5 -4
  179. package/dist/src/unstable/lint/catalog/index.d.ts.map +1 -1
  180. package/dist/src/unstable/lint/catalog/index.js +9 -6
  181. package/dist/src/unstable/lint/catalog/index.js.map +1 -1
  182. package/dist/src/unstable/lint/catalog/shared/manifest-json.js +1 -1
  183. package/dist/src/unstable/lint/catalog/shared/manifest-json.js.map +1 -1
  184. package/dist/src/unstable/lint/catalog/shared/schema-rule.js +3 -1
  185. package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -1
  186. package/dist/src/unstable/lint/catalog/workspace/skills-managed.js +1 -1
  187. package/dist/src/unstable/lint/catalog/workspace/skills-managed.js.map +1 -1
  188. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts +2 -2
  189. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.d.ts.map +1 -1
  190. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js +18 -18
  191. package/dist/src/unstable/lint/catalog/workspace-read-model/lint-workspace.js.map +1 -1
  192. package/dist/src/unstable/lint/cli.d.ts +4 -4
  193. package/dist/src/unstable/lint/cli.d.ts.map +1 -1
  194. package/dist/src/unstable/lint/cli.js +6 -6
  195. package/dist/src/unstable/lint/cli.js.map +1 -1
  196. package/dist/src/unstable/lint/context.d.ts +17 -5
  197. package/dist/src/unstable/lint/context.d.ts.map +1 -1
  198. package/dist/src/unstable/lint/index.d.ts +2 -2
  199. package/dist/src/unstable/lint/index.d.ts.map +1 -1
  200. package/dist/src/unstable/lint/index.js +1 -1
  201. package/dist/src/unstable/lint/index.js.map +1 -1
  202. package/dist/src/unstable/lint/publish.d.ts +5 -4
  203. package/dist/src/unstable/lint/publish.d.ts.map +1 -1
  204. package/dist/src/unstable/lint/publish.js +28 -18
  205. package/dist/src/unstable/lint/publish.js.map +1 -1
  206. package/dist/src/unstable/lockfile/index.d.ts +2 -2
  207. package/dist/src/unstable/lockfile/index.d.ts.map +1 -1
  208. package/dist/src/unstable/lockfile/index.js +1 -1
  209. package/dist/src/unstable/lockfile/index.js.map +1 -1
  210. package/dist/src/unstable/lockfile/lockfile.d.ts +235 -3
  211. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -1
  212. package/dist/src/unstable/lockfile/lockfile.js +1 -1
  213. package/dist/src/unstable/lockfile/schema.d.ts +758 -14
  214. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -1
  215. package/dist/src/unstable/lockfile/schema.js +62 -20
  216. package/dist/src/unstable/lockfile/schema.js.map +1 -1
  217. package/dist/src/unstable/managed-files/index.d.ts +7 -0
  218. package/dist/src/unstable/managed-files/index.d.ts.map +1 -0
  219. package/dist/src/unstable/managed-files/index.js +7 -0
  220. package/dist/src/unstable/managed-files/index.js.map +1 -0
  221. package/dist/src/unstable/{docs → managed-files}/markers.d.ts +1 -1
  222. package/dist/src/unstable/managed-files/markers.d.ts.map +1 -0
  223. package/dist/src/unstable/{docs → managed-files}/markers.js +1 -1
  224. package/dist/src/unstable/managed-files/markers.js.map +1 -0
  225. package/dist/src/unstable/packs/dependency-resolution.d.ts +3 -1
  226. package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -1
  227. package/dist/src/unstable/packs/dependency-resolution.js +22 -7
  228. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -1
  229. package/dist/src/unstable/packs/expansion.d.ts +3 -1
  230. package/dist/src/unstable/packs/expansion.d.ts.map +1 -1
  231. package/dist/src/unstable/packs/expansion.js +35 -5
  232. package/dist/src/unstable/packs/expansion.js.map +1 -1
  233. package/dist/src/unstable/packs/manager.d.ts.map +1 -1
  234. package/dist/src/unstable/packs/manager.js +3 -1
  235. package/dist/src/unstable/packs/manager.js.map +1 -1
  236. package/dist/src/unstable/packs/manifest-schema.js +1 -1
  237. package/dist/src/unstable/packs/manifest-schema.js.map +1 -1
  238. package/dist/src/unstable/packs/operations/install.d.ts +4 -0
  239. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  240. package/dist/src/unstable/packs/operations/install.js +7 -1
  241. package/dist/src/unstable/packs/operations/install.js.map +1 -1
  242. package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -1
  243. package/dist/src/unstable/packs/reconciliation-adapter.js +4 -2
  244. package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -1
  245. package/dist/src/unstable/publish/lint-gate.d.ts +5 -0
  246. package/dist/src/unstable/publish/lint-gate.d.ts.map +1 -1
  247. package/dist/src/unstable/publish/lint-gate.js +12 -1
  248. package/dist/src/unstable/publish/lint-gate.js.map +1 -1
  249. package/dist/src/unstable/publish/manifest-policy.d.ts +54 -2
  250. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -1
  251. package/dist/src/unstable/publish/manifest-policy.js +10 -5
  252. package/dist/src/unstable/publish/manifest-policy.js.map +1 -1
  253. package/dist/src/unstable/registry/discover-schema.d.ts +4 -4
  254. package/dist/src/unstable/registry/schema.d.ts +1 -1
  255. package/dist/src/unstable/rules/discovery.d.ts +19 -0
  256. package/dist/src/unstable/rules/discovery.d.ts.map +1 -0
  257. package/dist/src/unstable/rules/discovery.js +101 -0
  258. package/dist/src/unstable/rules/discovery.js.map +1 -0
  259. package/dist/src/unstable/rules/index.d.ts +11 -0
  260. package/dist/src/unstable/rules/index.d.ts.map +1 -0
  261. package/dist/src/unstable/rules/index.js +10 -0
  262. package/dist/src/unstable/rules/index.js.map +1 -0
  263. package/dist/src/unstable/rules/manager.d.ts +19 -0
  264. package/dist/src/unstable/rules/manager.d.ts.map +1 -0
  265. package/dist/src/unstable/rules/manager.js +400 -0
  266. package/dist/src/unstable/rules/manager.js.map +1 -0
  267. package/dist/src/unstable/rules/manifest-schema.d.ts +62 -0
  268. package/dist/src/unstable/rules/manifest-schema.d.ts.map +1 -0
  269. package/dist/src/unstable/rules/manifest-schema.js +43 -0
  270. package/dist/src/unstable/rules/manifest-schema.js.map +1 -0
  271. package/dist/src/unstable/rules/refs.d.ts +25 -0
  272. package/dist/src/unstable/rules/refs.d.ts.map +1 -0
  273. package/dist/src/unstable/rules/refs.js +8 -0
  274. package/dist/src/unstable/rules/refs.js.map +1 -0
  275. package/dist/src/unstable/rules/registry-ref-builder.d.ts +7 -0
  276. package/dist/src/unstable/rules/registry-ref-builder.d.ts.map +1 -0
  277. package/dist/src/unstable/rules/registry-ref-builder.js +13 -0
  278. package/dist/src/unstable/rules/registry-ref-builder.js.map +1 -0
  279. package/dist/src/unstable/settings/index.d.ts +2 -2
  280. package/dist/src/unstable/settings/index.d.ts.map +1 -1
  281. package/dist/src/unstable/settings/index.js +1 -1
  282. package/dist/src/unstable/settings/index.js.map +1 -1
  283. package/dist/src/unstable/settings/schema.d.ts +116 -12
  284. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  285. package/dist/src/unstable/settings/schema.js +170 -32
  286. package/dist/src/unstable/settings/schema.js.map +1 -1
  287. package/dist/src/unstable/source-resolution/providers/bitbucket/print.js +1 -1
  288. package/dist/src/unstable/source-resolution/providers/bitbucket/print.js.map +1 -1
  289. package/dist/src/unstable/source-resolution/providers/convention-discovery.d.ts +10 -0
  290. package/dist/src/unstable/source-resolution/providers/convention-discovery.d.ts.map +1 -0
  291. package/dist/src/unstable/source-resolution/providers/convention-discovery.js +388 -0
  292. package/dist/src/unstable/source-resolution/providers/convention-discovery.js.map +1 -0
  293. package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -1
  294. package/dist/src/unstable/source-resolution/providers/git-hosting.js +4 -71
  295. package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -1
  296. package/dist/src/unstable/source-resolution/providers/git.d.ts +5 -4
  297. package/dist/src/unstable/source-resolution/providers/git.d.ts.map +1 -1
  298. package/dist/src/unstable/source-resolution/providers/git.js +28 -11
  299. package/dist/src/unstable/source-resolution/providers/git.js.map +1 -1
  300. package/dist/src/unstable/source-resolution/providers/github/print.js +1 -1
  301. package/dist/src/unstable/source-resolution/providers/github/print.js.map +1 -1
  302. package/dist/src/unstable/source-resolution/providers/gitlab/print.js +1 -1
  303. package/dist/src/unstable/source-resolution/providers/gitlab/print.js.map +1 -1
  304. package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -1
  305. package/dist/src/unstable/source-resolution/providers/local.js +6 -50
  306. package/dist/src/unstable/source-resolution/providers/local.js.map +1 -1
  307. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +1 -1
  308. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -1
  309. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +34 -11
  310. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -1
  311. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -1
  312. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +24 -4
  313. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -1
  314. package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -1
  315. package/dist/src/unstable/source-resolution/resolve-source.js +29 -7
  316. package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -1
  317. package/dist/src/unstable/sources/printer.d.ts +2 -2
  318. package/dist/src/unstable/sources/printer.d.ts.map +1 -1
  319. package/dist/src/unstable/sources/types.d.ts +1 -0
  320. package/dist/src/unstable/sources/types.d.ts.map +1 -1
  321. package/dist/src/unstable/sources/types.js +16 -2
  322. package/dist/src/unstable/sources/types.js.map +1 -1
  323. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts +2 -2
  324. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts.map +1 -1
  325. package/dist/src/unstable/workspace/configured-entry-resolution/index.js +1 -1
  326. package/dist/src/unstable/workspace/configured-entry-resolution/index.js.map +1 -1
  327. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +13 -3
  328. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -1
  329. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +109 -9
  330. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -1
  331. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts +6 -2
  332. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -1
  333. package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -1
  334. package/dist/src/unstable/workspace/index.d.ts +2 -2
  335. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  336. package/dist/src/unstable/workspace/index.js +1 -1
  337. package/dist/src/unstable/workspace/index.js.map +1 -1
  338. package/dist/src/unstable/workspace/initialization.d.ts +96 -40
  339. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  340. package/dist/src/unstable/workspace/read-model/discovery/skills.d.ts.map +1 -1
  341. package/dist/src/unstable/workspace/read-model/discovery/skills.js +8 -1
  342. package/dist/src/unstable/workspace/read-model/discovery/skills.js.map +1 -1
  343. package/dist/src/unstable/workspace/read-model/extensions/files.d.ts +93 -0
  344. package/dist/src/unstable/workspace/read-model/extensions/files.d.ts.map +1 -0
  345. package/dist/src/unstable/workspace/read-model/extensions/{docs.js → files.js} +21 -21
  346. package/dist/src/unstable/workspace/read-model/extensions/files.js.map +1 -0
  347. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts +2 -2
  348. package/dist/src/unstable/workspace/read-model/extensions/index.d.ts.map +1 -1
  349. package/dist/src/unstable/workspace/read-model/extensions/index.js +1 -1
  350. package/dist/src/unstable/workspace/read-model/extensions/index.js.map +1 -1
  351. package/dist/src/unstable/workspace/read-model/extensions/rule.d.ts +29 -6
  352. package/dist/src/unstable/workspace/read-model/extensions/rule.d.ts.map +1 -1
  353. package/dist/src/unstable/workspace/read-model/extensions/rule.js +38 -28
  354. package/dist/src/unstable/workspace/read-model/extensions/rule.js.map +1 -1
  355. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js +4 -2
  356. package/dist/src/unstable/workspace/read-model/scanners/canonical-extensions.js.map +1 -1
  357. package/dist/src/unstable/workspace/read-model/service.d.ts +2 -2
  358. package/dist/src/unstable/workspace/read-model/service.d.ts.map +1 -1
  359. package/dist/src/unstable/workspace/read-model/service.js +16 -6
  360. package/dist/src/unstable/workspace/read-model/service.js.map +1 -1
  361. package/dist/src/unstable/workspace/read-model-record-readers.d.ts.map +1 -1
  362. package/dist/src/unstable/workspace/read-model-record-readers.js +56 -5
  363. package/dist/src/unstable/workspace/read-model-record-readers.js.map +1 -1
  364. package/dist/src/unstable/workspace/service-interface.d.ts +90 -26
  365. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
  366. package/dist/src/unstable/workspace/service-interface.js.map +1 -1
  367. package/dist/src/unstable/workspace/service.d.ts +502 -14
  368. package/dist/src/unstable/workspace/service.d.ts.map +1 -1
  369. package/dist/src/unstable/workspace/service.js +318 -42
  370. package/dist/src/unstable/workspace/service.js.map +1 -1
  371. package/dist/src/unstable/workspace/test-stubs.d.ts +2 -0
  372. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
  373. package/dist/src/unstable/workspace/test-stubs.js +32 -10
  374. package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
  375. package/package.json +17 -5
  376. package/site-content/__generated__/schemas/axm-lock.schema.json +555 -136
  377. package/site-content/__generated__/schemas/axm-package-meta.schema.json +1 -1
  378. package/site-content/__generated__/schemas/{docs.schema.json → files.schema.json} +44 -44
  379. package/site-content/__generated__/schemas/hook.schema.json +375 -0
  380. package/site-content/__generated__/schemas/pack.schema.json +3 -3
  381. package/site-content/__generated__/schemas/rule.schema.json +327 -0
  382. package/site-content/__generated__/schemas/settings.schema.json +138 -28
  383. package/dist/src/unstable/docs/discovery.d.ts +0 -19
  384. package/dist/src/unstable/docs/discovery.d.ts.map +0 -1
  385. package/dist/src/unstable/docs/discovery.js.map +0 -1
  386. package/dist/src/unstable/docs/generators.d.ts.map +0 -1
  387. package/dist/src/unstable/docs/generators.js.map +0 -1
  388. package/dist/src/unstable/docs/index.d.ts +0 -15
  389. package/dist/src/unstable/docs/index.d.ts.map +0 -1
  390. package/dist/src/unstable/docs/index.js.map +0 -1
  391. package/dist/src/unstable/docs/manager.d.ts.map +0 -1
  392. package/dist/src/unstable/docs/manager.js.map +0 -1
  393. package/dist/src/unstable/docs/manifest-schema.d.ts.map +0 -1
  394. package/dist/src/unstable/docs/manifest-schema.js.map +0 -1
  395. package/dist/src/unstable/docs/markers.d.ts.map +0 -1
  396. package/dist/src/unstable/docs/markers.js.map +0 -1
  397. package/dist/src/unstable/docs/materialization.d.ts.map +0 -1
  398. package/dist/src/unstable/docs/materialization.js.map +0 -1
  399. package/dist/src/unstable/docs/refs.d.ts +0 -17
  400. package/dist/src/unstable/docs/refs.d.ts.map +0 -1
  401. package/dist/src/unstable/docs/refs.js.map +0 -1
  402. package/dist/src/unstable/docs/workspace-generators.d.ts.map +0 -1
  403. package/dist/src/unstable/docs/workspace-generators.js.map +0 -1
  404. package/dist/src/unstable/lint/catalog/docs/generator-valid.d.ts +0 -4
  405. package/dist/src/unstable/lint/catalog/docs/generator-valid.d.ts.map +0 -1
  406. package/dist/src/unstable/lint/catalog/docs/generator-valid.js.map +0 -1
  407. package/dist/src/unstable/lint/catalog/docs/helpers.d.ts.map +0 -1
  408. package/dist/src/unstable/lint/catalog/docs/helpers.js.map +0 -1
  409. package/dist/src/unstable/lint/catalog/docs/manifest-keys-recognized.d.ts +0 -4
  410. package/dist/src/unstable/lint/catalog/docs/manifest-keys-recognized.js +0 -14
  411. package/dist/src/unstable/lint/catalog/docs/manifest-keys-recognized.js.map +0 -1
  412. package/dist/src/unstable/lint/catalog/docs/manifest-present.d.ts +0 -4
  413. package/dist/src/unstable/lint/catalog/docs/manifest-present.d.ts.map +0 -1
  414. package/dist/src/unstable/lint/catalog/docs/manifest-present.js +0 -24
  415. package/dist/src/unstable/lint/catalog/docs/manifest-present.js.map +0 -1
  416. package/dist/src/unstable/lint/catalog/docs/manifest-schema-valid.d.ts +0 -4
  417. package/dist/src/unstable/lint/catalog/docs/manifest-schema-valid.js +0 -12
  418. package/dist/src/unstable/lint/catalog/docs/manifest-schema-valid.js.map +0 -1
  419. package/dist/src/unstable/lint/catalog/docs/marker-valid.d.ts +0 -4
  420. package/dist/src/unstable/lint/catalog/docs/marker-valid.d.ts.map +0 -1
  421. package/dist/src/unstable/lint/catalog/docs/marker-valid.js.map +0 -1
  422. package/dist/src/unstable/lint/catalog/docs/package-valid.d.ts +0 -4
  423. package/dist/src/unstable/lint/catalog/docs/package-valid.d.ts.map +0 -1
  424. package/dist/src/unstable/lint/catalog/docs/package-valid.js.map +0 -1
  425. package/dist/src/unstable/lint/catalog/docs/target-valid.d.ts +0 -4
  426. package/dist/src/unstable/lint/catalog/docs/target-valid.d.ts.map +0 -1
  427. package/dist/src/unstable/lint/catalog/docs/target-valid.js.map +0 -1
  428. package/dist/src/unstable/lint/catalog/docs/template-valid.d.ts +0 -4
  429. package/dist/src/unstable/lint/catalog/docs/template-valid.d.ts.map +0 -1
  430. package/dist/src/unstable/lint/catalog/docs/template-valid.js.map +0 -1
  431. package/dist/src/unstable/lint/catalog/docs-accessor/contexts.d.ts +0 -10
  432. package/dist/src/unstable/lint/catalog/docs-accessor/contexts.d.ts.map +0 -1
  433. package/dist/src/unstable/lint/catalog/docs-accessor/contexts.js +0 -8
  434. package/dist/src/unstable/lint/catalog/docs-accessor/contexts.js.map +0 -1
  435. package/dist/src/unstable/lint/catalog/docs-accessor/platform.d.ts +0 -9
  436. package/dist/src/unstable/lint/catalog/docs-accessor/platform.d.ts.map +0 -1
  437. package/dist/src/unstable/lint/catalog/docs-accessor/platform.js.map +0 -1
  438. package/dist/src/unstable/lint/catalog/docs-accessor/vft.d.ts +0 -8
  439. package/dist/src/unstable/lint/catalog/docs-accessor/vft.d.ts.map +0 -1
  440. package/dist/src/unstable/lint/catalog/docs-accessor/vft.js.map +0 -1
  441. package/dist/src/unstable/lint/catalog/docs.d.ts +0 -4
  442. package/dist/src/unstable/lint/catalog/docs.d.ts.map +0 -1
  443. package/dist/src/unstable/lint/catalog/docs.js +0 -21
  444. package/dist/src/unstable/lint/catalog/docs.js.map +0 -1
  445. package/dist/src/unstable/workspace/read-model/extensions/docs.d.ts +0 -93
  446. package/dist/src/unstable/workspace/read-model/extensions/docs.d.ts.map +0 -1
  447. package/dist/src/unstable/workspace/read-model/extensions/docs.js.map +0 -1
  448. /package/dist/src/unstable/{docs → files}/workspace-generators.d.ts +0 -0
  449. /package/dist/src/unstable/{docs → files}/workspace-generators.js +0 -0
@@ -7,7 +7,7 @@
7
7
  "type": "string",
8
8
  "allOf": [
9
9
  {
10
- "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcps|subagents|docs|rules|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$",
10
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcps|subagents|files|rules|hooks|packs)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$",
11
11
  "title": "Extension FQN",
12
12
  "description": "Canonical extension identifier in @owner/<type>s/<name> form.",
13
13
  "examples": ["@acme/skills/code-review", "@my-org/commands/format"]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$comment": "@generated by core:generate:schemas (packages/cli/scripts/generate-schemas.ts). Regenerate: pnpm exec nx run core:generate:schemas. DO NOT EDIT.",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$ref": "#/definitions/DocsManifest",
4
+ "$ref": "#/definitions/FilesManifest",
5
5
  "definitions": {
6
6
  "Handle": {
7
7
  "type": "string",
@@ -196,12 +196,12 @@
196
196
  {
197
197
  "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
198
198
  "title": "Extension Name",
199
- "description": "Short name for this docs package within its owner namespace. Combined with owner, forms the FQN @owner/docs/<name>.",
199
+ "description": "Short name for this files package within its owner namespace. Combined with owner, forms the FQN @owner/files/<name>.",
200
200
  "examples": ["my-skill", "code-review", "prettier"]
201
201
  }
202
202
  ]
203
203
  },
204
- "DocsInputStringDeclaration": {
204
+ "FilesInputStringDeclaration": {
205
205
  "type": "object",
206
206
  "properties": {
207
207
  "type": { "type": "string", "enum": ["string"] },
@@ -210,9 +210,9 @@
210
210
  },
211
211
  "required": ["type"],
212
212
  "additionalProperties": false,
213
- "title": "Docs Input String Declaration"
213
+ "title": "Files Input String Declaration"
214
214
  },
215
- "DocsInputNumberDeclaration": {
215
+ "FilesInputNumberDeclaration": {
216
216
  "type": "object",
217
217
  "properties": {
218
218
  "type": { "type": "string", "enum": ["number"] },
@@ -233,9 +233,9 @@
233
233
  },
234
234
  "required": ["type"],
235
235
  "additionalProperties": false,
236
- "title": "Docs Input Number Declaration"
236
+ "title": "Files Input Number Declaration"
237
237
  },
238
- "DocsInputBooleanDeclaration": {
238
+ "FilesInputBooleanDeclaration": {
239
239
  "type": "object",
240
240
  "properties": {
241
241
  "type": { "type": "string", "enum": ["boolean"] },
@@ -244,9 +244,9 @@
244
244
  },
245
245
  "required": ["type"],
246
246
  "additionalProperties": false,
247
- "title": "Docs Input Boolean Declaration"
247
+ "title": "Files Input Boolean Declaration"
248
248
  },
249
- "DocsInputEnumDeclaration": {
249
+ "FilesInputEnumDeclaration": {
250
250
  "type": "object",
251
251
  "properties": {
252
252
  "type": { "type": "string", "enum": ["enum"] },
@@ -260,24 +260,24 @@
260
260
  },
261
261
  "required": ["type", "values"],
262
262
  "additionalProperties": false,
263
- "title": "Docs Input Enum Declaration"
263
+ "title": "Files Input Enum Declaration"
264
264
  },
265
- "DocsInputDeclaration": {
265
+ "FilesInputDeclaration": {
266
266
  "anyOf": [
267
- { "$ref": "#/definitions/DocsInputStringDeclaration" },
268
- { "$ref": "#/definitions/DocsInputNumberDeclaration" },
269
- { "$ref": "#/definitions/DocsInputBooleanDeclaration" },
270
- { "$ref": "#/definitions/DocsInputEnumDeclaration" }
267
+ { "$ref": "#/definitions/FilesInputStringDeclaration" },
268
+ { "$ref": "#/definitions/FilesInputNumberDeclaration" },
269
+ { "$ref": "#/definitions/FilesInputBooleanDeclaration" },
270
+ { "$ref": "#/definitions/FilesInputEnumDeclaration" }
271
271
  ],
272
- "title": "Docs Input Declaration",
273
- "description": "A scalar input declaration for a docs template."
272
+ "title": "Files Input Declaration",
273
+ "description": "A scalar input declaration for a files template."
274
274
  },
275
- "DocsInputDeclarationsMap": {
275
+ "FilesInputDeclarationsMap": {
276
276
  "type": "object",
277
- "additionalProperties": { "$ref": "#/definitions/DocsInputDeclaration" },
278
- "title": "Docs Input Declarations Map"
277
+ "additionalProperties": { "$ref": "#/definitions/FilesInputDeclaration" },
278
+ "title": "Files Input Declarations Map"
279
279
  },
280
- "DocsSourcePath": {
280
+ "FilesSourcePath": {
281
281
  "anyOf": [
282
282
  { "type": "string", "allOf": [{ "minLength": 1 }] },
283
283
  {
@@ -286,14 +286,14 @@
286
286
  "items": { "type": "string", "allOf": [{ "minLength": 1 }] }
287
287
  }
288
288
  ],
289
- "title": "Docs Source Path",
289
+ "title": "Files Source Path",
290
290
  "description": "A payload path within src/, or an ordered list of payload paths to concatenate."
291
291
  },
292
292
  "StaticContentSource": {
293
293
  "type": "object",
294
294
  "properties": {
295
295
  "kind": { "type": "string", "enum": ["static"] },
296
- "path": { "$ref": "#/definitions/DocsSourcePath" }
296
+ "path": { "$ref": "#/definitions/FilesSourcePath" }
297
297
  },
298
298
  "required": ["kind", "path"],
299
299
  "additionalProperties": false,
@@ -303,13 +303,13 @@
303
303
  "type": "object",
304
304
  "properties": {
305
305
  "kind": { "type": "string", "enum": ["template"] },
306
- "path": { "$ref": "#/definitions/DocsSourcePath" }
306
+ "path": { "$ref": "#/definitions/FilesSourcePath" }
307
307
  },
308
308
  "required": ["kind", "path"],
309
309
  "additionalProperties": false,
310
310
  "title": "Template Content Source"
311
311
  },
312
- "DocsInputValue": {
312
+ "FilesInputValue": {
313
313
  "anyOf": [
314
314
  { "type": "string" },
315
315
  {
@@ -322,10 +322,10 @@
322
322
  },
323
323
  { "type": "boolean" }
324
324
  ],
325
- "title": "Docs Input Value",
326
- "description": "Scalar value used to render docs templates."
325
+ "title": "Files Input Value",
326
+ "description": "Scalar value used to render files templates."
327
327
  },
328
- "DocsGeneratorSpec": {
328
+ "FilesGeneratorSpec": {
329
329
  "type": "object",
330
330
  "properties": {
331
331
  "name": { "type": "string", "enum": ["toc", "file-index"] },
@@ -333,7 +333,7 @@
333
333
  "anyOf": [
334
334
  {
335
335
  "type": "object",
336
- "additionalProperties": { "$ref": "#/definitions/DocsInputValue" }
336
+ "additionalProperties": { "$ref": "#/definitions/FilesInputValue" }
337
337
  },
338
338
  { "type": "null" }
339
339
  ]
@@ -341,32 +341,32 @@
341
341
  },
342
342
  "required": ["name"],
343
343
  "additionalProperties": false,
344
- "title": "Docs Generator Spec",
344
+ "title": "Files Generator Spec",
345
345
  "description": "A supported v1 generated content source and scalar options."
346
346
  },
347
347
  "GeneratedContentSource": {
348
348
  "type": "object",
349
349
  "properties": {
350
350
  "kind": { "type": "string", "enum": ["generated"] },
351
- "generator": { "$ref": "#/definitions/DocsGeneratorSpec" }
351
+ "generator": { "$ref": "#/definitions/FilesGeneratorSpec" }
352
352
  },
353
353
  "required": ["kind", "generator"],
354
354
  "additionalProperties": false,
355
355
  "title": "Generated Content Source"
356
356
  },
357
- "DocsContentSource": {
357
+ "FilesContentSource": {
358
358
  "anyOf": [
359
359
  { "$ref": "#/definitions/StaticContentSource" },
360
360
  { "$ref": "#/definitions/TemplateContentSource" },
361
361
  { "$ref": "#/definitions/GeneratedContentSource" }
362
362
  ],
363
- "title": "Docs Content Source",
363
+ "title": "Files Content Source",
364
364
  "description": "Static, template, or generated source for a materialized file target."
365
365
  },
366
366
  "WholeFileContentsEntry": {
367
367
  "type": "object",
368
368
  "properties": {
369
- "source": { "$ref": "#/definitions/DocsContentSource" },
369
+ "source": { "$ref": "#/definitions/FilesContentSource" },
370
370
  "target": { "type": "string", "allOf": [{ "minLength": 1 }] },
371
371
  "mode": { "type": "string", "enum": ["sync-once", "sync-always"] }
372
372
  },
@@ -377,7 +377,7 @@
377
377
  "ManagedRegionContentsEntry": {
378
378
  "type": "object",
379
379
  "properties": {
380
- "source": { "$ref": "#/definitions/DocsContentSource" },
380
+ "source": { "$ref": "#/definitions/FilesContentSource" },
381
381
  "target": { "type": "string", "allOf": [{ "minLength": 1 }] },
382
382
  "mode": { "type": "string", "enum": ["managed-region"] },
383
383
  "region": { "type": "string", "allOf": [{ "minLength": 1 }] },
@@ -389,15 +389,15 @@
389
389
  "additionalProperties": false,
390
390
  "title": "Managed Region Contents Entry"
391
391
  },
392
- "DocsContentsEntry": {
392
+ "FilesContentsEntry": {
393
393
  "anyOf": [
394
394
  { "$ref": "#/definitions/WholeFileContentsEntry" },
395
395
  { "$ref": "#/definitions/ManagedRegionContentsEntry" }
396
396
  ],
397
- "title": "Docs Contents Entry",
398
- "description": "A docs package content source and the workspace target it materializes into."
397
+ "title": "Files Contents Entry",
398
+ "description": "A files package content source and the workspace target it materializes into."
399
399
  },
400
- "DocsManifest": {
400
+ "FilesManifest": {
401
401
  "type": "object",
402
402
  "properties": {
403
403
  "$schema": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
@@ -478,21 +478,21 @@
478
478
  { "type": "null" }
479
479
  ]
480
480
  },
481
- "type": { "type": "string", "enum": ["docs"] },
481
+ "type": { "type": "string", "enum": ["files"] },
482
482
  "name": { "$ref": "#/definitions/ExtensionName" },
483
483
  "inputs": {
484
- "anyOf": [{ "$ref": "#/definitions/DocsInputDeclarationsMap" }, { "type": "null" }]
484
+ "anyOf": [{ "$ref": "#/definitions/FilesInputDeclarationsMap" }, { "type": "null" }]
485
485
  },
486
486
  "contents": {
487
487
  "type": "array",
488
488
  "allOf": [{ "minItems": 1 }],
489
- "items": { "$ref": "#/definitions/DocsContentsEntry" }
489
+ "items": { "$ref": "#/definitions/FilesContentsEntry" }
490
490
  }
491
491
  },
492
492
  "required": ["owner", "version", "type", "name", "contents"],
493
493
  "additionalProperties": false,
494
- "title": "Docs Manifest",
495
- "description": "docs manifest for structural workspace file distribution. Declares payload sources, inputs, and materialization targets."
494
+ "title": "Files Manifest",
495
+ "description": "files manifest for structural workspace file distribution. Declares payload sources, inputs, and materialization targets."
496
496
  }
497
497
  }
498
498
  }
@@ -0,0 +1,375 @@
1
+ {
2
+ "$comment": "@generated by core:generate:schemas (packages/cli/scripts/generate-schemas.ts). Regenerate: pnpm exec nx run core:generate:schemas. DO NOT EDIT.",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$ref": "#/definitions/HookManifest",
5
+ "definitions": {
6
+ "Handle": {
7
+ "type": "string",
8
+ "allOf": [
9
+ {
10
+ "pattern": "^@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?$",
11
+ "title": "Handle",
12
+ "description": "A unique username or organization name starting with @, like @my-org.",
13
+ "examples": ["@my-org", "@username"]
14
+ }
15
+ ]
16
+ },
17
+ "Version": {
18
+ "type": "string",
19
+ "allOf": [
20
+ {
21
+ "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-]+)*))?$",
22
+ "title": "Version",
23
+ "description": "A semver version like 1.0.0. Ranges are not allowed here.",
24
+ "examples": ["1.0.0", "2.3.1", "0.1.0-beta.1"]
25
+ }
26
+ ]
27
+ },
28
+ "Repository": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string",
32
+ "examples": ["https://github.com/acme/code-review", "github:acme/code-review"],
33
+ "format": "uri-reference"
34
+ },
35
+ {
36
+ "type": "object",
37
+ "properties": {
38
+ "type": {
39
+ "anyOf": [
40
+ {
41
+ "type": "string",
42
+ "allOf": [
43
+ {
44
+ "minLength": 1,
45
+ "description": "Version control system (e.g., `git`).",
46
+ "examples": ["git"]
47
+ }
48
+ ]
49
+ },
50
+ { "type": "null" }
51
+ ]
52
+ },
53
+ "url": {
54
+ "type": "string",
55
+ "allOf": [
56
+ {
57
+ "minLength": 1,
58
+ "description": "Repository URL.",
59
+ "examples": ["https://github.com/acme/code-review"],
60
+ "format": "uri"
61
+ }
62
+ ]
63
+ },
64
+ "directory": {
65
+ "anyOf": [
66
+ {
67
+ "type": "string",
68
+ "allOf": [
69
+ {
70
+ "minLength": 1,
71
+ "description": "Subdirectory within the repository, for monorepo publishers.",
72
+ "examples": ["packages/code-review"]
73
+ }
74
+ ]
75
+ },
76
+ { "type": "null" }
77
+ ]
78
+ }
79
+ },
80
+ "required": ["url"],
81
+ "additionalProperties": false
82
+ }
83
+ ],
84
+ "title": "Repository",
85
+ "description": "Source repository for this extension. Accepts a URL string (or `host:owner/repo` shorthand) or an object with `type`, `url`, and optional `directory`."
86
+ },
87
+ "Bugs": {
88
+ "anyOf": [
89
+ {
90
+ "type": "string",
91
+ "examples": ["https://github.com/acme/code-review/issues"],
92
+ "format": "uri"
93
+ },
94
+ {
95
+ "type": "object",
96
+ "properties": {
97
+ "url": {
98
+ "anyOf": [
99
+ {
100
+ "type": "string",
101
+ "allOf": [
102
+ {
103
+ "minLength": 1,
104
+ "description": "Issue tracker URL.",
105
+ "examples": ["https://github.com/acme/code-review/issues"],
106
+ "format": "uri"
107
+ }
108
+ ]
109
+ },
110
+ { "type": "null" }
111
+ ]
112
+ },
113
+ "email": {
114
+ "anyOf": [
115
+ {
116
+ "type": "string",
117
+ "allOf": [
118
+ {
119
+ "minLength": 1,
120
+ "description": "Contact email for bug reports.",
121
+ "examples": ["bugs@acme.dev"],
122
+ "format": "email"
123
+ }
124
+ ]
125
+ },
126
+ { "type": "null" }
127
+ ]
128
+ }
129
+ },
130
+ "additionalProperties": false
131
+ }
132
+ ],
133
+ "title": "Bugs",
134
+ "description": "Where to report bugs against this extension. Accepts a URL string or an object with optional `url` and `email`."
135
+ },
136
+ "Author": {
137
+ "type": "object",
138
+ "properties": {
139
+ "name": { "type": "string" },
140
+ "email": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
141
+ "url": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
142
+ },
143
+ "required": ["name"],
144
+ "additionalProperties": false,
145
+ "title": "Author",
146
+ "description": "A person credited as a creator or maintainer of this extension."
147
+ },
148
+ "PackageIdentityPurl": {
149
+ "type": "string",
150
+ "allOf": [
151
+ { "minLength": 1 },
152
+ {
153
+ "pattern": "^[Pp][Kk][Gg]:[a-zA-Z][a-zA-Z0-9.+-]*\\/.+$",
154
+ "title": "Package Identity Purl",
155
+ "description": "A Package URL (purl) identity for a companion package. Companion package purls are identities, not pins: omit the purl @version segment and put compatibility constraints in versionRange.",
156
+ "examples": ["pkg:npm/react", "pkg:pypi/requests", "pkg:cargo/serde"]
157
+ }
158
+ ]
159
+ },
160
+ "VersRange": {
161
+ "type": "string",
162
+ "allOf": [
163
+ {
164
+ "minLength": 1,
165
+ "examples": ["vers:npm/>=18.0.0|<19.0.0", "vers:pypi/>=2.31.0", "vers:cargo/>=1.0.0"]
166
+ }
167
+ ]
168
+ },
169
+ "CompanionPackage": {
170
+ "type": "object",
171
+ "properties": {
172
+ "purl": { "$ref": "#/definitions/PackageIdentityPurl" },
173
+ "versionRange": { "anyOf": [{ "$ref": "#/definitions/VersRange" }, { "type": "null" }] }
174
+ },
175
+ "required": ["purl"],
176
+ "additionalProperties": false,
177
+ "title": "Companion Package",
178
+ "description": "A companion package purl identity with an optional VERS compatibility range."
179
+ },
180
+ "PackSpec": {
181
+ "type": "string",
182
+ "allOf": [
183
+ { "minLength": 1 },
184
+ {
185
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/packs\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)(?:@.+)?$",
186
+ "title": "Pack Spec",
187
+ "description": "Pack reference with an optional version constraint suffix.",
188
+ "examples": ["@acme/packs/typescript", "@acme/packs/typescript@^1.0.0"]
189
+ }
190
+ ]
191
+ },
192
+ "ExtensionName": {
193
+ "type": "string",
194
+ "allOf": [
195
+ { "minLength": 1 },
196
+ {
197
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$",
198
+ "title": "Extension Name",
199
+ "description": "Short name for this hook within its owner namespace. Combined with owner, forms the FQN @owner/hooks/<name>.",
200
+ "examples": ["my-skill", "code-review", "prettier"]
201
+ }
202
+ ]
203
+ },
204
+ "HookRuntime": {
205
+ "type": "string",
206
+ "enum": ["bash", "node", "python"],
207
+ "title": "Hook Runtime",
208
+ "description": "Interpreter family used to execute the materialized hook entrypoint."
209
+ },
210
+ "HookEvent": {
211
+ "type": "string",
212
+ "enum": [
213
+ "PreToolUse",
214
+ "PostToolUse",
215
+ "UserPromptSubmit",
216
+ "SessionStart",
217
+ "Stop",
218
+ "SubagentStop",
219
+ "PreCompact"
220
+ ],
221
+ "title": "Hook Event",
222
+ "description": "Agent hook event this extension binds to."
223
+ },
224
+ "HookBinding": {
225
+ "type": "object",
226
+ "properties": {
227
+ "event": { "$ref": "#/definitions/HookEvent" },
228
+ "matcher": {
229
+ "anyOf": [{ "type": "string", "allOf": [{ "minLength": 1 }] }, { "type": "null" }]
230
+ }
231
+ },
232
+ "required": ["event"],
233
+ "additionalProperties": false
234
+ },
235
+ "HookCapabilities": {
236
+ "type": "object",
237
+ "properties": {
238
+ "network": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
239
+ "filesystemWrite": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
240
+ "exec": {
241
+ "anyOf": [
242
+ { "type": "array", "items": { "type": "string", "allOf": [{ "minLength": 1 }] } },
243
+ { "type": "null" }
244
+ ]
245
+ },
246
+ "env": {
247
+ "anyOf": [
248
+ { "type": "array", "items": { "type": "string", "allOf": [{ "minLength": 1 }] } },
249
+ { "type": "null" }
250
+ ]
251
+ }
252
+ },
253
+ "additionalProperties": false,
254
+ "title": "Hook Capabilities",
255
+ "description": "Advisory author-declared hook capability surface. v1 does not enforce it."
256
+ },
257
+ "HookManifest": {
258
+ "type": "object",
259
+ "properties": {
260
+ "$schema": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
261
+ "owner": { "$ref": "#/definitions/Handle" },
262
+ "version": { "$ref": "#/definitions/Version" },
263
+ "description": {
264
+ "anyOf": [
265
+ {
266
+ "type": "string",
267
+ "description": "Short, registry-facing summary of this extension shown in listings and search results."
268
+ },
269
+ { "type": "null" }
270
+ ]
271
+ },
272
+ "keywords": {
273
+ "anyOf": [
274
+ {
275
+ "type": "array",
276
+ "examples": [["lint", "typescript", "review"]],
277
+ "items": { "type": "string", "allOf": [{ "minLength": 1 }] }
278
+ },
279
+ { "type": "null" }
280
+ ]
281
+ },
282
+ "repository": { "anyOf": [{ "$ref": "#/definitions/Repository" }, { "type": "null" }] },
283
+ "homepage": {
284
+ "anyOf": [
285
+ { "type": "string", "examples": ["https://acme.dev/code-review"], "format": "uri" },
286
+ { "type": "null" }
287
+ ]
288
+ },
289
+ "license": {
290
+ "anyOf": [
291
+ {
292
+ "type": "string",
293
+ "title": "License",
294
+ "description": "SPDX license expression, or `UNLICENSED` for proprietary code.",
295
+ "examples": ["MIT", "Apache-2.0", "MIT OR Apache-2.0", "UNLICENSED"],
296
+ "format": "spdx-expression"
297
+ },
298
+ { "type": "null" }
299
+ ]
300
+ },
301
+ "bugs": { "anyOf": [{ "$ref": "#/definitions/Bugs" }, { "type": "null" }] },
302
+ "authors": {
303
+ "anyOf": [
304
+ { "type": "array", "items": { "$ref": "#/definitions/Author" } },
305
+ { "type": "null" }
306
+ ]
307
+ },
308
+ "packages": {
309
+ "anyOf": [
310
+ {
311
+ "type": "array",
312
+ "description": "External ecosystem packages this extension is designed to work with, declared as identity Package URLs with optional VERS compatibility ranges.",
313
+ "items": { "$ref": "#/definitions/CompanionPackage" }
314
+ },
315
+ { "type": "null" }
316
+ ]
317
+ },
318
+ "recommendedPacks": {
319
+ "anyOf": [
320
+ {
321
+ "type": "array",
322
+ "description": "Packs this extension is designed to work alongside. Each entry is a pack spec, optionally pinned to a version range.",
323
+ "items": { "$ref": "#/definitions/PackSpec" }
324
+ },
325
+ { "type": "null" }
326
+ ]
327
+ },
328
+ "standalone": {
329
+ "anyOf": [
330
+ {
331
+ "type": "boolean",
332
+ "description": "Set to false to indicate this extension only makes sense when installed alongside one of its recommendedPacks.",
333
+ "default": true
334
+ },
335
+ { "type": "null" }
336
+ ]
337
+ },
338
+ "type": { "type": "string", "enum": ["hook"] },
339
+ "name": { "$ref": "#/definitions/ExtensionName" },
340
+ "title": {
341
+ "anyOf": [
342
+ {
343
+ "type": "string",
344
+ "allOf": [{ "minLength": 1, "description": "Optional display title for this hook." }]
345
+ },
346
+ { "type": "null" }
347
+ ]
348
+ },
349
+ "runtime": { "$ref": "#/definitions/HookRuntime" },
350
+ "entrypoint": {
351
+ "type": "string",
352
+ "allOf": [
353
+ {
354
+ "minLength": 1,
355
+ "description": "Hook body entrypoint path, relative to the hook manifest directory.",
356
+ "examples": ["src/hook.sh", "src/hook.js", "src/hook.py"]
357
+ }
358
+ ]
359
+ },
360
+ "bindings": { "type": "array", "items": { "$ref": "#/definitions/HookBinding" } },
361
+ "timeoutMs": {
362
+ "anyOf": [{ "type": "integer", "allOf": [{ "exclusiveMinimum": 0 }] }, { "type": "null" }]
363
+ },
364
+ "blocking": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
365
+ "capabilities": {
366
+ "anyOf": [{ "$ref": "#/definitions/HookCapabilities" }, { "type": "null" }]
367
+ }
368
+ },
369
+ "required": ["owner", "version", "type", "name", "runtime", "entrypoint", "bindings"],
370
+ "additionalProperties": false,
371
+ "title": "Hook Manifest",
372
+ "description": "Hook manifest for managed agent hooks. The executable body lives under src/ and is invoked from native agent settings."
373
+ }
374
+ }
375
+ }
@@ -193,9 +193,9 @@
193
193
  "type": "string",
194
194
  "allOf": [
195
195
  {
196
- "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcps|subagents|docs|rules)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$",
196
+ "pattern": "^(@[a-z0-9_](?:[a-z0-9_-]*[a-z0-9_])?)\\/(skills|commands|mcps|subagents|files|rules|hooks)\\/([a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?)$",
197
197
  "title": "Non-Pack Extension FQN",
198
- "description": "Extension identifier restricted to non-pack types (skills, commands, mcps, subagents, context, rules).",
198
+ "description": "Extension identifier restricted to non-pack types (skills, commands, mcps, subagents, context, rules, hooks).",
199
199
  "examples": ["@acme/skills/code-review", "@my-org/commands/format"]
200
200
  }
201
201
  ]
@@ -285,7 +285,7 @@
285
285
  "required": ["owner", "version", "type", "name", "dependencies"],
286
286
  "additionalProperties": false,
287
287
  "title": "Pack Manifest",
288
- "description": "Extension manifest file for extension packs. Bundles a curated set of skills, commands, MCP servers, subagents, Context docs packages, and rules into a single installable unit."
288
+ "description": "Extension manifest file for extension packs. Bundles a curated set of skills, commands, MCP servers, subagents, Context Files packages, and rules into a single installable unit."
289
289
  }
290
290
  }
291
291
  }