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

Function notify

packages/opencode/test/fixture/tui-plugin.ts:194–196  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

192 },
193 attention: {
194 async notify(input) {
195 return opts.attention?.notify?.(input) ?? { ok: false, notification: false, sound: false }
196 },
197 soundboard: {
198 registerPack: (pack) => opts.attention?.soundboard?.registerPack?.(pack) ?? (() => {}),
199 activate: (id, options) => opts.attention?.soundboard?.activate?.(id, options) ?? false,

Callers 1

TestLLMServerClass · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected