MCPcopy Index your code
hub / github.com/anomalyco/opencode / update

Function update

packages/tui/src/plugin/runtime.tsx:22–25  ·  view source on GitHub ↗
(input: { commands?: PluginRuntimeCommands; status?: ReadonlyArray<TuiPluginStatus> })

Source from the content-addressed store, hash-verified

20 commands,
21 status,
22 update(input: { commands?: PluginRuntimeCommands; status?: ReadonlyArray<TuiPluginStatus> }) {
23 if (input.commands) setCommands(input.commands)
24 if (input.status) setStatus(input.status)
25 },
26 clear() {
27 setCommands(emptyCommands)
28 setStatus([])

Callers

nothing calls this directly

Calls 1

setStatusFunction · 0.85

Tested by

no test coverage detected