Skip to content

Commit 7281834

Browse files
fix: drop useless import from node:stream package (#75)
fixes #62
1 parent 373b08e commit 7281834

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/client.ts

-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
import type { StructuredToolInterface } from "@langchain/core/tools";
1313
import debug from "debug";
1414
import { z } from "zod";
15-
import Stream from "node:stream";
1615
import { loadMcpTools, LoadMcpToolsOptions } from "./tools.js";
1716

1817
// Read package name from package.json
@@ -108,7 +107,6 @@ export function createStdioConnectionSchema() {
108107
z.literal("pipe"),
109108
z.literal("ignore"),
110109
z.literal("inherit"),
111-
z.instanceof(Stream),
112110
])
113111
.describe(
114112
"How to handle stderr of the child process. This matches the semantics of Node's `child_process.spawn`"

0 commit comments

Comments
 (0)