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

Function getAuthStatusText

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

Source from the content-addressed store, hash-verified

33}
34
35function getAuthStatusText(status: MCP.AuthStatus): string {
36 switch (status) {
37 case "authenticated":
38 return "authenticated"
39 case "expired":
40 return "expired"
41 case "not_authenticated":
42 return "not authenticated"
43 }
44}
45
46type McpEntry = NonNullable<ConfigV1.Info["mcp"]>[string]
47

Callers 1

mcp.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected