Repository navigation
feat(agent): Forge Agent name, accent launcher, components inside the answer - #65
Merged
Merged
Conversation
…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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--accentinstead of black (Intercom, Kapa and Inkeep launchers take the brand's primary colour); newplaceholderprop.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 writesforge:cards,forge:steps,forge:table,forge:metrics,forge:chartandforge:followupsblocks 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.previewon 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/agent0.2.0 (not published yet).Measured with qwen3.8-flash (local, same questions)
What remains is mostly answer length (about 2,000 characters).
Test plan
pnpm check; agent tests (20, new block parsing tests)🤖 Generated with Claude Code