Add agent selection and artifact management to RowboatX UI

- Implemented agent selection dropdown in the input area.
- Enhanced artifact management with loading, saving, and error handling.
- Added new API routes for fetching agent summaries and run details.
- Updated sidebar to display agents, configurations, and runs dynamically.
- Introduced theme selection options in the user navigation menu.
This commit is contained in:
tusharmagar 2025-12-15 10:01:48 +05:30 committed by Ramnique Singh
parent b1f6e64244
commit 023a65de45
8 changed files with 965 additions and 251 deletions

View file

@ -427,6 +427,13 @@ export class AgentState {
this.runId = event.runId;
this.agentName = event.agentName;
break;
case "spawn-subflow":
// Seed the subflow state with its agent so downstream loadAgent works.
if (!this.subflowStates[event.toolCallId]) {
this.subflowStates[event.toolCallId] = new AgentState();
}
this.subflowStates[event.toolCallId].agentName = event.agentName;
break;
case "message":
this.messages.push(event.message);
if (event.message.content instanceof Array) {