feat: live browser panel, Opus 4.8, and template format
Merged
SH
4mo ago+792+792+012345678901234567890123456789-36-36-01234567890123456789
Polishes the scaffold into a real, deployable template.
Changes
- Live browser panel —
app/_components/browser-panel.tsxembeds the agent's cloud browser (<iframe src={liveUrl}>);agent-chat.tsxextracts the liveUrl and shows a split chat/browser layout (likechat-ui-example). - Model →
anthropic/claude-opus-4.8;@browser_use/eve→^0.0.4. - Format (mirrors
vercel-labs/personal-agent-template): README with banner/badges/Deploy button/Features/Architecture/Quick Start,docs/(ARCHITECTURE, ENVIRONMENT, CUSTOMIZATION),.github/(CI, issue/PR templates), CONTRIBUTING, CODE_OF_CONDUCT, .editorconfig.
Verified
npm run typecheck+next buildpass.- Browse + the panel confirmed working live (clean HN/example.com runs).
🤖 Generated with Claude Code
Summary by cubic
Adds a live browser panel next to chat and reshapes the repo into a deployable template with docs and CI. Sets the default model to anthropic/claude-opus-4.8, bumps @browser_use/eve to ^0.0.4, and hardens the live view with origin-safe liveUrl parsing and a sandboxed iframe.
-
New Features
- Split chat/browser layout with an embedded live view via
BrowserPanel(<iframe src={liveUrl}>). AgentChatextracts the latestliveUrlfrom messages and renders the panel when available.
- Split chat/browser layout with an embedded live view via
-
Refactors
- Security hardening: origin-safe
liveUrlregex and watch-only iframe (sandbox="allow-scripts allow-same-origin"). - Default model →
anthropic/claude-opus-4.8; bump@browser_use/eve→^0.0.4; adopt template format (README,docs/—Architecture/Environment/Customization,.github/CI and templates,CONTRIBUTING,CODE_OF_CONDUCT,.editorconfig,.env.localdocs, fixed project tree).
- Security hardening: origin-safe