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

Function blockerStatus

packages/opencode/src/cli/cmd/run/session-data.ts:231–241  ·  view source on GitHub ↗
(view: FooterView)

Source from the content-addressed store, hash-verified

229}
230
231export function blockerStatus(view: FooterView) {
232 if (view.type === "permission") {
233 return "awaiting permission"
234 }
235
236 if (view.type === "question") {
237 return "awaiting answer"
238 }
239
240 return ""
241}
242
243function pickSessionView(data: SessionData): FooterView {
244 return pickBlockerView({

Callers 2

composeFooterFunction · 0.90
queueFooterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected