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

Function setConfig

plugins/codex/scripts/lib/state.mjs:153–160  ·  view source on GitHub ↗
(cwd, key, value)

Source from the content-addressed store, hash-verified

151}
152
153export function setConfig(cwd, key, value) {
154 return updateState(cwd, (state) => {
155 state.config = {
156 ...state.config,
157 [key]: value
158 };
159 });
160}
161
162export function getConfig(cwd) {
163 return loadState(cwd).config;

Callers 1

handleSetupFunction · 0.90

Calls 1

updateStateFunction · 0.85

Tested by

no test coverage detected