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

Function clear

packages/tui/src/plugin/runtime.tsx:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 if (input.status) setStatus(input.status)
25 },
26 clear() {
27 setCommands(emptyCommands)
28 setStatus([])
29 slots.clear()
30 },
31 setupSlots(api: TuiPluginApi): HostSlots {
32 return slots.setup(api)
33 },

Callers

nothing calls this directly

Calls 2

setStatusFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected