This commit is contained in:
Felix Weinberger 2025-08-07 12:01:17 +01:00
commit 14b01815ad
No known key found for this signature in database

View file

@ -130,7 +130,8 @@ async function runCli(args: Args): Promise<void> {
// Add transport flag if specified
if (args.transport && args.transport !== "stdio") {
// Convert streamable-http back to http for CLI mode
const cliTransport = args.transport === "streamable-http" ? "http" : args.transport;
const cliTransport =
args.transport === "streamable-http" ? "http" : args.transport;
cliArgs.push("--transport", cliTransport);
}
@ -307,7 +308,7 @@ function parseArgs(): Args {
// Otherwise use command line arguments
const command = finalArgs[0] || "";
const args = finalArgs.slice(1);
// Map "http" shorthand to "streamable-http"
let transport = options.transport;
if (transport === "http") {