Skip to content

feat(agent): Forge Agent name, accent launcher, components inside the answer - #65

Merged
forge-ui merged 2 commits into
mainfrom
feat/agent-polish
Nov 15, 2026
Merged

forge-ui merged 2 commits into
mainfrom
feat/agent-polish

Conversation

@forge-ui

@forge-ui forge-ui commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • The site assistant is called Forge Agent; the launcher uses --accent instead of black (Intercom, Kapa and Inkeep launchers take the brand's primary colour); new placeholder prop.
  • Components inside the answer. Every show_* tool call ended a model step, so one answer took a round per card/table/step list (install question: 8 rounds, 28 s). The model now writes forge:cards, forge:steps, forge:table, forge:metrics, forge:chart and forge:followups blocks into its text; the panel splits them out while streaming and renders them through the same validated catalog (number grounding unchanged). Plain code fences render as a compact code view or a copyable command. Tools remain for lookups and page operation.
  • Card previews. preview on a card draws a same-site page as a scaled thumbnail (lazy, inert, hidden on 404). The site assistant previews blocks (/blocks/<slug>/preview) and templates; it is not mounted inside frames.
  • @forge-ui-official/agent 0.2.0 (not published yet).

Measured with qwen3.8-flash (local, same questions)

Question Before After
Forge 怎么安装? 8 rounds, text at ~10 s, 28 s 2 rounds, text at 6 s, 17–19 s
StatusBadge 怎么设置颜色? 5 rounds, 20–43 s text at 3–5 s, 15 s
做订单列表页用哪些组件? — 3 rounds, text at 6–9 s, 15–19 s

What remains is mostly answer length (about 2,000 characters).

Test plan

  • pnpm check; agent tests (20, new block parsing tests)
  • Browser: cards with live previews, compact code, follow-ups; light and dark launcher

🤖 Generated with Claude Code

…ent colour

The launcher takes the theme's accent instead of black, as product launchers usually take the
brand's primary colour. The composer placeholder no longer derives from the title, which read
oddly for names that do not start with 问; a placeholder prop sets it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
forge Ready Ready Preview Nov 15, 2026 12:38pm UTC

Each show_* tool call ended a model step, so a single answer took one round per card, table or
step list (8 rounds, 28 s for the install question). The model now writes components as fenced
forge:* blocks in its text; the panel splits them out while streaming (an unclosed block waits)
and renders them with the same validated catalog. Plain code fences become a compact code view
or a copyable command. Tools are left for looking things up and operating the page.

Cards can carry a preview: a same-site page drawn as a scaled thumbnail, hidden if it 404s. The
site assistant previews blocks and templates, is not mounted inside frames, and looks a component
up once. Agent package 0.2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@forge-ui forge-ui changed the title feat(agent): Forge Agent name and accent-coloured launcher feat(agent): Forge Agent name, accent launcher, components inside the answer Nov 15, 2026
@forge-ui
forge-ui merged commit b619900 into main Nov 15, 2026
3 checks passed
@forge-ui
forge-ui deleted the feat/agent-polish branch November 15, 2026 12:55

This branch was successfully deployed

1 active deployment
Preview — 783c08d4 Deployed Nov 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant