@astryxdesign/cli 0.7.3 → 0.7.4-canary.1a31622

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 (733) hide show
  1. package/README.md +81 -80
  2. package/api/component/_adapter.mjs +4 -3
  3. package/api/component/component.mjs +13 -6
  4. package/api/component/doc-links.test.mjs +33 -0
  5. package/api/discover/_adapter.d.mts +49 -1
  6. package/api/discover/_adapter.mjs +139 -18
  7. package/api/discover/_catalog-view.d.mts +2 -0
  8. package/api/discover/_catalog-view.mjs +1 -0
  9. package/api/discover/_catalog-view.test.mjs +1 -0
  10. package/api/discover/detail/detail.mjs +1 -0
  11. package/api/discover/detail/detail.test.mjs +3 -0
  12. package/api/discover/detail/doc/doc.mjs +5 -1
  13. package/api/discover/detail/doc/doc.test.mjs +1 -0
  14. package/api/discover/detail/item/item.mjs +33 -0
  15. package/api/discover/detail/item/item.test.mjs +2 -0
  16. package/api/discover/discover.doc.mjs +4 -4
  17. package/api/discover/discover.mjs +26 -8
  18. package/api/discover/discover.type.d.mts +45 -0
  19. package/api/discover/discover.type.mjs +20 -1
  20. package/api/discover/list/list.test.mjs +2 -0
  21. package/api/discover/search/search.d.mts +3 -2
  22. package/api/discover/search/search.mjs +26 -7
  23. package/api/discover/search/search.test.mjs +67 -0
  24. package/api/docs/_adapter.d.mts +80 -0
  25. package/api/docs/_adapter.mjs +285 -15
  26. package/api/docs/detail/detail.mjs +8 -0
  27. package/api/docs/docOverlays.test.mjs +2 -1
  28. package/api/docs/docs.d.mts +16 -6
  29. package/api/docs/docs.doc.mjs +1 -1
  30. package/api/docs/docs.mjs +55 -6
  31. package/api/docs/docs.type.d.mts +38 -2
  32. package/api/docs/docs.type.mjs +17 -3
  33. package/api/docs/guide-route-targets.test.mjs +1002 -0
  34. package/api/docs/index/index.mjs +9 -0
  35. package/api/docs/integration-tree.test.mjs +22 -0
  36. package/api/docs/integrationDocs.test.mjs +85 -0
  37. package/api/docs/list/list.mjs +7 -1
  38. package/api/docs/node/node.mjs +29 -4
  39. package/api/docs/reference-blocks.test.mjs +1 -1
  40. package/api/doctor/_adapter.d.mts +40 -0
  41. package/api/doctor/_adapter.mjs +171 -1
  42. package/api/doctor/built-checks.d.mts +85 -0
  43. package/api/doctor/built-checks.mjs +837 -0
  44. package/api/doctor/built-checks.test.mjs +531 -0
  45. package/api/doctor/doctor.d.mts +40 -7
  46. package/api/doctor/doctor.doc.mjs +11 -1
  47. package/api/doctor/doctor.mjs +127 -14
  48. package/api/doctor/doctor.test.mjs +7 -3
  49. package/api/doctor/doctor.type.d.mts +6 -0
  50. package/api/doctor/doctor.type.mjs +3 -0
  51. package/api/doctor/icon-sets.test.mjs +111 -0
  52. package/api/hook/list/list.d.mts +1 -1
  53. package/api/icon/_adapter.d.mts +54 -0
  54. package/api/icon/_adapter.mjs +173 -0
  55. package/api/icon/_authoring.d.mts +42 -0
  56. package/api/icon/_authoring.mjs +628 -0
  57. package/api/icon/_options.d.mts +15 -0
  58. package/api/icon/_options.mjs +41 -0
  59. package/api/icon/_records.d.mts +47 -0
  60. package/api/icon/_records.mjs +69 -0
  61. package/api/icon/add/add.d.mts +14 -0
  62. package/api/icon/add/add.mjs +416 -0
  63. package/api/icon/detail/detail.d.mts +12 -0
  64. package/api/icon/detail/detail.mjs +88 -0
  65. package/api/icon/error-codes.test.mjs +334 -0
  66. package/api/icon/experimental-markers.test.mjs +93 -0
  67. package/api/icon/icon.d.mts +16 -0
  68. package/api/icon/icon.doc.d.mts +9 -0
  69. package/api/icon/icon.doc.mjs +91 -0
  70. package/api/icon/icon.mjs +96 -0
  71. package/api/icon/icon.test.mjs +374 -0
  72. package/api/icon/icon.type.d.mts +430 -0
  73. package/api/icon/icon.type.mjs +290 -0
  74. package/api/icon/iconAdd.doc.d.mts +6 -0
  75. package/api/icon/iconAdd.doc.mjs +146 -0
  76. package/api/icon/iconMap.doc.d.mts +6 -0
  77. package/api/icon/iconMap.doc.mjs +92 -0
  78. package/api/icon/iconNewDefinition.doc.d.mts +5 -0
  79. package/api/icon/iconNewDefinition.doc.mjs +101 -0
  80. package/api/icon/iconNewSet.doc.d.mts +5 -0
  81. package/api/icon/iconNewSet.doc.mjs +103 -0
  82. package/api/icon/iconUse.doc.d.mts +6 -0
  83. package/api/icon/iconUse.doc.mjs +70 -0
  84. package/api/icon/list/list.d.mts +11 -0
  85. package/api/icon/list/list.mjs +64 -0
  86. package/api/icon/map/map.d.mts +14 -0
  87. package/api/icon/map/map.mjs +122 -0
  88. package/api/icon/new-definition/new-definition.d.mts +12 -0
  89. package/api/icon/new-definition/new-definition.mjs +32 -0
  90. package/api/icon/new-definition/new-definition.undo.test.mjs +97 -0
  91. package/api/icon/new-set/new-set.d.mts +12 -0
  92. package/api/icon/new-set/new-set.mjs +32 -0
  93. package/api/icon/new-set/new-set.test.mjs +348 -0
  94. package/api/icon/search/search.d.mts +14 -0
  95. package/api/icon/search/search.mjs +50 -0
  96. package/api/icon/use/use.d.mts +15 -0
  97. package/api/icon/use/use.mjs +101 -0
  98. package/api/index.d.mts +6 -0
  99. package/api/index.mjs +6 -0
  100. package/api/integration/_adapter.d.mts +20 -2
  101. package/api/integration/_adapter.mjs +48 -4
  102. package/api/integration/add-contribution.d.mts +3 -12
  103. package/api/integration/add-contribution.mjs +7 -97
  104. package/api/integration/add-contribution.test.mjs +14 -10
  105. package/api/integration/add-helpers.d.mts +46 -0
  106. package/api/integration/add-helpers.mjs +106 -4
  107. package/api/integration/authoring-checks.mjs +29 -2
  108. package/api/integration/authoring-checks.test.mjs +131 -1
  109. package/api/integration/check/check.d.mts +4 -1
  110. package/api/integration/check/check.mjs +34 -4
  111. package/api/integration/check/check.test.mjs +49 -0
  112. package/api/integration/doc-stability.test.mjs +216 -0
  113. package/api/integration/example-checks.no-npm.test.mjs +140 -0
  114. package/api/integration/example-checks.test.mjs +776 -0
  115. package/api/integration/integration-authoring.type.d.mts +1 -0
  116. package/api/integration/integration-authoring.type.mjs +1 -0
  117. package/api/integration/integration-check.type.d.mts +8 -0
  118. package/api/integration/integration-check.type.mjs +4 -1
  119. package/api/integration/integrationCheck.doc.mjs +8 -1
  120. package/api/integration/integrationDocConflicts.doc.mjs +1 -1
  121. package/api/integration/pack-check.mjs +74 -2
  122. package/api/integration/pack-check.test.mjs +77 -0
  123. package/api/integration/pack-check.type.d.mts +9 -1
  124. package/api/integration/pack-check.type.mjs +4 -1
  125. package/api/integration/validate-installed-icon-sets.test.mjs +67 -0
  126. package/api/integration/validate-integration-case-disk.test.mjs +14 -2
  127. package/api/integration/validate-integration-gaps.test.mjs +43 -19
  128. package/api/integration/validate-integration.d.mts +11 -1
  129. package/api/integration/validate-integration.mjs +180 -19
  130. package/api/integration/validate-integration.type.d.mts +94 -4
  131. package/api/integration/validate-integration.type.mjs +53 -5
  132. package/api/integration/validateIntegration.doc.mjs +1 -1
  133. package/api/search/ORDERING.md +1 -1
  134. package/api/search/_candidate-score.d.mts +9 -3
  135. package/api/search/_candidate-score.mjs +90 -3
  136. package/api/search/_gather-components.mjs +48 -1
  137. package/api/search/_gather-docs.mjs +52 -3
  138. package/api/search/_lexical.d.mts +12 -0
  139. package/api/search/_lexical.mjs +3 -0
  140. package/api/search/_order.d.mts +1 -1
  141. package/api/search/_order.mjs +75 -6
  142. package/api/search/_priority.mjs +5 -2
  143. package/api/search/_score.d.mts +2 -1
  144. package/api/search/_score.mjs +4 -3
  145. package/api/search/search.doc.mjs +1 -1
  146. package/api/search/search.family-members.test.mjs +124 -0
  147. package/api/search/search.family-word.test.mjs +146 -0
  148. package/api/search/search.mjs +28 -0
  149. package/api/search/search.tie-order.test.mjs +39 -0
  150. package/api/template/_adapter.d.mts +13 -0
  151. package/api/template/_adapter.mjs +36 -0
  152. package/api/template/copy/copy.d.mts +5 -2
  153. package/api/template/copy/copy.mjs +19 -3
  154. package/api/template/show/show.d.mts +6 -1
  155. package/api/template/show/show.mjs +11 -2
  156. package/api/template/template-suffix.test.mjs +26 -0
  157. package/api/template/template.mjs +6 -2
  158. package/api/template/template.type.d.mts +53 -0
  159. package/api/template/template.type.mjs +15 -0
  160. package/api/theme/palette/generate/generate.d.mts +8 -0
  161. package/api/theme/palette/generate/generate.mjs +38 -11
  162. package/api/theme/palette/generate/generate.test.mjs +83 -4
  163. package/api/theme/palette/generate/generator.d.mts +6 -0
  164. package/api/theme/palette/generate/generator.mjs +6 -0
  165. package/api/theme/theme.type.d.mts +12 -1
  166. package/api/theme/theme.type.mjs +7 -1
  167. package/api/theme/themeBuild.doc.mjs +1 -1
  168. package/api/theme/themeList.doc.mjs +1 -1
  169. package/api/theme/themePaletteGenerate.doc.mjs +1 -1
  170. package/api/theme/themeTargets.doc.mjs +1 -1
  171. package/api/upgrade/_adapter.d.mts +10 -2
  172. package/api/upgrade/_adapter.mjs +23 -4
  173. package/api/upgrade/run/run.mjs +4 -1
  174. package/assets/discover/official-packages.json +16 -0
  175. package/assets/docs/author-a-theme.doc.mjs +15 -15
  176. package/assets/docs/browser-support.doc.mjs +1 -1
  177. package/assets/docs/getting-started.doc.mjs +16 -16
  178. package/assets/docs/is-my-code-good.doc.mjs +6 -6
  179. package/assets/docs/styling-overview.doc.mjs +5 -5
  180. package/assets/docs/theme.doc.mjs +5 -5
  181. package/assets/docs/tree/add-a-component.doc.mjs +1 -1
  182. package/assets/docs/tree/add-a-theme.doc.mjs +2 -2
  183. package/assets/docs/tree/add-a-topic.doc.mjs +6 -6
  184. package/assets/docs/tree/agent-guidance.doc.mjs +5 -5
  185. package/assets/docs/tree/authoring.doc.mjs +2 -2
  186. package/assets/docs/tree/block-template.doc.mjs +1 -1
  187. package/assets/docs/tree/check-the-props.doc.mjs +3 -3
  188. package/assets/docs/tree/check-your-docs.doc.mjs +6 -6
  189. package/assets/docs/tree/checks.doc.mjs +11 -11
  190. package/assets/docs/tree/ci-and-containers.doc.mjs +1 -1
  191. package/assets/docs/tree/cli-command.doc.mjs +6 -6
  192. package/assets/docs/tree/codemods.doc.mjs +7 -7
  193. package/assets/docs/tree/component-family.doc.mjs +1 -1
  194. package/assets/docs/tree/component-imports.doc.mjs +2 -2
  195. package/assets/docs/tree/component-lookups.doc.mjs +6 -5
  196. package/assets/docs/tree/computer-agent-guide.doc.mjs +7 -7
  197. package/assets/docs/tree/computer-integrations.doc.mjs +5 -5
  198. package/assets/docs/tree/debug-and-gap-reports.doc.mjs +3 -3
  199. package/assets/docs/tree/define-the-theme.doc.mjs +1 -1
  200. package/assets/docs/tree/describe-the-component.doc.mjs +1 -1
  201. package/assets/docs/tree/doc-syntax.doc.mjs +219 -0
  202. package/assets/docs/tree/experimental.doc.mjs +31 -0
  203. package/assets/docs/tree/export-template-assets.doc.mjs +1 -1
  204. package/assets/docs/tree/extend-or-replace.doc.mjs +39 -7
  205. package/assets/docs/tree/font-setup.doc.mjs +1 -1
  206. package/assets/docs/tree/generate-a-palette.doc.mjs +1 -1
  207. package/assets/docs/tree/global-integrations.doc.mjs +11 -11
  208. package/assets/docs/tree/global.doc.mjs +2 -2
  209. package/assets/docs/tree/host-entry.doc.mjs +1 -1
  210. package/assets/docs/tree/icon-definitions.doc.mjs +48 -0
  211. package/assets/docs/tree/icon-set-files.doc.mjs +33 -0
  212. package/assets/docs/tree/icon-sets.doc.mjs +377 -0
  213. package/assets/docs/tree/install-once.doc.mjs +4 -4
  214. package/assets/docs/tree/layout.doc.mjs +1 -1
  215. package/assets/docs/tree/links.doc.mjs +2 -2
  216. package/assets/docs/tree/migration-setup.doc.mjs +15 -15
  217. package/assets/docs/tree/migration.doc.mjs +2 -1
  218. package/assets/docs/tree/other-libraries.doc.mjs +1 -1
  219. package/assets/docs/tree/page-template.doc.mjs +2 -2
  220. package/assets/docs/tree/problems.doc.mjs +8 -8
  221. package/assets/docs/tree/project-global-or-both.doc.mjs +2 -2
  222. package/assets/docs/tree/publishing.doc.mjs +7 -7
  223. package/assets/docs/tree/quick-start.doc.mjs +9 -9
  224. package/assets/docs/tree/reference.doc.mjs +2 -2
  225. package/assets/docs/tree/replace-a-core-component.doc.mjs +1 -1
  226. package/assets/docs/tree/replace-a-core-template.doc.mjs +4 -4
  227. package/assets/docs/tree/scaffold.doc.mjs +1 -1
  228. package/assets/docs/tree/sections-and-placement.doc.mjs +3 -3
  229. package/assets/docs/tree/see-it-in-an-app.doc.mjs +3 -3
  230. package/assets/docs/tree/short-and-findable.doc.mjs +3 -3
  231. package/assets/docs/tree/single-component.doc.mjs +4 -4
  232. package/assets/docs/tree/start-a-template.doc.mjs +5 -5
  233. package/assets/docs/tree/styling-advanced.doc.mjs +1 -1
  234. package/assets/docs/tree/styling-libraries.doc.mjs +2 -1
  235. package/assets/docs/tree/styling.doc.mjs +1 -1
  236. package/assets/docs/tree/tailwind.doc.mjs +1 -1
  237. package/assets/docs/tree/test-in-an-app.doc.mjs +5 -5
  238. package/assets/docs/tree/test-template-in-app.doc.mjs +6 -6
  239. package/assets/docs/tree/tokens-and-setup.doc.mjs +1 -1
  240. package/assets/docs/tree/troubleshooting.doc.mjs +24 -20
  241. package/assets/docs/tree/uninstall.doc.mjs +2 -2
  242. package/assets/docs/tree/updates.doc.mjs +1 -1
  243. package/assets/docs/tree/upgrading.doc.mjs +3 -3
  244. package/assets/docs/tree/use-a-theme-in-an-app.doc.mjs +1 -1
  245. package/assets/docs/tree/verify-packed-template.doc.mjs +3 -3
  246. package/assets/docs/tree/versioning.doc.mjs +4 -4
  247. package/assets/docs/tree/who-answers.doc.mjs +4 -4
  248. package/assets/docs/tree/write-the-template-file.doc.mjs +4 -4
  249. package/assets/docs/use-a-theme.doc.mjs +10 -10
  250. package/assets/docs/use-integrations.doc.mjs +1 -1
  251. package/assets/docs/working-with-ai.doc.mjs +15 -15
  252. package/assets/icons/definitions/activity.doc.mjs +9 -0
  253. package/assets/icons/definitions/add.doc.mjs +9 -0
  254. package/assets/icons/definitions/adjustments.doc.mjs +9 -0
  255. package/assets/icons/definitions/announcement.doc.mjs +9 -0
  256. package/assets/icons/definitions/apps.doc.mjs +9 -0
  257. package/assets/icons/definitions/archive.doc.mjs +9 -0
  258. package/assets/icons/definitions/arrowDown.doc.mjs +10 -0
  259. package/assets/icons/definitions/arrowLeft.doc.mjs +9 -0
  260. package/assets/icons/definitions/arrowRight.doc.mjs +9 -0
  261. package/assets/icons/definitions/arrowUp.doc.mjs +10 -0
  262. package/assets/icons/definitions/arrowsUpDown.doc.mjs +10 -0
  263. package/assets/icons/definitions/attach.doc.mjs +9 -0
  264. package/assets/icons/definitions/audio.doc.mjs +9 -0
  265. package/assets/icons/definitions/bank.doc.mjs +9 -0
  266. package/assets/icons/definitions/bold.doc.mjs +9 -0
  267. package/assets/icons/definitions/bolt.doc.mjs +9 -0
  268. package/assets/icons/definitions/book.doc.mjs +9 -0
  269. package/assets/icons/definitions/bookmark.doc.mjs +9 -0
  270. package/assets/icons/definitions/bug.doc.mjs +9 -0
  271. package/assets/icons/definitions/building.doc.mjs +9 -0
  272. package/assets/icons/definitions/calendar.doc.mjs +10 -0
  273. package/assets/icons/definitions/cart.doc.mjs +9 -0
  274. package/assets/icons/definitions/chart.doc.mjs +9 -0
  275. package/assets/icons/definitions/check.doc.mjs +10 -0
  276. package/assets/icons/definitions/checkDouble.doc.mjs +10 -0
  277. package/assets/icons/definitions/chevronDown.doc.mjs +10 -0
  278. package/assets/icons/definitions/chevronLeft.doc.mjs +10 -0
  279. package/assets/icons/definitions/chevronRight.doc.mjs +10 -0
  280. package/assets/icons/definitions/chevronUp.doc.mjs +9 -0
  281. package/assets/icons/definitions/chevronsLeft.doc.mjs +10 -0
  282. package/assets/icons/definitions/chevronsRight.doc.mjs +10 -0
  283. package/assets/icons/definitions/click.doc.mjs +9 -0
  284. package/assets/icons/definitions/clipboard.doc.mjs +10 -0
  285. package/assets/icons/definitions/clock.doc.mjs +10 -0
  286. package/assets/icons/definitions/close.doc.mjs +10 -0
  287. package/assets/icons/definitions/code.doc.mjs +9 -0
  288. package/assets/icons/definitions/collapse.doc.mjs +9 -0
  289. package/assets/icons/definitions/compose.doc.mjs +9 -0
  290. package/assets/icons/definitions/conversation.doc.mjs +9 -0
  291. package/assets/icons/definitions/copy.doc.mjs +10 -0
  292. package/assets/icons/definitions/creditCard.doc.mjs +9 -0
  293. package/assets/icons/definitions/database.doc.mjs +9 -0
  294. package/assets/icons/definitions/delete.doc.mjs +9 -0
  295. package/assets/icons/definitions/desktop.doc.mjs +9 -0
  296. package/assets/icons/definitions/discount.doc.mjs +9 -0
  297. package/assets/icons/definitions/document.doc.mjs +9 -0
  298. package/assets/icons/definitions/download.doc.mjs +9 -0
  299. package/assets/icons/definitions/drag.doc.mjs +9 -0
  300. package/assets/icons/definitions/edit.doc.mjs +9 -0
  301. package/assets/icons/definitions/emoji.doc.mjs +9 -0
  302. package/assets/icons/definitions/error.doc.mjs +10 -0
  303. package/assets/icons/definitions/expand.doc.mjs +9 -0
  304. package/assets/icons/definitions/experiment.doc.mjs +9 -0
  305. package/assets/icons/definitions/externalLink.doc.mjs +10 -0
  306. package/assets/icons/definitions/eye.doc.mjs +9 -0
  307. package/assets/icons/definitions/eyeSlash.doc.mjs +10 -0
  308. package/assets/icons/definitions/file.doc.mjs +9 -0
  309. package/assets/icons/definitions/flag.doc.mjs +9 -0
  310. package/assets/icons/definitions/folder.doc.mjs +9 -0
  311. package/assets/icons/definitions/folderAdd.doc.mjs +9 -0
  312. package/assets/icons/definitions/funnel.doc.mjs +10 -0
  313. package/assets/icons/definitions/globe.doc.mjs +9 -0
  314. package/assets/icons/definitions/gridView.doc.mjs +9 -0
  315. package/assets/icons/definitions/heart.doc.mjs +9 -0
  316. package/assets/icons/definitions/home.doc.mjs +9 -0
  317. package/assets/icons/definitions/image.doc.mjs +9 -0
  318. package/assets/icons/definitions/inbox.doc.mjs +9 -0
  319. package/assets/icons/definitions/info.doc.mjs +10 -0
  320. package/assets/icons/definitions/italic.doc.mjs +9 -0
  321. package/assets/icons/definitions/key.doc.mjs +9 -0
  322. package/assets/icons/definitions/language.doc.mjs +9 -0
  323. package/assets/icons/definitions/lightbulb.doc.mjs +9 -0
  324. package/assets/icons/definitions/link.doc.mjs +9 -0
  325. package/assets/icons/definitions/list.doc.mjs +9 -0
  326. package/assets/icons/definitions/location.doc.mjs +9 -0
  327. package/assets/icons/definitions/lock.doc.mjs +9 -0
  328. package/assets/icons/definitions/mail.doc.mjs +9 -0
  329. package/assets/icons/definitions/mention.doc.mjs +9 -0
  330. package/assets/icons/definitions/menu.doc.mjs +10 -0
  331. package/assets/icons/definitions/message.doc.mjs +9 -0
  332. package/assets/icons/definitions/microphone.doc.mjs +10 -0
  333. package/assets/icons/definitions/mobile.doc.mjs +9 -0
  334. package/assets/icons/definitions/money.doc.mjs +9 -0
  335. package/assets/icons/definitions/moon.doc.mjs +9 -0
  336. package/assets/icons/definitions/moreHorizontal.doc.mjs +10 -0
  337. package/assets/icons/definitions/notification.doc.mjs +9 -0
  338. package/assets/icons/definitions/notificationActive.doc.mjs +9 -0
  339. package/assets/icons/definitions/notificationOff.doc.mjs +9 -0
  340. package/assets/icons/definitions/package.doc.mjs +9 -0
  341. package/assets/icons/definitions/pause.doc.mjs +9 -0
  342. package/assets/icons/definitions/pin.doc.mjs +9 -0
  343. package/assets/icons/definitions/play.doc.mjs +9 -0
  344. package/assets/icons/definitions/raiseHand.doc.mjs +9 -0
  345. package/assets/icons/definitions/redo.doc.mjs +9 -0
  346. package/assets/icons/definitions/refresh.doc.mjs +9 -0
  347. package/assets/icons/definitions/remove.doc.mjs +9 -0
  348. package/assets/icons/definitions/rocket.doc.mjs +9 -0
  349. package/assets/icons/definitions/save.doc.mjs +9 -0
  350. package/assets/icons/definitions/search.doc.mjs +10 -0
  351. package/assets/icons/definitions/send.doc.mjs +9 -0
  352. package/assets/icons/definitions/server.doc.mjs +9 -0
  353. package/assets/icons/definitions/settings.doc.mjs +9 -0
  354. package/assets/icons/definitions/share.doc.mjs +9 -0
  355. package/assets/icons/definitions/shield.doc.mjs +9 -0
  356. package/assets/icons/definitions/shipping.doc.mjs +9 -0
  357. package/assets/icons/definitions/shoppingBag.doc.mjs +9 -0
  358. package/assets/icons/definitions/sparkles.doc.mjs +9 -0
  359. package/assets/icons/definitions/star.doc.mjs +9 -0
  360. package/assets/icons/definitions/stop.doc.mjs +10 -0
  361. package/assets/icons/definitions/strikethrough.doc.mjs +9 -0
  362. package/assets/icons/definitions/success.doc.mjs +10 -0
  363. package/assets/icons/definitions/sun.doc.mjs +9 -0
  364. package/assets/icons/definitions/swatch.doc.mjs +9 -0
  365. package/assets/icons/definitions/table.doc.mjs +9 -0
  366. package/assets/icons/definitions/tag.doc.mjs +9 -0
  367. package/assets/icons/definitions/thumbsDown.doc.mjs +9 -0
  368. package/assets/icons/definitions/thumbsUp.doc.mjs +9 -0
  369. package/assets/icons/definitions/trendDown.doc.mjs +9 -0
  370. package/assets/icons/definitions/trendUp.doc.mjs +9 -0
  371. package/assets/icons/definitions/underline.doc.mjs +9 -0
  372. package/assets/icons/definitions/undo.doc.mjs +9 -0
  373. package/assets/icons/definitions/unlock.doc.mjs +9 -0
  374. package/assets/icons/definitions/upload.doc.mjs +10 -0
  375. package/assets/icons/definitions/user.doc.mjs +9 -0
  376. package/assets/icons/definitions/userAdd.doc.mjs +9 -0
  377. package/assets/icons/definitions/userCircle.doc.mjs +9 -0
  378. package/assets/icons/definitions/users.doc.mjs +9 -0
  379. package/assets/icons/definitions/video.doc.mjs +9 -0
  380. package/assets/icons/definitions/viewColumns.doc.mjs +10 -0
  381. package/assets/icons/definitions/warning.doc.mjs +10 -0
  382. package/assets/icons/definitions/work.doc.mjs +9 -0
  383. package/assets/icons/definitions/wrench.doc.mjs +10 -0
  384. package/assets/templates/blocks/components/AppShell/AppShellShowcase.doc.mjs +16 -3
  385. package/assets/templates/blocks/components/AppShell/AppShellSideNavOnly.doc.mjs +16 -1
  386. package/assets/templates/blocks/components/AppShell/AppShellTopNavOnly.doc.mjs +9 -1
  387. package/assets/templates/blocks/components/AppShell/AppShellTopNavWithSideNav.doc.mjs +17 -1
  388. package/assets/templates/blocks/components/AppShell/AppShellWithBanner.doc.mjs +18 -1
  389. package/assets/templates/blocks/components/BaseTypeahead/BaseTypeaheadCustomSearch.doc.mjs +1 -0
  390. package/assets/templates/blocks/components/BottomSheet/BottomSheetSnapPoints.doc.mjs +8 -0
  391. package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherReviewFlow.doc.mjs +1 -1
  392. package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherShowcase.doc.mjs +1 -1
  393. package/assets/templates/blocks/components/BreadcrumbItem/BreadcrumbItemShowcase.doc.mjs +1 -0
  394. package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsDeepHierarchy.doc.mjs +1 -0
  395. package/assets/templates/blocks/components/Breadcrumbs/BreadcrumbsWithIcons.doc.mjs +1 -0
  396. package/assets/templates/blocks/components/Button/ButtonFloating.doc.mjs +1 -0
  397. package/assets/templates/blocks/components/Button/ButtonWithIcon.doc.mjs +6 -0
  398. package/assets/templates/blocks/components/ButtonGroup/ButtonGroupShowcase.doc.mjs +5 -0
  399. package/assets/templates/blocks/components/Center/CenterHorizontal.doc.mjs +8 -0
  400. package/assets/templates/blocks/components/Center/CenterInsideACard.doc.mjs +1 -0
  401. package/assets/templates/blocks/components/ChatComposer/ChatComposerFlat.doc.mjs +5 -0
  402. package/assets/templates/blocks/components/ChatComposer/ChatComposerFooterActions.doc.mjs +13 -1
  403. package/assets/templates/blocks/components/ChatComposer/ChatComposerFullFeatured.doc.mjs +17 -1
  404. package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerShowcase.doc.mjs +1 -0
  405. package/assets/templates/blocks/components/ChatComposerDrawer/ChatComposerDrawerWithProgress.doc.mjs +1 -0
  406. package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataFooter.doc.mjs +15 -1
  407. package/assets/templates/blocks/components/ChatMessageMetadata/ChatMessageMetadataShowcase.doc.mjs +15 -1
  408. package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonCustomIcon.doc.mjs +6 -0
  409. package/assets/templates/blocks/components/ChatSendButton/ChatSendButtonShowcase.doc.mjs +1 -0
  410. package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageStatusUpdates.doc.mjs +1 -0
  411. package/assets/templates/blocks/components/ChatSystemMessage/ChatSystemMessageWithIcon.doc.mjs +6 -0
  412. package/assets/templates/blocks/components/ContextMenu/ContextMenuBottomSheet.doc.mjs +6 -0
  413. package/assets/templates/blocks/components/DropdownMenu/DropdownMenuBottomSheet.doc.mjs +6 -0
  414. package/assets/templates/blocks/components/DropdownMenu/DropdownMenuNoChevron.doc.mjs +1 -0
  415. package/assets/templates/blocks/components/EmptyState/EmptyStateActions.doc.mjs +1 -0
  416. package/assets/templates/blocks/components/EmptyState/EmptyStateCompact.doc.mjs +1 -0
  417. package/assets/templates/blocks/components/EmptyState/EmptyStateContainer.doc.mjs +1 -0
  418. package/assets/templates/blocks/components/EmptyState/EmptyStateShowcase.doc.mjs +1 -0
  419. package/assets/templates/blocks/components/Hooks/useContainerRevealHookUsage.doc.mjs +1 -0
  420. package/assets/templates/blocks/components/Hooks/useKeyboardHintHookUsage.doc.mjs +10 -1
  421. package/assets/templates/blocks/components/HoverCard/HoverCardInteractiveContent.doc.mjs +1 -0
  422. package/assets/templates/blocks/components/HoverCard/HoverCardProfileHoverCard.doc.mjs +1 -0
  423. package/assets/templates/blocks/components/IconButton/IconButtonFloating.doc.mjs +1 -0
  424. package/assets/templates/blocks/components/Item/ItemDocumentTabs.doc.mjs +1 -0
  425. package/assets/templates/blocks/components/Item/ItemShowcase.doc.mjs +1 -0
  426. package/assets/templates/blocks/components/Item/ItemWithMetadata.doc.mjs +1 -1
  427. package/assets/templates/blocks/components/MetadataListItem/MetadataListItemBasic.doc.mjs +1 -1
  428. package/assets/templates/blocks/components/MobileNav/MobileNavBasicMobileNav.doc.mjs +7 -0
  429. package/assets/templates/blocks/components/MobileNav/MobileNavEndSideMobileNav.doc.mjs +1 -0
  430. package/assets/templates/blocks/components/MobileNav/MobileNavWithoutTitleMobileNav.doc.mjs +1 -0
  431. package/assets/templates/blocks/components/MoreMenu/MoreMenuBottomSheet.doc.mjs +6 -0
  432. package/assets/templates/blocks/components/MoreMenu/MoreMenuWithDividers.doc.mjs +5 -0
  433. package/assets/templates/blocks/components/MoreMenu/MoreMenuWithSections.doc.mjs +5 -0
  434. package/assets/templates/blocks/components/Pagination/PaginationDotsCarousel.doc.mjs +1 -0
  435. package/assets/templates/blocks/components/Popover/PopoverBottomSheetAlternative.doc.mjs +1 -0
  436. package/assets/templates/blocks/components/Section/SectionWashHighlight.doc.mjs +1 -0
  437. package/assets/templates/blocks/components/SegmentedControlItem/SegmentedControlItemBasic.doc.mjs +1 -1
  438. package/assets/templates/blocks/components/Selector/SelectorOptionDescriptions.doc.mjs +8 -1
  439. package/assets/templates/blocks/components/SelectorOption/SelectorOptionShowcase.doc.mjs +1 -0
  440. package/assets/templates/blocks/components/TextArea/TextAreaWithIcon.doc.mjs +1 -0
  441. package/assets/templates/blocks/components/TextInput/TextInputIcon.doc.mjs +1 -0
  442. package/assets/templates/blocks/components/TextInput/TextInputSearch.doc.mjs +1 -0
  443. package/assets/templates/blocks/components/ToggleButton/ToggleButtonColor.doc.mjs +11 -0
  444. package/assets/templates/blocks/components/ToggleButton/ToggleButtonGroup.doc.mjs +16 -1
  445. package/assets/templates/blocks/components/ToggleButton/ToggleButtonIconSwap.doc.mjs +6 -0
  446. package/assets/templates/blocks/components/ToggleButton/ToggleButtonLabel.doc.mjs +13 -1
  447. package/assets/templates/blocks/components/ToggleButton/ToggleButtonShowcase.doc.mjs +6 -0
  448. package/assets/templates/blocks/components/ToggleButton/ToggleButtonStates.doc.mjs +1 -0
  449. package/assets/templates/blocks/components/Token/TokenIcon.doc.mjs +6 -0
  450. package/assets/templates/blocks/components/Token/TokenShowcase.doc.mjs +1 -0
  451. package/assets/templates/blocks/components/Tokenizer/TokenizerIcon.doc.mjs +1 -0
  452. package/assets/templates/blocks/components/Toolbar/ToolbarBulkActions.doc.mjs +1 -0
  453. package/assets/templates/blocks/components/Toolbar/ToolbarCardHeader.doc.mjs +1 -0
  454. package/assets/templates/blocks/components/Toolbar/ToolbarSizes.doc.mjs +1 -0
  455. package/assets/templates/blocks/components/Toolbar/ToolbarTableFilter.doc.mjs +1 -0
  456. package/assets/templates/blocks/components/Toolbar/ToolbarThreeSlot.doc.mjs +1 -0
  457. package/assets/templates/blocks/components/Toolbar/ToolbarWithTabs.doc.mjs +1 -0
  458. package/assets/templates/blocks/components/TopNav/TopNavCenteredNavigation.doc.mjs +1 -0
  459. package/assets/templates/blocks/components/TopNav/TopNavEnterpriseDashboard.doc.mjs +6 -0
  460. package/assets/templates/blocks/components/TopNav/TopNavHoverMenu.doc.mjs +8 -0
  461. package/assets/templates/blocks/components/TopNav/TopNavMegaMenu.doc.mjs +8 -0
  462. package/assets/templates/blocks/components/TopNav/TopNavMultipleDropdowns.doc.mjs +5 -0
  463. package/assets/templates/blocks/components/TopNav/TopNavShowcase.doc.mjs +5 -0
  464. package/assets/templates/blocks/components/TopNav/TopNavWithLogo.doc.mjs +1 -0
  465. package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuBasic.doc.mjs +1 -0
  466. package/assets/templates/blocks/components/TopNavMegaMenu/TopNavMegaMenuShowcase.doc.mjs +13 -1
  467. package/assets/templates/blocks/components/TopNavMegaMenuItem/TopNavMegaMenuItemBasic.doc.mjs +1 -0
  468. package/assets/templates/blocks/components/TopNavMenu/TopNavMenuBasic.doc.mjs +1 -0
  469. package/assets/templates/blocks/components/TopNavMenu/TopNavMenuShowcase.doc.mjs +6 -0
  470. package/assets/templates/blocks/components/TreeList/TreeListFileTreeWithIcons.doc.mjs +1 -0
  471. package/assets/templates/blocks/components/TreeList/TreeListInteractiveSettings.doc.mjs +1 -0
  472. package/assets/templates/blocks/components/Typeahead/TypeaheadSearchField.doc.mjs +1 -0
  473. package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenShowcase.doc.mjs +15 -1
  474. package/assets/templates/blocks/components/VisuallyHidden/VisuallyHiddenSupplementaryContext.doc.mjs +10 -2
  475. package/assets/templates/pages/ai-chat/template.doc.mjs +9 -0
  476. package/assets/templates/pages/ai-chat-landing/template.doc.mjs +11 -0
  477. package/assets/templates/pages/canvas-editor/template.doc.mjs +17 -0
  478. package/assets/templates/pages/centered-hero/template.doc.mjs +1 -0
  479. package/assets/templates/pages/checkout-wizard/template.doc.mjs +7 -0
  480. package/assets/templates/pages/contact-form/template.doc.mjs +5 -0
  481. package/assets/templates/pages/dashboard/template.doc.mjs +6 -0
  482. package/assets/templates/pages/dashboard-alert-rail/template.doc.mjs +8 -0
  483. package/assets/templates/pages/dashboard-cohort-funnel/template.doc.mjs +7 -0
  484. package/assets/templates/pages/dashboard-comparison/template.doc.mjs +8 -0
  485. package/assets/templates/pages/dashboard-composition/template.doc.mjs +1 -0
  486. package/assets/templates/pages/dashboard-progress/template.doc.mjs +7 -0
  487. package/assets/templates/pages/dashboard-scorecard/template.doc.mjs +7 -0
  488. package/assets/templates/pages/detail-page/template.doc.mjs +10 -0
  489. package/assets/templates/pages/documentation-design/template.doc.mjs +6 -1
  490. package/assets/templates/pages/documentation-technical/template.doc.mjs +5 -0
  491. package/assets/templates/pages/editor/template.doc.mjs +25 -0
  492. package/assets/templates/pages/file-explorer/template.doc.mjs +15 -0
  493. package/assets/templates/pages/form-wizard-inline/template.doc.mjs +1 -0
  494. package/assets/templates/pages/form-wizard-vertical/template.doc.mjs +12 -0
  495. package/assets/templates/pages/gallery-hero/template.doc.mjs +1 -0
  496. package/assets/templates/pages/ide/template.doc.mjs +5 -0
  497. package/assets/templates/pages/incident-console/template.doc.mjs +1 -0
  498. package/assets/templates/pages/kanban-board/template.doc.mjs +11 -0
  499. package/assets/templates/pages/library/template.doc.mjs +1 -0
  500. package/assets/templates/pages/login/template.doc.mjs +1 -0
  501. package/assets/templates/pages/login-card/template.doc.mjs +1 -0
  502. package/assets/templates/pages/login-split/template.doc.mjs +1 -0
  503. package/assets/templates/pages/login-sso/template.doc.mjs +1 -0
  504. package/assets/templates/pages/messaging-shell/template.doc.mjs +13 -0
  505. package/assets/templates/pages/payment-form/template.doc.mjs +6 -0
  506. package/assets/templates/pages/product-detail/template.doc.mjs +1 -0
  507. package/assets/templates/pages/product-gallery/template.doc.mjs +1 -0
  508. package/assets/templates/pages/settings/template.doc.mjs +1 -0
  509. package/assets/templates/pages/settings-dialog/template.doc.mjs +49 -0
  510. package/assets/templates/pages/settings-sidebar/template.doc.mjs +16 -0
  511. package/assets/templates/pages/shell-nav/template.doc.mjs +6 -0
  512. package/assets/templates/pages/shell-side-nav/template.doc.mjs +11 -0
  513. package/assets/templates/pages/shell-top-nav/template.doc.mjs +16 -0
  514. package/assets/templates/pages/table-collapsible/template.doc.mjs +5 -0
  515. package/assets/templates/pages/table-comparison/template.doc.mjs +12 -0
  516. package/assets/templates/pages/table-filter/template.doc.mjs +19 -0
  517. package/assets/templates/pages/table-grouped/template.doc.mjs +13 -0
  518. package/assets/templates/pages/table-inbox/template.doc.mjs +17 -0
  519. package/assets/templates/pages/table-page/template.doc.mjs +1 -0
  520. package/assets/templates/pages/table-tree/template.doc.mjs +12 -0
  521. package/assets/templates/pages/theme-showcase/template.doc.mjs +19 -0
  522. package/assets/templates/pages/work-item-detail/template.doc.mjs +13 -0
  523. package/assets/templates/themes/butter/butterPaletteRefs.generated.ts +54 -0
  524. package/assets/templates/themes/butter/butterPalettes.generated.receipt.json +1499 -0
  525. package/assets/templates/themes/butter/butterPalettes.generated.ts +550 -0
  526. package/assets/templates/themes/butter/butterTheme.ts +274 -234
  527. package/assets/templates/themes/butter/palette.config.json +484 -0
  528. package/assets/templates/themes/gothic/gothicPaletteRefs.generated.ts +41 -0
  529. package/assets/templates/themes/gothic/gothicPalettes.generated.receipt.json +979 -0
  530. package/assets/templates/themes/gothic/gothicPalettes.generated.ts +271 -0
  531. package/assets/templates/themes/gothic/gothicTheme.ts +130 -160
  532. package/assets/templates/themes/gothic/palette.config.json +371 -0
  533. package/assets/templates/themes/matcha/matchaPaletteRefs.generated.ts +51 -0
  534. package/assets/templates/themes/matcha/matchaPalettes.generated.receipt.json +1502 -0
  535. package/assets/templates/themes/matcha/matchaPalettes.generated.ts +501 -0
  536. package/assets/templates/themes/matcha/matchaPalettes.ts +21 -0
  537. package/assets/templates/themes/matcha/matchaTheme.ts +164 -103
  538. package/assets/templates/themes/matcha/palette.config.json +448 -0
  539. package/assets/templates/themes/stone/palette.config.json +262 -0
  540. package/assets/templates/themes/stone/stonePaletteRefs.generated.ts +51 -0
  541. package/assets/templates/themes/stone/stonePalettes.generated.receipt.json +840 -0
  542. package/assets/templates/themes/stone/stonePalettes.generated.ts +501 -0
  543. package/assets/templates/themes/stone/stoneTheme.ts +190 -207
  544. package/assets/templates/themes/y2k/palette.config.json +166 -0
  545. package/assets/templates/themes/y2k/y2kPaletteRefs.generated.ts +54 -0
  546. package/assets/templates/themes/y2k/y2kPalettes.generated.receipt.json +872 -0
  547. package/assets/templates/themes/y2k/y2kPalettes.generated.ts +550 -0
  548. package/assets/templates/themes/y2k/y2kPalettes.ts +257 -0
  549. package/assets/templates/themes/y2k/y2kTheme.ts +164 -391
  550. package/authoring/codemod/codemod.doc.mjs +1 -1
  551. package/authoring/config/config.doc.mjs +12 -4
  552. package/authoring/config/parse.d.mts +1 -0
  553. package/authoring/config/parse.mjs +1 -0
  554. package/authoring/config/type.ts +8 -0
  555. package/authoring/debug/parse.d.mts +1 -1
  556. package/authoring/discover/discover.doc.mjs +1 -1
  557. package/authoring/discover/parse.d.mts +13 -3
  558. package/authoring/discover/parse.mjs +57 -4
  559. package/authoring/discover/parse.test.mjs +34 -0
  560. package/authoring/discover/type.ts +22 -2
  561. package/authoring/doctypes/_schema.d.mts +23 -0
  562. package/authoring/doctypes/_schema.mjs +9 -0
  563. package/authoring/doctypes/base/graph-fields.doc.mjs +7 -1
  564. package/authoring/doctypes/base/type.ts +10 -1
  565. package/authoring/doctypes/doc-stability-types.test.mjs +91 -0
  566. package/authoring/doctypes/enum/type.ts +4 -0
  567. package/authoring/doctypes/icon-definition/icon-definition.doc.d.mts +9 -0
  568. package/authoring/doctypes/icon-definition/icon-definition.doc.mjs +89 -0
  569. package/authoring/doctypes/icon-definition/parse.d.mts +40 -0
  570. package/authoring/doctypes/icon-definition/parse.mjs +89 -0
  571. package/authoring/doctypes/icon-definition/parse.test.mjs +78 -0
  572. package/authoring/doctypes/icon-definition/type.ts +55 -0
  573. package/authoring/doctypes/icon-set/icon-names.d.mts +14 -0
  574. package/authoring/doctypes/icon-set/icon-names.mjs +44 -0
  575. package/authoring/doctypes/icon-set/icon-names.test.mjs +26 -0
  576. package/authoring/doctypes/icon-set/icon-set-data.doc.d.mts +10 -0
  577. package/authoring/doctypes/icon-set/icon-set-data.doc.mjs +169 -0
  578. package/authoring/doctypes/icon-set/icon-set.doc.d.mts +9 -0
  579. package/authoring/doctypes/icon-set/icon-set.doc.mjs +90 -0
  580. package/authoring/doctypes/icon-set/parse.d.mts +105 -0
  581. package/authoring/doctypes/icon-set/parse.mjs +322 -0
  582. package/authoring/doctypes/icon-set/parse.test.mjs +179 -0
  583. package/authoring/doctypes/icon-set/type.ts +182 -0
  584. package/authoring/doctypes/load-contract.test.mjs +17 -4
  585. package/authoring/doctypes/namespace/namespace.doc.mjs +7 -0
  586. package/authoring/doctypes/namespace/type.ts +7 -0
  587. package/authoring/doctypes/parse.d.mts +6 -2
  588. package/authoring/doctypes/parse.mjs +10 -2
  589. package/authoring/doctypes/reference/type.ts +14 -2
  590. package/authoring/doctypes/schema/type.ts +4 -0
  591. package/authoring/doctypes/template/parse.d.mts +4 -0
  592. package/authoring/doctypes/template/parse.mjs +11 -0
  593. package/authoring/doctypes/template/template.doc.mjs +7 -0
  594. package/authoring/doctypes/template/type.ts +10 -0
  595. package/authoring/doctypes/types.ts +3 -1
  596. package/authoring/gap-report/gap-report.doc.mjs +1 -1
  597. package/authoring/identity/type.ts +11 -3
  598. package/authoring/index.d.mts +2 -0
  599. package/authoring/index.d.ts +15 -0
  600. package/authoring/index.mjs +5 -1
  601. package/authoring/integration/integration.doc.mjs +23 -6
  602. package/authoring/integration/schema.d.mts +6 -0
  603. package/authoring/integration/schema.mjs +4 -0
  604. package/authoring/integration/type.ts +8 -0
  605. package/clients/cli/commands/discover.icon-sets.test.mjs +133 -0
  606. package/clients/cli/commands/discover.mjs +4 -1
  607. package/clients/cli/commands/discover.sources.test.mjs +6 -0
  608. package/clients/cli/commands/docs.doc.mjs +1 -1
  609. package/clients/cli/commands/docs.mjs +50 -8
  610. package/clients/cli/commands/docs.test.mjs +1 -1
  611. package/clients/cli/commands/doctor-integration-docs.doc.mjs +1 -1
  612. package/clients/cli/commands/doctor-integration.test.mjs +38 -0
  613. package/clients/cli/commands/doctor.doc.mjs +13 -1
  614. package/clients/cli/commands/doctor.mjs +190 -25
  615. package/clients/cli/commands/experimental/icon.mjs +462 -0
  616. package/clients/cli/commands/experimental/index.mjs +43 -0
  617. package/clients/cli/commands/experimental-icon-add.doc.mjs +105 -0
  618. package/clients/cli/commands/experimental-icon-map.doc.mjs +57 -0
  619. package/clients/cli/commands/experimental-icon-new-definition.doc.mjs +72 -0
  620. package/clients/cli/commands/experimental-icon-new-set.doc.mjs +76 -0
  621. package/clients/cli/commands/experimental-icon-use.doc.mjs +42 -0
  622. package/clients/cli/commands/experimental-icon.doc.mjs +68 -0
  623. package/clients/cli/commands/experimental.doc.mjs +28 -0
  624. package/clients/cli/commands/icon-authoring.test.mjs +1035 -0
  625. package/clients/cli/commands/icon-sets-guide.test.mjs +186 -0
  626. package/clients/cli/commands/icon.test.mjs +96 -0
  627. package/clients/cli/commands/integration-check.doc.mjs +11 -0
  628. package/clients/cli/commands/integration-check.test.mjs +36 -3
  629. package/clients/cli/commands/integration-pack.doc.mjs +1 -1
  630. package/clients/cli/commands/integration-verify.doc.mjs +1 -1
  631. package/clients/cli/commands/integration.mjs +38 -4
  632. package/clients/cli/commands/template.icons.test.mjs +132 -0
  633. package/clients/cli/commands/template.mjs +36 -2
  634. package/clients/cli/commands/text-json-parity.test.mjs +51 -0
  635. package/clients/cli/commands/theme-targets.doc.mjs +1 -1
  636. package/clients/cli/commands/upgrade.doc.mjs +2 -2
  637. package/clients/cli/formatters/index.mjs +8 -1
  638. package/clients/cli/formatters/index.test.mjs +15 -0
  639. package/clients/cli/index.mjs +13 -0
  640. package/clients/cli/lib/define-command.mjs +9 -3
  641. package/foundation/agent-docs/agent-docs.d.mts +14 -2
  642. package/foundation/agent-docs/agent-docs.mjs +65 -4
  643. package/foundation/agent-docs/agent-docs.test.mjs +107 -0
  644. package/foundation/config/config-writer.d.mts +27 -0
  645. package/foundation/config/config-writer.mjs +202 -0
  646. package/foundation/config/config-writer.test.mjs +84 -0
  647. package/foundation/config/project.d.mts +24 -0
  648. package/foundation/config/project.mjs +105 -3
  649. package/foundation/discovery/authoring-self-docs.d.mts +22 -1
  650. package/foundation/discovery/authoring-self-docs.mjs +69 -19
  651. package/foundation/discovery/authoring-self-docs.test.mjs +19 -3
  652. package/foundation/discovery/authoring-surface.mjs +13 -6
  653. package/foundation/discovery/cli-self-docs.d.mts +6 -0
  654. package/foundation/discovery/cli-self-docs.mjs +58 -6
  655. package/foundation/discovery/component-discovery.export-names.test.mjs +31 -0
  656. package/foundation/discovery/doc-stability.d.mts +32 -0
  657. package/foundation/discovery/doc-stability.mjs +100 -0
  658. package/foundation/discovery/doc-types.d.mts +2 -2
  659. package/foundation/discovery/doc-types.mjs +8 -3
  660. package/foundation/discovery/doc-types.test.mjs +30 -0
  661. package/foundation/discovery/docs-discovery.d.mts +93 -2
  662. package/foundation/discovery/docs-discovery.mjs +237 -8
  663. package/foundation/discovery/icon-definition-discovery.d.mts +59 -0
  664. package/foundation/discovery/icon-definition-discovery.mjs +117 -0
  665. package/foundation/discovery/icon-ranking.d.mts +113 -0
  666. package/foundation/discovery/icon-ranking.mjs +305 -0
  667. package/foundation/discovery/icon-set-checks.d.mts +142 -0
  668. package/foundation/discovery/icon-set-checks.mjs +742 -0
  669. package/foundation/discovery/icon-set-checks.test.mjs +905 -0
  670. package/foundation/discovery/icon-set-discovery.d.mts +229 -0
  671. package/foundation/discovery/icon-set-discovery.mjs +464 -0
  672. package/foundation/discovery/icon-set-discovery.test.mjs +320 -0
  673. package/foundation/discovery/icon-set-writer.d.mts +323 -0
  674. package/foundation/discovery/icon-set-writer.mjs +1181 -0
  675. package/foundation/discovery/integration-doc-files.mjs +17 -2
  676. package/foundation/discovery/integration-doc-files.test.mjs +29 -0
  677. package/foundation/discovery/module-exports.d.mts +122 -0
  678. package/foundation/discovery/module-exports.mjs +682 -11
  679. package/foundation/discovery/runner-allowlist.d.mts +2 -0
  680. package/foundation/discovery/runner-allowlist.mjs +4 -0
  681. package/foundation/discovery/runner-commands.d.mts +29 -13
  682. package/foundation/discovery/runner-commands.mjs +253 -17
  683. package/foundation/discovery/runner-commands.test.mjs +4 -1
  684. package/foundation/discovery/stray-pointers.mjs +11 -5
  685. package/foundation/discovery/stray-pointers.test.mjs +6 -0
  686. package/foundation/discovery/template-adapter.d.mts +5 -0
  687. package/foundation/discovery/template-adapter.mjs +17 -0
  688. package/foundation/discovery/template-icon-notes.d.mts +15 -0
  689. package/foundation/discovery/template-icon-notes.mjs +66 -0
  690. package/foundation/discovery/template-icons.d.mts +156 -0
  691. package/foundation/discovery/template-icons.mjs +712 -0
  692. package/foundation/discovery/template-icons.test.mjs +457 -0
  693. package/foundation/discovery/theme-discovery.d.mts +15 -0
  694. package/foundation/discovery/theme-discovery.mjs +137 -61
  695. package/foundation/doc-compiler/bundle.mjs +14 -0
  696. package/foundation/doc-compiler/compile.d.mts +1 -1
  697. package/foundation/doc-compiler/compile.mjs +18 -3
  698. package/foundation/doc-compiler/doc-loads.test.mjs +36 -0
  699. package/foundation/doc-compiler/doc-syntax.d.mts +194 -0
  700. package/foundation/doc-compiler/doc-syntax.mjs +739 -0
  701. package/foundation/doc-compiler/doc-syntax.test.mjs +383 -0
  702. package/foundation/doc-compiler/inputs.d.mts +2 -2
  703. package/foundation/doc-compiler/inputs.mjs +17 -1
  704. package/foundation/doc-compiler/inputs.test.mjs +1 -0
  705. package/foundation/doc-compiler/links.d.mts +13 -16
  706. package/foundation/doc-compiler/links.mjs +40 -7
  707. package/foundation/doc-compiler/lower-doc.test.mjs +1 -1
  708. package/foundation/doc-compiler/read.d.mts +2 -2
  709. package/foundation/doc-compiler/read.mjs +4 -4
  710. package/foundation/doc-compiler/tree.d.mts +26 -0
  711. package/foundation/doc-compiler/tree.mjs +80 -4
  712. package/foundation/doc-compiler/tree.test.mjs +34 -0
  713. package/foundation/env/package-manager.d.mts +18 -0
  714. package/foundation/env/package-manager.mjs +40 -0
  715. package/foundation/fs/paths.d.mts +3 -1
  716. package/foundation/fs/paths.mjs +8 -2
  717. package/foundation/identity/provider-identity.mjs +2 -0
  718. package/foundation/integrations/cli-requirement.d.mts +84 -0
  719. package/foundation/integrations/cli-requirement.mjs +139 -1
  720. package/foundation/integrations/cli-requirement.test.mjs +32 -2
  721. package/foundation/integrations/contribution-inventory.d.mts +12 -5
  722. package/foundation/integrations/contribution-inventory.mjs +66 -3
  723. package/foundation/integrations/integrations.d.mts +5 -0
  724. package/foundation/integrations/integrations.mjs +6 -2
  725. package/foundation/integrations/manifest-writer.d.mts +3 -0
  726. package/foundation/integrations/manifest-writer.mjs +51 -5
  727. package/foundation/integrations/manifest-writer.test.mjs +42 -0
  728. package/foundation/integrations/validate-contributions.d.mts +53 -0
  729. package/foundation/integrations/validate-contributions.mjs +791 -1
  730. package/foundation/response/error-codes.test.mjs +9 -0
  731. package/foundation/response/response-types.doc.mjs +68 -11
  732. package/foundation/response/response-types.doc.test.mjs +29 -0
  733. package/package.json +9 -9
@@ -41,11 +41,11 @@ export const docs = {
41
41
  astryx --json template --list --package @acme/astryx-widgets
42
42
 
43
43
  # Inspect source without writing
44
- astryx template acme-dashboard --package @acme/astryx-widgets
44
+ {@command template acme-dashboard --package @acme/astryx-widgets}
45
45
 
46
46
  # Copy a page and a block to their real app locations
47
- astryx template acme-dashboard --package @acme/astryx-widgets src/app/acme-dashboard
48
- astryx template acme-stat-card --package @acme/astryx-widgets src/components`,
47
+ {@command template acme-dashboard --package @acme/astryx-widgets src/app/acme-dashboard}
48
+ {@command template acme-stat-card --package @acme/astryx-widgets src/components}`,
49
49
  },
50
50
  {
51
51
  type: 'list',
@@ -64,13 +64,13 @@ astryx template acme-stat-card --package @acme/astryx-widgets src/components`,
64
64
  content: [
65
65
  {
66
66
  type: 'prose',
67
- text: "Run the type check (`npx tsc --noEmit`, or the app's own script) and the production build in every framework or bundler the integration supports. One toolchain passing does not prove another.",
67
+ text: "Run the type check (`{@pm exec tsc --noEmit}`, or the app's own script) and the production build in every framework or bundler the integration supports. One toolchain passing does not prove another.",
68
68
  },
69
69
  {
70
70
  type: 'code',
71
71
  lang: 'bash',
72
- code: `npx tsc --noEmit
73
- npm run build`,
72
+ code: `{@pm exec tsc --noEmit}
73
+ {@pm run build}`,
74
74
  },
75
75
  {
76
76
  type: 'list',
@@ -71,7 +71,7 @@ const styles = stylex.create({
71
71
  content: [
72
72
  {
73
73
  type: 'prose',
74
- text: "Astryx components ship pre-compiled: `astryx.css` and each package's own stylesheet hold all of their styles, so consuming the published packages needs no StyleX setup. But `astryx swizzle <Component>` copies the raw StyleX *source* into your app, and StyleX source requires a build-time StyleX compiler to produce atomic CSS. Without one, importing the component throws an error that starts `Unexpected 'stylex.create' call at runtime`, and the page does not render. If a swizzled component throws that error, the app is missing a StyleX compiler. The same applies if you author your own StyleX with `stylex.create()`.",
74
+ text: "Astryx components ship pre-compiled: `astryx.css` and each package's own stylesheet hold all of their styles, so consuming the published packages needs no StyleX setup. But `{@command swizzle <Component>}` copies the raw StyleX *source* into your app, and StyleX source requires a build-time StyleX compiler to produce atomic CSS. Without one, importing the component throws an error that starts `Unexpected 'stylex.create' call at runtime`, and the page does not render. If a swizzled component throws that error, the app is missing a StyleX compiler. The same applies if you author your own StyleX with `stylex.create()`.",
75
75
  },
76
76
  {
77
77
  type: 'table',
@@ -31,11 +31,11 @@ export const docs = {
31
31
  rows: [
32
32
  [
33
33
  '`No package.json found. Run this command inside an integration package.`',
34
- 'Run `npm init -y` and `npm pkg set name=@acme/astryx-widgets` first, in the package folder.',
34
+ 'Run `{@pm-only npm "writes package.json" init -y}` and `{@pm-only npm "edits package.json" pkg set name=@acme/astryx-widgets}` first, in the package folder.',
35
35
  ],
36
36
  [
37
37
  '`Error: Could not find @astryxdesign/core package`',
38
- 'Component commands read Core. Run `npm install -D @astryxdesign/core` in the package.',
38
+ 'Component commands read Core. Run `{@pm install @astryxdesign/core --dev}` in the package.',
39
39
  ],
40
40
  [
41
41
  '`core_not_found`: `Could not resolve @astryxdesign/core, so component names could not be checked.`',
@@ -43,11 +43,11 @@ export const docs = {
43
43
  ],
44
44
  [
45
45
  "`Error: unknown subcommand 'integration verify'`, or `Error: Pass --check to verify the integration tarball.`",
46
- 'Your CLI is older than `integration verify`. Run `npm install -D @astryxdesign/cli@latest`. On the older CLI, the same check is `integration pack --check`.',
46
+ 'Your CLI is older than `integration verify`. Run `{@pm install @astryxdesign/cli@latest --dev}`. On the older CLI, the same check is `integration pack --check`.',
47
47
  ],
48
48
  [
49
49
  'Note: `integration pack --check` is deprecated.',
50
- 'The old name still runs the same check. Switch to `astryx integration verify`; the old name will be removed in a later release.',
50
+ 'The old name still runs the same check. Switch to `{@command integration verify}`; the old name will be removed in a later release.',
51
51
  ],
52
52
  ],
53
53
  },
@@ -59,7 +59,7 @@ export const docs = {
59
59
  content: [
60
60
  {
61
61
  type: 'prose',
62
- text: '`astryx integration verify` prints each failure as a `[fail]` line. Add `--json` to see its issue code, such as `component_export_missing`.',
62
+ text: '`{@command integration verify}` prints each failure as a `[fail]` line. Add `--json` to see its issue code, such as `component_export_missing`.',
63
63
  },
64
64
  {
65
65
  type: 'table',
@@ -67,15 +67,15 @@ export const docs = {
67
67
  rows: [
68
68
  [
69
69
  '`component_export_missing`: `Component "AcmeCarousel" advertises import "@acme/astryx-widgets/components/AcmeCarousel", but that packed module does not export "AcmeCarousel".`',
70
- "package.json has no `exports` map, or the module does not export the name. Keep `export function AcmeCarousel`, and add the entry: `npm pkg set 'exports[./components/AcmeCarousel]=./components/AcmeCarousel.tsx'`. When the quoted name is a file name, such as `acme-carousel`, set the doc's `name` to the component the file exports. A type-only export does not count.",
70
+ "package.json has no `exports` map, or the module does not export the name. Keep `export function AcmeCarousel`, and add the entry: `{@pm-only npm \"edits package.json\" pkg set 'exports[./components/AcmeCarousel]=./components/AcmeCarousel.tsx'}`. When the quoted name is a file name, such as `acme-carousel`, set the doc's `name` to the component the file exports. A type-only export does not count.",
71
71
  ],
72
72
  [
73
73
  '`template_export_missing`: `Template "acme-dashboard" public import "@acme/astryx-widgets/templates/acme-dashboard" does not have a default export.`',
74
- 'Run `npm pkg set \'exports[./templates/acme-dashboard]=./templates/acme-dashboard.tsx\'`, and keep `export default` in the source. Start new packages with `"exports": {}` so each add writes these.',
74
+ 'Run `{@pm-only npm "edits package.json" pkg set \'exports[./templates/acme-dashboard]=./templates/acme-dashboard.tsx\'}`, and keep `export default` in the source. Start new packages with `"exports": {}` so each add writes these.',
75
75
  ],
76
76
  [
77
77
  '`component_import_unresolvable` or `template_import_unresolvable`: `…Package subpath \'./components/AcmeCarousel\' is not defined by "exports"…`',
78
- "The `exports` map has no entry for it. Run `npm pkg set 'exports[./components/AcmeCarousel]=./components/AcmeCarousel.tsx'`, or `'exports[./templates/acme-dashboard]=./templates/acme-dashboard.tsx'` for a template.",
78
+ "The `exports` map has no entry for it. Run `{@pm-only npm \"edits package.json\" pkg set 'exports[./components/AcmeCarousel]=./components/AcmeCarousel.tsx'}`, or `'exports[./templates/acme-dashboard]=./templates/acme-dashboard.tsx'` for a template.",
79
79
  ],
80
80
  [
81
81
  "`component_import_unresolvable`: `…but a consumer cannot resolve it: Cannot find package '@acme/old-name'`",
@@ -83,32 +83,36 @@ export const docs = {
83
83
  ],
84
84
  [
85
85
  '`Declared templates root "templates" has 0 of 2 expected files in the pack list. Add "templates" to "files" in package.json.`',
86
- "Run `npm pkg set 'files[]=templates'`.",
86
+ 'Run `{@pm-only npm "edits package.json" pkg set \'files[]=templates\'}`.',
87
87
  ],
88
88
  [
89
89
  '`docs_tree_needs_cli`: `The package ships a namespace doc or a placed guide but declares no @astryxdesign/cli peer.`',
90
- "Run `npm pkg set 'peerDependencies.@astryxdesign/cli=>=0.6.4'` and `npm pkg set 'peerDependenciesMeta.@astryxdesign/cli.optional=true' --json`.",
90
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.6.4\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}`.',
91
91
  ],
92
92
  [
93
93
  '`replaces_needs_cli`: The package has a template that sets `replaces` but declares no @astryxdesign/cli peer.',
94
- "Run `npm pkg set 'peerDependencies.@astryxdesign/cli=>=0.6.4'` and `npm pkg set 'peerDependenciesMeta.@astryxdesign/cli.optional=true' --json`. A stable CLI before 0.6.4 rejects `replaces`, drops that template, and hides your doc topics.",
94
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.6.4\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}`. A stable CLI before 0.6.4 rejects `replaces`, drops that template, and hides your doc topics.',
95
95
  ],
96
96
  [
97
97
  '`component_replaces_needs_cli` (a warning): The package has a component that sets `replaces` but declares no @astryxdesign/cli peer, or a peer range that admits an earlier CLI.',
98
- "Run `npm pkg set 'peerDependencies.@astryxdesign/cli=>=0.6.7'` and `npm pkg set 'peerDependenciesMeta.@astryxdesign/cli.optional=true' --json` to turn the replacement on. Until then apps see no change ({@link generic:replace-a-core-component}).",
98
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.6.7\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}` to turn the replacement on. Until then apps see no change ({@link generic:replace-a-core-component}).',
99
99
  ],
100
100
  [
101
101
  '`keywords_needs_cli`: The package has a template that sets `keywords` but declares no @astryxdesign/cli peer.',
102
- "Run `npm pkg set 'peerDependencies.@astryxdesign/cli=>=0.6.6'` and `npm pkg set 'peerDependenciesMeta.@astryxdesign/cli.optional=true' --json`. What an older CLI does with the field is in {@link generic:template-doc-overview}.",
102
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.6.6\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}`. What an older CLI does with the field is in {@link generic:template-doc-overview}.',
103
103
  ],
104
104
  [
105
105
  '`themes_need_cli`: The package ships a theme but declares no @astryxdesign/cli peer.',
106
- "Run `npm pkg set 'peerDependencies.@astryxdesign/cli=>=0.6.4'` and `npm pkg set 'peerDependenciesMeta.@astryxdesign/cli.optional=true' --json`. A CLI older than published 0.6.4 cannot read typed theme descriptors, so it drops your themes and can hide your doc topics.",
106
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.6.4\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}`. A CLI older than published 0.6.4 cannot read typed theme descriptors, so it drops your themes and can hide your doc topics.',
107
107
  ],
108
108
  [
109
109
  '`section_ids_need_cli`: The package has a doc section that sets `id` but declares no @astryxdesign/cli peer.',
110
110
  'The same fix as `themes_need_cli`, or drop the section `id`s: a CLI older than published 0.6.4 rejects them and hides your doc topics.',
111
111
  ],
112
+ [
113
+ '`doc_tokens_need_cli`: The package writes doc tokens (`{@@command …}`, `{@@pm …}`, `{@@pm-only …}`) in its docs, but its @astryxdesign/cli peer admits a CLI before 0.7.4.',
114
+ 'Run `{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/cli=>=0.7.4\'}` and `{@pm-only npm "edits package.json" pkg set \'peerDependenciesMeta.@astryxdesign/cli.optional=true\' --json}`. A CLI before 0.7.4 prints each token as written, so readers see raw tokens.',
115
+ ],
112
116
  ],
113
117
  },
114
118
  ],
@@ -130,20 +134,20 @@ export const docs = {
130
134
  "Its doc still names its file. Set `name` to the export, such as `name: 'AcmeCarousel'` in `acme-carousel.doc.mjs`. A family member is listed only when the module its family doc imports exports it ({@link generic:component-family}).",
131
135
  ],
132
136
  [
133
- "`astryx component Dialog` opens Core's `Dialog`, not yours.",
134
- "A name that Core, a legacy docs package, or another package's file already has stays theirs. Run `astryx component Dialog --package @acme/astryx-widgets`, or give your component a name of its own.",
137
+ "`{@command component Dialog}` opens Core's `Dialog`, not yours.",
138
+ "A name that Core, a legacy docs package, or another package's file already has stays theirs. Run `{@command component Dialog --package @acme/astryx-widgets}`, or give your component a name of its own.",
135
139
  ],
136
140
  [
137
141
  '`Error: Template "dashboard" is ambiguous — narrow it with --type and/or --package.`',
138
- "Your template id matches a Core id. Rename it, such as `acme-dashboard`, or set `replaces: 'dashboard'` to take its place. `astryx doctor integration templates` warns about this before you publish.",
142
+ "Your template id matches a Core id. Rename it, such as `acme-dashboard`, or set `replaces: 'dashboard'` to take its place. `{@command doctor integration templates}` warns about this before you publish.",
139
143
  ],
140
144
  [
141
145
  '`invalid_doc_graph`: `placement.parent "namespace:nope" names no namespace; @acme/astryx-widgets declares "acme".`',
142
146
  'The guide stays hidden until its `placement` names a namespace and slot your package declares. For `"…" names no doc`, fix the link target.',
143
147
  ],
144
148
  [
145
- 'Error: Unknown topic "acme". The docs of @acme/astryx-widgets did not load; run `astryx doctor integration docs` in that package to see why.',
146
- 'One invalid doc hides all of your docs. Run `astryx doctor integration docs` in the package and fix the `invalid_doc` it names.',
149
+ 'Error: Unknown topic "acme". The docs of @acme/astryx-widgets did not load; run `{@command doctor integration docs}` in that package to see why.',
150
+ 'One invalid doc hides all of your docs. Run `{@command doctor integration docs}` in the package and fix the `invalid_doc` it names.',
147
151
  ],
148
152
  [
149
153
  '`cli-command` warns: `Loaded integrations declare different CLI commands`',
@@ -154,7 +158,7 @@ export const docs = {
154
158
  'Your `cliCommand` is not one line of plain text of at most 120 characters, so it is ignored. Fix the value; the rest of the manifest still loads.',
155
159
  ],
156
160
  [
157
- '`astryx upgrade` runs none of your codemods',
161
+ '`{@command upgrade}` runs none of your codemods',
158
162
  'The app must list your package in `integrations` in `astryx.config`, or pass `--integration @acme/astryx-widgets`. It runs a codemod folder only when its version is after `--from` and at most the installed `@astryxdesign/core`.',
159
163
  ],
160
164
  [
@@ -40,7 +40,7 @@ export const docs = {
40
40
  {
41
41
  type: 'code',
42
42
  lang: 'bash',
43
- code: 'astryx init --user --remove-agents',
43
+ code: '{@command init --user --remove-agents}',
44
44
  },
45
45
  {
46
46
  type: 'prose',
@@ -55,7 +55,7 @@ export const docs = {
55
55
  {
56
56
  type: 'code',
57
57
  lang: 'bash',
58
- code: 'npm uninstall -g @astryxdesign/cli\n# or: pnpm remove -g @astryxdesign/cli · yarn global remove @astryxdesign/cli · bun remove -g @astryxdesign/cli · volta uninstall @astryxdesign/cli',
58
+ code: '{@pm remove @astryxdesign/cli --global}\n# with Volta: volta uninstall @astryxdesign/cli',
59
59
  },
60
60
  {
61
61
  type: 'prose',
@@ -74,7 +74,7 @@ export const docs = {
74
74
  },
75
75
  {
76
76
  type: 'prose',
77
- text: '`astryx doctor` shows the same thing at any time, in its `newest-release` check, along with why the last notice did not print, if one did not. When the last check ran, and when each notice printed, are kept in `state.json` in the settings folder ({@link generic:reference}).',
77
+ text: '`{@command doctor}` shows the same thing at any time, in its `newest-release` check, along with why the last notice did not print, if one did not. When the last check ran, and when each notice printed, are kept in `state.json` in the settings folder ({@link generic:reference}).',
78
78
  },
79
79
  ],
80
80
  },
@@ -28,7 +28,7 @@ export const docs = {
28
28
  {
29
29
  type: 'code',
30
30
  lang: 'bash',
31
- code: "# 1. Build and test against the new release\nnpm install -D @astryxdesign/cli@latest @astryxdesign/core@latest\n# 2. Rerun the checks\nastryx doctor integration validate\nastryx doctor integration docs\nastryx integration verify\n# 3. Admit the new Core once the checks pass\nnpm pkg set 'peerDependencies.@astryxdesign/core=^0.6.0 || ^0.7.0'\n# 4. Migrate apps across a change that breaks them\nastryx integration add codemod rename-delay --to 0.7.0",
31
+ code: '# 1. Build and test against the new release\n{@pm install @astryxdesign/cli@latest @astryxdesign/core@latest --dev}\n# 2. Rerun the checks\n{@command doctor integration validate}\n{@command doctor integration docs}\n{@command integration verify}\n# 3. Admit the new Core once the checks pass\n{@pm-only npm "edits package.json" pkg set \'peerDependencies.@astryxdesign/core=^0.6.0 || ^0.7.0\'}\n# 4. Migrate apps across a change that breaks them\n{@command integration add codemod rename-delay --to 0.7.0}',
32
32
  },
33
33
  {
34
34
  type: 'list',
@@ -47,12 +47,12 @@ export const docs = {
47
47
  content: [
48
48
  {
49
49
  type: 'prose',
50
- text: 'After an app installs a new Core, `astryx upgrade` runs the codemods for the versions it crossed. It is a dry run by default; `--apply` writes the changes.',
50
+ text: 'After an app installs a new Core, `{@command upgrade}` runs the codemods for the versions it crossed. It is a dry run by default; `--apply` writes the changes.',
51
51
  },
52
52
  {
53
53
  type: 'code',
54
54
  lang: 'bash',
55
- code: '# Preview what would change; nothing is written\nastryx upgrade --from 0.6.3 --integration @acme/astryx-widgets\n# Write the changes\nastryx upgrade --from 0.6.3 --integration @acme/astryx-widgets --apply',
55
+ code: '# Preview what would change; nothing is written\n{@command upgrade --from 0.6.3 --integration @acme/astryx-widgets}\n# Write the changes\n{@command upgrade --from 0.6.3 --integration @acme/astryx-widgets --apply}',
56
56
  },
57
57
  {
58
58
  type: 'code',
@@ -26,7 +26,7 @@ export const docs = {
26
26
  {
27
27
  type: 'code',
28
28
  lang: 'bash',
29
- code: 'npm install @acme/astryx-widgets\nastryx theme add ocean --package @acme/astryx-widgets',
29
+ code: '{@pm install @acme/astryx-widgets}\n{@command theme add ocean --package @acme/astryx-widgets}',
30
30
  },
31
31
  {
32
32
  type: 'code',
@@ -27,11 +27,11 @@ export const docs = {
27
27
  {
28
28
  type: 'code',
29
29
  lang: 'bash',
30
- code: 'astryx integration verify',
30
+ code: '{@command integration verify}',
31
31
  },
32
32
  {
33
33
  type: 'prose',
34
- text: '`integration verify` runs `npm pack`, including lifecycle scripts, unpacks the `.tgz` file into a temporary app without installing its dependencies, and checks the unpacked integration. It publishes nothing and removes the `.tgz` file and the temporary app.',
34
+ text: '`integration verify` runs `{@pm-only npm "the tarball the registry receives" pack}`, including lifecycle scripts, unpacks the `.tgz` file into a temporary app without installing its dependencies, and checks the unpacked integration. It publishes nothing and removes the `.tgz` file and the temporary app.',
35
35
  },
36
36
  {
37
37
  type: 'list',
@@ -67,7 +67,7 @@ export const docs = {
67
67
  'Whether the copied file type-checks in every supported app toolchain.',
68
68
  'Whether package-owned CSS, fonts, icons, images, or media load in a browser.',
69
69
  'Whether layout, color modes, keyboard and pointer input, and real content work.',
70
- 'Whether a template id collides with Core, or whether a `replaces` target exists. Run `astryx doctor integration templates` for those.',
70
+ 'Whether a template id collides with Core, or whether a `replaces` target exists. Run `{@command doctor integration templates}` for those.',
71
71
  'How the template scores on quality.',
72
72
  ],
73
73
  },
@@ -28,7 +28,7 @@ export const docs = {
28
28
  {
29
29
  type: 'code',
30
30
  lang: 'bash',
31
- code: '# 1.0.0 -> 2.0.0: a breaking change\nnpm version major\n# 1.0.0 -> 1.1.0: a new feature\nnpm version minor\n# 1.0.0 -> 1.0.1: a fix\nnpm version patch',
31
+ code: '# 1.0.0 -> 2.0.0: a breaking change\n{@pm-only npm "npm, which every Node install carries, sets the version" version major}\n# 1.0.0 -> 1.1.0: a new feature\n{@pm-only npm "npm, which every Node install carries, sets the version" version minor}\n# 1.0.0 -> 1.0.1: a fix\n{@pm-only npm "npm, which every Node install carries, sets the version" version patch}',
32
32
  },
33
33
  {
34
34
  type: 'list',
@@ -54,13 +54,13 @@ export const docs = {
54
54
  rows: [
55
55
  [
56
56
  'A component name, such as `AcmeCarousel`',
57
- 'Imports, and `astryx component AcmeCarousel`',
57
+ 'Imports, and `{@command component AcmeCarousel}`',
58
58
  ],
59
59
  [
60
60
  'A template id, such as `acme-dashboard`',
61
- '`astryx template acme-dashboard`',
61
+ '`{@command template acme-dashboard}`',
62
62
  ],
63
- ['A theme slug, such as `ocean`', '`astryx theme add ocean`'],
63
+ ['A theme slug, such as `ocean`', '`{@command theme add ocean}`'],
64
64
  [
65
65
  'A topic name or route, such as `acme/deploying`',
66
66
  'Reads of the old name, and links to it from other docs',
@@ -44,7 +44,7 @@ export const docs = {
44
44
  },
45
45
  {
46
46
  type: 'prose',
47
- text: "Components come from `@astryxdesign/core`, and templates, docs, and agent guides come from the CLI. In a project, that Core is the one the project installs, so component commands work offline once the project's dependencies are installed. Outside a project, or in a project with nothing installed yet (a fresh clone), they use the answering version's own Core, from beside the CLI or the cache; when that Core cannot be downloaded, the error says to install the project's dependencies. When the project's CLI and Core are different versions, `astryx doctor` warns and prints the command that brings them to one version.",
47
+ text: "Components come from `@astryxdesign/core`, and templates, docs, and agent guides come from the CLI. In a project, that Core is the one the project installs, so component commands work offline once the project's dependencies are installed. Outside a project, or in a project with nothing installed yet (a fresh clone), they use the answering version's own Core, from beside the CLI or the cache; when that Core cannot be downloaded, the error says to install the project's dependencies. When the project's CLI and Core are different versions, `{@command doctor}` warns and prints the command that brings them to one version.",
48
48
  },
49
49
  ],
50
50
  },
@@ -58,7 +58,7 @@ export const docs = {
58
58
  },
59
59
  {
60
60
  type: 'prose',
61
- text: 'A few commands work on your computer rather than a folder, such as `astryx init --user`: your global install answers them in any folder.',
61
+ text: 'A few commands work on your computer rather than a folder, such as `{@command init --user}`: your global install answers them in any folder.',
62
62
  },
63
63
  ],
64
64
  },
@@ -101,7 +101,7 @@ export const docs = {
101
101
  content: [
102
102
  {
103
103
  type: 'prose',
104
- text: "Commands the CLI prints for you to run start with a name that reaches the same version: the project's runner (such as `pnpm exec astryx`) in a project, `astryx` outside a project when your global install answered, and otherwise the CLI pinned to the version, such as `npx @astryxdesign/cli@0.6.8`. An integration can name its own command: {@link generic:cli-command}.",
104
+ text: "Commands the CLI prints for you to run start with a name that reaches the same version: the project's runner (such as `pnpm exec astryx`) in a project, `astryx` outside a project when your global install answered, and otherwise the CLI pinned to the version, such as `{@pm dlx @astryxdesign/cli@0.6.8}`. An integration can name its own command: {@link generic:cli-command}.",
105
105
  },
106
106
  ],
107
107
  },
@@ -111,7 +111,7 @@ export const docs = {
111
111
  content: [
112
112
  {
113
113
  type: 'prose',
114
- text: 'This page is part of {@link namespace:global}, which explains what global mode is and how each part works. To check your computer, run `astryx doctor` outside any project ({@link command:doctor}). Monorepos: {@link generic:monorepos}.',
114
+ text: 'This page is part of {@link namespace:global}, which explains what global mode is and how each part works. To check your computer, run `{@command doctor}` outside any project ({@link command:doctor}). Monorepos: {@link generic:monorepos}.',
115
115
  },
116
116
  ],
117
117
  },
@@ -26,7 +26,7 @@ export const docs = {
26
26
  content: [
27
27
  {
28
28
  type: 'prose',
29
- text: '`astryx template` copies exactly one source file. It does not copy sibling helpers, stylesheets, fonts, icons, images, or media. Plan for that before you add supporting files.',
29
+ text: '`{@command template}` copies exactly one source file. It does not copy sibling helpers, stylesheets, fonts, icons, images, or media. Plan for that before you add supporting files.',
30
30
  },
31
31
  {
32
32
  type: 'table',
@@ -44,13 +44,13 @@ export const docs = {
44
44
  type: 'code',
45
45
  lang: 'bash',
46
46
  code: `# Page: src/app/account/page.tsx
47
- astryx template acme-account src/app/account
47
+ {@command template acme-account src/app/account}
48
48
 
49
49
  # Block: src/features/account/acme-stat-card.tsx
50
- astryx template acme-stat-card src/features/account
50
+ {@command template acme-stat-card src/features/account}
51
51
 
52
52
  # Exact destination for either kind
53
- astryx template acme-stat-card src/features/account/StatusCard.tsx`,
53
+ {@command template acme-stat-card src/features/account/StatusCard.tsx}`,
54
54
  },
55
55
  {
56
56
  type: 'prose',
@@ -19,7 +19,7 @@ export const docs = {
19
19
  type: 'code',
20
20
  lang: 'bash',
21
21
  label: 'Install and add a theme',
22
- code: 'npm install @astryxdesign/theme-neutral\nastryx theme add neutral',
22
+ code: '{@pm install @astryxdesign/theme-neutral}\n{@command theme add neutral}',
23
23
  },
24
24
  {
25
25
  type: 'code',
@@ -54,7 +54,7 @@ export const docs = {
54
54
  type: 'code',
55
55
  lang: 'bash',
56
56
  label: 'Add descriptors to earlier copies',
57
- code: 'astryx upgrade --from 0.6.4 --path . --apply',
57
+ code: '{@command upgrade --from 0.6.4 --path . --apply}',
58
58
  },
59
59
  {
60
60
  type: 'prose',
@@ -71,13 +71,13 @@ export const docs = {
71
71
  content: [
72
72
  {
73
73
  type: 'prose',
74
- text: 'Install the theme package you want with `npm install @astryxdesign/theme-{name}`, then import its slug with `theme add <slug>`. The CLI imports the package\'s built outputs for you.',
74
+ text: 'Install the theme package you want with `{@pm install @astryxdesign/theme-<name>}`, then import its slug with `theme add <slug>`. The CLI imports the package\'s built outputs for you.',
75
75
  },
76
76
  {
77
77
  type: 'table',
78
78
  headers: ['Theme', 'Add command', 'Description'],
79
79
  rows: [
80
- ['Neutral', 'astryx theme add neutral', 'Muted, minimal aesthetic with Figtree typography. A good starting point.'],
80
+ ['Neutral', '{@command theme add neutral}', 'Muted, minimal aesthetic with Figtree typography. A good starting point.'],
81
81
  ['Butter', 'astryx theme add butter', 'Golden, buttery surfaces with blue accents; Sarina + Outfit type.'],
82
82
  ['Chocolate', 'astryx theme add chocolate', 'Warm brown tones and cozy beige; Fraunces + Albert Sans type.'],
83
83
  ['Gothic', 'astryx theme add gothic', 'Dark-only atmospheric theme; deep blue-gray surfaces, distressed display type.'],
@@ -97,7 +97,7 @@ export const docs = {
97
97
  content: [
98
98
  {
99
99
  type: 'prose',
100
- text: "`<Theme>` takes `theme` (required), `mode` (`'system'` by default, or `'light'`/`'dark'`), and `children`. For every prop, run `astryx component Theme`.",
100
+ text: "`<Theme>` takes `theme` (required), `mode` (`'system'` by default, or `'light'`/`'dark'`), and `children`. For every prop, run `{@command component Theme}`.",
101
101
  },
102
102
  ],
103
103
  },
@@ -113,7 +113,7 @@ export const docs = {
113
113
  type: 'code',
114
114
  lang: 'bash',
115
115
  label: 'Install, inspect, and add',
116
- code: 'npm install @astryxdesign/core @acme/brand-integration\nastryx theme list --package @acme/brand-integration\nastryx docs brand-theme\nastryx theme add ocean --package @acme/brand-integration',
116
+ code: '{@pm install @astryxdesign/core @acme/brand-integration}\n{@command theme list --package @acme/brand-integration}\n{@command docs brand-theme}\n{@command theme add ocean --package @acme/brand-integration}',
117
117
  },
118
118
  {
119
119
  type: 'prose',
@@ -175,11 +175,11 @@ export const docs = {
175
175
  headers: ['', 'Runtime (source)', 'Built'],
176
176
  rows: [
177
177
  ['Import (published theme)', '@astryxdesign/theme-{name}', '@astryxdesign/theme-{name}/built + theme.css'],
178
- ['Import (custom theme)', 'defineTheme() directly', 'Built .js + .css from `astryx theme build`'],
178
+ ['Import (custom theme)', 'defineTheme() directly', 'Built .js + .css from `{@command theme build}`'],
179
179
  ['How it works', 'useInsertionEffect injects <style> at hydration', 'Pre-compiled .css file loaded with the page'],
180
180
  ['Component overrides', 'Injected client-only', 'In static CSS: present during SSR'],
181
181
  ['SSR safe', 'Tokens yes, component overrides flash on hydration', 'Fully SSR safe: no flash'],
182
- ['Best for', 'Authoring input for `astryx theme build`', 'App wiring, in development and production'],
182
+ ['Best for', 'Authoring input for `{@command theme build}`', 'App wiring, in development and production'],
183
183
  ],
184
184
  },
185
185
  {
@@ -188,8 +188,8 @@ export const docs = {
188
188
  items: [
189
189
  'Use `theme add` for production apps; it wires the built module and CSS.',
190
190
  'Import `themes` and `defaultThemeSlug` from the generated module once, and keep that wiring in development too.',
191
- 'While you edit a local theme, run `astryx theme build --watch` so its built files stay current.',
192
- 'Run `astryx theme build` for custom themes to get the built artifacts.',
191
+ 'While you edit a local theme, run `{@command theme build --watch}` so its built files stay current.',
192
+ 'Run `{@command theme build}` for custom themes to get the built artifacts.',
193
193
  ],
194
194
  },
195
195
  {
@@ -55,7 +55,7 @@ export const docs = {
55
55
  {
56
56
  type: 'code',
57
57
  lang: 'bash',
58
- code: 'npm install @acme/brand-integration',
58
+ code: '{@pm install @acme/brand-integration}',
59
59
  },
60
60
  {
61
61
  type: 'prose',
@@ -40,7 +40,7 @@ export const docs = {
40
40
  },
41
41
  {
42
42
  type: 'prose',
43
- text: "That's it. The `init --features agents` command generates everything your AI needs (component index, behavioral rules, CLI reference, and package guidance from configured integrations) from the installed project. After a dependency bump, `astryx upgrade --from <old version>` reports a stale block and adding `--apply` refreshes it.",
43
+ text: "That's it. The `init --features agents` command generates everything your AI needs (component index, behavioral rules, CLI reference, and package guidance from configured integrations) from the installed project. After a dependency bump, `{@command upgrade --from <old version>}` reports a stale block and adding `--apply` refreshes it.",
44
44
  },
45
45
  {
46
46
  type: 'prose',
@@ -50,12 +50,12 @@ export const docs = {
50
50
  type: 'code',
51
51
  lang: 'bash',
52
52
  label: 'Manual options',
53
- code: `astryx init --features agents --agent claude # CLAUDE.md if present, else .claude/CLAUDE.md
54
- astryx init --features agents --agent cursor # .cursorrules if present, else AGENTS.md
55
- astryx init --features agents --agent codex # AGENTS.md (Copilot, Codex, etc.)
56
- astryx init --features agents --agent hermes # .hermes.md or HERMES.md if present, else AGENTS.md
57
- astryx init --features agents --agent muse # AGENTS.md (Muse)
58
- astryx init --features agents --agent all # every agent file present except GEMINI.md, else AGENTS.md and .claude/CLAUDE.md`,
53
+ code: `{@command init --features agents --agent claude} # CLAUDE.md if present, else .claude/CLAUDE.md
54
+ {@command init --features agents --agent cursor} # .cursorrules if present, else AGENTS.md
55
+ {@command init --features agents --agent codex} # AGENTS.md (Copilot, Codex, etc.)
56
+ {@command init --features agents --agent hermes} # .hermes.md or HERMES.md if present, else AGENTS.md
57
+ {@command init --features agents --agent muse} # AGENTS.md (Muse)
58
+ {@command init --features agents --agent all} # every agent file present except GEMINI.md, else AGENTS.md and .claude/CLAUDE.md`,
59
59
  },
60
60
  {
61
61
  type: 'prose',
@@ -63,7 +63,7 @@ astryx init --features agents --agent all # every agent file present excep
63
63
  },
64
64
  {
65
65
  type: 'prose',
66
- text: "For agents that work outside any one project, your global install keeps one short Astryx skill, `~/.agents/skills/astryx/SKILL.md`, linked into the skill folders agent tools read, such as `~/.claude/skills/astryx`. It tells agents Astryx is there and when to use it; `astryx init --user` writes it now or, with `--remove-agents`, turns it off. Inside a project, agents follow that project's own agent docs. See {@link generic:computer-agent-guide}.",
66
+ text: "For agents that work outside any one project, your global install keeps one short Astryx skill, `~/.agents/skills/astryx/SKILL.md`, linked into the skill folders agent tools read, such as `~/.claude/skills/astryx`. It tells agents Astryx is there and when to use it; `{@command init --user}` writes it now or, with `--remove-agents`, turns it off. Inside a project, agents follow that project's own agent docs. See {@link generic:computer-agent-guide}.",
67
67
  },
68
68
  ],
69
69
  },
@@ -78,9 +78,9 @@ astryx init --features agents --agent all # every agent file present excep
78
78
  type: 'list',
79
79
  style: 'ordered',
80
80
  items: [
81
- '`astryx build "<idea>"`: get the page template to start from (always one: the closest match, or the app shell), two other templates, and the blocks and components for the parts it lacks',
82
- '`astryx template <name> <path>`: scaffold that template into the project, keep its frame and spacing, and replace its content',
83
- '`astryx component <Name>`: read props and examples for every component used',
81
+ '`{@command build "<idea>"}`: get the page template to start from (always one: the closest match, or the app shell), two other templates, and the blocks and components for the parts it lacks',
82
+ '`{@command template <name> <path>}`: scaffold that template into the project, keep its frame and spacing, and replace its content',
83
+ '`{@command component <Name>}`: read props and examples for every component used',
84
84
  ],
85
85
  },
86
86
  {
@@ -100,7 +100,7 @@ astryx init --features agents --agent all # every agent file present excep
100
100
  type: 'code',
101
101
  lang: 'bash',
102
102
  label: 'Install as a Cursor project rule',
103
- code: `astryx init --features agents --agent-docs-path .cursor/rules/astryx.mdc`,
103
+ code: `{@command init --features agents --agent-docs-path .cursor/rules/astryx.mdc}`,
104
104
  },
105
105
  {
106
106
  type: 'prose',
@@ -171,9 +171,9 @@ npm run astryx -- docs tokens --dense`,
171
171
  type: 'code',
172
172
  lang: 'bash',
173
173
  label: 'Short output for pasting into AI conversations',
174
- code: `astryx docs styling --full --detail brief
175
- astryx component Dialog --detail compact
176
- astryx docs principles --dense`,
174
+ code: `{@command docs styling --full --detail brief}
175
+ {@command component Dialog --detail compact}
176
+ {@command docs principles --dense}`,
177
177
  },
178
178
  ],
179
179
  },
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'activity',
7
+ description: 'Activity or live status over time.',
8
+ words: ['pulse', 'monitor', 'live'],
9
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'add',
7
+ description: 'Add or create a new item.',
8
+ words: ['create', 'new', 'plus'],
9
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'adjustments',
7
+ description: 'Adjust options such as view or filters.',
8
+ words: ['sliders', 'tune', 'options'],
9
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'announcement',
7
+ description: 'An announcement or broadcast.',
8
+ words: ['broadcast', 'news', 'megaphone'],
9
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'apps',
7
+ description: 'Add or browse apps and widgets.',
8
+ words: ['grid', 'widgets', 'apps'],
9
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'archive',
7
+ description: 'Archive an item.',
8
+ words: ['store', 'box'],
9
+ };
@@ -0,0 +1,10 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'arrowDown',
7
+ description: 'Sort descending or move down.',
8
+ words: ['descending', 'down', 'decrease'],
9
+ builtIn: true,
10
+ };
@@ -0,0 +1,9 @@
1
+ // Copyright (c) Meta Platforms, Inc. and affiliates.
2
+
3
+ /** @type {import('@astryxdesign/cli/authoring').IconDefinitionDoc} */
4
+ export default {
5
+ type: 'icon-definition',
6
+ name: 'arrowLeft',
7
+ description: 'Go back to the previous page.',
8
+ words: ['back', 'previous'],
9
+ };