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

Method isIpcRequest

src/runtime/adapters/ipc.ts:151–159  ·  view source on GitHub ↗
(message: unknown)

Source from the content-addressed store, hash-verified

149 }
150
151 private isIpcRequest(message: unknown): message is IpcRequest {
152 if (!message || typeof message !== "object") return false;
153 const maybe = message as Record<string, unknown>;
154 return (
155 typeof maybe.id === "string" &&
156 typeof maybe.type === "string" &&
157 IPC_REQUEST_TYPES.has(maybe.type as IpcRequest["type"])
158 );
159 }
160
161 private async handleRequest(request: IpcRequest): Promise<void> {
162 if (!this.agent || !this.conversationService) {

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected