MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / persist

Function persist

src/runtime-config.js:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118function persist() {
119 try {
120 writeJsonAtomic(FILE, _state);
121 } catch (e) {
122 log.warn(`runtime-config: failed to persist: ${e.message}`);
123 }
124}
125
126load();
127

Callers 5

setExperimentalFunction · 0.85
setSystemPromptsFunction · 0.85
resetSystemPromptFunction · 0.85
setRuntimeApiKeyFunction · 0.85

Calls 1

writeJsonAtomicFunction · 0.90

Tested by

no test coverage detected