Skip to content

Make stream parsing backend-aware - #110

Merged
shinpr merged 2 commits into
mainfrom
fix/backend-aware-stream-processing
Aug 8, 2026
Merged

Make stream parsing backend-aware#110
shinpr merged 2 commits into
mainfrom
fix/backend-aware-stream-processing

Conversation

@shinpr

@shinpr shinpr commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • bind stream parsing to the configured backend instead of inferring protocols from output events
  • validate backend-specific terminal results and preserve agent errors as errors
  • process stdout incrementally without repeatedly scanning a growing incomplete line
  • bump the package and server metadata version to 0.12.1

Verification

  • npm run check:all (396 tests passed)
  • real CLI smoke tests through AgentExecutor returned SMOKE_OK for Claude, Codex, Gemini, Grok, and OpenCode
  • Claude-compatible terminal error responses were normalized as errors during GLM and Kimi smoke attempts
  • Cursor reached the real CLI but could not complete because the local environment has no Cursor authentication configured

All smoke tests invoked AgentExecutor directly, exercising the production stream parsing path without the MCP transport layer.

@shinpr shinpr self-assigned this Aug 8, 2026
@shinpr
shinpr merged commit 78c287d into main Aug 8, 2026
4 checks passed
@shinpr
shinpr deleted the fix/backend-aware-stream-processing branch August 8, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant