MCPcopy Create free account
hub / github.com/anomalyco/opencode / configuredPackID

Function configuredPackID

packages/tui/src/attention.ts:136–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 input.renderer.on("blur", onBlur)
135
136 function configuredPackID() {
137 const stored = input.kv?.get<string | undefined>(KV_SOUND_PACK, undefined)
138 return activePackID ?? stored ?? input.config.attention.sound_pack
139 }
140
141 function currentPack() {
142 return packs.get(configuredPackID()) ?? BUILTIN_PACK

Callers 1

currentPackFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected