mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-18 14:13:06 +00:00
- Remove .claude/skills (symlinks) e a árvore .cursor (rules, hooks, skills) - Adiciona .agents/ com skills (+ references/), rules/, hooks/ e scripts - Adiciona .codex/hooks.json (hook do impeccable) - Corrige referências .cursor → .agents em environment.json, hooks.json e AGENTS.md
7 lines
252 B
JavaScript
7 lines
252 B
JavaScript
/** Check if content looks like a full page (not a component/partial) */
|
|
function isFullPage(content) {
|
|
const stripped = content.replace(/<!--[\s\S]*?-->/g, '');
|
|
return /<!doctype\s|<html[\s>]|<head[\s>]/i.test(stripped);
|
|
}
|
|
|
|
export { isFullPage };
|