xml-pipeline/xml_pipeline
dullfig 6790c7a46c Add shared backend for multiprocess pipeline support
Introduces SharedBackend Protocol for cross-process state sharing:
- InMemoryBackend: default single-process storage
- ManagerBackend: multiprocessing.Manager for local multi-process
- RedisBackend: distributed deployments with TTL auto-GC

Adds ProcessPoolExecutor support for CPU-bound handlers:
- worker.py: worker process entry point
- stream_pump.py: cpu_bound handler dispatch
- Config: backend and process_pool sections in organism.yaml

ContextBuffer and ThreadRegistry now accept optional backend
parameter while maintaining full backward compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 20:18:22 -08:00
..
config Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
listeners Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
llm Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
memory Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
message_bus Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
platform Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
primitives Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
prompts Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
schema Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
tools Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
utils Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
__init__.py Move console, auth, server to Nextra (v0.4.0) 2026-01-19 22:37:21 -08:00
cli.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00