@agentxm/client-core 0.2.0 → 0.3.1

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 (355) hide show
  1. package/dist/src/unstable/commands/operations/disable.d.ts +2 -2
  2. package/dist/src/unstable/commands/operations/disable.d.ts.map +1 -1
  3. package/dist/src/unstable/commands/operations/enable.d.ts +2 -2
  4. package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -1
  5. package/dist/src/unstable/commands/operations/install.d.ts +1 -1
  6. package/dist/src/unstable/commands/operations/install.d.ts.map +1 -1
  7. package/dist/src/unstable/commands/operations/new-command.d.ts +2 -2
  8. package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -1
  9. package/dist/src/unstable/commands/operations/publish.d.ts +1 -1
  10. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -1
  11. package/dist/src/unstable/commands/operations/uninstall.d.ts +1 -1
  12. package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -1
  13. package/dist/src/unstable/extensions/operations.d.ts +1 -1
  14. package/dist/src/unstable/extensions/operations.d.ts.map +1 -1
  15. package/dist/src/unstable/lint/catalog/index.d.ts +39 -0
  16. package/dist/src/unstable/lint/catalog/index.d.ts.map +1 -0
  17. package/dist/src/unstable/lint/catalog/index.js +49 -0
  18. package/dist/src/unstable/lint/catalog/index.js.map +1 -0
  19. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts +31 -0
  20. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.d.ts.map +1 -0
  21. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js +41 -0
  22. package/dist/src/unstable/lint/catalog/pack/manifest-keys-recognized.js.map +1 -0
  23. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts +18 -0
  24. package/dist/src/unstable/lint/catalog/pack/manifest-present.d.ts.map +1 -0
  25. package/dist/src/unstable/lint/catalog/pack/manifest-present.js +41 -0
  26. package/dist/src/unstable/lint/catalog/pack/manifest-present.js.map +1 -0
  27. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts +26 -0
  28. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.d.ts.map +1 -0
  29. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js +34 -0
  30. package/dist/src/unstable/lint/catalog/pack/manifest-schema-valid.js.map +1 -0
  31. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts +61 -0
  32. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.d.ts.map +1 -0
  33. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js +46 -0
  34. package/dist/src/unstable/lint/catalog/pack-accessor/contexts.js.map +1 -0
  35. package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts +53 -0
  36. package/dist/src/unstable/lint/catalog/pack-accessor/platform.d.ts.map +1 -0
  37. package/dist/src/unstable/lint/catalog/pack-accessor/platform.js +90 -0
  38. package/dist/src/unstable/lint/catalog/pack-accessor/platform.js.map +1 -0
  39. package/dist/src/unstable/lint/catalog/pack-accessor/vft.d.ts +60 -0
  40. package/dist/src/unstable/lint/catalog/pack-accessor/vft.d.ts.map +1 -0
  41. package/dist/src/unstable/lint/catalog/pack-accessor/vft.js +85 -0
  42. package/dist/src/unstable/lint/catalog/pack-accessor/vft.js.map +1 -0
  43. package/dist/src/unstable/lint/catalog/pack.d.ts +37 -0
  44. package/dist/src/unstable/lint/catalog/pack.d.ts.map +1 -0
  45. package/dist/src/unstable/lint/catalog/pack.js +47 -0
  46. package/dist/src/unstable/lint/catalog/pack.js.map +1 -0
  47. package/dist/src/unstable/lint/catalog/shared/schema-rule.d.ts +59 -0
  48. package/dist/src/unstable/lint/catalog/shared/schema-rule.d.ts.map +1 -0
  49. package/dist/src/unstable/lint/catalog/shared/schema-rule.js +99 -0
  50. package/dist/src/unstable/lint/catalog/shared/schema-rule.js.map +1 -0
  51. package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.d.ts +31 -0
  52. package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.d.ts.map +1 -0
  53. package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.js +151 -0
  54. package/dist/src/unstable/lint/catalog/skill/frontmatter-parseable.js.map +1 -0
  55. package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.d.ts +26 -0
  56. package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.d.ts.map +1 -0
  57. package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.js +41 -0
  58. package/dist/src/unstable/lint/catalog/skill/manifest-keys-recognized.js.map +1 -0
  59. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts +18 -0
  60. package/dist/src/unstable/lint/catalog/skill/manifest-present.d.ts.map +1 -0
  61. package/dist/src/unstable/lint/catalog/skill/manifest-present.js +46 -0
  62. package/dist/src/unstable/lint/catalog/skill/manifest-present.js.map +1 -0
  63. package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.d.ts +22 -0
  64. package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.d.ts.map +1 -0
  65. package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.js +37 -0
  66. package/dist/src/unstable/lint/catalog/skill/manifest-schema-valid.js.map +1 -0
  67. package/dist/src/unstable/lint/catalog/skill/skill-md-present.d.ts +17 -0
  68. package/dist/src/unstable/lint/catalog/skill/skill-md-present.d.ts.map +1 -0
  69. package/dist/src/unstable/lint/catalog/skill/skill-md-present.js +38 -0
  70. package/dist/src/unstable/lint/catalog/skill/skill-md-present.js.map +1 -0
  71. package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts +65 -0
  72. package/dist/src/unstable/lint/catalog/skill-accessor/contexts.d.ts.map +1 -0
  73. package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js +50 -0
  74. package/dist/src/unstable/lint/catalog/skill-accessor/contexts.js.map +1 -0
  75. package/dist/src/unstable/lint/catalog/skill-accessor/platform.d.ts +52 -0
  76. package/dist/src/unstable/lint/catalog/skill-accessor/platform.d.ts.map +1 -0
  77. package/dist/src/unstable/lint/catalog/skill-accessor/platform.js +89 -0
  78. package/dist/src/unstable/lint/catalog/skill-accessor/platform.js.map +1 -0
  79. package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts +58 -0
  80. package/dist/src/unstable/lint/catalog/skill-accessor/vft.d.ts.map +1 -0
  81. package/dist/src/unstable/lint/catalog/skill-accessor/vft.js +83 -0
  82. package/dist/src/unstable/lint/catalog/skill-accessor/vft.js.map +1 -0
  83. package/dist/src/unstable/lint/catalog/skill.d.ts +38 -0
  84. package/dist/src/unstable/lint/catalog/skill.d.ts.map +1 -0
  85. package/dist/src/unstable/lint/catalog/skill.js +52 -0
  86. package/dist/src/unstable/lint/catalog/skill.js.map +1 -0
  87. package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.d.ts +23 -0
  88. package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.d.ts.map +1 -0
  89. package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js +75 -0
  90. package/dist/src/unstable/lint/catalog/workspace/agents-detected-declared.js.map +1 -0
  91. package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts +23 -0
  92. package/dist/src/unstable/lint/catalog/workspace/agents-recognized.d.ts.map +1 -0
  93. package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js +76 -0
  94. package/dist/src/unstable/lint/catalog/workspace/agents-recognized.js.map +1 -0
  95. package/dist/src/unstable/lint/catalog/workspace/helpers/empty.d.ts +18 -0
  96. package/dist/src/unstable/lint/catalog/workspace/helpers/empty.d.ts.map +1 -0
  97. package/dist/src/unstable/lint/catalog/workspace/helpers/empty.js +16 -0
  98. package/dist/src/unstable/lint/catalog/workspace/helpers/empty.js.map +1 -0
  99. package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.d.ts +133 -0
  100. package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.d.ts.map +1 -0
  101. package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.js +149 -0
  102. package/dist/src/unstable/lint/catalog/workspace/helpers/install-ops.js.map +1 -0
  103. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts +25 -0
  104. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.d.ts.map +1 -0
  105. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js +30 -0
  106. package/dist/src/unstable/lint/catalog/workspace/helpers/registry-source.js.map +1 -0
  107. package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts +22 -0
  108. package/dist/src/unstable/lint/catalog/workspace/initialized.d.ts.map +1 -0
  109. package/dist/src/unstable/lint/catalog/workspace/initialized.js +55 -0
  110. package/dist/src/unstable/lint/catalog/workspace/initialized.js.map +1 -0
  111. package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.d.ts +33 -0
  112. package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.d.ts.map +1 -0
  113. package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js +125 -0
  114. package/dist/src/unstable/lint/catalog/workspace/lockfile-valid.js.map +1 -0
  115. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts +19 -0
  116. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.d.ts.map +1 -0
  117. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js +145 -0
  118. package/dist/src/unstable/lint/catalog/workspace/packs-declarations-valid.js.map +1 -0
  119. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts +17 -0
  120. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.d.ts.map +1 -0
  121. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js +107 -0
  122. package/dist/src/unstable/lint/catalog/workspace/packs-dependencies-resolved.js.map +1 -0
  123. package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.d.ts +22 -0
  124. package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.d.ts.map +1 -0
  125. package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js +163 -0
  126. package/dist/src/unstable/lint/catalog/workspace/packs-members-retained.js.map +1 -0
  127. package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.d.ts +28 -0
  128. package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.d.ts.map +1 -0
  129. package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js +67 -0
  130. package/dist/src/unstable/lint/catalog/workspace/settings-schema-valid.js.map +1 -0
  131. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.d.ts +30 -0
  132. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.d.ts.map +1 -0
  133. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.js +232 -0
  134. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-clean.js.map +1 -0
  135. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.d.ts +26 -0
  136. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.d.ts.map +1 -0
  137. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js +129 -0
  138. package/dist/src/unstable/lint/catalog/workspace/skills-artifacts-correct.js.map +1 -0
  139. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts +26 -0
  140. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.d.ts.map +1 -0
  141. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js +151 -0
  142. package/dist/src/unstable/lint/catalog/workspace/skills-declarations-valid.js.map +1 -0
  143. package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts +29 -0
  144. package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.d.ts.map +1 -0
  145. package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js +149 -0
  146. package/dist/src/unstable/lint/catalog/workspace/skills-integrity-valid.js.map +1 -0
  147. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.d.ts +29 -0
  148. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.d.ts.map +1 -0
  149. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js +242 -0
  150. package/dist/src/unstable/lint/catalog/workspace/skills-lockfile-aligned.js.map +1 -0
  151. package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.d.ts +141 -0
  152. package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.d.ts.map +1 -0
  153. package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js +123 -0
  154. package/dist/src/unstable/lint/catalog/workspace-accessor/contexts.js.map +1 -0
  155. package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.d.ts +38 -0
  156. package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.d.ts.map +1 -0
  157. package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.js +311 -0
  158. package/dist/src/unstable/lint/catalog/workspace-accessor/interpret-ops.js.map +1 -0
  159. package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts +60 -0
  160. package/dist/src/unstable/lint/catalog/workspace-accessor/platform.d.ts.map +1 -0
  161. package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js +201 -0
  162. package/dist/src/unstable/lint/catalog/workspace-accessor/platform.js.map +1 -0
  163. package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts +65 -0
  164. package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.d.ts.map +1 -0
  165. package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js +95 -0
  166. package/dist/src/unstable/lint/catalog/workspace-accessor/test-state.js.map +1 -0
  167. package/dist/src/unstable/lint/catalog/workspace.d.ts +47 -0
  168. package/dist/src/unstable/lint/catalog/workspace.d.ts.map +1 -0
  169. package/dist/src/unstable/lint/catalog/workspace.js +80 -0
  170. package/dist/src/unstable/lint/catalog/workspace.js.map +1 -0
  171. package/dist/src/unstable/lint/cli.d.ts +297 -0
  172. package/dist/src/unstable/lint/cli.d.ts.map +1 -0
  173. package/dist/src/unstable/lint/cli.js +388 -0
  174. package/dist/src/unstable/lint/cli.js.map +1 -0
  175. package/dist/src/unstable/lint/compose-path.d.ts +27 -0
  176. package/dist/src/unstable/lint/compose-path.d.ts.map +1 -0
  177. package/dist/src/unstable/lint/compose-path.js +61 -0
  178. package/dist/src/unstable/lint/compose-path.js.map +1 -0
  179. package/dist/src/unstable/lint/config.d.ts +103 -0
  180. package/dist/src/unstable/lint/config.d.ts.map +1 -0
  181. package/dist/src/unstable/lint/config.js +137 -0
  182. package/dist/src/unstable/lint/config.js.map +1 -0
  183. package/dist/src/unstable/lint/context.d.ts +265 -0
  184. package/dist/src/unstable/lint/context.d.ts.map +1 -0
  185. package/dist/src/unstable/lint/context.js +21 -0
  186. package/dist/src/unstable/lint/context.js.map +1 -0
  187. package/dist/src/unstable/lint/evaluate.d.ts +68 -0
  188. package/dist/src/unstable/lint/evaluate.d.ts.map +1 -0
  189. package/dist/src/unstable/lint/evaluate.js +147 -0
  190. package/dist/src/unstable/lint/evaluate.js.map +1 -0
  191. package/dist/src/unstable/lint/index.d.ts +28 -0
  192. package/dist/src/unstable/lint/index.d.ts.map +1 -0
  193. package/dist/src/unstable/lint/index.js +35 -0
  194. package/dist/src/unstable/lint/index.js.map +1 -0
  195. package/dist/src/unstable/lint/issues-to-findings.d.ts +35 -0
  196. package/dist/src/unstable/lint/issues-to-findings.d.ts.map +1 -0
  197. package/dist/src/unstable/lint/issues-to-findings.js +97 -0
  198. package/dist/src/unstable/lint/issues-to-findings.js.map +1 -0
  199. package/dist/src/unstable/lint/rule.d.ts +139 -0
  200. package/dist/src/unstable/lint/rule.d.ts.map +1 -0
  201. package/dist/src/unstable/lint/rule.js +25 -0
  202. package/dist/src/unstable/lint/rule.js.map +1 -0
  203. package/dist/src/unstable/mcp-servers/operations/install.d.ts +1 -1
  204. package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -1
  205. package/dist/src/unstable/mcp-servers/operations/publish.d.ts +1 -1
  206. package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -1
  207. package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts +1 -1
  208. package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -1
  209. package/dist/src/unstable/packs/operations/add-to-pack.d.ts +2 -2
  210. package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -1
  211. package/dist/src/unstable/packs/operations/install.d.ts +2 -2
  212. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -1
  213. package/dist/src/unstable/packs/operations/new-pack.d.ts +2 -2
  214. package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -1
  215. package/dist/src/unstable/packs/operations/publish.d.ts +2 -2
  216. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -1
  217. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +2 -2
  218. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -1
  219. package/dist/src/unstable/packs/operations/uninstall.d.ts +2 -2
  220. package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -1
  221. package/dist/src/unstable/packs/operations/unpack.d.ts +2 -2
  222. package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -1
  223. package/dist/src/unstable/{workspace → plan}/apply-plan.d.ts +9 -0
  224. package/dist/src/unstable/plan/apply-plan.d.ts.map +1 -0
  225. package/dist/src/unstable/{workspace → plan}/apply-plan.js +10 -1
  226. package/dist/src/unstable/plan/apply-plan.js.map +1 -0
  227. package/dist/src/unstable/plan/index.d.ts +24 -0
  228. package/dist/src/unstable/plan/index.d.ts.map +1 -0
  229. package/dist/src/unstable/plan/index.js +28 -0
  230. package/dist/src/unstable/plan/index.js.map +1 -0
  231. package/dist/src/unstable/{workspace → plan}/plan.d.ts +6 -0
  232. package/dist/src/unstable/plan/plan.d.ts.map +1 -0
  233. package/dist/src/unstable/{workspace → plan}/plan.js +6 -0
  234. package/dist/src/unstable/plan/plan.js.map +1 -0
  235. package/dist/src/unstable/{workspace → plan}/resolve-plan.d.ts +30 -2
  236. package/dist/src/unstable/plan/resolve-plan.d.ts.map +1 -0
  237. package/dist/src/unstable/{workspace → plan}/resolve-plan.js +37 -6
  238. package/dist/src/unstable/plan/resolve-plan.js.map +1 -0
  239. package/dist/src/unstable/publish/manifest-policy.d.ts +8 -8
  240. package/dist/src/unstable/settings/index.d.ts +2 -0
  241. package/dist/src/unstable/settings/index.d.ts.map +1 -1
  242. package/dist/src/unstable/settings/index.js +1 -0
  243. package/dist/src/unstable/settings/index.js.map +1 -1
  244. package/dist/src/unstable/settings/schema.d.ts +3 -0
  245. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  246. package/dist/src/unstable/settings/schema.js +3 -0
  247. package/dist/src/unstable/settings/schema.js.map +1 -1
  248. package/dist/src/unstable/settings/settings.d.ts +10 -0
  249. package/dist/src/unstable/settings/settings.d.ts.map +1 -1
  250. package/dist/src/unstable/skills/operations/copy.d.ts +2 -2
  251. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -1
  252. package/dist/src/unstable/skills/operations/disable.d.ts +2 -2
  253. package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -1
  254. package/dist/src/unstable/skills/operations/enable.d.ts +2 -2
  255. package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -1
  256. package/dist/src/unstable/skills/operations/install.d.ts +2 -2
  257. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -1
  258. package/dist/src/unstable/skills/operations/new-skill.d.ts +2 -2
  259. package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -1
  260. package/dist/src/unstable/skills/operations/publish.d.ts +2 -2
  261. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -1
  262. package/dist/src/unstable/skills/operations/rename.d.ts +2 -2
  263. package/dist/src/unstable/skills/operations/rename.d.ts.map +1 -1
  264. package/dist/src/unstable/skills/operations/uninstall.d.ts +2 -2
  265. package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -1
  266. package/dist/src/unstable/subagents/operations/disable.d.ts +2 -2
  267. package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -1
  268. package/dist/src/unstable/subagents/operations/enable.d.ts +2 -2
  269. package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -1
  270. package/dist/src/unstable/subagents/operations/publish.d.ts +2 -2
  271. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -1
  272. package/dist/src/unstable/workflows/install-command/workflow.d.ts +1 -1
  273. package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -1
  274. package/dist/src/unstable/workflows/install-command/workflow.js +1 -1
  275. package/dist/src/unstable/workflows/install-command/workflow.js.map +1 -1
  276. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +1 -1
  277. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -1
  278. package/dist/src/unstable/workflows/uninstall-command/workflow.js +1 -1
  279. package/dist/src/unstable/workflows/uninstall-command/workflow.js.map +1 -1
  280. package/dist/src/unstable/workspace/augment-plan.d.ts +1 -1
  281. package/dist/src/unstable/workspace/augment-plan.d.ts.map +1 -1
  282. package/dist/src/unstable/workspace/display-plan.d.ts +1 -1
  283. package/dist/src/unstable/workspace/display-plan.d.ts.map +1 -1
  284. package/dist/src/unstable/workspace/display-plan.js.map +1 -1
  285. package/dist/src/unstable/workspace/index.d.ts +0 -5
  286. package/dist/src/unstable/workspace/index.d.ts.map +1 -1
  287. package/dist/src/unstable/workspace/index.js +3 -7
  288. package/dist/src/unstable/workspace/index.js.map +1 -1
  289. package/dist/src/unstable/workspace/initialization.d.ts +15 -0
  290. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
  291. package/dist/src/unstable/workspace/paths.d.ts +0 -18
  292. package/dist/src/unstable/workspace/paths.d.ts.map +1 -1
  293. package/dist/src/unstable/workspace/paths.js +12 -2
  294. package/dist/src/unstable/workspace/paths.js.map +1 -1
  295. package/dist/src/unstable/workspace/reconciliation.d.ts +1 -1
  296. package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -1
  297. package/dist/src/unstable/workspace/scan-plan-readiness.d.ts +1 -1
  298. package/dist/src/unstable/workspace/scan-plan-readiness.d.ts.map +1 -1
  299. package/dist/src/unstable/workspace/settings-validation/types.d.ts +11 -1
  300. package/dist/src/unstable/workspace/settings-validation/types.d.ts.map +1 -1
  301. package/package.json +10 -2
  302. package/dist/src/unstable/workspace/apply-plan.d.ts.map +0 -1
  303. package/dist/src/unstable/workspace/apply-plan.js.map +0 -1
  304. package/dist/src/unstable/workspace/doctor/check-def.d.ts +0 -29
  305. package/dist/src/unstable/workspace/doctor/check-def.d.ts.map +0 -1
  306. package/dist/src/unstable/workspace/doctor/check-def.js +0 -17
  307. package/dist/src/unstable/workspace/doctor/check-def.js.map +0 -1
  308. package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts +0 -5
  309. package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts.map +0 -1
  310. package/dist/src/unstable/workspace/doctor/checks/agents-configured.js +0 -170
  311. package/dist/src/unstable/workspace/doctor/checks/agents-configured.js.map +0 -1
  312. package/dist/src/unstable/workspace/doctor/checks/extensions-active.d.ts +0 -4
  313. package/dist/src/unstable/workspace/doctor/checks/extensions-active.d.ts.map +0 -1
  314. package/dist/src/unstable/workspace/doctor/checks/extensions-active.js +0 -238
  315. package/dist/src/unstable/workspace/doctor/checks/extensions-active.js.map +0 -1
  316. package/dist/src/unstable/workspace/doctor/checks/extensions-current.d.ts +0 -18
  317. package/dist/src/unstable/workspace/doctor/checks/extensions-current.d.ts.map +0 -1
  318. package/dist/src/unstable/workspace/doctor/checks/extensions-current.js +0 -92
  319. package/dist/src/unstable/workspace/doctor/checks/extensions-current.js.map +0 -1
  320. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts +0 -5
  321. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts.map +0 -1
  322. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js +0 -472
  323. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js.map +0 -1
  324. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts +0 -5
  325. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts.map +0 -1
  326. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js +0 -201
  327. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js.map +0 -1
  328. package/dist/src/unstable/workspace/doctor/diagnose.d.ts +0 -49
  329. package/dist/src/unstable/workspace/doctor/diagnose.d.ts.map +0 -1
  330. package/dist/src/unstable/workspace/doctor/diagnose.js +0 -78
  331. package/dist/src/unstable/workspace/doctor/diagnose.js.map +0 -1
  332. package/dist/src/unstable/workspace/doctor/index.d.ts +0 -8
  333. package/dist/src/unstable/workspace/doctor/index.d.ts.map +0 -1
  334. package/dist/src/unstable/workspace/doctor/index.js +0 -6
  335. package/dist/src/unstable/workspace/doctor/index.js.map +0 -1
  336. package/dist/src/unstable/workspace/doctor/rollup.d.ts +0 -4
  337. package/dist/src/unstable/workspace/doctor/rollup.d.ts.map +0 -1
  338. package/dist/src/unstable/workspace/doctor/rollup.js +0 -28
  339. package/dist/src/unstable/workspace/doctor/rollup.js.map +0 -1
  340. package/dist/src/unstable/workspace/doctor/runner.d.ts +0 -6
  341. package/dist/src/unstable/workspace/doctor/runner.d.ts.map +0 -1
  342. package/dist/src/unstable/workspace/doctor/runner.js +0 -179
  343. package/dist/src/unstable/workspace/doctor/runner.js.map +0 -1
  344. package/dist/src/unstable/workspace/doctor/types.d.ts +0 -127
  345. package/dist/src/unstable/workspace/doctor/types.d.ts.map +0 -1
  346. package/dist/src/unstable/workspace/doctor/types.js +0 -60
  347. package/dist/src/unstable/workspace/doctor/types.js.map +0 -1
  348. package/dist/src/unstable/workspace/plan.d.ts.map +0 -1
  349. package/dist/src/unstable/workspace/plan.js.map +0 -1
  350. package/dist/src/unstable/workspace/resolve-plan.d.ts.map +0 -1
  351. package/dist/src/unstable/workspace/resolve-plan.js.map +0 -1
  352. package/dist/src/unstable/workspace/sync.d.ts +0 -17
  353. package/dist/src/unstable/workspace/sync.d.ts.map +0 -1
  354. package/dist/src/unstable/workspace/sync.js +0 -142
  355. package/dist/src/unstable/workspace/sync.js.map +0 -1
@@ -10,8 +10,8 @@
10
10
  */
11
11
  import * as FileSystem from "effect/FileSystem";
12
12
  import * as Path from "effect/Path";
13
- import type { OperationHandler } from "../../workspace/apply-plan.js";
14
- import type { Operation } from "../../workspace/plan.js";
13
+ import type { OperationHandler } from "../../plan/apply-plan.js";
14
+ import type { Operation } from "../../plan/plan.js";
15
15
  import { Workspace } from "../../workspace/service-interface.js";
16
16
  import { CodingAgentRepository } from "../../agents/index.js";
17
17
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/disable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAM9D;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,iBAAiB,EACjB;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CACjC,CAAC;AAMF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAC3C,uBAAuB,EACvB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAmGnE,CAAC"}
1
+ {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/disable.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAGpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAM9D;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAC7C,iBAAiB,EACjB;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CACjC,CAAC;AAMF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,gBAAgB,CAC3C,uBAAuB,EACvB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAmGnE,CAAC"}
@@ -9,8 +9,8 @@
9
9
  */
10
10
  import * as FileSystem from "effect/FileSystem";
11
11
  import * as Path from "effect/Path";
12
- import type { OperationHandler } from "../../workspace/apply-plan.js";
13
- import type { Operation } from "../../workspace/plan.js";
12
+ import type { OperationHandler } from "../../plan/apply-plan.js";
13
+ import type { Operation } from "../../plan/plan.js";
14
14
  import { Workspace } from "../../workspace/service-interface.js";
15
15
  import { CodingAgentRepository } from "../../agents/index.js";
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/enable.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAOjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAS9D;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,gBAAgB,EAAE;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAMnG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAC1C,sBAAsB,EACtB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAyGnE,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/enable.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAOjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAS9D;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC,gBAAgB,EAAE;IAAE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAMnG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAC1C,sBAAsB,EACtB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAyGnE,CAAC"}
@@ -14,7 +14,7 @@ import * as Option from "effect/Option";
14
14
  import * as Path from "effect/Path";
15
15
  import { CliRenderer } from "../../cli-renderer/index.js";
16
16
  import { type AppError } from "../../app-error/index.js";
17
- import type { JobStepResult, Operation } from "../../workspace/plan.js";
17
+ import type { JobStepResult, Operation } from "../../plan/plan.js";
18
18
  import { Workspace } from "../../workspace/service-interface.js";
19
19
  import type { CommandExtensionRef } from "../refs.js";
20
20
  import { CodingAgentRepository } from "../../agents/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/install.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAGvE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAQjE,OAAO,KAAK,EACV,mBAAmB,EAIpB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAU9D;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,CAAC,GAAG,EAAE,mBAAmB,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClD,qFAAqF;IACrF,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;CAC/C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,iBAAiB,EAAE,2BAA2B,CAAC,CAAC;AAgM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2B,CAAC,CAAC;AAgMhG;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,EAAE,CAC3B,EAAE,EAAE,uBAAuB,KACxB,MAAM,CAAC,MAAM,CAChB,aAAa,EACb,QAAQ,EACR,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,WAAW,GAAG,qBAAqB,CAyGjF,CAAC"}
@@ -6,8 +6,8 @@
6
6
  import * as FileSystem from "effect/FileSystem";
7
7
  import * as Path from "effect/Path";
8
8
  import type { Handle } from "../../extensions/handle.js";
9
- import type { OperationHandler } from "../../workspace/apply-plan.js";
10
- import type { Operation } from "../../workspace/plan.js";
9
+ import type { OperationHandler } from "../../plan/apply-plan.js";
10
+ import type { Operation } from "../../plan/plan.js";
11
11
  /**
12
12
  * Args for the new-command operation.
13
13
  */
@@ -1 +1 @@
1
- {"version":3,"file":"new-command.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/new-command.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAazD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAqBpF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CACvC,mBAAmB,EACnB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAkF/B,CAAC"}
1
+ {"version":3,"file":"new-command.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/new-command.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAIpC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAapD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC,aAAa,EAAE,uBAAuB,CAAC,CAAC;AAqBpF;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CACvC,mBAAmB,EACnB,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAkF/B,CAAC"}
@@ -11,7 +11,7 @@ import * as Effect from "effect/Effect";
11
11
  import * as FileSystem from "effect/FileSystem";
12
12
  import * as Path from "effect/Path";
13
13
  import { type AppError } from "../../app-error/index.js";
14
- import type { JobStepResult, Operation } from "../../workspace/plan.js";
14
+ import type { JobStepResult, Operation } from "../../plan/plan.js";
15
15
  import { Workspace } from "../../workspace/service-interface.js";
16
16
  /**
17
17
  * Args for the publish-command operation.
@@ -1 +1 @@
1
- {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAWpC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAMjE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,+DAA+D;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,iBAAiB,EAAE,2BAA2B,CAAC,CAAC;AAMhG;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,EAAE,CAC3B,EAAE,EAAE,uBAAuB,KACxB,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,QAAQ,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,CAuHrF,CAAC"}
1
+ {"version":3,"file":"publish.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAWpC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAMjE;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACxC,+DAA+D;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC,iBAAiB,EAAE,2BAA2B,CAAC,CAAC;AAMhG;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,EAAE,CAC3B,EAAE,EAAE,uBAAuB,KACxB,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,QAAQ,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,CAuHrF,CAAC"}
@@ -10,7 +10,7 @@ import * as Effect from "effect/Effect";
10
10
  import * as FileSystem from "effect/FileSystem";
11
11
  import * as Path from "effect/Path";
12
12
  import { type AppError } from "../../app-error/index.js";
13
- import type { JobStepResult, Operation } from "../../workspace/plan.js";
13
+ import type { JobStepResult, Operation } from "../../plan/plan.js";
14
14
  import { Workspace } from "../../workspace/service-interface.js";
15
15
  import { CodingAgentRepository } from "../../agents/index.js";
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"uninstall.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/commands/operations/uninstall.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,OAAO,EAAE,qB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CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,SAAS,GAAG,qBAAqB,CAqFnE,CAAC"}
@@ -7,7 +7,7 @@
7
7
  import * as Effect from "effect/Effect";
8
8
  import type * as Option from "effect/Option";
9
9
  import type { AppError } from "../app-error/index.js";
10
- import type { PlannedJobStep } from "../workspace/plan.js";
10
+ import type { PlannedJobStep } from "../plan/plan.js";
11
11
  import type { ExtensionRef } from "./refs.js";
12
12
  import type { PackageUrlParts } from "../packaging/package-url.js";
13
13
  import type { ExtensionManager, ExtensionTarget, ExtensionTargetFor } from "../workspace/service-interface.js";
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/unstable/extensions/operations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,mCAAmC,CAAC;AAM3C;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,YAAY,KAAG,eAajD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,QAAQ,eAAe,KAAG,MACuB,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,eAAe,KAAG,MAGf,CAAC;AAEtC;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,eAAe,KAAG,MAI9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBA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AAM,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;CAC5C;AAMD,MAAM,WAAW,oBAAoB,CAAC,IAAI,SAAS,YAAY;IAC7D,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC;IACnB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClD,2EAA2E;IAC3E,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;CACjC;AAwBD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GAAI,IAAI,SAAS,YAAY,EAC7D,SAAS,gBAAgB,CAAC,IAAI,CAAC,EAC/B,MAAM,oBAAoB,CAAC,IAAI,CAAC,KAC/B,cAUF,CAAC;AAMF,MAAM,WAAW,sBAAsB,CAAC,IAAI,SAAS,YAAY;IAC/D,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CAC3C;AAkDD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,IAAI,SAAS,YAAY,EAC/D,SAAS,gBAAgB,CAAC,IAAI,CAAC,EAC/B,iBAAiB,wBAAwB,EACzC,MAAM,sBAAsB,CAAC,IAAI,CAAC,KACjC,cAMF,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Catalog barrel — aggregates the per-namespace rule catalogs for consumers
3
+ * that want the full v1 rule set.
4
+ *
5
+ * Phase 3a lands `skillRules`; Phase 3b lands `packRules`; Phase 3c will
6
+ * append `workspaceRules` without touching existing imports.
7
+ *
8
+ * `allCatalogRuleIds` is the concatenation used by the rule-id snapshot test
9
+ * (`./rule-ids.snapshot.test.ts`). Per-catalog consumers (registry publish,
10
+ * `axm lint`) should import the specific catalog they need so the other
11
+ * catalogs tree-shake out.
12
+ *
13
+ * @experimental This API is unstable and may change without notice.
14
+ * @packageDocumentation
15
+ */
16
+ export { skillRules } from "./skill.js";
17
+ export { packRules } from "./pack.js";
18
+ export { workspaceRules } from "./workspace.js";
19
+ export { makeVftSkillFileAccessor, type VFTNode } from "./skill-accessor/vft.js";
20
+ export { makePlatformSkillFileAccessor, type SkillAccessorPlatform, } from "./skill-accessor/platform.js";
21
+ export { buildSkillRuleContexts, type InstalledSkillInfo, type SkillIndexView, } from "./skill-accessor/contexts.js";
22
+ export { makeVftPackFileAccessor, type PackVFTNode } from "./pack-accessor/vft.js";
23
+ export { makePlatformPackFileAccessor, type PackAccessorPlatform, } from "./pack-accessor/platform.js";
24
+ export { buildPackRuleContexts, type InstalledPackInfo, type PackIndexView, } from "./pack-accessor/contexts.js";
25
+ export { makePlatformWorkspaceLintAccessor, type PlatformWorkspaceLintAccessorArgs, type WorkspaceAccessorPlatform, type WorkspaceIndexView, } from "./workspace-accessor/platform.js";
26
+ export { buildWorkspaceRuleContext, buildNativeInstalledSkillInfo, buildExternalInstalledSkillInfo, buildInstalledPackInfo, externalSkillDisplayRoot, registryNativeSkillDisplayRoot, registryPackDisplayRoot, type BuildInstalledPackInfoArgs, type BuildInstalledSkillInfoExternalArgs, type BuildInstalledSkillInfoNativeArgs, type BuildWorkspaceRuleContextArgs, type WorkspaceIndex, } from "./workspace-accessor/contexts.js";
27
+ export { PER_EXTENSION_OPERATION_NAMES, isPerExtensionOperationName, type PerExtensionOperationName, } from "./workspace/helpers/install-ops.js";
28
+ /**
29
+ * Concatenated rule-id array across every currently-exported catalog, in the
30
+ * order catalogs were introduced (Phase 3a: `skillRules`; Phase 3b:
31
+ * `packRules`; Phase 3c: `workspaceRules`).
32
+ *
33
+ * Used by the rule-id snapshot test; production callers should not depend on
34
+ * this value.
35
+ *
36
+ * @experimental This API is unstable and may change without notice.
37
+ */
38
+ export declare const allCatalogRuleIds: ReadonlyArray<string>;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/unstable/lint/catalog/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA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the full v1 rule set.
4
+ *
5
+ * Phase 3a lands `skillRules`; Phase 3b lands `packRules`; Phase 3c will
6
+ * append `workspaceRules` without touching existing imports.
7
+ *
8
+ * `allCatalogRuleIds` is the concatenation used by the rule-id snapshot test
9
+ * (`./rule-ids.snapshot.test.ts`). Per-catalog consumers (registry publish,
10
+ * `axm lint`) should import the specific catalog they need so the other
11
+ * catalogs tree-shake out.
12
+ *
13
+ * @experimental This API is unstable and may change without notice.
14
+ * @packageDocumentation
15
+ */
16
+ import { skillRules } from "./skill.js";
17
+ import { packRules } from "./pack.js";
18
+ import { workspaceRules } from "./workspace.js";
19
+ export { skillRules } from "./skill.js";
20
+ export { packRules } from "./pack.js";
21
+ export { workspaceRules } from "./workspace.js";
22
+ // Phase 3a accessor + context-builder helpers.
23
+ export { makeVftSkillFileAccessor } from "./skill-accessor/vft.js";
24
+ export { makePlatformSkillFileAccessor, } from "./skill-accessor/platform.js";
25
+ export { buildSkillRuleContexts, } from "./skill-accessor/contexts.js";
26
+ // Phase 3b accessor + context-builder helpers.
27
+ export { makeVftPackFileAccessor } from "./pack-accessor/vft.js";
28
+ export { makePlatformPackFileAccessor, } from "./pack-accessor/platform.js";
29
+ export { buildPackRuleContexts, } from "./pack-accessor/contexts.js";
30
+ // Phase 3c accessor + context-builder helpers.
31
+ export { makePlatformWorkspaceLintAccessor, } from "./workspace-accessor/platform.js";
32
+ export { buildWorkspaceRuleContext, buildNativeInstalledSkillInfo, buildExternalInstalledSkillInfo, buildInstalledPackInfo, externalSkillDisplayRoot, registryNativeSkillDisplayRoot, registryPackDisplayRoot, } from "./workspace-accessor/contexts.js";
33
+ export { PER_EXTENSION_OPERATION_NAMES, isPerExtensionOperationName, } from "./workspace/helpers/install-ops.js";
34
+ /**
35
+ * Concatenated rule-id array across every currently-exported catalog, in the
36
+ * order catalogs were introduced (Phase 3a: `skillRules`; Phase 3b:
37
+ * `packRules`; Phase 3c: `workspaceRules`).
38
+ *
39
+ * Used by the rule-id snapshot test; production callers should not depend on
40
+ * this value.
41
+ *
42
+ * @experimental This API is unstable and may change without notice.
43
+ */
44
+ export const allCatalogRuleIds = [
45
+ ...skillRules.map((r) => r.id),
46
+ ...packRules.map((r) => r.id),
47
+ ...workspaceRules.map((r) => r.id),
48
+ ];
49
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/unstable/lint/catalog/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,+CAA+C;AAC/C,OAAO,EAAE,wBAAwB,EAAgB,MAAM,yBAAyB,CAAC;AACjF,OAAO,EACL,6BAA6B,GAE9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,sBAAsB,GAGvB,MAAM,8BAA8B,CAAC;AAEtC,+CAA+C;AAC/C,OAAO,EAAE,uBAAuB,EAAoB,MAAM,wBAAwB,CAAC;AACnF,OAAO,EACL,4BAA4B,GAE7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,qBAAqB,GAGtB,MAAM,6BAA6B,CAAC;AAErC,+CAA+C;AAC/C,OAAO,EACL,iCAAiC,GAIlC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,8BAA8B,EAC9B,uBAAuB,GAMxB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAE5B,MAAM,oCAAoC,CAAC;AAE5C;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA0B;IACtD,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7B,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;CACnC,CAAC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * `pack/manifest-keys-recognized` — `extension-pack.json` contains only keys
3
+ * declared by `ExtensionPackManifestSchema`.
4
+ *
5
+ * The paired `-schema-valid` rule ignores excess properties by construction
6
+ * (`onExcessProperty: "ignore"`); this rule surfaces them at warning severity
7
+ * so newer-schema manifests can roll out ahead of registry deploys.
8
+ *
9
+ * A forbidden `packs:` dependency section (ONTOLOGY D015 "Cross-Domain
10
+ * Extension Pack Semantics") decodes as an unrecognized top-level key here
11
+ * and surfaces at warning severity in v1; there is no dedicated error-severity
12
+ * rule for the `packs:` case — see `docs/design/lint-engine.md §10.pack
13
+ * (Notes)`. A stricter error-severity enforcement can ship in v1.5+ if real
14
+ * publish traffic motivates it.
15
+ *
16
+ * Allowed-keys set is derived from `ExtensionPackManifestSchema.fields` — no
17
+ * copy-paste of field names. A schema gain (or rename) automatically updates
18
+ * the allowlist.
19
+ *
20
+ * Early-return arm (no findings):
21
+ *
22
+ * - `subject.packJson === undefined` / non-object — nothing to enumerate;
23
+ * `pack/manifest-present` owns the absence case.
24
+ *
25
+ * @experimental This API is unstable and may change without notice.
26
+ * @packageDocumentation
27
+ */
28
+ import type { PackRuleContext } from "../../context.js";
29
+ import type { AdvisoryRule } from "../../rule.js";
30
+ export declare const manifestKeysRecognizedRule: AdvisoryRule<PackRuleContext>;
31
+ //# sourceMappingURL=manifest-keys-recognized.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-keys-recognized.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-keys-recognized.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AASlD,eAAO,MAAM,0BAA0B,EAAE,YAAY,CAAC,eAAe,CAepE,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * `pack/manifest-keys-recognized` — `extension-pack.json` contains only keys
3
+ * declared by `ExtensionPackManifestSchema`.
4
+ *
5
+ * The paired `-schema-valid` rule ignores excess properties by construction
6
+ * (`onExcessProperty: "ignore"`); this rule surfaces them at warning severity
7
+ * so newer-schema manifests can roll out ahead of registry deploys.
8
+ *
9
+ * A forbidden `packs:` dependency section (ONTOLOGY D015 "Cross-Domain
10
+ * Extension Pack Semantics") decodes as an unrecognized top-level key here
11
+ * and surfaces at warning severity in v1; there is no dedicated error-severity
12
+ * rule for the `packs:` case — see `docs/design/lint-engine.md §10.pack
13
+ * (Notes)`. A stricter error-severity enforcement can ship in v1.5+ if real
14
+ * publish traffic motivates it.
15
+ *
16
+ * Allowed-keys set is derived from `ExtensionPackManifestSchema.fields` — no
17
+ * copy-paste of field names. A schema gain (or rename) automatically updates
18
+ * the allowlist.
19
+ *
20
+ * Early-return arm (no findings):
21
+ *
22
+ * - `subject.packJson === undefined` / non-object — nothing to enumerate;
23
+ * `pack/manifest-present` owns the absence case.
24
+ *
25
+ * @experimental This API is unstable and may change without notice.
26
+ * @packageDocumentation
27
+ */
28
+ import * as Effect from "effect/Effect";
29
+ import { ExtensionPackManifestSchema } from "../../../packs/manifest-schema.js";
30
+ import { enumerateUnknownTopLevelKeys, structFieldKeys } from "../shared/schema-rule.js";
31
+ const RULE_ID = "pack/manifest-keys-recognized";
32
+ const EXTENSION_PACK_JSON = "extension-pack.json";
33
+ const allowedKeys = structFieldKeys(ExtensionPackManifestSchema);
34
+ export const manifestKeysRecognizedRule = {
35
+ id: RULE_ID,
36
+ description: "extension-pack.json contains only keys recognized by ExtensionPackManifestSchema.",
37
+ kind: "advisory",
38
+ severity: "warning",
39
+ check: (context) => Effect.succeed(enumerateUnknownTopLevelKeys(RULE_ID, "warning", EXTENSION_PACK_JSON, allowedKeys, context.subject.packJson)),
40
+ };
41
+ //# sourceMappingURL=manifest-keys-recognized.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-keys-recognized.js","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-keys-recognized.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAChD,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,MAAM,WAAW,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAEjE,MAAM,CAAC,MAAM,0BAA0B,GAAkC;IACvE,EAAE,EAAE,OAAO;IACX,WAAW,EAAE,mFAAmF;IAChG,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,CAAC,OAAO,EAAE,EAAE,CACjB,MAAM,CAAC,OAAO,CACZ,4BAA4B,CAC1B,OAAO,EACP,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,OAAO,CAAC,OAAO,CAAC,QAAQ,CACzB,CACF;CACJ,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * `pack/manifest-present` — packs must have an `extension-pack.json` at the
3
+ * pack root.
4
+ *
5
+ * Packs are registry-only at v1; every pack context is expected to expose a
6
+ * manifest. Unlike `skill/manifest-present`, there is no native-vs-non-native
7
+ * split — the rule applies to every pack context unconditionally.
8
+ *
9
+ * Advisory-only — scaffolding a manifest is `axm packs new` (a user-authored
10
+ * action) per `docs/design/lint-engine.md §10.pack (Notes)`.
11
+ *
12
+ * @experimental This API is unstable and may change without notice.
13
+ * @packageDocumentation
14
+ */
15
+ import type { PackRuleContext } from "../../context.js";
16
+ import type { AdvisoryRule } from "../../rule.js";
17
+ export declare const manifestPresentRule: AdvisoryRule<PackRuleContext>;
18
+ //# sourceMappingURL=manifest-present.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-present.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-present.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,eAAe,CAAC;AAKnE,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,eAAe,CA2B7D,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * `pack/manifest-present` — packs must have an `extension-pack.json` at the
3
+ * pack root.
4
+ *
5
+ * Packs are registry-only at v1; every pack context is expected to expose a
6
+ * manifest. Unlike `skill/manifest-present`, there is no native-vs-non-native
7
+ * split — the rule applies to every pack context unconditionally.
8
+ *
9
+ * Advisory-only — scaffolding a manifest is `axm packs new` (a user-authored
10
+ * action) per `docs/design/lint-engine.md §10.pack (Notes)`.
11
+ *
12
+ * @experimental This API is unstable and may change without notice.
13
+ * @packageDocumentation
14
+ */
15
+ import * as Effect from "effect/Effect";
16
+ const RULE_ID = "pack/manifest-present";
17
+ const EXTENSION_PACK_JSON = "extension-pack.json";
18
+ export const manifestPresentRule = {
19
+ id: RULE_ID,
20
+ description: "Pack has an extension-pack.json manifest at its root.",
21
+ kind: "advisory",
22
+ severity: "error",
23
+ check: (context) => Effect.map(context.files.exists(EXTENSION_PACK_JSON), (present) => {
24
+ if (present) {
25
+ return [];
26
+ }
27
+ return [
28
+ {
29
+ kind: "advisory",
30
+ ruleId: RULE_ID,
31
+ severity: "error",
32
+ message: "extension-pack.json is missing; every pack must expose a manifest at the pack root.",
33
+ suggestions: [
34
+ `Create ${EXTENSION_PACK_JSON} with the required manifest fields (owner, type, name, version).`,
35
+ ],
36
+ location: { file: EXTENSION_PACK_JSON },
37
+ },
38
+ ];
39
+ }),
40
+ };
41
+ //# sourceMappingURL=manifest-present.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-present.js","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-present.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,MAAM,OAAO,GAAG,uBAAuB,CAAC;AACxC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,MAAM,CAAC,MAAM,mBAAmB,GAAkC;IAChE,EAAE,EAAE,OAAO;IACX,WAAW,EAAE,uDAAuD;IACpE,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,OAAO;IACjB,KAAK,EAAE,CAAC,OAAO,EAAE,EAAE,CACjB,MAAM,CAAC,GAAG,CACR,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,EACzC,CAAC,OAAO,EAAkC,EAAE;QAC1C,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,OAAO;YACL;gBACE,IAAI,EAAE,UAAU;gBAChB,MAAM,EAAE,OAAO;gBACf,QAAQ,EAAE,OAAO;gBACjB,OAAO,EACL,qFAAqF;gBACvF,WAAW,EAAE;oBACX,UAAU,mBAAmB,kEAAkE;iBAChG;gBACD,QAAQ,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE;aACxC;SACF,CAAC;IACJ,CAAC,CACF;CACJ,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * `pack/manifest-schema-valid` — `extension-pack.json` conforms to
3
+ * `ExtensionPackManifestSchema`.
4
+ *
5
+ * Delegates to Effect Schema per `docs/design/lint-engine.md §4`
6
+ * ("Schema-valid rules delegate to Effect Schema"). Issues map 1:1 to
7
+ * findings via `issuesToFindings`.
8
+ *
9
+ * Early-return arm (no findings):
10
+ *
11
+ * - `subject.packJson === undefined` — manifest is absent (covered by
12
+ * `pack/manifest-present`).
13
+ *
14
+ * Dependency-map FQN grammar and `VersionConstraint` decode arms are owned by
15
+ * `ExtensionPackManifestSchema` itself — the dependency sections are typed
16
+ * `Record<FQN, VersionConstraint>` so unknown FQNs, malformed grammar, and
17
+ * bad semver ranges surface as normal schema issues through the shared
18
+ * `schemaDecodeFindings` plumbing.
19
+ *
20
+ * @experimental This API is unstable and may change without notice.
21
+ * @packageDocumentation
22
+ */
23
+ import type { PackRuleContext } from "../../context.js";
24
+ import type { AdvisoryRule } from "../../rule.js";
25
+ export declare const manifestSchemaValidRule: AdvisoryRule<PackRuleContext>;
26
+ //# sourceMappingURL=manifest-schema-valid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-schema-valid.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-schema-valid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAOlD,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,eAAe,CAajE,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * `pack/manifest-schema-valid` — `extension-pack.json` conforms to
3
+ * `ExtensionPackManifestSchema`.
4
+ *
5
+ * Delegates to Effect Schema per `docs/design/lint-engine.md §4`
6
+ * ("Schema-valid rules delegate to Effect Schema"). Issues map 1:1 to
7
+ * findings via `issuesToFindings`.
8
+ *
9
+ * Early-return arm (no findings):
10
+ *
11
+ * - `subject.packJson === undefined` — manifest is absent (covered by
12
+ * `pack/manifest-present`).
13
+ *
14
+ * Dependency-map FQN grammar and `VersionConstraint` decode arms are owned by
15
+ * `ExtensionPackManifestSchema` itself — the dependency sections are typed
16
+ * `Record<FQN, VersionConstraint>` so unknown FQNs, malformed grammar, and
17
+ * bad semver ranges surface as normal schema issues through the shared
18
+ * `schemaDecodeFindings` plumbing.
19
+ *
20
+ * @experimental This API is unstable and may change without notice.
21
+ * @packageDocumentation
22
+ */
23
+ import { ExtensionPackManifestSchema } from "../../../packs/manifest-schema.js";
24
+ import { schemaDecodeFindings } from "../shared/schema-rule.js";
25
+ const RULE_ID = "pack/manifest-schema-valid";
26
+ const EXTENSION_PACK_JSON = "extension-pack.json";
27
+ export const manifestSchemaValidRule = {
28
+ id: RULE_ID,
29
+ description: "extension-pack.json conforms to ExtensionPackManifestSchema.",
30
+ kind: "advisory",
31
+ severity: "error",
32
+ check: (context) => schemaDecodeFindings(RULE_ID, "error", EXTENSION_PACK_JSON, ExtensionPackManifestSchema, context.subject.packJson),
33
+ };
34
+ //# sourceMappingURL=manifest-schema-valid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest-schema-valid.js","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack/manifest-schema-valid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,OAAO,GAAG,4BAA4B,CAAC;AAC7C,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AAElD,MAAM,CAAC,MAAM,uBAAuB,GAAkC;IACpE,EAAE,EAAE,OAAO;IACX,WAAW,EAAE,8DAA8D;IAC3E,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,OAAO;IACjB,KAAK,EAAE,CAAC,OAAO,EAAE,EAAE,CACjB,oBAAoB,CAClB,OAAO,EACP,OAAO,EACP,mBAAmB,EACnB,2BAA2B,EAC3B,OAAO,CAAC,OAAO,CAAC,QAAQ,CACzB;CACJ,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * `buildPackRuleContexts` — build `PackRuleContext[]` from a
3
+ * `WorkspaceIndex`-shaped input.
4
+ *
5
+ * Phase 3c owns `WorkspaceIndex`; Phase 3b pins the minimal shape
6
+ * `buildPackRuleContexts` consumes so Phase 3c can satisfy it without
7
+ * renegotiation. The minimal shape is **exactly** the set of fields the
8
+ * function reads per installed pack:
9
+ *
10
+ * - `packJson` — pre-decoded `extension-pack.json` when present (caller
11
+ * decodes once per pack, so rules don't re-read + re-parse).
12
+ * - `displayRoot` — posix-relative root used by the renderer; the caller
13
+ * picks per provenance (see the table below).
14
+ * - `files` — the pre-bound `PackFileAccessor`. The caller chooses VFT or
15
+ * platform-backed.
16
+ *
17
+ * Provenance → `displayRoot` table:
18
+ *
19
+ * | Surface | `displayRoot` |
20
+ * | ---------------------------------- | ----------------------------------------- |
21
+ * | Publish (Phase 4) | `""` |
22
+ * | Registry-installed pack | `.axm/extensions/<@owner>/packs/<name>` |
23
+ *
24
+ * @experimental This API is unstable and may change without notice.
25
+ * @packageDocumentation
26
+ */
27
+ import type { PackFileAccessor, PackRuleContext } from "../../context.js";
28
+ /**
29
+ * Minimal structural shape `buildPackRuleContexts` needs per installed
30
+ * pack. Phase 3c's `WorkspaceIndex` satisfies this by construction — its
31
+ * `installedPacks` field is `ReadonlyArray<InstalledPackInfo>`.
32
+ *
33
+ * @experimental This API is unstable and may change without notice.
34
+ */
35
+ export interface InstalledPackInfo {
36
+ readonly packJson: unknown;
37
+ readonly displayRoot: string;
38
+ readonly files: PackFileAccessor;
39
+ }
40
+ /**
41
+ * Minimal structural shape of the WorkspaceIndex subset `buildPackRuleContexts`
42
+ * consumes. Keeping the function input narrow keeps Phase 3b and Phase 3c
43
+ * decoupled: the index implementation (Phase 3c) can add more methods
44
+ * without affecting this call site.
45
+ *
46
+ * @experimental This API is unstable and may change without notice.
47
+ */
48
+ export interface PackIndexView {
49
+ readonly installedPacks: ReadonlyArray<InstalledPackInfo>;
50
+ }
51
+ /**
52
+ * Project an index's `installedPacks` into `PackRuleContext`s with their
53
+ * `displayRoot` and `subject` fields pre-populated.
54
+ *
55
+ * Publish callers bypass this helper and construct a single context directly
56
+ * — they have exactly one pack in play and no workspace.
57
+ *
58
+ * @experimental This API is unstable and may change without notice.
59
+ */
60
+ export declare const buildPackRuleContexts: (index: PackIndexView) => ReadonlyArray<PackRuleContext>;
61
+ //# sourceMappingURL=contexts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contexts.d.ts","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack-accessor/contexts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAM1E;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,cAAc,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;CAC3D;AAMD;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB,GAAI,OAAO,aAAa,KAAG,aAAa,CAAC,eAAe,CASvF,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * `buildPackRuleContexts` — build `PackRuleContext[]` from a
3
+ * `WorkspaceIndex`-shaped input.
4
+ *
5
+ * Phase 3c owns `WorkspaceIndex`; Phase 3b pins the minimal shape
6
+ * `buildPackRuleContexts` consumes so Phase 3c can satisfy it without
7
+ * renegotiation. The minimal shape is **exactly** the set of fields the
8
+ * function reads per installed pack:
9
+ *
10
+ * - `packJson` — pre-decoded `extension-pack.json` when present (caller
11
+ * decodes once per pack, so rules don't re-read + re-parse).
12
+ * - `displayRoot` — posix-relative root used by the renderer; the caller
13
+ * picks per provenance (see the table below).
14
+ * - `files` — the pre-bound `PackFileAccessor`. The caller chooses VFT or
15
+ * platform-backed.
16
+ *
17
+ * Provenance → `displayRoot` table:
18
+ *
19
+ * | Surface | `displayRoot` |
20
+ * | ---------------------------------- | ----------------------------------------- |
21
+ * | Publish (Phase 4) | `""` |
22
+ * | Registry-installed pack | `.axm/extensions/<@owner>/packs/<name>` |
23
+ *
24
+ * @experimental This API is unstable and may change without notice.
25
+ * @packageDocumentation
26
+ */
27
+ // -----------------------------------------------------------------------------
28
+ // buildPackRuleContexts
29
+ // -----------------------------------------------------------------------------
30
+ /**
31
+ * Project an index's `installedPacks` into `PackRuleContext`s with their
32
+ * `displayRoot` and `subject` fields pre-populated.
33
+ *
34
+ * Publish callers bypass this helper and construct a single context directly
35
+ * — they have exactly one pack in play and no workspace.
36
+ *
37
+ * @experimental This API is unstable and may change without notice.
38
+ */
39
+ export const buildPackRuleContexts = (index) => index.installedPacks.map((info) => ({
40
+ subject: {
41
+ packJson: info.packJson,
42
+ },
43
+ files: info.files,
44
+ displayRoot: info.displayRoot,
45
+ }));
46
+ //# sourceMappingURL=contexts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contexts.js","sourceRoot":"","sources":["../../../../../../src/unstable/lint/catalog/pack-accessor/contexts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAiCH,gFAAgF;AAChF,wBAAwB;AACxB,gFAAgF;AAEhF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAoB,EAAkC,EAAE,CAC5F,KAAK,CAAC,cAAc,CAAC,GAAG,CACtB,CAAC,IAAI,EAAmB,EAAE,CAAC,CAAC;IAC1B,OAAO,EAAE;QACP,QAAQ,EAAE,IAAI,CAAC,QAAQ;KACxB;IACD,KAAK,EAAE,IAAI,CAAC,KAAK;IACjB,WAAW,EAAE,IAAI,CAAC,WAAW;CAC9B,CAAC,CACH,CAAC"}