MCPcopy Create free account
hub / github.com/anomalyco/opencode / categoryRank

Function categoryRank

packages/opencode/src/cli/cmd/run/footer.command.tsx:99–109  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

97}
98
99function categoryRank(category: string) {
100 if (category === "Project Commands") {
101 return 0
102 }
103
104 if (category === "MCP Commands") {
105 return 1
106 }
107
108 return 2
109}
110
111function subagentStatusLabel(status: FooterSubagentTab["status"]) {
112 if (status === "completed") {

Callers 1

RunCommandMenuBodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected