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

Function getAuthStatusIcon

packages/opencode/src/cli/cmd/mcp.ts:24–33  ·  view source on GitHub ↗
(status: MCP.AuthStatus)

Source from the content-addressed store, hash-verified

22import { Effect } from "effect"
23
24function getAuthStatusIcon(status: MCP.AuthStatus): string {
25 switch (status) {
26 case "authenticated":
27 return "✓"
28 case "expired":
29 return "⚠"
30 case "not_authenticated":
31 return "✗"
32 }
33}
34
35function getAuthStatusText(status: MCP.AuthStatus): string {
36 switch (status) {

Callers 1

mcp.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected