UNPKG

opencode-agent-kit

Version:

Multi-stack OpenCode agent toolkit — 33+ specialized AI agents, 200+ skills, 46 commands, 8 MCP servers (Nuxt, React, Node.js, Laravel, CI3, Android, Flutter, DevOps, SEO, SonarQube, and more)

8 lines (6 loc) 252 B
/** 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 };