xml-pipeline/xml_pipeline
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
..
config Add shared backend for multiprocess pipeline support 2026-01-20 20:18:22 -08:00
crypto Add Ed25519 envelope signing infrastructure 2026-01-27 20:00:35 -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 AgentServer REST/WebSocket API 2026-01-27 20:22:58 -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
server Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -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 Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00