polydev-ai 1.10.4 → 1.10.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,8 +248,10 @@ class TunnelClient {
248
248
  * Handle a single tunnel request by routing to CLI
249
249
  */
250
250
  async handleRequest(request) {
251
- // Use streaming path for providers that support it
252
- if (this.cliManager.supportsStreaming(request.provider)) {
251
+ // Use streaming path ONLY for gemini_cli.
252
+ // claude_code streaming (--output-format stream-json) produces no NDJSON output
253
+ // in headless/tunnel mode — the non-streaming sendCliPrompt() path works reliably.
254
+ if (request.provider !== 'claude_code' && this.cliManager.supportsStreaming(request.provider)) {
253
255
  return this.handleStreamingRequest(request);
254
256
  }
255
257
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polydev-ai",
3
- "version": "1.10.4",
3
+ "version": "1.10.5",
4
4
  "engines": {
5
5
  "node": ">=20.x <=22.x"
6
6
  },