ruby_llm_swarm-mcp 0.8.1 → 0.8.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86b08066123fbc46a3f965206011a4cbec8f140a43434e665d70c2a01157c091
4
- data.tar.gz: 8b7a44c842bdbcbdd48f8fade4f32b8fac318d65a74d11d4fe9702a6a264412f
3
+ metadata.gz: 5b3b1cd6b64545eca27db5b597bf4e95b79f152a003a788daee12e4a9416aba0
4
+ data.tar.gz: 6cd1bd9fca7791abc3fb7d24f8492ce9ef722118938bb4e0c8c05187346c2c75
5
5
  SHA512:
6
- metadata.gz: 43457242405497bba19d364ce57ee2110062a09ba60e3613c3165febd345de02fec7143ea62f1227c4ef93bf07b991f2d8b266a317f3bb4f9ede03c9662ff5d3
7
- data.tar.gz: 6dba674bd7b82b96e872cab2b11a453e5111973ac1c99f1c5b9a31d1d3330ba768b08ee9a5b804a5c5e335f1e071feae2b58048c2939afb700719fcc4c2d21e4
6
+ metadata.gz: bd63ef3760a230c197e1dae27db167e473f73f4f95fccef85ebbe527ee5dea117aba4e339203d04497e156a6cef50575efc476d3f41645f44ca57bf5ab9aab07
7
+ data.tar.gz: 39c0b26cbde9dc8639194ffe8eb495526df199e4d000dc8d9a25a1734733df11dd41380f6d162e4069d9104e910ccb462def7ec763a3acff7528d2e67600cf26
@@ -494,9 +494,15 @@ module RubyLLM
494
494
  message: "OAuth authentication required. Server returned 401 Unauthorized.",
495
495
  code: 401
496
496
  )
497
- when 405
497
+ when 400, 405
498
498
  # Server doesn't support SSE - this is acceptable
499
- RubyLLM::MCP.logger.info "Server does not support SSE streaming"
499
+ # 405: Correct response per MCP spec (Method Not Allowed)
500
+ # 400: Non-compliant servers (e.g., Firecrawl) incorrectly return Bad Request
501
+ if response.status == 400
502
+ RubyLLM::MCP.logger.info "Server returned 400 for SSE request (non-compliant). Treating as 'SSE not supported'."
503
+ else
504
+ RubyLLM::MCP.logger.info "Server does not support SSE streaming"
505
+ end
500
506
  nil
501
507
  when 409
502
508
  # Conflict - SSE connection already exists for this session
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyLLM
4
4
  module MCP
5
- VERSION = "0.8.1"
5
+ VERSION = "0.8.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm_swarm-mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Vice