@meridian-flow/mars-schema 0.0.0-stage → 0.20.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 (967) hide show
  1. package/README.md +116 -2
  2. package/fixtures/emit/empty-list/expected.txt +1 -0
  3. package/fixtures/emit/empty-list/value.json +1 -0
  4. package/fixtures/emit/empty-map/expected.txt +1 -0
  5. package/fixtures/emit/empty-map/value.json +1 -0
  6. package/fixtures/emit/false/expected.txt +1 -0
  7. package/fixtures/emit/false/value.json +1 -0
  8. package/fixtures/emit/float/expected.txt +1 -0
  9. package/fixtures/emit/float/value.json +1 -0
  10. package/fixtures/emit/float-1e16/expected.txt +1 -0
  11. package/fixtures/emit/float-1e16/value.json +1 -0
  12. package/fixtures/emit/float-1e21/expected.txt +1 -0
  13. package/fixtures/emit/float-1e21/value.json +1 -0
  14. package/fixtures/emit/float-1e300/expected.txt +1 -0
  15. package/fixtures/emit/float-1e300/value.json +1 -0
  16. package/fixtures/emit/float-2pow53/expected.txt +1 -0
  17. package/fixtures/emit/float-2pow53/value.json +1 -0
  18. package/fixtures/emit/float-big-fraction/expected.txt +1 -0
  19. package/fixtures/emit/float-big-fraction/value.json +1 -0
  20. package/fixtures/emit/float-in-map/expected.txt +5 -0
  21. package/fixtures/emit/float-in-map/value.json +1 -0
  22. package/fixtures/emit/float-neg-1e300/expected.txt +1 -0
  23. package/fixtures/emit/float-neg-1e300/value.json +1 -0
  24. package/fixtures/emit/float-small/expected.txt +1 -0
  25. package/fixtures/emit/float-small/value.json +1 -0
  26. package/fixtures/emit/float-tiny/expected.txt +1 -0
  27. package/fixtures/emit/float-tiny/value.json +1 -0
  28. package/fixtures/emit/int-max-safe/expected.txt +1 -0
  29. package/fixtures/emit/int-max-safe/value.json +1 -0
  30. package/fixtures/emit/int-neg-max-safe/expected.txt +1 -0
  31. package/fixtures/emit/int-neg-max-safe/value.json +1 -0
  32. package/fixtures/emit/int-negative/expected.txt +1 -0
  33. package/fixtures/emit/int-negative/value.json +1 -0
  34. package/fixtures/emit/int-one/expected.txt +1 -0
  35. package/fixtures/emit/int-one/value.json +1 -0
  36. package/fixtures/emit/int-zero/expected.txt +1 -0
  37. package/fixtures/emit/int-zero/value.json +1 -0
  38. package/fixtures/emit/key-1000-chars/expected.txt +2 -0
  39. package/fixtures/emit/key-1000-chars/value.json +1 -0
  40. package/fixtures/emit/list-nested/expected.txt +10 -0
  41. package/fixtures/emit/list-nested/value.json +1 -0
  42. package/fixtures/emit/list-strings/expected.txt +5 -0
  43. package/fixtures/emit/list-strings/value.json +1 -0
  44. package/fixtures/emit/list-top-level-key/expected.txt +3 -0
  45. package/fixtures/emit/list-top-level-key/value.json +1 -0
  46. package/fixtures/emit/map-allowlist/expected.txt +3 -0
  47. package/fixtures/emit/map-allowlist/value.json +1 -0
  48. package/fixtures/emit/map-allowlist-flow-namespace/expected.txt +3 -0
  49. package/fixtures/emit/map-allowlist-flow-namespace/value.json +1 -0
  50. package/fixtures/emit/map-key-classes/expected.txt +30 -0
  51. package/fixtures/emit/map-key-classes/value.json +1 -0
  52. package/fixtures/emit/map-key-classes-top-level/expected.txt +30 -0
  53. package/fixtures/emit/map-key-classes-top-level/value.json +1 -0
  54. package/fixtures/emit/map-key-integer-like/expected.txt +4 -0
  55. package/fixtures/emit/map-key-integer-like/value.json +1 -0
  56. package/fixtures/emit/map-mixed-scalars/expected.txt +8 -0
  57. package/fixtures/emit/map-mixed-scalars/value.json +1 -0
  58. package/fixtures/emit/map-multiline-values/expected.txt +5 -0
  59. package/fixtures/emit/map-multiline-values/value.json +1 -0
  60. package/fixtures/emit/map-nested/expected.txt +8 -0
  61. package/fixtures/emit/map-nested/value.json +1 -0
  62. package/fixtures/emit/map-nested-order/expected.txt +8 -0
  63. package/fixtures/emit/map-nested-order/value.json +1 -0
  64. package/fixtures/emit/map-nested-top-level/expected.txt +8 -0
  65. package/fixtures/emit/map-nested-top-level/value.json +1 -0
  66. package/fixtures/emit/null/expected.txt +1 -0
  67. package/fixtures/emit/null/value.json +1 -0
  68. package/fixtures/emit/refuse-in-collection/expected-error.txt +1 -0
  69. package/fixtures/emit/refuse-in-collection/value.json +1 -0
  70. package/fixtures/emit/refuse-int-2pow53/expected-error.txt +1 -0
  71. package/fixtures/emit/refuse-int-2pow53/value.json +1 -0
  72. package/fixtures/emit/refuse-int-neg-too-large/expected-error.txt +1 -0
  73. package/fixtures/emit/refuse-int-neg-too-large/value.json +1 -0
  74. package/fixtures/emit/refuse-int-too-large/expected-error.txt +1 -0
  75. package/fixtures/emit/refuse-int-too-large/value.json +1 -0
  76. package/fixtures/emit/refuse-key-too-long/expected-error.txt +1 -0
  77. package/fixtures/emit/refuse-key-too-long/value.json +1 -0
  78. package/fixtures/emit/refuse-key-too-long-top-level/expected-error.txt +1 -0
  79. package/fixtures/emit/refuse-key-too-long-top-level/value.json +1 -0
  80. package/fixtures/emit/string-00/expected.txt +1 -0
  81. package/fixtures/emit/string-00/value.json +1 -0
  82. package/fixtures/emit/string-01/expected.txt +1 -0
  83. package/fixtures/emit/string-01/value.json +1 -0
  84. package/fixtures/emit/string-02/expected.txt +1 -0
  85. package/fixtures/emit/string-02/value.json +1 -0
  86. package/fixtures/emit/string-03/expected.txt +1 -0
  87. package/fixtures/emit/string-03/value.json +1 -0
  88. package/fixtures/emit/string-04/expected.txt +1 -0
  89. package/fixtures/emit/string-04/value.json +1 -0
  90. package/fixtures/emit/string-05/expected.txt +1 -0
  91. package/fixtures/emit/string-05/value.json +1 -0
  92. package/fixtures/emit/string-06/expected.txt +1 -0
  93. package/fixtures/emit/string-06/value.json +1 -0
  94. package/fixtures/emit/string-07/expected.txt +1 -0
  95. package/fixtures/emit/string-07/value.json +1 -0
  96. package/fixtures/emit/string-08/expected.txt +1 -0
  97. package/fixtures/emit/string-08/value.json +1 -0
  98. package/fixtures/emit/string-09/expected.txt +1 -0
  99. package/fixtures/emit/string-09/value.json +1 -0
  100. package/fixtures/emit/string-10/expected.txt +1 -0
  101. package/fixtures/emit/string-10/value.json +1 -0
  102. package/fixtures/emit/string-11/expected.txt +1 -0
  103. package/fixtures/emit/string-11/value.json +1 -0
  104. package/fixtures/emit/string-12/expected.txt +1 -0
  105. package/fixtures/emit/string-12/value.json +1 -0
  106. package/fixtures/emit/string-13/expected.txt +1 -0
  107. package/fixtures/emit/string-13/value.json +1 -0
  108. package/fixtures/emit/string-14/expected.txt +1 -0
  109. package/fixtures/emit/string-14/value.json +1 -0
  110. package/fixtures/emit/string-15/expected.txt +1 -0
  111. package/fixtures/emit/string-15/value.json +1 -0
  112. package/fixtures/emit/string-16/expected.txt +1 -0
  113. package/fixtures/emit/string-16/value.json +1 -0
  114. package/fixtures/emit/string-17/expected.txt +1 -0
  115. package/fixtures/emit/string-17/value.json +1 -0
  116. package/fixtures/emit/string-18/expected.txt +1 -0
  117. package/fixtures/emit/string-18/value.json +1 -0
  118. package/fixtures/emit/string-19/expected.txt +1 -0
  119. package/fixtures/emit/string-19/value.json +1 -0
  120. package/fixtures/emit/string-20/expected.txt +1 -0
  121. package/fixtures/emit/string-20/value.json +1 -0
  122. package/fixtures/emit/string-21/expected.txt +1 -0
  123. package/fixtures/emit/string-21/value.json +1 -0
  124. package/fixtures/emit/string-22/expected.txt +1 -0
  125. package/fixtures/emit/string-22/value.json +1 -0
  126. package/fixtures/emit/string-23/expected.txt +1 -0
  127. package/fixtures/emit/string-23/value.json +1 -0
  128. package/fixtures/emit/string-24/expected.txt +1 -0
  129. package/fixtures/emit/string-24/value.json +1 -0
  130. package/fixtures/emit/string-25/expected.txt +1 -0
  131. package/fixtures/emit/string-25/value.json +1 -0
  132. package/fixtures/emit/string-26/expected.txt +1 -0
  133. package/fixtures/emit/string-26/value.json +1 -0
  134. package/fixtures/emit/string-27/expected.txt +1 -0
  135. package/fixtures/emit/string-27/value.json +1 -0
  136. package/fixtures/emit/string-28/expected.txt +1 -0
  137. package/fixtures/emit/string-28/value.json +1 -0
  138. package/fixtures/emit/string-29/expected.txt +1 -0
  139. package/fixtures/emit/string-29/value.json +1 -0
  140. package/fixtures/emit/string-30/expected.txt +1 -0
  141. package/fixtures/emit/string-30/value.json +1 -0
  142. package/fixtures/emit/string-31/expected.txt +1 -0
  143. package/fixtures/emit/string-31/value.json +1 -0
  144. package/fixtures/emit/string-32/expected.txt +1 -0
  145. package/fixtures/emit/string-32/value.json +1 -0
  146. package/fixtures/emit/string-33/expected.txt +1 -0
  147. package/fixtures/emit/string-33/value.json +1 -0
  148. package/fixtures/emit/string-34/expected.txt +1 -0
  149. package/fixtures/emit/string-34/value.json +1 -0
  150. package/fixtures/emit/string-35/expected.txt +1 -0
  151. package/fixtures/emit/string-35/value.json +1 -0
  152. package/fixtures/emit/string-36/expected.txt +1 -0
  153. package/fixtures/emit/string-36/value.json +1 -0
  154. package/fixtures/emit/string-37/expected.txt +1 -0
  155. package/fixtures/emit/string-37/value.json +1 -0
  156. package/fixtures/emit/string-38/expected.txt +1 -0
  157. package/fixtures/emit/string-38/value.json +1 -0
  158. package/fixtures/emit/string-39/expected.txt +1 -0
  159. package/fixtures/emit/string-39/value.json +1 -0
  160. package/fixtures/emit/string-40/expected.txt +1 -0
  161. package/fixtures/emit/string-40/value.json +1 -0
  162. package/fixtures/emit/string-41/expected.txt +1 -0
  163. package/fixtures/emit/string-41/value.json +1 -0
  164. package/fixtures/emit/string-42/expected.txt +1 -0
  165. package/fixtures/emit/string-42/value.json +1 -0
  166. package/fixtures/emit/string-43/expected.txt +1 -0
  167. package/fixtures/emit/string-43/value.json +1 -0
  168. package/fixtures/emit/string-44/expected.txt +1 -0
  169. package/fixtures/emit/string-44/value.json +1 -0
  170. package/fixtures/emit/string-45/expected.txt +1 -0
  171. package/fixtures/emit/string-45/value.json +1 -0
  172. package/fixtures/emit/string-46/expected.txt +1 -0
  173. package/fixtures/emit/string-46/value.json +1 -0
  174. package/fixtures/emit/string-47/expected.txt +1 -0
  175. package/fixtures/emit/string-47/value.json +1 -0
  176. package/fixtures/emit/string-48/expected.txt +1 -0
  177. package/fixtures/emit/string-48/value.json +1 -0
  178. package/fixtures/emit/string-49/expected.txt +1 -0
  179. package/fixtures/emit/string-49/value.json +1 -0
  180. package/fixtures/emit/string-50/expected.txt +1 -0
  181. package/fixtures/emit/string-50/value.json +1 -0
  182. package/fixtures/emit/string-51/expected.txt +1 -0
  183. package/fixtures/emit/string-51/value.json +1 -0
  184. package/fixtures/emit/string-52/expected.txt +1 -0
  185. package/fixtures/emit/string-52/value.json +1 -0
  186. package/fixtures/emit/string-53/expected.txt +1 -0
  187. package/fixtures/emit/string-53/value.json +1 -0
  188. package/fixtures/emit/string-54/expected.txt +1 -0
  189. package/fixtures/emit/string-54/value.json +1 -0
  190. package/fixtures/emit/string-55/expected.txt +1 -0
  191. package/fixtures/emit/string-55/value.json +1 -0
  192. package/fixtures/emit/string-56/expected.txt +1 -0
  193. package/fixtures/emit/string-56/value.json +1 -0
  194. package/fixtures/emit/string-57/expected.txt +1 -0
  195. package/fixtures/emit/string-57/value.json +1 -0
  196. package/fixtures/emit/string-58/expected.txt +1 -0
  197. package/fixtures/emit/string-58/value.json +1 -0
  198. package/fixtures/emit/string-59/expected.txt +1 -0
  199. package/fixtures/emit/string-59/value.json +1 -0
  200. package/fixtures/emit/string-60/expected.txt +1 -0
  201. package/fixtures/emit/string-60/value.json +1 -0
  202. package/fixtures/emit/string-61/expected.txt +1 -0
  203. package/fixtures/emit/string-61/value.json +1 -0
  204. package/fixtures/emit/string-62/expected.txt +1 -0
  205. package/fixtures/emit/string-62/value.json +1 -0
  206. package/fixtures/emit/string-63/expected.txt +1 -0
  207. package/fixtures/emit/string-63/value.json +1 -0
  208. package/fixtures/emit/string-64/expected.txt +1 -0
  209. package/fixtures/emit/string-64/value.json +1 -0
  210. package/fixtures/emit/string-65/expected.txt +1 -0
  211. package/fixtures/emit/string-65/value.json +1 -0
  212. package/fixtures/emit/string-66/expected.txt +1 -0
  213. package/fixtures/emit/string-66/value.json +1 -0
  214. package/fixtures/emit/string-67/expected.txt +1 -0
  215. package/fixtures/emit/string-67/value.json +1 -0
  216. package/fixtures/emit/string-68/expected.txt +1 -0
  217. package/fixtures/emit/string-68/value.json +1 -0
  218. package/fixtures/emit/string-69/expected.txt +1 -0
  219. package/fixtures/emit/string-69/value.json +1 -0
  220. package/fixtures/emit/string-70/expected.txt +1 -0
  221. package/fixtures/emit/string-70/value.json +1 -0
  222. package/fixtures/emit/string-71/expected.txt +1 -0
  223. package/fixtures/emit/string-71/value.json +1 -0
  224. package/fixtures/emit/string-72/expected.txt +1 -0
  225. package/fixtures/emit/string-72/value.json +1 -0
  226. package/fixtures/emit/string-73/expected.txt +1 -0
  227. package/fixtures/emit/string-73/value.json +1 -0
  228. package/fixtures/emit/string-74/expected.txt +1 -0
  229. package/fixtures/emit/string-74/value.json +1 -0
  230. package/fixtures/emit/string-75/expected.txt +1 -0
  231. package/fixtures/emit/string-75/value.json +1 -0
  232. package/fixtures/emit/string-76/expected.txt +1 -0
  233. package/fixtures/emit/string-76/value.json +1 -0
  234. package/fixtures/emit/string-77/expected.txt +1 -0
  235. package/fixtures/emit/string-77/value.json +1 -0
  236. package/fixtures/emit/string-78/expected.txt +1 -0
  237. package/fixtures/emit/string-78/value.json +1 -0
  238. package/fixtures/emit/string-79/expected.txt +1 -0
  239. package/fixtures/emit/string-79/value.json +1 -0
  240. package/fixtures/emit/string-deep/expected.txt +1 -0
  241. package/fixtures/emit/string-deep/value.json +1 -0
  242. package/fixtures/emit/string-top-level-key/expected.txt +1 -0
  243. package/fixtures/emit/string-top-level-key/value.json +1 -0
  244. package/fixtures/emit/true/expected.txt +1 -0
  245. package/fixtures/emit/true/value.json +1 -0
  246. package/fixtures/normalize/agent-skills-standard/expected/package/mars.toml +3 -0
  247. package/fixtures/normalize/agent-skills-standard/expected/package/skills/notes/SKILL.md +5 -0
  248. package/fixtures/normalize/agent-skills-standard/expected/package/skills/pdf/SKILL.md +9 -0
  249. package/fixtures/normalize/agent-skills-standard/input/skills/notes/SKILL.md +5 -0
  250. package/fixtures/normalize/agent-skills-standard/input/skills/pdf/SKILL.md +9 -0
  251. package/fixtures/normalize/agent-skills-standard/input/skills/pdf/agents/openai.yaml +2 -0
  252. package/fixtures/normalize/agent-skills-standard/inspection.json +40 -0
  253. package/fixtures/normalize/agent-skills-standard/normalized.json +142 -0
  254. package/fixtures/normalize/agent-translation/expected/package/agents/denies-only.md +7 -0
  255. package/fixtures/normalize/agent-translation/expected/package/agents/everything.md +24 -0
  256. package/fixtures/normalize/agent-translation/expected/package/agents/list.md +10 -0
  257. package/fixtures/normalize/agent-translation/expected/package/agents/spaced.md +9 -0
  258. package/fixtures/normalize/agent-translation/expected/package/agents/untouched.md +6 -0
  259. package/fixtures/normalize/agent-translation/expected/package/mars.toml +3 -0
  260. package/fixtures/normalize/agent-translation/input/agents/denies-only.md +6 -0
  261. package/fixtures/normalize/agent-translation/input/agents/everything.md +17 -0
  262. package/fixtures/normalize/agent-translation/input/agents/list.md +9 -0
  263. package/fixtures/normalize/agent-translation/input/agents/spaced.md +7 -0
  264. package/fixtures/normalize/agent-translation/input/agents/untouched.md +6 -0
  265. package/fixtures/normalize/agent-translation/inspection.json +49 -0
  266. package/fixtures/normalize/agent-translation/normalized.json +486 -0
  267. package/fixtures/normalize/anthropics-skills/expected/document-skills/mars.toml +4 -0
  268. package/fixtures/normalize/anthropics-skills/expected/document-skills/skills/pdf/SKILL.md +6 -0
  269. package/fixtures/normalize/anthropics-skills/expected/document-skills/skills/xlsx/SKILL.md +6 -0
  270. package/fixtures/normalize/anthropics-skills/expected/example-skills/mars.toml +4 -0
  271. package/fixtures/normalize/anthropics-skills/expected/example-skills/skills/skill-creator/SKILL.md +5 -0
  272. package/fixtures/normalize/anthropics-skills/input/.claude-plugin/marketplace.json +1 -0
  273. package/fixtures/normalize/anthropics-skills/input/skills/pdf/SKILL.md +6 -0
  274. package/fixtures/normalize/anthropics-skills/input/skills/pdf/scripts/extract.py +1 -0
  275. package/fixtures/normalize/anthropics-skills/input/skills/skill-creator/SKILL.md +5 -0
  276. package/fixtures/normalize/anthropics-skills/input/skills/skill-creator/agents/analyzer.md +1 -0
  277. package/fixtures/normalize/anthropics-skills/input/skills/skill-creator/references/schema.md +1 -0
  278. package/fixtures/normalize/anthropics-skills/input/skills/xlsx/SKILL.md +6 -0
  279. package/fixtures/normalize/anthropics-skills/input/template/SKILL.md +5 -0
  280. package/fixtures/normalize/anthropics-skills/inspection.json +77 -0
  281. package/fixtures/normalize/anthropics-skills/normalized.json +266 -0
  282. package/fixtures/normalize/anthropics-skills/request.json +5 -0
  283. package/fixtures/normalize/catalog-of-built-plugin/input/.claude-plugin/marketplace.json +1 -0
  284. package/fixtures/normalize/catalog-of-built-plugin/input/plugin/.mars-plugin.json +1 -0
  285. package/fixtures/normalize/catalog-of-built-plugin/input/plugin/claude/.claude-plugin/plugin.json +1 -0
  286. package/fixtures/normalize/catalog-of-built-plugin/input/plugin/claude/skills/authored/SKILL.md +5 -0
  287. package/fixtures/normalize/catalog-of-built-plugin/inspection.json +21 -0
  288. package/fixtures/normalize/catalog-of-built-plugin/normalized.json +14 -0
  289. package/fixtures/normalize/claude-plugin-default/expected/toolbox/agents/helper.md +9 -0
  290. package/fixtures/normalize/claude-plugin-default/expected/toolbox/agents/plan.md +5 -0
  291. package/fixtures/normalize/claude-plugin-default/expected/toolbox/mars.toml +5 -0
  292. package/fixtures/normalize/claude-plugin-default/expected/toolbox/skills/plan/SKILL.md +5 -0
  293. package/fixtures/normalize/claude-plugin-default/expected/toolbox/skills/review/SKILL.md +6 -0
  294. package/fixtures/normalize/claude-plugin-default/input/.claude-plugin/plugin.json +1 -0
  295. package/fixtures/normalize/claude-plugin-default/input/.mcp.json +1 -0
  296. package/fixtures/normalize/claude-plugin-default/input/README.md +1 -0
  297. package/fixtures/normalize/claude-plugin-default/input/agents/helper.md +7 -0
  298. package/fixtures/normalize/claude-plugin-default/input/agents/plan.md +5 -0
  299. package/fixtures/normalize/claude-plugin-default/input/commands/deploy.md +4 -0
  300. package/fixtures/normalize/claude-plugin-default/input/hooks/hooks.json +1 -0
  301. package/fixtures/normalize/claude-plugin-default/input/skills/plan/SKILL.md +5 -0
  302. package/fixtures/normalize/claude-plugin-default/input/skills/review/SKILL.md +6 -0
  303. package/fixtures/normalize/claude-plugin-default/input/skills/review/checklist.md +1 -0
  304. package/fixtures/normalize/claude-plugin-default/inspection.json +54 -0
  305. package/fixtures/normalize/claude-plugin-default/normalized.json +289 -0
  306. package/fixtures/normalize/claude-plugin-default/request.json +8 -0
  307. package/fixtures/normalize/declared-claude-over-codex-container/expected/package/mars.toml +3 -0
  308. package/fixtures/normalize/declared-claude-over-codex-container/expected/package/skills/visible/SKILL.md +5 -0
  309. package/fixtures/normalize/declared-claude-over-codex-container/input/.codex/skills/hidden/SKILL.md +5 -0
  310. package/fixtures/normalize/declared-claude-over-codex-container/input/skills/visible/SKILL.md +5 -0
  311. package/fixtures/normalize/declared-claude-over-codex-container/inspection.json +30 -0
  312. package/fixtures/normalize/declared-claude-over-codex-container/normalized.json +88 -0
  313. package/fixtures/normalize/declared-claude-over-codex-container/request.json +5 -0
  314. package/fixtures/normalize/declared-codex-convention/expected/package/mars.toml +3 -0
  315. package/fixtures/normalize/declared-codex-convention/expected/package/skills/found/SKILL.md +5 -0
  316. package/fixtures/normalize/declared-codex-convention/input/.claude-plugin/plugin.json +1 -0
  317. package/fixtures/normalize/declared-codex-convention/input/listed/SKILL.md +5 -0
  318. package/fixtures/normalize/declared-codex-convention/input/skills/found/SKILL.md +7 -0
  319. package/fixtures/normalize/declared-codex-convention/inspection.json +30 -0
  320. package/fixtures/normalize/declared-codex-convention/normalized.json +88 -0
  321. package/fixtures/normalize/declared-codex-convention/request.json +5 -0
  322. package/fixtures/normalize/declared-mars-native/expected/native-dep/agents/planner.md +8 -0
  323. package/fixtures/normalize/declared-mars-native/expected/native-dep/mars.toml +3 -0
  324. package/fixtures/normalize/declared-mars-native/expected/native-dep/skills/plan/SKILL.md +7 -0
  325. package/fixtures/normalize/declared-mars-native/input/agents/planner.md +7 -0
  326. package/fixtures/normalize/declared-mars-native/input/skills/plan/SKILL.md +7 -0
  327. package/fixtures/normalize/declared-mars-native/inspection.json +21 -0
  328. package/fixtures/normalize/declared-mars-native/normalized.json +163 -0
  329. package/fixtures/normalize/declared-mars-native/request.json +4 -0
  330. package/fixtures/normalize/duplicate-slug/input/agents/review.md +5 -0
  331. package/fixtures/normalize/duplicate-slug/input/one/review/SKILL.md +5 -0
  332. package/fixtures/normalize/duplicate-slug/input/two/review/SKILL.md +5 -0
  333. package/fixtures/normalize/duplicate-slug/inspection.json +44 -0
  334. package/fixtures/normalize/duplicate-slug/normalized.json +37 -0
  335. package/fixtures/normalize/empty/input/README.md +1 -0
  336. package/fixtures/normalize/empty/input/src/main.rs +1 -0
  337. package/fixtures/normalize/empty/inspection.json +7 -0
  338. package/fixtures/normalize/empty/normalized.json +22 -0
  339. package/fixtures/normalize/generated-plugin-tree/expected/package/mars.toml +3 -0
  340. package/fixtures/normalize/generated-plugin-tree/expected/package/skills/authored/SKILL.md +5 -0
  341. package/fixtures/normalize/generated-plugin-tree/input/dist-plugin/.claude-plugin/plugin.json +1 -0
  342. package/fixtures/normalize/generated-plugin-tree/input/dist-plugin/.mars-plugin.json +1 -0
  343. package/fixtures/normalize/generated-plugin-tree/input/dist-plugin/agents/generated.md +5 -0
  344. package/fixtures/normalize/generated-plugin-tree/input/dist-plugin/skills/built/SKILL.md +5 -0
  345. package/fixtures/normalize/generated-plugin-tree/input/skills/authored/SKILL.md +5 -0
  346. package/fixtures/normalize/generated-plugin-tree/inspection.json +31 -0
  347. package/fixtures/normalize/generated-plugin-tree/normalized.json +97 -0
  348. package/fixtures/normalize/invalid-plugin-json/input/.claude-plugin/plugin.json +1 -0
  349. package/fixtures/normalize/invalid-plugin-json/input/skills/a/SKILL.md +5 -0
  350. package/fixtures/normalize/invalid-plugin-json/inspection.json +16 -0
  351. package/fixtures/normalize/invalid-plugin-json/normalized.json +31 -0
  352. package/fixtures/normalize/marketplace-selection/expected/one/mars.toml +3 -0
  353. package/fixtures/normalize/marketplace-selection/expected/one/skills/a/SKILL.md +5 -0
  354. package/fixtures/normalize/marketplace-selection/input/.claude-plugin/marketplace.json +1 -0
  355. package/fixtures/normalize/marketplace-selection/input/one/skills/a/SKILL.md +5 -0
  356. package/fixtures/normalize/marketplace-selection/input/one/skills/b/SKILL.md +5 -0
  357. package/fixtures/normalize/marketplace-selection/input/two/skills/c/SKILL.md +5 -0
  358. package/fixtures/normalize/marketplace-selection/inspection.json +72 -0
  359. package/fixtures/normalize/marketplace-selection/normalized.json +104 -0
  360. package/fixtures/normalize/marketplace-selection/request.json +13 -0
  361. package/fixtures/normalize/marketplace-sources/expected/gh/mars.toml +5 -0
  362. package/fixtures/normalize/marketplace-sources/expected/gh/skills/remote-skill/SKILL.md +5 -0
  363. package/fixtures/normalize/marketplace-sources/expected/local/mars.toml +3 -0
  364. package/fixtures/normalize/marketplace-sources/expected/local/skills/here/SKILL.md +5 -0
  365. package/fixtures/normalize/marketplace-sources/expected/subdir/mars.toml +3 -0
  366. package/fixtures/normalize/marketplace-sources/expected/subdir/skills/deep/SKILL.md +5 -0
  367. package/fixtures/normalize/marketplace-sources/input/.claude-plugin/marketplace.json +1 -0
  368. package/fixtures/normalize/marketplace-sources/input/plugins/local/skills/here/SKILL.md +5 -0
  369. package/fixtures/normalize/marketplace-sources/inspection.json +254 -0
  370. package/fixtures/normalize/marketplace-sources/normalized.json +216 -0
  371. package/fixtures/normalize/marketplace-sources/remote/gh/.claude-plugin/plugin.json +1 -0
  372. package/fixtures/normalize/marketplace-sources/remote/gh/skills/remote-skill/SKILL.md +5 -0
  373. package/fixtures/normalize/marketplace-sources/remote/market/.claude-plugin/marketplace.json +1 -0
  374. package/fixtures/normalize/marketplace-sources/remote/subdir/skills/deep/SKILL.md +5 -0
  375. package/fixtures/normalize/marketplace-sources/remote-inspections.json +69 -0
  376. package/fixtures/normalize/marketplace-sources/remote-normalized.json +231 -0
  377. package/fixtures/normalize/marketplace-sources/request.json +34 -0
  378. package/fixtures/normalize/marketplace-strict-table/expected/appended/mars.toml +3 -0
  379. package/fixtures/normalize/marketplace-strict-table/expected/appended/skills/default/SKILL.md +5 -0
  380. package/fixtures/normalize/marketplace-strict-table/expected/appended/skills/more/SKILL.md +5 -0
  381. package/fixtures/normalize/marketplace-strict-table/expected/appended/skills/own/SKILL.md +5 -0
  382. package/fixtures/normalize/marketplace-strict-table/expected/entry-is-manifest/agents/one.md +5 -0
  383. package/fixtures/normalize/marketplace-strict-table/expected/entry-is-manifest/mars.toml +3 -0
  384. package/fixtures/normalize/marketplace-strict-table/expected/entry-is-manifest/skills/default/SKILL.md +5 -0
  385. package/fixtures/normalize/marketplace-strict-table/expected/entry-is-manifest/skills/listed/SKILL.md +5 -0
  386. package/fixtures/normalize/marketplace-strict-table/expected/manifest-only/mars.toml +3 -0
  387. package/fixtures/normalize/marketplace-strict-table/expected/manifest-only/skills/solo/SKILL.md +5 -0
  388. package/fixtures/normalize/marketplace-strict-table/input/.claude-plugin/marketplace.json +1 -0
  389. package/fixtures/normalize/marketplace-strict-table/input/appended/.claude-plugin/plugin.json +1 -0
  390. package/fixtures/normalize/marketplace-strict-table/input/appended/extra/more/SKILL.md +5 -0
  391. package/fixtures/normalize/marketplace-strict-table/input/appended/extra/own/SKILL.md +5 -0
  392. package/fixtures/normalize/marketplace-strict-table/input/appended/skills/default/SKILL.md +5 -0
  393. package/fixtures/normalize/marketplace-strict-table/input/conflicting/.claude-plugin/plugin.json +1 -0
  394. package/fixtures/normalize/marketplace-strict-table/input/conflicting/skills/clash/SKILL.md +5 -0
  395. package/fixtures/normalize/marketplace-strict-table/input/entry-only/agents/one.md +5 -0
  396. package/fixtures/normalize/marketplace-strict-table/input/entry-only/agents/two.md +5 -0
  397. package/fixtures/normalize/marketplace-strict-table/input/entry-only/listed/SKILL.md +5 -0
  398. package/fixtures/normalize/marketplace-strict-table/input/entry-only/skills/default/SKILL.md +5 -0
  399. package/fixtures/normalize/marketplace-strict-table/input/manifest-only/.claude-plugin/plugin.json +1 -0
  400. package/fixtures/normalize/marketplace-strict-table/input/manifest-only/skills/solo/SKILL.md +5 -0
  401. package/fixtures/normalize/marketplace-strict-table/inspection.json +151 -0
  402. package/fixtures/normalize/marketplace-strict-table/normalized.json +464 -0
  403. package/fixtures/normalize/mars-manifest-wins/expected/native/mars.toml +4 -0
  404. package/fixtures/normalize/mars-manifest-wins/expected/native/skills/native/SKILL.md +5 -0
  405. package/fixtures/normalize/mars-manifest-wins/input/.claude-plugin/plugin.json +1 -0
  406. package/fixtures/normalize/mars-manifest-wins/input/elsewhere/SKILL.md +5 -0
  407. package/fixtures/normalize/mars-manifest-wins/input/mars.toml +4 -0
  408. package/fixtures/normalize/mars-manifest-wins/input/skills/native/SKILL.md +5 -0
  409. package/fixtures/normalize/mars-manifest-wins/inspection.json +15 -0
  410. package/fixtures/normalize/mars-manifest-wins/normalized.json +87 -0
  411. package/fixtures/normalize/mars-manifest-wins/request.json +5 -0
  412. package/fixtures/normalize/mars-source-with-built-plugin/expected/example/agents/helper.md +5 -0
  413. package/fixtures/normalize/mars-source-with-built-plugin/expected/example/mars.toml +7 -0
  414. package/fixtures/normalize/mars-source-with-built-plugin/expected/example/skills/authored/SKILL.md +5 -0
  415. package/fixtures/normalize/mars-source-with-built-plugin/input/.claude-plugin/marketplace.json +1 -0
  416. package/fixtures/normalize/mars-source-with-built-plugin/input/agents/helper.md +5 -0
  417. package/fixtures/normalize/mars-source-with-built-plugin/input/mars.toml +7 -0
  418. package/fixtures/normalize/mars-source-with-built-plugin/input/plugin/.mars-plugin.json +1 -0
  419. package/fixtures/normalize/mars-source-with-built-plugin/input/plugin/claude/.claude-plugin/plugin.json +1 -0
  420. package/fixtures/normalize/mars-source-with-built-plugin/input/plugin/claude/agents/helper.md +5 -0
  421. package/fixtures/normalize/mars-source-with-built-plugin/input/plugin/claude/skills/authored/SKILL.md +5 -0
  422. package/fixtures/normalize/mars-source-with-built-plugin/input/skills/authored/SKILL.md +5 -0
  423. package/fixtures/normalize/mars-source-with-built-plugin/inspection.json +21 -0
  424. package/fixtures/normalize/mars-source-with-built-plugin/normalized.json +134 -0
  425. package/fixtures/normalize/mattpocock-skills/expected/mattpocock-skills/mars.toml +5 -0
  426. package/fixtures/normalize/mattpocock-skills/expected/mattpocock-skills/skills/diagnose/SKILL.md +6 -0
  427. package/fixtures/normalize/mattpocock-skills/expected/mattpocock-skills/skills/git-guardrails/SKILL.md +5 -0
  428. package/fixtures/normalize/mattpocock-skills/expected/mattpocock-skills/skills/grill-me/SKILL.md +5 -0
  429. package/fixtures/normalize/mattpocock-skills/expected/mattpocock-skills/skills/tdd/SKILL.md +5 -0
  430. package/fixtures/normalize/mattpocock-skills/input/.claude-plugin/marketplace.json +1 -0
  431. package/fixtures/normalize/mattpocock-skills/input/.claude-plugin/plugin.json +1 -0
  432. package/fixtures/normalize/mattpocock-skills/input/README.md +1 -0
  433. package/fixtures/normalize/mattpocock-skills/input/skills/engineering/diagnose/SKILL.md +6 -0
  434. package/fixtures/normalize/mattpocock-skills/input/skills/engineering/diagnose/scripts/trace.sh +2 -0
  435. package/fixtures/normalize/mattpocock-skills/input/skills/engineering/tdd/SKILL.md +5 -0
  436. package/fixtures/normalize/mattpocock-skills/input/skills/in-progress/draft/SKILL.md +5 -0
  437. package/fixtures/normalize/mattpocock-skills/input/skills/misc/git-guardrails/SKILL.md +5 -0
  438. package/fixtures/normalize/mattpocock-skills/input/skills/misc/git-guardrails/scripts/guard.sh +1 -0
  439. package/fixtures/normalize/mattpocock-skills/input/skills/productivity/grill-me/SKILL.md +5 -0
  440. package/fixtures/normalize/mattpocock-skills/inspection.json +57 -0
  441. package/fixtures/normalize/mattpocock-skills/normalized.json +230 -0
  442. package/fixtures/normalize/mattpocock-skills/request.json +5 -0
  443. package/fixtures/normalize/mixed-claude-and-mars/expected/mixed-dep/agents/reader.md +10 -0
  444. package/fixtures/normalize/mixed-claude-and-mars/expected/mixed-dep/mars.toml +3 -0
  445. package/fixtures/normalize/mixed-claude-and-mars/expected/mixed-dep/skills/notes/SKILL.md +6 -0
  446. package/fixtures/normalize/mixed-claude-and-mars/input/agents/reader.md +6 -0
  447. package/fixtures/normalize/mixed-claude-and-mars/input/skills/notes/SKILL.md +6 -0
  448. package/fixtures/normalize/mixed-claude-and-mars/inspection.json +28 -0
  449. package/fixtures/normalize/mixed-claude-and-mars/normalized.json +171 -0
  450. package/fixtures/normalize/mixed-claude-and-mars/request.json +3 -0
  451. package/fixtures/normalize/nested-declared-skills/expected/nest/mars.toml +3 -0
  452. package/fixtures/normalize/nested-declared-skills/expected/nest/skills/parent/SKILL.md +5 -0
  453. package/fixtures/normalize/nested-declared-skills/input/.claude-plugin/plugin.json +1 -0
  454. package/fixtures/normalize/nested-declared-skills/input/skills/parent/SKILL.md +5 -0
  455. package/fixtures/normalize/nested-declared-skills/input/skills/parent/child/SKILL.md +5 -0
  456. package/fixtures/normalize/nested-declared-skills/input/skills/parent/child/data.txt +1 -0
  457. package/fixtures/normalize/nested-declared-skills/input/skills/parent/guide.md +1 -0
  458. package/fixtures/normalize/nested-declared-skills/inspection.json +38 -0
  459. package/fixtures/normalize/nested-declared-skills/normalized.json +95 -0
  460. package/fixtures/normalize/nested-declared-skills/request.json +9 -0
  461. package/fixtures/normalize/obra-superpowers/expected/superpowers/mars.toml +5 -0
  462. package/fixtures/normalize/obra-superpowers/expected/superpowers/skills/brainstorming/SKILL.md +5 -0
  463. package/fixtures/normalize/obra-superpowers/expected/superpowers/skills/test-driven-development/SKILL.md +5 -0
  464. package/fixtures/normalize/obra-superpowers/expected/superpowers/skills/using-git-worktrees/SKILL.md +5 -0
  465. package/fixtures/normalize/obra-superpowers/input/.claude-plugin/marketplace.json +1 -0
  466. package/fixtures/normalize/obra-superpowers/input/.claude-plugin/plugin.json +1 -0
  467. package/fixtures/normalize/obra-superpowers/input/.codex-plugin/plugin.json +1 -0
  468. package/fixtures/normalize/obra-superpowers/input/.cursor-plugin/plugin.json +1 -0
  469. package/fixtures/normalize/obra-superpowers/input/.opencode/skills/tdd/SKILL.md +5 -0
  470. package/fixtures/normalize/obra-superpowers/input/hooks/hooks.json +1 -0
  471. package/fixtures/normalize/obra-superpowers/input/skills/brainstorming/SKILL.md +5 -0
  472. package/fixtures/normalize/obra-superpowers/input/skills/brainstorming/scripts/server.cjs +1 -0
  473. package/fixtures/normalize/obra-superpowers/input/skills/test-driven-development/SKILL.md +5 -0
  474. package/fixtures/normalize/obra-superpowers/input/skills/test-driven-development/references/tips.md +1 -0
  475. package/fixtures/normalize/obra-superpowers/input/skills/using-git-worktrees/SKILL.md +5 -0
  476. package/fixtures/normalize/obra-superpowers/inspection.json +73 -0
  477. package/fixtures/normalize/obra-superpowers/normalized.json +193 -0
  478. package/fixtures/normalize/obra-superpowers/request.json +5 -0
  479. package/fixtures/normalize/opencode-agent/expected/opencode-dep/agents/review.md +19 -0
  480. package/fixtures/normalize/opencode-agent/expected/opencode-dep/mars.toml +3 -0
  481. package/fixtures/normalize/opencode-agent/input/agents/review.md +17 -0
  482. package/fixtures/normalize/opencode-agent/inspection.json +21 -0
  483. package/fixtures/normalize/opencode-agent/normalized.json +174 -0
  484. package/fixtures/normalize/opencode-agent/request.json +4 -0
  485. package/fixtures/normalize/opencode-predicted/expected/opencode-dep/agents/review.md +13 -0
  486. package/fixtures/normalize/opencode-predicted/expected/opencode-dep/mars.toml +3 -0
  487. package/fixtures/normalize/opencode-predicted/input/agents/review.md +11 -0
  488. package/fixtures/normalize/opencode-predicted/inspection.json +23 -0
  489. package/fixtures/normalize/opencode-predicted/normalized.json +152 -0
  490. package/fixtures/normalize/opencode-predicted/request.json +3 -0
  491. package/fixtures/normalize/opencode-with-standard-skill/expected/mixed-opencode/agents/reviewer.md +11 -0
  492. package/fixtures/normalize/opencode-with-standard-skill/expected/mixed-opencode/mars.toml +3 -0
  493. package/fixtures/normalize/opencode-with-standard-skill/expected/mixed-opencode/skills/fmt/SKILL.md +5 -0
  494. package/fixtures/normalize/opencode-with-standard-skill/expected/mixed-opencode/skills/lint/SKILL.md +6 -0
  495. package/fixtures/normalize/opencode-with-standard-skill/input/agents/reviewer.md +9 -0
  496. package/fixtures/normalize/opencode-with-standard-skill/input/skills/fmt/SKILL.md +6 -0
  497. package/fixtures/normalize/opencode-with-standard-skill/input/skills/lint/SKILL.md +6 -0
  498. package/fixtures/normalize/opencode-with-standard-skill/inspection.json +37 -0
  499. package/fixtures/normalize/opencode-with-standard-skill/normalized.json +223 -0
  500. package/fixtures/normalize/opencode-with-standard-skill/request.json +3 -0
  501. package/fixtures/normalize/plugin-list-paths/expected/lists/agents/real.md +5 -0
  502. package/fixtures/normalize/plugin-list-paths/expected/lists/mars.toml +3 -0
  503. package/fixtures/normalize/plugin-list-paths/expected/lists/skills/a/SKILL.md +5 -0
  504. package/fixtures/normalize/plugin-list-paths/input/.claude-plugin/plugin.json +1 -0
  505. package/fixtures/normalize/plugin-list-paths/input/agents/dir/inner.md +5 -0
  506. package/fixtures/normalize/plugin-list-paths/input/agents/real.md +5 -0
  507. package/fixtures/normalize/plugin-list-paths/input/agents/skipped-default.md +5 -0
  508. package/fixtures/normalize/plugin-list-paths/input/cmds/x.md +1 -0
  509. package/fixtures/normalize/plugin-list-paths/input/commands/default.md +1 -0
  510. package/fixtures/normalize/plugin-list-paths/input/skills/a/SKILL.md +5 -0
  511. package/fixtures/normalize/plugin-list-paths/inspection.json +79 -0
  512. package/fixtures/normalize/plugin-list-paths/normalized.json +188 -0
  513. package/fixtures/normalize/pre-v1-mars-permission/expected/mars-dep/agents/reader.md +12 -0
  514. package/fixtures/normalize/pre-v1-mars-permission/expected/mars-dep/mars.toml +3 -0
  515. package/fixtures/normalize/pre-v1-mars-permission/input/agents/reader.md +7 -0
  516. package/fixtures/normalize/pre-v1-mars-permission/inspection.json +21 -0
  517. package/fixtures/normalize/pre-v1-mars-permission/normalized.json +140 -0
  518. package/fixtures/normalize/pre-v1-mars-permission/request.json +3 -0
  519. package/fixtures/normalize/pre-v1-mars-predicted/expected/legacy-dep/agents/old.md +11 -0
  520. package/fixtures/normalize/pre-v1-mars-predicted/expected/legacy-dep/mars.toml +3 -0
  521. package/fixtures/normalize/pre-v1-mars-predicted/expected/legacy-dep/skills/review/SKILL.md +8 -0
  522. package/fixtures/normalize/pre-v1-mars-predicted/input/agents/old.md +10 -0
  523. package/fixtures/normalize/pre-v1-mars-predicted/input/skills/review/SKILL.md +7 -0
  524. package/fixtures/normalize/pre-v1-mars-predicted/inspection.json +28 -0
  525. package/fixtures/normalize/pre-v1-mars-predicted/normalized.json +201 -0
  526. package/fixtures/normalize/pre-v1-mars-predicted/request.json +3 -0
  527. package/fixtures/normalize/root-skill/expected/Some Repo/mars.toml +3 -0
  528. package/fixtures/normalize/root-skill/expected/Some Repo/skills/my-skill/SKILL.md +5 -0
  529. package/fixtures/normalize/root-skill/input/SKILL.md +5 -0
  530. package/fixtures/normalize/root-skill/input/notes.md +1 -0
  531. package/fixtures/normalize/root-skill/input/scripts/run.sh +1 -0
  532. package/fixtures/normalize/root-skill/inspection.json +26 -0
  533. package/fixtures/normalize/root-skill/normalized.json +99 -0
  534. package/fixtures/normalize/root-skill/request.json +5 -0
  535. package/fixtures/normalize/root-skill-fallback-name/expected/Some Repo/mars.toml +3 -0
  536. package/fixtures/normalize/root-skill-fallback-name/expected/Some Repo/skills/some-repo/SKILL.md +5 -0
  537. package/fixtures/normalize/root-skill-fallback-name/input/SKILL.md +5 -0
  538. package/fixtures/normalize/root-skill-fallback-name/inspection.json +22 -0
  539. package/fixtures/normalize/root-skill-fallback-name/normalized.json +101 -0
  540. package/fixtures/normalize/root-skill-fallback-name/request.json +5 -0
  541. package/fixtures/normalize/shared-slug-across-kinds/expected/package/agents/review.md +5 -0
  542. package/fixtures/normalize/shared-slug-across-kinds/expected/package/mars.toml +3 -0
  543. package/fixtures/normalize/shared-slug-across-kinds/expected/package/skills/review/SKILL.md +5 -0
  544. package/fixtures/normalize/shared-slug-across-kinds/input/agents/review.md +5 -0
  545. package/fixtures/normalize/shared-slug-across-kinds/input/skills/review/SKILL.md +5 -0
  546. package/fixtures/normalize/shared-slug-across-kinds/inspection.json +28 -0
  547. package/fixtures/normalize/shared-slug-across-kinds/normalized.json +135 -0
  548. package/fixtures/normalize/skill-references/expected/package/mars.toml +3 -0
  549. package/fixtures/normalize/skill-references/expected/package/skills/main/SKILL.md +9 -0
  550. package/fixtures/normalize/skill-references/expected/package/skills/shared/SKILL.md +5 -0
  551. package/fixtures/normalize/skill-references/input/scripts/build.sh +1 -0
  552. package/fixtures/normalize/skill-references/input/skills/dropped/SKILL.md +5 -0
  553. package/fixtures/normalize/skill-references/input/skills/main/SKILL.md +9 -0
  554. package/fixtures/normalize/skill-references/input/skills/main/guide.md +1 -0
  555. package/fixtures/normalize/skill-references/input/skills/shared/README.md +1 -0
  556. package/fixtures/normalize/skill-references/input/skills/shared/SKILL.md +5 -0
  557. package/fixtures/normalize/skill-references/inspection.json +42 -0
  558. package/fixtures/normalize/skill-references/normalized.json +157 -0
  559. package/fixtures/normalize/skill-references/request.json +10 -0
  560. package/fixtures/normalize/skill-translation/expected/package/mars.toml +3 -0
  561. package/fixtures/normalize/skill-translation/expected/package/skills/badname/SKILL.md +5 -0
  562. package/fixtures/normalize/skill-translation/expected/package/skills/broken/SKILL.md +5 -0
  563. package/fixtures/normalize/skill-translation/expected/package/skills/colon/SKILL.md +5 -0
  564. package/fixtures/normalize/skill-translation/expected/package/skills/everything/SKILL.md +20 -0
  565. package/fixtures/normalize/skill-translation/expected/package/skills/mismatch/SKILL.md +5 -0
  566. package/fixtures/normalize/skill-translation/expected/package/skills/plain/SKILL.md +5 -0
  567. package/fixtures/normalize/skill-translation/input/skills/badname/SKILL.md +5 -0
  568. package/fixtures/normalize/skill-translation/input/skills/broken/SKILL.md +5 -0
  569. package/fixtures/normalize/skill-translation/input/skills/colon/SKILL.md +5 -0
  570. package/fixtures/normalize/skill-translation/input/skills/everything/SKILL.md +21 -0
  571. package/fixtures/normalize/skill-translation/input/skills/everything/scripts/go.sh +1 -0
  572. package/fixtures/normalize/skill-translation/input/skills/mismatch/SKILL.md +5 -0
  573. package/fixtures/normalize/skill-translation/input/skills/plain/SKILL.md +5 -0
  574. package/fixtures/normalize/skill-translation/inspection.json +62 -0
  575. package/fixtures/normalize/skill-translation/normalized.json +372 -0
  576. package/fixtures/normalize/skill-tree-walk/expected/package/mars.toml +3 -0
  577. package/fixtures/normalize/skill-tree-walk/expected/package/skills/shallow/SKILL.md +5 -0
  578. package/fixtures/normalize/skill-tree-walk/expected/package/skills/tdd/SKILL.md +5 -0
  579. package/fixtures/normalize/skill-tree-walk/input/.hidden/skills/ghost/SKILL.md +5 -0
  580. package/fixtures/normalize/skill-tree-walk/input/docs/guides/a/b/c/too-deep/SKILL.md +5 -0
  581. package/fixtures/normalize/skill-tree-walk/input/docs/guides/a/b/shallow/SKILL.md +5 -0
  582. package/fixtures/normalize/skill-tree-walk/input/node_modules/pkg/SKILL.md +5 -0
  583. package/fixtures/normalize/skill-tree-walk/input/skills/engineering/tdd/SKILL.md +5 -0
  584. package/fixtures/normalize/skill-tree-walk/input/skills/engineering/tdd/examples/SKILL.md +5 -0
  585. package/fixtures/normalize/skill-tree-walk/input/skills/engineering/tdd/notes.md +1 -0
  586. package/fixtures/normalize/skill-tree-walk/input/vendor/out/.mars-plugin.json +1 -0
  587. package/fixtures/normalize/skill-tree-walk/input/vendor/out/skills/built/SKILL.md +5 -0
  588. package/fixtures/normalize/skill-tree-walk/inspection.json +50 -0
  589. package/fixtures/normalize/skill-tree-walk/normalized.json +147 -0
  590. package/fixtures/normalize/subpath/expected/mono/tools/pkg/mars.toml +3 -0
  591. package/fixtures/normalize/subpath/expected/mono/tools/pkg/skills/inside/SKILL.md +5 -0
  592. package/fixtures/normalize/subpath/input/docs/readme.md +1 -0
  593. package/fixtures/normalize/subpath/input/skills/outside/SKILL.md +5 -0
  594. package/fixtures/normalize/subpath/input/tools/pkg/skills/inside/SKILL.md +5 -0
  595. package/fixtures/normalize/subpath/inspection.json +22 -0
  596. package/fixtures/normalize/subpath/normalized.json +91 -0
  597. package/fixtures/normalize/subpath/request.json +9 -0
  598. package/fixtures/prepare/agent-structural-raw/expected.json +79 -0
  599. package/fixtures/prepare/agent-structural-raw/input/agents/anchored.md +6 -0
  600. package/fixtures/prepare/agent-structural-raw/request.json +3 -0
  601. package/fixtures/prepare/authored-local-current/expected.json +41 -0
  602. package/fixtures/prepare/authored-local-current/input/skills/current/SKILL.md +5 -0
  603. package/fixtures/prepare/authored-local-current/request.json +3 -0
  604. package/fixtures/prepare/authored-local-legacy/expected/agents/local.md +6 -0
  605. package/fixtures/prepare/authored-local-legacy/expected.json +67 -0
  606. package/fixtures/prepare/authored-local-legacy/input/agents/local.md +6 -0
  607. package/fixtures/prepare/authored-local-legacy/request.json +3 -0
  608. package/fixtures/prepare/bom/expected.json +85 -0
  609. package/fixtures/prepare/bom/input/agents/bom.md +5 -0
  610. package/fixtures/prepare/bom/input/mars.toml +4 -0
  611. package/fixtures/prepare/bom/request.json +3 -0
  612. package/fixtures/prepare/claude-network-lost/expected/agents/n.md +12 -0
  613. package/fixtures/prepare/claude-network-lost/expected.json +118 -0
  614. package/fixtures/prepare/claude-network-lost/input/agents/n.md +8 -0
  615. package/fixtures/prepare/claude-network-lost/request.json +4 -0
  616. package/fixtures/prepare/claude-reserved-keys/expected/agents/g.md +12 -0
  617. package/fixtures/prepare/claude-reserved-keys/expected/skills/lint/SKILL.md +5 -0
  618. package/fixtures/prepare/claude-reserved-keys/expected.json +182 -0
  619. package/fixtures/prepare/claude-reserved-keys/input/agents/g.md +13 -0
  620. package/fixtures/prepare/claude-reserved-keys/input/skills/lint/SKILL.md +7 -0
  621. package/fixtures/prepare/claude-reserved-keys/request.json +4 -0
  622. package/fixtures/prepare/declared-dialect/expected/agents/native.md +9 -0
  623. package/fixtures/prepare/declared-dialect/expected.json +84 -0
  624. package/fixtures/prepare/declared-dialect/input/agents/native.md +6 -0
  625. package/fixtures/prepare/declared-dialect/request.json +4 -0
  626. package/fixtures/prepare/flat-root-skill/expected.json +51 -0
  627. package/fixtures/prepare/flat-root-skill/input/SKILL.md +5 -0
  628. package/fixtures/prepare/flat-root-skill/input/notes.md +1 -0
  629. package/fixtures/prepare/flat-root-skill/request.json +3 -0
  630. package/fixtures/prepare/foreign-vendored-payload/expected.json +46 -0
  631. package/fixtures/prepare/foreign-vendored-payload/input/skills/s/SKILL.md +5 -0
  632. package/fixtures/prepare/foreign-vendored-payload/input/skills/s/node_modules/m/i.js +1 -0
  633. package/fixtures/prepare/foreign-vendored-payload/request.json +4 -0
  634. package/fixtures/prepare/generated-plugin-skipped/expected.json +55 -0
  635. package/fixtures/prepare/generated-plugin-skipped/input/skills/kept/SKILL.md +5 -0
  636. package/fixtures/prepare/generated-plugin-skipped/input/vendor/out/.mars-plugin.json +1 -0
  637. package/fixtures/prepare/generated-plugin-skipped/input/vendor/out/agents/generated.md +5 -0
  638. package/fixtures/prepare/generated-plugin-skipped/request.json +3 -0
  639. package/fixtures/prepare/hidden-container-dialect/expected.json +15 -0
  640. package/fixtures/prepare/hidden-container-dialect/input/.codex/skills/hidden/SKILL.md +5 -0
  641. package/fixtures/prepare/hidden-container-dialect/request.json +3 -0
  642. package/fixtures/prepare/invalid-toml/expected.json +28 -0
  643. package/fixtures/prepare/invalid-toml/input/agents/ignored.md +5 -0
  644. package/fixtures/prepare/invalid-toml/input/mars.toml +2 -0
  645. package/fixtures/prepare/invalid-toml/request.json +3 -0
  646. package/fixtures/prepare/legacy-changed/expected/agents/coder.md +6 -0
  647. package/fixtures/prepare/legacy-changed/expected/mars.toml +4 -0
  648. package/fixtures/prepare/legacy-changed/expected.json +103 -0
  649. package/fixtures/prepare/legacy-changed/input/agents/coder.md +6 -0
  650. package/fixtures/prepare/legacy-changed/input/mars.toml +3 -0
  651. package/fixtures/prepare/legacy-changed/request.json +3 -0
  652. package/fixtures/prepare/legacy-definition-unchanged/expected/mars.toml +4 -0
  653. package/fixtures/prepare/legacy-definition-unchanged/expected.json +77 -0
  654. package/fixtures/prepare/legacy-definition-unchanged/input/mars.toml +3 -0
  655. package/fixtures/prepare/legacy-definition-unchanged/input/skills/steady/SKILL.md +5 -0
  656. package/fixtures/prepare/legacy-definition-unchanged/request.json +3 -0
  657. package/fixtures/prepare/manifest-free-skill-tree/expected.json +51 -0
  658. package/fixtures/prepare/manifest-free-skill-tree/input/skills/demo/SKILL.md +5 -0
  659. package/fixtures/prepare/manifest-free-skill-tree/input/skills/demo/script.py +1 -0
  660. package/fixtures/prepare/manifest-free-skill-tree/request.json +3 -0
  661. package/fixtures/prepare/manifest-without-package/expected.json +30 -0
  662. package/fixtures/prepare/manifest-without-package/input/mars.toml +2 -0
  663. package/fixtures/prepare/manifest-without-package/input/skills/ignored/SKILL.md +5 -0
  664. package/fixtures/prepare/manifest-without-package/request.json +3 -0
  665. package/fixtures/prepare/opencode-agent/expected/agents/review.md +19 -0
  666. package/fixtures/prepare/opencode-agent/expected.json +130 -0
  667. package/fixtures/prepare/opencode-agent/input/agents/review.md +17 -0
  668. package/fixtures/prepare/opencode-agent/request.json +4 -0
  669. package/fixtures/prepare/opencode-commands-dropped/expected/agents/review.md +7 -0
  670. package/fixtures/prepare/opencode-commands-dropped/expected.json +83 -0
  671. package/fixtures/prepare/opencode-commands-dropped/input/agents/review.md +7 -0
  672. package/fixtures/prepare/opencode-commands-dropped/input/commands/ship.md +3 -0
  673. package/fixtures/prepare/opencode-commands-dropped/request.json +3 -0
  674. package/fixtures/prepare/schema-1/expected.json +85 -0
  675. package/fixtures/prepare/schema-1/input/agents/coder.md +5 -0
  676. package/fixtures/prepare/schema-1/input/mars.toml +4 -0
  677. package/fixtures/prepare/schema-1/request.json +3 -0
  678. package/fixtures/prepare/schema-1-vendored-payload/expected.json +76 -0
  679. package/fixtures/prepare/schema-1-vendored-payload/input/mars.toml +4 -0
  680. package/fixtures/prepare/schema-1-vendored-payload/input/skills/s/SKILL.md +5 -0
  681. package/fixtures/prepare/schema-1-vendored-payload/input/skills/s/node_modules/m/i.js +1 -0
  682. package/fixtures/prepare/schema-1-vendored-payload/request.json +3 -0
  683. package/fixtures/prepare/schema-newer/expected.json +32 -0
  684. package/fixtures/prepare/schema-newer/input/agents/future.md +5 -0
  685. package/fixtures/prepare/schema-newer/input/mars.toml +4 -0
  686. package/fixtures/prepare/schema-newer/request.json +3 -0
  687. package/fixtures/prepare/skill-payload-and-nested/expected.json +89 -0
  688. package/fixtures/prepare/skill-payload-and-nested/input/.claude-plugin/plugin.json +1 -0
  689. package/fixtures/prepare/skill-payload-and-nested/input/skills/outer/SKILL.md +5 -0
  690. package/fixtures/prepare/skill-payload-and-nested/input/skills/outer/guide.md +1 -0
  691. package/fixtures/prepare/skill-payload-and-nested/input/skills/outer/nested/SKILL.md +5 -0
  692. package/fixtures/prepare/skill-payload-and-nested/input/skills/outer/nested/assets/data.bin +0 -0
  693. package/fixtures/prepare/skill-payload-and-nested/request.json +3 -0
  694. package/fixtures/read/agent-anchor/agent.md +6 -0
  695. package/fixtures/read/agent-anchor/expected.json +56 -0
  696. package/fixtures/read/agent-approval/agent.md +4 -0
  697. package/fixtures/read/agent-approval/expected.json +33 -0
  698. package/fixtures/read/agent-approval-yolo/agent.md +3 -0
  699. package/fixtures/read/agent-approval-yolo/expected.json +42 -0
  700. package/fixtures/read/agent-bom/agent.md +4 -0
  701. package/fixtures/read/agent-bom/expected.json +33 -0
  702. package/fixtures/read/agent-collection-validation/agent.md +7 -0
  703. package/fixtures/read/agent-collection-validation/expected.json +124 -0
  704. package/fixtures/read/agent-description/agent.md +4 -0
  705. package/fixtures/read/agent-description/expected.json +33 -0
  706. package/fixtures/read/agent-effort/agent.md +4 -0
  707. package/fixtures/read/agent-effort/expected.json +33 -0
  708. package/fixtures/read/agent-effort-xhigh/agent.md +4 -0
  709. package/fixtures/read/agent-effort-xhigh/expected.json +33 -0
  710. package/fixtures/read/agent-field-type/agent.md +3 -0
  711. package/fixtures/read/agent-field-type/expected.json +42 -0
  712. package/fixtures/read/agent-harness/agent.md +4 -0
  713. package/fixtures/read/agent-harness/expected.json +33 -0
  714. package/fixtures/read/agent-harness-overrides/agent.md +4 -0
  715. package/fixtures/read/agent-harness-overrides/expected.json +41 -0
  716. package/fixtures/read/agent-integer-range/agent.md +8 -0
  717. package/fixtures/read/agent-integer-range/expected.json +76 -0
  718. package/fixtures/read/agent-mode/agent.md +4 -0
  719. package/fixtures/read/agent-mode/expected.json +33 -0
  720. package/fixtures/read/agent-model/agent.md +4 -0
  721. package/fixtures/read/agent-model/expected.json +33 -0
  722. package/fixtures/read/agent-model-invocable/agent.md +4 -0
  723. package/fixtures/read/agent-model-invocable/expected.json +33 -0
  724. package/fixtures/read/agent-model-policies/agent.md +4 -0
  725. package/fixtures/read/agent-model-policies/expected.json +51 -0
  726. package/fixtures/read/agent-model-policy-index/agent.md +4 -0
  727. package/fixtures/read/agent-model-policy-index/expected.json +54 -0
  728. package/fixtures/read/agent-model-policy-network/agent.md +4 -0
  729. package/fixtures/read/agent-model-policy-network/expected.json +53 -0
  730. package/fixtures/read/agent-model-policy-network-hosts/agent.md +12 -0
  731. package/fixtures/read/agent-model-policy-network-hosts/expected.json +115 -0
  732. package/fixtures/read/agent-model-policy-when/agent.md +12 -0
  733. package/fixtures/read/agent-model-policy-when/expected.json +96 -0
  734. package/fixtures/read/agent-name/agent.md +4 -0
  735. package/fixtures/read/agent-name/expected.json +33 -0
  736. package/fixtures/read/agent-nested-order/agent.md +17 -0
  737. package/fixtures/read/agent-nested-order/expected.json +117 -0
  738. package/fixtures/read/agent-network/agent.md +6 -0
  739. package/fixtures/read/agent-network/expected.json +55 -0
  740. package/fixtures/read/agent-network-allow-replace/agent.md +5 -0
  741. package/fixtures/read/agent-network-allow-replace/expected.json +45 -0
  742. package/fixtures/read/agent-network-invalid/agent.md +7 -0
  743. package/fixtures/read/agent-network-invalid/expected.json +140 -0
  744. package/fixtures/read/agent-proto-key/agent.md +10 -0
  745. package/fixtures/read/agent-proto-key/expected.json +67 -0
  746. package/fixtures/read/agent-removed-autocompact/agent.md +3 -0
  747. package/fixtures/read/agent-removed-autocompact/expected.json +42 -0
  748. package/fixtures/read/agent-removed-autocompact-pct/agent.md +3 -0
  749. package/fixtures/read/agent-removed-autocompact-pct/expected.json +42 -0
  750. package/fixtures/read/agent-removed-disallowed-tools/agent.md +3 -0
  751. package/fixtures/read/agent-removed-disallowed-tools/expected.json +44 -0
  752. package/fixtures/read/agent-removed-fanout/agent.md +3 -0
  753. package/fixtures/read/agent-removed-fanout/expected.json +42 -0
  754. package/fixtures/read/agent-removed-mcp-tools/agent.md +3 -0
  755. package/fixtures/read/agent-removed-mcp-tools/expected.json +44 -0
  756. package/fixtures/read/agent-removed-model-invocable/agent.md +3 -0
  757. package/fixtures/read/agent-removed-model-invocable/expected.json +42 -0
  758. package/fixtures/read/agent-removed-models/agent.md +3 -0
  759. package/fixtures/read/agent-removed-models/expected.json +44 -0
  760. package/fixtures/read/agent-removed-permission/agent.md +3 -0
  761. package/fixtures/read/agent-removed-permission/expected.json +42 -0
  762. package/fixtures/read/agent-removed-user-invocable/agent.md +3 -0
  763. package/fixtures/read/agent-removed-user-invocable/expected.json +42 -0
  764. package/fixtures/read/agent-sandbox/agent.md +4 -0
  765. package/fixtures/read/agent-sandbox/expected.json +33 -0
  766. package/fixtures/read/agent-skills/agent.md +4 -0
  767. package/fixtures/read/agent-skills/expected.json +44 -0
  768. package/fixtures/read/agent-subagents/agent.md +4 -0
  769. package/fixtures/read/agent-subagents/expected.json +37 -0
  770. package/fixtures/read/agent-tools/agent.md +4 -0
  771. package/fixtures/read/agent-tools/expected.json +41 -0
  772. package/fixtures/read/agent-tools-list/agent.md +3 -0
  773. package/fixtures/read/agent-tools-list/expected.json +44 -0
  774. package/fixtures/read/agent-unknown/agent.md +3 -0
  775. package/fixtures/read/agent-unknown/expected.json +42 -0
  776. package/fixtures/read/agent-user-invocable/agent.md +4 -0
  777. package/fixtures/read/agent-user-invocable/expected.json +33 -0
  778. package/fixtures/read/frontmatter-not-mapping/agent.md +3 -0
  779. package/fixtures/read/frontmatter-not-mapping/expected.json +13 -0
  780. package/fixtures/read/frontmatter-unclosed/agent.md +2 -0
  781. package/fixtures/read/frontmatter-unclosed/expected.json +13 -0
  782. package/fixtures/read/manifest-invalid-description/expected.json +32 -0
  783. package/fixtures/read/manifest-invalid-description/mars.toml +5 -0
  784. package/fixtures/read/manifest-kept/expected.json +66 -0
  785. package/fixtures/read/manifest-kept/mars.toml +11 -0
  786. package/fixtures/read/manifest-missing-version/expected.json +34 -0
  787. package/fixtures/read/manifest-missing-version/mars.toml +4 -0
  788. package/fixtures/read/manifest-order/expected.json +160 -0
  789. package/fixtures/read/manifest-order/mars.toml +15 -0
  790. package/fixtures/read/manifest-provider-name/expected.json +57 -0
  791. package/fixtures/read/manifest-provider-name/mars.toml +5 -0
  792. package/fixtures/read/manifest-removed-visibility/expected.json +37 -0
  793. package/fixtures/read/manifest-removed-visibility/mars.toml +5 -0
  794. package/fixtures/read/manifest-schema-type/expected.json +29 -0
  795. package/fixtures/read/manifest-schema-type/mars.toml +4 -0
  796. package/fixtures/read/manifest-unknown/expected.json +37 -0
  797. package/fixtures/read/manifest-unknown/mars.toml +5 -0
  798. package/fixtures/read/skill-anchor/expected.json +42 -0
  799. package/fixtures/read/skill-anchor/skill.md +6 -0
  800. package/fixtures/read/skill-compatibility/expected.json +36 -0
  801. package/fixtures/read/skill-compatibility/skill.md +4 -0
  802. package/fixtures/read/skill-description/expected.json +28 -0
  803. package/fixtures/read/skill-description/skill.md +4 -0
  804. package/fixtures/read/skill-field-type/expected.json +44 -0
  805. package/fixtures/read/skill-field-type/skill.md +3 -0
  806. package/fixtures/read/skill-license/expected.json +36 -0
  807. package/fixtures/read/skill-license/skill.md +4 -0
  808. package/fixtures/read/skill-metadata/expected.json +40 -0
  809. package/fixtures/read/skill-metadata/skill.md +4 -0
  810. package/fixtures/read/skill-metadata-type/expected.json +41 -0
  811. package/fixtures/read/skill-metadata-type/skill.md +6 -0
  812. package/fixtures/read/skill-model-invocable/expected.json +36 -0
  813. package/fixtures/read/skill-model-invocable/skill.md +4 -0
  814. package/fixtures/read/skill-name/expected.json +28 -0
  815. package/fixtures/read/skill-name/skill.md +4 -0
  816. package/fixtures/read/skill-removed-allow-implicit-invocation/expected.json +44 -0
  817. package/fixtures/read/skill-removed-allow-implicit-invocation/skill.md +3 -0
  818. package/fixtures/read/skill-removed-allowed-tools/expected.json +44 -0
  819. package/fixtures/read/skill-removed-allowed-tools/skill.md +3 -0
  820. package/fixtures/read/skill-removed-disable-model-invocation/expected.json +44 -0
  821. package/fixtures/read/skill-removed-disable-model-invocation/skill.md +3 -0
  822. package/fixtures/read/skill-removed-disallowed-tools/expected.json +46 -0
  823. package/fixtures/read/skill-removed-disallowed-tools/skill.md +3 -0
  824. package/fixtures/read/skill-removed-invocation/expected.json +44 -0
  825. package/fixtures/read/skill-removed-invocation/skill.md +3 -0
  826. package/fixtures/read/skill-removed-model-invocable-alias/expected.json +44 -0
  827. package/fixtures/read/skill-removed-model-invocable-alias/skill.md +3 -0
  828. package/fixtures/read/skill-removed-tools/expected.json +46 -0
  829. package/fixtures/read/skill-removed-tools/skill.md +3 -0
  830. package/fixtures/read/skill-removed-type/expected.json +44 -0
  831. package/fixtures/read/skill-removed-type/skill.md +3 -0
  832. package/fixtures/read/skill-removed-user-invocable-alias/expected.json +44 -0
  833. package/fixtures/read/skill-removed-user-invocable-alias/skill.md +3 -0
  834. package/fixtures/read/skill-removed-when-to-use/expected.json +44 -0
  835. package/fixtures/read/skill-removed-when-to-use/skill.md +3 -0
  836. package/fixtures/read/skill-unknown/expected.json +44 -0
  837. package/fixtures/read/skill-unknown/skill.md +3 -0
  838. package/fixtures/read/skill-user-invocable/expected.json +36 -0
  839. package/fixtures/read/skill-user-invocable/skill.md +4 -0
  840. package/fixtures/read/yaml-anchor/agent.md +4 -0
  841. package/fixtures/read/yaml-anchor/expected.json +48 -0
  842. package/fixtures/read/yaml-document-end/agent.md +4 -0
  843. package/fixtures/read/yaml-document-end/expected.json +40 -0
  844. package/fixtures/read/yaml-duplicate-key/agent.md +4 -0
  845. package/fixtures/read/yaml-duplicate-key/expected.json +13 -0
  846. package/fixtures/read/yaml-scalar-punctuation/agent.md +8 -0
  847. package/fixtures/read/yaml-scalar-punctuation/expected.json +37 -0
  848. package/fixtures/upgrade/agent-approval-yolo/expected-diagnostics.json +1 -0
  849. package/fixtures/upgrade/agent-approval-yolo/expected.md +4 -0
  850. package/fixtures/upgrade/agent-approval-yolo/input.md +4 -0
  851. package/fixtures/upgrade/agent-approval-yolo/kind.txt +1 -0
  852. package/fixtures/upgrade/agent-bom/expected-diagnostics.json +1 -0
  853. package/fixtures/upgrade/agent-bom/expected.md +4 -0
  854. package/fixtures/upgrade/agent-bom/input.md +5 -0
  855. package/fixtures/upgrade/agent-bom/kind.txt +1 -0
  856. package/fixtures/upgrade/agent-claude-keys-conflict/expected-diagnostics.json +4 -0
  857. package/fixtures/upgrade/agent-claude-keys-conflict/expected.md +9 -0
  858. package/fixtures/upgrade/agent-claude-keys-conflict/input.md +11 -0
  859. package/fixtures/upgrade/agent-claude-keys-conflict/kind.txt +1 -0
  860. package/fixtures/upgrade/agent-claude-keys-unmoved/expected-diagnostics.json +3 -0
  861. package/fixtures/upgrade/agent-claude-keys-unmoved/expected.md +6 -0
  862. package/fixtures/upgrade/agent-claude-keys-unmoved/input.md +6 -0
  863. package/fixtures/upgrade/agent-claude-keys-unmoved/kind.txt +1 -0
  864. package/fixtures/upgrade/agent-disallowed-tools/expected-diagnostics.json +1 -0
  865. package/fixtures/upgrade/agent-disallowed-tools/expected.md +6 -0
  866. package/fixtures/upgrade/agent-disallowed-tools/input.md +5 -0
  867. package/fixtures/upgrade/agent-disallowed-tools/kind.txt +1 -0
  868. package/fixtures/upgrade/agent-effort-adaptive/expected-diagnostics.json +1 -0
  869. package/fixtures/upgrade/agent-effort-adaptive/expected.md +4 -0
  870. package/fixtures/upgrade/agent-effort-adaptive/input.md +4 -0
  871. package/fixtures/upgrade/agent-effort-adaptive/kind.txt +1 -0
  872. package/fixtures/upgrade/agent-effort-disabled/expected-diagnostics.json +1 -0
  873. package/fixtures/upgrade/agent-effort-disabled/expected.md +4 -0
  874. package/fixtures/upgrade/agent-effort-disabled/input.md +4 -0
  875. package/fixtures/upgrade/agent-effort-disabled/kind.txt +1 -0
  876. package/fixtures/upgrade/agent-fallback-bom-no-trailing-newline/expected-diagnostics.json +1 -0
  877. package/fixtures/upgrade/agent-fallback-bom-no-trailing-newline/expected.md +5 -0
  878. package/fixtures/upgrade/agent-fallback-bom-no-trailing-newline/fully-rewritten.txt +2 -0
  879. package/fixtures/upgrade/agent-fallback-bom-no-trailing-newline/input.md +4 -0
  880. package/fixtures/upgrade/agent-fallback-bom-no-trailing-newline/kind.txt +1 -0
  881. package/fixtures/upgrade/agent-fallback-mixed-body/expected-diagnostics.json +1 -0
  882. package/fixtures/upgrade/agent-fallback-mixed-body/expected.md +6 -0
  883. package/fixtures/upgrade/agent-fallback-mixed-body/fully-rewritten.txt +2 -0
  884. package/fixtures/upgrade/agent-fallback-mixed-body/input.md +5 -0
  885. package/fixtures/upgrade/agent-fallback-mixed-body/kind.txt +1 -0
  886. package/fixtures/upgrade/agent-flow-top-level-fallback/expected-diagnostics.json +1 -0
  887. package/fixtures/upgrade/agent-flow-top-level-fallback/expected.md +4 -0
  888. package/fixtures/upgrade/agent-flow-top-level-fallback/fully-rewritten.txt +1 -0
  889. package/fixtures/upgrade/agent-flow-top-level-fallback/input.md +3 -0
  890. package/fixtures/upgrade/agent-flow-top-level-fallback/kind.txt +1 -0
  891. package/fixtures/upgrade/agent-invocability-aliases/expected-diagnostics.json +1 -0
  892. package/fixtures/upgrade/agent-invocability-aliases/expected.md +5 -0
  893. package/fixtures/upgrade/agent-invocability-aliases/input.md +5 -0
  894. package/fixtures/upgrade/agent-invocability-aliases/kind.txt +1 -0
  895. package/fixtures/upgrade/agent-minimal-comments/expected-diagnostics.json +3 -0
  896. package/fixtures/upgrade/agent-minimal-comments/expected.md +8 -0
  897. package/fixtures/upgrade/agent-minimal-comments/input.md +10 -0
  898. package/fixtures/upgrade/agent-minimal-comments/kind.txt +1 -0
  899. package/fixtures/upgrade/agent-model-policy-removed/expected-diagnostics.json +5 -0
  900. package/fixtures/upgrade/agent-model-policy-removed/expected.md +8 -0
  901. package/fixtures/upgrade/agent-model-policy-removed/input.md +10 -0
  902. package/fixtures/upgrade/agent-model-policy-removed/kind.txt +1 -0
  903. package/fixtures/upgrade/agent-network-both-spellings/expected-diagnostics.json +1 -0
  904. package/fixtures/upgrade/agent-network-both-spellings/expected.md +11 -0
  905. package/fixtures/upgrade/agent-network-both-spellings/input.md +8 -0
  906. package/fixtures/upgrade/agent-network-both-spellings/kind.txt +1 -0
  907. package/fixtures/upgrade/agent-network-kept/expected-diagnostics.json +3 -0
  908. package/fixtures/upgrade/agent-network-kept/expected.md +10 -0
  909. package/fixtures/upgrade/agent-network-kept/input.md +8 -0
  910. package/fixtures/upgrade/agent-network-kept/kind.txt +1 -0
  911. package/fixtures/upgrade/agent-permission/expected-diagnostics.json +1 -0
  912. package/fixtures/upgrade/agent-permission/expected.md +8 -0
  913. package/fixtures/upgrade/agent-permission/input.md +7 -0
  914. package/fixtures/upgrade/agent-permission/kind.txt +1 -0
  915. package/fixtures/upgrade/agent-removed-keys/expected-diagnostics.json +7 -0
  916. package/fixtures/upgrade/agent-removed-keys/expected.md +3 -0
  917. package/fixtures/upgrade/agent-removed-keys/input.md +8 -0
  918. package/fixtures/upgrade/agent-removed-keys/kind.txt +1 -0
  919. package/fixtures/upgrade/agent-tools-list/expected-diagnostics.json +1 -0
  920. package/fixtures/upgrade/agent-tools-list/expected.md +7 -0
  921. package/fixtures/upgrade/agent-tools-list/input.md +5 -0
  922. package/fixtures/upgrade/agent-tools-list/kind.txt +1 -0
  923. package/fixtures/upgrade/agent-unreadable-values/expected-diagnostics.json +8 -0
  924. package/fixtures/upgrade/agent-unreadable-values/expected.md +5 -0
  925. package/fixtures/upgrade/agent-unreadable-values/input.md +13 -0
  926. package/fixtures/upgrade/agent-unreadable-values/kind.txt +1 -0
  927. package/fixtures/upgrade/manifest-crlf/expected-diagnostics.json +3 -0
  928. package/fixtures/upgrade/manifest-crlf/expected.toml +6 -0
  929. package/fixtures/upgrade/manifest-crlf/input.toml +6 -0
  930. package/fixtures/upgrade/manifest-crlf/kind.txt +1 -0
  931. package/fixtures/upgrade/manifest-schema-visibility/expected-diagnostics.json +3 -0
  932. package/fixtures/upgrade/manifest-schema-visibility/expected.toml +7 -0
  933. package/fixtures/upgrade/manifest-schema-visibility/input.toml +7 -0
  934. package/fixtures/upgrade/manifest-schema-visibility/kind.txt +1 -0
  935. package/fixtures/upgrade/manifest-v1-idempotent/expected-diagnostics.json +1 -0
  936. package/fixtures/upgrade/manifest-v1-idempotent/expected.toml +5 -0
  937. package/fixtures/upgrade/manifest-v1-idempotent/input.toml +5 -0
  938. package/fixtures/upgrade/manifest-v1-idempotent/kind.txt +1 -0
  939. package/fixtures/upgrade/skill-crlf/expected-diagnostics.json +3 -0
  940. package/fixtures/upgrade/skill-crlf/expected.md +7 -0
  941. package/fixtures/upgrade/skill-crlf/input.md +7 -0
  942. package/fixtures/upgrade/skill-crlf/kind.txt +1 -0
  943. package/fixtures/upgrade/skill-tools-dropped/expected-diagnostics.json +5 -0
  944. package/fixtures/upgrade/skill-tools-dropped/expected.md +3 -0
  945. package/fixtures/upgrade/skill-tools-dropped/input.md +6 -0
  946. package/fixtures/upgrade/skill-tools-dropped/kind.txt +1 -0
  947. package/fixtures/upgrade/skill-type-when-to-use/expected-diagnostics.json +1 -0
  948. package/fixtures/upgrade/skill-type-when-to-use/expected.md +10 -0
  949. package/fixtures/upgrade/skill-type-when-to-use/input.md +7 -0
  950. package/fixtures/upgrade/skill-type-when-to-use/kind.txt +1 -0
  951. package/fixtures/upgrade/supporting-markdown/expected-diagnostics.json +1 -0
  952. package/fixtures/upgrade/supporting-markdown/expected.md +4 -0
  953. package/fixtures/upgrade/supporting-markdown/input.md +4 -0
  954. package/fixtures/upgrade/supporting-markdown/kind.txt +1 -0
  955. package/fixtures/vocabulary/expected.json +926 -0
  956. package/index.d.ts +418 -0
  957. package/index.web.d.ts +7 -0
  958. package/node/mars_schema_wasm.d.ts +45 -0
  959. package/node/mars_schema_wasm.js +672 -0
  960. package/node/mars_schema_wasm_bg.wasm +0 -0
  961. package/node/mars_schema_wasm_bg.wasm.d.ts +16 -0
  962. package/package.json +34 -4
  963. package/web/mars_schema_wasm.d.ts +86 -0
  964. package/web/mars_schema_wasm.js +759 -0
  965. package/web/mars_schema_wasm_bg.wasm +0 -0
  966. package/web/mars_schema_wasm_bg.wasm.d.ts +16 -0
  967. package/web/package.json +1 -0
@@ -0,0 +1,15 @@
1
+ {
2
+ "classification": {
3
+ "kind": "foreign",
4
+ "dialect": "codex",
5
+ "evidence": {
6
+ "source": "predicted",
7
+ "paths": [
8
+ ".codex/skills"
9
+ ]
10
+ }
11
+ },
12
+ "definitions": [],
13
+ "payload": [],
14
+ "diagnostics": {}
15
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: hidden
3
+ description: Hidden
4
+ ---
5
+ # Body
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "classification": {
3
+ "kind": "invalid"
4
+ },
5
+ "manifest": {
6
+ "source_path": "mars.toml",
7
+ "output_path": "mars.toml",
8
+ "reading": {
9
+ "frontmatter": [],
10
+ "fields": null,
11
+ "body": null,
12
+ "diagnostics": [
13
+ {
14
+ "code": "toml.invalid",
15
+ "severity": "error",
16
+ "path": [],
17
+ "message": "TOML parse error at line 1, column 9\n |\n1 | [package\n | ^\ninvalid table header\nexpected `.`, `]`\n"
18
+ }
19
+ ]
20
+ },
21
+ "change": {
22
+ "kind": "none"
23
+ }
24
+ },
25
+ "definitions": [],
26
+ "payload": [],
27
+ "diagnostics": {}
28
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: ignored
3
+ description: Ignored
4
+ ---
5
+ # Body
@@ -0,0 +1,2 @@
1
+ [package
2
+ name = "broken"
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: coder
3
+ description: Codes
4
+ model-invocable: false
5
+ ---
6
+ # Body
@@ -0,0 +1,4 @@
1
+ [package]
2
+ name = "demo"
3
+ version = "1.0.0"
4
+ schema = 1
@@ -0,0 +1,103 @@
1
+ {
2
+ "classification": {
3
+ "kind": "mars-legacy"
4
+ },
5
+ "manifest": {
6
+ "source_path": "mars.toml",
7
+ "output_path": "mars.toml",
8
+ "reading": {
9
+ "frontmatter": [
10
+ [
11
+ "name",
12
+ "demo"
13
+ ],
14
+ [
15
+ "version",
16
+ "1.0.0"
17
+ ],
18
+ [
19
+ "schema",
20
+ 1
21
+ ]
22
+ ],
23
+ "fields": {
24
+ "name": "demo",
25
+ "version": "1.0.0",
26
+ "schema": 1
27
+ },
28
+ "body": null,
29
+ "diagnostics": []
30
+ },
31
+ "change": {
32
+ "kind": "edited",
33
+ "paths": [
34
+ [
35
+ "package",
36
+ "schema"
37
+ ]
38
+ ]
39
+ }
40
+ },
41
+ "definitions": [
42
+ {
43
+ "kind": "agent",
44
+ "slug": "coder",
45
+ "source_path": "agents/coder.md",
46
+ "output_path": "agents/coder.md",
47
+ "reading": {
48
+ "frontmatter": [
49
+ [
50
+ "name",
51
+ "coder"
52
+ ],
53
+ [
54
+ "description",
55
+ "Codes"
56
+ ],
57
+ [
58
+ "model-invocable",
59
+ false
60
+ ]
61
+ ],
62
+ "fields": {
63
+ "name": "coder",
64
+ "description": "Codes",
65
+ "harness": null,
66
+ "model": null,
67
+ "mode": null,
68
+ "model-invocable": false,
69
+ "user-invocable": true,
70
+ "approval": null,
71
+ "sandbox": null,
72
+ "network": null,
73
+ "network-allow": [],
74
+ "network-deny": [],
75
+ "effort": null,
76
+ "skills": {
77
+ "load": [],
78
+ "available": []
79
+ },
80
+ "subagents": [],
81
+ "tools": [],
82
+ "harness-overrides": {},
83
+ "model-policies": []
84
+ },
85
+ "body": "# Body\n",
86
+ "diagnostics": []
87
+ },
88
+ "change": {
89
+ "kind": "edited",
90
+ "paths": [
91
+ [
92
+ "model-invocable"
93
+ ],
94
+ [
95
+ "model_invocable"
96
+ ]
97
+ ]
98
+ }
99
+ }
100
+ ],
101
+ "payload": [],
102
+ "diagnostics": {}
103
+ }
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: coder
3
+ description: Codes
4
+ model_invocable: false
5
+ ---
6
+ # Body
@@ -0,0 +1,3 @@
1
+ [package]
2
+ name = "demo"
3
+ version = "1.0.0"
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,4 @@
1
+ [package]
2
+ name = "demo"
3
+ version = "1.0.0"
4
+ schema = 1
@@ -0,0 +1,77 @@
1
+ {
2
+ "classification": {
3
+ "kind": "mars-legacy"
4
+ },
5
+ "manifest": {
6
+ "source_path": "mars.toml",
7
+ "output_path": "mars.toml",
8
+ "reading": {
9
+ "frontmatter": [
10
+ [
11
+ "name",
12
+ "demo"
13
+ ],
14
+ [
15
+ "version",
16
+ "1.0.0"
17
+ ],
18
+ [
19
+ "schema",
20
+ 1
21
+ ]
22
+ ],
23
+ "fields": {
24
+ "name": "demo",
25
+ "version": "1.0.0",
26
+ "schema": 1
27
+ },
28
+ "body": null,
29
+ "diagnostics": []
30
+ },
31
+ "change": {
32
+ "kind": "edited",
33
+ "paths": [
34
+ [
35
+ "package",
36
+ "schema"
37
+ ]
38
+ ]
39
+ }
40
+ },
41
+ "definitions": [
42
+ {
43
+ "kind": "skill",
44
+ "slug": "steady",
45
+ "source_path": "skills/steady/SKILL.md",
46
+ "output_path": "skills/steady/SKILL.md",
47
+ "reading": {
48
+ "frontmatter": [
49
+ [
50
+ "name",
51
+ "steady"
52
+ ],
53
+ [
54
+ "description",
55
+ "Stable"
56
+ ]
57
+ ],
58
+ "fields": {
59
+ "name": "steady",
60
+ "description": "Stable",
61
+ "model-invocable": true,
62
+ "user-invocable": true,
63
+ "license": null,
64
+ "compatibility": null,
65
+ "metadata": null
66
+ },
67
+ "body": "# Body\n",
68
+ "diagnostics": []
69
+ },
70
+ "change": {
71
+ "kind": "none"
72
+ }
73
+ }
74
+ ],
75
+ "payload": [],
76
+ "diagnostics": {}
77
+ }
@@ -0,0 +1,3 @@
1
+ [package]
2
+ name = "demo"
3
+ version = "1.0.0"
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: steady
3
+ description: Stable
4
+ ---
5
+ # Body
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "classification": {
3
+ "kind": "foreign",
4
+ "dialect": "agent-skills",
5
+ "evidence": {
6
+ "source": "predicted",
7
+ "paths": []
8
+ }
9
+ },
10
+ "definitions": [
11
+ {
12
+ "kind": "skill",
13
+ "slug": "demo",
14
+ "source_path": "skills/demo/SKILL.md",
15
+ "output_path": "skills/demo/SKILL.md",
16
+ "reading": {
17
+ "frontmatter": [
18
+ [
19
+ "name",
20
+ "demo"
21
+ ],
22
+ [
23
+ "description",
24
+ "Demo"
25
+ ]
26
+ ],
27
+ "fields": {
28
+ "name": "demo",
29
+ "description": "Demo",
30
+ "model-invocable": true,
31
+ "user-invocable": true,
32
+ "license": null,
33
+ "compatibility": null,
34
+ "metadata": null
35
+ },
36
+ "body": "# Body\n",
37
+ "diagnostics": []
38
+ },
39
+ "change": {
40
+ "kind": "none"
41
+ }
42
+ }
43
+ ],
44
+ "payload": [
45
+ {
46
+ "source_path": "skills/demo/script.py",
47
+ "output_path": "skills/demo/script.py"
48
+ }
49
+ ],
50
+ "diagnostics": {}
51
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: demo
3
+ description: Demo
4
+ ---
5
+ # Body
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "classification": {
3
+ "kind": "invalid"
4
+ },
5
+ "manifest": {
6
+ "source_path": "mars.toml",
7
+ "output_path": "mars.toml",
8
+ "reading": {
9
+ "frontmatter": [],
10
+ "fields": null,
11
+ "body": null,
12
+ "diagnostics": [
13
+ {
14
+ "code": "manifest.package-required",
15
+ "severity": "error",
16
+ "path": [
17
+ "package"
18
+ ],
19
+ "message": "manifest requires a [package] table"
20
+ }
21
+ ]
22
+ },
23
+ "change": {
24
+ "kind": "none"
25
+ }
26
+ },
27
+ "definitions": [],
28
+ "payload": [],
29
+ "diagnostics": {}
30
+ }
@@ -0,0 +1,2 @@
1
+ [settings]
2
+ targets = ["claude"]
@@ -0,0 +1,5 @@
1
+ ---
2
+ name: ignored
3
+ description: Ignored
4
+ ---
5
+ # Body
@@ -0,0 +1,3 @@
1
+ {
2
+ "context": "package"
3
+ }
@@ -0,0 +1,19 @@
1
+ ---
2
+ description: Reviews a change without editing it
3
+ mode: subagent
4
+ model: anthropic/claude-sonnet-4
5
+ tools:
6
+ write: deny
7
+ edit: deny
8
+ bash: deny
9
+ read: allow
10
+ harness-overrides:
11
+ opencode:
12
+ temperature: 0.1
13
+ permission:
14
+ edit: deny
15
+ bash:
16
+ git push: ask
17
+ '*': allow
18
+ ---
19
+ Review the diff and report findings.
@@ -0,0 +1,130 @@
1
+ {
2
+ "classification": {
3
+ "kind": "foreign",
4
+ "dialect": "opencode",
5
+ "evidence": {
6
+ "source": "declared",
7
+ "paths": []
8
+ }
9
+ },
10
+ "definitions": [
11
+ {
12
+ "kind": "agent",
13
+ "slug": "review",
14
+ "source_path": "agents/review.md",
15
+ "output_path": "agents/review.md",
16
+ "reading": {
17
+ "frontmatter": [
18
+ [
19
+ "description",
20
+ "Reviews a change without editing it"
21
+ ],
22
+ [
23
+ "mode",
24
+ "subagent"
25
+ ],
26
+ [
27
+ "model",
28
+ "anthropic/claude-sonnet-4"
29
+ ],
30
+ [
31
+ "tools",
32
+ {
33
+ "write": "deny",
34
+ "edit": "deny",
35
+ "bash": "deny",
36
+ "read": "allow"
37
+ }
38
+ ],
39
+ [
40
+ "harness-overrides",
41
+ {
42
+ "opencode": {
43
+ "temperature": 0.1,
44
+ "permission": {
45
+ "edit": "deny",
46
+ "bash": {
47
+ "git push": "ask",
48
+ "*": "allow"
49
+ }
50
+ }
51
+ }
52
+ }
53
+ ]
54
+ ],
55
+ "fields": {
56
+ "name": null,
57
+ "description": "Reviews a change without editing it",
58
+ "harness": null,
59
+ "model": "anthropic/claude-sonnet-4",
60
+ "mode": "subagent",
61
+ "model-invocable": true,
62
+ "user-invocable": true,
63
+ "approval": null,
64
+ "sandbox": null,
65
+ "network": null,
66
+ "network-allow": [],
67
+ "network-deny": [],
68
+ "effort": null,
69
+ "skills": {
70
+ "load": [],
71
+ "available": []
72
+ },
73
+ "subagents": [],
74
+ "tools": [
75
+ {
76
+ "capability": "write",
77
+ "pattern": null,
78
+ "action": "deny"
79
+ },
80
+ {
81
+ "capability": "edit",
82
+ "pattern": null,
83
+ "action": "deny"
84
+ },
85
+ {
86
+ "capability": "bash",
87
+ "pattern": null,
88
+ "action": "deny"
89
+ },
90
+ {
91
+ "capability": "read",
92
+ "pattern": null,
93
+ "action": "allow"
94
+ }
95
+ ],
96
+ "harness-overrides": {
97
+ "opencode": {
98
+ "temperature": 0.1,
99
+ "permission": {
100
+ "edit": "deny",
101
+ "bash": {
102
+ "git push": "ask",
103
+ "*": "allow"
104
+ }
105
+ }
106
+ }
107
+ },
108
+ "model-policies": []
109
+ },
110
+ "body": "Review the diff and report findings.\n",
111
+ "diagnostics": []
112
+ },
113
+ "change": {
114
+ "kind": "fully-rewritten"
115
+ }
116
+ }
117
+ ],
118
+ "payload": [],
119
+ "diagnostics": {},
120
+ "changes": {
121
+ "agents/review.md": [
122
+ {
123
+ "code": "agent.opencode-keys-moved",
124
+ "severity": "info",
125
+ "path": [],
126
+ "message": "moved OpenCode-only keys to harness-overrides.opencode: `temperature`, `permission`"
127
+ }
128
+ ]
129
+ }
130
+ }
@@ -0,0 +1,17 @@
1
+ ---
2
+ description: Reviews a change without editing it
3
+ mode: subagent
4
+ model: anthropic/claude-sonnet-4
5
+ temperature: 0.1
6
+ tools:
7
+ write: false
8
+ edit: false
9
+ bash: false
10
+ read: true
11
+ permission:
12
+ edit: deny
13
+ bash:
14
+ "git push": ask
15
+ "*": allow
16
+ ---
17
+ Review the diff and report findings.
@@ -0,0 +1,4 @@
1
+ {
2
+ "context": "package",
3
+ "declared_dialect": "opencode"
4
+ }
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: review
3
+ description: Reviews code and never writes
4
+ tools:
5
+ write: deny
6
+ ---
7
+ Review the diff.