MCPcopy
hub / github.com/openai/codex-plugin-cc / resumeThread

Function resumeThread

plugins/codex/scripts/lib/codex.mjs:750–752  ·  view source on GitHub ↗
(client, threadId, cwd, options = {})

Source from the content-addressed store, hash-verified

748}
749
750async function resumeThread(client, threadId, cwd, options = {}) {
751 return client.request("thread/resume", buildResumeParams(threadId, cwd, options));
752}
753
754function buildResultStatus(turnState) {
755 return turnState.finalTurn?.status === "completed" ? 0 : 1;

Callers 1

runAppServerTurnFunction · 0.85

Calls 2

buildResumeParamsFunction · 0.85
requestMethod · 0.80

Tested by

no test coverage detected