@flowstack-ui/agent-tools 0.1.0-bootstrap.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/.codex-plugin/plugin.json +37 -0
  2. package/CHANGELOG.md +21 -0
  3. package/LICENSE +21 -0
  4. package/README.md +125 -0
  5. package/docs/architecture.md +77 -0
  6. package/docs/releasing.md +26 -0
  7. package/docs/testing.md +32 -0
  8. package/package.json +63 -0
  9. package/public/index.json +2073 -0
  10. package/public/llms.txt +19 -0
  11. package/public/packages/atom/0.24.0/components/accordion.txt +131 -0
  12. package/public/packages/atom/0.24.0/components/alert-dialog.txt +112 -0
  13. package/public/packages/atom/0.24.0/components/app-bar.txt +96 -0
  14. package/public/packages/atom/0.24.0/components/aspect-ratio.txt +111 -0
  15. package/public/packages/atom/0.24.0/components/avatar.txt +119 -0
  16. package/public/packages/atom/0.24.0/components/badge.txt +123 -0
  17. package/public/packages/atom/0.24.0/components/bottom-navigation.txt +96 -0
  18. package/public/packages/atom/0.24.0/components/breadcrumb.txt +96 -0
  19. package/public/packages/atom/0.24.0/components/button.txt +98 -0
  20. package/public/packages/atom/0.24.0/components/carousel.txt +128 -0
  21. package/public/packages/atom/0.24.0/components/checkbox-group.txt +118 -0
  22. package/public/packages/atom/0.24.0/components/checkbox.txt +100 -0
  23. package/public/packages/atom/0.24.0/components/clipboard.txt +112 -0
  24. package/public/packages/atom/0.24.0/components/collapsible.txt +112 -0
  25. package/public/packages/atom/0.24.0/components/color-picker.txt +117 -0
  26. package/public/packages/atom/0.24.0/components/combobox.txt +126 -0
  27. package/public/packages/atom/0.24.0/components/context-menu.txt +114 -0
  28. package/public/packages/atom/0.24.0/components/data-grid.txt +136 -0
  29. package/public/packages/atom/0.24.0/components/dialog.txt +116 -0
  30. package/public/packages/atom/0.24.0/components/direction.txt +132 -0
  31. package/public/packages/atom/0.24.0/components/divider.txt +94 -0
  32. package/public/packages/atom/0.24.0/components/drag-drop.txt +141 -0
  33. package/public/packages/atom/0.24.0/components/drawer.txt +96 -0
  34. package/public/packages/atom/0.24.0/components/dropdown-menu.txt +112 -0
  35. package/public/packages/atom/0.24.0/components/feed.txt +132 -0
  36. package/public/packages/atom/0.24.0/components/field.txt +108 -0
  37. package/public/packages/atom/0.24.0/components/fieldset.txt +96 -0
  38. package/public/packages/atom/0.24.0/components/file-upload.txt +120 -0
  39. package/public/packages/atom/0.24.0/components/form.txt +98 -0
  40. package/public/packages/atom/0.24.0/components/hover-card.txt +114 -0
  41. package/public/packages/atom/0.24.0/components/image.txt +94 -0
  42. package/public/packages/atom/0.24.0/components/input.txt +96 -0
  43. package/public/packages/atom/0.24.0/components/label.txt +121 -0
  44. package/public/packages/atom/0.24.0/components/link.txt +100 -0
  45. package/public/packages/atom/0.24.0/components/list.txt +131 -0
  46. package/public/packages/atom/0.24.0/components/listbox.txt +120 -0
  47. package/public/packages/atom/0.24.0/components/menu.txt +126 -0
  48. package/public/packages/atom/0.24.0/components/menubar.txt +120 -0
  49. package/public/packages/atom/0.24.0/components/modal.txt +118 -0
  50. package/public/packages/atom/0.24.0/components/multi-select.txt +120 -0
  51. package/public/packages/atom/0.24.0/components/nav-list.txt +104 -0
  52. package/public/packages/atom/0.24.0/components/navigation-menu.txt +104 -0
  53. package/public/packages/atom/0.24.0/components/number-input.txt +124 -0
  54. package/public/packages/atom/0.24.0/components/otp-field.txt +122 -0
  55. package/public/packages/atom/0.24.0/components/pagination.txt +111 -0
  56. package/public/packages/atom/0.24.0/components/password-toggle-field.txt +116 -0
  57. package/public/packages/atom/0.24.0/components/popover.txt +122 -0
  58. package/public/packages/atom/0.24.0/components/pressable.txt +94 -0
  59. package/public/packages/atom/0.24.0/components/progress.txt +130 -0
  60. package/public/packages/atom/0.24.0/components/radio-group.txt +118 -0
  61. package/public/packages/atom/0.24.0/components/rating.txt +122 -0
  62. package/public/packages/atom/0.24.0/components/reorder.txt +141 -0
  63. package/public/packages/atom/0.24.0/components/scroll-area.txt +96 -0
  64. package/public/packages/atom/0.24.0/components/select.txt +126 -0
  65. package/public/packages/atom/0.24.0/components/sidebar.txt +96 -0
  66. package/public/packages/atom/0.24.0/components/skip-link.txt +96 -0
  67. package/public/packages/atom/0.24.0/components/slider.txt +124 -0
  68. package/public/packages/atom/0.24.0/components/swipeable-item.txt +118 -0
  69. package/public/packages/atom/0.24.0/components/switch.txt +116 -0
  70. package/public/packages/atom/0.24.0/components/table.txt +128 -0
  71. package/public/packages/atom/0.24.0/components/tabs.txt +96 -0
  72. package/public/packages/atom/0.24.0/components/textarea.txt +96 -0
  73. package/public/packages/atom/0.24.0/components/toast.txt +124 -0
  74. package/public/packages/atom/0.24.0/components/toggle-group.txt +118 -0
  75. package/public/packages/atom/0.24.0/components/toggle.txt +110 -0
  76. package/public/packages/atom/0.24.0/components/toolbar.txt +98 -0
  77. package/public/packages/atom/0.24.0/components/tooltip.txt +112 -0
  78. package/public/packages/atom/0.24.0/components/tree-grid.txt +138 -0
  79. package/public/packages/atom/0.24.0/components/tree.txt +138 -0
  80. package/public/packages/atom/0.24.0/components/visually-hidden.txt +119 -0
  81. package/public/packages/atom/0.24.0/docs/guides/agent-knowledge.txt +55 -0
  82. package/public/packages/atom/0.24.0/docs/guides/getting-started.txt +65 -0
  83. package/public/packages/atom/0.24.0/docs/guides/imports.txt +26 -0
  84. package/public/packages/atom/0.24.0/docs/guides/public-api.txt +100 -0
  85. package/public/packages/atom/0.24.0/guides/behavior-composition.txt +277 -0
  86. package/public/packages/atom/0.24.0/guides/layer-selection.txt +807 -0
  87. package/public/packages/atom/0.24.0/index.txt +89 -0
  88. package/public/packages/brick/0.1.11/components/accordion.txt +158 -0
  89. package/public/packages/brick/0.1.11/components/alert-dialog.txt +175 -0
  90. package/public/packages/brick/0.1.11/components/app-bar.txt +134 -0
  91. package/public/packages/brick/0.1.11/components/appearance.txt +143 -0
  92. package/public/packages/brick/0.1.11/components/aspect-ratio.txt +136 -0
  93. package/public/packages/brick/0.1.11/components/avatar.txt +152 -0
  94. package/public/packages/brick/0.1.11/components/badge.txt +139 -0
  95. package/public/packages/brick/0.1.11/components/bleed.txt +104 -0
  96. package/public/packages/brick/0.1.11/components/bottom-navigation.txt +106 -0
  97. package/public/packages/brick/0.1.11/components/breadcrumb.txt +96 -0
  98. package/public/packages/brick/0.1.11/components/button.txt +103 -0
  99. package/public/packages/brick/0.1.11/components/card.txt +132 -0
  100. package/public/packages/brick/0.1.11/components/carousel.txt +206 -0
  101. package/public/packages/brick/0.1.11/components/checkbox-group.txt +175 -0
  102. package/public/packages/brick/0.1.11/components/checkbox.txt +103 -0
  103. package/public/packages/brick/0.1.11/components/chip.txt +128 -0
  104. package/public/packages/brick/0.1.11/components/code-block.txt +134 -0
  105. package/public/packages/brick/0.1.11/components/code.txt +120 -0
  106. package/public/packages/brick/0.1.11/components/collapsible.txt +179 -0
  107. package/public/packages/brick/0.1.11/components/color-picker.txt +135 -0
  108. package/public/packages/brick/0.1.11/components/color-swatch.txt +98 -0
  109. package/public/packages/brick/0.1.11/components/combobox.txt +157 -0
  110. package/public/packages/brick/0.1.11/components/container.txt +112 -0
  111. package/public/packages/brick/0.1.11/components/context-menu.txt +174 -0
  112. package/public/packages/brick/0.1.11/components/data-grid.txt +199 -0
  113. package/public/packages/brick/0.1.11/components/data-list.txt +115 -0
  114. package/public/packages/brick/0.1.11/components/dialog.txt +176 -0
  115. package/public/packages/brick/0.1.11/components/divider.txt +104 -0
  116. package/public/packages/brick/0.1.11/components/drawer.txt +146 -0
  117. package/public/packages/brick/0.1.11/components/dropdown-menu.txt +179 -0
  118. package/public/packages/brick/0.1.11/components/feed.txt +143 -0
  119. package/public/packages/brick/0.1.11/components/field.txt +115 -0
  120. package/public/packages/brick/0.1.11/components/fieldset.txt +103 -0
  121. package/public/packages/brick/0.1.11/components/file-upload.txt +154 -0
  122. package/public/packages/brick/0.1.11/components/form.txt +108 -0
  123. package/public/packages/brick/0.1.11/components/frame.txt +132 -0
  124. package/public/packages/brick/0.1.11/components/grid.txt +141 -0
  125. package/public/packages/brick/0.1.11/components/group.txt +136 -0
  126. package/public/packages/brick/0.1.11/components/hide.txt +121 -0
  127. package/public/packages/brick/0.1.11/components/hover-card.txt +156 -0
  128. package/public/packages/brick/0.1.11/components/icon-button.txt +119 -0
  129. package/public/packages/brick/0.1.11/components/icon.txt +160 -0
  130. package/public/packages/brick/0.1.11/components/image.txt +163 -0
  131. package/public/packages/brick/0.1.11/components/input.txt +101 -0
  132. package/public/packages/brick/0.1.11/components/link-box.txt +161 -0
  133. package/public/packages/brick/0.1.11/components/link.txt +133 -0
  134. package/public/packages/brick/0.1.11/components/list.txt +139 -0
  135. package/public/packages/brick/0.1.11/components/menubar.txt +174 -0
  136. package/public/packages/brick/0.1.11/components/multi-select.txt +153 -0
  137. package/public/packages/brick/0.1.11/components/nav-list.txt +130 -0
  138. package/public/packages/brick/0.1.11/components/navigation-menu.txt +150 -0
  139. package/public/packages/brick/0.1.11/components/notification-badge.txt +148 -0
  140. package/public/packages/brick/0.1.11/components/number-input.txt +150 -0
  141. package/public/packages/brick/0.1.11/components/otp-field.txt +146 -0
  142. package/public/packages/brick/0.1.11/components/pagination.txt +124 -0
  143. package/public/packages/brick/0.1.11/components/password-toggle-field.txt +146 -0
  144. package/public/packages/brick/0.1.11/components/popover.txt +181 -0
  145. package/public/packages/brick/0.1.11/components/progress-circle.txt +142 -0
  146. package/public/packages/brick/0.1.11/components/progress.txt +150 -0
  147. package/public/packages/brick/0.1.11/components/radio-group.txt +152 -0
  148. package/public/packages/brick/0.1.11/components/rating.txt +151 -0
  149. package/public/packages/brick/0.1.11/components/reorderable-list.txt +130 -0
  150. package/public/packages/brick/0.1.11/components/scroll-area.txt +110 -0
  151. package/public/packages/brick/0.1.11/components/section.txt +118 -0
  152. package/public/packages/brick/0.1.11/components/segment-group.txt +116 -0
  153. package/public/packages/brick/0.1.11/components/select.txt +157 -0
  154. package/public/packages/brick/0.1.11/components/show.txt +121 -0
  155. package/public/packages/brick/0.1.11/components/sidebar.txt +126 -0
  156. package/public/packages/brick/0.1.11/components/skeleton.txt +127 -0
  157. package/public/packages/brick/0.1.11/components/skip-link.txt +102 -0
  158. package/public/packages/brick/0.1.11/components/slider.txt +147 -0
  159. package/public/packages/brick/0.1.11/components/stack.txt +155 -0
  160. package/public/packages/brick/0.1.11/components/status.txt +110 -0
  161. package/public/packages/brick/0.1.11/components/surface.txt +194 -0
  162. package/public/packages/brick/0.1.11/components/swipeable-item.txt +154 -0
  163. package/public/packages/brick/0.1.11/components/switch.txt +152 -0
  164. package/public/packages/brick/0.1.11/components/table.txt +183 -0
  165. package/public/packages/brick/0.1.11/components/tabs.txt +136 -0
  166. package/public/packages/brick/0.1.11/components/text.txt +148 -0
  167. package/public/packages/brick/0.1.11/components/textarea.txt +101 -0
  168. package/public/packages/brick/0.1.11/components/toast.txt +150 -0
  169. package/public/packages/brick/0.1.11/components/toggle-group.txt +149 -0
  170. package/public/packages/brick/0.1.11/components/toggle.txt +140 -0
  171. package/public/packages/brick/0.1.11/components/toolbar.txt +118 -0
  172. package/public/packages/brick/0.1.11/components/tooltip.txt +156 -0
  173. package/public/packages/brick/0.1.11/components/tree-grid.txt +160 -0
  174. package/public/packages/brick/0.1.11/components/tree.txt +156 -0
  175. package/public/packages/brick/0.1.11/components/visually-hidden.txt +123 -0
  176. package/public/packages/brick/0.1.11/components/z-stack.txt +143 -0
  177. package/public/packages/brick/0.1.11/docs/guides/agent-knowledge.txt +67 -0
  178. package/public/packages/brick/0.1.11/docs/guides/appearance-and-tokens.txt +179 -0
  179. package/public/packages/brick/0.1.11/docs/guides/browser-support.txt +25 -0
  180. package/public/packages/brick/0.1.11/docs/guides/control-sizing.txt +59 -0
  181. package/public/packages/brick/0.1.11/docs/guides/installation.txt +79 -0
  182. package/public/packages/brick/0.1.11/docs/guides/theme-contract.txt +90 -0
  183. package/public/packages/brick/0.1.11/guides/interface-composition.txt +665 -0
  184. package/public/packages/brick/0.1.11/guides/layer-selection.txt +1437 -0
  185. package/public/packages/brick/0.1.11/index.txt +110 -0
  186. package/public/packages/colors/0.1.1/docs/agent-knowledge.txt +63 -0
  187. package/public/packages/colors/0.1.1/docs/architecture.txt +74 -0
  188. package/public/packages/colors/0.1.1/docs/color-foundations.txt +128 -0
  189. package/public/packages/colors/0.1.1/docs/compatibility.txt +75 -0
  190. package/public/packages/colors/0.1.1/docs/dependency-qualification.txt +117 -0
  191. package/public/packages/colors/0.1.1/docs/installation.txt +48 -0
  192. package/public/packages/colors/0.1.1/docs/palette-generation.txt +151 -0
  193. package/public/packages/colors/0.1.1/docs/releasing.txt +34 -0
  194. package/public/packages/colors/0.1.1/docs/testing.txt +51 -0
  195. package/public/packages/colors/0.1.1/guides/colors-system.txt +282 -0
  196. package/public/packages/colors/0.1.1/index.txt +29 -0
  197. package/public/packages/colors/0.1.1/operations/color-conversion.txt +14 -0
  198. package/public/packages/colors/0.1.1/operations/color-inspection.txt +23 -0
  199. package/public/packages/colors/0.1.1/operations/color-measurement.txt +18 -0
  200. package/public/packages/colors/0.1.1/operations/color-provenance.txt +14 -0
  201. package/public/packages/colors/0.1.1/operations/named-palette-reference.txt +15 -0
  202. package/public/packages/colors/0.1.1/operations/palette-candidate.txt +37 -0
  203. package/public/packages/theme/0.1.1/docs/agent-knowledge.txt +44 -0
  204. package/public/packages/theme/0.1.1/docs/appearances-and-portals.txt +41 -0
  205. package/public/packages/theme/0.1.1/docs/architecture.txt +121 -0
  206. package/public/packages/theme/0.1.1/docs/authoring.txt +141 -0
  207. package/public/packages/theme/0.1.1/docs/colors-interchange.txt +82 -0
  208. package/public/packages/theme/0.1.1/docs/fonts.txt +40 -0
  209. package/public/packages/theme/0.1.1/docs/installation.txt +45 -0
  210. package/public/packages/theme/0.1.1/docs/migration.txt +40 -0
  211. package/public/packages/theme/0.1.1/docs/testing.txt +64 -0
  212. package/public/packages/theme/0.1.1/docs/troubleshooting.txt +53 -0
  213. package/public/packages/theme/0.1.1/guides/theme-system.txt +340 -0
  214. package/public/packages/theme/0.1.1/index.txt +31 -0
  215. package/public/packages/theme/0.1.1/operations/brick-contract-compatibility.txt +35 -0
  216. package/public/packages/theme/0.1.1/operations/colors-interchange.txt +35 -0
  217. package/public/packages/theme/0.1.1/operations/theme-artifacts.txt +19 -0
  218. package/public/packages/theme/0.1.1/operations/theme-cli.txt +10 -0
  219. package/public/packages/theme/0.1.1/operations/theme-compilation.txt +23 -0
  220. package/public/packages/theme/0.1.1/operations/theme-definition.txt +36 -0
  221. package/public/packages/theme/0.1.1/operations/theme-validation.txt +19 -0
  222. package/public/tasks/data.txt +39 -0
  223. package/public/tasks/forms.txt +65 -0
  224. package/public/tasks/layout.txt +37 -0
  225. package/public/tasks/navigation.txt +51 -0
  226. package/public/tasks/overlays.txt +39 -0
  227. package/public/tasks/theming.txt +37 -0
  228. package/skills/flowstack-ui-builder/SKILL.md +35 -0
  229. package/skills/flowstack-ui-builder/agents/openai.yaml +4 -0
  230. package/skills/flowstack-ui-builder/scripts/resolve-agent-knowledge.mjs +399 -0
  231. package/skills/flowstack-ui-compose/SKILL.md +32 -0
  232. package/skills/flowstack-ui-compose/agents/openai.yaml +4 -0
  233. package/skills/flowstack-ui-compose/scripts/resolve-agent-knowledge.mjs +399 -0
  234. package/skills/flowstack-ui-maintainer/SKILL.md +40 -0
  235. package/skills/flowstack-ui-maintainer/agents/openai.yaml +4 -0
  236. package/skills/flowstack-ui-maintainer/scripts/resolve-agent-knowledge.mjs +399 -0
  237. package/skills/flowstack-ui-review/SKILL.md +29 -0
  238. package/skills/flowstack-ui-review/agents/openai.yaml +4 -0
  239. package/skills/flowstack-ui-review/scripts/resolve-agent-knowledge.mjs +399 -0
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "flowstack-ui",
3
+ "version": "0.1.0-bootstrap.0",
4
+ "description": "Exact-version workflows for building, composing, reviewing, and maintaining FLOWSTACK UI.",
5
+ "author": {
6
+ "name": "FLOWSTACK UI",
7
+ "url": "https://github.com/flowstack-ui"
8
+ },
9
+ "homepage": "https://agents.brick-ui.com",
10
+ "repository": "https://github.com/flowstack-ui/agent-tools",
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "flowstack",
14
+ "brick-ui",
15
+ "atom-ui",
16
+ "design-system",
17
+ "skills"
18
+ ],
19
+ "skills": "./skills/",
20
+ "interface": {
21
+ "displayName": "FLOWSTACK UI",
22
+ "shortDescription": "Build with exact FLOWSTACK package guidance",
23
+ "longDescription": "Build, compose, review, and maintain FLOWSTACK interfaces with exact-version public package Agent Knowledge.",
24
+ "developerName": "FLOWSTACK UI",
25
+ "category": "Developer Tools",
26
+ "capabilities": [
27
+ "Skills"
28
+ ],
29
+ "websiteURL": "https://agents.brick-ui.com",
30
+ "defaultPrompt": [
31
+ "Build this interface with exact FLOWSTACK guidance.",
32
+ "Review this FLOWSTACK implementation.",
33
+ "Plan this FLOWSTACK package change."
34
+ ],
35
+ "brandColor": "#6D4AFF"
36
+ }
37
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ ### Added
6
+
7
+ - Replace heuristic task matching with explicit Brick-first and labelled Atom
8
+ headless routes, omit the unqualified concatenated full corpus, harden public
9
+ boundary and archive-entry checks, make four-source replacement transactional,
10
+ and traverse every installed indexed route by digest.
11
+ - Add the independently packable `@flowstack-ui/mcp` local stdio package with
12
+ eleven exact-version tools, generated capability documentation, and clean
13
+ JSON-RPC archive-consumer verification.
14
+ - Incubate deterministic archive-led LLM discovery for public Atom, Brick,
15
+ Colors, and Theme archives with exact version provenance and bounded narrow
16
+ routes.
17
+ - Add independently packaged FLOWSTACK builder, reviewer, composition, and
18
+ maintainer skills that resolve exact-version canonical Agent Knowledge.
19
+ - Pin locked skill resolution by archive digest and define two-pass creation
20
+ for new public owners while keeping private product evidence outside the
21
+ future-public package.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) FLOWSTACK UI contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # @flowstack-ui/agent-tools
2
+
3
+ Deterministic delivery for versioned FLOWSTACK Agent Knowledge. The public
4
+ package generates small LLM discovery, versioned package slices,
5
+ narrow owner routes, and task slices from exact locked public package archives.
6
+
7
+ The same checked corpus is available from
8
+ [`agents.brick-ui.com`](https://agents.brick-ui.com), the npm package, the
9
+ FLOWSTACK skills, and the read-only MCP server. Paid Blocks source, private
10
+ Blueprints, customer data, commercial records, and authentication responses
11
+ are outside this repository and every generated delivery surface.
12
+
13
+ ## Source workflow
14
+
15
+ Prepare the four exact public package archives, then ingest them together:
16
+
17
+ ```bash
18
+ npm run sources:ingest -- \
19
+ --atom /path/to/atom.tgz \
20
+ --brick /path/to/brick.tgz \
21
+ --colors /path/to/colors.tgz \
22
+ --theme /path/to/theme.tgz
23
+ ```
24
+
25
+ Ingestion verifies archive identity, Agent Knowledge manifest and coverage
26
+ closure, regular-file/directory archive entries, safe public paths, and source
27
+ digests. It stages all four filtered snapshots beside the current lock and
28
+ swaps them with rollback only after the complete replacement validates.
29
+ Ordinary builds read only that lock and snapshot; they never inspect sibling
30
+ repositories.
31
+
32
+ ```bash
33
+ npm ci
34
+ npm ci --prefix packages/mcp
35
+ npm run build
36
+ npm run check:repository
37
+ ```
38
+
39
+ The root and MCP adapter are independently packable packages with separate
40
+ lockfiles. A clean checkout must install both lockfiles before running the
41
+ combined repository gate.
42
+
43
+ The generated `public/llms.txt` is the bounded entry point. `public/index.json`
44
+ records exact packages, versions, archive digests, output sizes, and every
45
+ narrow route. Task slices use explicit curated owners: Brick is the default for
46
+ finished interfaces and Atom is a separately labelled explicit headless branch.
47
+
48
+ `llms-full.txt` is intentionally not emitted. A byte-bounded concatenation did
49
+ not demonstrate useful retrieval or fit practical model contexts. Reintroducing
50
+ one requires a curated corpus plus checked gates: at most 100,000 tokens under
51
+ a pinned tokenizer, at most 5% duplicate normalized paragraphs, at least 90%
52
+ top-five route recall on the checked task benchmark, 100% ownership correctness
53
+ on the boundary regression set, and no lower answer accuracy than narrow-route
54
+ retrieval. Raising a byte budget is not qualification.
55
+
56
+ ## Install
57
+
58
+ Use the LLM entry point directly:
59
+
60
+ ```text
61
+ https://agents.brick-ui.com/llms.txt
62
+ ```
63
+
64
+ Install one workflow skill from GitHub:
65
+
66
+ ```bash
67
+ npx skills add https://github.com/flowstack-ui/agent-tools/tree/main/skills/flowstack-ui-builder
68
+ ```
69
+
70
+ Or configure the exact local stdio MCP release in a project's
71
+ `.codex/config.toml`:
72
+
73
+ ```toml
74
+ [mcp_servers.flowstack]
75
+ command = "npx"
76
+ args = ["--yes", "@flowstack-ui/mcp@0.1.0", "--project-root", "."]
77
+ cwd = "."
78
+ required = true
79
+ ```
80
+
81
+ The hosted, read-only Streamable HTTP endpoint is
82
+ `https://agents.brick-ui.com/mcp`. Project configuration should prefer the
83
+ exact npm version so guidance resolves against the packages actually installed
84
+ in that project.
85
+
86
+ ## MCP package
87
+
88
+ `packages/mcp/` is the independently packable `@flowstack-ui/mcp` local stdio
89
+ server. It consumes exact project-installed packages or this repository's
90
+ explicit source lock; it does not read sibling repositories or modify the LLM
91
+ corpus generator. The root `check:repository` gate includes its generated tool
92
+ inventory, official JSON-RPC client tests, and exact archive consumer smoke.
93
+
94
+ ## Workflow skills
95
+
96
+ The package also ships four independently discoverable skills under `skills/`:
97
+
98
+ - `flowstack-ui-builder` implements against exact installed or locked guidance;
99
+ - `flowstack-ui-review` audits public ownership and implementation contracts;
100
+ - `flowstack-ui-compose` maps a supplied plan through finished Brick owners; and
101
+ - `flowstack-ui-maintainer` coordinates package authority, stacked integration,
102
+ exact-version qualification, and release readiness.
103
+
104
+ Each skill resolves the project's exact package version before loading package-
105
+ owned Agent Knowledge. Locked or staged archive workflows may additionally pin
106
+ the archive SHA-256 so one mutable candidate version cannot select different
107
+ guidance. New owners use baseline and candidate resolution passes. An
108
+ unavailable identity is reported instead of being silently replaced with
109
+ current guidance. Reference captures and private research remain outside public
110
+ package and installed files. The canonical skill directories support
111
+ standalone GitHub installation and are also exposed by the skills-only
112
+ FLOWSTACK plugin. The plugin is opt-in and does not silently install or
113
+ configure MCP.
114
+
115
+ ## Release boundary
116
+
117
+ Both npm packages are released from the same protected `v<version>` tag. CI
118
+ must verify the checked generated corpus, both independent lockfiles, both
119
+ packed archives, the four skill contracts, plugin metadata, and clean isolated
120
+ consumers before trusted publishing. Published archives use npm provenance;
121
+ hosted verification then proves that production route bytes and digests match
122
+ the tagged source.
123
+
124
+ See [the architecture contract](docs/architecture.md),
125
+ [contribution guide](CONTRIBUTING.md), and [security policy](SECURITY.md).
@@ -0,0 +1,77 @@
1
+ # Agent Tools Delivery Architecture
2
+
3
+ Agent Tools is a derived public delivery layer. It does not own package
4
+ guidance. Atom, Brick, Colors, and Theme remain authoritative for their own
5
+ Agent Knowledge.
6
+
7
+ ## Inputs
8
+
9
+ `sources/lock.json` identifies exactly four public npm archives by package name,
10
+ version, byte size, and SHA-256. Each filtered snapshot file also has an exact
11
+ byte size and digest. Ingestion accepts Atom, Brick, Colors, and Theme together, rejects
12
+ links and non-regular archive entries, validates the published manifest and
13
+ zero-failure coverage identity, and copies only public package metadata,
14
+ `dist/agents`, README/changelog/license, and public docs. A fully validated
15
+ sibling staging tree replaces the current source set through rename with
16
+ rollback; the current set is never deleted before the replacement is ready.
17
+ Builds never inspect another repository.
18
+
19
+ ## Outputs
20
+
21
+ `public/index.json` uses `flowstack.agent-delivery-index.v1`. It records source
22
+ provenance, profile, coverage totals, owner counts, budgets, corpus decisions,
23
+ and every generated route with size and digest.
24
+
25
+ `public/llms.txt` is a small package/task index. Package slices are versioned at
26
+ `/packages/<package>/<version>/index.txt`. Narrow routes live below `guides`,
27
+ `components`, `operations`, and `docs`. Task slices link to those
28
+ exact routes instead of duplicating their rules. Finished-interface task
29
+ sections load Brick layer-selection and interface-composition first. A separate
30
+ explicit-headless section loads Atom layer-selection and behavior-composition;
31
+ route membership is exact and curated rather than inferred from substrings.
32
+
33
+ The package does not generate `public/llms-full.txt`. The former complete
34
+ concatenation repeated indexes, prose, and machine records without proving that
35
+ the artifact improved retrieval. A future curated full corpus must stay at or
36
+ below 100,000 tokens under a pinned tokenizer, contain at most 5% duplicate
37
+ normalized paragraphs, achieve at least 90% top-five route recall, preserve
38
+ 100% ownership correctness on the boundary regression set, and perform no
39
+ worse than narrow-route retrieval on the checked answer benchmark. It remains
40
+ absent unless all gates are implemented and pass.
41
+
42
+ ## Determinism and validation
43
+
44
+ Generated files contain no timestamps. The verifier rejects a changed lock or
45
+ snapshot digest, mismatched package version, uncovered input, missing or extra
46
+ route, stale byte, broken generated link, unresolved manifest destination,
47
+ private or machine path, or exceeded entrypoint/task/package budget. Package
48
+ verification packs the public package, installs that exact archive in an
49
+ isolated temporary consumer, and traverses every indexed route by byte count
50
+ and SHA-256.
51
+
52
+ ## Delivery surfaces
53
+
54
+ The canonical static host is `https://agents.brick-ui.com`. It serves the same
55
+ checked `public/` bytes as the npm package with public CORS, bounded CDN caching,
56
+ and restrictive browser security headers. The small `/llms.txt` entry point
57
+ links to exact-version routes; a monolithic `llms-full.txt` remains deliberately
58
+ absent until its retrieval-quality gates pass.
59
+
60
+ `@flowstack-ui/mcp` provides the local stdio transport. Consumer projects pin
61
+ an exact package version and let the server resolve exact public FLOWSTACK
62
+ dependencies from that project. The hosted `/mcp` endpoint uses the same tool
63
+ definitions and server core but a locked-only repository policy; it cannot
64
+ inspect runtime-installed dependencies or substitute a private source.
65
+
66
+ Four canonical skill directories can be installed independently from GitHub
67
+ or loaded together through the opt-in skills-only FLOWSTACK plugin. MCP remains
68
+ separately configured so installing a skill never silently starts a process or
69
+ changes a project.
70
+
71
+ ## Public boundary
72
+
73
+ Only exact public archives for Atom, Brick, Colors, and Theme may enter the
74
+ source lock. Paid Blocks source or metadata, private Blueprints, research
75
+ memory, commercial records, authentication responses, customer application
76
+ source, secrets, and machine-specific paths are rejected from generated,
77
+ packed, hosted, skill, plugin, and MCP outputs.
@@ -0,0 +1,26 @@
1
+ # Releasing
2
+
3
+ Agent Tools uses lockstep versions for `@flowstack-ui/agent-tools` and
4
+ `@flowstack-ui/mcp`. A release tag is exactly `v<version>` and must point to a
5
+ commit contained in protected `main`.
6
+
7
+ 1. Refresh all four public source archives together when package guidance has
8
+ changed, then update the changelogs and both package versions.
9
+ 2. Run `npm run check:release` from a clean checkout with both lockfiles
10
+ installed.
11
+ 3. Merge the green pull request. Create the exact `v<version>` tag from that
12
+ `main` commit and push it.
13
+ 4. The protected release environment rebuilds and verifies both archives once,
14
+ then publishes those exact `.tgz` files using npm trusted publishing and
15
+ provenance. Each package is checked first so an interrupted two-package
16
+ release can safely resume without republishing an existing version.
17
+ 5. Verify both registry records and provenance before creating the GitHub
18
+ release or promoting the matching Vercel production deployment.
19
+ 6. Run static and MCP hosted verification against
20
+ `https://agents.brick-ui.com` and retain the deployment commit plus index
21
+ digest as release evidence.
22
+
23
+ Trusted publishers must be configured separately on npm for both packages,
24
+ restricted to this repository and the release workflow. Do not use a local npm
25
+ token, a mutable dependency range, an unverified archive, or a tag that is not
26
+ contained in `main`.
@@ -0,0 +1,32 @@
1
+ # Testing
2
+
3
+ Use Node 22 or newer and install both independent lockfiles:
4
+
5
+ ```bash
6
+ npm ci
7
+ npm ci --prefix packages/mcp
8
+ ```
9
+
10
+ During development, use the smallest relevant command:
11
+
12
+ ```bash
13
+ npm run check:generated
14
+ npm test
15
+ npm run mcp:test
16
+ npm run pack:check
17
+ npm run mcp:pack:check
18
+ ```
19
+
20
+ Before opening a pull request, run the complete repository gate:
21
+
22
+ ```bash
23
+ git diff --check
24
+ npm run check:repository
25
+ git diff --exit-code
26
+ ```
27
+
28
+ The complete gate checks deterministic generation, the public/privacy
29
+ boundary, archive ingestion, all four skill contracts, plugin metadata, MCP
30
+ protocol behavior, and both exact npm archives in isolated consumers. Hosted
31
+ verification is separate because it compares a deployed production surface
32
+ with the already-verified local corpus.
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@flowstack-ui/agent-tools",
3
+ "version": "0.1.0-bootstrap.0",
4
+ "description": "Version-aware delivery adapters for public FLOWSTACK Agent Knowledge.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public",
9
+ "registry": "https://registry.npmjs.org/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/flowstack-ui/agent-tools.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/flowstack-ui/agent-tools/issues"
17
+ },
18
+ "homepage": "https://agents.brick-ui.com",
19
+ "sideEffects": false,
20
+ "engines": {
21
+ "node": ">=22"
22
+ },
23
+ "files": [
24
+ ".codex-plugin",
25
+ "CHANGELOG.md",
26
+ "LICENSE",
27
+ "README.md",
28
+ "docs",
29
+ "public",
30
+ "skills"
31
+ ],
32
+ "exports": {
33
+ "./llms.txt": "./public/llms.txt",
34
+ "./index.json": "./public/index.json",
35
+ "./public/*": "./public/*",
36
+ "./skills/*": "./skills/*",
37
+ "./package.json": "./package.json"
38
+ },
39
+ "scripts": {
40
+ "sources:ingest": "node scripts/ingest-archives.mjs",
41
+ "build": "node scripts/build-llms.mjs",
42
+ "build:hosting": "npm run check:generated && npm run --prefix packages/mcp check:generated",
43
+ "check:generated": "node scripts/build-llms.mjs --check",
44
+ "test": "npm run check:generated && node --test test/*.test.mjs",
45
+ "pack:check": "npm run build && node scripts/verify-package.mjs",
46
+ "mcp:build": "npm run build --prefix packages/mcp",
47
+ "mcp:test": "npm test --prefix packages/mcp",
48
+ "mcp:pack:check": "npm run pack:check --prefix packages/mcp",
49
+ "mcp:check": "npm run check:repository --prefix packages/mcp",
50
+ "host:verify": "node scripts/verify-hosted.mjs",
51
+ "verify:repository-contract": "node scripts/verify-repository-contract.mjs",
52
+ "check:focused": "npm run test",
53
+ "check:repository": "npm run verify:repository-contract && npm run test && npm run pack:check && npm run mcp:check",
54
+ "check:release": "npm run check:repository",
55
+ "prepack": "npm run build"
56
+ },
57
+ "devDependencies": {
58
+ "@modelcontextprotocol/client": "2.0.0",
59
+ "@modelcontextprotocol/node": "2.0.0",
60
+ "@modelcontextprotocol/server": "2.0.0",
61
+ "zod": "4.2.1"
62
+ }
63
+ }