13 Commits

Author SHA1 Message Date
Leon van Zyl
a3a151c67a feat: comprehensive boilerplate improvements
Security & Stability:
- Add Next.js 16 proxy.ts for BetterAuth cookie-based auth protection
- Add rate limiting for API routes (src/lib/rate-limit.ts)
- Add Zod validation for chat API request bodies
- Add session auth check to chat and diagnostics endpoints
- Add security headers in next.config.ts (CSP, X-Frame-Options, etc.)
- Add file upload validation and sanitization in storage.ts

Core UX Components:
- Add error boundaries (error.tsx, not-found.tsx, chat/error.tsx)
- Add loading states (skeleton.tsx, spinner.tsx, loading.tsx files)
- Add toast notifications with Sonner
- Add form components (input.tsx, textarea.tsx, label.tsx)
- Add database indexes for performance (schema.ts)
- Enhance chat UX: timestamps, copy-to-clipboard, thinking indicator,
  error display, localStorage message persistence

Polish & Accessibility:
- Add Open Graph and Twitter card metadata
- Add JSON-LD structured data for SEO
- Add sitemap.ts, robots.ts, manifest.ts
- Add skip-to-content link and ARIA labels in site-header
- Enable profile page quick action buttons with dialogs
- Update Next.js 15 references to Next.js 16

Developer Experience:
- Add GitHub Actions CI workflow (lint, typecheck, build)
- Add Prettier configuration (.prettierrc, .prettierignore)
- Add .nvmrc pinning Node 20
- Add ESLint rules: import/order, react-hooks/exhaustive-deps
- Add stricter TypeScript settings (exactOptionalPropertyTypes,
  noImplicitOverride)
- Add interactive setup script (scripts/setup.ts)
- Add session utility functions (src/lib/session.ts)

All changes mirrored to create-agentic-app/template/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 14:46:15 +02:00
Marcos Fernandez
b73ef9e345 fix: remove hardcoded Windows path from Claude settings
Remove platform-specific Windows path from additionalDirectories in Claude settings files to ensure cross-platform compatibility across Windows, macOS, and Linux.
2025-11-17 06:53:30 -08:00
Leon van Zyl
04958f1357 refactor: rename ui-developer agent to ui-expert and bump version
Renamed the ui-developer agent to ui-expert for better clarity and
consistency with naming conventions. This change affects both the root
project and the create-agentic-app template.

Changes made:
- Renamed .claude/agents/ui-developer.md to ui-expert.md in both root and template
- Updated agent name and references within agent configuration
- Bumped create-agentic-app version from 1.1.14 to 1.1.15
- Updated corresponding package-lock.json with new version

The agent's functionality and responsibilities remain unchanged - this is
purely a naming improvement to better reflect its role as a UI expert
rather than just a developer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 09:36:04 +02:00
Leon van Zyl
4b70e6ba33 clean up commands 2025-11-08 11:50:43 +02:00
Leon van Zyl
61e98f23cf refactor/ migrate from OpenAI to OpenRouter integration
Major improvements to AI integration and developer experience:

## OpenRouter Migration
- Replaced @ai-sdk/openai with @openrouter/ai-sdk-provider
- Updated chat API route to use OpenRouter for access to 100+ AI models
- Changed environment variables from OPENAI_* to OPENROUTER_*
- Updated default model from gpt-5-mini to openai/gpt-5-mini
- Benefits: Users can now access multiple AI providers (OpenAI, Anthropic, etc.) through a single unified API

## Documentation Overhaul
- Expanded CLAUDE.md from 3 lines to comprehensive 225-line guide
- Added complete project structure, tech stack overview, and AI integration guidelines
- Documented all environment variables, scripts, and common tasks
- Added critical rules for AI assistants working with the codebase
- Enhanced checkpoint command with detailed step-by-step instructions

## README Updates
- Updated feature list to highlight OpenRouter integration
- Revised setup instructions for OpenRouter API key acquisition
- Updated environment variable examples and deployment configuration
- Changed all OpenAI references to OpenRouter throughout documentation

## Create Command Updates
- Bumped create-agentic-app version from 1.0.0 to 1.0.1
- Synchronized all template files with main project documentation
- Updated template env.example and package.json with OpenRouter configuration

## Dependency Updates
- Added @openrouter/ai-sdk-provider@^1.2.0
- Updated @ai-sdk/openai from ^2.0.53 to ^2.0.60
- Updated @ai-sdk/react from ^2.0.78 to ^2.0.86
- Updated ai from ^5.0.78 to ^5.0.86
- Updated better-auth from ^1.3.29 to ^1.3.34
- Updated drizzle-kit from ^0.31.5 to ^0.31.6
- Updated eslint from ^9.38.0 to ^9.39.0
- Various type definition updates

Breaking Changes:
- Projects must update environment variables from OPENAI_* to OPENROUTER_*
- API keys must be obtained from openrouter.ai instead of platform.openai.com
- Model names now follow OpenRouter format (e.g., "openai/gpt-5-mini")

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 14:49:40 +02:00
Leon van Zyl
de07d5f495 agents/ add auth and payments agents 2025-10-24 13:25:50 +02:00
Leon van Zyl
a0de269975 ui/ replace emojis with lucide react icons 2025-08-27 08:13:09 +02:00
Leon van Zyl
bc1c5355df commands/ add fix build command 2025-08-21 07:07:19 +02:00
Leon van Zyl
68398567b9 ui/ add dark and light mode toggle 2025-08-16 10:57:50 +02:00
Leon van Zyl
08aca0997e docs/ add commands 2025-08-15 11:32:37 +02:00
Leon van Zyl
5ad6227553 add dev server command 2025-08-15 08:32:54 +02:00
Leon van Zyl
ec36523f22 update commands 2025-08-13 17:30:07 +02:00
Leon van Zyl
15a2efbd17 Update CLAUDE.md with build verification instructions and add .claude config
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 15:24:42 +02:00