Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
118
function
persist() {
119
try {
120
writeJsonAtomic(FILE, _state);
121
} catch (e) {
122
log.warn(`runtime-config: failed to persist: ${e.message}`);
123
}
124
}
125
126
load();
127
Callers
5
setExperimental
Function · 0.85
setSystemPrompts
Function · 0.85
resetSystemPrompt
Function · 0.85
setRuntimeApiKey
Function · 0.85
setRuntimeDashboardPassword
Function · 0.85
Calls
1
writeJsonAtomic
Function · 0.90
Tested by
no test coverage detected