cortex-bus 0.4.0__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.
- {cortex_bus-0.4.0/cortex_bus.egg-info → cortex_bus-0.4.2}/PKG-INFO +6 -2
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/README.md +5 -1
- {cortex_bus-0.4.0 → cortex_bus-0.4.2/cortex_bus.egg-info}/PKG-INFO +6 -2
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortex_bus.egg-info/entry_points.txt +1 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/__init__.py +1 -1
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/http_api.py +3 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/pyproject.toml +2 -1
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/LICENSE +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/__init__.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/ablation_naive_prompt.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/fixtures/routing_v1.json +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/fixtures/routing_v2_injection.json +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/fixtures/routing_v3_heldout.json +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/conformance/run.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortex_bus.egg-info/SOURCES.txt +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortex_bus.egg-info/dependency_links.txt +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortex_bus.egg-info/requires.txt +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortex_bus.egg-info/top_level.txt +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/adapters/__init__.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/adapters/anthropic.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/adapters/base.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/adapters/local.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/adapters/ollama.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/connectors.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/core.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/guard.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/manifest.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/mcp.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/mediation.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/runtime.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/schema.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/schemas/subscription.schema.json +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/store.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/cortexbus/streams.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/setup.cfg +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_adapters.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_capabilities.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_conformance.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_e2e_http.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_infra.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_kafka_live.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_live_example.py +0 -0
- {cortex_bus-0.4.0 → cortex_bus-0.4.2}/tests/test_mcp.py +0 -0
- {cortex_bus-0.4.0 → 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.
|
|
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
|
|
@@ -80,7 +80,11 @@ pip install cortex-bus # the package; import it as cortexbus
|
|
|
80
80
|
pip install "cortex-bus[kafka]" # adds the Kafka connectors
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
83
|
+
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
84
|
+
|
|
85
|
+
To run it as an MCP server (stdio), point your MCP client at `uvx cortex-bus`. Add `--store bus.db` to keep state between runs. It is listed in the [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.cortex-bus/cortex-bus`.
|
|
86
|
+
|
|
87
|
+
<!-- mcp-name: io.github.cortex-bus/cortex-bus --> The package needs Python 3.10 or later and has no required dependencies.
|
|
84
88
|
|
|
85
89
|
## Quickstart
|
|
86
90
|
|
|
@@ -57,7 +57,11 @@ pip install cortex-bus # the package; import it as cortexbus
|
|
|
57
57
|
pip install "cortex-bus[kafka]" # adds the Kafka connectors
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
60
|
+
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
61
|
+
|
|
62
|
+
To run it as an MCP server (stdio), point your MCP client at `uvx cortex-bus`. Add `--store bus.db` to keep state between runs. It is listed in the [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.cortex-bus/cortex-bus`.
|
|
63
|
+
|
|
64
|
+
<!-- mcp-name: io.github.cortex-bus/cortex-bus --> The package needs Python 3.10 or later and has no required dependencies.
|
|
61
65
|
|
|
62
66
|
## Quickstart
|
|
63
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortex-bus
|
|
3
|
-
Version: 0.4.
|
|
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
|
|
@@ -80,7 +80,11 @@ pip install cortex-bus # the package; import it as cortexbus
|
|
|
80
80
|
pip install "cortex-bus[kafka]" # adds the Kafka connectors
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
83
|
+
The spec is [spec/SPEC.md](spec/SPEC.md).
|
|
84
|
+
|
|
85
|
+
To run it as an MCP server (stdio), point your MCP client at `uvx cortex-bus`. Add `--store bus.db` to keep state between runs. It is listed in the [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.cortex-bus/cortex-bus`.
|
|
86
|
+
|
|
87
|
+
<!-- mcp-name: io.github.cortex-bus/cortex-bus --> The package needs Python 3.10 or later and has no required dependencies.
|
|
84
88
|
|
|
85
89
|
## Quickstart
|
|
86
90
|
|
|
@@ -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.
|
|
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" }
|
|
@@ -30,6 +30,7 @@ Specification = "https://github.com/cortex-bus/cortex-bus/blob/main/spec/SPEC.md
|
|
|
30
30
|
Issues = "https://github.com/cortex-bus/cortex-bus/issues"
|
|
31
31
|
|
|
32
32
|
[project.scripts]
|
|
33
|
+
cortex-bus = "cortexbus.mcp:main"
|
|
33
34
|
cortexbus-mcp = "cortexbus.mcp:main"
|
|
34
35
|
cortexbus-http = "cortexbus.http_api:main"
|
|
35
36
|
cortexbus-conformance = "conformance.run:main"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|