xml-pipeline/xml_pipeline
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
..
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 Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
platform Archive obsolete docs and misc cleanup 2026-01-20 20:20:10 -08:00
primitives Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -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