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

Function value

packages/opencode/src/cli/cmd/run/footer.question.tsx:337–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

335 <For each={props.request.questions}>
336 {(item, index) => {
337 const value = () => state().answers[index()]?.join(", ") ?? ""
338 const answered = () => Boolean(value())
339 return (
340 <box paddingLeft={1}>

Callers 2

answeredFunction · 0.70
RunQuestionBodyFunction · 0.70

Calls 2

stateFunction · 0.70
indexFunction · 0.50

Tested by

no test coverage detected