Commit b14d0f2
fix(acp): Fix stdin/stdout mapping in TypeScript ACP agent server
- Corrected ndJsonStream parameter order (output before input)
- Added comprehensive test scripts for ACP protocol testing
- Verified initialize, session/new, and session/prompt work correctly
- JS CLI can now successfully act as ACP agent server
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 87e026c commit b14d0f2
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
336 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
337 | 339 | | |
338 | | - | |
| 340 | + | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| |||
0 commit comments