Commit graph typescript-sdk/src/client/stdio.ts
Author SHA1 Message Date
zhibisora
d4bf73b06e Replace native spawn with cross-spawn for improved cross-platform compatibility 2025-03-16 05:00:36 +08:00
Nate
d28ab78b3f add cwd to StdioServerParameters 2025-02-10 09:15:34 -08:00
Anaïs Betts
9fd52c861e
Use windowsHide because detached seems to break stdio redirection on npx 2024-11-26 15:41:23 +01:00
Justin Spahr-Summers
1025b3fc55
Add way to get child process stderr pipe 2024-11-20 21:19:06 +00:00
Anaïs Betts
e0c821cad9
Special-case this fix to Electron apps 2024-11-20 15:55:11 +01:00
Anaïs Betts
17a32b14d4
Use detached: true on Windows
Unfortunately, the fix in #55 was not sufficient - the behavior of spawn
depends on the "console'ness" of the originally launched process, which has the
effect of development behavior for Claude Desktop on Windows being
different than in production, since the launching process is Claude.exe
(a Win32 Subsystem app) vs `yarn start` which is effectively a Console
Subsystem app.
2024-11-20 14:41:53 +01:00
Justin Spahr-Summers
b59c381abf
Make stderr behavior configurable 2024-11-14 20:13:13 +00:00
Anaïs Betts
8e2e917992
Don't open a terminal window on Windows 2024-11-14 16:11:10 +01:00
Justin Spahr-Summers
08b89404a3
Trim Windows list down based on review 2024-11-05 12:10:24 +00:00
Justin Spahr-Summers
3447575417
Inherit environment variables deemed safe by default 2024-11-05 11:56:47 +00:00
Justin Spahr-Summers
7b718de77c
Report errors when start() is called multiple times 2024-10-16 13:14:47 +01:00
Justin Spahr-Summers
c39f8084d7
Update client transports 2024-10-11 16:49:21 +01:00
Justin Spahr-Summers
3786c88960
Combine types into one file 2024-10-02 14:17:31 +01:00
David Soria Parra
02e421c1f1
Initial import 2024-09-24 21:53:34 +01:00