xml-pipeline/agentserver
dullfig 82b5fcdd78 Replace MessageBus with aiostream-based StreamPump
Major refactor of the message pump architecture:

- Replace bus.py with stream_pump.py using aiostream for composable
  stream processing with natural fan-out via flatmap
- Add to_id field to MessageState for explicit routing
- Fix routing to use to_id.class format (e.g., "greeter.greeting")
- Generate XSD schemas from xmlified payload classes
- Fix xmlable imports (absolute -> relative) and parse_element ctx

New features:
- handlers/hello.py: Sample Greeting/GreetingResponse handler
- config/organism.yaml: Sample organism configuration
- 41 tests (31 unit + 10 integration) all passing

Schema changes:
- envelope.xsd: Allow any namespace payloads (##other -> ##any)

Dependencies added to pyproject.toml:
- aiostream>=0.5 (core dependency)
- pyhumps, termcolor (for xmlable)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 10:41:17 -08:00
..
auth initial dir structure 2025-12-25 21:52:36 -08:00
config initial dir structure 2025-12-25 21:52:36 -08:00
listeners major changes to message bus, and xml listener 2026-01-01 15:27:20 -08:00
message_bus Replace MessageBus with aiostream-based StreamPump 2026-01-10 10:41:17 -08:00
prompts major changes to base 2025-12-28 21:14:08 -08:00
schema Replace MessageBus with aiostream-based StreamPump 2026-01-10 10:41:17 -08:00
utils major changes to message bus, and xml listener 2026-01-01 15:27:20 -08:00
__init__.py initial dir structure 2025-12-25 21:52:36 -08:00
agentserver.py Major design solidification and documentation sync — December 26, 2025 2025-12-26 16:51:19 -08:00
main.py initial dir structure 2025-12-25 21:52:36 -08:00
xml_listener.py re-writing docs and code 2026-01-03 14:48:57 -08:00