MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isStdoutMessage

Function isStdoutMessage

source code/server/directConnectManager.ts:33–40  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

31}
32
33function isStdoutMessage(value: unknown): value is StdoutMessage {
34 return (
35 typeof value === 'object' &&
36 value !== null &&
37 'type' in value &&
38 typeof value.type === 'string'
39 )
40}
41
42export class DirectConnectSessionManager {
43 private ws: WebSocket | null = null

Callers 1

connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected