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

Function question

packages/opencode/test/cli/run/subagent-data.test.ts:138–151  ·  view source on GitHub ↗
(id: string, sessionID: string)

Source from the content-addressed store, hash-verified

136}
137
138function question(id: string, sessionID: string) {
139 return {
140 id,
141 sessionID,
142 questions: [
143 {
144 question: "Mode?",
145 header: "Mode",
146 options: [{ label: "Fast", description: "Quick pass" }],
147 multiple: false,
148 },
149 ],
150 }
151}
152
153function childMessage(input: {
154 messageID: string

Callers 2

RunFooterViewFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected