@ahmedrowaihi/8n 6.0.2 → 6.0.3

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 (338) hide show
  1. package/dist/{cli/adapter.cjs → adapter.cjs} +1 -1
  2. package/dist/index.mjs +4100 -0
  3. package/package.json +11 -108
  4. package/starter/.github/workflows/publish.yml +66 -0
  5. package/starter/.mcp.json +8 -0
  6. package/starter/.vscode/settings.json +7 -0
  7. package/starter/biome.json +33 -0
  8. package/starter/cli.json +13 -0
  9. package/starter/components.json +25 -0
  10. package/starter/next-env.d.ts +6 -0
  11. package/starter/openapi/petstore.json +123 -0
  12. package/starter/package-lock.json +18174 -0
  13. package/starter/package.json +107 -0
  14. package/starter/scripts/build-dist.mts +73 -0
  15. package/starter/scripts/generate-docs.mts +8 -0
  16. package/starter/serve.json +3 -0
  17. package/dist/cli/index.mjs +0 -456
  18. package/src/cli/adapter.ts +0 -41
  19. package/src/cli/commands/build.ts +0 -13
  20. package/src/cli/commands/dev.ts +0 -13
  21. package/src/cli/commands/init.ts +0 -141
  22. package/src/cli/commands/mcp.ts +0 -195
  23. package/src/cli/commands/start.ts +0 -12
  24. package/src/cli/index.ts +0 -26
  25. package/src/cli/load-config.ts +0 -26
  26. package/src/cli/web-app.ts +0 -95
  27. /package/{README.md → starter/README.md} +0 -0
  28. /package/{app → starter/app}/[lang]/(docs)/[section]/[[...slug]]/page.jsx +0 -0
  29. /package/{app → starter/app}/[lang]/(docs)/error.jsx +0 -0
  30. /package/{app → starter/app}/[lang]/(docs)/layout.jsx +0 -0
  31. /package/{app → starter/app}/[lang]/(docs)/loading.jsx +0 -0
  32. /package/{app → starter/app}/[lang]/(marketing)/layout.jsx +0 -0
  33. /package/{app → starter/app}/[lang]/(marketing)/page.jsx +0 -0
  34. /package/{app → starter/app}/[lang]/changelog/[...slug]/layout.jsx +0 -0
  35. /package/{app → starter/app}/[lang]/changelog/[...slug]/page.jsx +0 -0
  36. /package/{app → starter/app}/[lang]/changelog/layout.jsx +0 -0
  37. /package/{app → starter/app}/[lang]/changelog/page.jsx +0 -0
  38. /package/{app → starter/app}/[lang]/error.jsx +0 -0
  39. /package/{app → starter/app}/[lang]/lang-setup.jsx +0 -0
  40. /package/{app → starter/app}/[lang]/layout.jsx +0 -0
  41. /package/{app → starter/app}/[lang]/loading.jsx +0 -0
  42. /package/{app → starter/app}/[lang]/playground/page.jsx +0 -0
  43. /package/{app → starter/app}/[lang]/rss.xml/route.js +0 -0
  44. /package/{app → starter/app}/api/chat/route.js +0 -0
  45. /package/{app → starter/app}/api/dev/watch/route.js +0 -0
  46. /package/{app → starter/app}/api/pages/route.js +0 -0
  47. /package/{app → starter/app}/api/search/route.js +0 -0
  48. /package/{app → starter/app}/excalidraw/layout.jsx +0 -0
  49. /package/{app → starter/app}/excalidraw/page.jsx +0 -0
  50. /package/{app → starter/app}/layout.jsx +0 -0
  51. /package/{app → starter/app}/llms-full.txt/route.js +0 -0
  52. /package/{app → starter/app}/llms.mdx/[section]/[...slug]/route.js +0 -0
  53. /package/{app → starter/app}/llms.txt/route.js +0 -0
  54. /package/{app → starter/app}/not-found.jsx +0 -0
  55. /package/{app → starter/app}/page.jsx +0 -0
  56. /package/{app → starter/app}/robots.js +0 -0
  57. /package/{app → starter/app}/sitemap.js +0 -0
  58. /package/{content → starter/content}/api/ar/meta.json +0 -0
  59. /package/{content → starter/content}/api/en/createPet.mdx +0 -0
  60. /package/{content → starter/content}/api/en/deletePet.mdx +0 -0
  61. /package/{content → starter/content}/api/en/index.mdx +0 -0
  62. /package/{content → starter/content}/api/en/listPets.mdx +0 -0
  63. /package/{content → starter/content}/api/en/meta.json +0 -0
  64. /package/{content → starter/content}/api/en/showPetById.mdx +0 -0
  65. /package/{content → starter/content}/changelog/ar/meta.json +0 -0
  66. /package/{content → starter/content}/changelog/ar/v1.0.0.mdx +0 -0
  67. /package/{content → starter/content}/changelog/en/meta.json +0 -0
  68. /package/{content → starter/content}/changelog/en/v1.0.0.mdx +0 -0
  69. /package/{content → starter/content}/docs/ar/components/accordion.mdx +0 -0
  70. /package/{content → starter/content}/docs/ar/components/audio.mdx +0 -0
  71. /package/{content → starter/content}/docs/ar/components/callout.mdx +0 -0
  72. /package/{content → starter/content}/docs/ar/components/cards.mdx +0 -0
  73. /package/{content → starter/content}/docs/ar/components/circuit-board.mdx +0 -0
  74. /package/{content → starter/content}/docs/ar/components/code-blocks.mdx +0 -0
  75. /package/{content → starter/content}/docs/ar/components/drawio.mdx +0 -0
  76. /package/{content → starter/content}/docs/ar/components/dynamic-code-block.mdx +0 -0
  77. /package/{content → starter/content}/docs/ar/components/excalidraw.mdx +0 -0
  78. /package/{content → starter/content}/docs/ar/components/figma.mdx +0 -0
  79. /package/{content → starter/content}/docs/ar/components/files.mdx +0 -0
  80. /package/{content → starter/content}/docs/ar/components/index.mdx +0 -0
  81. /package/{content → starter/content}/docs/ar/components/inline-toc.mdx +0 -0
  82. /package/{content → starter/content}/docs/ar/components/math.mdx +0 -0
  83. /package/{content → starter/content}/docs/ar/components/mermaid.mdx +0 -0
  84. /package/{content → starter/content}/docs/ar/components/meta.json +0 -0
  85. /package/{content → starter/content}/docs/ar/components/steps.mdx +0 -0
  86. /package/{content → starter/content}/docs/ar/components/tabs.mdx +0 -0
  87. /package/{content → starter/content}/docs/ar/components/tweet.mdx +0 -0
  88. /package/{content → starter/content}/docs/ar/components/twoslash.mdx +0 -0
  89. /package/{content → starter/content}/docs/ar/components/type-table.mdx +0 -0
  90. /package/{content → starter/content}/docs/ar/components/video.mdx +0 -0
  91. /package/{content → starter/content}/docs/ar/getting-started.mdx +0 -0
  92. /package/{content → starter/content}/docs/ar/index.mdx +0 -0
  93. /package/{content → starter/content}/docs/ar/meta.json +0 -0
  94. /package/{content → starter/content}/docs/en/components/accordion.mdx +0 -0
  95. /package/{content → starter/content}/docs/en/components/audio.mdx +0 -0
  96. /package/{content → starter/content}/docs/en/components/callout.mdx +0 -0
  97. /package/{content → starter/content}/docs/en/components/cards.mdx +0 -0
  98. /package/{content → starter/content}/docs/en/components/circuit-board.mdx +0 -0
  99. /package/{content → starter/content}/docs/en/components/code-blocks.mdx +0 -0
  100. /package/{content → starter/content}/docs/en/components/drawio.mdx +0 -0
  101. /package/{content → starter/content}/docs/en/components/dynamic-code-block.mdx +0 -0
  102. /package/{content → starter/content}/docs/en/components/excalidraw.mdx +0 -0
  103. /package/{content → starter/content}/docs/en/components/figma.mdx +0 -0
  104. /package/{content → starter/content}/docs/en/components/files.mdx +0 -0
  105. /package/{content → starter/content}/docs/en/components/index.mdx +0 -0
  106. /package/{content → starter/content}/docs/en/components/inline-toc.mdx +0 -0
  107. /package/{content → starter/content}/docs/en/components/math.mdx +0 -0
  108. /package/{content → starter/content}/docs/en/components/mermaid.mdx +0 -0
  109. /package/{content → starter/content}/docs/en/components/meta.json +0 -0
  110. /package/{content → starter/content}/docs/en/components/steps.mdx +0 -0
  111. /package/{content → starter/content}/docs/en/components/tabs.mdx +0 -0
  112. /package/{content → starter/content}/docs/en/components/tweet.mdx +0 -0
  113. /package/{content → starter/content}/docs/en/components/twoslash.mdx +0 -0
  114. /package/{content → starter/content}/docs/en/components/type-table.mdx +0 -0
  115. /package/{content → starter/content}/docs/en/components/video.mdx +0 -0
  116. /package/{content → starter/content}/docs/en/getting-started.mdx +0 -0
  117. /package/{content → starter/content}/docs/en/index.mdx +0 -0
  118. /package/{content → starter/content}/docs/en/meta.json +0 -0
  119. /package/{content → starter/content}/mcp/ar/meta.json +0 -0
  120. /package/{content → starter/content}/mcp/en/components.mdx +0 -0
  121. /package/{content → starter/content}/mcp/en/config.mdx +0 -0
  122. /package/{content → starter/content}/mcp/en/frontmatter.mdx +0 -0
  123. /package/{content → starter/content}/mcp/en/meta.json +0 -0
  124. /package/{content → starter/content}/mcp/en/structure.mdx +0 -0
  125. /package/{content → starter/content}/ui/ar/meta.json +0 -0
  126. /package/{content → starter/content}/ui/en/badge.mdx +0 -0
  127. /package/{content → starter/content}/ui/en/index.mdx +0 -0
  128. /package/{content → starter/content}/ui/en/meta.json +0 -0
  129. /package/{next.config.mjs → starter/next.config.mjs} +0 -0
  130. /package/{postcss.config.mjs → starter/postcss.config.mjs} +0 -0
  131. /package/{public → starter/public}/apple-touch-icon.png +0 -0
  132. /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Black.woff2 +0 -0
  133. /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Bold.woff2 +0 -0
  134. /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Light.woff2 +0 -0
  135. /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Medium.woff2 +0 -0
  136. /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Regular.woff2 +0 -0
  137. /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Black.woff2 +0 -0
  138. /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Bold.woff2 +0 -0
  139. /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Light.woff2 +0 -0
  140. /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Medium.woff2 +0 -0
  141. /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Regular.woff2 +0 -0
  142. /package/{public → starter/public}/fonts/sar.woff +0 -0
  143. /package/{public → starter/public}/manifest.json +0 -0
  144. /package/{public → starter/public}/thmanyah-icon.svg +0 -0
  145. /package/{src → starter/src}/components/ai-elements/conversation.jsx +0 -0
  146. /package/{src → starter/src}/components/ai-elements/reasoning.jsx +0 -0
  147. /package/{src → starter/src}/components/ai-elements/shimmer.jsx +0 -0
  148. /package/{src → starter/src}/components/api-page.client.jsx +0 -0
  149. /package/{src → starter/src}/components/api-page.jsx +0 -0
  150. /package/{src → starter/src}/components/blocks/audio.jsx +0 -0
  151. /package/{src → starter/src}/components/blocks/circuit-board.jsx +0 -0
  152. /package/{src → starter/src}/components/blocks/drawio-block.jsx +0 -0
  153. /package/{src → starter/src}/components/blocks/excalidraw.jsx +0 -0
  154. /package/{src → starter/src}/components/blocks/figma-block.jsx +0 -0
  155. /package/{src → starter/src}/components/blocks/mermaid.jsx +0 -0
  156. /package/{src → starter/src}/components/blocks/video.jsx +0 -0
  157. /package/{src → starter/src}/components/credit-button.jsx +0 -0
  158. /package/{src → starter/src}/components/dev-refresh.jsx +0 -0
  159. /package/{src → starter/src}/components/error-state.jsx +0 -0
  160. /package/{src → starter/src}/components/feedback/client.jsx +0 -0
  161. /package/{src → starter/src}/components/feedback/github.js +0 -0
  162. /package/{src → starter/src}/components/feedback/schema.js +0 -0
  163. /package/{src → starter/src}/components/fumadocs/layout/docs/client.jsx +0 -0
  164. /package/{src → starter/src}/components/fumadocs/layout/docs/index.jsx +0 -0
  165. /package/{src → starter/src}/components/fumadocs/layout/docs/page/client.jsx +0 -0
  166. /package/{src → starter/src}/components/fumadocs/layout/docs/page/docs-toc.jsx +0 -0
  167. /package/{src → starter/src}/components/fumadocs/layout/docs/page/index.jsx +0 -0
  168. /package/{src → starter/src}/components/fumadocs/layout/docs/sidebar.jsx +0 -0
  169. /package/{src → starter/src}/components/fumadocs/layout/editor-button.jsx +0 -0
  170. /package/{src → starter/src}/components/fumadocs/layout/home/client.jsx +0 -0
  171. /package/{src → starter/src}/components/fumadocs/layout/home/index.jsx +0 -0
  172. /package/{src → starter/src}/components/fumadocs/layout/link-item.jsx +0 -0
  173. /package/{src → starter/src}/components/fumadocs/layout/page-actions.jsx +0 -0
  174. /package/{src → starter/src}/components/fumadocs/layout/search-toggle.jsx +0 -0
  175. /package/{src → starter/src}/components/fumadocs/layout/shared.jsx +0 -0
  176. /package/{src → starter/src}/components/fumadocs/layout/sidebar/base.jsx +0 -0
  177. /package/{src → starter/src}/components/fumadocs/layout/sidebar/link-item.jsx +0 -0
  178. /package/{src → starter/src}/components/fumadocs/layout/sidebar/page-tree.jsx +0 -0
  179. /package/{src → starter/src}/components/fumadocs/layout/sidebar/tabs/dropdown.jsx +0 -0
  180. /package/{src → starter/src}/components/fumadocs/layout/sidebar/tabs/index.jsx +0 -0
  181. /package/{src → starter/src}/components/fumadocs/layout/sidebar-back-button.jsx +0 -0
  182. /package/{src → starter/src}/components/fumadocs/layout/sidebar-footer.jsx +0 -0
  183. /package/{src → starter/src}/components/fumadocs/layout/theme-toggle.jsx +0 -0
  184. /package/{src → starter/src}/components/fumadocs/mdx/base-ui.jsx +0 -0
  185. /package/{src → starter/src}/components/fumadocs/mdx/blocks.jsx +0 -0
  186. /package/{src → starter/src}/components/fumadocs/mdx/openapi.js +0 -0
  187. /package/{src → starter/src}/components/fumadocs/mdx-server.js +0 -0
  188. /package/{src → starter/src}/components/fumadocs/mdx.jsx +0 -0
  189. /package/{src → starter/src}/components/fumadocs/search-toggle.jsx +0 -0
  190. /package/{src → starter/src}/components/fumadocs/search.jsx +0 -0
  191. /package/{src → starter/src}/components/fumadocs/toc/clerk.jsx +0 -0
  192. /package/{src → starter/src}/components/fumadocs/toc/default.jsx +0 -0
  193. /package/{src → starter/src}/components/fumadocs/toc/index.jsx +0 -0
  194. /package/{src → starter/src}/components/language-switcher.jsx +0 -0
  195. /package/{src → starter/src}/components/logo-loader.jsx +0 -0
  196. /package/{src → starter/src}/components/logo.jsx +0 -0
  197. /package/{src → starter/src}/components/markdown.jsx +0 -0
  198. /package/{src → starter/src}/components/not-found.jsx +0 -0
  199. /package/{src → starter/src}/components/page-transition.jsx +0 -0
  200. /package/{src → starter/src}/components/story/badge.js +0 -0
  201. /package/{src → starter/src}/components/story/button.js +0 -0
  202. /package/{src → starter/src}/components/story/index.js +0 -0
  203. /package/{src → starter/src}/components/ui/accordion.jsx +0 -0
  204. /package/{src → starter/src}/components/ui/alert-dialog.jsx +0 -0
  205. /package/{src → starter/src}/components/ui/alert.jsx +0 -0
  206. /package/{src → starter/src}/components/ui/aspect-ratio.jsx +0 -0
  207. /package/{src → starter/src}/components/ui/avatar.jsx +0 -0
  208. /package/{src → starter/src}/components/ui/badge.client.jsx +0 -0
  209. /package/{src → starter/src}/components/ui/badge.jsx +0 -0
  210. /package/{src → starter/src}/components/ui/breadcrumb.jsx +0 -0
  211. /package/{src → starter/src}/components/ui/button-group.jsx +0 -0
  212. /package/{src → starter/src}/components/ui/button.client.jsx +0 -0
  213. /package/{src → starter/src}/components/ui/button.jsx +0 -0
  214. /package/{src → starter/src}/components/ui/calendar.jsx +0 -0
  215. /package/{src → starter/src}/components/ui/card.jsx +0 -0
  216. /package/{src → starter/src}/components/ui/carousel.jsx +0 -0
  217. /package/{src → starter/src}/components/ui/chart.jsx +0 -0
  218. /package/{src → starter/src}/components/ui/checkbox.jsx +0 -0
  219. /package/{src → starter/src}/components/ui/collapsible.jsx +0 -0
  220. /package/{src → starter/src}/components/ui/combobox.jsx +0 -0
  221. /package/{src → starter/src}/components/ui/command.jsx +0 -0
  222. /package/{src → starter/src}/components/ui/context-menu.jsx +0 -0
  223. /package/{src → starter/src}/components/ui/dialog.jsx +0 -0
  224. /package/{src → starter/src}/components/ui/direction.jsx +0 -0
  225. /package/{src → starter/src}/components/ui/drawer.jsx +0 -0
  226. /package/{src → starter/src}/components/ui/dropdown-menu.jsx +0 -0
  227. /package/{src → starter/src}/components/ui/empty.jsx +0 -0
  228. /package/{src → starter/src}/components/ui/field.jsx +0 -0
  229. /package/{src → starter/src}/components/ui/hover-card.jsx +0 -0
  230. /package/{src → starter/src}/components/ui/input-group.jsx +0 -0
  231. /package/{src → starter/src}/components/ui/input-otp.jsx +0 -0
  232. /package/{src → starter/src}/components/ui/input.jsx +0 -0
  233. /package/{src → starter/src}/components/ui/item.jsx +0 -0
  234. /package/{src → starter/src}/components/ui/kbd.jsx +0 -0
  235. /package/{src → starter/src}/components/ui/label.jsx +0 -0
  236. /package/{src → starter/src}/components/ui/menubar.jsx +0 -0
  237. /package/{src → starter/src}/components/ui/native-select.jsx +0 -0
  238. /package/{src → starter/src}/components/ui/navigation-menu.jsx +0 -0
  239. /package/{src → starter/src}/components/ui/pagination.jsx +0 -0
  240. /package/{src → starter/src}/components/ui/popover.jsx +0 -0
  241. /package/{src → starter/src}/components/ui/progress.jsx +0 -0
  242. /package/{src → starter/src}/components/ui/radio-group.jsx +0 -0
  243. /package/{src → starter/src}/components/ui/resizable.jsx +0 -0
  244. /package/{src → starter/src}/components/ui/scroll-area.jsx +0 -0
  245. /package/{src → starter/src}/components/ui/select.jsx +0 -0
  246. /package/{src → starter/src}/components/ui/separator.jsx +0 -0
  247. /package/{src → starter/src}/components/ui/sheet.jsx +0 -0
  248. /package/{src → starter/src}/components/ui/sidebar.jsx +0 -0
  249. /package/{src → starter/src}/components/ui/skeleton.jsx +0 -0
  250. /package/{src → starter/src}/components/ui/slider.jsx +0 -0
  251. /package/{src → starter/src}/components/ui/sonner.jsx +0 -0
  252. /package/{src → starter/src}/components/ui/spinner.jsx +0 -0
  253. /package/{src → starter/src}/components/ui/switch.jsx +0 -0
  254. /package/{src → starter/src}/components/ui/table.jsx +0 -0
  255. /package/{src → starter/src}/components/ui/tabs.jsx +0 -0
  256. /package/{src → starter/src}/components/ui/textarea.jsx +0 -0
  257. /package/{src → starter/src}/components/ui/toggle-group.jsx +0 -0
  258. /package/{src → starter/src}/components/ui/toggle.jsx +0 -0
  259. /package/{src → starter/src}/components/ui/tooltip.jsx +0 -0
  260. /package/{src → starter/src}/config.js +0 -0
  261. /package/{src → starter/src}/features/ai/chat/agents.js +0 -0
  262. /package/{src → starter/src}/features/ai/chat/components/api-key-form.jsx +0 -0
  263. /package/{src → starter/src}/features/ai/chat/components/brand.jsx +0 -0
  264. /package/{src → starter/src}/features/ai/chat/components/content.jsx +0 -0
  265. /package/{src → starter/src}/features/ai/chat/components/layout.jsx +0 -0
  266. /package/{src → starter/src}/features/ai/chat/components/message.jsx +0 -0
  267. /package/{src → starter/src}/features/ai/chat/components/model-select.jsx +0 -0
  268. /package/{src → starter/src}/features/ai/chat/components/panels.jsx +0 -0
  269. /package/{src → starter/src}/features/ai/chat/components/prompt.jsx +0 -0
  270. /package/{src → starter/src}/features/ai/chat/components/tool-renderer.jsx +0 -0
  271. /package/{src → starter/src}/features/ai/chat/components/trigger.jsx +0 -0
  272. /package/{src → starter/src}/features/ai/chat/constants.js +0 -0
  273. /package/{src → starter/src}/features/ai/chat/handler.js +0 -0
  274. /package/{src → starter/src}/features/ai/chat/hooks/use-pages.js +0 -0
  275. /package/{src → starter/src}/features/ai/chat/index.js +0 -0
  276. /package/{src → starter/src}/features/ai/chat/panel-store.js +0 -0
  277. /package/{src → starter/src}/features/ai/chat/provider.jsx +0 -0
  278. /package/{src → starter/src}/features/ai/chat/selection-store.js +0 -0
  279. /package/{src → starter/src}/features/ai/chat/settings-store.js +0 -0
  280. /package/{src → starter/src}/features/ai/chat/store.js +0 -0
  281. /package/{src → starter/src}/features/ai/chat/tools.js +0 -0
  282. /package/{src → starter/src}/features/ai/chat/types.js +0 -0
  283. /package/{src → starter/src}/features/ai/playground/agents.js +0 -0
  284. /package/{src → starter/src}/features/ai/playground/tools.js +0 -0
  285. /package/{src → starter/src}/features/ai/shared/create-model.js +0 -0
  286. /package/{src → starter/src}/features/ai/shared/filter-reasoning.js +0 -0
  287. /package/{src → starter/src}/features/changelog/components/changelog-list.jsx +0 -0
  288. /package/{src → starter/src}/features/changelog/components/entry-content.jsx +0 -0
  289. /package/{src → starter/src}/features/changelog/index.js +0 -0
  290. /package/{src → starter/src}/features/docs/components/page-content.jsx +0 -0
  291. /package/{src → starter/src}/features/docs/index.js +0 -0
  292. /package/{src → starter/src}/features/docs/section-page.jsx +0 -0
  293. /package/{src → starter/src}/features/feedback/components/feedback-block-mdx.jsx +0 -0
  294. /package/{src → starter/src}/features/feedback/components/feedback.jsx +0 -0
  295. /package/{src → starter/src}/features/feedback/github.js +0 -0
  296. /package/{src → starter/src}/features/feedback/index.js +0 -0
  297. /package/{src → starter/src}/features/feedback/schema.js +0 -0
  298. /package/{src → starter/src}/features/marketing/components/home.jsx +0 -0
  299. /package/{src → starter/src}/features/marketing/index.js +0 -0
  300. /package/{src → starter/src}/features/mdx-playground/components/editor.jsx +0 -0
  301. /package/{src → starter/src}/features/mdx-playground/components/playground-provider.jsx +0 -0
  302. /package/{src → starter/src}/features/mdx-playground/components/playground-sidebar.jsx +0 -0
  303. /package/{src → starter/src}/features/mdx-playground/components/playground.jsx +0 -0
  304. /package/{src → starter/src}/features/mdx-playground/components/proposal-context.jsx +0 -0
  305. /package/{src → starter/src}/features/mdx-playground/components/update-content-card.jsx +0 -0
  306. /package/{src → starter/src}/features/mdx-playground/hooks/use-mdx-compiler.js +0 -0
  307. /package/{src → starter/src}/features/mdx-playground/hooks/use-playground-chat.js +0 -0
  308. /package/{src → starter/src}/features/mdx-playground/lib/compile.js +0 -0
  309. /package/{src → starter/src}/features/mdx-playground/lib/components-reference.js +0 -0
  310. /package/{src → starter/src}/features/mdx-playground/store/settings.js +0 -0
  311. /package/{src → starter/src}/hooks/use-copy-button.js +0 -0
  312. /package/{src → starter/src}/hooks/use-locale.js +0 -0
  313. /package/{src → starter/src}/hooks/use-mobile.js +0 -0
  314. /package/{src → starter/src}/i18n.d.ts +0 -0
  315. /package/{src → starter/src}/lib/cn.js +0 -0
  316. /package/{src → starter/src}/lib/content-source.js +0 -0
  317. /package/{src → starter/src}/lib/create-docs-layout.jsx +0 -0
  318. /package/{src → starter/src}/lib/create-docs-page.jsx +0 -0
  319. /package/{src → starter/src}/lib/i18n.js +0 -0
  320. /package/{src → starter/src}/lib/layout.shared.jsx +0 -0
  321. /package/{src → starter/src}/lib/llms.js +0 -0
  322. /package/{src → starter/src}/lib/mdx-compiler.js +0 -0
  323. /package/{src → starter/src}/lib/mdx-plugins.js +0 -0
  324. /package/{src → starter/src}/lib/merge-refs.js +0 -0
  325. /package/{src → starter/src}/lib/navigation.js +0 -0
  326. /package/{src → starter/src}/lib/openapi.js +0 -0
  327. /package/{src → starter/src}/lib/pages-api.js +0 -0
  328. /package/{src → starter/src}/lib/rss.js +0 -0
  329. /package/{src → starter/src}/lib/sitemap.js +0 -0
  330. /package/{src → starter/src}/lib/source.js +0 -0
  331. /package/{src → starter/src}/lib/story.js +0 -0
  332. /package/{src → starter/src}/lib/theme-transition.js +0 -0
  333. /package/{src → starter/src}/lib/urls.js +0 -0
  334. /package/{src → starter/src}/lib/utils.js +0 -0
  335. /package/{src → starter/src}/locale.config.js +0 -0
  336. /package/{src → starter/src}/styles/app.css +0 -0
  337. /package/{src → starter/src}/styles/theme.css +0 -0
  338. /package/{tsconfig.json → starter/tsconfig.json} +0 -0
package/package.json CHANGED
@@ -2,130 +2,33 @@
2
2
  "name": "@ahmedrowaihi/8n",
3
3
  "description": "8n docs — run your docs site from your content directory",
4
4
  "type": "module",
5
- "sideEffects": false,
6
5
  "bin": {
7
- "8n": "./dist/cli/index.mjs"
8
- },
9
- "exports": {
10
- "./package.json": "./package.json"
6
+ "8n": "./dist/index.mjs"
11
7
  },
8
+ "files": [
9
+ "dist",
10
+ "starter"
11
+ ],
12
12
  "scripts": {
13
- "dev": "next dev",
14
- "build": "next build",
15
13
  "build:cli": "tsdown",
16
14
  "dev:cli": "tsdown --watch",
17
- "minify": "tsx scripts/build-dist.mts",
18
- "start": "next start",
19
- "generate:api": "tsx scripts/generate-docs.mts",
20
- "types:check": "tsc --noEmit",
21
- "lint": "biome check",
22
- "format": "biome format --write"
15
+ "minify": "tsx scripts/minify.mts"
23
16
  },
24
- "files": [
25
- "app",
26
- "src",
27
- "public",
28
- "content",
29
- "next.config.mjs",
30
- "postcss.config.mjs",
31
- "tsconfig.json",
32
- "dist"
33
- ],
34
17
  "dependencies": {
35
18
  "@modelcontextprotocol/sdk": "^1.27.1",
36
19
  "c12": "^2.0.0",
37
20
  "commander": "^14.0.0",
38
21
  "jiti": "^2.0.0",
39
22
  "picocolors": "^1.1.0",
40
- "tinyexec": "^1.0.0",
41
- "@ai-sdk/anthropic": "^3.0.58",
42
- "@ai-sdk/openai-compatible": "^2.0.35",
43
- "@ai-sdk/react": "^3.0.118",
44
- "@base-ui/react": "^1.3.0",
45
- "@codemirror/lang-javascript": "^6.2.5",
46
- "@codemirror/lang-markdown": "^6.5.0",
47
- "@codemirror/language": "^6.12.2",
48
- "@codemirror/language-data": "^6.5.2",
49
- "@codemirror/merge": "^6.12.1",
50
- "@codemirror/state": "^6.6.0",
51
- "@codemirror/theme-one-dark": "^6.1.3",
52
- "@codemirror/view": "^6.40.0",
53
- "@excalidraw/excalidraw": "^0.18.0",
54
- "@fontsource-variable/geist": "^5.2.8",
55
- "@fumadocs/base-ui": "^16.6.17",
56
- "@fumadocs/mdx-remote": "^1.4.6",
57
- "@fumadocs/story": "^0.0.11",
58
- "@lezer/highlight": "^1.2.3",
59
- "@mdx-js/mdx": "^3.1.1",
60
- "@openrouter/ai-sdk-provider": "^2.3.1",
61
- "@orama/orama": "^3.1.18",
62
- "@radix-ui/react-use-controllable-state": "^1.2.2",
63
- "@streamdown/cjk": "^1.0.2",
64
- "@streamdown/code": "^1.1.0",
65
- "@streamdown/math": "^1.0.2",
66
- "@streamdown/mermaid": "^1.0.2",
67
- "@t3-oss/env-nextjs": "^0.13.10",
68
- "@vidstack/react": "^1.12.13",
69
- "ai": "^6.0.116",
70
- "class-variance-authority": "^0.7.1",
71
- "clsx": "^2.1.1",
72
- "cmdk": "^1.1.1",
73
- "codemirror": "^6.0.2",
74
- "date-fns": "^4.1.0",
75
- "embla-carousel-react": "^8.6.0",
76
- "feed": "^5.2.0",
77
- "flexsearch": "^0.8.212",
78
- "fumadocs-core": "16.6.17",
79
- "fumadocs-openapi": "^10.3.18",
80
- "fumadocs-twoslash": "^3.1.14",
81
- "fumadocs-ui": "^16.6.17",
82
- "gray-matter": "^4.0.3",
83
- "hast-util-to-jsx-runtime": "^2.3.6",
84
- "input-otp": "^1.4.2",
85
- "katex": "^0.16.38",
86
- "lucide-react": "^0.577.0",
87
- "mermaid": "^11.13.0",
88
- "motion": "^12.36.0",
89
- "next": "^16.2.0",
90
- "next-themes": "^0.4.6",
91
- "react": "^19.2.4",
92
- "react-day-picker": "^9.14.0",
93
- "react-dom": "^19.2.4",
94
- "react-resizable-panels": "^4.7.3",
95
- "react-tweet": "^3.3.0",
96
- "recharts": "2.15.4",
97
- "rehype-katex": "^7.0.1",
98
- "remark": "^15.0.1",
99
- "remark-frontmatter": "^5.0.0",
100
- "remark-gfm": "^4.0.1",
101
- "remark-math": "^6.0.0",
102
- "remark-rehype": "^11.1.2",
103
- "scroll-into-view-if-needed": "^3.1.0",
104
- "shadcn": "^4.0.8",
105
- "sonner": "^2.0.7",
106
- "streamdown": "^2.4.0",
107
- "tailwind-merge": "^3.5.0",
108
- "tw-animate-css": "^1.4.0",
109
- "twoslash": "^0.3.6",
110
- "unist-util-visit": "^5.1.0",
111
- "use-stick-to-bottom": "^1.1.3",
112
- "vaul": "^1.1.2",
113
- "zod": "^4.3.6",
114
- "zustand": "^5.0.11"
23
+ "tinyexec": "^1.0.0"
115
24
  },
116
25
  "devDependencies": {
117
- "tsdown": "^0.20.0",
118
- "@biomejs/biome": "^2.4.6",
119
26
  "@swc/core": "^1.15.18",
120
- "@tailwindcss/postcss": "^4.2.1",
121
- "@types/hast": "^3.0.4",
122
- "@types/mdx": "^2.0.13",
123
27
  "@types/node": "^25.5.0",
124
- "@types/react": "^19.2.14",
125
- "@types/react-dom": "^19.2.3",
126
- "tailwindcss": "^4.2.1",
28
+ "tsdown": "^0.20.0",
127
29
  "tsx": "^4.21.0",
128
- "typescript": "^5.9.3"
30
+ "typescript": "^5.9.3",
31
+ "zod": "^4.3.6"
129
32
  },
130
- "version": "6.0.2"
33
+ "version": "6.0.3"
131
34
  }
@@ -0,0 +1,66 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - cli/package.json
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ publish:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - name: Check if version is already published
17
+ id: version_check
18
+ run: |
19
+ LOCAL=$(node -p "require('./cli/package.json').version")
20
+ PKG=$(node -p "require('./cli/package.json').name")
21
+ REMOTE=$(npm view "$PKG" version 2>/dev/null || echo "none")
22
+ if [ "$LOCAL" = "$REMOTE" ]; then
23
+ echo "skip=true" >> $GITHUB_OUTPUT
24
+ else
25
+ echo "skip=false" >> $GITHUB_OUTPUT
26
+ fi
27
+
28
+ - uses: actions/setup-node@v4
29
+ if: steps.version_check.outputs.skip == 'false'
30
+ with:
31
+ node-version: 22
32
+ registry-url: https://registry.npmjs.org
33
+
34
+ - name: Copy starter into cli/starter
35
+ if: steps.version_check.outputs.skip == 'false'
36
+ run: |
37
+ rsync -a \
38
+ --exclude='cli' \
39
+ --exclude='node_modules' \
40
+ --exclude='.next' \
41
+ --exclude='.git' \
42
+ --exclude='dist' \
43
+ --exclude='.source' \
44
+ . cli/starter/
45
+
46
+ - name: Install CLI dependencies
47
+ if: steps.version_check.outputs.skip == 'false'
48
+ run: npm install --legacy-peer-deps
49
+ working-directory: cli
50
+
51
+ - name: Build CLI
52
+ if: steps.version_check.outputs.skip == 'false'
53
+ run: npm run build:cli
54
+ working-directory: cli
55
+
56
+ - name: Minify starter source
57
+ if: steps.version_check.outputs.skip == 'false'
58
+ run: npm run minify
59
+ working-directory: cli
60
+
61
+ - name: Publish
62
+ if: steps.version_check.outputs.skip == 'false'
63
+ run: npm publish --access public
64
+ working-directory: cli
65
+ env:
66
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "shadcn": {
4
+ "command": "npx",
5
+ "args": ["shadcn@latest", "mcp"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "mdx.server.enable": true,
3
+ "mdx.validate.validateReferences": "warning",
4
+ "mdx.validate.validateUnusedLinkDefinitions": "warning",
5
+ "mdx.validate.validateFileLinks": "warning",
6
+ "mdx.validate.validateFragmentLinks": "warning"
7
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
3
+ "vcs": {
4
+ "enabled": true,
5
+ "clientKind": "git",
6
+ "useIgnoreFile": true
7
+ },
8
+ "files": {
9
+ "ignoreUnknown": true,
10
+ "includes": ["**", "!node_modules", "!.source"]
11
+ },
12
+ "formatter": {
13
+ "enabled": true,
14
+ "indentStyle": "space",
15
+ "indentWidth": 2
16
+ },
17
+ "linter": {
18
+ "enabled": true,
19
+ "rules": {
20
+ "recommended": true
21
+ },
22
+ "domains": {
23
+ "react": "recommended"
24
+ }
25
+ },
26
+ "assist": {
27
+ "actions": {
28
+ "source": {
29
+ "organizeImports": "on"
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "node_modules/@fumadocs/cli/dist/schema/src.json",
3
+ "aliases": {
4
+ "uiDir": "./components/ui",
5
+ "componentsDir": "./components",
6
+ "blockDir": "./components",
7
+ "cssDir": "./styles",
8
+ "libDir": "./lib"
9
+ },
10
+ "baseDir": "src",
11
+ "uiLibrary": "radix-ui",
12
+ "commands": {}
13
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema.json",
3
+ "style": "base-nova",
4
+ "rsc": false,
5
+ "tsx": true,
6
+ "tailwind": {
7
+ "config": "",
8
+ "css": "src/styles/app.css",
9
+ "baseColor": "neutral",
10
+ "cssVariables": true,
11
+ "prefix": ""
12
+ },
13
+ "iconLibrary": "lucide",
14
+ "rtl": true,
15
+ "aliases": {
16
+ "components": "@/components",
17
+ "utils": "@/lib/utils",
18
+ "ui": "@/components/ui",
19
+ "lib": "@/lib",
20
+ "hooks": "@/hooks"
21
+ },
22
+ "menuColor": "default",
23
+ "menuAccent": "subtle",
24
+ "registries": {}
25
+ }
@@ -0,0 +1,6 @@
1
+ /// <reference types="next" />
2
+ /// <reference types="next/image-types/global" />
3
+ import "./.next/dev/types/routes.d.ts";
4
+
5
+ // NOTE: This file should not be edited
6
+ // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
@@ -0,0 +1,123 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "Petstore API",
5
+ "version": "1.0.0",
6
+ "description": "A sample API that uses a petstore as an example."
7
+ },
8
+ "servers": [{ "url": "https://petstore.example.com/v1" }],
9
+ "paths": {
10
+ "/pets": {
11
+ "get": {
12
+ "summary": "List all pets",
13
+ "operationId": "listPets",
14
+ "tags": ["Pets"],
15
+ "parameters": [
16
+ {
17
+ "name": "limit",
18
+ "in": "query",
19
+ "required": false,
20
+ "description": "Maximum number of pets to return.",
21
+ "schema": { "type": "integer", "maximum": 100 }
22
+ }
23
+ ],
24
+ "responses": {
25
+ "200": {
26
+ "description": "A list of pets.",
27
+ "content": {
28
+ "application/json": {
29
+ "schema": { "$ref": "#/components/schemas/Pets" }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ },
35
+ "post": {
36
+ "summary": "Create a pet",
37
+ "operationId": "createPet",
38
+ "tags": ["Pets"],
39
+ "requestBody": {
40
+ "required": true,
41
+ "content": {
42
+ "application/json": {
43
+ "schema": { "$ref": "#/components/schemas/NewPet" }
44
+ }
45
+ }
46
+ },
47
+ "responses": {
48
+ "201": { "description": "Pet created." },
49
+ "422": { "description": "Validation error." }
50
+ }
51
+ }
52
+ },
53
+ "/pets/{petId}": {
54
+ "get": {
55
+ "summary": "Get a pet",
56
+ "operationId": "showPetById",
57
+ "tags": ["Pets"],
58
+ "parameters": [
59
+ {
60
+ "name": "petId",
61
+ "in": "path",
62
+ "required": true,
63
+ "description": "The ID of the pet.",
64
+ "schema": { "type": "string" }
65
+ }
66
+ ],
67
+ "responses": {
68
+ "200": {
69
+ "description": "A single pet.",
70
+ "content": {
71
+ "application/json": {
72
+ "schema": { "$ref": "#/components/schemas/Pet" }
73
+ }
74
+ }
75
+ },
76
+ "404": { "description": "Pet not found." }
77
+ }
78
+ },
79
+ "delete": {
80
+ "summary": "Delete a pet",
81
+ "operationId": "deletePet",
82
+ "tags": ["Pets"],
83
+ "parameters": [
84
+ {
85
+ "name": "petId",
86
+ "in": "path",
87
+ "required": true,
88
+ "schema": { "type": "string" }
89
+ }
90
+ ],
91
+ "responses": {
92
+ "204": { "description": "Pet deleted." },
93
+ "404": { "description": "Pet not found." }
94
+ }
95
+ }
96
+ }
97
+ },
98
+ "components": {
99
+ "schemas": {
100
+ "Pet": {
101
+ "type": "object",
102
+ "required": ["id", "name"],
103
+ "properties": {
104
+ "id": { "type": "integer" },
105
+ "name": { "type": "string" },
106
+ "tag": { "type": "string" }
107
+ }
108
+ },
109
+ "NewPet": {
110
+ "type": "object",
111
+ "required": ["name"],
112
+ "properties": {
113
+ "name": { "type": "string" },
114
+ "tag": { "type": "string" }
115
+ }
116
+ },
117
+ "Pets": {
118
+ "type": "array",
119
+ "items": { "$ref": "#/components/schemas/Pet" }
120
+ }
121
+ }
122
+ }
123
+ }