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 type { ActorInfo } from "./types.js";
export function actorBinding(actor: ActorInfo | undefined) {
return {
actorType: actor?.actorType ?? null,
actorId: actor?.actorId ?? null,
sessionId:
typeof actor?.sessionId === "string" && actor.sessionId.trim().length > 0
? actor.sessionId
: null,
};
}