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
/**
* Markdown copied from a routine Overview heading.
* While the description editor is open, copy the draft. Otherwise copy the
* saved description so it can be pasted into a routine on another instance.
*/
export function routineOverviewCopyText(input: {
editing: boolean;
draft: string;
saved: string | null | undefined;
}): string {
return input.editing ? input.draft : input.saved ?? "";
}