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

Function questionAnswers

packages/opencode/src/cli/cmd/run/question.shared.ts:105–107  ·  view source on GitHub ↗
(state: QuestionBodyState, count: number)

Source from the content-addressed store, hash-verified

103}
104
105export function questionAnswers(state: QuestionBodyState, count: number): string[][] {
106 return Array.from({ length: count }, (_, idx) => state.answers[idx] ?? [])
107}
108
109export function questionSetTab(state: QuestionBodyState, tab: number): QuestionBodyState {
110 return {

Callers 1

questionSubmitFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected