MCPcopy Index your code
hub / github.com/codeaashu/claude-code / writeStdin

Function writeStdin

src/bridge/sessionRunner.ts:519–526  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

517 }
518 },
519 writeStdin(data: string): void {
520 if (child.stdin && !child.stdin.destroyed) {
521 deps.onDebug(
522 `[bridge:ws] sessionId=${opts.sessionId} >>> ${debugTruncate(data)}`,
523 )
524 child.stdin.write(data)
525 }
526 },
527 updateAccessToken(token: string): void {
528 handle.accessToken = token
529 // Send the fresh token to the child process via stdin. The child's

Callers

nothing calls this directly

Calls 2

debugTruncateFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected