OSS restructuring for open-core model: - Rename package from agentserver/ to xml_pipeline/ - Update all imports (44 Python files, 31 docs/configs) - Update pyproject.toml for OSS distribution (v0.3.0) - Move prompt_toolkit from core to optional [console] extra - Remove auth/server/lsp from core optional deps (-> Nextra) New console example in examples/console/: - Self-contained demo with handlers and config - Uses prompt_toolkit (optional, falls back to input()) - No password auth, no TUI, no LSP — just the basics - Shows how to use xml-pipeline as a library Import changes: - from agentserver.* -> from xml_pipeline.* - CLI entry points updated: xml_pipeline.cli:main Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
669 B
Python
34 lines
669 B
Python
"""
|
|
Configuration management for xml-pipeline.
|
|
|
|
Handles:
|
|
- Agent configs (~/.xml-pipeline/agents/*.yaml)
|
|
- Listener configs (~/.xml-pipeline/listeners/*.yaml)
|
|
- Organism config (organism.yaml)
|
|
"""
|
|
|
|
from .agents import (
|
|
AgentConfig,
|
|
AgentConfigStore,
|
|
get_agent_config_store,
|
|
CONFIG_DIR,
|
|
AGENTS_DIR,
|
|
)
|
|
from .listeners import (
|
|
ListenerConfigStore,
|
|
get_listener_config_store,
|
|
LISTENERS_DIR,
|
|
)
|
|
|
|
__all__ = [
|
|
# Agent config
|
|
"AgentConfig",
|
|
"AgentConfigStore",
|
|
"get_agent_config_store",
|
|
"CONFIG_DIR",
|
|
"AGENTS_DIR",
|
|
# Listener config
|
|
"ListenerConfigStore",
|
|
"get_listener_config_store",
|
|
"LISTENERS_DIR",
|
|
]
|