xml-pipeline/agentserver/primitives/__init__.py
dullfig 0796e45412 Add SystemPipeline for external message injection
- SystemPipeline: Entry point for console/webhook/API messages
- TextInput/TextOutput: Generic primitives for human text I/O
- Server: WebSocket "send" command routes through SystemPipeline
- Console: @target message now injects into pipeline

Flow: Console → WebSocket → SystemPipeline → XML envelope → pump

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 21:07:28 -08:00

30 lines
719 B
Python

"""
System primitives — Core message types handled by the organism itself.
These are not user-defined listeners but system-level messages that
establish context, handle errors, and manage the organism lifecycle.
"""
from agentserver.primitives.boot import Boot, handle_boot
from agentserver.primitives.todo import (
TodoUntil,
TodoComplete,
TodoRegistered,
TodoClosed,
handle_todo_until,
handle_todo_complete,
)
from agentserver.primitives.text_input import TextInput, TextOutput
__all__ = [
"Boot",
"handle_boot",
"TodoUntil",
"TodoComplete",
"TodoRegistered",
"TodoClosed",
"handle_todo_until",
"handle_todo_complete",
"TextInput",
"TextOutput",
]