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

Function currentPack

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

Source from the content-addressed store, hash-verified

139 }
140
141 function currentPack() {
142 return packs.get(configuredPackID()) ?? BUILTIN_PACK
143 }
144
145 function soundCandidates(name: TuiAttentionSoundName) {
146 return [input.config.attention.sounds[name], currentPack().sounds[name], BUILTIN_PACK.sounds[name]].filter(

Callers 3

soundCandidatesFunction · 0.85
currentFunction · 0.85
listFunction · 0.85

Calls 2

configuredPackIDFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected