Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
425 commits
Select commit Hold shift + click to select a range
9c51ed5
fix: remove duplicate mobile menu code
devin-ai-integration[bot] Feb 15, 2025
1b53c59
fix: simplify component imports to resolve infinite loop
devin-ai-integration[bot] Feb 15, 2025
b2734a1
fix: split menu button into separate client component
devin-ai-integration[bot] Feb 15, 2025
5f44127
fix: resolve TypeScript errors in MobileMenu component
devin-ai-integration[bot] Feb 15, 2025
357ac5a
fix: make MobileMenu a server component
devin-ai-integration[bot] Feb 15, 2025
b1a7c8a
fix: improve type handling in menu components
devin-ai-integration[bot] Feb 15, 2025
6590437
fix: handle menu visibility in client component
devin-ai-integration[bot] Feb 15, 2025
5c873c8
fix: improve state management in menu components
devin-ai-integration[bot] Feb 15, 2025
b3c386b
fix: resolve circular dependencies in component imports
devin-ai-integration[bot] Feb 15, 2025
6aa0258
fix: improve dynamic import loading state
devin-ai-integration[bot] Feb 15, 2025
17e4d7c
fix: improve component loading states
devin-ai-integration[bot] Feb 15, 2025
afc4754
fix: improve loading states and SSR configuration
devin-ai-integration[bot] Feb 15, 2025
3ed38d3
fix: add navigation file and update MDX provider setup
devin-ai-integration[bot] Feb 15, 2025
4068df9
fix: configure Next.js for MDX support
devin-ai-integration[bot] Feb 15, 2025
ca0939b
fix: add MDX plugin options to Next.js config
devin-ai-integration[bot] Feb 15, 2025
ccb2083
fix: update MDX configuration with provider import source
devin-ai-integration[bot] Feb 15, 2025
93d8187
fix: enable experimental MDX support in Next.js config
devin-ai-integration[bot] Feb 15, 2025
1f76145
fix: remove duplicate use client directive in MDX provider
devin-ai-integration[bot] Feb 15, 2025
5c10997
fix: update MDX provider exports and component configuration
devin-ai-integration[bot] Feb 15, 2025
ff22222
fix: update MDX provider exports and component boundaries
devin-ai-integration[bot] Feb 15, 2025
2ad5654
fix: update MDX provider exports to use default export
devin-ai-integration[bot] Feb 15, 2025
785db6e
fix: add proper MDX component types
devin-ai-integration[bot] Feb 15, 2025
8c62548
fix: update MDX provider and layout component boundaries
devin-ai-integration[bot] Feb 15, 2025
4c7ded1
fix: update MDX provider to use named exports
devin-ai-integration[bot] Feb 15, 2025
e51f3ab
fix: resolve MDX provider export conflicts
devin-ai-integration[bot] Feb 15, 2025
1df6623
fix: update MDX configuration and imports
devin-ai-integration[bot] Feb 15, 2025
f5ed60b
fix: remove redundant [slug] route handler
devin-ai-integration[bot] Feb 15, 2025
435b749
fix: update next.config.js with proper MDX configuration
devin-ai-integration[bot] Feb 15, 2025
05670ee
fix: update blog layout to use server component with dynamic MDX content
devin-ai-integration[bot] Feb 15, 2025
06a06ea
fix: add proper types to dynamic MDX content import
devin-ai-integration[bot] Feb 15, 2025
e3a0bd3
fix: update MDX provider to use default export with MDXContent
devin-ai-integration[bot] Feb 15, 2025
fda3c4e
fix: add proper type assertion for dynamic MDX content
devin-ai-integration[bot] Feb 15, 2025
0f74c6a
fix: simplify MDX provider setup by moving it to layout
devin-ai-integration[bot] Feb 15, 2025
cfa4507
fix: update MDX configuration for proper context creation
devin-ai-integration[bot] Feb 15, 2025
9f0c023
fix: restore withMDX configuration for proper MDX file handling
devin-ai-integration[bot] Feb 15, 2025
a7b3139
fix: simplify MDX configuration and remove experimental flag
devin-ai-integration[bot] Feb 15, 2025
bb3ca35
fix: simplify MDX setup and ensure proper client component boundaries
devin-ai-integration[bot] Feb 15, 2025
80045f7
fix: update MDX configuration with proper loader setup
devin-ai-integration[bot] Feb 15, 2025
1f34bdd
chore: update package-lock.json
devin-ai-integration[bot] Feb 15, 2025
c7fdf37
fix: add export output configuration for static deployment
devin-ai-integration[bot] Feb 15, 2025
cf1fdf2
fix: remove static export to support API routes
devin-ai-integration[bot] Feb 15, 2025
b63746b
fix: configure Next.js for standalone output with API support
devin-ai-integration[bot] Feb 15, 2025
f6ef973
fix: simplify Next.js config for standalone output
devin-ai-integration[bot] Feb 15, 2025
62e6ebe
fix: update Link href type in blog page
devin-ai-integration[bot] Feb 15, 2025
a5120a0
fix: revert Link href to use template literal
devin-ai-integration[bot] Feb 15, 2025
78bee12
fix: update Link href types across all components
devin-ai-integration[bot] Feb 15, 2025
9321f70
fix: improve MongoDB connection handling for serverless environment
devin-ai-integration[bot] Feb 15, 2025
7b6bf9d
chore: trigger vercel rebuild
devin-ai-integration[bot] Feb 16, 2025
12a6939
fix: optimize MongoDB connection for serverless and add health check
devin-ai-integration[bot] Feb 16, 2025
181903d
fix: update MongoDB connection options with correct types
devin-ai-integration[bot] Feb 16, 2025
c917683
fix: update Next.js config to generate proper routes manifest
devin-ai-integration[bot] Feb 16, 2025
0dcf67b
fix: expose MongoDB URI to runtime and enable server actions
devin-ai-integration[bot] Feb 16, 2025
3d0bed7
fix: add API route rewrites to Next.js config
devin-ai-integration[bot] Feb 16, 2025
a0187dc
fix: update Next.js config for proper API route handling
devin-ai-integration[bot] Feb 16, 2025
3b5c65a
fix: simplify Next.js config for Vercel deployment
devin-ai-integration[bot] Feb 16, 2025
ea8927d
fix: update Next.js output config for serverless deployment
devin-ai-integration[bot] Feb 16, 2025
efe3f80
fix: update Next.js config and remove redundant server actions flag
devin-ai-integration[bot] Feb 16, 2025
f1ac206
fix: update Next.js config with proper route handling settings
devin-ai-integration[bot] Feb 16, 2025
01ead8a
fix: revert to export output for static site generation
devin-ai-integration[bot] Feb 16, 2025
f276dd3
fix: simplify Next.js config and use standalone output
devin-ai-integration[bot] Feb 16, 2025
5a33ef7
fix: update dynamic route handling in blog and bots pages
devin-ai-integration[bot] Feb 16, 2025
0eb4493
fix: simplify Link hrefs in mobile menu for Next.js 14 app router
devin-ai-integration[bot] Feb 16, 2025
00f856d
fix: add proper type imports for Link hrefs
devin-ai-integration[bot] Feb 16, 2025
0e2a0ee
fix: update Link href types for Next.js 14 app router
devin-ai-integration[bot] Feb 16, 2025
2a1c3c6
fix: update blog page Link hrefs for Next.js 14 app router
devin-ai-integration[bot] Feb 16, 2025
d1d9ca3
fix: add vercel.json with correct build settings
devin-ai-integration[bot] Feb 16, 2025
3e96018
fix: remove outputDirectory from vercel.json to use Next.js defaults
devin-ai-integration[bot] Feb 16, 2025
d587530
Merge pull request #23 from g-but/devin/1739620743-fix-mobile-menu
catomean Feb 16, 2025
79ca757
fix: update click outside handler to target correct mobile menu ID
devin-ai-integration[bot] Feb 16, 2025
6c5b6a5
feat: add deployment timestamp under logo
devin-ai-integration[bot] Feb 16, 2025
ff55d54
feat: add build-time deployment timestamp
devin-ai-integration[bot] Feb 16, 2025
32a8864
feat: add cache control headers to prevent caching
devin-ai-integration[bot] Feb 16, 2025
321af26
Merge pull request #24 from g-but/devin/1739620743-fix-mobile-menu
catomean Feb 16, 2025
7ad7604
fix: add API key configuration for form submission
devin-ai-integration[bot] Feb 17, 2025
dba7bfc
Merge pull request #25 from g-but/devin/1739756192-fix-form-api-key
catomean Feb 17, 2025
82e9733
Update shopping page with new version
catomean Feb 28, 2025
e433bfc
Merge pull request #28 from g-but/update-shopping-page
catomean Feb 28, 2025
1b48339
Update files and remove unnecessary components
catomean Mar 3, 2025
057aad5
Your commit message
catomean Mar 3, 2025
0f89831
Fix type error in Navigation component
catomean Mar 3, 2025
2e6abb0
Remove green Contact Us button from mobile menu
catomean Mar 3, 2025
f069b7f
Fix type errors to enable successful build
catomean Mar 3, 2025
ac1ef3d
Implement GitHub-based MDX blog system with scheduled publishing
catomean Mar 4, 2025
3fb81f5
Remove conflicting route.ts file in blog/[slug] directory
catomean Mar 4, 2025
d536c94
Fix TypeScript errors in MDXComponents img component
catomean Mar 4, 2025
3d94632
Merge pull request #30 from g-but/feature/github-mdx-blog
catomean Mar 5, 2025
a135732
Add GitHub image domain to next.config.js
catomean Mar 5, 2025
43ea367
Enable browser and CDN caching in next.config.js
catomean Mar 5, 2025
c12bd91
Fix inline image src resolution in MDXComponents
catomean Mar 5, 2025
edeb85b
Fix TypeScript error in MDXComponents img component
catomean Mar 5, 2025
f4aba7b
Fix server-side rendering error and image path resolution
catomean Mar 5, 2025
48106e0
Fix TypeScript error with Image component width/height props
catomean Mar 5, 2025
bde9208
Fix server-side rendering issues with blog post images
catomean Mar 5, 2025
3c67b9e
Fix image loading issues and server-side errors in MDX blog system
catomean Mar 5, 2025
d03cdde
Fix server-side error and inline image loading issues
catomean Mar 5, 2025
3cd7e10
Fix server-side error and inline image loading in blog post
catomean Mar 5, 2025
516480e
Fix MDX blog image loading and Callout components
catomean Mar 5, 2025
d8741a1
Fix MDX rendering with proper client component structure
catomean Mar 5, 2025
dce3d34
Implement blog enhancements: dynamic post dates and better image slug…
catomean Mar 5, 2025
06d7bea
Force current date for published posts and improve image slug handling
catomean Mar 5, 2025
97f80b7
Merge pull request #31 from g-but/feature/github-mdx-blog
catomean Mar 5, 2025
aa81750
Implement Heidi Swiss German Teacher with ChatGPT redirection and wai…
catomean Mar 7, 2025
7ab630b
Fix syntax error in data/bots.ts by using double quotes for string wi…
catomean Mar 7, 2025
42fcf8e
Merge pull request #32 from g-but/heidi-redesign
catomean Mar 7, 2025
8006d0a
Fix table width in Heidi in Action and add future vision/contributor …
catomean Mar 7, 2025
b43923b
Merge pull request #33 from g-but/heidi-ui-fix
catomean Mar 7, 2025
dfad0f7
Fix button colors and example container widths for consistent UI
catomean Mar 7, 2025
31b5ef6
Enhance Swiss German Teacher page with improved UX and content
catomean Mar 8, 2025
84670d5
Add comment to demonstrate GitHub deployment workflow
catomean Mar 8, 2025
4464a10
Merge pull request #34 from g-but/feature/swiss-german-teacher
catomean Mar 8, 2025
2b47dfb
Add Techno-Capital project page, rename Shopping to Recurring Fulfill…
catomean Mar 11, 2025
f4dc7b6
Update bot pages with Coming Soon badges and improve homepage
catomean Mar 11, 2025
54a8562
Merge pull request #35 from g-but/feature/swiss-german-teacher
catomean Mar 11, 2025
7f0b3e6
Update Swiss German Teacher page with new features
catomean Mar 13, 2025
c2ae4f3
Merge pull request #36 from g-but/swiss-german-teacher-updates
catomean Mar 13, 2025
9f1e0ef
Add interactive language learning components to Swiss German Teacher …
catomean Mar 14, 2025
841135d
Merge pull request #37 from g-but/swiss-german-interactive-components
catomean Mar 14, 2025
86aea2d
Update Nerd AI Research Assistant components and documentation
catomean Mar 17, 2025
9a3a7b3
Fix: Add className prop to Swiss German Teacher Navigation component
catomean Mar 17, 2025
48262ab
Fix: Update build script to ensure dependencies are installed
catomean Mar 17, 2025
d194cab
Merge pull request #38 from g-but/refactor-code-organization
catomean Mar 17, 2025
3ea20a4
Enhanced governance project with transparency features, agency profil…
catomean Mar 19, 2025
94b499d
Fix: Remove improperly placed page.tsx from components directory caus…
catomean Mar 19, 2025
9622c1c
Complete merge and fix issues
catomean Mar 19, 2025
10da1fc
Update bot pages and add product manager bot
catomean Mar 19, 2025
6dc8c8a
Fix: Update route path in artistic-advisor bot page
catomean Mar 19, 2025
38e86aa
Fix: Use tryLink instead of chatLink in legal-expert page
catomean Mar 19, 2025
db28d5d
Fix: Update chatLink to use tryLink in bot pages
catomean Mar 19, 2025
583925d
Fix: Update all bot pages to use tryLink instead of hardcoded URLs
catomean Mar 19, 2025
6114126
Fix: Update route paths in CoreComponentsSection to match directory s…
catomean Mar 19, 2025
e5292cf
Clean: Remove new directory structure and restore original governance…
catomean Mar 20, 2025
d8473a1
refactor navigation with mega menu
catomean Jun 13, 2025
f033c63
Fix navigation wrapper import
catomean Jun 13, 2025
144ebdc
fix mobile menu href access
catomean Jun 13, 2025
53bf5fd
Fix build issues and navigation paths
catomean Jun 13, 2025
f252b1c
Merge pull request #43 from g-but/codex/refactor-navigation-bar-for-b…
catomean Jun 13, 2025
e79c713
Revamp Lex legal assistant page
catomean Jun 14, 2025
68edfb0
Merge pull request #48 from g-but/codex/revamp-lex-page-with-best-pra…
catomean Jun 14, 2025
8f433ff
refactor: remove legacy navigation and cleanup
catomean Jul 2, 2025
2fc75ae
fix: use anchor for external link
catomean Jul 2, 2025
b8f0423
Merge pull request #81 from g-but/codex/refactor-navigation-and-add-f…
catomean Jul 2, 2025
18d6133
feat: Complete deployment automation and modern design overhaul
Oct 2, 2025
abbb8d5
chore: fix all security vulnerabilities
catomean Jan 7, 2026
dbd11ac
chore: clean up repo structure
catomean Jan 7, 2026
d95a60f
docs: add comprehensive agentic development infrastructure
catomean Jan 7, 2026
5b04b49
refactor: major codebase cleanup and consolidation
catomean Jan 7, 2026
b366902
chore: add Cursor IDE rules for agentic development
catomean Jan 7, 2026
0fb7a0d
feat: add strict ESLint config and fix all lint issues
catomean Jan 11, 2026
96b4541
fix: improve test suite reliability and configuration
catomean Jan 11, 2026
ae7de97
chore: update dependencies to latest stable versions
catomean Jan 11, 2026
c9c2895
refactor: centralize bot page configuration and add shared components
catomean Jan 11, 2026
260ddab
fix: resolve blog static generation and MDX rendering issues
catomean Jan 11, 2026
23c123c
refactor: add governance shared components and utilities
catomean Jan 11, 2026
2d1c7d2
fix: resolve giscus comments navigation error
catomean Jan 11, 2026
1f558d2
feat: improve bot page navigation with switcher and site menu
catomean Jan 11, 2026
38d8a4a
refactor: improve navigation architecture and add knowledge center
catomean Jan 11, 2026
9a11e50
refactor: rebuild navigation as modular megamenu system
catomean Jan 11, 2026
8e8032f
fix: improve megamenu dropdown positioning reliability
catomean Jan 12, 2026
ed80eb6
feat: implement knowledge center foundation with guides and infrastru…
catomean Jan 12, 2026
a4d5c92
fix: replace client-side category filter with server-compatible Links
catomean Jan 12, 2026
d6d66a9
refactor: add BotPageTemplate and fix MDX sanitization
catomean Jan 13, 2026
b2bfff8
fix(security): patch glob CLI command injection vulnerability
catomean Jan 13, 2026
ab07ee3
refactor: complete bot page deduplication with BotPageTemplate
catomean Jan 13, 2026
9bc89ad
refactor: split CitizenProfile into focused sub-components
catomean Jan 13, 2026
42ef0ce
refactor: split WorkspaceDashboard into focused sub-components
catomean Jan 13, 2026
1763bce
refactor: split ExampleSection into focused tab components
catomean Jan 13, 2026
98306ba
refactor: deduplicate validation and formatting utilities
catomean Jan 13, 2026
513ae19
refactor: consolidate CSS scroll-behavior and remove duplicates
catomean Jan 13, 2026
a3c7525
test: add unit tests for validation and format utilities
catomean Jan 13, 2026
8aae29f
feat: add Swiss German RAG demo with keyword-based search
catomean Jan 14, 2026
1d0114c
feat: replace Swiss German demo with Botsmann AI Assistant RAG
catomean Jan 14, 2026
66248d2
Migrate database from MongoDB to Supabase
catomean Jan 14, 2026
90a1597
Add user authentication and model selection (Phase 2)
catomean Jan 14, 2026
d3643d2
Add Phase 3: Document upload and RAG chat
catomean Jan 14, 2026
7faea5e
Update content for privacy-first RAG platform
catomean Jan 14, 2026
b0b6354
feat(chat): add context-only fallback when LLM API key is missing
catomean Jan 14, 2026
5fb6379
fix(documents): remove duplicate header showing 'Botsmann' twice
catomean Jan 14, 2026
f4e31f2
feat(nav): unified navigation with auth controls
catomean Jan 14, 2026
2b80d1a
fix(settings): simplify for non-technical users
catomean Jan 14, 2026
43e6e1b
fix(homepage): simplify messaging for non-technical users
catomean Jan 14, 2026
ec53be4
fix(chat): user-friendly error messages
catomean Jan 15, 2026
977fa6b
Add detailed logging to chat API for debugging 503 errors
catomean Jan 15, 2026
0c1373e
feat: add extended timeouts for embedding routes and improve error ha…
catomean Jan 15, 2026
613a491
feat: add warmup endpoint to pre-load embedding model
catomean Jan 15, 2026
458b886
refactor: clean up API routes and components, add shared utilities
catomean Jan 16, 2026
4c49c78
fix: remove frequent warmup cron to comply with Hobby plan limits
catomean Jan 16, 2026
f542d6a
feat(auth): add rate limiting, email verification, password reset, an…
catomean Jan 19, 2026
2dfebb5
refactor(footer): use SSOT for routes, site config, and Logo component
catomean Jan 19, 2026
4859884
fix(research-assistant): remove broken GPT links
catomean Jan 19, 2026
702792e
fix(medical-expert): remove unverified GPT link from navigation
catomean Jan 19, 2026
e6fca29
feat(professionals): add minimal professional pages with chat demos a…
catomean Jan 20, 2026
d0aa9ae
docs: update About page, README, and clean up stale documentation
catomean Jan 20, 2026
ab643b2
feat: add public document chat demo at /try
catomean Jan 20, 2026
ae40614
fix: add "Try without signing up" option on /documents page
catomean Jan 20, 2026
c819668
feat: add missing platform pages and demo components
catomean Jan 20, 2026
7f607c8
feat: improve UX with skip option, PDF support, and better CTAs
catomean Jan 20, 2026
6f476f4
refactor: create shared BotHeroSection component (DRY principle)
catomean Jan 20, 2026
9c9aedc
feat: add user-centric architecture with profiles and domain tagging
catomean Jan 22, 2026
5e395aa
refactor: modularize large components and centralize email config
catomean Jan 23, 2026
4960b5f
fix: migrate from deprecated @supabase/auth-helpers-nextjs to @supaba…
catomean Jan 23, 2026
3e6cf83
feat: Migrate waitlist to Supabase and add error boundaries
catomean Jan 23, 2026
4faae52
chore: Remove obsolete pre-launch waitlist code
catomean Jan 23, 2026
3466196
chore: Remove swiss-german-teacher waitlist and update nav
catomean Jan 23, 2026
5e10e34
feat: add welcoming dashboard empty state for new users
catomean Jan 22, 2026
af88d16
docs(claude): add global standards reference and update date
catomean Jan 23, 2026
42b98e2
feat: major platform update with API improvements, shared components,…
catomean Jan 23, 2026
fce7cdb
fix: resolve lint warnings and build errors
catomean Jan 23, 2026
4907fc4
fix: add missing @supabase/ssr dependency
catomean Jan 23, 2026
ccafaec
fix: resolve test infrastructure issues
catomean Jan 23, 2026
92e3593
feat(llm): add multi-provider support with Ollama priority
catomean Jan 23, 2026
f57bd80
refactor: extract shared components for CLAUDE.md compliance
catomean Jan 23, 2026
4e8decb
refactor: migrate remaining files to shared LoadingSpinner
catomean Jan 23, 2026
62e1eb5
refactor: consolidate color constants to lib/config/colors.ts (SSOT)
catomean Jan 23, 2026
67c79e2
refactor: extract document status to constants and shared component (…
catomean Jan 23, 2026
55a925b
refactor: extract dashboard stats to custom hook and use DocumentStat…
catomean Jan 23, 2026
cd58f52
refactor: consolidate accent colors into SSOT config
catomean Jan 27, 2026
09ddc70
refactor: comprehensive code quality improvements (DRY, SSOT, SoC)
catomean Jan 27, 2026
3c77684
refactor(legal-expert): remove duplicate workspace components
catomean Jan 27, 2026
232d76a
refactor: code quality improvements (DRY, SSOT, inline styles)
catomean Jan 28, 2026
36b5652
chore: remove dead code files
catomean Jan 28, 2026
5e1da5c
chore: remove unused duplicate components
catomean Jan 28, 2026
f887246
refactor: add toDateString utility and DRY date formatting
catomean Jan 28, 2026
8bfd490
fix: add eslint-disable comments for dynamic external images
catomean Jan 28, 2026
f195154
chore: remove unused hooks and utilities
catomean Jan 28, 2026
22db278
refactor: consolidate formatFileSize duplicates to shared formatBytes
catomean Jan 28, 2026
23cff2b
chore: remove orphaned bot navigation components
catomean Jan 28, 2026
b2aa340
chore: remove orphaned governance components
catomean Jan 28, 2026
cd4ecee
chore: remove unused dependencies
catomean Jan 28, 2026
4160f98
chore: remove empty/orphaned files
catomean Jan 28, 2026
d11a63c
chore: remove orphaned styles and empty folders
catomean Jan 28, 2026
cf37cac
chore: remove orphaned files never imported anywhere
catomean Jan 28, 2026
a0d9d44
chore: remove orphaned lib/rag and search schema
catomean Jan 28, 2026
de5ac2c
chore: remove orphaned swiss-german-teacher support files
catomean Jan 28, 2026
88a4815
chore: cleanup orphaned bot files, restore needed utils
catomean Jan 28, 2026
879b136
fix(auth): lazy-load Supabase client to prevent crash without env vars
catomean Jan 28, 2026
6cebcd3
refactor(bots): config-driven bot pages architecture
catomean Jan 28, 2026
c60271b
fix(bots): add missing hero config for artistic-advisor
catomean Jan 28, 2026
4dba3eb
refactor(bots): make bots.ts SSOT for footer, menu, and bots page
catomean Jan 28, 2026
c462247
feat(chat): add model indicator, selector, privacy tiers & auth CTA
catomean Jan 29, 2026
9e3ef01
feat: add document categories and professional chat API
catomean Feb 2, 2026
ed0190b
fix(security): add prompt injection protection to all chat APIs
catomean Feb 2, 2026
41bd8bf
perf(api): add HTTP caching headers to reduce database load
catomean Feb 2, 2026
5beee22
fix(deps): patch fast-xml-parser vulnerability and improve Link usage
catomean Feb 2, 2026
febd206
fix(test): remove unused ts-expect-error directives
catomean Feb 2, 2026
07cb47e
refactor: fix DRY/SSOT violations and Tailwind build bug
catomean Feb 9, 2026
1071848
fix: replace remaining dynamic Tailwind class interpolations
catomean Feb 10, 2026
6435d06
chore: clean up stale docs, fix outdated dates and content
catomean Feb 10, 2026
1ed1c93
refactor: remove dead code, archive historical docs, fix README
catomean Feb 10, 2026
8ef6070
fix(api): mark auth stats/settings routes as dynamic
catomean Feb 17, 2026
7e6f383
chore(deps): bump fast-xml-parser from 5.3.4 to 5.3.7
dependabot[bot] Feb 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .call_count
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2
1 change: 1 addition & 0 deletions .circuit_breaker_history
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
10 changes: 10 additions & 0 deletions .circuit_breaker_state
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"state": "CLOSED",
"last_change": "2026-01-11T20:50:08+00:00",
"consecutive_no_progress": 0,
"consecutive_same_error": 0,
"last_progress_loop": 2,
"total_opens": 0,
"reason": "",
"current_loop": 2
}
86 changes: 86 additions & 0 deletions .claude/.ralph-loop.local.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Ralph Loop State

**Status**: ACTIVE
**Iteration**: 12
**Started**: 2024-01-13T22:20:00+01:00
**Max Iterations**: 50
**Completion Promise**: EXPERTISE_REFRESH_DONE

## Mission

Build Botsmann as a three-tier private AI node ecosystem: individuals, professionals, and their connections.

## Current Task

P12 - RAG Demo Complete - Ready for Next Phase

## Completed

- P9: Initial audit plan created
- P10: **FULL SITE AUDIT** - See `.claude/FULL_SITE_AUDIT.md`
- P11: **STRATEGIC DOCUMENTS CREATED**:
- `.claude/FULL_SITE_AUDIT.md` - What's broken
- `.claude/BILLION_DOLLAR_STRATEGY.md` - Technical architecture
- `.claude/HONEST_REBUILD_PLAN.md` - Consulting-first bootstrap
- `.claude/THREE_TIER_ECOSYSTEM.md` - Complete business model
- P12: **RAG DEMO BUILT**:
- `/lib/rag/search.ts` - Keyword-based search with TF-IDF-like scoring
- `/lib/rag/index.ts` - Module exports
- `/data/demo/swiss-german-knowledge.json` - 15 knowledge chunks
- `/app/api/demo/chat/route.ts` - Chat API with Zod validation
- `/app/demo/page.tsx` - Beautiful chat UI with suggestions
- Homepage "Try the Demo" button added

## The Vision

Three-tier private AI node ecosystem:

1. **Individuals**: Personal nodes at home (doctor, lawyer, advisor AI)
2. **Professionals**: Business nodes for firms (shared knowledge base)
3. **Connections**: Clients temporarily share data with professionals

## Progress Made (This Session)

### Fixed (Previous)

1. Homepage stats - Changed from fake "6+ AI Bots" to honest values
2. ConsultationForm - Now calls real `/api/contact` endpoint
3. Created `/api/contact` route - Stores submissions to JSON file
4. Fixed bot try links - Only bots with actual GPT links marked as "live"
5. Homepage featured bots - Only Heidi marked live, others marked "soon"
6. BotPageTemplate - Now provides `hasExternalLink` boolean
7. Homepage hero - "Your Data. Your AI. Your Control."
8. Featured section - "Private AI Assistants" with honest descriptions
9. How It Works - Updated to consulting flow
10. CTAs - Changed to "Book a Consultation" and "See How It Works"

### Built (This Session)

1. RAG Search Module (`/lib/rag/`)
- Keyword-based search with TF-IDF-like scoring
- Question matching boost
- Template-based response generation
2. Swiss German Knowledge Base (15 chunks)
- Greetings, numbers, food, directions
- Culture, quiet hours, dialects
- Work, transport, shopping, expressions, weather
3. Demo Chat API (`/app/api/demo/chat/route.ts`)
- Zod validation
- Returns sources with relevance scores
4. Demo Page (`/app/demo/page.tsx`)
- Beautiful chat interface
- Suggested questions
- Source citations
- Technical details section
5. Homepage "Try the Demo" button

### Still Pending

1. Set up Supabase for production data persistence (requires user account setup)
2. Extend RAG demo with Ollama integration (for real LLM responses)

### Short-term Goals

1. First consulting client
2. Technical blog posts
3. Individual node MVP
104 changes: 104 additions & 0 deletions .claude/CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Botsmann

@~/.claude/CLAUDE.md

---

## Overview

**Botsmann** is a modern AI bot platform featuring intelligent assistants for legal, medical, research, and language learning. Built with Next.js 14, deployed on Vercel.

---

## Tech Stack

| Layer | Technology |
| ---------- | ----------------------- |
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| Testing | Jest |
| Deployment | Vercel |

---

## Quick Start

```bash
cd /home/g/botsmann
npm install
npm run dev # Port 3000
npm run build # Production build
npm run lint # ESLint check
npm run test # Jest tests
```

---

## Project Structure

```
app/ # Next.js App Router pages
api/ # API routes
bots/ # Bot-specific pages
components/ # Shared UI components
lib/ # Utilities and helpers
types/ # TypeScript type definitions
data/ # Static data and configuration
```

---

## Domain-Specific Rules

### Bot Types

Each bot has a specific domain:

- Legal assistant
- Medical assistant
- Research assistant
- Language learning

### Component Pattern

```typescript
import { type FC } from 'react';

interface ComponentProps {
title: string;
onAction?: () => void;
}

export const Component: FC<ComponentProps> = ({ title, onAction }) => {
return (
<div className="p-4">
<h2 className="text-lg font-semibold">{title}</h2>
</div>
);
};
```

---

## Key Documentation

| Document | Purpose |
| ------------------------ | ------------------------- |
| `docs/BEST_PRACTICES.md` | DRY, SSOT, SoC principles |
| `docs/SHARED_CONTEXT.md` | Tech stack, architecture |
| `docs/COMMANDS.md` | npm scripts reference |
| `README.md` | Project overview |

---

## Don't

- Use `console.log` in production (use proper error handling)
- Hardcode API keys or secrets
- Use `any` type without justification
- Use inline styles (use Tailwind classes)

---

**Last Updated**: 2026-01-23
7 changes: 7 additions & 0 deletions .claude/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This folder contains historical audit/planning documents generated by AI. Some content is outdated (e.g., MongoDB references).

Use current sources instead:

- docs/SSOT.md
- docs/SUPABASE_SETUP.md
- docs/SHARED_CONTEXT.md
42 changes: 42 additions & 0 deletions .cursor/rules/code-quality.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
description: "Core code quality rules - DRY, SSOT, minimal changes"
alwaysApply: true
---

# Code Quality Rules

## Core Principles

### DRY (Don't Repeat Yourself)
- Extract repeated logic into reusable functions
- Check for existing utilities before creating new ones
- Use constants for repeated values

### SSOT (Single Source of Truth)
- Data should be defined in one place only
- Configuration lives in dedicated files
- Types are defined once and imported

### Minimal Changes
- Only modify what's necessary for the task
- Don't refactor unrelated code
- Don't add features not requested

## Before Making Changes

1. Search for existing similar functionality
2. Check if a utility already exists
3. Verify you're not duplicating code

## Code Patterns

- Use existing patterns found in the codebase
- Follow the file's existing style
- Don't introduce new patterns without reason

## What NOT to Do

- Don't add comments explaining obvious code
- Don't create abstractions for one-time use
- Don't add "nice to have" features
- Don't refactor working code unnecessarily
26 changes: 26 additions & 0 deletions .cursor/rules/testing.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
description: "Testing guidelines - run tests, verify changes"
alwaysApply: false
globs: ["**/*.test.*", "**/*.spec.*", "**/tests/**"]
---

# Testing Rules

## Before Committing

1. Run the test suite
2. Verify all tests pass
3. Add tests for new functionality

## Test Quality

- Test behavior, not implementation
- Keep tests focused and readable
- Use descriptive test names

## Commands

```bash
npm test # Run all tests
npm run test:watch # Watch mode
```
52 changes: 39 additions & 13 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
# MongoDB connection string
MONGODB_URI=mongodb://localhost:27017/botsmann

# API key for authentication
API_KEY=your-secure-api-key-here
NEXT_PUBLIC_API_KEY=your-secure-api-key-here

# Email Configuration
SENDGRID_API_KEY=your_sendgrid_api_key
SENDGRID_WELCOME_TEMPLATE_ID=your_template_id
EMAIL_FROM=noreply@botsmann.com
ADMIN_EMAIL=admin@botsmann.com
DASHBOARD_URL=https://app.botsmann.com/dashboard
# ===========================================
# Supabase Configuration (required)
# Get these from: https://supabase.com/dashboard/project/_/settings/api
# ===========================================
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=

# ===========================================
# Groq LLM (optional - free tier)
# Get your free API key at: https://console.groq.com
# 14,400 requests/day on free tier
# ===========================================
GROQ_API_KEY=

# ===========================================
# OpenRouter LLM (optional - alternative to Groq)
# Get your API key at: https://openrouter.ai/keys
# ===========================================
OPENROUTER_API_KEY=

# ===========================================
# API Authentication
# ===========================================
API_KEY=
NEXT_PUBLIC_API_KEY=

# ===========================================
# AWS SES Email Configuration (optional)
# ===========================================
NEXT_AWS_ACCESS_KEY_ID=
NEXT_AWS_SECRET_ACCESS_KEY=
NEXT_AWS_REGION=

# ===========================================
# Email Addresses
# ===========================================
FROM_EMAIL=
ADMIN_EMAIL=
1 change: 1 addition & 0 deletions .eslintcache

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended", "prettier"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-require-imports": "off",
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
"prefer-const": "error",
"no-var": "error",
"react/no-unescaped-entities": "off",
"react/display-name": "off",
"@next/next/no-img-element": "warn"
},
"env": {
"browser": true,
"node": true,
"es2021": true,
"jest": true
},
"ignorePatterns": [
"node_modules/",
".next/",
"dist/",
"build/",
"coverage/",
"*.config.js",
"*.config.mjs",
"healthcheck.js",
"scripts/"
]
}
8 changes: 8 additions & 0 deletions .exit_signals
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"test_only_loops": [],
"done_signals": [],
"completion_indicators": [
1,
2
]
}
Loading
Loading