From 5138cd6a7695ecc47b843c7f3e695d40fb3146a4 Mon Sep 17 00:00:00 2001 From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com> Date: Mon, 5 Oct 2026 15:00:00 -0400 Subject: [PATCH] docs(ocm): note cloning status in repo clone response --- backend/src/services/assistant-mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/assistant-mode.ts b/backend/src/services/assistant-mode.ts index 1c416b1a..c01dcbdb 100644 --- a/backend/src/services/assistant-mode.ts +++ b/backend/src/services/assistant-mode.ts @@ -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