MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / parseCommand

Function parseCommand

src/runtime/adapters/web.ts:31–33  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

29}
30
31function parseCommand(text: string) {
32 return resolveCommand(text.trim().toLowerCase());
33}
34
35function sendWsEvent(ws: WebSocket, event: AgentEvent): void {
36 if (ws.readyState !== ws.OPEN) return;

Callers 1

handleWsConnectionMethod · 0.85

Calls 1

resolveCommandFunction · 0.85

Tested by

no test coverage detected