xml-pipeline/xml_pipeline/message_bus
dullfig a623c534d5 Add Sequence and Buffer orchestration primitives
Implement two virtual node patterns for message flow orchestration:

- Sequence: Chains listeners in order (A→B→C), feeding each step's
  output as input to the next. Uses ephemeral listeners to intercept
  step results without modifying core pump behavior.

- Buffer: Fan-out to parallel worker threads with optional result
  collection. Supports fire-and-forget mode (collect=False) for
  non-blocking dispatch.

New files:
- sequence_registry.py / buffer_registry.py: State tracking
- sequence.py / buffer.py: Payloads and handlers
- test_sequence.py / test_buffer.py: 52 new tests

Pump additions:
- register_generic_listener(): Accept any payload type
- unregister_listener(): Cleanup ephemeral listeners
- Global singleton accessors for pump instance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 14:56:15 -08:00
..
steps Fix XSD path for installed package (v0.3.1) 2026-01-19 22:24:36 -08:00
__init__.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
buffer_registry.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
config.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
envelope.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
errors.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
message_state.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
scheduler.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
sequence_registry.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
stream_pump.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
system_pipeline.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
thread.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
thread_registry.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
todo_registry.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
worker.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00