docs: document the OpenCode client migration surfaces (OM-179)

Adds JSDoc comments to the functions this branch adds or changes, so the touched-code docstring coverage clears the review threshold. Comments only; no code, formatting or import changes.
This commit is contained in:
Chris Scott committed 2026-11-05 16:32:43 -05:00
1 parent 64e87ba1ea
commit 6297403a41
41 files changed
+691

No files matched your search

+4
View File
@@ -214,6 +214,10 @@ export async function probeOpenCodeServer(
}
}
/**
* Extracts a human-readable message from an unknown thrown value, falling back to `String(error)`
* for non-`Error` values.
*/
function messageOf(error: unknown): string {
return error instanceof Error ? error.message : String(error)
}