diff --git a/packages/opencode/src/kilocode/plugins/sidebar-pr.tsx b/packages/opencode/src/kilocode/plugins/sidebar-pr.tsx index 6319f5e148..1da6b70ab9 100644 --- a/packages/opencode/src/kilocode/plugins/sidebar-pr.tsx +++ b/packages/opencode/src/kilocode/plugins/sidebar-pr.tsx @@ -8,7 +8,10 @@ const GH_PROBE_TTL = 300_000 type Pr = { number: number; title: string } type Item = Partial & { headRefOid?: string } -type Repo = { nameWithOwner?: unknown; parent?: { nameWithOwner?: unknown } | null } +type Repo = { + nameWithOwner?: unknown + parent?: { nameWithOwner?: unknown; name?: unknown; owner?: { login?: unknown } } | null +} let ghPath: string | null | undefined let ghProbeTime = 0 @@ -115,10 +118,17 @@ async function lookupParent(cwd: string, signal: AbortSignal): Promise