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

Function buildThreadParams

plugins/codex/scripts/lib/codex.mjs:63–72  ·  view source on GitHub ↗

@returns {ThreadStartParams}

(cwd, options = {})

Source from the content-addressed store, hash-verified

61
62/** @returns {ThreadStartParams} */
63function buildThreadParams(cwd, options = {}) {
64 return {
65 cwd,
66 model: options.model ?? null,
67 approvalPolicy: options.approvalPolicy ?? "never",
68 sandbox: options.sandbox ?? "read-only",
69 serviceName: SERVICE_NAME,
70 ephemeral: options.ephemeral ?? true
71 };
72}
73
74/** @returns {ThreadResumeParams} */
75function buildResumeParams(threadId, cwd, options = {}) {

Callers 1

startThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected