Skip to content

Add harness-chat example#302

Merged
ctate merged 5 commits into
mainfrom
example/harness-agent-ui
Jun 15, 2026
Merged

Add harness-chat example#302
ctate merged 5 commits into
mainfrom
example/harness-agent-ui

Conversation

@ctate

@ctate ctate commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

The example pins matching AI SDK 7 canary packages so the harness adapter, React hooks, and Vercel sandbox transport resolve together

ctate added 3 commits June 15, 2026 10:27
A Claude Code agent runs in a Vercel Sandbox via AI SDK 7's experimental HarnessAgent and reports its work (steps, file changes, terminal output, test results) as a streamed json-render spec. Because HarnessAgent.stream() returns a standard StreamTextResult, the existing pipeJsonRender -> useJsonRenderMessage pipeline works unchanged.

The example pins matching AI SDK 7 canary packages so the harness adapter, React hooks, and Vercel sandbox transport resolve together under the workspace release-age policy.
- allowedDevOrigins for the portless proxy origin (Next 16 silently fails to hydrate on non-allowlisted cross-origin dev requests)
- serverExternalPackages for the harness adapter, which loads its sandbox bridge via new URL(..., import.meta.url) and cannot be bundled
- README: document CLI-login (TTY) vs OIDC sandbox auth paths
- Add a UI agent selector (Claude Code / Codex / Pi) with per-agent harness sessions and monochrome brand marks
- Add monochrome bar/line chart components to the catalog and registry
- Polish the chat shell: minimalist Geist/Geist-Mono design, tool-call icons + containers, inline-code shading, and a working text shimmer
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
json-render Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-chat-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-dashboard-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-game-engine-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-image-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-no-ai Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-react-email-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-react-pdf-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-react-three-fiber-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-remotion-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-solid-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-svelte-chat-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-svelte-demo Ready Ready Preview, Comment Jun 15, 2026 3:42pm
json-render-vue Ready Ready Preview, Comment Jun 15, 2026 3:42pm

@socket-security

Copy link
Copy Markdown

- Replace the ASCII data-flow sketch with a mermaid flowchart and a sequence diagram of a turn
- Update prose/setup to reflect the three-agent selector (Claude Code / Codex / Pi)
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