feat(skills): update BPS & static skills, add audience to brief, inline angle/hook editing and montage notes

This commit is contained in:
Marcos Fargas
2026-10-12 20:32:15 +02:00
parent 34ce46774d
commit 317a3aa46d
9 changed files with 277 additions and 55 deletions

View File

@@ -4,6 +4,8 @@ import { createClient } from '@supabase/supabase-js';
import fs from 'fs';
import path from 'path';
export const dynamic = 'force-dynamic';
export async function GET(req: NextRequest) {
const auth = await authenticateIntegrationRequest(req, { requireTenant: true });
if (!auth.ok) {
@@ -61,13 +63,20 @@ export async function GET(req: NextRequest) {
}
}
return NextResponse.json({
data: {
return NextResponse.json(
{
data: {
client_skill: clientSkill,
format_skill: formatSkill,
},
// Compatibilidad en primer nivel
client_skill: clientSkill,
format_skill: formatSkill,
},
// Compatibilidad en primer nivel
client_skill: clientSkill,
format_skill: formatSkill,
});
{
headers: {
'Cache-Control': 'no-store, no-cache, must-revalidate, proxy-revalidate',
},
}
);
}