- 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>
30 lines
719 B
Python
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",
|
|
]
|