UNPKG

@catladder/pipeline

Version:

Panter workflow for cloud CI/CD and DevOps

10 lines (7 loc) 321 B
import type { AgentContext } from "../../types"; export const getAgentUserName = (context: AgentContext) => { return context.agentConfig.agentUser?.username ?? "agent.claude"; }; export const getAgentUserId = (context: AgentContext) => { return context.agentConfig.agentUser?.userId ?? "$DEFAULT_AGENT_USER_ID"; };