@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
@@ -3,7 +3,9 @@
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "$ref": "#/definitions/Lockfile",
5
5
  "definitions": {
6
+ "SourceNamespace": { "type": "string", "allOf": [{ "minLength": 1 }] },
6
7
  "SourceSegment": { "type": "string", "allOf": [{ "minLength": 1 }] },
8
+ "SourceSubPath": { "type": "string", "allOf": [{ "minLength": 1 }] },
7
9
  "IsoDateTimeString": { "type": "string", "allOf": [{ "minLength": 1 }] },
8
10
  "Handle": {
9
11
  "type": "string",
@@ -39,7 +41,7 @@
39
41
  }
40
42
  ]
41
43
  },
42
- "DocsInputValue": {
44
+ "FilesInputValue": {
43
45
  "anyOf": [
44
46
  { "type": "string" },
45
47
  {
@@ -52,26 +54,26 @@
52
54
  },
53
55
  { "type": "boolean" }
54
56
  ],
55
- "title": "Docs Input Value",
56
- "description": "Scalar value used to render docs templates."
57
+ "title": "Files Input Value",
58
+ "description": "Scalar value used to render files templates."
57
59
  },
58
- "DocsResolvedInputsMap": {
60
+ "FilesResolvedInputsMap": {
59
61
  "type": "object",
60
- "additionalProperties": { "$ref": "#/definitions/DocsInputValue" },
61
- "title": "Docs Resolved Inputs Map",
62
- "description": "Scalar input values resolved for a Context docs package lock entry."
62
+ "additionalProperties": { "$ref": "#/definitions/FilesInputValue" },
63
+ "title": "Files Resolved Inputs Map",
64
+ "description": "Scalar input values resolved for a Context Files package lock entry."
63
65
  },
64
- "DocsMaterializationMode": {
66
+ "FilesMaterializationMode": {
65
67
  "type": "string",
66
68
  "enum": ["sync-once", "sync-always", "managed-region"],
67
- "title": "Docs Materialization Mode",
69
+ "title": "Files Materialization Mode",
68
70
  "description": "How AXM owns or preserves the materialized target."
69
71
  },
70
72
  "MaterializedFileTarget": {
71
73
  "type": "object",
72
74
  "properties": {
73
75
  "target": { "type": "string" },
74
- "mode": { "$ref": "#/definitions/DocsMaterializationMode" },
76
+ "mode": { "$ref": "#/definitions/FilesMaterializationMode" },
75
77
  "region": {
76
78
  "anyOf": [{ "type": "string", "allOf": [{ "minLength": 1 }] }, { "type": "null" }]
77
79
  },
@@ -80,13 +82,13 @@
80
82
  "required": ["target", "mode"],
81
83
  "additionalProperties": false,
82
84
  "title": "Materialized File Target",
83
- "description": "A workspace target written by a Context docs package, plus optional region and render hash."
85
+ "description": "A workspace target written by a Context Files package, plus optional region and render hash."
84
86
  },
85
87
  "ExtensionFqn": {
86
88
  "type": "string",
87
89
  "allOf": [
88
90
  {
89
- "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])?)$",
91
+ "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])?)$",
90
92
  "title": "Extension FQN",
91
93
  "description": "Canonical extension identifier in @owner/<type>s/<name> form.",
92
94
  "examples": ["@acme/skills/code-review", "@my-org/commands/format"]
@@ -124,7 +126,27 @@
124
126
  "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
125
127
  "additionalProperties": { "$ref": "#/definitions/Version" }
126
128
  },
127
- "resolvedDocs": {
129
+ "resolvedFiles": {
130
+ "anyOf": [
131
+ {
132
+ "type": "object",
133
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
134
+ "additionalProperties": { "$ref": "#/definitions/Version" }
135
+ },
136
+ { "type": "null" }
137
+ ]
138
+ },
139
+ "resolvedRules": {
140
+ "anyOf": [
141
+ {
142
+ "type": "object",
143
+ "propertyNames": { "$ref": "#/definitions/ExtensionFqn" },
144
+ "additionalProperties": { "$ref": "#/definitions/Version" }
145
+ },
146
+ { "type": "null" }
147
+ ]
148
+ },
149
+ "resolvedHooks": {
128
150
  "anyOf": [
129
151
  {
130
152
  "type": "object",
@@ -170,7 +192,7 @@
170
192
  "type": "object",
171
193
  "properties": {
172
194
  "type": { "type": "string", "enum": ["github"] },
173
- "owner": { "$ref": "#/definitions/SourceSegment" },
195
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
174
196
  "repo": { "$ref": "#/definitions/SourceSegment" },
175
197
  "ref": {
176
198
  "anyOf": [
@@ -179,10 +201,7 @@
179
201
  ]
180
202
  },
181
203
  "path": {
182
- "anyOf": [
183
- { "type": "string", "allOf": [{ "minLength": 1 }] },
184
- { "type": "null" }
185
- ]
204
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
186
205
  },
187
206
  "agents": { "type": "array", "items": { "type": "string" } },
188
207
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -215,7 +234,7 @@
215
234
  "type": "object",
216
235
  "properties": {
217
236
  "type": { "type": "string", "enum": ["gitlab"] },
218
- "owner": { "$ref": "#/definitions/SourceSegment" },
237
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
219
238
  "repo": { "$ref": "#/definitions/SourceSegment" },
220
239
  "ref": {
221
240
  "anyOf": [
@@ -224,10 +243,7 @@
224
243
  ]
225
244
  },
226
245
  "path": {
227
- "anyOf": [
228
- { "type": "string", "allOf": [{ "minLength": 1 }] },
229
- { "type": "null" }
230
- ]
246
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
231
247
  },
232
248
  "agents": { "type": "array", "items": { "type": "string" } },
233
249
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -260,7 +276,7 @@
260
276
  "type": "object",
261
277
  "properties": {
262
278
  "type": { "type": "string", "enum": ["bitbucket"] },
263
- "owner": { "$ref": "#/definitions/SourceSegment" },
279
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
264
280
  "repo": { "$ref": "#/definitions/SourceSegment" },
265
281
  "ref": {
266
282
  "anyOf": [
@@ -269,10 +285,7 @@
269
285
  ]
270
286
  },
271
287
  "path": {
272
- "anyOf": [
273
- { "type": "string", "allOf": [{ "minLength": 1 }] },
274
- { "type": "null" }
275
- ]
288
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
276
289
  },
277
290
  "agents": { "type": "array", "items": { "type": "string" } },
278
291
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -315,10 +328,7 @@
315
328
  ]
316
329
  },
317
330
  "path": {
318
- "anyOf": [
319
- { "type": "string", "allOf": [{ "minLength": 1 }] },
320
- { "type": "null" }
321
- ]
331
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
322
332
  },
323
333
  "agents": { "type": "array", "items": { "type": "string" } },
324
334
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -367,10 +377,7 @@
367
377
  ]
368
378
  },
369
379
  "path": {
370
- "anyOf": [
371
- { "type": "string", "allOf": [{ "minLength": 1 }] },
372
- { "type": "null" }
373
- ]
380
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
374
381
  },
375
382
  "agents": { "type": "array", "items": { "type": "string" } },
376
383
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -490,7 +497,7 @@
490
497
  "type": "object",
491
498
  "properties": {
492
499
  "type": { "type": "string", "enum": ["github"] },
493
- "owner": { "$ref": "#/definitions/SourceSegment" },
500
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
494
501
  "repo": { "$ref": "#/definitions/SourceSegment" },
495
502
  "ref": {
496
503
  "anyOf": [
@@ -499,10 +506,7 @@
499
506
  ]
500
507
  },
501
508
  "path": {
502
- "anyOf": [
503
- { "type": "string", "allOf": [{ "minLength": 1 }] },
504
- { "type": "null" }
505
- ]
509
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
506
510
  },
507
511
  "agents": { "type": "array", "items": { "type": "string" } },
508
512
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -535,7 +539,7 @@
535
539
  "type": "object",
536
540
  "properties": {
537
541
  "type": { "type": "string", "enum": ["gitlab"] },
538
- "owner": { "$ref": "#/definitions/SourceSegment" },
542
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
539
543
  "repo": { "$ref": "#/definitions/SourceSegment" },
540
544
  "ref": {
541
545
  "anyOf": [
@@ -544,10 +548,7 @@
544
548
  ]
545
549
  },
546
550
  "path": {
547
- "anyOf": [
548
- { "type": "string", "allOf": [{ "minLength": 1 }] },
549
- { "type": "null" }
550
- ]
551
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
551
552
  },
552
553
  "agents": { "type": "array", "items": { "type": "string" } },
553
554
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -580,7 +581,7 @@
580
581
  "type": "object",
581
582
  "properties": {
582
583
  "type": { "type": "string", "enum": ["bitbucket"] },
583
- "owner": { "$ref": "#/definitions/SourceSegment" },
584
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
584
585
  "repo": { "$ref": "#/definitions/SourceSegment" },
585
586
  "ref": {
586
587
  "anyOf": [
@@ -589,10 +590,7 @@
589
590
  ]
590
591
  },
591
592
  "path": {
592
- "anyOf": [
593
- { "type": "string", "allOf": [{ "minLength": 1 }] },
594
- { "type": "null" }
595
- ]
593
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
596
594
  },
597
595
  "agents": { "type": "array", "items": { "type": "string" } },
598
596
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -635,10 +633,7 @@
635
633
  ]
636
634
  },
637
635
  "path": {
638
- "anyOf": [
639
- { "type": "string", "allOf": [{ "minLength": 1 }] },
640
- { "type": "null" }
641
- ]
636
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
642
637
  },
643
638
  "agents": { "type": "array", "items": { "type": "string" } },
644
639
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -687,10 +682,7 @@
687
682
  ]
688
683
  },
689
684
  "path": {
690
- "anyOf": [
691
- { "type": "string", "allOf": [{ "minLength": 1 }] },
692
- { "type": "null" }
693
- ]
685
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
694
686
  },
695
687
  "agents": { "type": "array", "items": { "type": "string" } },
696
688
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -813,7 +805,7 @@
813
805
  "type": "object",
814
806
  "properties": {
815
807
  "type": { "type": "string", "enum": ["github"] },
816
- "owner": { "$ref": "#/definitions/SourceSegment" },
808
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
817
809
  "repo": { "$ref": "#/definitions/SourceSegment" },
818
810
  "ref": {
819
811
  "anyOf": [
@@ -822,10 +814,7 @@
822
814
  ]
823
815
  },
824
816
  "path": {
825
- "anyOf": [
826
- { "type": "string", "allOf": [{ "minLength": 1 }] },
827
- { "type": "null" }
828
- ]
817
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
829
818
  },
830
819
  "agents": { "type": "array", "items": { "type": "string" } },
831
820
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -858,7 +847,7 @@
858
847
  "type": "object",
859
848
  "properties": {
860
849
  "type": { "type": "string", "enum": ["gitlab"] },
861
- "owner": { "$ref": "#/definitions/SourceSegment" },
850
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
862
851
  "repo": { "$ref": "#/definitions/SourceSegment" },
863
852
  "ref": {
864
853
  "anyOf": [
@@ -867,10 +856,7 @@
867
856
  ]
868
857
  },
869
858
  "path": {
870
- "anyOf": [
871
- { "type": "string", "allOf": [{ "minLength": 1 }] },
872
- { "type": "null" }
873
- ]
859
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
874
860
  },
875
861
  "agents": { "type": "array", "items": { "type": "string" } },
876
862
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -903,7 +889,7 @@
903
889
  "type": "object",
904
890
  "properties": {
905
891
  "type": { "type": "string", "enum": ["bitbucket"] },
906
- "owner": { "$ref": "#/definitions/SourceSegment" },
892
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
907
893
  "repo": { "$ref": "#/definitions/SourceSegment" },
908
894
  "ref": {
909
895
  "anyOf": [
@@ -912,10 +898,7 @@
912
898
  ]
913
899
  },
914
900
  "path": {
915
- "anyOf": [
916
- { "type": "string", "allOf": [{ "minLength": 1 }] },
917
- { "type": "null" }
918
- ]
901
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
919
902
  },
920
903
  "agents": { "type": "array", "items": { "type": "string" } },
921
904
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -958,10 +941,7 @@
958
941
  ]
959
942
  },
960
943
  "path": {
961
- "anyOf": [
962
- { "type": "string", "allOf": [{ "minLength": 1 }] },
963
- { "type": "null" }
964
- ]
944
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
965
945
  },
966
946
  "agents": { "type": "array", "items": { "type": "string" } },
967
947
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1010,10 +990,7 @@
1010
990
  ]
1011
991
  },
1012
992
  "path": {
1013
- "anyOf": [
1014
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1015
- { "type": "null" }
1016
- ]
993
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1017
994
  },
1018
995
  "agents": { "type": "array", "items": { "type": "string" } },
1019
996
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1136,7 +1113,7 @@
1136
1113
  "type": "object",
1137
1114
  "properties": {
1138
1115
  "type": { "type": "string", "enum": ["github"] },
1139
- "owner": { "$ref": "#/definitions/SourceSegment" },
1116
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1140
1117
  "repo": { "$ref": "#/definitions/SourceSegment" },
1141
1118
  "ref": {
1142
1119
  "anyOf": [
@@ -1145,10 +1122,7 @@
1145
1122
  ]
1146
1123
  },
1147
1124
  "path": {
1148
- "anyOf": [
1149
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1150
- { "type": "null" }
1151
- ]
1125
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1152
1126
  },
1153
1127
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1154
1128
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1162,7 +1136,7 @@
1162
1136
  "type": "object",
1163
1137
  "properties": {
1164
1138
  "type": { "type": "string", "enum": ["gitlab"] },
1165
- "owner": { "$ref": "#/definitions/SourceSegment" },
1139
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1166
1140
  "repo": { "$ref": "#/definitions/SourceSegment" },
1167
1141
  "ref": {
1168
1142
  "anyOf": [
@@ -1171,10 +1145,7 @@
1171
1145
  ]
1172
1146
  },
1173
1147
  "path": {
1174
- "anyOf": [
1175
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1176
- { "type": "null" }
1177
- ]
1148
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1178
1149
  },
1179
1150
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1180
1151
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1188,7 +1159,7 @@
1188
1159
  "type": "object",
1189
1160
  "properties": {
1190
1161
  "type": { "type": "string", "enum": ["bitbucket"] },
1191
- "owner": { "$ref": "#/definitions/SourceSegment" },
1162
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1192
1163
  "repo": { "$ref": "#/definitions/SourceSegment" },
1193
1164
  "ref": {
1194
1165
  "anyOf": [
@@ -1197,10 +1168,7 @@
1197
1168
  ]
1198
1169
  },
1199
1170
  "path": {
1200
- "anyOf": [
1201
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1202
- { "type": "null" }
1203
- ]
1171
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1204
1172
  },
1205
1173
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1206
1174
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1224,10 +1192,7 @@
1224
1192
  ]
1225
1193
  },
1226
1194
  "path": {
1227
- "anyOf": [
1228
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1229
- { "type": "null" }
1230
- ]
1195
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1231
1196
  },
1232
1197
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1233
1198
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1256,10 +1221,7 @@
1256
1221
  ]
1257
1222
  },
1258
1223
  "path": {
1259
- "anyOf": [
1260
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1261
- { "type": "null" }
1262
- ]
1224
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1263
1225
  },
1264
1226
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1265
1227
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1314,7 +1276,7 @@
1314
1276
  { "type": "null" }
1315
1277
  ]
1316
1278
  },
1317
- "docs": {
1279
+ "files": {
1318
1280
  "anyOf": [
1319
1281
  {
1320
1282
  "type": "object",
@@ -1324,7 +1286,7 @@
1324
1286
  "type": "object",
1325
1287
  "properties": {
1326
1288
  "type": { "type": "string", "enum": ["github"] },
1327
- "owner": { "$ref": "#/definitions/SourceSegment" },
1289
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1328
1290
  "repo": { "$ref": "#/definitions/SourceSegment" },
1329
1291
  "ref": {
1330
1292
  "anyOf": [
@@ -1333,10 +1295,7 @@
1333
1295
  ]
1334
1296
  },
1335
1297
  "path": {
1336
- "anyOf": [
1337
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1338
- { "type": "null" }
1339
- ]
1298
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1340
1299
  },
1341
1300
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1342
1301
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1344,7 +1303,7 @@
1344
1303
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1345
1304
  "resolvedInputs": {
1346
1305
  "anyOf": [
1347
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1306
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1348
1307
  { "type": "null" }
1349
1308
  ]
1350
1309
  },
@@ -1365,7 +1324,7 @@
1365
1324
  "type": "object",
1366
1325
  "properties": {
1367
1326
  "type": { "type": "string", "enum": ["gitlab"] },
1368
- "owner": { "$ref": "#/definitions/SourceSegment" },
1327
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1369
1328
  "repo": { "$ref": "#/definitions/SourceSegment" },
1370
1329
  "ref": {
1371
1330
  "anyOf": [
@@ -1374,10 +1333,7 @@
1374
1333
  ]
1375
1334
  },
1376
1335
  "path": {
1377
- "anyOf": [
1378
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1379
- { "type": "null" }
1380
- ]
1336
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1381
1337
  },
1382
1338
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1383
1339
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1385,7 +1341,7 @@
1385
1341
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1386
1342
  "resolvedInputs": {
1387
1343
  "anyOf": [
1388
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1344
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1389
1345
  { "type": "null" }
1390
1346
  ]
1391
1347
  },
@@ -1406,7 +1362,7 @@
1406
1362
  "type": "object",
1407
1363
  "properties": {
1408
1364
  "type": { "type": "string", "enum": ["bitbucket"] },
1409
- "owner": { "$ref": "#/definitions/SourceSegment" },
1365
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1410
1366
  "repo": { "$ref": "#/definitions/SourceSegment" },
1411
1367
  "ref": {
1412
1368
  "anyOf": [
@@ -1415,10 +1371,7 @@
1415
1371
  ]
1416
1372
  },
1417
1373
  "path": {
1418
- "anyOf": [
1419
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1420
- { "type": "null" }
1421
- ]
1374
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1422
1375
  },
1423
1376
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1424
1377
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1426,7 +1379,7 @@
1426
1379
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1427
1380
  "resolvedInputs": {
1428
1381
  "anyOf": [
1429
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1382
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1430
1383
  { "type": "null" }
1431
1384
  ]
1432
1385
  },
@@ -1457,10 +1410,7 @@
1457
1410
  ]
1458
1411
  },
1459
1412
  "path": {
1460
- "anyOf": [
1461
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1462
- { "type": "null" }
1463
- ]
1413
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1464
1414
  },
1465
1415
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1466
1416
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1468,7 +1418,7 @@
1468
1418
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1469
1419
  "resolvedInputs": {
1470
1420
  "anyOf": [
1471
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1421
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1472
1422
  { "type": "null" }
1473
1423
  ]
1474
1424
  },
@@ -1504,10 +1454,7 @@
1504
1454
  ]
1505
1455
  },
1506
1456
  "path": {
1507
- "anyOf": [
1508
- { "type": "string", "allOf": [{ "minLength": 1 }] },
1509
- { "type": "null" }
1510
- ]
1457
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1511
1458
  },
1512
1459
  "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1513
1460
  "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
@@ -1515,7 +1462,7 @@
1515
1462
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1516
1463
  "resolvedInputs": {
1517
1464
  "anyOf": [
1518
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1465
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1519
1466
  { "type": "null" }
1520
1467
  ]
1521
1468
  },
@@ -1543,7 +1490,7 @@
1543
1490
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1544
1491
  "resolvedInputs": {
1545
1492
  "anyOf": [
1546
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1493
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1547
1494
  { "type": "null" }
1548
1495
  ]
1549
1496
  },
@@ -1575,10 +1522,482 @@
1575
1522
  "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1576
1523
  "resolvedInputs": {
1577
1524
  "anyOf": [
1578
- { "$ref": "#/definitions/DocsResolvedInputsMap" },
1525
+ { "$ref": "#/definitions/FilesResolvedInputsMap" },
1526
+ { "type": "null" }
1527
+ ]
1528
+ },
1529
+ "materializedTargets": {
1530
+ "anyOf": [
1531
+ {
1532
+ "type": "array",
1533
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1534
+ },
1535
+ { "type": "null" }
1536
+ ]
1537
+ }
1538
+ },
1539
+ "required": [
1540
+ "type",
1541
+ "owner",
1542
+ "name",
1543
+ "resolvedVersion",
1544
+ "integrity",
1545
+ "sourceName",
1546
+ "installedAt",
1547
+ "updatedAt"
1548
+ ],
1549
+ "additionalProperties": false
1550
+ }
1551
+ ]
1552
+ }
1553
+ },
1554
+ { "type": "null" }
1555
+ ]
1556
+ },
1557
+ "rules": {
1558
+ "anyOf": [
1559
+ {
1560
+ "type": "object",
1561
+ "additionalProperties": {
1562
+ "anyOf": [
1563
+ {
1564
+ "type": "object",
1565
+ "properties": {
1566
+ "type": { "type": "string", "enum": ["github"] },
1567
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1568
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1569
+ "ref": {
1570
+ "anyOf": [
1571
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1572
+ { "type": "null" }
1573
+ ]
1574
+ },
1575
+ "path": {
1576
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1577
+ },
1578
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1579
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1580
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1581
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1582
+ "materializedTargets": {
1583
+ "anyOf": [
1584
+ {
1585
+ "type": "array",
1586
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1587
+ },
1588
+ { "type": "null" }
1589
+ ]
1590
+ }
1591
+ },
1592
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1593
+ "additionalProperties": false
1594
+ },
1595
+ {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "type": { "type": "string", "enum": ["gitlab"] },
1599
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1600
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1601
+ "ref": {
1602
+ "anyOf": [
1603
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1604
+ { "type": "null" }
1605
+ ]
1606
+ },
1607
+ "path": {
1608
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1609
+ },
1610
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1611
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1612
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1613
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1614
+ "materializedTargets": {
1615
+ "anyOf": [
1616
+ {
1617
+ "type": "array",
1618
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1619
+ },
1620
+ { "type": "null" }
1621
+ ]
1622
+ }
1623
+ },
1624
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1625
+ "additionalProperties": false
1626
+ },
1627
+ {
1628
+ "type": "object",
1629
+ "properties": {
1630
+ "type": { "type": "string", "enum": ["bitbucket"] },
1631
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1632
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1633
+ "ref": {
1634
+ "anyOf": [
1635
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1636
+ { "type": "null" }
1637
+ ]
1638
+ },
1639
+ "path": {
1640
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1641
+ },
1642
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1643
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1644
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1645
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1646
+ "materializedTargets": {
1647
+ "anyOf": [
1648
+ {
1649
+ "type": "array",
1650
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1651
+ },
1652
+ { "type": "null" }
1653
+ ]
1654
+ }
1655
+ },
1656
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1657
+ "additionalProperties": false
1658
+ },
1659
+ {
1660
+ "type": "object",
1661
+ "properties": {
1662
+ "type": { "type": "string", "enum": ["azurerepos"] },
1663
+ "organization": { "$ref": "#/definitions/SourceSegment" },
1664
+ "project": { "$ref": "#/definitions/SourceSegment" },
1665
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1666
+ "ref": {
1667
+ "anyOf": [
1668
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1579
1669
  { "type": "null" }
1580
1670
  ]
1581
1671
  },
1672
+ "path": {
1673
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1674
+ },
1675
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1676
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1677
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1678
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1679
+ "materializedTargets": {
1680
+ "anyOf": [
1681
+ {
1682
+ "type": "array",
1683
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1684
+ },
1685
+ { "type": "null" }
1686
+ ]
1687
+ }
1688
+ },
1689
+ "required": [
1690
+ "type",
1691
+ "organization",
1692
+ "project",
1693
+ "repo",
1694
+ "installedAt",
1695
+ "updatedAt"
1696
+ ],
1697
+ "additionalProperties": false
1698
+ },
1699
+ {
1700
+ "type": "object",
1701
+ "properties": {
1702
+ "type": { "type": "string", "enum": ["git"] },
1703
+ "url": { "type": "string" },
1704
+ "ref": {
1705
+ "anyOf": [
1706
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1707
+ { "type": "null" }
1708
+ ]
1709
+ },
1710
+ "path": {
1711
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1712
+ },
1713
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1714
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1715
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1716
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1717
+ "materializedTargets": {
1718
+ "anyOf": [
1719
+ {
1720
+ "type": "array",
1721
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1722
+ },
1723
+ { "type": "null" }
1724
+ ]
1725
+ }
1726
+ },
1727
+ "required": ["type", "url", "installedAt", "updatedAt"],
1728
+ "additionalProperties": false
1729
+ },
1730
+ {
1731
+ "type": "object",
1732
+ "properties": {
1733
+ "type": { "type": "string", "enum": ["local"] },
1734
+ "path": { "type": "string" },
1735
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1736
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1737
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1738
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1739
+ "materializedTargets": {
1740
+ "anyOf": [
1741
+ {
1742
+ "type": "array",
1743
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1744
+ },
1745
+ { "type": "null" }
1746
+ ]
1747
+ }
1748
+ },
1749
+ "required": ["type", "path", "installedAt", "updatedAt"],
1750
+ "additionalProperties": false
1751
+ },
1752
+ {
1753
+ "type": "object",
1754
+ "properties": {
1755
+ "type": { "type": "string", "enum": ["registry"] },
1756
+ "owner": { "$ref": "#/definitions/Handle" },
1757
+ "name": { "$ref": "#/definitions/ExtensionName" },
1758
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
1759
+ "integrity": { "type": "string" },
1760
+ "sourceName": { "type": "string" },
1761
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1762
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1763
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1764
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1765
+ "materializedTargets": {
1766
+ "anyOf": [
1767
+ {
1768
+ "type": "array",
1769
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1770
+ },
1771
+ { "type": "null" }
1772
+ ]
1773
+ }
1774
+ },
1775
+ "required": [
1776
+ "type",
1777
+ "owner",
1778
+ "name",
1779
+ "resolvedVersion",
1780
+ "integrity",
1781
+ "sourceName",
1782
+ "installedAt",
1783
+ "updatedAt"
1784
+ ],
1785
+ "additionalProperties": false
1786
+ }
1787
+ ]
1788
+ }
1789
+ },
1790
+ { "type": "null" }
1791
+ ]
1792
+ },
1793
+ "hooks": {
1794
+ "anyOf": [
1795
+ {
1796
+ "type": "object",
1797
+ "additionalProperties": {
1798
+ "anyOf": [
1799
+ {
1800
+ "type": "object",
1801
+ "properties": {
1802
+ "type": { "type": "string", "enum": ["github"] },
1803
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1804
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1805
+ "ref": {
1806
+ "anyOf": [
1807
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1808
+ { "type": "null" }
1809
+ ]
1810
+ },
1811
+ "path": {
1812
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1813
+ },
1814
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1815
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1816
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1817
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1818
+ "materializedTargets": {
1819
+ "anyOf": [
1820
+ {
1821
+ "type": "array",
1822
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1823
+ },
1824
+ { "type": "null" }
1825
+ ]
1826
+ }
1827
+ },
1828
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1829
+ "additionalProperties": false
1830
+ },
1831
+ {
1832
+ "type": "object",
1833
+ "properties": {
1834
+ "type": { "type": "string", "enum": ["gitlab"] },
1835
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1836
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1837
+ "ref": {
1838
+ "anyOf": [
1839
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1840
+ { "type": "null" }
1841
+ ]
1842
+ },
1843
+ "path": {
1844
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1845
+ },
1846
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1847
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1848
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1849
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1850
+ "materializedTargets": {
1851
+ "anyOf": [
1852
+ {
1853
+ "type": "array",
1854
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1855
+ },
1856
+ { "type": "null" }
1857
+ ]
1858
+ }
1859
+ },
1860
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1861
+ "additionalProperties": false
1862
+ },
1863
+ {
1864
+ "type": "object",
1865
+ "properties": {
1866
+ "type": { "type": "string", "enum": ["bitbucket"] },
1867
+ "owner": { "$ref": "#/definitions/SourceNamespace" },
1868
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1869
+ "ref": {
1870
+ "anyOf": [
1871
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1872
+ { "type": "null" }
1873
+ ]
1874
+ },
1875
+ "path": {
1876
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1877
+ },
1878
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1879
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1880
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1881
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1882
+ "materializedTargets": {
1883
+ "anyOf": [
1884
+ {
1885
+ "type": "array",
1886
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1887
+ },
1888
+ { "type": "null" }
1889
+ ]
1890
+ }
1891
+ },
1892
+ "required": ["type", "owner", "repo", "installedAt", "updatedAt"],
1893
+ "additionalProperties": false
1894
+ },
1895
+ {
1896
+ "type": "object",
1897
+ "properties": {
1898
+ "type": { "type": "string", "enum": ["azurerepos"] },
1899
+ "organization": { "$ref": "#/definitions/SourceSegment" },
1900
+ "project": { "$ref": "#/definitions/SourceSegment" },
1901
+ "repo": { "$ref": "#/definitions/SourceSegment" },
1902
+ "ref": {
1903
+ "anyOf": [
1904
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1905
+ { "type": "null" }
1906
+ ]
1907
+ },
1908
+ "path": {
1909
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1910
+ },
1911
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1912
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1913
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1914
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1915
+ "materializedTargets": {
1916
+ "anyOf": [
1917
+ {
1918
+ "type": "array",
1919
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1920
+ },
1921
+ { "type": "null" }
1922
+ ]
1923
+ }
1924
+ },
1925
+ "required": [
1926
+ "type",
1927
+ "organization",
1928
+ "project",
1929
+ "repo",
1930
+ "installedAt",
1931
+ "updatedAt"
1932
+ ],
1933
+ "additionalProperties": false
1934
+ },
1935
+ {
1936
+ "type": "object",
1937
+ "properties": {
1938
+ "type": { "type": "string", "enum": ["git"] },
1939
+ "url": { "type": "string" },
1940
+ "ref": {
1941
+ "anyOf": [
1942
+ { "type": "string", "allOf": [{ "minLength": 1 }] },
1943
+ { "type": "null" }
1944
+ ]
1945
+ },
1946
+ "path": {
1947
+ "anyOf": [{ "$ref": "#/definitions/SourceSubPath" }, { "type": "null" }]
1948
+ },
1949
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1950
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1951
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1952
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1953
+ "materializedTargets": {
1954
+ "anyOf": [
1955
+ {
1956
+ "type": "array",
1957
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1958
+ },
1959
+ { "type": "null" }
1960
+ ]
1961
+ }
1962
+ },
1963
+ "required": ["type", "url", "installedAt", "updatedAt"],
1964
+ "additionalProperties": false
1965
+ },
1966
+ {
1967
+ "type": "object",
1968
+ "properties": {
1969
+ "type": { "type": "string", "enum": ["local"] },
1970
+ "path": { "type": "string" },
1971
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1972
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1973
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
1974
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1975
+ "materializedTargets": {
1976
+ "anyOf": [
1977
+ {
1978
+ "type": "array",
1979
+ "items": { "$ref": "#/definitions/MaterializedFileTarget" }
1980
+ },
1981
+ { "type": "null" }
1982
+ ]
1983
+ }
1984
+ },
1985
+ "required": ["type", "path", "installedAt", "updatedAt"],
1986
+ "additionalProperties": false
1987
+ },
1988
+ {
1989
+ "type": "object",
1990
+ "properties": {
1991
+ "type": { "type": "string", "enum": ["registry"] },
1992
+ "owner": { "$ref": "#/definitions/Handle" },
1993
+ "name": { "$ref": "#/definitions/ExtensionName" },
1994
+ "resolvedVersion": { "$ref": "#/definitions/Version" },
1995
+ "integrity": { "type": "string" },
1996
+ "sourceName": { "type": "string" },
1997
+ "installedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1998
+ "updatedAt": { "$ref": "#/definitions/IsoDateTimeString" },
1999
+ "gitTreeHash": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
2000
+ "retainedByPack": { "anyOf": [{ "type": "boolean" }, { "type": "null" }] },
1582
2001
  "materializedTargets": {
1583
2002
  "anyOf": [
1584
2003
  {