@flood-md/agent 0.2.9 → 0.2.11

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 (451) hide show
  1. package/DESIGN.md +33 -8
  2. package/README.md +35 -4
  3. package/SKILL.md +42 -0
  4. package/dist/catalog.json +8716 -0
  5. package/dist/materials/component-accordion.md +42 -0
  6. package/dist/materials/component-alert-dialog.md +46 -0
  7. package/dist/materials/component-alert.md +41 -0
  8. package/dist/materials/component-app-shell.md +47 -0
  9. package/dist/materials/component-app-top-bar.md +36 -0
  10. package/dist/materials/component-aspect-ratio.md +36 -0
  11. package/dist/materials/component-autocomplete.md +54 -0
  12. package/dist/materials/component-avatar-group.md +39 -0
  13. package/dist/materials/component-avatar.md +40 -0
  14. package/dist/materials/component-badge.md +37 -0
  15. package/dist/materials/component-blockquote.md +35 -0
  16. package/dist/materials/component-breadcrumb.md +36 -0
  17. package/dist/materials/component-bulk-action-bar.md +52 -0
  18. package/dist/materials/component-button-group.md +39 -0
  19. package/dist/materials/component-button.md +44 -0
  20. package/dist/materials/component-calendar.md +59 -0
  21. package/dist/materials/component-card.md +46 -0
  22. package/dist/materials/component-center.md +39 -0
  23. package/dist/materials/component-character-count.md +42 -0
  24. package/dist/materials/component-check-card.md +39 -0
  25. package/dist/materials/component-checkbox-group.md +48 -0
  26. package/dist/materials/component-checkbox.md +37 -0
  27. package/dist/materials/component-code-snippet.md +37 -0
  28. package/dist/materials/component-collapsible.md +41 -0
  29. package/dist/materials/component-collection-toolbar.md +68 -0
  30. package/dist/materials/component-collection-view-switcher.md +49 -0
  31. package/dist/materials/component-color-picker.md +49 -0
  32. package/dist/materials/component-color-swatch.md +35 -0
  33. package/dist/materials/component-combobox.md +60 -0
  34. package/dist/materials/component-command-list.md +48 -0
  35. package/dist/materials/component-command-palette.md +53 -0
  36. package/dist/materials/component-container.md +36 -0
  37. package/dist/materials/component-context-menu.md +43 -0
  38. package/dist/materials/component-copy-button.md +43 -0
  39. package/dist/materials/component-data-list-item.md +40 -0
  40. package/dist/materials/component-data-list.md +38 -0
  41. package/dist/materials/component-data-table.md +70 -0
  42. package/dist/materials/component-date-field.md +57 -0
  43. package/dist/materials/component-date-picker.md +67 -0
  44. package/dist/materials/component-date-range-field.md +62 -0
  45. package/dist/materials/component-date-range-picker.md +73 -0
  46. package/dist/materials/component-date-time-picker.md +62 -0
  47. package/dist/materials/component-date-time-range-picker.md +70 -0
  48. package/dist/materials/component-description-list.md +42 -0
  49. package/dist/materials/component-dialog.md +45 -0
  50. package/dist/materials/component-divider.md +37 -0
  51. package/dist/materials/component-drawer.md +51 -0
  52. package/dist/materials/component-dropzone.md +45 -0
  53. package/dist/materials/component-editable.md +57 -0
  54. package/dist/materials/component-empty-state.md +41 -0
  55. package/dist/materials/component-error-summary.md +40 -0
  56. package/dist/materials/component-field.md +46 -0
  57. package/dist/materials/component-fieldset.md +46 -0
  58. package/dist/materials/component-figure.md +36 -0
  59. package/dist/materials/component-file-input.md +45 -0
  60. package/dist/materials/component-file-item.md +48 -0
  61. package/dist/materials/component-file-list.md +39 -0
  62. package/dist/materials/component-file-meta.md +36 -0
  63. package/dist/materials/component-filter-condition.md +53 -0
  64. package/dist/materials/component-filter-group.md +55 -0
  65. package/dist/materials/component-flood-root.md +33 -0
  66. package/dist/materials/component-grid.md +38 -0
  67. package/dist/materials/component-heading.md +38 -0
  68. package/dist/materials/component-hover-card.md +48 -0
  69. package/dist/materials/component-icon-button.md +43 -0
  70. package/dist/materials/component-icon-slot.md +37 -0
  71. package/dist/materials/component-image-preview.md +50 -0
  72. package/dist/materials/component-image.md +37 -0
  73. package/dist/materials/component-inline-code.md +36 -0
  74. package/dist/materials/component-inline.md +39 -0
  75. package/dist/materials/component-input-group.md +43 -0
  76. package/dist/materials/component-input.md +39 -0
  77. package/dist/materials/component-kbd.md +34 -0
  78. package/dist/materials/component-label.md +37 -0
  79. package/dist/materials/component-link.md +35 -0
  80. package/dist/materials/component-list-box.md +57 -0
  81. package/dist/materials/component-list.md +40 -0
  82. package/dist/materials/component-menu.md +54 -0
  83. package/dist/materials/component-menubar.md +41 -0
  84. package/dist/materials/component-meter.md +43 -0
  85. package/dist/materials/component-metric.md +39 -0
  86. package/dist/materials/component-multi-select.md +62 -0
  87. package/dist/materials/component-navigation-group.md +51 -0
  88. package/dist/materials/component-navigation-item.md +59 -0
  89. package/dist/materials/component-navigation-list.md +38 -0
  90. package/dist/materials/component-navigation-tree.md +51 -0
  91. package/dist/materials/component-number-input.md +47 -0
  92. package/dist/materials/component-overflow-actions.md +47 -0
  93. package/dist/materials/component-page-header.md +40 -0
  94. package/dist/materials/component-pagination.md +44 -0
  95. package/dist/materials/component-password-input.md +43 -0
  96. package/dist/materials/component-pin-input.md +45 -0
  97. package/dist/materials/component-popover.md +48 -0
  98. package/dist/materials/component-progress.md +42 -0
  99. package/dist/materials/component-radio-card.md +43 -0
  100. package/dist/materials/component-radio-group.md +49 -0
  101. package/dist/materials/component-radio.md +39 -0
  102. package/dist/materials/component-range-calendar.md +58 -0
  103. package/dist/materials/component-rating.md +46 -0
  104. package/dist/materials/component-resizable-panels.md +48 -0
  105. package/dist/materials/component-scroll-area.md +42 -0
  106. package/dist/materials/component-search-input.md +40 -0
  107. package/dist/materials/component-section.md +42 -0
  108. package/dist/materials/component-segmented-control.md +53 -0
  109. package/dist/materials/component-select.md +45 -0
  110. package/dist/materials/component-sidebar.md +64 -0
  111. package/dist/materials/component-skeleton.md +42 -0
  112. package/dist/materials/component-skip-link.md +37 -0
  113. package/dist/materials/component-slider.md +51 -0
  114. package/dist/materials/component-spinner.md +37 -0
  115. package/dist/materials/component-split.md +40 -0
  116. package/dist/materials/component-stack.md +37 -0
  117. package/dist/materials/component-status-indicator.md +38 -0
  118. package/dist/materials/component-steps.md +40 -0
  119. package/dist/materials/component-surface.md +37 -0
  120. package/dist/materials/component-switch.md +35 -0
  121. package/dist/materials/component-table.md +46 -0
  122. package/dist/materials/component-tabs.md +45 -0
  123. package/dist/materials/component-tag-input.md +46 -0
  124. package/dist/materials/component-tag.md +40 -0
  125. package/dist/materials/component-text.md +39 -0
  126. package/dist/materials/component-textarea.md +38 -0
  127. package/dist/materials/component-time-field.md +56 -0
  128. package/dist/materials/component-time-picker.md +60 -0
  129. package/dist/materials/component-timeline.md +38 -0
  130. package/dist/materials/component-toast-region.md +42 -0
  131. package/dist/materials/component-toggle-group.md +44 -0
  132. package/dist/materials/component-toggle.md +40 -0
  133. package/dist/materials/component-toolbar.md +46 -0
  134. package/dist/materials/component-tooltip.md +40 -0
  135. package/dist/materials/component-tree-select.md +56 -0
  136. package/dist/materials/component-tree.md +52 -0
  137. package/dist/materials/component-upload-item.md +52 -0
  138. package/dist/materials/component-upload-list.md +40 -0
  139. package/dist/materials/component-visually-hidden.md +37 -0
  140. package/dist/materials/guide-agent-knowledge.md +95 -0
  141. package/dist/materials/guide-agents.md +103 -0
  142. package/dist/materials/guide-faq.md +84 -0
  143. package/dist/materials/guide-foundations.md +275 -0
  144. package/dist/materials/guide-installation.md +79 -0
  145. package/dist/materials/guide-interface-content.md +76 -0
  146. package/dist/materials/guide-introduction.md +42 -0
  147. package/dist/materials/guide-layout.md +222 -0
  148. package/dist/materials/guide-motion.md +69 -0
  149. package/dist/materials/guide-privacy.md +23 -0
  150. package/dist/materials/guide-project-ui.md +127 -0
  151. package/dist/materials/guide-skills.md +117 -0
  152. package/dist/materials/guide-theming.md +73 -0
  153. package/dist/materials/recipe-collection-views.md +648 -0
  154. package/dist/materials/recipe-command-palette.md +45 -0
  155. package/dist/materials/recipe-filter-bar.md +68 -0
  156. package/dist/materials/recipe-form-submission.md +39 -0
  157. package/dist/materials/recipe-grouped-form.md +71 -0
  158. package/dist/materials/recipe-navigation-workspace.md +222 -0
  159. package/dist/materials/recipe-record-management.md +296 -0
  160. package/dist/materials/recipe-record-workspace.md +207 -0
  161. package/dist/materials/recipe-select-all.md +31 -0
  162. package/dist/materials/recipe-settings-workspace.md +232 -0
  163. package/dist/materials/recipe-split-button.md +26 -0
  164. package/dist/materials/recipe-table-bulk-actions.md +88 -0
  165. package/dist/materials/recipe-workspace-review.md +134 -0
  166. package/dist/materials/token-sys.color.accent.content.json +41 -0
  167. package/dist/materials/token-sys.color.action.danger.content.json +42 -0
  168. package/dist/materials/token-sys.color.action.ghost.content.json +41 -0
  169. package/dist/materials/token-sys.color.action.ghost.disabled-content.json +41 -0
  170. package/dist/materials/token-sys.color.action.ghost.disabled.json +41 -0
  171. package/dist/materials/token-sys.color.action.ghost.hover.json +41 -0
  172. package/dist/materials/token-sys.color.action.ghost.pressed.json +41 -0
  173. package/dist/materials/token-sys.color.action.ghost.rest.json +41 -0
  174. package/dist/materials/token-sys.color.action.on-surface.content.json +39 -0
  175. package/dist/materials/token-sys.color.action.on-surface.disabled-content.json +39 -0
  176. package/dist/materials/token-sys.color.action.on-surface.disabled.json +39 -0
  177. package/dist/materials/token-sys.color.action.on-surface.hover.json +39 -0
  178. package/dist/materials/token-sys.color.action.on-surface.pressed.json +39 -0
  179. package/dist/materials/token-sys.color.action.on-surface.rest.json +39 -0
  180. package/dist/materials/token-sys.color.action.primary.content.json +39 -0
  181. package/dist/materials/token-sys.color.action.primary.disabled-content.json +39 -0
  182. package/dist/materials/token-sys.color.action.primary.disabled.json +39 -0
  183. package/dist/materials/token-sys.color.action.primary.hover.json +39 -0
  184. package/dist/materials/token-sys.color.action.primary.pressed.json +39 -0
  185. package/dist/materials/token-sys.color.action.primary.rest.json +39 -0
  186. package/dist/materials/token-sys.color.action.subtle.content.json +39 -0
  187. package/dist/materials/token-sys.color.action.subtle.disabled-content.json +39 -0
  188. package/dist/materials/token-sys.color.action.subtle.disabled.json +39 -0
  189. package/dist/materials/token-sys.color.action.subtle.hover.json +39 -0
  190. package/dist/materials/token-sys.color.action.subtle.pressed.json +39 -0
  191. package/dist/materials/token-sys.color.action.subtle.rest.json +39 -0
  192. package/dist/materials/token-sys.color.border.decorative.json +42 -0
  193. package/dist/materials/token-sys.color.border.default.json +39 -0
  194. package/dist/materials/token-sys.color.border.floating.json +39 -0
  195. package/dist/materials/token-sys.color.border.strong.json +39 -0
  196. package/dist/materials/token-sys.color.content.default.json +41 -0
  197. package/dist/materials/token-sys.color.content.helper.json +39 -0
  198. package/dist/materials/token-sys.color.content.subtle.json +43 -0
  199. package/dist/materials/token-sys.color.context.base.action-disabled.json +41 -0
  200. package/dist/materials/token-sys.color.context.base.action-hover.json +41 -0
  201. package/dist/materials/token-sys.color.context.base.action-pressed.json +41 -0
  202. package/dist/materials/token-sys.color.context.base.action-rest.json +41 -0
  203. package/dist/materials/token-sys.color.context.base.avatar-background.json +41 -0
  204. package/dist/materials/token-sys.color.context.base.border-decorative.json +41 -0
  205. package/dist/materials/token-sys.color.context.base.divider-decorative.json +41 -0
  206. package/dist/materials/token-sys.color.context.base.field-background.json +41 -0
  207. package/dist/materials/token-sys.color.context.base.field-border.json +41 -0
  208. package/dist/materials/token-sys.color.context.base.field-disabled.json +41 -0
  209. package/dist/materials/token-sys.color.context.base.field-readonly.json +41 -0
  210. package/dist/materials/token-sys.color.context.base.indicator-track.json +41 -0
  211. package/dist/materials/token-sys.color.context.base.loading-placeholder.json +41 -0
  212. package/dist/materials/token-sys.color.context.base.muted-background.json +41 -0
  213. package/dist/materials/token-sys.color.context.base.on-surface-action-disabled.json +41 -0
  214. package/dist/materials/token-sys.color.context.base.on-surface-action-hover.json +41 -0
  215. package/dist/materials/token-sys.color.context.base.on-surface-action-pressed.json +41 -0
  216. package/dist/materials/token-sys.color.context.base.on-surface-action-rest.json +41 -0
  217. package/dist/materials/token-sys.color.context.base.selection-background.json +41 -0
  218. package/dist/materials/token-sys.color.context.base.supporting-background.json +41 -0
  219. package/dist/materials/token-sys.color.context.filled.action-disabled.json +41 -0
  220. package/dist/materials/token-sys.color.context.filled.action-hover.json +41 -0
  221. package/dist/materials/token-sys.color.context.filled.action-pressed.json +41 -0
  222. package/dist/materials/token-sys.color.context.filled.action-rest.json +41 -0
  223. package/dist/materials/token-sys.color.context.filled.avatar-background.json +41 -0
  224. package/dist/materials/token-sys.color.context.filled.border-decorative.json +41 -0
  225. package/dist/materials/token-sys.color.context.filled.divider-decorative.json +41 -0
  226. package/dist/materials/token-sys.color.context.filled.field-background.json +41 -0
  227. package/dist/materials/token-sys.color.context.filled.field-border.json +41 -0
  228. package/dist/materials/token-sys.color.context.filled.field-disabled.json +41 -0
  229. package/dist/materials/token-sys.color.context.filled.field-readonly.json +41 -0
  230. package/dist/materials/token-sys.color.context.filled.indicator-track.json +41 -0
  231. package/dist/materials/token-sys.color.context.filled.loading-placeholder.json +41 -0
  232. package/dist/materials/token-sys.color.context.filled.muted-background.json +41 -0
  233. package/dist/materials/token-sys.color.context.filled.selection-background.json +41 -0
  234. package/dist/materials/token-sys.color.context.filled.supporting-background.json +41 -0
  235. package/dist/materials/token-sys.color.divider.decorative.json +41 -0
  236. package/dist/materials/token-sys.color.feedback.error.json +39 -0
  237. package/dist/materials/token-sys.color.feedback.info.json +39 -0
  238. package/dist/materials/token-sys.color.feedback.success.json +39 -0
  239. package/dist/materials/token-sys.color.feedback.warning.json +39 -0
  240. package/dist/materials/token-sys.color.field.background.json +39 -0
  241. package/dist/materials/token-sys.color.field.border.json +39 -0
  242. package/dist/materials/token-sys.color.field.boundary.json +39 -0
  243. package/dist/materials/token-sys.color.field.content.json +39 -0
  244. package/dist/materials/token-sys.color.field.disabled-content.json +39 -0
  245. package/dist/materials/token-sys.color.field.disabled.json +39 -0
  246. package/dist/materials/token-sys.color.field.placeholder.json +39 -0
  247. package/dist/materials/token-sys.color.field.readonly.json +41 -0
  248. package/dist/materials/token-sys.color.focus.ring.json +39 -0
  249. package/dist/materials/token-sys.color.indicator.accent.json +39 -0
  250. package/dist/materials/token-sys.color.indicator.fill.json +39 -0
  251. package/dist/materials/token-sys.color.indicator.track.json +39 -0
  252. package/dist/materials/token-sys.color.loading.placeholder.json +42 -0
  253. package/dist/materials/token-sys.color.scrollbar.thumb-hover.json +39 -0
  254. package/dist/materials/token-sys.color.scrollbar.thumb.json +39 -0
  255. package/dist/materials/token-sys.color.selection.background.json +39 -0
  256. package/dist/materials/token-sys.color.selection.content.json +39 -0
  257. package/dist/materials/token-sys.color.selection.floating.json +39 -0
  258. package/dist/materials/token-sys.color.shadow.floating.json +39 -0
  259. package/dist/materials/token-sys.color.surface.avatar.json +41 -0
  260. package/dist/materials/token-sys.color.surface.canvas.json +39 -0
  261. package/dist/materials/token-sys.color.surface.current.json +41 -0
  262. package/dist/materials/token-sys.color.surface.default.json +39 -0
  263. package/dist/materials/token-sys.color.surface.floating-translucent.json +39 -0
  264. package/dist/materials/token-sys.color.surface.floating.json +39 -0
  265. package/dist/materials/token-sys.color.surface.muted.json +41 -0
  266. package/dist/materials/token-sys.color.surface.overlay.json +39 -0
  267. package/dist/materials/token-sys.color.surface.raised.json +39 -0
  268. package/dist/materials/token-sys.color.surface.supporting.json +41 -0
  269. package/dist/materials/token-sys.control.2xl.gap.json +34 -0
  270. package/dist/materials/token-sys.control.2xl.height.json +34 -0
  271. package/dist/materials/token-sys.control.2xl.icon-size.json +34 -0
  272. package/dist/materials/token-sys.control.2xl.line-height.json +31 -0
  273. package/dist/materials/token-sys.control.2xl.padding-inline.json +34 -0
  274. package/dist/materials/token-sys.control.2xl.text-size.json +34 -0
  275. package/dist/materials/token-sys.control.2xs.gap.json +34 -0
  276. package/dist/materials/token-sys.control.2xs.height.json +34 -0
  277. package/dist/materials/token-sys.control.2xs.icon-size.json +34 -0
  278. package/dist/materials/token-sys.control.2xs.line-height.json +31 -0
  279. package/dist/materials/token-sys.control.2xs.padding-inline.json +34 -0
  280. package/dist/materials/token-sys.control.2xs.text-size.json +34 -0
  281. package/dist/materials/token-sys.control.lg.gap.json +34 -0
  282. package/dist/materials/token-sys.control.lg.height.json +34 -0
  283. package/dist/materials/token-sys.control.lg.icon-size.json +34 -0
  284. package/dist/materials/token-sys.control.lg.line-height.json +31 -0
  285. package/dist/materials/token-sys.control.lg.padding-inline.json +34 -0
  286. package/dist/materials/token-sys.control.lg.text-size.json +34 -0
  287. package/dist/materials/token-sys.control.md.gap.json +34 -0
  288. package/dist/materials/token-sys.control.md.height.json +34 -0
  289. package/dist/materials/token-sys.control.md.icon-size.json +34 -0
  290. package/dist/materials/token-sys.control.md.line-height.json +31 -0
  291. package/dist/materials/token-sys.control.md.padding-inline.json +34 -0
  292. package/dist/materials/token-sys.control.md.text-size.json +34 -0
  293. package/dist/materials/token-sys.control.sm.gap.json +34 -0
  294. package/dist/materials/token-sys.control.sm.height.json +34 -0
  295. package/dist/materials/token-sys.control.sm.icon-size.json +34 -0
  296. package/dist/materials/token-sys.control.sm.line-height.json +31 -0
  297. package/dist/materials/token-sys.control.sm.padding-inline.json +34 -0
  298. package/dist/materials/token-sys.control.sm.text-size.json +34 -0
  299. package/dist/materials/token-sys.control.xl.gap.json +34 -0
  300. package/dist/materials/token-sys.control.xl.height.json +34 -0
  301. package/dist/materials/token-sys.control.xl.icon-size.json +34 -0
  302. package/dist/materials/token-sys.control.xl.line-height.json +31 -0
  303. package/dist/materials/token-sys.control.xl.padding-inline.json +34 -0
  304. package/dist/materials/token-sys.control.xl.text-size.json +34 -0
  305. package/dist/materials/token-sys.control.xs.gap.json +34 -0
  306. package/dist/materials/token-sys.control.xs.height.json +34 -0
  307. package/dist/materials/token-sys.control.xs.icon-size.json +34 -0
  308. package/dist/materials/token-sys.control.xs.line-height.json +31 -0
  309. package/dist/materials/token-sys.control.xs.padding-inline.json +34 -0
  310. package/dist/materials/token-sys.control.xs.text-size.json +34 -0
  311. package/dist/materials/token-sys.effect.floating.blur.json +34 -0
  312. package/dist/materials/token-sys.effect.floating.saturation.json +31 -0
  313. package/dist/materials/token-sys.effect.floating.shadow-blur.json +34 -0
  314. package/dist/materials/token-sys.effect.floating.shadow-offset.json +34 -0
  315. package/dist/materials/token-sys.focus.offset.json +34 -0
  316. package/dist/materials/token-sys.focus.width.json +34 -0
  317. package/dist/materials/token-sys.font.mono.json +36 -0
  318. package/dist/materials/token-sys.font.sans.json +35 -0
  319. package/dist/materials/token-sys.layer.base.json +31 -0
  320. package/dist/materials/token-sys.layer.modal.json +31 -0
  321. package/dist/materials/token-sys.layer.popover.json +31 -0
  322. package/dist/materials/token-sys.layer.sticky.json +31 -0
  323. package/dist/materials/token-sys.layer.toast.json +31 -0
  324. package/dist/materials/token-sys.motion.distance-panel.json +36 -0
  325. package/dist/materials/token-sys.motion.distance-small.json +36 -0
  326. package/dist/materials/token-sys.motion.duration-enter.json +36 -0
  327. package/dist/materials/token-sys.motion.duration-exit.json +36 -0
  328. package/dist/materials/token-sys.motion.duration-fast.json +34 -0
  329. package/dist/materials/token-sys.motion.duration-layer.json +36 -0
  330. package/dist/materials/token-sys.motion.duration-loop.json +36 -0
  331. package/dist/materials/token-sys.motion.duration-normal.json +34 -0
  332. package/dist/materials/token-sys.motion.duration-press.json +36 -0
  333. package/dist/materials/token-sys.motion.duration-reduced.json +34 -0
  334. package/dist/materials/token-sys.motion.easing-enter.json +38 -0
  335. package/dist/materials/token-sys.motion.easing-exit.json +38 -0
  336. package/dist/materials/token-sys.motion.easing.json +36 -0
  337. package/dist/materials/token-sys.radius.action.json +34 -0
  338. package/dist/materials/token-sys.radius.block.json +34 -0
  339. package/dist/materials/token-sys.radius.field.json +34 -0
  340. package/dist/materials/token-sys.radius.indicator.json +34 -0
  341. package/dist/materials/token-sys.radius.surface.json +34 -0
  342. package/dist/materials/token-sys.scrollbar.inset.json +34 -0
  343. package/dist/materials/token-sys.scrollbar.min-thumb.json +34 -0
  344. package/dist/materials/token-sys.scrollbar.size.json +34 -0
  345. package/dist/materials/token-sys.size.choice.json +34 -0
  346. package/dist/materials/token-sys.size.container.lg.json +37 -0
  347. package/dist/materials/token-sys.size.container.md.json +37 -0
  348. package/dist/materials/token-sys.size.container.sm.json +37 -0
  349. package/dist/materials/token-sys.size.grid.min-item.json +37 -0
  350. package/dist/materials/token-sys.size.indicator.lg.json +34 -0
  351. package/dist/materials/token-sys.size.indicator.md.json +34 -0
  352. package/dist/materials/token-sys.size.indicator.sm.json +34 -0
  353. package/dist/materials/token-sys.size.keycap.lg.json +34 -0
  354. package/dist/materials/token-sys.size.keycap.md.json +34 -0
  355. package/dist/materials/token-sys.size.keycap.sm.json +34 -0
  356. package/dist/materials/token-sys.size.switch-height.json +34 -0
  357. package/dist/materials/token-sys.size.switch-thumb.json +34 -0
  358. package/dist/materials/token-sys.size.switch-width.json +34 -0
  359. package/dist/materials/token-sys.size.touch.json +34 -0
  360. package/dist/materials/token-sys.space.0.json +34 -0
  361. package/dist/materials/token-sys.space.1.json +34 -0
  362. package/dist/materials/token-sys.space.12.json +34 -0
  363. package/dist/materials/token-sys.space.2.json +34 -0
  364. package/dist/materials/token-sys.space.3.json +34 -0
  365. package/dist/materials/token-sys.space.4.json +34 -0
  366. package/dist/materials/token-sys.space.6.json +34 -0
  367. package/dist/materials/token-sys.space.8.json +34 -0
  368. package/dist/materials/token-sys.stroke.width.json +34 -0
  369. package/dist/materials/token-sys.type.body.line-height.json +31 -0
  370. package/dist/materials/token-sys.type.body.size.json +34 -0
  371. package/dist/materials/token-sys.type.body.tracking.json +34 -0
  372. package/dist/materials/token-sys.type.body.weight.json +31 -0
  373. package/dist/materials/token-sys.type.compact.line-height.json +31 -0
  374. package/dist/materials/token-sys.type.compact.size.json +34 -0
  375. package/dist/materials/token-sys.type.compact.tracking.json +34 -0
  376. package/dist/materials/token-sys.type.compact.weight.json +31 -0
  377. package/dist/materials/token-sys.type.control.line-height.json +31 -0
  378. package/dist/materials/token-sys.type.control.size.json +34 -0
  379. package/dist/materials/token-sys.type.control.tracking.json +34 -0
  380. package/dist/materials/token-sys.type.control.weight.json +31 -0
  381. package/dist/materials/token-sys.type.dialog-title.line-height.json +33 -0
  382. package/dist/materials/token-sys.type.dialog-title.size.json +36 -0
  383. package/dist/materials/token-sys.type.dialog-title.tracking.json +36 -0
  384. package/dist/materials/token-sys.type.dialog-title.weight.json +33 -0
  385. package/dist/materials/token-sys.type.display.line-height.json +31 -0
  386. package/dist/materials/token-sys.type.display.size.json +34 -0
  387. package/dist/materials/token-sys.type.display.tracking.json +34 -0
  388. package/dist/materials/token-sys.type.display.weight.json +31 -0
  389. package/dist/materials/token-sys.type.field-label.line-height.json +33 -0
  390. package/dist/materials/token-sys.type.field-label.size.json +36 -0
  391. package/dist/materials/token-sys.type.field-label.tracking.json +36 -0
  392. package/dist/materials/token-sys.type.field-label.weight.json +33 -0
  393. package/dist/materials/token-sys.type.group-title.line-height.json +33 -0
  394. package/dist/materials/token-sys.type.group-title.size.json +36 -0
  395. package/dist/materials/token-sys.type.group-title.tracking.json +36 -0
  396. package/dist/materials/token-sys.type.group-title.weight.json +33 -0
  397. package/dist/materials/token-sys.type.helper.line-height.json +31 -0
  398. package/dist/materials/token-sys.type.helper.size.json +34 -0
  399. package/dist/materials/token-sys.type.helper.tracking.json +34 -0
  400. package/dist/materials/token-sys.type.helper.weight.json +31 -0
  401. package/dist/materials/token-sys.type.label.line-height.json +31 -0
  402. package/dist/materials/token-sys.type.label.size.json +34 -0
  403. package/dist/materials/token-sys.type.label.tracking.json +34 -0
  404. package/dist/materials/token-sys.type.label.weight.json +31 -0
  405. package/dist/materials/token-sys.type.large.line-height.json +31 -0
  406. package/dist/materials/token-sys.type.large.size.json +34 -0
  407. package/dist/materials/token-sys.type.large.tracking.json +34 -0
  408. package/dist/materials/token-sys.type.large.weight.json +31 -0
  409. package/dist/materials/token-sys.type.lead.line-height.json +31 -0
  410. package/dist/materials/token-sys.type.lead.size.json +34 -0
  411. package/dist/materials/token-sys.type.lead.tracking.json +34 -0
  412. package/dist/materials/token-sys.type.lead.weight.json +31 -0
  413. package/dist/materials/token-sys.type.page.line-height.json +31 -0
  414. package/dist/materials/token-sys.type.page.size.json +34 -0
  415. package/dist/materials/token-sys.type.page.tracking.json +34 -0
  416. package/dist/materials/token-sys.type.page.weight.json +31 -0
  417. package/dist/materials/token-sys.type.section.line-height.json +31 -0
  418. package/dist/materials/token-sys.type.section.size.json +34 -0
  419. package/dist/materials/token-sys.type.section.tracking.json +34 -0
  420. package/dist/materials/token-sys.type.section.weight.json +31 -0
  421. package/knowledge.json +522 -0
  422. package/lib/index.d.ts +33 -0
  423. package/lib/index.mjs +144 -0
  424. package/lib/inspect.d.ts +12 -0
  425. package/lib/inspect.mjs +187 -0
  426. package/manifest.json +51 -1
  427. package/package.json +13 -1
  428. package/references/component-families.md +146 -0
  429. package/references/composition.md +4 -4
  430. package/references/customization.md +14 -0
  431. package/references/flood-composition/SKILL.md +34 -0
  432. package/references/flood-data-display/SKILL.md +149 -0
  433. package/references/flood-feedback/SKILL.md +49 -3
  434. package/references/flood-forms/SKILL.md +82 -2
  435. package/references/flood-foundations/SKILL.md +43 -0
  436. package/references/flood-hierarchy/SKILL.md +103 -0
  437. package/references/flood-interface-content/SKILL.md +163 -0
  438. package/references/flood-motion/SKILL.md +44 -0
  439. package/references/flood-navigation/SKILL.md +195 -0
  440. package/references/flood-overlays/SKILL.md +42 -0
  441. package/references/flood-records/SKILL.md +148 -0
  442. package/references/flood-spacing/SKILL.md +54 -0
  443. package/references/flood-verification/SKILL.md +72 -0
  444. package/references/interface-content-examples.md +51 -0
  445. package/references/knowledge.md +49 -0
  446. package/references/record-decisions.md +25 -0
  447. package/references/rendered-review.md +102 -0
  448. package/references/routing.md +1 -0
  449. package/references/spacing.md +30 -0
  450. package/rules.json +242 -6
  451. package/workflows.json +171 -10
@@ -0,0 +1,34 @@
1
+ {
2
+ "role": "sys.type.section.size",
3
+ "cssName": "--flood-sys-type-section-size",
4
+ "description": "section text size",
5
+ "contexts": [
6
+ {
7
+ "preset": "neutral",
8
+ "theme": "dark",
9
+ "id": "sys.type.section.size",
10
+ "type": "dimension",
11
+ "cssName": "--flood-sys-type-section-size",
12
+ "description": "section text size",
13
+ "status": "experimental",
14
+ "visibility": "public",
15
+ "owner": "foundations",
16
+ "since": "0.2.0",
17
+ "usage": {
18
+ "allowed": [
19
+ "section text size"
20
+ ],
21
+ "avoid": []
22
+ },
23
+ "value": {
24
+ "value": 1.25,
25
+ "unit": "rem"
26
+ },
27
+ "alias": "ref.type.section.size",
28
+ "dependencies": [
29
+ "ref.type.section.size"
30
+ ],
31
+ "dependents": []
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "role": "sys.type.section.tracking",
3
+ "cssName": "--flood-sys-type-section-tracking",
4
+ "description": "section text tracking",
5
+ "contexts": [
6
+ {
7
+ "preset": "neutral",
8
+ "theme": "dark",
9
+ "id": "sys.type.section.tracking",
10
+ "type": "dimension",
11
+ "cssName": "--flood-sys-type-section-tracking",
12
+ "description": "section text tracking",
13
+ "status": "experimental",
14
+ "visibility": "public",
15
+ "owner": "foundations",
16
+ "since": "0.2.0",
17
+ "usage": {
18
+ "allowed": [
19
+ "section text tracking"
20
+ ],
21
+ "avoid": []
22
+ },
23
+ "value": {
24
+ "value": -0.015,
25
+ "unit": "em"
26
+ },
27
+ "alias": "ref.type.section.tracking",
28
+ "dependencies": [
29
+ "ref.type.section.tracking"
30
+ ],
31
+ "dependents": []
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "role": "sys.type.section.weight",
3
+ "cssName": "--flood-sys-type-section-weight",
4
+ "description": "section text weight",
5
+ "contexts": [
6
+ {
7
+ "preset": "neutral",
8
+ "theme": "dark",
9
+ "id": "sys.type.section.weight",
10
+ "type": "fontWeight",
11
+ "cssName": "--flood-sys-type-section-weight",
12
+ "description": "section text weight",
13
+ "status": "experimental",
14
+ "visibility": "public",
15
+ "owner": "foundations",
16
+ "since": "0.2.0",
17
+ "usage": {
18
+ "allowed": [
19
+ "section text weight"
20
+ ],
21
+ "avoid": []
22
+ },
23
+ "value": 500,
24
+ "alias": "ref.type.section.weight",
25
+ "dependencies": [
26
+ "ref.type.section.weight"
27
+ ],
28
+ "dependents": []
29
+ }
30
+ ]
31
+ }
package/knowledge.json ADDED
@@ -0,0 +1,522 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "groups": [
4
+ {
5
+ "id": "foundations",
6
+ "name": "Foundations",
7
+ "description": "Semantic colors, type, geometry, spacing and scoped customization."
8
+ },
9
+ {
10
+ "id": "composition",
11
+ "name": "Composition",
12
+ "description": "Layout and task recipes assembled from existing primitives."
13
+ },
14
+ {
15
+ "id": "interaction",
16
+ "name": "Interaction",
17
+ "description": "Forms, selection, navigation and transient layers."
18
+ },
19
+ {
20
+ "id": "data-feedback",
21
+ "name": "Data & feedback",
22
+ "description": "Structured content, files and honest operation states."
23
+ },
24
+ {
25
+ "id": "quality",
26
+ "name": "Quality",
27
+ "description": "Accessibility, evidence and regression checks."
28
+ },
29
+ {
30
+ "id": "motion",
31
+ "name": "Motion",
32
+ "description": "Component motion roles, transition recipes and reduced-motion verification."
33
+ }
34
+ ],
35
+ "workflows": {
36
+ "motion": ["motion", "quality"],
37
+ "composition": [
38
+ "composition"
39
+ ],
40
+ "spacing": [
41
+ "foundations",
42
+ "composition"
43
+ ],
44
+ "foundations": [
45
+ "foundations"
46
+ ],
47
+ "accessibility": [
48
+ "quality"
49
+ ],
50
+ "forms": [
51
+ "interaction"
52
+ ],
53
+ "overlays": [
54
+ "interaction"
55
+ ],
56
+ "navigation": [
57
+ "interaction"
58
+ ],
59
+ "data-display": [
60
+ "data-feedback"
61
+ ],
62
+ "feedback": [
63
+ "data-feedback"
64
+ ],
65
+ "verification": [
66
+ "quality"
67
+ ],
68
+ "interface-content": [
69
+ "composition",
70
+ "quality"
71
+ ],
72
+ "hierarchy": [
73
+ "foundations",
74
+ "composition"
75
+ ],
76
+ "records": [
77
+ "data-feedback",
78
+ "composition"
79
+ ]
80
+ },
81
+ "references": [
82
+ {
83
+ "id": "guide:entry",
84
+ "source": "SKILL.md",
85
+ "groups": [
86
+ "composition"
87
+ ],
88
+ "name": "Flood agent entry",
89
+ "description": "Start with host instructions and the installed version, then choose only relevant guidance."
90
+ },
91
+ {
92
+ "id": "guide:design",
93
+ "source": "DESIGN.md",
94
+ "groups": [
95
+ "foundations",
96
+ "composition"
97
+ ],
98
+ "name": "Installed design contract",
99
+ "description": "The version-matched component, token and ownership contract."
100
+ },
101
+ {
102
+ "id": "reference:routing",
103
+ "source": "references/routing.md",
104
+ "groups": [
105
+ "quality"
106
+ ],
107
+ "name": "Sources and routing",
108
+ "description": "Choose which installed source governs a task and how to verify it."
109
+ },
110
+ {
111
+ "id": "reference:composition",
112
+ "source": "references/composition.md",
113
+ "groups": [
114
+ "composition"
115
+ ],
116
+ "name": "Screen composition",
117
+ "description": "Assemble application layouts and native forms from existing Flood primitives."
118
+ },
119
+ {
120
+ "id": "reference:spacing",
121
+ "source": "references/spacing.md",
122
+ "groups": [
123
+ "foundations",
124
+ "composition"
125
+ ],
126
+ "name": "Spacing reference",
127
+ "description": "Measure relationships, density, nesting and usable targets."
128
+ },
129
+ {
130
+ "id": "reference:accessibility",
131
+ "source": "references/accessibility.md",
132
+ "groups": [
133
+ "quality"
134
+ ],
135
+ "name": "Accessibility reference",
136
+ "description": "Names, keyboard, focus, reflow and perception checks for the actual host."
137
+ },
138
+ {
139
+ "id": "reference:customization",
140
+ "source": "references/customization.md",
141
+ "groups": [
142
+ "foundations"
143
+ ],
144
+ "name": "Scoped customization",
145
+ "description": "Apply a host brand through scoped semantic overrides without editing dependencies or creating a parallel token system."
146
+ },
147
+ {
148
+ "id": "reference:verification",
149
+ "source": "references/verification.md",
150
+ "groups": [
151
+ "quality"
152
+ ],
153
+ "name": "Verification reference",
154
+ "description": "Turn applicable guidance into executed checks and report their limits."
155
+ },
156
+ {
157
+ "id": "reference:knowledge",
158
+ "source": "references/knowledge.md",
159
+ "groups": [
160
+ "quality"
161
+ ],
162
+ "name": "Knowledge discovery and growth",
163
+ "description": "Read matching guidance, preserve host customizations and extend the knowledge catalog without silent drift."
164
+ },
165
+ {
166
+ "id": "reference:rules",
167
+ "source": "rules.json",
168
+ "groups": [
169
+ "quality"
170
+ ],
171
+ "name": "Observable rule index",
172
+ "description": "Find stable rule IDs and their applicable checks; this index is not execution evidence."
173
+ },
174
+ {
175
+ "id": "reference:workflow-index",
176
+ "source": "workflows.json",
177
+ "groups": [
178
+ "quality"
179
+ ],
180
+ "name": "Workflow applicability index",
181
+ "description": "Find applicable component-family workflows without treating applicability as proof."
182
+ },
183
+ {
184
+ "id": "reference:interface-content-examples",
185
+ "source": "references/interface-content-examples.md",
186
+ "groups": [
187
+ "composition",
188
+ "quality"
189
+ ],
190
+ "name": "Interface content decisions",
191
+ "description": "Contextual examples of removing filler while preserving labels, consequences, recovery and document content."
192
+ },
193
+ {
194
+ "id": "reference:rendered-review",
195
+ "source": "references/rendered-review.md",
196
+ "groups": [
197
+ "quality",
198
+ "composition"
199
+ ],
200
+ "name": "Rendered interface review",
201
+ "description": "Read-only DOM observations for icon ownership and mixed-row alignment, with separate contextual copy and hierarchy review."
202
+ },
203
+ {
204
+ "id": "reference:record-decisions",
205
+ "source": "references/record-decisions.md",
206
+ "groups": [
207
+ "data-feedback",
208
+ "composition"
209
+ ],
210
+ "name": "Record metadata decisions",
211
+ "description": "Contextual list/detail, comparison, category/state, priority and timestamp decisions across different tasks."
212
+ },
213
+ {
214
+ "id": "reference:component-families",
215
+ "source": "references/component-families.md",
216
+ "groups": [
217
+ "composition",
218
+ "foundations",
219
+ "quality"
220
+ ],
221
+ "name": "Component family authoring",
222
+ "description": "Build reusable components that share Flood anatomy, sizing, geometry and state contracts; compare rendered siblings before introducing a new recipe."
223
+ }
224
+ ],
225
+ "componentGroups": {
226
+ "setup": [
227
+ "foundations"
228
+ ],
229
+ "typography": [
230
+ "foundations"
231
+ ],
232
+ "layout": [
233
+ "composition"
234
+ ],
235
+ "actions": [
236
+ "interaction"
237
+ ],
238
+ "forms": [
239
+ "interaction"
240
+ ],
241
+ "overlays": [
242
+ "interaction"
243
+ ],
244
+ "navigation": [
245
+ "interaction"
246
+ ],
247
+ "content": [
248
+ "data-feedback"
249
+ ],
250
+ "feedback": [
251
+ "data-feedback"
252
+ ]
253
+ },
254
+ "capabilities": [
255
+ {
256
+ "id": "dark-foundations",
257
+ "status": "available",
258
+ "description": "The existing neutral dark profile and scoped semantic customization.",
259
+ "materials": [
260
+ "workflow:foundations",
261
+ "reference:customization"
262
+ ]
263
+ },
264
+ {
265
+ "id": "component-motion-tokens",
266
+ "status": "available",
267
+ "description": "Semantic timing, easing, travel and reduced-motion roles for component states.",
268
+ "materials": [
269
+ "workflow:motion",
270
+ "token:sys.motion.duration-press",
271
+ "token:sys.motion.duration-enter",
272
+ "token:sys.motion.duration-layer",
273
+ "token:sys.motion.duration-exit",
274
+ "token:sys.motion.duration-fast",
275
+ "token:sys.motion.duration-normal",
276
+ "token:sys.motion.duration-reduced",
277
+ "token:sys.motion.easing"
278
+ ]
279
+ },
280
+ {
281
+ "id": "page-transitions",
282
+ "status": "not-provided",
283
+ "description": "No Flood page-transition component or router-lifecycle workflow is supplied.",
284
+ "materials": []
285
+ },
286
+ {
287
+ "id": "additional-foundation-themes",
288
+ "status": "not-provided",
289
+ "description": "The new foundations profile provides dark only; legacy light controls do not add another foundation theme.",
290
+ "materials": []
291
+ },
292
+ {
293
+ "id": "manual-search-collections",
294
+ "status": "available",
295
+ "description": "Host-owned query/results identity, pending/error/retry and retained selection; no network client.",
296
+ "materials": [
297
+ "component:combobox",
298
+ "component:multi-select",
299
+ "component:autocomplete"
300
+ ]
301
+ },
302
+ {
303
+ "id": "server-table-pages",
304
+ "status": "available",
305
+ "description": "Explicit controlled page/sort and selection scope for supplied server pages; host owns fetching and authorization.",
306
+ "materials": [
307
+ "component:data-table",
308
+ "recipe:record-workspace"
309
+ ]
310
+ },
311
+ {
312
+ "id": "collection-view-recipe",
313
+ "status": "available",
314
+ "description": "Typed host recipe for local query drafts and persisted enum-filter/sort views, shared by a table and file list; no new runtime export or remote query service.",
315
+ "materials": [
316
+ "recipe:collection-views"
317
+ ]
318
+ },
319
+ {
320
+ "id": "navigation-workspace-recipe",
321
+ "status": "available",
322
+ "description": "Host composition of Sidebar profiles for global modules and contextual pages, independent visibility and scoped focus/query state; no additional GlobalRail runtime export.",
323
+ "materials": [
324
+ "component:sidebar",
325
+ "recipe:navigation-workspace",
326
+ "workflow:navigation"
327
+ ]
328
+ }
329
+ ],
330
+ "documentGroups": {
331
+ "recipes/record-management.md": ["data-feedback", "composition"],
332
+ "recipes/settings-workspace.md": ["interaction", "composition"],
333
+ "README.md": [
334
+ "composition"
335
+ ],
336
+ "installation.md": [
337
+ "quality"
338
+ ],
339
+ "project-ui.md": [
340
+ "composition"
341
+ ],
342
+ "foundations.md": [
343
+ "foundations"
344
+ ],
345
+ "motion.md": ["foundations", "motion"],
346
+ "layout.md": [
347
+ "composition"
348
+ ],
349
+ "theming.md": [
350
+ "foundations"
351
+ ],
352
+ "agents.md": [
353
+ "quality"
354
+ ],
355
+ "skills.md": [
356
+ "quality"
357
+ ],
358
+ "agent-knowledge.md": [
359
+ "quality"
360
+ ],
361
+ "faq.md": [
362
+ "quality"
363
+ ],
364
+ "privacy.md": [
365
+ "quality"
366
+ ],
367
+ "recipes/command-palette.md": [
368
+ "composition",
369
+ "interaction"
370
+ ],
371
+ "recipes/select-all.md": [
372
+ "composition",
373
+ "interaction"
374
+ ],
375
+ "recipes/split-button.md": [
376
+ "composition",
377
+ "interaction"
378
+ ],
379
+ "recipes/form-submission.md": [
380
+ "composition",
381
+ "interaction"
382
+ ],
383
+ "recipes/filter-bar.md": [
384
+ "composition",
385
+ "data-feedback"
386
+ ],
387
+ "recipes/workspace-review.md": [
388
+ "composition",
389
+ "interaction"
390
+ ],
391
+ "recipes/table-bulk-actions.md": [
392
+ "composition",
393
+ "data-feedback",
394
+ "interaction"
395
+ ],
396
+ "interface-content.md": [
397
+ "composition",
398
+ "quality"
399
+ ],
400
+ "recipes/grouped-form.md": [
401
+ "composition",
402
+ "interaction"
403
+ ],
404
+ "recipes/record-workspace.md": [
405
+ "composition",
406
+ "data-feedback",
407
+ "quality"
408
+ ],
409
+ "recipes/collection-views.md": [
410
+ "composition",
411
+ "data-feedback",
412
+ "interaction",
413
+ "quality"
414
+ ],
415
+ "recipes/navigation-workspace.md": [
416
+ "composition",
417
+ "interaction",
418
+ "quality"
419
+ ]
420
+ },
421
+ "prerequisites": {
422
+ "workflow:forms": [
423
+ "workflow:composition"
424
+ ],
425
+ "workflow:overlays": [
426
+ "workflow:composition"
427
+ ],
428
+ "workflow:data-display": [
429
+ "workflow:composition"
430
+ ],
431
+ "recipe:command-palette": [
432
+ "workflow:composition",
433
+ "workflow:overlays",
434
+ "workflow:navigation"
435
+ ],
436
+ "recipe:select-all": [
437
+ "workflow:composition",
438
+ "workflow:forms"
439
+ ],
440
+ "recipe:split-button": [
441
+ "workflow:composition",
442
+ "workflow:navigation"
443
+ ],
444
+ "recipe:form-submission": [
445
+ "workflow:composition",
446
+ "workflow:forms",
447
+ "workflow:feedback"
448
+ ],
449
+ "recipe:filter-bar": [
450
+ "workflow:composition",
451
+ "workflow:forms",
452
+ "workflow:data-display"
453
+ ],
454
+ "recipe:workspace-review": [
455
+ "workflow:composition",
456
+ "workflow:forms",
457
+ "workflow:overlays"
458
+ ],
459
+ "recipe:table-bulk-actions": [
460
+ "workflow:composition",
461
+ "workflow:data-display",
462
+ "workflow:navigation"
463
+ ],
464
+ "recipe:grouped-form": [
465
+ "workflow:composition",
466
+ "workflow:forms",
467
+ "workflow:interface-content",
468
+ "workflow:hierarchy"
469
+ ],
470
+ "workflow:verification": [
471
+ "workflow:interface-content"
472
+ ],
473
+ "workflow:hierarchy": [
474
+ "workflow:interface-content"
475
+ ],
476
+ "workflow:records": [
477
+ "workflow:composition",
478
+ "workflow:interface-content",
479
+ "workflow:hierarchy"
480
+ ],
481
+ "recipe:record-management": [
482
+ "workflow:records",
483
+ "workflow:overlays",
484
+ "workflow:forms"
485
+ ],
486
+ "recipe:settings-workspace": [
487
+ "workflow:composition",
488
+ "workflow:forms",
489
+ "workflow:feedback"
490
+ ],
491
+ "recipe:record-workspace": [
492
+ "workflow:composition",
493
+ "workflow:hierarchy",
494
+ "workflow:forms",
495
+ "workflow:navigation",
496
+ "workflow:feedback",
497
+ "workflow:data-display",
498
+ "workflow:interface-content"
499
+ ],
500
+ "reference:component-families": [
501
+ "workflow:composition",
502
+ "workflow:foundations",
503
+ "workflow:spacing"
504
+ ],
505
+ "recipe:collection-views": [
506
+ "workflow:composition",
507
+ "workflow:forms",
508
+ "workflow:overlays",
509
+ "workflow:data-display",
510
+ "workflow:records",
511
+ "workflow:feedback",
512
+ "workflow:interface-content"
513
+ ],
514
+ "recipe:navigation-workspace": [
515
+ "workflow:composition",
516
+ "workflow:navigation",
517
+ "workflow:spacing",
518
+ "workflow:accessibility",
519
+ "workflow:interface-content"
520
+ ]
521
+ }
522
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ export type KnowledgeKind = 'guide' | 'workflow' | 'reference' | 'component' | 'recipe' | 'token';
2
+ export interface KnowledgeGroup { id: string; name: string; description: string; }
3
+ export interface KnowledgeCapability { id: string; status: 'available' | 'not-provided'; description: string; materials: string[]; }
4
+ export interface KnowledgeMaterial {
5
+ id: string; kind: KnowledgeKind; name: string; description: string; groups: string[];
6
+ status: 'available'; file: string; bytes: number; sha256: string; links: string[];
7
+ requires: string[]; installedTarget?: string;
8
+ }
9
+ export interface KnowledgeCatalog { schemaVersion: 1; version: string; groups: KnowledgeGroup[]; capabilities: KnowledgeCapability[]; materials: KnowledgeMaterial[]; }
10
+ export type KnowledgeSummary = Omit<KnowledgeMaterial, 'file' | 'bytes' | 'sha256' | 'links' | 'installedTarget'> & {relatedCount: number};
11
+ export interface KnowledgePage {
12
+ schemaVersion: 1; version: string; fingerprint: string;
13
+ query: {kind: KnowledgeKind | null; group: string | null; search: string};
14
+ total: number; items: KnowledgeSummary[]; truncated: boolean; nextCursor: string | null;
15
+ }
16
+ export interface KnowledgeRead extends KnowledgeSummary {
17
+ schemaVersion: 1; version: string; fingerprint: string; source: 'package'; sha256: string;
18
+ installedTarget: string | null; links: string[]; linksOffset: number; nextLinksOffset: number | null; text: string; offset: number;
19
+ totalCharacters: number; truncated: boolean; nextOffset: number | null;
20
+ }
21
+ export interface KnowledgeInfo {
22
+ schemaVersion: 1; version: string; fingerprint: string; materialCount: number;
23
+ groups: (KnowledgeGroup & {count:number})[]; kinds: {kind:KnowledgeKind; count:number}[];
24
+ capabilities: KnowledgeCapability[];
25
+ }
26
+ export interface KnowledgeReader {
27
+ info(): Promise<KnowledgeInfo>;
28
+ list(query?: {kind?: KnowledgeKind; group?: string; search?: string; limit?: number; cursor?: string}): Promise<KnowledgePage>;
29
+ /** Offsets and lengths count Unicode code points, not UTF-8 bytes. */
30
+ read(id: string, range?: {offset?: number; length?: number; linksOffset?: number}): Promise<KnowledgeRead>;
31
+ }
32
+ export function validateKnowledgeCatalog(catalog: unknown): KnowledgeCatalog;
33
+ export function createKnowledgeReader(options?: {root?: string}): KnowledgeReader;