Prorate invoices when a plan changes mid-cycle, and test it.
Agent Code Workspace
agent-code-workspaceA coding agent at work: the conversation with its step log and test run on the left, and on the right the changed files as streaming diffs and the new file being written. One view at a time on a phone.
agent-code-workspace.demo.tsx
import { AgentCodeWorkspace } from "@/components/forme/blocks/agent-code-workspace/agent-code-workspace";
export function AgentCodeWorkspaceDemo() {
return (
<div className="h-[44rem] w-full overflow-hidden rounded-xl border border-border">
<AgentCodeWorkspace />
</div>
);
}Install
$npxshadcnadd@forme/agent-code-workspace
Adds the component, its registry dependencies, and the token stylesheet you import once.
API reference
Read from the source, so it is the API of the file you install. A prop marked * is required.
AgentCodeWorkspace
A coding agent at work: the conversation on the left, what it changed on the right.
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — |
Related
ProCheckpoint
A point in an agent conversation you can go back to: a labelled hairline between turns with Restore, which confirms first and says exactly what will be discarded. The latest is marked current.
ai
ProFile Tree
The files an agent is working in as a real tree: one tab stop, arrow keys, Home and End, files it added, modified or deleted marked A, M and D, and each folder counting the changes inside it.
ai
ProPlan
The plan an agent proposes before it acts: a title, the approach, and numbered steps with the files each touches. It streams in with a waiting line for the next step, and offers Build and Revise only once it is complete.
ai