MCPcopy Index your code
hub / github.com/openai/codex-plugin-cc / buildResumeParams

Function buildResumeParams

plugins/codex/scripts/lib/codex.mjs:75–83  ·  view source on GitHub ↗

@returns {ThreadResumeParams}

(threadId, cwd, options = {})

Source from the content-addressed store, hash-verified

73
74/** @returns {ThreadResumeParams} */
75function buildResumeParams(threadId, cwd, options = {}) {
76 return {
77 threadId,
78 cwd,
79 model: options.model ?? null,
80 approvalPolicy: options.approvalPolicy ?? "never",
81 sandbox: options.sandbox ?? "read-only"
82 };
83}
84
85/** @returns {UserInput[]} */
86function buildTurnInput(prompt) {

Callers 1

resumeThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected