What happened?
When editing an existing agent (a named, mutable chat bound to an agent — the composer shows an "Update Agent" button top-right instead of "Save Agent"), there is no way to delete the agent from the chat UI itself. The registry already supports it (DELETE /api/v1/agents/{agent_id}, packages/trueforge/src/routes/agentRoutes.ts / apis/agents.ts), and the AgentBuilderServer port already has an optional deleteAgent?(req: { agentName: string }) hook (@truefoundry/assistant-ui-runtime) — but nothing in packages/trueforge-ui calls it, and there's no button.
Expected behavior
Next to "Update Agent" (top right, in SaveAgentButton), add a "Delete Agent" action to its left, visible only while editing an existing agent. Clicking it should show a confirmation (using the app's existing modal/button UX, not a native confirm()) before permanently deleting the agent.
How are you running TrueForge?
npx (standalone / SQLite)
Version
main
What happened?
When editing an existing agent (a named, mutable chat bound to an agent — the composer shows an "Update Agent" button top-right instead of "Save Agent"), there is no way to delete the agent from the chat UI itself. The registry already supports it (
DELETE /api/v1/agents/{agent_id},packages/trueforge/src/routes/agentRoutes.ts/apis/agents.ts), and theAgentBuilderServerport already has an optionaldeleteAgent?(req: { agentName: string })hook (@truefoundry/assistant-ui-runtime) — but nothing inpackages/trueforge-uicalls it, and there's no button.Expected behavior
Next to "Update Agent" (top right, in
SaveAgentButton), add a "Delete Agent" action to its left, visible only while editing an existing agent. Clicking it should show a confirmation (using the app's existing modal/button UX, not a nativeconfirm()) before permanently deleting the agent.How are you running TrueForge?
npx (standalone / SQLite)
Version
main