fix: drop useless import from node:stream package (#75)

fixes #62
This commit is contained in:
Ben Burns
2025-05-13 13:49:06 -07:00
committed by GitHub
parent 373b08e090
commit 72818340c1
-2
View File
@@ -12,7 +12,6 @@ import {
import type { StructuredToolInterface } from "@langchain/core/tools";
import debug from "debug";
import { z } from "zod";
import Stream from "node:stream";
import { loadMcpTools, LoadMcpToolsOptions } from "./tools.js";
// Read package name from package.json
@@ -108,7 +107,6 @@ export function createStdioConnectionSchema() {
z.literal("pipe"),
z.literal("ignore"),
z.literal("inherit"),
z.instanceof(Stream),
])
.describe(
"How to handle stderr of the child process. This matches the semantics of Node's `child_process.spawn`"