The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
import { addons } from "storybook/preview-api";
/** Allows the browser suite to await and inspect Storybook interaction results. */
export const voiceStoryLifecycle = {
beforeEach() {
delete document.body.dataset.spekoStoryReady;
delete document.body.dataset.spekoStoryError;
const channel = addons.getChannel();
const report = (error: unknown) => { document.body.dataset.spekoStoryError = JSON.stringify(error); };
channel.on("playFunctionThrewException", report);
channel.on("unhandledErrorsWhilePlaying", report);
return () => {
channel.off("playFunctionThrewException", report);
channel.off("unhandledErrorsWhilePlaying", report);
};
},
afterEach({ id }: { id: string }) { document.body.dataset.spekoStoryReady = id; },
};