feat(delegate-task): add call ID resolution utility

This commit is contained in:
YeonGyu-Kim
2026-05-08 17:44:26 +09:00
parent 1bb36314bd
commit 93169a30ef
2 changed files with 45 additions and 0 deletions
@@ -0,0 +1,5 @@
import type { ToolContextWithMetadata } from "./types"
export function resolveCallID(ctx: ToolContextWithMetadata): string | undefined {
return ctx.callID ?? ctx.callId ?? ctx.call_id
}