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

Function ready

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

Source from the content-addressed store, hash-verified

87 })
88 const open = () => props.open ?? state.open
89 const ready = () => state.ready
90 const pending = () => props.status === "pending" || props.status === "running"
91 const hasChildren = () => (props.defer ? "children" in props : props.children)
92 const dynamicTrigger = typeof props.trigger === "function" ? props.trigger(open) : undefined

Callers 1

BasicToolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected