Dashboard › opencode › Permission.Source tool context
01a07ed7-361b-7ec3-a968-0d48722a8f8bAlways construct tool permission sources as { type: "tool" as const, messageID: context.messageID, id: context.id }. Omitting or rebuilding this optional-looking value loses canonical invocation correlation; source identity must come directly from the active tool context.