feat: add slides generation tool with multiple slide types
- Add slides.tool.ts with support for title, bullets, chart, stats, table, cards, timeline, quote, comparison, equation, image, summary slide types - Chart types: bar, horizontal-bar, line, donut, radar - Integrate with agent executor and canvas system - Add multilingual support (en/fr) - Various UI improvements and bug fixes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ const nextConfig: NextConfig = {
|
||||
// Enable standalone output for Docker
|
||||
output: 'standalone',
|
||||
|
||||
|
||||
// Pre-existing TS errors in 3rd-party import paths (next/cache cookies, AI SDK v6 maxSteps)
|
||||
// are false positives that don't affect runtime — skip type-check at build time
|
||||
typescript: {
|
||||
@@ -23,6 +24,35 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
// Apply to all routes
|
||||
source: '/(.*)',
|
||||
headers: [
|
||||
// Prevent clickjacking
|
||||
{ key: 'X-Frame-Options', value: 'SAMEORIGIN' },
|
||||
// Prevent MIME-type sniffing
|
||||
{ key: 'X-Content-Type-Options', value: 'nosniff' },
|
||||
// Limit referrer info to same-origin
|
||||
{ key: 'Referrer-Policy', value: 'strict-origin-when-cross-origin' },
|
||||
// Disable browser features not needed by the app
|
||||
{
|
||||
key: 'Permissions-Policy',
|
||||
value: 'camera=(), microphone=(), geolocation=(), payment=()',
|
||||
},
|
||||
// HSTS — enforce HTTPS for 1 year (prod only; harmless in dev)
|
||||
{
|
||||
key: 'Strict-Transport-Security',
|
||||
value: 'max-age=31536000; includeSubDomains',
|
||||
},
|
||||
// Legacy XSS filter for older browsers
|
||||
{ key: 'X-XSS-Protection', value: '1; mode=block' },
|
||||
],
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
async redirects() {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user