docs(ocm): note cloning status in repo clone response

This commit is contained in:
Chris Scott committed 2026-10-05 15:00:00 -04:00
1 parent c9be507f4e
commit 5138cd6a76
1 file changed
+1 -1
+1 -1
View File
@@ -917,7 +917,7 @@ Clone a git repository into the repos root and register it with OpenCode Manager
}
\`\`\`
**Response:** the repo object (same shape as an entry in \`GET /repos\`) with \`cloneStatus: 'ready'\`.
**Response:** the repo object (same shape as an entry in \`GET /repos\`) with \`cloneStatus: 'ready'\` when the clone has finished, or \`'cloning'\` when an identical clone is still running. When it is \`'cloning'\`, poll \`GET /repos\` until it becomes \`'ready'\` before using the repo.
## Notes