Files
oh-my-opencode/src/tools/delegate-task/resolve-call-id.ts
T
2026-05-08 17:44:26 +09:00

6 lines
189 B
TypeScript

import type { ToolContextWithMetadata } from "./types"
export function resolveCallID(ctx: ToolContextWithMetadata): string | undefined {
return ctx.callID ?? ctx.callId ?? ctx.call_id
}