@raybase/create 0.0.2 → 0.3.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/LICENSE +21 -0
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/assets/apple-touch-icons/0.png +0 -0
- package/assets/apple-touch-icons/1.png +0 -0
- package/assets/apple-touch-icons/2.png +0 -0
- package/assets/apple-touch-icons/3.png +0 -0
- package/assets/apple-touch-icons/4.png +0 -0
- package/assets/apple-touch-icons/5.png +0 -0
- package/assets/apple-touch-icons/6.png +0 -0
- package/assets/apple-touch-icons/7.png +0 -0
- package/assets/apple-touch-icons/8.png +0 -0
- package/assets/apple-touch-icons/9.png +0 -0
- package/assets/apple-touch-icons/A.png +0 -0
- package/assets/apple-touch-icons/B.png +0 -0
- package/assets/apple-touch-icons/C.png +0 -0
- package/assets/apple-touch-icons/D.png +0 -0
- package/assets/apple-touch-icons/E.png +0 -0
- package/assets/apple-touch-icons/F.png +0 -0
- package/assets/apple-touch-icons/G.png +0 -0
- package/assets/apple-touch-icons/H.png +0 -0
- package/assets/apple-touch-icons/I.png +0 -0
- package/assets/apple-touch-icons/J.png +0 -0
- package/assets/apple-touch-icons/K.png +0 -0
- package/assets/apple-touch-icons/L.png +0 -0
- package/assets/apple-touch-icons/M.png +0 -0
- package/assets/apple-touch-icons/N.png +0 -0
- package/assets/apple-touch-icons/O.png +0 -0
- package/assets/apple-touch-icons/P.png +0 -0
- package/assets/apple-touch-icons/Q.png +0 -0
- package/assets/apple-touch-icons/R.png +0 -0
- package/assets/apple-touch-icons/S.png +0 -0
- package/assets/apple-touch-icons/T.png +0 -0
- package/assets/apple-touch-icons/U.png +0 -0
- package/assets/apple-touch-icons/V.png +0 -0
- package/assets/apple-touch-icons/W.png +0 -0
- package/assets/apple-touch-icons/X.png +0 -0
- package/assets/apple-touch-icons/Y.png +0 -0
- package/assets/apple-touch-icons/Z.png +0 -0
- package/assets/apple-touch-icons/default.png +0 -0
- package/dist/.source-hash +1 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2351 -0
- package/dist/index.js.map +1 -0
- package/dist/raybase-package-ranges.d.ts +11 -0
- package/dist/raybase-package-ranges.d.ts.map +1 -0
- package/dist/raybase-package-ranges.js +11 -0
- package/dist/raybase-package-ranges.js.map +1 -0
- package/dist/source-fetch.d.ts +91 -0
- package/dist/source-fetch.d.ts.map +1 -0
- package/dist/source-fetch.js +325 -0
- package/dist/source-fetch.js.map +1 -0
- package/dist/source-hash.d.ts +2 -0
- package/dist/source-hash.d.ts.map +1 -0
- package/dist/source-hash.js +23 -0
- package/dist/source-hash.js.map +1 -0
- package/dist/starter-description.d.ts +44 -0
- package/dist/starter-description.d.ts.map +1 -0
- package/dist/starter-description.js +273 -0
- package/dist/starter-description.js.map +1 -0
- package/dist/starter-source.d.ts +43 -0
- package/dist/starter-source.d.ts.map +1 -0
- package/dist/starter-source.js +156 -0
- package/dist/starter-source.js.map +1 -0
- package/dist/store-app-apply.d.ts +27 -0
- package/dist/store-app-apply.d.ts.map +1 -0
- package/dist/store-app-apply.js +100 -0
- package/dist/store-app-apply.js.map +1 -0
- package/dist/store-app-manifest.d.ts +86 -0
- package/dist/store-app-manifest.d.ts.map +1 -0
- package/dist/store-app-manifest.js +110 -0
- package/dist/store-app-manifest.js.map +1 -0
- package/dist/store-app-registry.d.ts +30 -0
- package/dist/store-app-registry.d.ts.map +1 -0
- package/dist/store-app-registry.js +232 -0
- package/dist/store-app-registry.js.map +1 -0
- package/models/recommended.json +42 -0
- package/modules/api/templates/react-router/app/api/operations.ts +8 -0
- package/modules/api/templates/tanstack-start/src/api/operations.ts +15 -0
- package/modules/docs/templates/astro-emdash/content/docs/getting-started.mdx +13 -0
- package/modules/docs/templates/astro-emdash/content/docs/index.mdx +13 -0
- package/modules/docs/templates/astro-emdash/content/docs/mcp.mdx +11 -0
- package/modules/docs/templates/astro-emdash/content/docs/meta.json +4 -0
- package/modules/docs/templates/astro-emdash/site/content/docs/getting-started.mdx +12 -0
- package/modules/docs/templates/astro-emdash/site/content/docs/index.mdx +12 -0
- package/modules/docs/templates/astro-emdash/site/content/docs/mcp.mdx +10 -0
- package/modules/docs/templates/astro-emdash/site/content/docs/meta.json +4 -0
- package/modules/docs/templates/astro-emdash/site/source.config.ts +10 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-assets.ts +1 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-client.tsx +22 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-data.ts +24 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-handler.tsx +105 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-layout.tsx +56 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-mdx.tsx +79 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-page-actions.tsx +146 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/docs-page.tsx +70 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/llm-text.ts +61 -0
- package/modules/docs/templates/astro-emdash/site/src/docs/source.ts +7 -0
- package/modules/docs/templates/astro-emdash/site/src/pages/docs/[...slug].ts +6 -0
- package/modules/docs/templates/astro-emdash/site/src/pages/docs/api/markdown.ts +4 -0
- package/modules/docs/templates/astro-emdash/site/src/pages/docs/api/search.ts +4 -0
- package/modules/docs/templates/astro-emdash/site/src/pages/llms.txt.ts +8 -0
- package/modules/docs/templates/astro-emdash/site/src/styles-docs.css +3 -0
- package/modules/docs/templates/astro-emdash/source.config.ts +10 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-assets.ts +1 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-client.tsx +22 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-data.ts +24 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-handler.tsx +105 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-layout.tsx +56 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-mdx.tsx +79 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-page-actions.tsx +146 -0
- package/modules/docs/templates/astro-emdash/src/docs/docs-page.tsx +70 -0
- package/modules/docs/templates/astro-emdash/src/docs/llm-text.ts +61 -0
- package/modules/docs/templates/astro-emdash/src/docs/source.ts +7 -0
- package/modules/docs/templates/astro-emdash/src/routes/docs/$.tsx +22 -0
- package/modules/docs/templates/astro-emdash/src/routes/docs/api/markdown.ts +12 -0
- package/modules/docs/templates/astro-emdash/src/routes/docs/api/search.ts +12 -0
- package/modules/docs/templates/astro-emdash/src/routes/docs.index.tsx +22 -0
- package/modules/docs/templates/astro-emdash/src/routes/docs.tsx +22 -0
- package/modules/docs/templates/astro-emdash/src/styles-docs.css +3 -0
- package/modules/docs/templates/react-router/app/components/mdx.tsx +79 -0
- package/modules/docs/templates/react-router/app/lib/layout.shared.tsx +54 -0
- package/modules/docs/templates/react-router/app/lib/source.ts +7 -0
- package/modules/docs/templates/react-router/app/routes/docs.$.tsx +49 -0
- package/modules/docs/templates/react-router/app/routes/docs.api.search.ts +10 -0
- package/modules/docs/templates/react-router/app/routes/docs.tsx +13 -0
- package/modules/docs/templates/react-router/content/docs/getting-started.mdx +8 -0
- package/modules/docs/templates/react-router/content/docs/index.mdx +8 -0
- package/modules/docs/templates/react-router/content/docs/mcp.mdx +121 -0
- package/modules/docs/templates/react-router/content/docs/meta.json +4 -0
- package/modules/docs/templates/react-router/source.config.ts +5 -0
- package/modules/docs/templates/tanstack-start/content/docs/getting-started.mdx +10 -0
- package/modules/docs/templates/tanstack-start/content/docs/index.mdx +8 -0
- package/modules/docs/templates/tanstack-start/content/docs/mcp.mdx +121 -0
- package/modules/docs/templates/tanstack-start/content/docs/meta.json +4 -0
- package/modules/docs/templates/tanstack-start/source.config.ts +10 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-assets.ts +1 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-client.tsx +22 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-data.ts +24 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-handler.tsx +105 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-layout.tsx +56 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-mdx.tsx +79 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-page-actions.tsx +146 -0
- package/modules/docs/templates/tanstack-start/src/docs/docs-page.tsx +70 -0
- package/modules/docs/templates/tanstack-start/src/docs/llm-text.ts +61 -0
- package/modules/docs/templates/tanstack-start/src/docs/source.ts +7 -0
- package/modules/docs/templates/tanstack-start/src/routes/docs/$.tsx +22 -0
- package/modules/docs/templates/tanstack-start/src/routes/docs/api/markdown.ts +12 -0
- package/modules/docs/templates/tanstack-start/src/routes/docs/api/search.ts +12 -0
- package/modules/docs/templates/tanstack-start/src/routes/docs.index.tsx +22 -0
- package/modules/docs/templates/tanstack-start/src/routes/docs.tsx +22 -0
- package/modules/docs/templates/tanstack-start/src/styles-docs.css +3 -0
- package/modules/guide/templates/astro-emdash/content/guide/capability-map.md +17 -0
- package/modules/guide/templates/astro-emdash/src/components/guide-widget.tsx +41 -0
- package/modules/guide/templates/astro-emdash/src/guide/actions.ts +8 -0
- package/modules/guide/templates/astro-emdash/src/guide/config.ts +21 -0
- package/modules/guide/templates/astro-emdash/src/guide/corpus.gen.ts +4 -0
- package/modules/guide/templates/astro-emdash/src/guide/corpus.manifest.json +72 -0
- package/modules/guide/templates/astro-emdash/src/guide/corpus.ts +4 -0
- package/modules/guide/templates/astro-emdash/src/guide/resources.json +4 -0
- package/modules/guide/templates/react-router/app/components/guide-widget.tsx +29 -0
- package/modules/guide/templates/react-router/app/guide/actions.ts +3 -0
- package/modules/guide/templates/react-router/app/guide/config.ts +21 -0
- package/modules/guide/templates/react-router/app/guide/corpus.gen.ts +4 -0
- package/modules/guide/templates/react-router/app/guide/corpus.manifest.json +22 -0
- package/modules/guide/templates/react-router/app/guide/corpus.ts +4 -0
- package/modules/guide/templates/react-router/app/guide/resources.json +4 -0
- package/modules/guide/templates/react-router/content/guide/capability-map.md +13 -0
- package/modules/guide/templates/tanstack-start/content/guide/capability-map.md +17 -0
- package/modules/guide/templates/tanstack-start/src/components/guide-widget.tsx +41 -0
- package/modules/guide/templates/tanstack-start/src/guide/actions.ts +17 -0
- package/modules/guide/templates/tanstack-start/src/guide/config.ts +21 -0
- package/modules/guide/templates/tanstack-start/src/guide/corpus.gen.ts +4 -0
- package/modules/guide/templates/tanstack-start/src/guide/corpus.manifest.json +22 -0
- package/modules/guide/templates/tanstack-start/src/guide/corpus.ts +4 -0
- package/modules/guide/templates/tanstack-start/src/guide/resources.json +4 -0
- package/modules/openai-subscription/templates/astro-emdash/.agents/skills/raybase-openai-subscription/SKILL.md +57 -0
- package/modules/openai-subscription/templates/astro-emdash/.agents/skills/raybase-openai-subscription/references/compatibility-and-testing.md +129 -0
- package/modules/openai-subscription/templates/astro-emdash/.agents/skills/raybase-openai-subscription/references/module-contract.md +133 -0
- package/modules/openai-subscription/templates/astro-emdash/.agents/skills/raybase-openai-subscription/references/structured-outputs.md +159 -0
- package/modules/openai-subscription/templates/astro-emdash/src/openai-subscription.ts +11 -0
- package/modules/openai-subscription/templates/react-router/.agents/skills/raybase-openai-subscription/SKILL.md +57 -0
- package/modules/openai-subscription/templates/react-router/.agents/skills/raybase-openai-subscription/references/compatibility-and-testing.md +129 -0
- package/modules/openai-subscription/templates/react-router/.agents/skills/raybase-openai-subscription/references/module-contract.md +133 -0
- package/modules/openai-subscription/templates/react-router/.agents/skills/raybase-openai-subscription/references/structured-outputs.md +159 -0
- package/modules/openai-subscription/templates/react-router/app/openai-subscription.ts +11 -0
- package/modules/openai-subscription/templates/tanstack-start/.agents/skills/raybase-openai-subscription/SKILL.md +57 -0
- package/modules/openai-subscription/templates/tanstack-start/.agents/skills/raybase-openai-subscription/references/compatibility-and-testing.md +129 -0
- package/modules/openai-subscription/templates/tanstack-start/.agents/skills/raybase-openai-subscription/references/module-contract.md +133 -0
- package/modules/openai-subscription/templates/tanstack-start/.agents/skills/raybase-openai-subscription/references/structured-outputs.md +159 -0
- package/modules/openai-subscription/templates/tanstack-start/src/openai-subscription.ts +11 -0
- package/package.json +34 -8
- package/skills/README.md +122 -0
- package/skills/raybase-actions/SKILL.md +223 -0
- package/skills/raybase-actions/references/action-patterns.md +190 -0
- package/skills/raybase-actions/references/adapting-actions.md +93 -0
- package/skills/raybase-actions/references/testing-actions.md +48 -0
- package/skills/raybase-agent-debugging/SKILL.md +230 -0
- package/skills/raybase-ai/SKILL.md +1310 -0
- package/skills/raybase-api/SKILL.md +45 -0
- package/skills/raybase-astro-emdash/SKILL.md +143 -0
- package/skills/raybase-astro-emdash-content-model/SKILL.md +217 -0
- package/skills/raybase-astro-emdash-content-model/references/LICENSE-emdash +9 -0
- package/skills/raybase-astro-emdash-content-model/references/emdash-collections.md +265 -0
- package/skills/raybase-astro-emdash-design/LICENSE-impeccable +60 -0
- package/skills/raybase-astro-emdash-design/SKILL.md +170 -0
- package/skills/raybase-astro-emdash-design/reference/color.md +91 -0
- package/skills/raybase-astro-emdash-design/reference/copy.md +73 -0
- package/skills/raybase-astro-emdash-design/reference/direction.md +115 -0
- package/skills/raybase-astro-emdash-design/reference/imagery.md +84 -0
- package/skills/raybase-astro-emdash-design/reference/layout.md +69 -0
- package/skills/raybase-astro-emdash-design/reference/motion.md +75 -0
- package/skills/raybase-astro-emdash-design/reference/polish.md +75 -0
- package/skills/raybase-astro-emdash-design/reference/typography.md +72 -0
- package/skills/raybase-astro-emdash-galley/SKILL.md +265 -0
- package/skills/raybase-astro-emdash-migration/SKILL.md +218 -0
- package/skills/raybase-astro-emdash-migration/references/inventory-and-conversion.md +242 -0
- package/skills/raybase-astro-emdash-security-review/SKILL.md +68 -0
- package/skills/raybase-astro-emdash-theme-selection/SKILL.md +216 -0
- package/skills/raybase-auth/SKILL.md +358 -0
- package/skills/raybase-background-jobs/SKILL.md +774 -0
- package/skills/raybase-building/SKILL.md +409 -0
- package/skills/raybase-building/references/interview-and-spec.md +87 -0
- package/skills/raybase-building/references/planning-docs.md +26 -0
- package/skills/raybase-building/references/schema-and-config.md +70 -0
- package/skills/raybase-changing-a-live-app/SKILL.md +119 -0
- package/skills/raybase-data-and-policies/SKILL.md +377 -0
- package/skills/raybase-deploy/SKILL.md +136 -0
- package/skills/raybase-docs-writing/SKILL.md +119 -0
- package/skills/raybase-guide/SKILL.md +235 -0
- package/skills/raybase-mcp/SKILL.md +309 -0
- package/skills/raybase-mcp/agents/openai.yaml +4 -0
- package/skills/raybase-notifications/SKILL.md +138 -0
- package/skills/raybase-pro-migration/SKILL.md +28 -0
- package/skills/raybase-react-router/SKILL.md +241 -0
- package/skills/raybase-react-router-design/LICENSE-impeccable +60 -0
- package/skills/raybase-react-router-design/SKILL.md +135 -0
- package/skills/raybase-react-router-design/reference/color.md +87 -0
- package/skills/raybase-react-router-design/reference/copy.md +83 -0
- package/skills/raybase-react-router-design/reference/delight.md +48 -0
- package/skills/raybase-react-router-design/reference/interaction.md +91 -0
- package/skills/raybase-react-router-design/reference/layout.md +82 -0
- package/skills/raybase-react-router-design/reference/motion.md +86 -0
- package/skills/raybase-react-router-design/reference/polish.md +79 -0
- package/skills/raybase-react-router-design/reference/typography.md +71 -0
- package/skills/raybase-react-router-security-review/LICENSE +22 -0
- package/skills/raybase-react-router-security-review/SKILL.md +190 -0
- package/skills/raybase-react-router-security-review/agents/openai.yaml +4 -0
- package/skills/raybase-react-router-security-review/references/api-security.md +519 -0
- package/skills/raybase-react-router-security-review/references/authentication.md +353 -0
- package/skills/raybase-react-router-security-review/references/authorization.md +372 -0
- package/skills/raybase-react-router-security-review/references/business-logic.md +443 -0
- package/skills/raybase-react-router-security-review/references/cryptography.md +329 -0
- package/skills/raybase-react-router-security-review/references/csrf.md +398 -0
- package/skills/raybase-react-router-security-review/references/data-protection.md +378 -0
- package/skills/raybase-react-router-security-review/references/deserialization.md +410 -0
- package/skills/raybase-react-router-security-review/references/error-handling.md +436 -0
- package/skills/raybase-react-router-security-review/references/file-security.md +457 -0
- package/skills/raybase-react-router-security-review/references/injection.md +259 -0
- package/skills/raybase-react-router-security-review/references/logging.md +433 -0
- package/skills/raybase-react-router-security-review/references/misconfiguration.md +435 -0
- package/skills/raybase-react-router-security-review/references/modern-threats.md +475 -0
- package/skills/raybase-react-router-security-review/references/raybase-react-router-security.md +235 -0
- package/skills/raybase-react-router-security-review/references/ssrf.md +413 -0
- package/skills/raybase-react-router-security-review/references/supply-chain.md +405 -0
- package/skills/raybase-react-router-security-review/references/xss.md +336 -0
- package/skills/raybase-realtime/SKILL.md +158 -0
- package/skills/raybase-realtime/agents/openai.yaml +4 -0
- package/skills/raybase-schema/SKILL.md +209 -0
- package/skills/raybase-search/SKILL.md +137 -0
- package/skills/raybase-search/agents/openai.yaml +4 -0
- package/skills/raybase-settings/SKILL.md +139 -0
- package/skills/raybase-settings/agents/openai.yaml +4 -0
- package/skills/raybase-tanstack-start/SKILL.md +166 -0
- package/skills/raybase-tanstack-start-design/LICENSE-impeccable +60 -0
- package/skills/raybase-tanstack-start-design/SKILL.md +140 -0
- package/skills/raybase-tanstack-start-design/reference/color.md +80 -0
- package/skills/raybase-tanstack-start-design/reference/copy.md +83 -0
- package/skills/raybase-tanstack-start-design/reference/delight.md +48 -0
- package/skills/raybase-tanstack-start-design/reference/interaction.md +91 -0
- package/skills/raybase-tanstack-start-design/reference/layout.md +82 -0
- package/skills/raybase-tanstack-start-design/reference/motion.md +86 -0
- package/skills/raybase-tanstack-start-design/reference/polish.md +79 -0
- package/skills/raybase-tanstack-start-design/reference/typography.md +71 -0
- package/skills/raybase-tanstack-start-security-review/LICENSE +22 -0
- package/skills/raybase-tanstack-start-security-review/SKILL.md +194 -0
- package/skills/raybase-tanstack-start-security-review/agents/openai.yaml +4 -0
- package/skills/raybase-tanstack-start-security-review/references/api-security.md +519 -0
- package/skills/raybase-tanstack-start-security-review/references/authentication.md +353 -0
- package/skills/raybase-tanstack-start-security-review/references/authorization.md +372 -0
- package/skills/raybase-tanstack-start-security-review/references/business-logic.md +443 -0
- package/skills/raybase-tanstack-start-security-review/references/cryptography.md +329 -0
- package/skills/raybase-tanstack-start-security-review/references/csrf.md +398 -0
- package/skills/raybase-tanstack-start-security-review/references/data-protection.md +378 -0
- package/skills/raybase-tanstack-start-security-review/references/deserialization.md +410 -0
- package/skills/raybase-tanstack-start-security-review/references/error-handling.md +436 -0
- package/skills/raybase-tanstack-start-security-review/references/file-security.md +457 -0
- package/skills/raybase-tanstack-start-security-review/references/injection.md +259 -0
- package/skills/raybase-tanstack-start-security-review/references/logging.md +433 -0
- package/skills/raybase-tanstack-start-security-review/references/misconfiguration.md +435 -0
- package/skills/raybase-tanstack-start-security-review/references/modern-threats.md +475 -0
- package/skills/raybase-tanstack-start-security-review/references/raybase-tanstack-security.md +208 -0
- package/skills/raybase-tanstack-start-security-review/references/ssrf.md +413 -0
- package/skills/raybase-tanstack-start-security-review/references/supply-chain.md +405 -0
- package/skills/raybase-tanstack-start-security-review/references/xss.md +336 -0
- package/skills-manifest.json +41 -0
- package/templates/astro-emdash/.dev.vars.example +7 -0
- package/templates/astro-emdash/AGENTS.md +122 -0
- package/templates/astro-emdash/DESIGN.md +90 -0
- package/templates/astro-emdash/components.json +21 -0
- package/templates/astro-emdash/content/docs/getting-started.mdx +20 -0
- package/templates/astro-emdash/content/docs/index.mdx +13 -0
- package/templates/astro-emdash/content/docs/mcp.mdx +11 -0
- package/templates/astro-emdash/content/docs/meta.json +4 -0
- package/templates/astro-emdash/content/docs/site-templates.mdx +62 -0
- package/templates/astro-emdash/dev/CODEBASE-MAP.md +46 -0
- package/templates/astro-emdash/dev/SPEC-OVERVIEW.md +15 -0
- package/templates/astro-emdash/dev/SPEC.md +84 -0
- package/templates/astro-emdash/dev/features/archive/.gitkeep +1 -0
- package/templates/astro-emdash/docs/theme-previews/base.svg +24 -0
- package/templates/astro-emdash/docs/theme-previews/steel.svg +24 -0
- package/templates/astro-emdash/docs/theme-previews/zen.svg +24 -0
- package/templates/astro-emdash/docs/themes.md +106 -0
- package/templates/astro-emdash/drizzle.config.ts +5 -0
- package/templates/astro-emdash/gitignore +11 -0
- package/templates/astro-emdash/migrations/app/meta/_journal.json +5 -0
- package/templates/astro-emdash/package.json +79 -0
- package/templates/astro-emdash/pnpm-workspace.yaml +71 -0
- package/templates/astro-emdash/public/_headers +4 -0
- package/templates/astro-emdash/site/astro.config.mjs +120 -0
- package/templates/astro-emdash/site/demo/README.md +72 -0
- package/templates/astro-emdash/site/demo/content/collection.json +43 -0
- package/templates/astro-emdash/site/demo/content/entries.json +120 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-card/manifest.json +51 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-card/sample-content.json +5 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-card/template.liquid +48 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-page/host.json +9 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-page/manifest.json +38 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-page/sample-content.json +34 -0
- package/templates/astro-emdash/site/demo/templates/demo-article-page/template.liquid +84 -0
- package/templates/astro-emdash/site/demo/templates/demo-articles-index/manifest.json +64 -0
- package/templates/astro-emdash/site/demo/templates/demo-articles-index/page.json +7 -0
- package/templates/astro-emdash/site/demo/templates/demo-articles-index/sample-content.json +24 -0
- package/templates/astro-emdash/site/demo/templates/demo-articles-index/template.liquid +100 -0
- package/templates/astro-emdash/site/demo/templates/demo-menu-nav/manifest.json +51 -0
- package/templates/astro-emdash/site/demo/templates/demo-menu-nav/sample-content.json +5 -0
- package/templates/astro-emdash/site/demo/templates/demo-menu-nav/template.liquid +70 -0
- package/templates/astro-emdash/site/gitignore +1 -0
- package/templates/astro-emdash/site/package.json +56 -0
- package/templates/astro-emdash/site/scripts/apply-site-templates.mjs +560 -0
- package/templates/astro-emdash/site/scripts/galley-demo.mjs +298 -0
- package/templates/astro-emdash/site/scripts/seed-galley-starter.mjs +360 -0
- package/templates/astro-emdash/site/scripts/site-origin.mjs +45 -0
- package/templates/astro-emdash/site/seed/seed.json +154 -0
- package/templates/astro-emdash/site/seed/templates/.gitkeep +1 -0
- package/templates/astro-emdash/site/src/components/RaybaseSignedInMenu.astro +163 -0
- package/templates/astro-emdash/site/src/components/blocks/RaybaseActionIsland.astro +41 -0
- package/templates/astro-emdash/site/src/content-door/raybase-routes.ts +738 -0
- package/templates/astro-emdash/site/src/content-door/resolve-page.ts +142 -0
- package/templates/astro-emdash/site/src/content-door/seed.ts +85 -0
- package/templates/astro-emdash/site/src/env.d.ts +12 -0
- package/templates/astro-emdash/site/src/layouts/SiteLayout.astro +68 -0
- package/templates/astro-emdash/site/src/lib/palettes.gen.ts +7 -0
- package/templates/astro-emdash/site/src/lib/site-motion.ts +169 -0
- package/templates/astro-emdash/site/src/lib/site-shell.ts +294 -0
- package/templates/astro-emdash/site/src/live.config.ts +8 -0
- package/templates/astro-emdash/site/src/middleware.ts +20 -0
- package/templates/astro-emdash/site/src/pages/[...slug].astro +113 -0
- package/templates/astro-emdash/site/src/pages/_raybase/handoff/consume.ts +6 -0
- package/templates/astro-emdash/site/src/pages/_raybase/islands/action.ts +8 -0
- package/templates/astro-emdash/site/src/pages/_raybase/sign-out/index.ts +6 -0
- package/templates/astro-emdash/site/src/styles/palette-fonts.gen.css +1 -0
- package/templates/astro-emdash/site/src/styles/palettes.gen.css +3 -0
- package/templates/astro-emdash/site/src/styles.css +607 -0
- package/templates/astro-emdash/site/tsconfig.json +12 -0
- package/templates/astro-emdash/site/wrangler.jsonc +34 -0
- package/templates/astro-emdash/source.config.ts +10 -0
- package/templates/astro-emdash/src/actions.ts +58 -0
- package/templates/astro-emdash/src/ai/agents.ts +20 -0
- package/templates/astro-emdash/src/ai/retrieval.ts +36 -0
- package/templates/astro-emdash/src/auth-door.ts +18 -0
- package/templates/astro-emdash/src/client.tsx +25 -0
- package/templates/astro-emdash/src/components/.gitkeep +1 -0
- package/templates/astro-emdash/src/components/account-menu.tsx +91 -0
- package/templates/astro-emdash/src/components/auth-shell.tsx +69 -0
- package/templates/astro-emdash/src/components/mode-toggle.tsx +32 -0
- package/templates/astro-emdash/src/components/search-command-palette.tsx +107 -0
- package/templates/astro-emdash/src/components/setup-token-page.tsx +196 -0
- package/templates/astro-emdash/src/components/ui/avatar.tsx +107 -0
- package/templates/astro-emdash/src/components/ui/badge.tsx +52 -0
- package/templates/astro-emdash/src/components/ui/button.tsx +69 -0
- package/templates/astro-emdash/src/components/ui/checkbox.tsx +29 -0
- package/templates/astro-emdash/src/components/ui/dialog.tsx +158 -0
- package/templates/astro-emdash/src/components/ui/dropdown-menu.tsx +303 -0
- package/templates/astro-emdash/src/components/ui/input.tsx +20 -0
- package/templates/astro-emdash/src/components/ui/label.tsx +20 -0
- package/templates/astro-emdash/src/components/ui/scroll-area.tsx +53 -0
- package/templates/astro-emdash/src/components/ui/select.tsx +215 -0
- package/templates/astro-emdash/src/components/ui/separator.tsx +23 -0
- package/templates/astro-emdash/src/components/ui/sheet.tsx +138 -0
- package/templates/astro-emdash/src/components/ui/sidebar.tsx +728 -0
- package/templates/astro-emdash/src/components/ui/skeleton.tsx +13 -0
- package/templates/astro-emdash/src/components/ui/textarea.tsx +18 -0
- package/templates/astro-emdash/src/components/ui/tooltip.tsx +66 -0
- package/templates/astro-emdash/src/db/migrations.gen.ts +6 -0
- package/templates/astro-emdash/src/db/schema.ts +6 -0
- package/templates/astro-emdash/src/db/seed.ts +16 -0
- package/templates/astro-emdash/src/db/storage.ts +32 -0
- package/templates/astro-emdash/src/docs/docs-assets.ts +1 -0
- package/templates/astro-emdash/src/docs/docs-client.tsx +22 -0
- package/templates/astro-emdash/src/docs/docs-data.ts +24 -0
- package/templates/astro-emdash/src/docs/docs-handler.tsx +105 -0
- package/templates/astro-emdash/src/docs/docs-layout.tsx +56 -0
- package/templates/astro-emdash/src/docs/docs-mdx.tsx +79 -0
- package/templates/astro-emdash/src/docs/docs-page-actions.tsx +146 -0
- package/templates/astro-emdash/src/docs/docs-page.tsx +70 -0
- package/templates/astro-emdash/src/docs/llm-text.ts +61 -0
- package/templates/astro-emdash/src/docs/source.ts +7 -0
- package/templates/astro-emdash/src/guide/corpus.gen.ts +4 -0
- package/templates/astro-emdash/src/guide/corpus.manifest.json +72 -0
- package/templates/astro-emdash/src/hooks/use-mobile.ts +19 -0
- package/templates/astro-emdash/src/jobs.example.ts +48 -0
- package/templates/astro-emdash/src/lib/account.ts +12 -0
- package/templates/astro-emdash/src/lib/auth-client.ts +181 -0
- package/templates/astro-emdash/src/lib/utils.ts +6 -0
- package/templates/astro-emdash/src/mcp-app.ts +57 -0
- package/templates/astro-emdash/src/notifications.example.ts +37 -0
- package/templates/astro-emdash/src/raybase.auth.ts +70 -0
- package/templates/astro-emdash/src/raybase.config.ts +49 -0
- package/templates/astro-emdash/src/raybase.server.ts +56 -0
- package/templates/astro-emdash/src/realtime.example.ts +18 -0
- package/templates/astro-emdash/src/router.tsx +19 -0
- package/templates/astro-emdash/src/routes/__root.tsx +56 -0
- package/templates/astro-emdash/src/routes/_app/admin.tsx +13 -0
- package/templates/astro-emdash/src/routes/_app/forgot-password.tsx +97 -0
- package/templates/astro-emdash/src/routes/_app/index.tsx +169 -0
- package/templates/astro-emdash/src/routes/_app/invite.$token.tsx +11 -0
- package/templates/astro-emdash/src/routes/_app/login.tsx +193 -0
- package/templates/astro-emdash/src/routes/_app/profile.tsx +98 -0
- package/templates/astro-emdash/src/routes/_app/reset-password.$token.tsx +15 -0
- package/templates/astro-emdash/src/routes/_app/reset-password.tsx +115 -0
- package/templates/astro-emdash/src/routes/_app/setup.$token.tsx +11 -0
- package/templates/astro-emdash/src/routes/_app/signup.tsx +141 -0
- package/templates/astro-emdash/src/routes/_app/verify-email.$token.tsx +15 -0
- package/templates/astro-emdash/src/routes/_app/verify-email.tsx +154 -0
- package/templates/astro-emdash/src/routes/_app.tsx +33 -0
- package/templates/astro-emdash/src/routes/admin/$.ts +20 -0
- package/templates/astro-emdash/src/routes/api/$.ts +19 -0
- package/templates/astro-emdash/src/routes/docs/$.tsx +22 -0
- package/templates/astro-emdash/src/routes/docs/api/markdown.ts +12 -0
- package/templates/astro-emdash/src/routes/docs/api/search.ts +12 -0
- package/templates/astro-emdash/src/routes/docs.index.tsx +22 -0
- package/templates/astro-emdash/src/routes/docs.tsx +22 -0
- package/templates/astro-emdash/src/search.ts +6 -0
- package/templates/astro-emdash/src/settings.ts +12 -0
- package/templates/astro-emdash/src/styles-docs.css +3 -0
- package/templates/astro-emdash/src/styles.css +101 -0
- package/templates/astro-emdash/src/themes/base.css +76 -0
- package/templates/astro-emdash/src/themes/carbon.css +76 -0
- package/templates/astro-emdash/src/themes/fonts.css +25 -0
- package/templates/astro-emdash/src/themes/sage.css +76 -0
- package/templates/astro-emdash/src/themes/sand.css +76 -0
- package/templates/astro-emdash/src/themes/slate.css +81 -0
- package/templates/astro-emdash/src/themes/ultra.css +76 -0
- package/templates/astro-emdash/src/themes/zen.css +76 -0
- package/templates/astro-emdash/src/worker-entry.ts +31 -0
- package/templates/astro-emdash/tests/raybase-patterns.test.ts +29 -0
- package/templates/astro-emdash/tsconfig.json +36 -0
- package/templates/astro-emdash/vite.config.ts +130 -0
- package/templates/astro-emdash/vitest.config.ts +8 -0
- package/templates/astro-emdash/wrangler.jsonc +112 -0
- package/templates/react-router/.dev.vars.example +5 -0
- package/templates/react-router/.editorconfig +15 -0
- package/templates/react-router/AGENTS.md +54 -0
- package/templates/react-router/README.md +52 -0
- package/templates/react-router/app/app.css +44 -0
- package/templates/react-router/app/components/mdx.tsx +79 -0
- package/templates/react-router/app/components/ui/button.tsx +45 -0
- package/templates/react-router/app/components/ui/card.tsx +87 -0
- package/templates/react-router/app/components/ui/separator.tsx +22 -0
- package/templates/react-router/app/db/migrations.gen.ts +6 -0
- package/templates/react-router/app/db/schema.ts +56 -0
- package/templates/react-router/app/db/seed.ts +14 -0
- package/templates/react-router/app/entry.server.tsx +41 -0
- package/templates/react-router/app/globals.d.ts +1 -0
- package/templates/react-router/app/lib/layout.shared.tsx +52 -0
- package/templates/react-router/app/lib/source.ts +7 -0
- package/templates/react-router/app/lib/utils.ts +6 -0
- package/templates/react-router/app/raybase.server.ts +65 -0
- package/templates/react-router/app/root.tsx +23 -0
- package/templates/react-router/app/routes/_index.tsx +53 -0
- package/templates/react-router/app/routes/docs.$.tsx +49 -0
- package/templates/react-router/app/routes/docs.api.search.ts +10 -0
- package/templates/react-router/app/routes/docs.tsx +13 -0
- package/templates/react-router/app/routes.ts +3 -0
- package/templates/react-router/components.json +22 -0
- package/templates/react-router/content/docs/getting-started.mdx +15 -0
- package/templates/react-router/content/docs/index.mdx +8 -0
- package/templates/react-router/content/docs/mcp.mdx +121 -0
- package/templates/react-router/content/docs/meta.json +4 -0
- package/templates/react-router/dev/CODEBASE-MAP.md +48 -0
- package/templates/react-router/dev/SPEC-OVERVIEW.md +35 -0
- package/templates/react-router/dev/SPEC.md +93 -0
- package/templates/react-router/dev/features/archive/.gitkeep +1 -0
- package/templates/react-router/drizzle.config.ts +5 -0
- package/templates/react-router/env.d.ts +53 -0
- package/templates/react-router/gitignore +23 -0
- package/templates/react-router/migrations/app/meta/_journal.json +1 -0
- package/templates/react-router/package.json +70 -0
- package/templates/react-router/public/_headers +4 -0
- package/templates/react-router/public/favicon.ico +0 -0
- package/templates/react-router/react-router.config.ts +9 -0
- package/templates/react-router/source.config.ts +5 -0
- package/templates/react-router/tests/raybase-patterns.test.ts +23 -0
- package/templates/react-router/tsconfig.json +27 -0
- package/templates/react-router/vite.config.ts +59 -0
- package/templates/react-router/vitest.config.ts +8 -0
- package/templates/react-router/workers/app.ts +40 -0
- package/templates/react-router/wrangler.jsonc +111 -0
- package/templates/tanstack-start/.dev.vars.example +5 -0
- package/templates/tanstack-start/AGENTS.md +95 -0
- package/templates/tanstack-start/DESIGN.md +65 -0
- package/templates/tanstack-start/components.json +21 -0
- package/templates/tanstack-start/content/docs/getting-started.mdx +65 -0
- package/templates/tanstack-start/content/docs/index.mdx +10 -0
- package/templates/tanstack-start/content/docs/mcp.mdx +122 -0
- package/templates/tanstack-start/content/docs/meta.json +4 -0
- package/templates/tanstack-start/dev/CODEBASE-MAP.md +84 -0
- package/templates/tanstack-start/dev/SPEC-OVERVIEW.md +46 -0
- package/templates/tanstack-start/dev/SPEC.md +213 -0
- package/templates/tanstack-start/dev/features/archive/.gitkeep +1 -0
- package/templates/tanstack-start/docs/theme-previews/base.svg +24 -0
- package/templates/tanstack-start/docs/theme-previews/steel.svg +24 -0
- package/templates/tanstack-start/docs/theme-previews/zen.svg +24 -0
- package/templates/tanstack-start/docs/themes.md +116 -0
- package/templates/tanstack-start/drizzle.config.ts +5 -0
- package/templates/tanstack-start/gitignore +11 -0
- package/templates/tanstack-start/migrations/app/0000_low_karen_page.sql +26 -0
- package/templates/tanstack-start/migrations/app/meta/0000_snapshot.json +196 -0
- package/templates/tanstack-start/migrations/app/meta/_journal.json +13 -0
- package/templates/tanstack-start/package.json +77 -0
- package/templates/tanstack-start/public/_headers +8 -0
- package/templates/tanstack-start/public/icons/app-icon-maskable.svg +1 -0
- package/templates/tanstack-start/public/icons/app-icon.svg +1 -0
- package/templates/tanstack-start/public/icons/apple-touch-icon.png +0 -0
- package/templates/tanstack-start/public/manifest.webmanifest +14 -0
- package/templates/tanstack-start/public/raybase-push-sw.js +32 -0
- package/templates/tanstack-start/source.config.ts +10 -0
- package/templates/tanstack-start/src/actions.ts +560 -0
- package/templates/tanstack-start/src/ai/agents.ts +78 -0
- package/templates/tanstack-start/src/ai/retrieval.ts +36 -0
- package/templates/tanstack-start/src/auth-door.ts +18 -0
- package/templates/tanstack-start/src/client.tsx +25 -0
- package/templates/tanstack-start/src/components/.gitkeep +1 -0
- package/templates/tanstack-start/src/components/account-menu.tsx +127 -0
- package/templates/tanstack-start/src/components/auth-shell.tsx +69 -0
- package/templates/tanstack-start/src/components/install-app.tsx +35 -0
- package/templates/tanstack-start/src/components/mode-toggle.tsx +32 -0
- package/templates/tanstack-start/src/components/search-command-palette.tsx +107 -0
- package/templates/tanstack-start/src/components/setup-token-page.tsx +197 -0
- package/templates/tanstack-start/src/components/ui/avatar.tsx +107 -0
- package/templates/tanstack-start/src/components/ui/badge.tsx +52 -0
- package/templates/tanstack-start/src/components/ui/button.tsx +69 -0
- package/templates/tanstack-start/src/components/ui/checkbox.tsx +29 -0
- package/templates/tanstack-start/src/components/ui/dialog.tsx +158 -0
- package/templates/tanstack-start/src/components/ui/dropdown-menu.tsx +303 -0
- package/templates/tanstack-start/src/components/ui/input.tsx +20 -0
- package/templates/tanstack-start/src/components/ui/label.tsx +20 -0
- package/templates/tanstack-start/src/components/ui/scroll-area.tsx +53 -0
- package/templates/tanstack-start/src/components/ui/select.tsx +215 -0
- package/templates/tanstack-start/src/components/ui/separator.tsx +23 -0
- package/templates/tanstack-start/src/components/ui/sheet.tsx +138 -0
- package/templates/tanstack-start/src/components/ui/sidebar.tsx +728 -0
- package/templates/tanstack-start/src/components/ui/skeleton.tsx +13 -0
- package/templates/tanstack-start/src/components/ui/textarea.tsx +18 -0
- package/templates/tanstack-start/src/components/ui/tooltip.tsx +66 -0
- package/templates/tanstack-start/src/db/migrations.gen.ts +6 -0
- package/templates/tanstack-start/src/db/schema.ts +90 -0
- package/templates/tanstack-start/src/db/seed.ts +106 -0
- package/templates/tanstack-start/src/db/storage.ts +32 -0
- package/templates/tanstack-start/src/docs/docs-assets.ts +1 -0
- package/templates/tanstack-start/src/docs/docs-client.tsx +22 -0
- package/templates/tanstack-start/src/docs/docs-data.ts +24 -0
- package/templates/tanstack-start/src/docs/docs-handler.tsx +105 -0
- package/templates/tanstack-start/src/docs/docs-layout.tsx +56 -0
- package/templates/tanstack-start/src/docs/docs-mdx.tsx +79 -0
- package/templates/tanstack-start/src/docs/docs-page-actions.tsx +146 -0
- package/templates/tanstack-start/src/docs/docs-page.tsx +70 -0
- package/templates/tanstack-start/src/docs/llm-text.ts +61 -0
- package/templates/tanstack-start/src/docs/source.ts +7 -0
- package/templates/tanstack-start/src/hooks/use-mobile.ts +19 -0
- package/templates/tanstack-start/src/hooks/use-pwa-install.ts +77 -0
- package/templates/tanstack-start/src/jobs.example.ts +56 -0
- package/templates/tanstack-start/src/lib/account.ts +13 -0
- package/templates/tanstack-start/src/lib/auth-client.ts +187 -0
- package/templates/tanstack-start/src/lib/push-client.ts +98 -0
- package/templates/tanstack-start/src/lib/utils.ts +6 -0
- package/templates/tanstack-start/src/mcp-app.ts +74 -0
- package/templates/tanstack-start/src/notifications.example.ts +37 -0
- package/templates/tanstack-start/src/raybase.auth.ts +86 -0
- package/templates/tanstack-start/src/raybase.config.ts +86 -0
- package/templates/tanstack-start/src/raybase.server.ts +155 -0
- package/templates/tanstack-start/src/realtime.example.ts +46 -0
- package/templates/tanstack-start/src/router.tsx +19 -0
- package/templates/tanstack-start/src/routes/__root.tsx +73 -0
- package/templates/tanstack-start/src/routes/_app/admin.tsx +13 -0
- package/templates/tanstack-start/src/routes/_app/forgot-password.tsx +97 -0
- package/templates/tanstack-start/src/routes/_app/index.tsx +1316 -0
- package/templates/tanstack-start/src/routes/_app/invite.$token.tsx +11 -0
- package/templates/tanstack-start/src/routes/_app/login.tsx +193 -0
- package/templates/tanstack-start/src/routes/_app/profile.tsx +98 -0
- package/templates/tanstack-start/src/routes/_app/reset-password.$token.tsx +16 -0
- package/templates/tanstack-start/src/routes/_app/reset-password.tsx +115 -0
- package/templates/tanstack-start/src/routes/_app/setup.$token.tsx +11 -0
- package/templates/tanstack-start/src/routes/_app/signup.tsx +141 -0
- package/templates/tanstack-start/src/routes/_app/verify-email.$token.tsx +15 -0
- package/templates/tanstack-start/src/routes/_app/verify-email.tsx +154 -0
- package/templates/tanstack-start/src/routes/_app.tsx +33 -0
- package/templates/tanstack-start/src/routes/admin/$.ts +20 -0
- package/templates/tanstack-start/src/routes/api/$.ts +19 -0
- package/templates/tanstack-start/src/routes/docs/$.tsx +22 -0
- package/templates/tanstack-start/src/routes/docs/api/markdown.ts +12 -0
- package/templates/tanstack-start/src/routes/docs/api/search.ts +12 -0
- package/templates/tanstack-start/src/routes/docs.index.tsx +22 -0
- package/templates/tanstack-start/src/routes/docs.tsx +22 -0
- package/templates/tanstack-start/src/search.ts +26 -0
- package/templates/tanstack-start/src/settings.ts +12 -0
- package/templates/tanstack-start/src/styles-docs.css +3 -0
- package/templates/tanstack-start/src/styles.css +73 -0
- package/templates/tanstack-start/src/themes/base.css +76 -0
- package/templates/tanstack-start/src/themes/carbon.css +76 -0
- package/templates/tanstack-start/src/themes/fonts.css +18 -0
- package/templates/tanstack-start/src/themes/sage.css +76 -0
- package/templates/tanstack-start/src/themes/sand.css +76 -0
- package/templates/tanstack-start/src/themes/slate.css +76 -0
- package/templates/tanstack-start/src/themes/ultra.css +76 -0
- package/templates/tanstack-start/src/themes/zen.css +76 -0
- package/templates/tanstack-start/src/worker-entry.ts +30 -0
- package/templates/tanstack-start/tests/raybase-patterns.test.ts +247 -0
- package/templates/tanstack-start/tsconfig.json +33 -0
- package/templates/tanstack-start/vite.config.ts +132 -0
- package/templates/tanstack-start/vitest.config.ts +8 -0
- package/templates/tanstack-start/wrangler.jsonc +112 -0
- package/README.md +0 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Team Tasks Starter Overview
|
|
2
|
+
|
|
3
|
+
`dev/SPEC.md` is the authoritative contract for this generated app. Right now
|
|
4
|
+
that contract describes the replaceable Team Tasks starter, not the owner's
|
|
5
|
+
final product.
|
|
6
|
+
|
|
7
|
+
Team Tasks exists to prove the app has a real spine before anyone asks it to do
|
|
8
|
+
real business work. It has projects, tasks, assignment, manager/user
|
|
9
|
+
visibility, archive and delete boundaries, Guide actions, MCP tools, search,
|
|
10
|
+
docs, local personas, and `/admin`. That is enough surface area for agents and
|
|
11
|
+
humans to verify the important Raybase rails without burying the starter under a
|
|
12
|
+
fake enterprise roadmap.
|
|
13
|
+
|
|
14
|
+
## What It Demonstrates
|
|
15
|
+
|
|
16
|
+
- A user-facing workspace that reads like a task app, not a platform tour.
|
|
17
|
+
- A business role named `manager`, separate from Raybase operator access.
|
|
18
|
+
- Users who see work they created or that is assigned to them.
|
|
19
|
+
- Managers who can see and manage team work.
|
|
20
|
+
- Declared actions as the mutation boundary for UI, Guide, and MCP.
|
|
21
|
+
- Archive as the normal path for finished work, with hard delete kept narrow.
|
|
22
|
+
- Guide and MCP surfaces that can act only through intentional workflows.
|
|
23
|
+
- No runtime Agent skills or remote MCP integrations unless a real spec opts in
|
|
24
|
+
with declared actions, explicit remote tool allowlists, and secret references.
|
|
25
|
+
|
|
26
|
+
## Deliberate Limits
|
|
27
|
+
|
|
28
|
+
This is not a project-management suite. There are no teams, departments,
|
|
29
|
+
direct-report graphs, SSO groups, custom notifications, files, job automations,
|
|
30
|
+
or imports. Those should be added only after a real owner-approved spec says
|
|
31
|
+
they matter.
|
|
32
|
+
|
|
33
|
+
The starter's useful trick is that it is small but not hollow. It gives the next
|
|
34
|
+
agent something concrete to inspect, test, and replace.
|
|
35
|
+
|
|
36
|
+
## Replacement Rule
|
|
37
|
+
|
|
38
|
+
When the app becomes real, fold the durable facts into:
|
|
39
|
+
|
|
40
|
+
- `dev/SPEC.md`
|
|
41
|
+
- `dev/SPEC-OVERVIEW.md`
|
|
42
|
+
- `dev/CODEBASE-MAP.md`
|
|
43
|
+
- `content/docs/`
|
|
44
|
+
- `content/guide/`
|
|
45
|
+
|
|
46
|
+
Then remove any Team Tasks behavior that no longer belongs to the approved app.
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
# __APP_NAME__ Spec
|
|
2
|
+
|
|
3
|
+
Status: Starter baseline - replace before building the owner's real app.
|
|
4
|
+
|
|
5
|
+
This file is the owner-facing source of truth for the app the agent will build.
|
|
6
|
+
Replace this placeholder with an approved plain-language spec that explains why
|
|
7
|
+
the app exists and what value it should produce before writing app-specific
|
|
8
|
+
schema, policies, screens, docs, jobs, notifications, MCP tools, or
|
|
9
|
+
Store-template customizations.
|
|
10
|
+
Write `dev/SPEC-OVERVIEW.md` from the same app facts at the same time, and
|
|
11
|
+
paste that overview into the approval message. Link `dev/SPEC.md` as the full
|
|
12
|
+
spec if the owner wants to review the details.
|
|
13
|
+
|
|
14
|
+
## Purpose And Business Value
|
|
15
|
+
|
|
16
|
+
The default starter is Team Tasks, a compact project and task workspace used to
|
|
17
|
+
verify Raybase app generation. It demonstrates real app workflows, local
|
|
18
|
+
personas, app roles, policies, declared actions, Guide, MCP, search, private
|
|
19
|
+
docs, and `/admin` without pretending to be a full project-management product.
|
|
20
|
+
|
|
21
|
+
Before building a real app, replace this section with the owner's approved
|
|
22
|
+
purpose, value, users, workflows, and success criteria.
|
|
23
|
+
|
|
24
|
+
Security default: this is an internal app. Only invited users can sign in, and
|
|
25
|
+
uninvited visitors see a login wall.
|
|
26
|
+
|
|
27
|
+
External login providers, if added later, must keep that invite-only posture.
|
|
28
|
+
Provider credentials belong in Worker secrets or local `.dev.vars`, provider
|
|
29
|
+
setup belongs in `src/raybase.auth.ts`, and provider labels/env hints belong in
|
|
30
|
+
`src/raybase.config.ts`. BYO OAuth/OIDC is a Core feature for one app. Do not
|
|
31
|
+
use Core apps for suite SSO, domain auto-provisioning, SAML/SCIM, directory
|
|
32
|
+
groups, cross-app sessions, or group-to-role mapping; those are Raybase Pro
|
|
33
|
+
concerns.
|
|
34
|
+
|
|
35
|
+
## Access
|
|
36
|
+
|
|
37
|
+
Signup mode: invite-only
|
|
38
|
+
Cloudflare email capability: free-compatible
|
|
39
|
+
Raybase hosted auth: disabled
|
|
40
|
+
Claim methods: passkey-plus-password
|
|
41
|
+
Operated auth usage: none
|
|
42
|
+
Auth email features: none
|
|
43
|
+
Invite delivery: admin-shared links
|
|
44
|
+
Password recovery: admin-assisted
|
|
45
|
+
|
|
46
|
+
Default: only invited users can sign in. For provider and password signup, use
|
|
47
|
+
`Signup mode: public self-signup` with `auth.signupMode: "public"`. For provider
|
|
48
|
+
signup with the password door closed, use `Signup mode: provider-only
|
|
49
|
+
self-signup` with `auth.signupMode: "provider-only"`. Both public modes create
|
|
50
|
+
normal `user` users only; password sign-in stays available to existing accounts,
|
|
51
|
+
and Raybase `/admin` remains invite/operator-only.
|
|
52
|
+
|
|
53
|
+
The default Cloudflare email capability is Free-compatible: Raybase generates
|
|
54
|
+
single-use setup and invite links, but admins copy and share invite links
|
|
55
|
+
manually. There is no self-service password reset, magic-link/passwordless
|
|
56
|
+
auth, public-signup email verification, invite email, welcome email, or other
|
|
57
|
+
auth email to arbitrary recipients.
|
|
58
|
+
|
|
59
|
+
The default Raybase hosted auth posture is disabled: the app owns its users,
|
|
60
|
+
sessions, passkeys, passwords, invites, provider accounts, and auth tables
|
|
61
|
+
inside the app Durable Object. Use `Raybase hosted auth: free relay` only when
|
|
62
|
+
the owner wants capped Raybase-operated auth conveniences through their
|
|
63
|
+
Raybase developer account. The relay may send fixed auth templates and broker
|
|
64
|
+
approved social sign-in, but it must not become the app's user store.
|
|
65
|
+
|
|
66
|
+
Use `Cloudflare email capability: transactional-email` only after the owner has
|
|
67
|
+
confirmed Workers Paid plus Cloudflare Email Sending/domain onboarding. Then
|
|
68
|
+
list only approved `Auth email features` from `password-reset`,
|
|
69
|
+
`invite-email`, `welcome-email`, `public-signup-email-verification`, and
|
|
70
|
+
`magic-link`, and align `Invite delivery` and `Password recovery` with the app
|
|
71
|
+
config. Cloudflare verified destination addresses may be used for
|
|
72
|
+
operator/admin notifications or intentional test sends only; they are not a
|
|
73
|
+
Raybase auth mode for end-user verification, reset, invites, or magic links.
|
|
74
|
+
|
|
75
|
+
Raybase hosted auth free relay can satisfy owner-approved `Auth email features`
|
|
76
|
+
without Workers Paid or app-owned sender DNS. It remains capped operated
|
|
77
|
+
convenience. BYO Cloudflare Email Service and BYO OAuth/OIDC are sovereign
|
|
78
|
+
Core alternatives. Pro is for suite SSO, organizations, App Hub, cross-app
|
|
79
|
+
membership, SAML/SCIM, directory sync, and group mapping.
|
|
80
|
+
|
|
81
|
+
## Public Surface / Documentation
|
|
82
|
+
|
|
83
|
+
Public surface: none
|
|
84
|
+
Documentation: in-app docs
|
|
85
|
+
Docs exposure: public
|
|
86
|
+
|
|
87
|
+
Docs are public by default: `/docs` and `/docs/api/search` answer signed-out
|
|
88
|
+
visitors. `Docs exposure: signed-in only` is a choice; write it here only
|
|
89
|
+
together with the sign-in check on the docs routes that the framework skill
|
|
90
|
+
describes.
|
|
91
|
+
|
|
92
|
+
The generated app owns the React visual layer for login, signup, setup/invite
|
|
93
|
+
acceptance, forgot/reset password, the account menu, and `/profile`. Raybase
|
|
94
|
+
Core owns auth mechanics, token verification and consumption, login/logout,
|
|
95
|
+
passkeys, password reset, provider redirects, auditing, and all auth/account
|
|
96
|
+
table writes. App code may call `/api/account/me` and use `isOperator` to show
|
|
97
|
+
an `/admin` link, but must not inspect raw operator roles, app roles, auth
|
|
98
|
+
tables, provider accounts, or session rows.
|
|
99
|
+
|
|
100
|
+
## What The App Does
|
|
101
|
+
|
|
102
|
+
The starter lets signed-in users create, update, archive, and delete projects
|
|
103
|
+
and tasks through the app UI. Tasks have title, notes, status, priority,
|
|
104
|
+
assignee, due date, archive state, creator, and project. Projects have name,
|
|
105
|
+
description, status, archive state, creator, and timestamps.
|
|
106
|
+
|
|
107
|
+
The app starts with seeded projects and tasks across active, paused, done, open,
|
|
108
|
+
and archived states. The dashboard has active/archived views, project and task
|
|
109
|
+
forms, inline editing, assignment controls, status and priority controls,
|
|
110
|
+
archive actions, and hard-delete actions where policy allows them.
|
|
111
|
+
|
|
112
|
+
## Users And Roles
|
|
113
|
+
|
|
114
|
+
Local development personas:
|
|
115
|
+
|
|
116
|
+
- Dana: operator owner for setup and `/admin`; app role remains normal user.
|
|
117
|
+
- Maya: manager app role.
|
|
118
|
+
- Riley: user.
|
|
119
|
+
- Quinn: user.
|
|
120
|
+
|
|
121
|
+
Managers can view and manage team work. Users can view and update tasks they
|
|
122
|
+
created or that are assigned to them, and can create projects and tasks. App
|
|
123
|
+
roles do not grant Raybase operator access.
|
|
124
|
+
|
|
125
|
+
Use business role names such as `manager`, `approver`, or `operations`.
|
|
126
|
+
Operator access to `/admin` is separate from app roles.
|
|
127
|
+
|
|
128
|
+
Local development personas belong in `appConfig.auth.devUser` or
|
|
129
|
+
`appConfig.auth.devUsers`. The app login page uses Core's local-only
|
|
130
|
+
`/api/auth/dev-session` alias for persona sign-in, and app-page dev chrome can
|
|
131
|
+
still switch personas. App screens must not implement their own persona
|
|
132
|
+
switchers or call `/api/dev/session` directly.
|
|
133
|
+
|
|
134
|
+
## Data Model
|
|
135
|
+
|
|
136
|
+
- `projects`: name, description, workflow status (`active`, `paused`, `done`),
|
|
137
|
+
`archivedAt`, creator, created timestamp, and updated timestamp.
|
|
138
|
+
- `todos`: project reference, title, notes, status (`todo`, `doing`, `done`),
|
|
139
|
+
priority (`low`, `medium`, `high`), assignee user reference, due date,
|
|
140
|
+
`archivedAt`, creator, created timestamp, and updated timestamp.
|
|
141
|
+
|
|
142
|
+
Todos belong to one project and cannot be moved to another project after
|
|
143
|
+
creation. Done todos can be reopened when follow-up work is needed.
|
|
144
|
+
|
|
145
|
+
## Permissions
|
|
146
|
+
|
|
147
|
+
Projects:
|
|
148
|
+
|
|
149
|
+
- Read: signed-in users.
|
|
150
|
+
- Create: signed-in users.
|
|
151
|
+
- Update/archive: managers or the project creator.
|
|
152
|
+
- Delete: managers only; the action layer requires the project to be archived
|
|
153
|
+
and empty.
|
|
154
|
+
|
|
155
|
+
Tasks:
|
|
156
|
+
|
|
157
|
+
- Read: managers, the creator, or the assignee.
|
|
158
|
+
- Create: signed-in users.
|
|
159
|
+
- Update/archive: managers, the creator, or the assignee.
|
|
160
|
+
- Delete: managers or the creator.
|
|
161
|
+
|
|
162
|
+
Users can assign tasks only to themselves. Managers can assign tasks to any
|
|
163
|
+
active app user.
|
|
164
|
+
|
|
165
|
+
## Workflows
|
|
166
|
+
|
|
167
|
+
- Create a project.
|
|
168
|
+
- Create a task inside a visible active project.
|
|
169
|
+
- Assign a task to yourself or, as manager, another active user.
|
|
170
|
+
- Update task title, notes, status, priority, due date, and assignee.
|
|
171
|
+
- Mark a task done.
|
|
172
|
+
- Archive a task or project.
|
|
173
|
+
- Delete a task when table policy allows it.
|
|
174
|
+
- Delete an archived empty project as a manager.
|
|
175
|
+
- Toggle active and archived views.
|
|
176
|
+
|
|
177
|
+
## Integrations, Files, AI, And MCP
|
|
178
|
+
|
|
179
|
+
Guide is installed and can use declared app actions for visible work snapshots,
|
|
180
|
+
visible project/task lists, project/task creation, task updates, completion,
|
|
181
|
+
archive, project archive, and assignable-user lookup. Guide does not get
|
|
182
|
+
hard-delete actions.
|
|
183
|
+
|
|
184
|
+
App MCP exposes read-only generated table tools for projects and todos. Mutating
|
|
185
|
+
project and task workflows are exposed through declared actions so policies,
|
|
186
|
+
assignment rules, invariants, and audit stay together.
|
|
187
|
+
|
|
188
|
+
Agent skills: none beyond direct Guide actions in this starter baseline. A real
|
|
189
|
+
app may add source-owned `defineAgentSkill()` bundles when multiple Agents need
|
|
190
|
+
the same action set and static operating guidance.
|
|
191
|
+
|
|
192
|
+
Agent memory: none in this starter baseline. A real app may opt an Agent into
|
|
193
|
+
durable Markdown memory with `memory.spaces` on `defineAgent()` when it should
|
|
194
|
+
remember durable facts across conversations (its own notes, per-user
|
|
195
|
+
preferences, or an operator-curated playbook). Structured domain truth stays
|
|
196
|
+
in app tables behind actions, not in memory.
|
|
197
|
+
|
|
198
|
+
Remote MCP integrations: none. A real app may add `defineRemoteMcpServer()`
|
|
199
|
+
only for owner-approved stateless HTTPS MCP servers with explicit tool
|
|
200
|
+
allowlists and Worker-secret credential references.
|
|
201
|
+
|
|
202
|
+
Search indexes projects and tasks. Files, notifications, jobs, realtime, and
|
|
203
|
+
external integrations remain disabled recipes until a real spec enables them.
|
|
204
|
+
|
|
205
|
+
## Open Questions
|
|
206
|
+
|
|
207
|
+
- What owner-approved purpose, business value, users, data, permissions, and
|
|
208
|
+
workflows should replace the Team Tasks starter?
|
|
209
|
+
|
|
210
|
+
Agents must replace this starter baseline before building a real app. Do not
|
|
211
|
+
infer business value, roles, data, permissions, workflows, Store-template fit,
|
|
212
|
+
docs, jobs, notifications, or MCP tools from the starter unless the owner has
|
|
213
|
+
explicitly approved that direction.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="360" viewBox="0 0 720 360" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">Base theme preview</title>
|
|
3
|
+
<desc id="desc">Neutral Raybase dashboard preview with project cards and task rows.</desc>
|
|
4
|
+
<rect width="720" height="360" fill="#f8fafc"/>
|
|
5
|
+
<rect x="34" y="28" width="652" height="304" rx="14" fill="#ffffff" stroke="#dfe5eb"/>
|
|
6
|
+
<rect x="34" y="28" width="652" height="58" rx="14" fill="#ffffff"/>
|
|
7
|
+
<line x1="34" y1="86" x2="686" y2="86" stroke="#dfe5eb"/>
|
|
8
|
+
<text x="62" y="64" fill="#202832" font-family="ui-sans-serif, system-ui, sans-serif" font-size="19" font-weight="700">Projects</text>
|
|
9
|
+
<rect x="585" y="47" width="66" height="22" rx="11" fill="#202832"/>
|
|
10
|
+
<text x="603" y="63" fill="#f8fafc" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">Admin</text>
|
|
11
|
+
<text x="62" y="126" fill="#697586" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12" font-weight="700">WORKSPACE</text>
|
|
12
|
+
<text x="62" y="165" fill="#202832" font-family="ui-sans-serif, system-ui, sans-serif" font-size="38" font-weight="800">Projects</text>
|
|
13
|
+
<rect x="62" y="197" width="382" height="92" rx="10" fill="#ffffff" stroke="#dfe5eb"/>
|
|
14
|
+
<text x="84" y="230" fill="#202832" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17" font-weight="700">Launch checklist</text>
|
|
15
|
+
<rect x="229" y="211" width="56" height="24" rx="12" fill="#e9eef4"/>
|
|
16
|
+
<text x="244" y="227" fill="#202832" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">active</text>
|
|
17
|
+
<line x1="84" y1="251" x2="422" y2="251" stroke="#dfe5eb"/>
|
|
18
|
+
<circle cx="94" cy="270" r="5" fill="#202832"/>
|
|
19
|
+
<text x="111" y="275" fill="#526070" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">Publish onboarding notes</text>
|
|
20
|
+
<rect x="470" y="197" width="156" height="92" rx="10" fill="#ffffff" stroke="#dfe5eb"/>
|
|
21
|
+
<text x="491" y="229" fill="#202832" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">Due next</text>
|
|
22
|
+
<rect x="491" y="248" width="72" height="20" rx="10" fill="#f2f4f7"/>
|
|
23
|
+
<rect x="571" y="248" width="35" height="20" rx="10" fill="#e9eef4"/>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="360" viewBox="0 0 720 360" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">Steel theme preview</title>
|
|
3
|
+
<desc id="desc">Cool Raybase dashboard preview with blue accents and steel surfaces.</desc>
|
|
4
|
+
<rect width="720" height="360" fill="#f5f8fb"/>
|
|
5
|
+
<rect x="34" y="28" width="652" height="304" rx="16" fill="#ffffff" stroke="#d2ddea"/>
|
|
6
|
+
<rect x="34" y="28" width="652" height="58" rx="16" fill="#ffffff"/>
|
|
7
|
+
<line x1="34" y1="86" x2="686" y2="86" stroke="#d2ddea"/>
|
|
8
|
+
<text x="62" y="64" fill="#203044" font-family="ui-sans-serif, system-ui, sans-serif" font-size="19" font-weight="700">Projects</text>
|
|
9
|
+
<rect x="585" y="47" width="66" height="22" rx="11" fill="#2f74d0"/>
|
|
10
|
+
<text x="603" y="63" fill="#f8fbff" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">Admin</text>
|
|
11
|
+
<text x="62" y="126" fill="#64758a" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12" font-weight="700">WORKSPACE</text>
|
|
12
|
+
<text x="62" y="165" fill="#203044" font-family="ui-sans-serif, system-ui, sans-serif" font-size="38" font-weight="800">Projects</text>
|
|
13
|
+
<rect x="62" y="197" width="382" height="92" rx="12" fill="#ffffff" stroke="#d2ddea"/>
|
|
14
|
+
<text x="84" y="230" fill="#203044" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17" font-weight="700">Launch checklist</text>
|
|
15
|
+
<rect x="229" y="211" width="56" height="24" rx="12" fill="#e4f1fb"/>
|
|
16
|
+
<text x="244" y="227" fill="#203044" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">active</text>
|
|
17
|
+
<line x1="84" y1="251" x2="422" y2="251" stroke="#d2ddea"/>
|
|
18
|
+
<circle cx="94" cy="270" r="5" fill="#2f74d0"/>
|
|
19
|
+
<text x="111" y="275" fill="#64758a" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">Publish onboarding notes</text>
|
|
20
|
+
<rect x="470" y="197" width="156" height="92" rx="12" fill="#ffffff" stroke="#d2ddea"/>
|
|
21
|
+
<text x="491" y="229" fill="#203044" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">Due next</text>
|
|
22
|
+
<rect x="491" y="248" width="72" height="20" rx="10" fill="#e7edf4"/>
|
|
23
|
+
<rect x="571" y="248" width="35" height="20" rx="10" fill="#d5e9fb"/>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="720" height="360" viewBox="0 0 720 360" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">Zen theme preview</title>
|
|
3
|
+
<desc id="desc">Warm Raybase dashboard preview with clay accents and soft surfaces.</desc>
|
|
4
|
+
<rect width="720" height="360" fill="#faf7ef"/>
|
|
5
|
+
<rect x="34" y="28" width="652" height="304" rx="20" fill="#f5f0e7" stroke="#e0d8cc"/>
|
|
6
|
+
<rect x="34" y="28" width="652" height="58" rx="20" fill="#f5f0e7"/>
|
|
7
|
+
<line x1="34" y1="86" x2="686" y2="86" stroke="#e0d8cc"/>
|
|
8
|
+
<text x="62" y="64" fill="#5c4a35" font-family="ui-sans-serif, system-ui, sans-serif" font-size="19" font-weight="700">Projects</text>
|
|
9
|
+
<rect x="585" y="47" width="66" height="22" rx="11" fill="#b76433"/>
|
|
10
|
+
<text x="603" y="63" fill="#fffaf4" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">Admin</text>
|
|
11
|
+
<text x="62" y="126" fill="#826f5b" font-family="ui-sans-serif, system-ui, sans-serif" font-size="12" font-weight="700">WORKSPACE</text>
|
|
12
|
+
<text x="62" y="165" fill="#5c4a35" font-family="ui-sans-serif, system-ui, sans-serif" font-size="38" font-weight="800">Projects</text>
|
|
13
|
+
<rect x="62" y="197" width="382" height="92" rx="14" fill="#f5f0e7" stroke="#e0d8cc"/>
|
|
14
|
+
<text x="84" y="230" fill="#3d3327" font-family="ui-sans-serif, system-ui, sans-serif" font-size="17" font-weight="700">Launch checklist</text>
|
|
15
|
+
<rect x="229" y="211" width="56" height="24" rx="12" fill="#eee5d7"/>
|
|
16
|
+
<text x="244" y="227" fill="#5c4a35" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11" font-weight="700">active</text>
|
|
17
|
+
<line x1="84" y1="251" x2="422" y2="251" stroke="#e0d8cc"/>
|
|
18
|
+
<circle cx="94" cy="270" r="5" fill="#b76433"/>
|
|
19
|
+
<text x="111" y="275" fill="#826f5b" font-family="ui-sans-serif, system-ui, sans-serif" font-size="13">Publish onboarding notes</text>
|
|
20
|
+
<rect x="470" y="197" width="156" height="92" rx="14" fill="#f5f0e7" stroke="#e0d8cc"/>
|
|
21
|
+
<text x="491" y="229" fill="#3d3327" font-family="ui-sans-serif, system-ui, sans-serif" font-size="15" font-weight="700">Due next</text>
|
|
22
|
+
<rect x="491" y="248" width="72" height="20" rx="10" fill="#eee5d7"/>
|
|
23
|
+
<rect x="571" y="248" width="35" height="20" rx="10" fill="#eacdb8"/>
|
|
24
|
+
</svg>
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Theme Presets
|
|
2
|
+
|
|
3
|
+
The starter uses semantic shadcn/Tailwind tokens, so the visual direction lives
|
|
4
|
+
in CSS variables instead of route components. `src/themes/base.css` is the
|
|
5
|
+
active app palette. The other files under `src/themes/` are starting-point
|
|
6
|
+
snippets for implementation work, not runtime-switchable themes. Each snippet
|
|
7
|
+
defines a full **light** palette and a matching **dark** palette.
|
|
8
|
+
|
|
9
|
+
`src/styles.css` imports the active palette only:
|
|
10
|
+
|
|
11
|
+
```css
|
|
12
|
+
@import "./themes/base.css";
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
All palette files define tokens on `:root` and `.dark`. Do not import multiple
|
|
16
|
+
palette snippets at once unless you are deliberately comparing cascade behavior.
|
|
17
|
+
Self-hosted web fonts are loaded separately, from the client entry - see
|
|
18
|
+
**Switching fonts**.
|
|
19
|
+
|
|
20
|
+
## Choosing a preset
|
|
21
|
+
|
|
22
|
+
Pick one palette while implementing the app, then make it the app's CSS:
|
|
23
|
+
|
|
24
|
+
```css
|
|
25
|
+
@import "./themes/zen.css";
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Use the preset as a starting point, not a shipped mode picker. Before handoff,
|
|
29
|
+
either keep exactly one palette import in `src/styles.css` or copy the chosen
|
|
30
|
+
tokens into `src/themes/base.css` and continue importing `base.css`.
|
|
31
|
+
|
|
32
|
+
## Picking a theme during implementation
|
|
33
|
+
|
|
34
|
+
All seven work for real apps; the difference is personality. Match the product's
|
|
35
|
+
tone to a preset:
|
|
36
|
+
|
|
37
|
+
| Theme | Look | Accent | Reach for it when… |
|
|
38
|
+
| --- | --- | --- | --- |
|
|
39
|
+
| `base` | Neutral shadcn default, system fonts | cool grey | you want minimal visual bias and will inherit the user-requested product direction |
|
|
40
|
+
| `zen` | Warm, editorial, calm (Claude-like) | terracotta | quieter internal tools, writing/review workflows, anything that should feel unhurried |
|
|
41
|
+
| `sage` | Calm, organic, soft, very rounded | muted sage / deep forest | wellness, sustainability, people/HR, ops tools that should feel natural |
|
|
42
|
+
| `slate` | Cool, crisp, professional | slate blue (warm terracotta secondary) | analytical dashboards, operational/admin consoles, data-heavy B2B |
|
|
43
|
+
| `sand` | Warm, premium, editorial | muted gold | finance, professional services, content, premium brands |
|
|
44
|
+
| `carbon` | High-contrast monochrome, sharp (0 radius); cream-on-near-black in dark | ink | developer tools, technical/ops surfaces, anything wanting a stark, focused look |
|
|
45
|
+
| `ultra` | Bold and energetic | vivid indigo-violet | creative, analytics, or AI-flavored products that want presence |
|
|
46
|
+
|
|
47
|
+
Rules of thumb: prefer `base` / `zen` / `slate` for broad B2B; `sage` / `sand`
|
|
48
|
+
when warmth or calm matters; `carbon` for stark/technical; `ultra` only when a
|
|
49
|
+
strong accent is wanted. Don't ship more than one loud theme as the default.
|
|
50
|
+
|
|
51
|
+
## Dark mode
|
|
52
|
+
|
|
53
|
+
Every preset includes a dark palette, keyed off a `dark` class on `<html>`.
|
|
54
|
+
|
|
55
|
+
The starter wires a runtime light/dark toggle:
|
|
56
|
+
|
|
57
|
+
- A small **pre-paint script** in `src/routes/_app.tsx` applies the saved
|
|
58
|
+
choice before first paint (so there's no flash). It reads localStorage key
|
|
59
|
+
`theme` — **the same key Fumadocs/next-themes uses, so the app and `/docs`
|
|
60
|
+
stay in sync** — and otherwise **defaults to the OS `prefers-color-scheme`**.
|
|
61
|
+
- **`src/components/mode-toggle.tsx`** (`<ModeToggle />`, placed in the app
|
|
62
|
+
header) toggles `.dark` and persists `"light"` / `"dark"` to `theme`.
|
|
63
|
+
|
|
64
|
+
To drop the toggle, remove `<ModeToggle />` and the init script. To force a mode,
|
|
65
|
+
hard-code the class, for example `<html lang="en" class="dark">`.
|
|
66
|
+
|
|
67
|
+
## Switching fonts
|
|
68
|
+
|
|
69
|
+
Fonts are self-hosted with [Fontsource](https://fontsource.org) — no Google
|
|
70
|
+
Fonts and no runtime network request. `src/themes/fonts.css` imports the
|
|
71
|
+
variable fonts, and each theme points `--app-font-sans` / `--app-font-mono` at
|
|
72
|
+
the family.
|
|
73
|
+
|
|
74
|
+
`fonts.css` is imported from the **client entry** (`src/client.tsx`):
|
|
75
|
+
|
|
76
|
+
```ts
|
|
77
|
+
import "./themes/fonts.css";
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
> Import `fonts.css` from the client entry, **not** from `styles.css`.
|
|
81
|
+
> `styles.css` is imported on the server too, and font binaries referenced by CSS
|
|
82
|
+
> that is pulled into the server build get emitted into the server bundle and
|
|
83
|
+
> 404 at runtime. Importing from the client entry makes Vite emit the woff2 as
|
|
84
|
+
> client-served, same-origin, content-hashed assets.
|
|
85
|
+
|
|
86
|
+
Fonts currently wired:
|
|
87
|
+
|
|
88
|
+
| Theme | Sans font | Package |
|
|
89
|
+
| --- | --- | --- |
|
|
90
|
+
| `zen` | Outfit | `@fontsource-variable/outfit` |
|
|
91
|
+
| `carbon`, `slate` | Geist | `@fontsource-variable/geist` |
|
|
92
|
+
| `sage` | Plus Jakarta Sans | `@fontsource-variable/plus-jakarta-sans` |
|
|
93
|
+
| `ultra` | Space Grotesk | `@fontsource-variable/space-grotesk` |
|
|
94
|
+
| `sand` | Inter | `@fontsource-variable/inter` |
|
|
95
|
+
| _(all)_ | Geist Mono _(monospace)_ | `@fontsource-variable/geist-mono` |
|
|
96
|
+
|
|
97
|
+
To change or add a font:
|
|
98
|
+
|
|
99
|
+
1. `pnpm add @fontsource-variable/<font>` (browse names at fontsource.org).
|
|
100
|
+
2. Add `@import "@fontsource-variable/<font>";` to `src/themes/fonts.css`.
|
|
101
|
+
3. Point the theme's `--app-font-sans` (or `--app-font-mono`) at the family.
|
|
102
|
+
**Fontsource variable packages register the family as `"<Name> Variable"`**
|
|
103
|
+
(e.g. `"Inter Variable"`), not `"<Name>"` — getting this wrong silently falls
|
|
104
|
+
back to system fonts.
|
|
105
|
+
|
|
106
|
+
`base` intentionally keeps a system sans stack (a zero-download default); it
|
|
107
|
+
still uses Geist Mono for monospace.
|
|
108
|
+
|
|
109
|
+
## Customizing
|
|
110
|
+
|
|
111
|
+
To change the default look, edit the tokens in `src/themes/base.css` directly -
|
|
112
|
+
that file owns the `:root` palette. `@theme inline` in `src/styles.css` maps the
|
|
113
|
+
Tailwind utilities to these semantic variables, so retheming the variables
|
|
114
|
+
reskins every shadcn component. Keep colors in OKLCH, and avoid adding competing
|
|
115
|
+
bare `:root` token blocks elsewhere; Tailwind v4 layer/order rules make those
|
|
116
|
+
unreliable.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
CREATE TABLE `projects` (
|
|
2
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
3
|
+
`name` text NOT NULL,
|
|
4
|
+
`description` text,
|
|
5
|
+
`status` text NOT NULL,
|
|
6
|
+
`archivedAt` text,
|
|
7
|
+
`createdBy` text NOT NULL,
|
|
8
|
+
`createdAt` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
9
|
+
`updatedAt` text DEFAULT CURRENT_TIMESTAMP NOT NULL
|
|
10
|
+
);
|
|
11
|
+
--> statement-breakpoint
|
|
12
|
+
CREATE TABLE `todos` (
|
|
13
|
+
`id` text PRIMARY KEY NOT NULL,
|
|
14
|
+
`projectId` text NOT NULL,
|
|
15
|
+
`title` text NOT NULL,
|
|
16
|
+
`notes` text,
|
|
17
|
+
`status` text NOT NULL,
|
|
18
|
+
`priority` text NOT NULL,
|
|
19
|
+
`assigneeId` text,
|
|
20
|
+
`dueDate` text,
|
|
21
|
+
`archivedAt` text,
|
|
22
|
+
`createdBy` text NOT NULL,
|
|
23
|
+
`createdAt` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
24
|
+
`updatedAt` text DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
25
|
+
FOREIGN KEY (`projectId`) REFERENCES `projects`(`id`) ON UPDATE no action ON DELETE no action
|
|
26
|
+
);
|