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

Function printStatus

packages/llm/script/setup-recording-env.ts:305–307  ·  view source on GitHub ↗
(providers: ReadonlyArray<Provider>, fileEnv: Env)

Source from the content-addressed store, hash-verified

303 ].join("\n")
304
305const printStatus = (providers: ReadonlyArray<Provider>, fileEnv: Env) => {
306 prompts.note(providers.map((provider) => statusLine(provider, fileEnv)).join("\n\n"), `Recording env: ${envPath}`)
307}
308
309const exitIfCancel = <A>(value: A | symbol): A => {
310 if (!prompts.isCancel(value)) return value as A

Callers 1

Calls 1

statusLineFunction · 0.85

Tested by

no test coverage detected