MCPcopy
hub / github.com/anomalyco/opencode / pipe

Function pipe

packages/core/src/cross-spawn-spawner.ts:154–155  ·  view source on GitHub ↗
(x: NodeChildProcess.IOType | undefined)

Source from the content-addressed store, hash-verified

152 extra: ReadonlyArray<{ fd: number; config: ChildProcess.AdditionalFdConfig }>,
153 ): NodeChildProcess.StdioOptions => {
154 const pipe = (x: NodeChildProcess.IOType | undefined) =>
155 process.platform === "win32" && x === "pipe" ? "overlapped" : x
156 const arr: Array<NodeChildProcess.IOType | undefined> = [
157 pipe(input(sin.stream)),
158 pipe(output(sout.stream)),

Callers 15

DialogModelFunction · 0.85
providerOptionsFunction · 0.85
DialogMcpFunction · 0.85
DialogSelectFunction · 0.85
catalog.tsFile · 0.85
pickFunction · 0.85
stdiosFunction · 0.85
promptProviderFunction · 0.85
promptModelFunction · 0.85
providers.tsFile · 0.85
allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected