@meridian-flow/mars-schema 0.23.4 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/README.md +26 -1
  2. package/fixtures/normalize/agent-skills-standard/normalized.json +18 -0
  3. package/fixtures/normalize/agent-translation/normalized.json +36 -0
  4. package/fixtures/normalize/anthropics-skills/normalized.json +30 -0
  5. package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/extra/mcp.toml +2 -0
  6. package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/github/mcp.toml +3 -0
  7. package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/indexer/mcp.toml +4 -0
  8. package/fixtures/normalize/claude-plugin-default/expected/toolbox/mcp/replaced/mcp.toml +2 -0
  9. package/fixtures/normalize/claude-plugin-default/input/.claude-plugin/plugin.json +1 -1
  10. package/fixtures/normalize/claude-plugin-default/input/.mcp.json +15 -1
  11. package/fixtures/normalize/claude-plugin-default/input/config/more-mcp.json +1 -0
  12. package/fixtures/normalize/claude-plugin-default/input/mcp/docs/mcp.toml +1 -0
  13. package/fixtures/normalize/claude-plugin-default/normalized.json +168 -3
  14. package/fixtures/normalize/declared-claude-over-codex-container/normalized.json +12 -0
  15. package/fixtures/normalize/declared-codex-convention/normalized.json +12 -0
  16. package/fixtures/normalize/declared-mars-native/normalized.json +18 -0
  17. package/fixtures/normalize/duplicate-slug/normalized.json +24 -0
  18. package/fixtures/normalize/empty/normalized.json +5 -0
  19. package/fixtures/normalize/generated-plugin-tree/normalized.json +12 -0
  20. package/fixtures/normalize/invalid-plugin-json/normalized.json +5 -0
  21. package/fixtures/normalize/marketplace-selection/normalized.json +12 -0
  22. package/fixtures/normalize/marketplace-sources/normalized.json +12 -0
  23. package/fixtures/normalize/marketplace-sources/remote-normalized.json +24 -0
  24. package/fixtures/normalize/marketplace-strict-table/normalized.json +65 -0
  25. package/fixtures/normalize/mars-manifest-wins/normalized.json +12 -0
  26. package/fixtures/normalize/mars-source-with-built-plugin/normalized.json +18 -0
  27. package/fixtures/normalize/mattpocock-skills/normalized.json +30 -0
  28. package/fixtures/normalize/mixed-claude-and-mars/normalized.json +18 -0
  29. package/fixtures/normalize/nested-declared-skills/normalized.json +12 -0
  30. package/fixtures/normalize/obra-superpowers/normalized.json +24 -0
  31. package/fixtures/normalize/opencode-agent/normalized.json +12 -0
  32. package/fixtures/normalize/opencode-predicted/normalized.json +12 -0
  33. package/fixtures/normalize/opencode-with-standard-skill/normalized.json +24 -0
  34. package/fixtures/normalize/plugin-list-paths/normalized.json +18 -0
  35. package/fixtures/normalize/pre-v1-mars-permission/normalized.json +12 -0
  36. package/fixtures/normalize/pre-v1-mars-predicted/normalized.json +18 -0
  37. package/fixtures/normalize/root-skill/normalized.json +12 -0
  38. package/fixtures/normalize/root-skill-fallback-name/normalized.json +12 -0
  39. package/fixtures/normalize/shared-slug-across-kinds/normalized.json +18 -0
  40. package/fixtures/normalize/skill-references/normalized.json +20 -2
  41. package/fixtures/normalize/skill-translation/normalized.json +42 -0
  42. package/fixtures/normalize/skill-tree-walk/normalized.json +18 -0
  43. package/fixtures/normalize/subpath/normalized.json +12 -0
  44. package/fixtures/prepare/agent-structural-raw/expected.json +12 -0
  45. package/fixtures/prepare/authored-local-current/expected.json +12 -0
  46. package/fixtures/prepare/authored-local-legacy/expected.json +12 -0
  47. package/fixtures/prepare/bom/expected.json +12 -0
  48. package/fixtures/prepare/claude-network-lost/expected.json +12 -0
  49. package/fixtures/prepare/claude-reserved-keys/expected.json +18 -0
  50. package/fixtures/prepare/declared-dialect/expected.json +12 -0
  51. package/fixtures/prepare/flat-root-skill/expected.json +12 -0
  52. package/fixtures/prepare/foreign-vendored-payload/expected.json +12 -0
  53. package/fixtures/prepare/generated-plugin-skipped/expected.json +12 -0
  54. package/fixtures/prepare/hidden-container-dialect/expected.json +5 -0
  55. package/fixtures/prepare/invalid-toml/expected.json +5 -0
  56. package/fixtures/prepare/legacy-changed/expected.json +12 -0
  57. package/fixtures/prepare/legacy-definition-unchanged/expected.json +12 -0
  58. package/fixtures/prepare/manifest-free-skill-tree/expected.json +12 -0
  59. package/fixtures/prepare/manifest-without-package/expected.json +5 -0
  60. package/fixtures/prepare/opencode-agent/expected.json +12 -0
  61. package/fixtures/prepare/opencode-commands-dropped/expected.json +12 -0
  62. package/fixtures/prepare/pre-v1-old-host-namespaces/expected.json +12 -0
  63. package/fixtures/prepare/schema-1/expected.json +12 -0
  64. package/fixtures/prepare/schema-1-both-host-namespaces/expected.json +12 -0
  65. package/fixtures/prepare/schema-1-meridian-keys/expected.json +12 -0
  66. package/fixtures/prepare/schema-1-old-host-namespaces/expected.json +12 -0
  67. package/fixtures/prepare/schema-1-vendored-payload/expected.json +12 -0
  68. package/fixtures/prepare/schema-newer/expected.json +5 -0
  69. package/fixtures/prepare/skill-payload-and-nested/expected.json +18 -0
  70. package/fixtures/read/manifest-dependencies/expected.json +57 -0
  71. package/fixtures/read/manifest-dependencies/mars.toml +25 -0
  72. package/fixtures/read/manifest-dependency-errors/expected.json +87 -0
  73. package/fixtures/read/manifest-dependency-errors/mars.toml +31 -0
  74. package/fixtures/read/manifest-dependency-filter-conflict/expected.json +74 -0
  75. package/fixtures/read/manifest-dependency-filter-conflict/mars.toml +19 -0
  76. package/fixtures/selection/all-takes-everything/expected.json +39 -0
  77. package/fixtures/selection/all-takes-everything/packages/p/agents/coder.md +5 -0
  78. package/fixtures/selection/all-takes-everything/packages/p/mars.toml +4 -0
  79. package/fixtures/selection/all-takes-everything/packages/p/skills/planning/SKILL.md +5 -0
  80. package/fixtures/selection/all-takes-everything/request.json +16 -0
  81. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/expected.json +45 -0
  82. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/a/agents/coder.md +6 -0
  83. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/a/mars.toml +8 -0
  84. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/mars.toml +4 -0
  85. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/skills/other/SKILL.md +5 -0
  86. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/packages/b/skills/planning/SKILL.md +5 -0
  87. package/fixtures/selection/bootstrap-doc-respects-consumer-exclude/request.json +22 -0
  88. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/expected.json +32 -0
  89. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/a/agents/top.md +5 -0
  90. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/a/mars.toml +7 -0
  91. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/mars.toml +4 -0
  92. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/skills/x/SKILL.md +5 -0
  93. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/packages/b/skills/y/SKILL.md +5 -0
  94. package/fixtures/selection/consumer-exclude-beats-unfiltered-edge/request.json +6 -0
  95. package/fixtures/selection/consumer-exclude-blocks-skill-ref/expected.json +17 -0
  96. package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/agents/coder.md +6 -0
  97. package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/mars.toml +4 -0
  98. package/fixtures/selection/consumer-exclude-blocks-skill-ref/packages/a/skills/forbidden/SKILL.md +5 -0
  99. package/fixtures/selection/consumer-exclude-blocks-skill-ref/request.json +10 -0
  100. package/fixtures/selection/cws-v0.6.1/expected.json +917 -0
  101. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/brainstormer.md +6 -0
  102. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/character-sim.md +8 -0
  103. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/continuity-checker.md +6 -0
  104. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/critic.md +6 -0
  105. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/editor.md +6 -0
  106. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/muse.md +8 -0
  107. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/outliner.md +6 -0
  108. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/reader-sim.md +7 -0
  109. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/style-creator.md +8 -0
  110. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/web-researcher.md +7 -0
  111. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/agents/writer.md +6 -0
  112. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/mars.toml +62 -0
  113. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/character-sim/SKILL.md +5 -0
  114. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-research/SKILL.md +5 -0
  115. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-craft/SKILL.md +5 -0
  116. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-modes/SKILL.md +5 -0
  117. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/creative-writing-muse/SKILL.md +5 -0
  118. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/project-setup/SKILL.md +5 -0
  119. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/reader-sim/SKILL.md +5 -0
  120. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-memory/SKILL.md +5 -0
  121. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-planning/SKILL.md +5 -0
  122. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/story-review/SKILL.md +5 -0
  123. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/writing-principles/SKILL.md +5 -0
  124. package/fixtures/selection/cws-v0.6.1/packages/creative-writing-skills/skills/writing-staffing/SKILL.md +5 -0
  125. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/cold-reader.md +8 -0
  126. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/explorer.md +6 -0
  127. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/kb-lead.md +8 -0
  128. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/kb-maintainer.md +8 -0
  129. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/session-miner.md +8 -0
  130. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/agents/subagent.md +5 -0
  131. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/mars.toml +147 -0
  132. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/correct/SKILL.md +5 -0
  133. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/explore-and-engage/SKILL.md +5 -0
  134. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/goal-writing/SKILL.md +5 -0
  135. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill/SKILL.md +5 -0
  136. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill-with-docs/SKILL.md +5 -0
  137. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/grill-with-evidence/SKILL.md +5 -0
  138. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/handoff/SKILL.md +5 -0
  139. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/information-hierarchy/SKILL.md +5 -0
  140. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/intent-modeling/SKILL.md +5 -0
  141. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/knowledge-layers/SKILL.md +5 -0
  142. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/llm-writing/SKILL.md +5 -0
  143. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/md-validation/SKILL.md +5 -0
  144. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/qi-layer/SKILL.md +5 -0
  145. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/qi-maintenance/SKILL.md +5 -0
  146. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/reflect/SKILL.md +5 -0
  147. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/shared-dao/SKILL.md +5 -0
  148. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/shared-workspace/SKILL.md +5 -0
  149. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/structured-artifact/SKILL.md +5 -0
  150. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/work-artifacts/SKILL.md +5 -0
  151. package/fixtures/selection/cws-v0.6.1/packages/meridian-base/skills/zoom-out/SKILL.md +5 -0
  152. package/fixtures/selection/cws-v0.6.1/packages/writing-sync/mars.toml +13 -0
  153. package/fixtures/selection/cws-v0.6.1/packages/writing-sync/skills/writing-sync/SKILL.md +5 -0
  154. package/fixtures/selection/cws-v0.6.1/request.json +36 -0
  155. package/fixtures/selection/cws-v0.6.1-as-root/expected.json +607 -0
  156. package/fixtures/selection/cws-v0.6.1-as-root/request.json +5 -0
  157. package/fixtures/selection/diamond-through-filtered-entry/expected.json +65 -0
  158. package/fixtures/selection/diamond-through-filtered-entry/packages/a/agents/a1.md +5 -0
  159. package/fixtures/selection/diamond-through-filtered-entry/packages/a/mars.toml +10 -0
  160. package/fixtures/selection/diamond-through-filtered-entry/packages/b/agents/b1.md +5 -0
  161. package/fixtures/selection/diamond-through-filtered-entry/packages/b/agents/b2.md +5 -0
  162. package/fixtures/selection/diamond-through-filtered-entry/packages/b/mars.toml +7 -0
  163. package/fixtures/selection/diamond-through-filtered-entry/packages/d1/agents/d1.md +5 -0
  164. package/fixtures/selection/diamond-through-filtered-entry/packages/d1/mars.toml +8 -0
  165. package/fixtures/selection/diamond-through-filtered-entry/packages/d2/agents/d2.md +5 -0
  166. package/fixtures/selection/diamond-through-filtered-entry/packages/d2/mars.toml +7 -0
  167. package/fixtures/selection/diamond-through-filtered-entry/packages/x/agents/x1.md +5 -0
  168. package/fixtures/selection/diamond-through-filtered-entry/packages/x/mars.toml +7 -0
  169. package/fixtures/selection/diamond-through-filtered-entry/packages/y/agents/y1.md +5 -0
  170. package/fixtures/selection/diamond-through-filtered-entry/packages/y/mars.toml +4 -0
  171. package/fixtures/selection/diamond-through-filtered-entry/request.json +7 -0
  172. package/fixtures/selection/duplicate-slug-reported/expected.json +35 -0
  173. package/fixtures/selection/duplicate-slug-reported/packages/a/agents/coder.md +5 -0
  174. package/fixtures/selection/duplicate-slug-reported/packages/a/mars.toml +4 -0
  175. package/fixtures/selection/duplicate-slug-reported/packages/b/agents/coder.md +5 -0
  176. package/fixtures/selection/duplicate-slug-reported/packages/b/mars.toml +4 -0
  177. package/fixtures/selection/duplicate-slug-reported/request.json +10 -0
  178. package/fixtures/selection/exclude-by-slug-or-path/expected.json +28 -0
  179. package/fixtures/selection/exclude-by-slug-or-path/packages/p/agents/coder.md +5 -0
  180. package/fixtures/selection/exclude-by-slug-or-path/packages/p/agents/reviewer.md +5 -0
  181. package/fixtures/selection/exclude-by-slug-or-path/packages/p/mars.toml +4 -0
  182. package/fixtures/selection/exclude-by-slug-or-path/packages/p/skills/planning/SKILL.md +5 -0
  183. package/fixtures/selection/exclude-by-slug-or-path/packages/p/skills/review/SKILL.md +5 -0
  184. package/fixtures/selection/exclude-by-slug-or-path/request.json +11 -0
  185. package/fixtures/selection/exclude-path-is-compared-as-written/expected.json +17 -0
  186. package/fixtures/selection/exclude-path-is-compared-as-written/packages/p/agents/coder.md +5 -0
  187. package/fixtures/selection/exclude-path-is-compared-as-written/packages/p/mars.toml +4 -0
  188. package/fixtures/selection/exclude-path-is-compared-as-written/request.json +10 -0
  189. package/fixtures/selection/filtered-request-does-not-open-dependencies/expected.json +17 -0
  190. package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/agents/other.md +5 -0
  191. package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/agents/top.md +5 -0
  192. package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/p/mars.toml +7 -0
  193. package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/q/agents/qa.md +5 -0
  194. package/fixtures/selection/filtered-request-does-not-open-dependencies/packages/q/mars.toml +4 -0
  195. package/fixtures/selection/filtered-request-does-not-open-dependencies/request.json +10 -0
  196. package/fixtures/selection/include-by-kind/expected.json +17 -0
  197. package/fixtures/selection/include-by-kind/packages/p/agents/foo.md +5 -0
  198. package/fixtures/selection/include-by-kind/packages/p/mars.toml +4 -0
  199. package/fixtures/selection/include-by-kind/packages/p/skills/foo/SKILL.md +5 -0
  200. package/fixtures/selection/include-by-kind/request.json +10 -0
  201. package/fixtures/selection/include-closes-over-agent-skills/expected.json +31 -0
  202. package/fixtures/selection/include-closes-over-agent-skills/packages/p/agents/coder.md +6 -0
  203. package/fixtures/selection/include-closes-over-agent-skills/packages/p/mars.toml +4 -0
  204. package/fixtures/selection/include-closes-over-agent-skills/packages/p/skills/planning/SKILL.md +5 -0
  205. package/fixtures/selection/include-closes-over-agent-skills/packages/p/skills/review/SKILL.md +5 -0
  206. package/fixtures/selection/include-closes-over-agent-skills/request.json +10 -0
  207. package/fixtures/selection/include-selects-bootstrap-docs/expected.json +28 -0
  208. package/fixtures/selection/include-selects-bootstrap-docs/packages/p/agents/bar.md +5 -0
  209. package/fixtures/selection/include-selects-bootstrap-docs/packages/p/agents/foo.md +5 -0
  210. package/fixtures/selection/include-selects-bootstrap-docs/packages/p/mars.toml +4 -0
  211. package/fixtures/selection/include-selects-bootstrap-docs/packages/p/skills/baz/SKILL.md +5 -0
  212. package/fixtures/selection/include-selects-bootstrap-docs/request.json +24 -0
  213. package/fixtures/selection/only-agents-closes-over-skills/expected.json +42 -0
  214. package/fixtures/selection/only-agents-closes-over-skills/packages/p/agents/a.md +6 -0
  215. package/fixtures/selection/only-agents-closes-over-skills/packages/p/agents/b.md +5 -0
  216. package/fixtures/selection/only-agents-closes-over-skills/packages/p/mars.toml +4 -0
  217. package/fixtures/selection/only-agents-closes-over-skills/packages/p/skills/s1/SKILL.md +5 -0
  218. package/fixtures/selection/only-agents-closes-over-skills/packages/p/skills/s2/SKILL.md +5 -0
  219. package/fixtures/selection/only-agents-closes-over-skills/request.json +8 -0
  220. package/fixtures/selection/only-skills/expected.json +28 -0
  221. package/fixtures/selection/only-skills/packages/p/agents/coder.md +6 -0
  222. package/fixtures/selection/only-skills/packages/p/mars.toml +4 -0
  223. package/fixtures/selection/only-skills/packages/p/skills/planning/SKILL.md +5 -0
  224. package/fixtures/selection/only-skills/packages/p/skills/review/SKILL.md +5 -0
  225. package/fixtures/selection/only-skills/request.json +8 -0
  226. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/expected.json +38 -0
  227. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/lib/mars.toml +4 -0
  228. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/lib/skills/planning/SKILL.md +5 -0
  229. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/project/agents/coder.md +6 -0
  230. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/packages/project/mars.toml +7 -0
  231. package/fixtures/selection/root-agent-refs-resolve-like-a-dependencys/request.json +8 -0
  232. package/fixtures/selection/root-entries-are-the-consumers-requests/expected.json +46 -0
  233. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/mars.toml +4 -0
  234. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/skills/planning/SKILL.md +5 -0
  235. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/lib/skills/shared/SKILL.md +5 -0
  236. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/agents/coder.md +6 -0
  237. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/mars.toml +8 -0
  238. package/fixtures/selection/root-entries-are-the-consumers-requests/packages/project/skills/shared/SKILL.md +5 -0
  239. package/fixtures/selection/root-entries-are-the-consumers-requests/request.json +4 -0
  240. package/fixtures/selection/skill-names-no-skills/expected.json +17 -0
  241. package/fixtures/selection/skill-names-no-skills/packages/a/mars.toml +4 -0
  242. package/fixtures/selection/skill-names-no-skills/packages/a/skills/inner/SKILL.md +5 -0
  243. package/fixtures/selection/skill-names-no-skills/packages/a/skills/outer/SKILL.md +6 -0
  244. package/fixtures/selection/skill-names-no-skills/request.json +10 -0
  245. package/fixtures/selection/skill-ref-deferred-to-declared-provider/expected.json +17 -0
  246. package/fixtures/selection/skill-ref-deferred-to-declared-provider/packages/a/agents/coder.md +6 -0
  247. package/fixtures/selection/skill-ref-deferred-to-declared-provider/packages/a/mars.toml +5 -0
  248. package/fixtures/selection/skill-ref-deferred-to-declared-provider/request.json +7 -0
  249. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/expected.json +31 -0
  250. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/first/mars.toml +4 -0
  251. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/first/skills/planning/SKILL.md +5 -0
  252. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/requester/agents/coder.md +6 -0
  253. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/requester/mars.toml +4 -0
  254. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/second/mars.toml +4 -0
  255. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/packages/second/skills/planning/SKILL.md +5 -0
  256. package/fixtures/selection/skill-ref-falls-back-to-depth-first-order/request.json +19 -0
  257. package/fixtures/selection/skill-ref-missing/expected.json +36 -0
  258. package/fixtures/selection/skill-ref-missing/packages/a/agents/coder.md +6 -0
  259. package/fixtures/selection/skill-ref-missing/packages/a/mars.toml +4 -0
  260. package/fixtures/selection/skill-ref-missing/request.json +7 -0
  261. package/fixtures/selection/skill-ref-prefers-dependency-closure/expected.json +53 -0
  262. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/my-dep/mars.toml +4 -0
  263. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/my-dep/skills/planning/SKILL.md +5 -0
  264. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/requester/agents/coder.md +6 -0
  265. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/requester/mars.toml +7 -0
  266. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/sibling/mars.toml +4 -0
  267. package/fixtures/selection/skill-ref-prefers-dependency-closure/packages/sibling/skills/planning/SKILL.md +5 -0
  268. package/fixtures/selection/skill-ref-prefers-dependency-closure/request.json +10 -0
  269. package/fixtures/selection/skill-ref-prefers-own-package/expected.json +31 -0
  270. package/fixtures/selection/skill-ref-prefers-own-package/packages/my-dep/mars.toml +4 -0
  271. package/fixtures/selection/skill-ref-prefers-own-package/packages/my-dep/skills/planning/SKILL.md +5 -0
  272. package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/agents/coder.md +6 -0
  273. package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/mars.toml +7 -0
  274. package/fixtures/selection/skill-ref-prefers-own-package/packages/requester/skills/planning/SKILL.md +5 -0
  275. package/fixtures/selection/skill-ref-prefers-own-package/request.json +10 -0
  276. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/expected.json +45 -0
  277. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/a/agents/coder.md +6 -0
  278. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/a/mars.toml +8 -0
  279. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/mars.toml +4 -0
  280. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/skills/other/SKILL.md +5 -0
  281. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/packages/b/skills/planning/SKILL.md +5 -0
  282. package/fixtures/selection/skill-ref-pulls-bootstrap-docs/request.json +16 -0
  283. package/fixtures/selection/transitive-exclude-blocks-nothing/expected.json +31 -0
  284. package/fixtures/selection/transitive-exclude-blocks-nothing/packages/p3/agents/top.md +6 -0
  285. package/fixtures/selection/transitive-exclude-blocks-nothing/packages/p3/mars.toml +8 -0
  286. package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/mars.toml +4 -0
  287. package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/skills/qx/SKILL.md +5 -0
  288. package/fixtures/selection/transitive-exclude-blocks-nothing/packages/q/skills/qy/SKILL.md +5 -0
  289. package/fixtures/selection/transitive-exclude-blocks-nothing/request.json +7 -0
  290. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/expected.json +17 -0
  291. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/p2/agents/top.md +5 -0
  292. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/p2/mars.toml +8 -0
  293. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/agents/qa.md +5 -0
  294. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/agents/qb.md +5 -0
  295. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/packages/q/mars.toml +4 -0
  296. package/fixtures/selection/transitive-filtered-entry-seeds-nothing/request.json +7 -0
  297. package/fixtures/version/constraint-bare-minor-is-caret/expected.json +3 -0
  298. package/fixtures/version/constraint-bare-minor-is-caret/input.json +1 -0
  299. package/fixtures/version/constraint-branch-is-ref-pin/expected.json +3 -0
  300. package/fixtures/version/constraint-branch-is-ref-pin/input.json +1 -0
  301. package/fixtures/version/constraint-exact-v/expected.json +3 -0
  302. package/fixtures/version/constraint-exact-v/input.json +1 -0
  303. package/fixtures/version/constraint-huge-major-is-ref-pin/expected.json +3 -0
  304. package/fixtures/version/constraint-huge-major-is-ref-pin/input.json +1 -0
  305. package/fixtures/version/constraint-huge-minor-is-ref-pin/expected.json +3 -0
  306. package/fixtures/version/constraint-huge-minor-is-ref-pin/input.json +1 -0
  307. package/fixtures/version/constraint-latest-any-case/expected.json +3 -0
  308. package/fixtures/version/constraint-latest-any-case/input.json +1 -0
  309. package/fixtures/version/constraint-major-v/expected.json +3 -0
  310. package/fixtures/version/constraint-major-v/input.json +1 -0
  311. package/fixtures/version/constraint-minor-v/expected.json +3 -0
  312. package/fixtures/version/constraint-minor-v/input.json +1 -0
  313. package/fixtures/version/constraint-none/expected.json +3 -0
  314. package/fixtures/version/constraint-none/input.json +1 -0
  315. package/fixtures/version/constraint-range/expected.json +3 -0
  316. package/fixtures/version/constraint-range/input.json +1 -0
  317. package/fixtures/version/constraint-tilde/expected.json +3 -0
  318. package/fixtures/version/constraint-tilde/input.json +1 -0
  319. package/fixtures/version/constraint-v-prefix-garbage-is-ref-pin/expected.json +3 -0
  320. package/fixtures/version/constraint-v-prefix-garbage-is-ref-pin/input.json +1 -0
  321. package/fixtures/version/requirement-bare-is-floor/expected.json +3 -0
  322. package/fixtures/version/requirement-bare-is-floor/input.json +1 -0
  323. package/fixtures/version/requirement-bare-is-floor-below/expected.json +3 -0
  324. package/fixtures/version/requirement-bare-is-floor-below/input.json +1 -0
  325. package/fixtures/version/requirement-invalid/expected.json +6 -0
  326. package/fixtures/version/requirement-invalid/input.json +1 -0
  327. package/fixtures/version/requirement-range/expected.json +3 -0
  328. package/fixtures/version/requirement-range/input.json +1 -0
  329. package/fixtures/version/satisfies-caret-zero-minor/expected.json +3 -0
  330. package/fixtures/version/satisfies-caret-zero-minor/input.json +1 -0
  331. package/fixtures/version/satisfies-caret-zero-minor-excludes-next-minor/expected.json +3 -0
  332. package/fixtures/version/satisfies-caret-zero-minor-excludes-next-minor/input.json +1 -0
  333. package/fixtures/version/satisfies-latest/expected.json +3 -0
  334. package/fixtures/version/satisfies-latest/input.json +1 -0
  335. package/fixtures/version/satisfies-ref-pin-never/expected.json +3 -0
  336. package/fixtures/version/satisfies-ref-pin-never/input.json +1 -0
  337. package/fixtures/version/satisfies-v-minor-range/expected.json +3 -0
  338. package/fixtures/version/satisfies-v-minor-range/input.json +1 -0
  339. package/fixtures/version/select-equal-versions-later-tag-wins/expected.json +3 -0
  340. package/fixtures/version/select-equal-versions-later-tag-wins/input.json +1 -0
  341. package/fixtures/version/select-excluded-version-skipped/expected.json +3 -0
  342. package/fixtures/version/select-excluded-version-skipped/input.json +1 -0
  343. package/fixtures/version/select-intersects-constraints/expected.json +3 -0
  344. package/fixtures/version/select-intersects-constraints/input.json +1 -0
  345. package/fixtures/version/select-latest-beside-range-picks-newest/expected.json +3 -0
  346. package/fixtures/version/select-latest-beside-range-picks-newest/input.json +1 -0
  347. package/fixtures/version/select-latest-constraint-ignores-lock/expected.json +3 -0
  348. package/fixtures/version/select-latest-constraint-ignores-lock/input.json +1 -0
  349. package/fixtures/version/select-latest-only-ignores-lock/expected.json +3 -0
  350. package/fixtures/version/select-latest-only-ignores-lock/input.json +1 -0
  351. package/fixtures/version/select-lock-excluded-picks-newest/expected.json +3 -0
  352. package/fixtures/version/select-lock-excluded-picks-newest/input.json +1 -0
  353. package/fixtures/version/select-lock-no-tags-keeps-lock/expected.json +3 -0
  354. package/fixtures/version/select-lock-no-tags-keeps-lock/input.json +1 -0
  355. package/fixtures/version/select-lock-outside-constraints-falls-to-newest/expected.json +3 -0
  356. package/fixtures/version/select-lock-outside-constraints-falls-to-newest/input.json +1 -0
  357. package/fixtures/version/select-lock-tag-deleted-keeps-lock/expected.json +3 -0
  358. package/fixtures/version/select-lock-tag-deleted-keeps-lock/input.json +1 -0
  359. package/fixtures/version/select-newest-ignores-tag-order/expected.json +3 -0
  360. package/fixtures/version/select-newest-ignores-tag-order/input.json +1 -0
  361. package/fixtures/version/select-no-satisfying-lists-sorted/expected.json +6 -0
  362. package/fixtures/version/select-no-satisfying-lists-sorted/input.json +1 -0
  363. package/fixtures/version/select-no-version-tags-is-untagged/expected.json +3 -0
  364. package/fixtures/version/select-no-version-tags-is-untagged/input.json +1 -0
  365. package/fixtures/version/select-non-version-tags-are-skipped/expected.json +3 -0
  366. package/fixtures/version/select-non-version-tags-are-skipped/input.json +1 -0
  367. package/fixtures/version/select-pin-beside-tags-wins/expected.json +3 -0
  368. package/fixtures/version/select-pin-beside-tags-wins/input.json +1 -0
  369. package/fixtures/version/select-prefers-lock/expected.json +3 -0
  370. package/fixtures/version/select-prefers-lock/input.json +1 -0
  371. package/fixtures/version/select-prerelease-needs-opt-in/expected.json +3 -0
  372. package/fixtures/version/select-prerelease-needs-opt-in/input.json +1 -0
  373. package/fixtures/version/settle-different-pins-refuse/expected.json +6 -0
  374. package/fixtures/version/settle-different-pins-refuse/input.json +1 -0
  375. package/fixtures/version/settle-latest-beside-pin-holds/expected.json +3 -0
  376. package/fixtures/version/settle-latest-beside-pin-holds/input.json +1 -0
  377. package/fixtures/version/settle-pin-beside-range-refuses/expected.json +6 -0
  378. package/fixtures/version/settle-pin-beside-range-refuses/input.json +1 -0
  379. package/fixtures/version/settle-same-pin-agrees/expected.json +3 -0
  380. package/fixtures/version/settle-same-pin-agrees/input.json +1 -0
  381. package/fixtures/version/tag-bare/expected.json +3 -0
  382. package/fixtures/version/tag-bare/input.json +1 -0
  383. package/fixtures/version/tag-double-v/expected.json +1 -0
  384. package/fixtures/version/tag-double-v/input.json +1 -0
  385. package/fixtures/version/tag-not-semver/expected.json +1 -0
  386. package/fixtures/version/tag-not-semver/input.json +1 -0
  387. package/fixtures/version/tag-partial/expected.json +1 -0
  388. package/fixtures/version/tag-partial/input.json +1 -0
  389. package/fixtures/version/tag-v-prefixed/expected.json +3 -0
  390. package/fixtures/version/tag-v-prefixed/input.json +1 -0
  391. package/fixtures/vocabulary/expected.json +2 -5
  392. package/index.d.ts +216 -3
  393. package/node/mars_schema_wasm.d.ts +36 -3
  394. package/node/mars_schema_wasm.js +132 -9
  395. package/node/mars_schema_wasm_bg.wasm +0 -0
  396. package/node/mars_schema_wasm_bg.wasm.d.ts +4 -0
  397. package/package.json +1 -1
  398. package/web/mars_schema_wasm.d.ts +40 -3
  399. package/web/mars_schema_wasm.js +128 -9
  400. package/web/mars_schema_wasm_bg.wasm +0 -0
  401. package/web/mars_schema_wasm_bg.wasm.d.ts +4 -0
@@ -155,6 +155,30 @@
155
155
  }
156
156
  ],
157
157
  "payload": [],
158
+ "selection": {
159
+ "definitions": [
160
+ {
161
+ "kind": "skill",
162
+ "slug": "default",
163
+ "output_path": "skills/default/SKILL.md",
164
+ "skills": []
165
+ },
166
+ {
167
+ "kind": "skill",
168
+ "slug": "more",
169
+ "output_path": "skills/more/SKILL.md",
170
+ "skills": []
171
+ },
172
+ {
173
+ "kind": "skill",
174
+ "slug": "own",
175
+ "output_path": "skills/own/SKILL.md",
176
+ "skills": []
177
+ }
178
+ ],
179
+ "edges": [],
180
+ "uses_providers": []
181
+ },
158
182
  "diagnostics": {}
159
183
  }
160
184
  },
@@ -246,6 +270,18 @@
246
270
  }
247
271
  ],
248
272
  "payload": [],
273
+ "selection": {
274
+ "definitions": [
275
+ {
276
+ "kind": "skill",
277
+ "slug": "solo",
278
+ "output_path": "skills/solo/SKILL.md",
279
+ "skills": []
280
+ }
281
+ ],
282
+ "edges": [],
283
+ "uses_providers": []
284
+ },
249
285
  "diagnostics": {}
250
286
  }
251
287
  },
@@ -269,6 +305,11 @@
269
305
  },
270
306
  "definitions": [],
271
307
  "payload": [],
308
+ "selection": {
309
+ "definitions": [],
310
+ "edges": [],
311
+ "uses_providers": []
312
+ },
272
313
  "diagnostics": {
273
314
  ".claude-plugin/plugin.json": [
274
315
  {
@@ -447,6 +488,30 @@
447
488
  }
448
489
  ],
449
490
  "payload": [],
491
+ "selection": {
492
+ "definitions": [
493
+ {
494
+ "kind": "agent",
495
+ "slug": "one",
496
+ "output_path": "agents/one.md",
497
+ "skills": []
498
+ },
499
+ {
500
+ "kind": "skill",
501
+ "slug": "default",
502
+ "output_path": "skills/default/SKILL.md",
503
+ "skills": []
504
+ },
505
+ {
506
+ "kind": "skill",
507
+ "slug": "listed",
508
+ "output_path": "skills/listed/SKILL.md",
509
+ "skills": []
510
+ }
511
+ ],
512
+ "edges": [],
513
+ "uses_providers": []
514
+ },
450
515
  "diagnostics": {}
451
516
  }
452
517
  }
@@ -79,6 +79,18 @@
79
79
  }
80
80
  ],
81
81
  "payload": [],
82
+ "selection": {
83
+ "definitions": [
84
+ {
85
+ "kind": "skill",
86
+ "slug": "native",
87
+ "output_path": "skills/native/SKILL.md",
88
+ "skills": []
89
+ }
90
+ ],
91
+ "edges": [],
92
+ "uses_providers": []
93
+ },
82
94
  "diagnostics": {}
83
95
  }
84
96
  }
@@ -126,6 +126,24 @@
126
126
  }
127
127
  ],
128
128
  "payload": [],
129
+ "selection": {
130
+ "definitions": [
131
+ {
132
+ "kind": "agent",
133
+ "slug": "helper",
134
+ "output_path": "agents/helper.md",
135
+ "skills": []
136
+ },
137
+ {
138
+ "kind": "skill",
139
+ "slug": "authored",
140
+ "output_path": "skills/authored/SKILL.md",
141
+ "skills": []
142
+ }
143
+ ],
144
+ "edges": [],
145
+ "uses_providers": []
146
+ },
129
147
  "diagnostics": {}
130
148
  }
131
149
  }
@@ -213,6 +213,36 @@
213
213
  "output_path": "skills/git-guardrails/scripts/guard.sh"
214
214
  }
215
215
  ],
216
+ "selection": {
217
+ "definitions": [
218
+ {
219
+ "kind": "skill",
220
+ "slug": "diagnose",
221
+ "output_path": "skills/diagnose/SKILL.md",
222
+ "skills": []
223
+ },
224
+ {
225
+ "kind": "skill",
226
+ "slug": "git-guardrails",
227
+ "output_path": "skills/git-guardrails/SKILL.md",
228
+ "skills": []
229
+ },
230
+ {
231
+ "kind": "skill",
232
+ "slug": "grill-me",
233
+ "output_path": "skills/grill-me/SKILL.md",
234
+ "skills": []
235
+ },
236
+ {
237
+ "kind": "skill",
238
+ "slug": "tdd",
239
+ "output_path": "skills/tdd/SKILL.md",
240
+ "skills": []
241
+ }
242
+ ],
243
+ "edges": [],
244
+ "uses_providers": []
245
+ },
216
246
  "diagnostics": {}
217
247
  }
218
248
  }
@@ -163,6 +163,24 @@
163
163
  }
164
164
  ],
165
165
  "payload": [],
166
+ "selection": {
167
+ "definitions": [
168
+ {
169
+ "kind": "agent",
170
+ "slug": "reader",
171
+ "output_path": "agents/reader.md",
172
+ "skills": []
173
+ },
174
+ {
175
+ "kind": "skill",
176
+ "slug": "notes",
177
+ "output_path": "skills/notes/SKILL.md",
178
+ "skills": []
179
+ }
180
+ ],
181
+ "edges": [],
182
+ "uses_providers": []
183
+ },
166
184
  "diagnostics": {}
167
185
  }
168
186
  }
@@ -87,6 +87,18 @@
87
87
  "output_path": "skills/parent/guide.md"
88
88
  }
89
89
  ],
90
+ "selection": {
91
+ "definitions": [
92
+ {
93
+ "kind": "skill",
94
+ "slug": "parent",
95
+ "output_path": "skills/parent/SKILL.md",
96
+ "skills": []
97
+ }
98
+ ],
99
+ "edges": [],
100
+ "uses_providers": []
101
+ },
90
102
  "diagnostics": {}
91
103
  }
92
104
  }
@@ -176,6 +176,30 @@
176
176
  "output_path": "skills/test-driven-development/references/tips.md"
177
177
  }
178
178
  ],
179
+ "selection": {
180
+ "definitions": [
181
+ {
182
+ "kind": "skill",
183
+ "slug": "brainstorming",
184
+ "output_path": "skills/brainstorming/SKILL.md",
185
+ "skills": []
186
+ },
187
+ {
188
+ "kind": "skill",
189
+ "slug": "test-driven-development",
190
+ "output_path": "skills/test-driven-development/SKILL.md",
191
+ "skills": []
192
+ },
193
+ {
194
+ "kind": "skill",
195
+ "slug": "using-git-worktrees",
196
+ "output_path": "skills/using-git-worktrees/SKILL.md",
197
+ "skills": []
198
+ }
199
+ ],
200
+ "edges": [],
201
+ "uses_providers": []
202
+ },
179
203
  "diagnostics": {
180
204
  "hooks/hooks.json": [
181
205
  {
@@ -156,6 +156,18 @@
156
156
  }
157
157
  ],
158
158
  "payload": [],
159
+ "selection": {
160
+ "definitions": [
161
+ {
162
+ "kind": "agent",
163
+ "slug": "review",
164
+ "output_path": "agents/review.md",
165
+ "skills": []
166
+ }
167
+ ],
168
+ "edges": [],
169
+ "uses_providers": []
170
+ },
159
171
  "diagnostics": {},
160
172
  "changes": {
161
173
  "agents/review.md": [
@@ -134,6 +134,18 @@
134
134
  }
135
135
  ],
136
136
  "payload": [],
137
+ "selection": {
138
+ "definitions": [
139
+ {
140
+ "kind": "agent",
141
+ "slug": "review",
142
+ "output_path": "agents/review.md",
143
+ "skills": []
144
+ }
145
+ ],
146
+ "edges": [],
147
+ "uses_providers": []
148
+ },
137
149
  "diagnostics": {},
138
150
  "changes": {
139
151
  "agents/review.md": [
@@ -205,6 +205,30 @@
205
205
  }
206
206
  ],
207
207
  "payload": [],
208
+ "selection": {
209
+ "definitions": [
210
+ {
211
+ "kind": "agent",
212
+ "slug": "reviewer",
213
+ "output_path": "agents/reviewer.md",
214
+ "skills": []
215
+ },
216
+ {
217
+ "kind": "skill",
218
+ "slug": "fmt",
219
+ "output_path": "skills/fmt/SKILL.md",
220
+ "skills": []
221
+ },
222
+ {
223
+ "kind": "skill",
224
+ "slug": "lint",
225
+ "output_path": "skills/lint/SKILL.md",
226
+ "skills": []
227
+ }
228
+ ],
229
+ "edges": [],
230
+ "uses_providers": []
231
+ },
208
232
  "diagnostics": {},
209
233
  "changes": {
210
234
  "agents/reviewer.md": [
@@ -129,6 +129,24 @@
129
129
  }
130
130
  ],
131
131
  "payload": [],
132
+ "selection": {
133
+ "definitions": [
134
+ {
135
+ "kind": "agent",
136
+ "slug": "real",
137
+ "output_path": "agents/real.md",
138
+ "skills": []
139
+ },
140
+ {
141
+ "kind": "skill",
142
+ "slug": "a",
143
+ "output_path": "skills/a/SKILL.md",
144
+ "skills": []
145
+ }
146
+ ],
147
+ "edges": [],
148
+ "uses_providers": []
149
+ },
132
150
  "diagnostics": {
133
151
  ".claude-plugin/plugin.json": [
134
152
  {
@@ -132,6 +132,18 @@
132
132
  }
133
133
  ],
134
134
  "payload": [],
135
+ "selection": {
136
+ "definitions": [
137
+ {
138
+ "kind": "agent",
139
+ "slug": "reader",
140
+ "output_path": "agents/reader.md",
141
+ "skills": []
142
+ }
143
+ ],
144
+ "edges": [],
145
+ "uses_providers": []
146
+ },
135
147
  "diagnostics": {}
136
148
  }
137
149
  }
@@ -173,6 +173,24 @@
173
173
  }
174
174
  ],
175
175
  "payload": [],
176
+ "selection": {
177
+ "definitions": [
178
+ {
179
+ "kind": "agent",
180
+ "slug": "old",
181
+ "output_path": "agents/old.md",
182
+ "skills": []
183
+ },
184
+ {
185
+ "kind": "skill",
186
+ "slug": "review",
187
+ "output_path": "skills/review/SKILL.md",
188
+ "skills": []
189
+ }
190
+ ],
191
+ "edges": [],
192
+ "uses_providers": []
193
+ },
176
194
  "diagnostics": {},
177
195
  "changes": {
178
196
  "agents/old.md": [
@@ -91,6 +91,18 @@
91
91
  "output_path": "skills/my-skill/scripts/run.sh"
92
92
  }
93
93
  ],
94
+ "selection": {
95
+ "definitions": [
96
+ {
97
+ "kind": "skill",
98
+ "slug": "my-skill",
99
+ "output_path": "skills/my-skill/SKILL.md",
100
+ "skills": []
101
+ }
102
+ ],
103
+ "edges": [],
104
+ "uses_providers": []
105
+ },
94
106
  "diagnostics": {}
95
107
  }
96
108
  }
@@ -82,6 +82,18 @@
82
82
  }
83
83
  ],
84
84
  "payload": [],
85
+ "selection": {
86
+ "definitions": [
87
+ {
88
+ "kind": "skill",
89
+ "slug": "some-repo",
90
+ "output_path": "skills/some-repo/SKILL.md",
91
+ "skills": []
92
+ }
93
+ ],
94
+ "edges": [],
95
+ "uses_providers": []
96
+ },
85
97
  "diagnostics": {
86
98
  "SKILL.md": [
87
99
  {
@@ -127,6 +127,24 @@
127
127
  }
128
128
  ],
129
129
  "payload": [],
130
+ "selection": {
131
+ "definitions": [
132
+ {
133
+ "kind": "agent",
134
+ "slug": "review",
135
+ "output_path": "agents/review.md",
136
+ "skills": []
137
+ },
138
+ {
139
+ "kind": "skill",
140
+ "slug": "review",
141
+ "output_path": "skills/review/SKILL.md",
142
+ "skills": []
143
+ }
144
+ ],
145
+ "edges": [],
146
+ "uses_providers": []
147
+ },
130
148
  "diagnostics": {}
131
149
  }
132
150
  }
@@ -122,6 +122,24 @@
122
122
  "output_path": "skills/shared/README.md"
123
123
  }
124
124
  ],
125
+ "selection": {
126
+ "definitions": [
127
+ {
128
+ "kind": "skill",
129
+ "slug": "main",
130
+ "output_path": "skills/main/SKILL.md",
131
+ "skills": []
132
+ },
133
+ {
134
+ "kind": "skill",
135
+ "slug": "shared",
136
+ "output_path": "skills/shared/SKILL.md",
137
+ "skills": []
138
+ }
139
+ ],
140
+ "edges": [],
141
+ "uses_providers": []
142
+ },
125
143
  "diagnostics": {
126
144
  "skills/main/SKILL.md": [
127
145
  {
@@ -131,10 +149,10 @@
131
149
  "message": "links to `../../scripts/build.sh`, which is outside the skill and is not imported"
132
150
  },
133
151
  {
134
- "code": "skill.reference-to-skill",
152
+ "code": "skill.outside-reference",
135
153
  "severity": "warning",
136
154
  "path": [],
137
- "message": "links to `../dropped/SKILL.md`, a file of skill `dropped`, which is not imported; stored it would be `skills/dropped/SKILL.md`"
155
+ "message": "links to `../dropped/SKILL.md`, which is outside the skill and is not imported"
138
156
  }
139
157
  ]
140
158
  }
@@ -295,6 +295,48 @@
295
295
  "output_path": "skills/everything/scripts/go.sh"
296
296
  }
297
297
  ],
298
+ "selection": {
299
+ "definitions": [
300
+ {
301
+ "kind": "skill",
302
+ "slug": "badname",
303
+ "output_path": "skills/badname/SKILL.md",
304
+ "skills": []
305
+ },
306
+ {
307
+ "kind": "skill",
308
+ "slug": "broken",
309
+ "output_path": "skills/broken/SKILL.md",
310
+ "skills": []
311
+ },
312
+ {
313
+ "kind": "skill",
314
+ "slug": "colon",
315
+ "output_path": "skills/colon/SKILL.md",
316
+ "skills": []
317
+ },
318
+ {
319
+ "kind": "skill",
320
+ "slug": "everything",
321
+ "output_path": "skills/everything/SKILL.md",
322
+ "skills": []
323
+ },
324
+ {
325
+ "kind": "skill",
326
+ "slug": "mismatch",
327
+ "output_path": "skills/mismatch/SKILL.md",
328
+ "skills": []
329
+ },
330
+ {
331
+ "kind": "skill",
332
+ "slug": "plain",
333
+ "output_path": "skills/plain/SKILL.md",
334
+ "skills": []
335
+ }
336
+ ],
337
+ "edges": [],
338
+ "uses_providers": []
339
+ },
298
340
  "diagnostics": {
299
341
  "skills/badname/SKILL.md": [
300
342
  {
@@ -122,6 +122,24 @@
122
122
  "output_path": "skills/tdd/notes.md"
123
123
  }
124
124
  ],
125
+ "selection": {
126
+ "definitions": [
127
+ {
128
+ "kind": "skill",
129
+ "slug": "shallow",
130
+ "output_path": "skills/shallow/SKILL.md",
131
+ "skills": []
132
+ },
133
+ {
134
+ "kind": "skill",
135
+ "slug": "tdd",
136
+ "output_path": "skills/tdd/SKILL.md",
137
+ "skills": []
138
+ }
139
+ ],
140
+ "edges": [],
141
+ "uses_providers": []
142
+ },
125
143
  "diagnostics": {
126
144
  "skills/engineering/tdd/examples/SKILL.md": [
127
145
  {
@@ -83,6 +83,18 @@
83
83
  }
84
84
  ],
85
85
  "payload": [],
86
+ "selection": {
87
+ "definitions": [
88
+ {
89
+ "kind": "skill",
90
+ "slug": "inside",
91
+ "output_path": "skills/inside/SKILL.md",
92
+ "skills": []
93
+ }
94
+ ],
95
+ "edges": [],
96
+ "uses_providers": []
97
+ },
86
98
  "diagnostics": {}
87
99
  }
88
100
  }
@@ -75,5 +75,17 @@
75
75
  }
76
76
  ],
77
77
  "payload": [],
78
+ "selection": {
79
+ "definitions": [
80
+ {
81
+ "kind": "agent",
82
+ "slug": "anchored",
83
+ "output_path": "agents/anchored.md",
84
+ "skills": []
85
+ }
86
+ ],
87
+ "edges": [],
88
+ "uses_providers": []
89
+ },
78
90
  "diagnostics": {}
79
91
  }
@@ -37,5 +37,17 @@
37
37
  }
38
38
  ],
39
39
  "payload": [],
40
+ "selection": {
41
+ "definitions": [
42
+ {
43
+ "kind": "skill",
44
+ "slug": "current",
45
+ "output_path": "skills/current/SKILL.md",
46
+ "skills": []
47
+ }
48
+ ],
49
+ "edges": [],
50
+ "uses_providers": []
51
+ },
40
52
  "diagnostics": {}
41
53
  }
@@ -63,5 +63,17 @@
63
63
  }
64
64
  ],
65
65
  "payload": [],
66
+ "selection": {
67
+ "definitions": [
68
+ {
69
+ "kind": "agent",
70
+ "slug": "local",
71
+ "output_path": "agents/local.md",
72
+ "skills": []
73
+ }
74
+ ],
75
+ "edges": [],
76
+ "uses_providers": []
77
+ },
66
78
  "diagnostics": {}
67
79
  }
@@ -81,5 +81,17 @@
81
81
  }
82
82
  ],
83
83
  "payload": [],
84
+ "selection": {
85
+ "definitions": [
86
+ {
87
+ "kind": "agent",
88
+ "slug": "bom",
89
+ "output_path": "agents/bom.md",
90
+ "skills": []
91
+ }
92
+ ],
93
+ "edges": [],
94
+ "uses_providers": []
95
+ },
84
96
  "diagnostics": {}
85
97
  }