Add a gateway adapter contract plus a SimpleX adapter (lazy websockets, default-deny allowlist, batching, structured /_send) and a GatewayService that maps chats onto the single-slot scheduler: submit_request, owner maps, pending-run ownership, queue drain, and authoring questions/repairs routed back to the origin chat. Wire `cli gateway [--platform simplex] [--dashboard]` and the gateway.simplex config block. Scheduler gains submit_request() and an on_request_requeued hook. DMs only for the first cut.
18 lines
845 B
Plaintext
18 lines
845 B
Plaintext
# Staging-machine engine deps (CPU llama.cpp path).
|
|
#
|
|
# semIF (semif-phase1) hard-pins torch/accelerate/safetensors/sentencepiece/
|
|
# protobuf/numpy==2.2.6 in its BASE dependencies, but the llamacpp backend
|
|
# never imports torch (it's lazy inside direct.score), and numpy 2.2.6 has no
|
|
# cp314 wheel (source build fails). So semif-phase1 is installed with
|
|
# `--no-deps` and exactly this set is brought in instead. The pins match the
|
|
# proven guppy venv; huggingface-hub is pinned to 1.31.0 (semif-phase1's
|
|
# declared version) so the pip resolver stays quiet about it.
|
|
numpy==2.3.5
|
|
transformers==5.17.0
|
|
tokenizers==0.23.2
|
|
huggingface-hub==1.31.0
|
|
llama-cpp-python==0.3.35
|
|
pytest
|
|
# Messaging gateway transport (SimpleX adapter). Optional: lazy-imported, the
|
|
# gateway refuses to start without it. Not needed by the decision engine.
|
|
websockets==15.0.1 |