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

Function handleOpenChange

packages/session-ui/src/components/basic-tool.tsx:176–180  ·  view source on GitHub ↗
(value: boolean)

Source from the content-addressed store, hash-verified

174 })
175
176 const handleOpenChange = (value: boolean) => {
177 if (pending()) return
178 if (props.locked && !value) return
179 setOpen(value)
180 }
181
182 const trigger = () => (
183 <div

Callers

nothing calls this directly

Calls 2

pendingFunction · 0.70
setOpenFunction · 0.70

Tested by

no test coverage detected