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

Function questionInfo

packages/opencode/src/cli/cmd/run/question.shared.ts:66–68  ·  view source on GitHub ↗
(request: QuestionRequest, state: QuestionBodyState)

Source from the content-addressed store, hash-verified

64}
65
66export function questionInfo(request: QuestionRequest, state: QuestionBodyState): QuestionInfo | undefined {
67 return request.questions[state.tab]
68}
69
70export function questionCustom(request: QuestionRequest, state: QuestionBodyState): boolean {
71 return questionInfo(request, state)?.custom !== false

Callers 7

RunQuestionBodyFunction · 0.90
questionCustomFunction · 0.85
questionOtherFunction · 0.85
questionTotalFunction · 0.85
questionSelectFunction · 0.85
questionSaveFunction · 0.85
questionHintFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected