MCPcopy
hub / github.com/anomalyco/opencode / writeWindowIDs

Function writeWindowIDs

packages/desktop/src/main/windows.ts:235–237  ·  view source on GitHub ↗
(ids: string[])

Source from the content-addressed store, hash-verified

233}
234
235function writeWindowIDs(ids: string[]) {
236 getStore().set(WINDOW_IDS_KEY, [...new Set(ids)])
237}
238
239function persistWindowID(id: string) {
240 const ids = readWindowIDs()

Callers 2

persistWindowIDFunction · 0.85
removeWindowIDFunction · 0.85

Calls 2

getStoreFunction · 0.90
setMethod · 0.45

Tested by

no test coverage detected