MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / getSecret

Function getSecret

desktop/main.mjs:205–208  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

203}
204
205async function getSecret(key) {
206 const store = await readSecretStore()
207 return decodeSecret(store[key])
208}
209
210async function setSecret(key, value) {
211 const store = await readSecretStore()

Callers 1

registerIpcFunction · 0.85

Calls 2

readSecretStoreFunction · 0.85
decodeSecretFunction · 0.85

Tested by

no test coverage detected