xml-pipeline/tests
dullfig bf31b0d14e Add AgentServer REST/WebSocket API
Implements the AgentServer API from docs/agentserver_api_spec.md:

REST API (/api/v1):
- Organism info and config endpoints
- Agent listing, details, config, schema
- Thread and message history with filtering
- Control endpoints (inject, pause, resume, kill, stop)

WebSocket:
- /ws: Main control channel with state snapshot + real-time events
- /ws/messages: Dedicated message stream with filtering

Infrastructure:
- Pydantic models with camelCase serialization
- ServerState bridges StreamPump to API
- Pump event hooks for real-time updates
- CLI 'serve' command: xml-pipeline serve [config] --port 8080

35 new tests for models, state, REST, and WebSocket.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 20:22:58 -08:00
..
scripts Add thread registry, LLM router, console handler, and docs updates 2026-01-10 16:53:38 -08:00
conftest.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
test_buffer.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
test_context_buffer.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
test_crypto.py Add Ed25519 envelope signing infrastructure 2026-01-27 20:00:35 -08:00
test_pipeline_steps.py Rename agentserver to xml_pipeline, add console example 2026-01-19 21:41:19 -08:00
test_pump_integration.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
test_sequence.py Add Sequence and Buffer orchestration primitives 2026-01-25 14:56:15 -08:00
test_server.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00
test_shared_backend.py Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
test_todo_registry.py Archive obsolete docs and misc cleanup 2026-01-20 20:20:10 -08:00