From 87124716336329db08b869d6e09030a29be08921 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:02:57 +0000 Subject: [PATCH 1/4] Initial plan From aaaef8ff57bc6292c392052a150a02b8bcc2d438 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 12:06:54 +0000 Subject: [PATCH 2/4] Expand stdio command help text with description, examples, and log/error behavior Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com> --- DevProxy/Commands/DevProxyConfigOptions.cs | 14 +++++++++++++- DevProxy/Commands/StdioCommand.cs | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/DevProxy/Commands/DevProxyConfigOptions.cs b/DevProxy/Commands/DevProxyConfigOptions.cs index d4c30377..b3a8ce35 100644 --- a/DevProxy/Commands/DevProxyConfigOptions.cs +++ b/DevProxy/Commands/DevProxyConfigOptions.cs @@ -175,7 +175,19 @@ public DevProxyConfigOptions() return value; } }; - var stdioCommand = new Command("stdio", "Proxy stdin/stdout/stderr of local executables") + var stdioCommand = new Command("stdio", """ + Proxy stdin/stdout/stderr of local executables. + Dev Proxy intercepts and processes the stdio streams of the specified command, + applying configured plugins (mocking, error simulation, etc.) to the traffic. + Logs are written to a timestamped file (devproxy-stdio-YYYYMMDD-HHmmss.log) + to avoid interfering with the proxied streams. + Usage errors and exceptions are written to stderr. + + Examples: + devproxy stdio npx -y @devproxy/mcp Proxy MCP server + devproxy stdio node server.js Proxy Node.js app + devproxy stdio -c myconfig.json node app.js With custom config + """) { stdioConfigFileOption, // Add a catch-all argument to consume remaining args (command to execute) diff --git a/DevProxy/Commands/StdioCommand.cs b/DevProxy/Commands/StdioCommand.cs index c5c3f57d..2dd009b4 100644 --- a/DevProxy/Commands/StdioCommand.cs +++ b/DevProxy/Commands/StdioCommand.cs @@ -32,7 +32,19 @@ public StdioCommand( ILogger logger, ILoggerFactory loggerFactory, IEnumerable plugins) : - base("stdio", "Proxy stdin/stdout/stderr of local executables") + base("stdio", """ + Proxy stdin/stdout/stderr of local executables. + Dev Proxy intercepts and processes the stdio streams of the specified command, + applying configured plugins (mocking, error simulation, etc.) to the traffic. + Logs are written to a timestamped file (devproxy-stdio-YYYYMMDD-HHmmss.log) + to avoid interfering with the proxied streams. + Usage errors and exceptions are written to stderr. + + Examples: + devproxy stdio npx -y @devproxy/mcp Proxy MCP server + devproxy stdio node server.js Proxy Node.js app + devproxy stdio -c myconfig.json node app.js With custom config + """) { _logger = logger; _loggerFactory = loggerFactory; From 2b1e182a9135ea41d52f0d343c8a32e532f9a9e1 Mon Sep 17 00:00:00 2001 From: Waldek Mastykarz Date: Wed, 25 Feb 2026 14:11:52 +0100 Subject: [PATCH 3/4] Apply suggestion from @waldekmastykarz --- DevProxy/Commands/StdioCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DevProxy/Commands/StdioCommand.cs b/DevProxy/Commands/StdioCommand.cs index 2dd009b4..a2dac48a 100644 --- a/DevProxy/Commands/StdioCommand.cs +++ b/DevProxy/Commands/StdioCommand.cs @@ -41,7 +41,7 @@ to avoid interfering with the proxied streams. Usage errors and exceptions are written to stderr. Examples: - devproxy stdio npx -y @devproxy/mcp Proxy MCP server + devproxy stdio npx -y @devproxy/mcp Proxy MCP server devproxy stdio node server.js Proxy Node.js app devproxy stdio -c myconfig.json node app.js With custom config """) From a07b103f90874ffac1cb6ea9c81fcadf929f8658 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 25 Feb 2026 13:13:31 +0000 Subject: [PATCH 4/4] Align example descriptions to the same column position Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com> --- DevProxy/Commands/DevProxyConfigOptions.cs | 6 +++--- DevProxy/Commands/StdioCommand.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DevProxy/Commands/DevProxyConfigOptions.cs b/DevProxy/Commands/DevProxyConfigOptions.cs index b3a8ce35..934bee69 100644 --- a/DevProxy/Commands/DevProxyConfigOptions.cs +++ b/DevProxy/Commands/DevProxyConfigOptions.cs @@ -184,9 +184,9 @@ to avoid interfering with the proxied streams. Usage errors and exceptions are written to stderr. Examples: - devproxy stdio npx -y @devproxy/mcp Proxy MCP server - devproxy stdio node server.js Proxy Node.js app - devproxy stdio -c myconfig.json node app.js With custom config + devproxy stdio npx -y @devproxy/mcp Proxy MCP server + devproxy stdio node server.js Proxy Node.js app + devproxy stdio -c myconfig.json node app.js With custom config """) { stdioConfigFileOption, diff --git a/DevProxy/Commands/StdioCommand.cs b/DevProxy/Commands/StdioCommand.cs index a2dac48a..236fe775 100644 --- a/DevProxy/Commands/StdioCommand.cs +++ b/DevProxy/Commands/StdioCommand.cs @@ -41,9 +41,9 @@ to avoid interfering with the proxied streams. Usage errors and exceptions are written to stderr. Examples: - devproxy stdio npx -y @devproxy/mcp Proxy MCP server - devproxy stdio node server.js Proxy Node.js app - devproxy stdio -c myconfig.json node app.js With custom config + devproxy stdio npx -y @devproxy/mcp Proxy MCP server + devproxy stdio node server.js Proxy Node.js app + devproxy stdio -c myconfig.json node app.js With custom config """) { _logger = logger;