story-kit: merge 255_story_show_agent_logs_in_expanded_story_popup

This commit is contained in:
Dave
2026-03-17 00:46:52 +00:00
parent c132d4f5c0
commit be61803af0
2 changed files with 147 additions and 0 deletions

View File

@@ -108,6 +108,14 @@ export const agentsApi = {
baseUrl,
);
},
getAgentOutput(storyId: string, agentName: string, baseUrl?: string) {
return requestJson<{ output: string }>(
`/agents/${encodeURIComponent(storyId)}/${encodeURIComponent(agentName)}/output`,
{},
baseUrl,
);
},
};
/**