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

Function trigger

packages/tui/src/plugin/command-shim.ts:100–103  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

98 })
99 },
100 trigger(value) {
101 warnOnce("api.command.trigger", "api.keymap.dispatchCommand(name)", warnCommandShim)
102 keymap.dispatchCommand(value)
103 },
104 show() {
105 warnOnce("api.command.show", `api.keymap.dispatchCommand("${COMMAND_PALETTE_SHOW}")`, warnCommandShim)
106 keymap.dispatchCommand(COMMAND_PALETTE_SHOW)

Callers 2

HomeHintFunction · 0.50
WhichKeyPanelFunction · 0.50

Calls 1

warnOnceFunction · 0.85

Tested by

no test coverage detected