Skip to content

feat(agent): reusable panel, interactive components, choices in answers - #68

Merged
forge-ui merged 2 commits into
mainfrom
feat/agent-panel
Nov 16, 2026
Merged

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

Conversation

@forge-ui

Copy link
Copy Markdown
Owner

Summary

  • AgentPanel: the Forge Agent chrome without a runtime (launcher, side panel with page inset, header with new chat and an optional history menu, conversation, composer). ForgeAgent is rebuilt on it with no behaviour change. forge-starter will render its Ask AI harness turns inside it.
  • ChoiceCard, ConfirmCard, RunProgress: pick from candidates (single, multiple, free text), confirm a change (before → after fields, working/done/cancelled states), follow the steps of a run.
  • forge:choices block: the model can offer 2–8 options; a pick is sent as the user's next message and the card then shows the pick.
  • @forge-ui-official/agent 0.3.0.

Test plan

  • pnpm check; agent tests 45
  • Real qwen3.8-flash on the local site: greeting answer offers a choices card

🤖 Generated with Claude Code

- AgentPanel: the Forge Agent chrome (launcher, side panel, header with new chat and history,
  conversation, composer) without a runtime, so an app with its own runtime, such as the Ask AI
  harness in forge-starter, renders its turns in the same panel. ForgeAgent now uses it.
- ChoiceCard, ConfirmCard, RunProgress: components the agent puts in front of the user to pick
  from candidates, confirm a change and follow a run.
- forge:choices: the model can offer options in an answer; a pick is sent as the next message
  and the card then shows what was picked.

Agent 0.3.0.

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

vercel Bot commented Nov 16, 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 16, 2026 4:28am UTC

…do not fail a run

- Each export also has a default condition, so CommonJS callers (tsx in a non-module package)
  resolve the ESM build; Node 22 can require it.
- The harness entry exports beginTask and the settle helpers that adapters' tests use.
- RunProgress marks a run failed only when its last step failed, not when a step was retried.

Found while moving forge-starter onto the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@forge-ui
forge-ui merged commit cf72545 into main Nov 16, 2026
3 checks passed
@forge-ui
forge-ui deleted the feat/agent-panel branch November 16, 2026 06:28

This branch was successfully deployed

1 active deployment
Preview — 1c53e723 Deployed Nov 16, 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