@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.
- package/dist/{cli/adapter.cjs → adapter.cjs} +1 -1
- package/dist/index.mjs +4100 -0
- package/package.json +11 -108
- package/starter/.github/workflows/publish.yml +66 -0
- package/starter/.mcp.json +8 -0
- package/starter/.vscode/settings.json +7 -0
- package/starter/biome.json +33 -0
- package/starter/cli.json +13 -0
- package/starter/components.json +25 -0
- package/starter/next-env.d.ts +6 -0
- package/starter/openapi/petstore.json +123 -0
- package/starter/package-lock.json +18174 -0
- package/starter/package.json +107 -0
- package/starter/scripts/build-dist.mts +73 -0
- package/starter/scripts/generate-docs.mts +8 -0
- package/starter/serve.json +3 -0
- package/dist/cli/index.mjs +0 -456
- package/src/cli/adapter.ts +0 -41
- package/src/cli/commands/build.ts +0 -13
- package/src/cli/commands/dev.ts +0 -13
- package/src/cli/commands/init.ts +0 -141
- package/src/cli/commands/mcp.ts +0 -195
- package/src/cli/commands/start.ts +0 -12
- package/src/cli/index.ts +0 -26
- package/src/cli/load-config.ts +0 -26
- package/src/cli/web-app.ts +0 -95
- /package/{README.md → starter/README.md} +0 -0
- /package/{app → starter/app}/[lang]/(docs)/[section]/[[...slug]]/page.jsx +0 -0
- /package/{app → starter/app}/[lang]/(docs)/error.jsx +0 -0
- /package/{app → starter/app}/[lang]/(docs)/layout.jsx +0 -0
- /package/{app → starter/app}/[lang]/(docs)/loading.jsx +0 -0
- /package/{app → starter/app}/[lang]/(marketing)/layout.jsx +0 -0
- /package/{app → starter/app}/[lang]/(marketing)/page.jsx +0 -0
- /package/{app → starter/app}/[lang]/changelog/[...slug]/layout.jsx +0 -0
- /package/{app → starter/app}/[lang]/changelog/[...slug]/page.jsx +0 -0
- /package/{app → starter/app}/[lang]/changelog/layout.jsx +0 -0
- /package/{app → starter/app}/[lang]/changelog/page.jsx +0 -0
- /package/{app → starter/app}/[lang]/error.jsx +0 -0
- /package/{app → starter/app}/[lang]/lang-setup.jsx +0 -0
- /package/{app → starter/app}/[lang]/layout.jsx +0 -0
- /package/{app → starter/app}/[lang]/loading.jsx +0 -0
- /package/{app → starter/app}/[lang]/playground/page.jsx +0 -0
- /package/{app → starter/app}/[lang]/rss.xml/route.js +0 -0
- /package/{app → starter/app}/api/chat/route.js +0 -0
- /package/{app → starter/app}/api/dev/watch/route.js +0 -0
- /package/{app → starter/app}/api/pages/route.js +0 -0
- /package/{app → starter/app}/api/search/route.js +0 -0
- /package/{app → starter/app}/excalidraw/layout.jsx +0 -0
- /package/{app → starter/app}/excalidraw/page.jsx +0 -0
- /package/{app → starter/app}/layout.jsx +0 -0
- /package/{app → starter/app}/llms-full.txt/route.js +0 -0
- /package/{app → starter/app}/llms.mdx/[section]/[...slug]/route.js +0 -0
- /package/{app → starter/app}/llms.txt/route.js +0 -0
- /package/{app → starter/app}/not-found.jsx +0 -0
- /package/{app → starter/app}/page.jsx +0 -0
- /package/{app → starter/app}/robots.js +0 -0
- /package/{app → starter/app}/sitemap.js +0 -0
- /package/{content → starter/content}/api/ar/meta.json +0 -0
- /package/{content → starter/content}/api/en/createPet.mdx +0 -0
- /package/{content → starter/content}/api/en/deletePet.mdx +0 -0
- /package/{content → starter/content}/api/en/index.mdx +0 -0
- /package/{content → starter/content}/api/en/listPets.mdx +0 -0
- /package/{content → starter/content}/api/en/meta.json +0 -0
- /package/{content → starter/content}/api/en/showPetById.mdx +0 -0
- /package/{content → starter/content}/changelog/ar/meta.json +0 -0
- /package/{content → starter/content}/changelog/ar/v1.0.0.mdx +0 -0
- /package/{content → starter/content}/changelog/en/meta.json +0 -0
- /package/{content → starter/content}/changelog/en/v1.0.0.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/accordion.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/audio.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/callout.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/cards.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/circuit-board.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/code-blocks.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/drawio.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/dynamic-code-block.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/excalidraw.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/figma.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/files.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/index.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/inline-toc.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/math.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/mermaid.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/meta.json +0 -0
- /package/{content → starter/content}/docs/ar/components/steps.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/tabs.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/tweet.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/twoslash.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/type-table.mdx +0 -0
- /package/{content → starter/content}/docs/ar/components/video.mdx +0 -0
- /package/{content → starter/content}/docs/ar/getting-started.mdx +0 -0
- /package/{content → starter/content}/docs/ar/index.mdx +0 -0
- /package/{content → starter/content}/docs/ar/meta.json +0 -0
- /package/{content → starter/content}/docs/en/components/accordion.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/audio.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/callout.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/cards.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/circuit-board.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/code-blocks.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/drawio.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/dynamic-code-block.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/excalidraw.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/figma.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/files.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/index.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/inline-toc.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/math.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/mermaid.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/meta.json +0 -0
- /package/{content → starter/content}/docs/en/components/steps.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/tabs.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/tweet.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/twoslash.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/type-table.mdx +0 -0
- /package/{content → starter/content}/docs/en/components/video.mdx +0 -0
- /package/{content → starter/content}/docs/en/getting-started.mdx +0 -0
- /package/{content → starter/content}/docs/en/index.mdx +0 -0
- /package/{content → starter/content}/docs/en/meta.json +0 -0
- /package/{content → starter/content}/mcp/ar/meta.json +0 -0
- /package/{content → starter/content}/mcp/en/components.mdx +0 -0
- /package/{content → starter/content}/mcp/en/config.mdx +0 -0
- /package/{content → starter/content}/mcp/en/frontmatter.mdx +0 -0
- /package/{content → starter/content}/mcp/en/meta.json +0 -0
- /package/{content → starter/content}/mcp/en/structure.mdx +0 -0
- /package/{content → starter/content}/ui/ar/meta.json +0 -0
- /package/{content → starter/content}/ui/en/badge.mdx +0 -0
- /package/{content → starter/content}/ui/en/index.mdx +0 -0
- /package/{content → starter/content}/ui/en/meta.json +0 -0
- /package/{next.config.mjs → starter/next.config.mjs} +0 -0
- /package/{postcss.config.mjs → starter/postcss.config.mjs} +0 -0
- /package/{public → starter/public}/apple-touch-icon.png +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Black.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Bold.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Light.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Medium.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSans/Thmanyahsans12-Regular.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Black.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Bold.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Light.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Medium.woff2 +0 -0
- /package/{public → starter/public}/fonts/ThmanyahSerifDisplay/Thmanyahserifdisplay12-Regular.woff2 +0 -0
- /package/{public → starter/public}/fonts/sar.woff +0 -0
- /package/{public → starter/public}/manifest.json +0 -0
- /package/{public → starter/public}/thmanyah-icon.svg +0 -0
- /package/{src → starter/src}/components/ai-elements/conversation.jsx +0 -0
- /package/{src → starter/src}/components/ai-elements/reasoning.jsx +0 -0
- /package/{src → starter/src}/components/ai-elements/shimmer.jsx +0 -0
- /package/{src → starter/src}/components/api-page.client.jsx +0 -0
- /package/{src → starter/src}/components/api-page.jsx +0 -0
- /package/{src → starter/src}/components/blocks/audio.jsx +0 -0
- /package/{src → starter/src}/components/blocks/circuit-board.jsx +0 -0
- /package/{src → starter/src}/components/blocks/drawio-block.jsx +0 -0
- /package/{src → starter/src}/components/blocks/excalidraw.jsx +0 -0
- /package/{src → starter/src}/components/blocks/figma-block.jsx +0 -0
- /package/{src → starter/src}/components/blocks/mermaid.jsx +0 -0
- /package/{src → starter/src}/components/blocks/video.jsx +0 -0
- /package/{src → starter/src}/components/credit-button.jsx +0 -0
- /package/{src → starter/src}/components/dev-refresh.jsx +0 -0
- /package/{src → starter/src}/components/error-state.jsx +0 -0
- /package/{src → starter/src}/components/feedback/client.jsx +0 -0
- /package/{src → starter/src}/components/feedback/github.js +0 -0
- /package/{src → starter/src}/components/feedback/schema.js +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/client.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/index.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/page/client.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/page/docs-toc.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/page/index.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/docs/sidebar.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/editor-button.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/home/client.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/home/index.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/link-item.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/page-actions.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/search-toggle.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/shared.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar/base.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar/link-item.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar/page-tree.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar/tabs/dropdown.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar/tabs/index.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar-back-button.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/sidebar-footer.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/layout/theme-toggle.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/mdx/base-ui.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/mdx/blocks.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/mdx/openapi.js +0 -0
- /package/{src → starter/src}/components/fumadocs/mdx-server.js +0 -0
- /package/{src → starter/src}/components/fumadocs/mdx.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/search-toggle.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/search.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/toc/clerk.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/toc/default.jsx +0 -0
- /package/{src → starter/src}/components/fumadocs/toc/index.jsx +0 -0
- /package/{src → starter/src}/components/language-switcher.jsx +0 -0
- /package/{src → starter/src}/components/logo-loader.jsx +0 -0
- /package/{src → starter/src}/components/logo.jsx +0 -0
- /package/{src → starter/src}/components/markdown.jsx +0 -0
- /package/{src → starter/src}/components/not-found.jsx +0 -0
- /package/{src → starter/src}/components/page-transition.jsx +0 -0
- /package/{src → starter/src}/components/story/badge.js +0 -0
- /package/{src → starter/src}/components/story/button.js +0 -0
- /package/{src → starter/src}/components/story/index.js +0 -0
- /package/{src → starter/src}/components/ui/accordion.jsx +0 -0
- /package/{src → starter/src}/components/ui/alert-dialog.jsx +0 -0
- /package/{src → starter/src}/components/ui/alert.jsx +0 -0
- /package/{src → starter/src}/components/ui/aspect-ratio.jsx +0 -0
- /package/{src → starter/src}/components/ui/avatar.jsx +0 -0
- /package/{src → starter/src}/components/ui/badge.client.jsx +0 -0
- /package/{src → starter/src}/components/ui/badge.jsx +0 -0
- /package/{src → starter/src}/components/ui/breadcrumb.jsx +0 -0
- /package/{src → starter/src}/components/ui/button-group.jsx +0 -0
- /package/{src → starter/src}/components/ui/button.client.jsx +0 -0
- /package/{src → starter/src}/components/ui/button.jsx +0 -0
- /package/{src → starter/src}/components/ui/calendar.jsx +0 -0
- /package/{src → starter/src}/components/ui/card.jsx +0 -0
- /package/{src → starter/src}/components/ui/carousel.jsx +0 -0
- /package/{src → starter/src}/components/ui/chart.jsx +0 -0
- /package/{src → starter/src}/components/ui/checkbox.jsx +0 -0
- /package/{src → starter/src}/components/ui/collapsible.jsx +0 -0
- /package/{src → starter/src}/components/ui/combobox.jsx +0 -0
- /package/{src → starter/src}/components/ui/command.jsx +0 -0
- /package/{src → starter/src}/components/ui/context-menu.jsx +0 -0
- /package/{src → starter/src}/components/ui/dialog.jsx +0 -0
- /package/{src → starter/src}/components/ui/direction.jsx +0 -0
- /package/{src → starter/src}/components/ui/drawer.jsx +0 -0
- /package/{src → starter/src}/components/ui/dropdown-menu.jsx +0 -0
- /package/{src → starter/src}/components/ui/empty.jsx +0 -0
- /package/{src → starter/src}/components/ui/field.jsx +0 -0
- /package/{src → starter/src}/components/ui/hover-card.jsx +0 -0
- /package/{src → starter/src}/components/ui/input-group.jsx +0 -0
- /package/{src → starter/src}/components/ui/input-otp.jsx +0 -0
- /package/{src → starter/src}/components/ui/input.jsx +0 -0
- /package/{src → starter/src}/components/ui/item.jsx +0 -0
- /package/{src → starter/src}/components/ui/kbd.jsx +0 -0
- /package/{src → starter/src}/components/ui/label.jsx +0 -0
- /package/{src → starter/src}/components/ui/menubar.jsx +0 -0
- /package/{src → starter/src}/components/ui/native-select.jsx +0 -0
- /package/{src → starter/src}/components/ui/navigation-menu.jsx +0 -0
- /package/{src → starter/src}/components/ui/pagination.jsx +0 -0
- /package/{src → starter/src}/components/ui/popover.jsx +0 -0
- /package/{src → starter/src}/components/ui/progress.jsx +0 -0
- /package/{src → starter/src}/components/ui/radio-group.jsx +0 -0
- /package/{src → starter/src}/components/ui/resizable.jsx +0 -0
- /package/{src → starter/src}/components/ui/scroll-area.jsx +0 -0
- /package/{src → starter/src}/components/ui/select.jsx +0 -0
- /package/{src → starter/src}/components/ui/separator.jsx +0 -0
- /package/{src → starter/src}/components/ui/sheet.jsx +0 -0
- /package/{src → starter/src}/components/ui/sidebar.jsx +0 -0
- /package/{src → starter/src}/components/ui/skeleton.jsx +0 -0
- /package/{src → starter/src}/components/ui/slider.jsx +0 -0
- /package/{src → starter/src}/components/ui/sonner.jsx +0 -0
- /package/{src → starter/src}/components/ui/spinner.jsx +0 -0
- /package/{src → starter/src}/components/ui/switch.jsx +0 -0
- /package/{src → starter/src}/components/ui/table.jsx +0 -0
- /package/{src → starter/src}/components/ui/tabs.jsx +0 -0
- /package/{src → starter/src}/components/ui/textarea.jsx +0 -0
- /package/{src → starter/src}/components/ui/toggle-group.jsx +0 -0
- /package/{src → starter/src}/components/ui/toggle.jsx +0 -0
- /package/{src → starter/src}/components/ui/tooltip.jsx +0 -0
- /package/{src → starter/src}/config.js +0 -0
- /package/{src → starter/src}/features/ai/chat/agents.js +0 -0
- /package/{src → starter/src}/features/ai/chat/components/api-key-form.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/brand.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/content.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/layout.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/message.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/model-select.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/panels.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/prompt.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/tool-renderer.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/components/trigger.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/constants.js +0 -0
- /package/{src → starter/src}/features/ai/chat/handler.js +0 -0
- /package/{src → starter/src}/features/ai/chat/hooks/use-pages.js +0 -0
- /package/{src → starter/src}/features/ai/chat/index.js +0 -0
- /package/{src → starter/src}/features/ai/chat/panel-store.js +0 -0
- /package/{src → starter/src}/features/ai/chat/provider.jsx +0 -0
- /package/{src → starter/src}/features/ai/chat/selection-store.js +0 -0
- /package/{src → starter/src}/features/ai/chat/settings-store.js +0 -0
- /package/{src → starter/src}/features/ai/chat/store.js +0 -0
- /package/{src → starter/src}/features/ai/chat/tools.js +0 -0
- /package/{src → starter/src}/features/ai/chat/types.js +0 -0
- /package/{src → starter/src}/features/ai/playground/agents.js +0 -0
- /package/{src → starter/src}/features/ai/playground/tools.js +0 -0
- /package/{src → starter/src}/features/ai/shared/create-model.js +0 -0
- /package/{src → starter/src}/features/ai/shared/filter-reasoning.js +0 -0
- /package/{src → starter/src}/features/changelog/components/changelog-list.jsx +0 -0
- /package/{src → starter/src}/features/changelog/components/entry-content.jsx +0 -0
- /package/{src → starter/src}/features/changelog/index.js +0 -0
- /package/{src → starter/src}/features/docs/components/page-content.jsx +0 -0
- /package/{src → starter/src}/features/docs/index.js +0 -0
- /package/{src → starter/src}/features/docs/section-page.jsx +0 -0
- /package/{src → starter/src}/features/feedback/components/feedback-block-mdx.jsx +0 -0
- /package/{src → starter/src}/features/feedback/components/feedback.jsx +0 -0
- /package/{src → starter/src}/features/feedback/github.js +0 -0
- /package/{src → starter/src}/features/feedback/index.js +0 -0
- /package/{src → starter/src}/features/feedback/schema.js +0 -0
- /package/{src → starter/src}/features/marketing/components/home.jsx +0 -0
- /package/{src → starter/src}/features/marketing/index.js +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/editor.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/playground-provider.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/playground-sidebar.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/playground.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/proposal-context.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/components/update-content-card.jsx +0 -0
- /package/{src → starter/src}/features/mdx-playground/hooks/use-mdx-compiler.js +0 -0
- /package/{src → starter/src}/features/mdx-playground/hooks/use-playground-chat.js +0 -0
- /package/{src → starter/src}/features/mdx-playground/lib/compile.js +0 -0
- /package/{src → starter/src}/features/mdx-playground/lib/components-reference.js +0 -0
- /package/{src → starter/src}/features/mdx-playground/store/settings.js +0 -0
- /package/{src → starter/src}/hooks/use-copy-button.js +0 -0
- /package/{src → starter/src}/hooks/use-locale.js +0 -0
- /package/{src → starter/src}/hooks/use-mobile.js +0 -0
- /package/{src → starter/src}/i18n.d.ts +0 -0
- /package/{src → starter/src}/lib/cn.js +0 -0
- /package/{src → starter/src}/lib/content-source.js +0 -0
- /package/{src → starter/src}/lib/create-docs-layout.jsx +0 -0
- /package/{src → starter/src}/lib/create-docs-page.jsx +0 -0
- /package/{src → starter/src}/lib/i18n.js +0 -0
- /package/{src → starter/src}/lib/layout.shared.jsx +0 -0
- /package/{src → starter/src}/lib/llms.js +0 -0
- /package/{src → starter/src}/lib/mdx-compiler.js +0 -0
- /package/{src → starter/src}/lib/mdx-plugins.js +0 -0
- /package/{src → starter/src}/lib/merge-refs.js +0 -0
- /package/{src → starter/src}/lib/navigation.js +0 -0
- /package/{src → starter/src}/lib/openapi.js +0 -0
- /package/{src → starter/src}/lib/pages-api.js +0 -0
- /package/{src → starter/src}/lib/rss.js +0 -0
- /package/{src → starter/src}/lib/sitemap.js +0 -0
- /package/{src → starter/src}/lib/source.js +0 -0
- /package/{src → starter/src}/lib/story.js +0 -0
- /package/{src → starter/src}/lib/theme-transition.js +0 -0
- /package/{src → starter/src}/lib/urls.js +0 -0
- /package/{src → starter/src}/lib/utils.js +0 -0
- /package/{src → starter/src}/locale.config.js +0 -0
- /package/{src → starter/src}/styles/app.css +0 -0
- /package/{src → starter/src}/styles/theme.css +0 -0
- /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/
|
|
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/
|
|
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
|
-
"
|
|
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.
|
|
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,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
|
+
}
|
package/starter/cli.json
ADDED
|
@@ -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,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
|
+
}
|