cortex-bus 0.4.1__tar.gz → 0.4.2__tar.gz

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.
Files changed (44) hide show
  1. {cortex_bus-0.4.1/cortex_bus.egg-info → cortex_bus-0.4.2}/PKG-INFO +1 -1
  2. {cortex_bus-0.4.1 → cortex_bus-0.4.2/cortex_bus.egg-info}/PKG-INFO +1 -1
  3. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/__init__.py +1 -1
  4. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/http_api.py +3 -0
  5. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/pyproject.toml +1 -1
  6. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/LICENSE +0 -0
  7. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/README.md +0 -0
  8. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/__init__.py +0 -0
  9. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/ablation_naive_prompt.py +0 -0
  10. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/fixtures/routing_v1.json +0 -0
  11. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/fixtures/routing_v2_injection.json +0 -0
  12. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/fixtures/routing_v3_heldout.json +0 -0
  13. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/conformance/run.py +0 -0
  14. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortex_bus.egg-info/SOURCES.txt +0 -0
  15. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortex_bus.egg-info/dependency_links.txt +0 -0
  16. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortex_bus.egg-info/entry_points.txt +0 -0
  17. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortex_bus.egg-info/requires.txt +0 -0
  18. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortex_bus.egg-info/top_level.txt +0 -0
  19. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/adapters/__init__.py +0 -0
  20. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/adapters/anthropic.py +0 -0
  21. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/adapters/base.py +0 -0
  22. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/adapters/local.py +0 -0
  23. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/adapters/ollama.py +0 -0
  24. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/connectors.py +0 -0
  25. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/core.py +0 -0
  26. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/guard.py +0 -0
  27. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/manifest.py +0 -0
  28. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/mcp.py +0 -0
  29. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/mediation.py +0 -0
  30. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/runtime.py +0 -0
  31. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/schema.py +0 -0
  32. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/schemas/subscription.schema.json +0 -0
  33. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/store.py +0 -0
  34. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/cortexbus/streams.py +0 -0
  35. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/setup.cfg +0 -0
  36. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_adapters.py +0 -0
  37. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_capabilities.py +0 -0
  38. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_conformance.py +0 -0
  39. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_e2e_http.py +0 -0
  40. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_infra.py +0 -0
  41. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_kafka_live.py +0 -0
  42. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_live_example.py +0 -0
  43. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_mcp.py +0 -0
  44. {cortex_bus-0.4.1 → cortex_bus-0.4.2}/tests/test_streams.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortex-bus
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Reference implementation of the Cortex Bus spec: semantic pub/sub with tiered (topic / embedding / LLM) routing
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/cortex-bus/cortex-bus
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortex-bus
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: Reference implementation of the Cortex Bus spec: semantic pub/sub with tiered (topic / embedding / LLM) routing
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/cortex-bus/cortex-bus
@@ -1,5 +1,5 @@
1
1
  """Cortex Bus reference implementation (spec v0.1)."""
2
2
  from .core import CortexBus, Decision, Subscription
3
3
 
4
- __version__ = "0.4.1"
4
+ __version__ = "0.4.2"
5
5
  __all__ = ["CortexBus", "Subscription", "Decision", "__version__"]
@@ -253,6 +253,9 @@ def make_server(bus, host: str = "127.0.0.1", port: int = 8765, token: str | Non
253
253
  class _StreamingServer(ThreadingHTTPServer):
254
254
  """Ends open streams when the server shuts down."""
255
255
  daemon_threads = True
256
+ # socketserver's default listen backlog is 5; past that, a burst of clients
257
+ # connecting at once gets "connection reset" (seen on macOS with 20 at once).
258
+ request_queue_size = 128
256
259
  stop_streams: threading.Event
257
260
 
258
261
  def shutdown(self):
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cortex-bus"
7
- version = "0.4.1"
7
+ version = "0.4.2"
8
8
  description = "Reference implementation of the Cortex Bus spec: semantic pub/sub with tiered (topic / embedding / LLM) routing"
9
9
  readme = "README.md"
10
10
  license = { text = "Apache-2.0" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes