xml-pipeline/structure.md
dullfig e653d63bc1 Rename agentserver to xml_pipeline, add console example
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>
2026-01-19 21:41:19 -08:00

95 lines
No EOL
3 KiB
Markdown

```
xml-pipeline/
├── xml_pipeline/
│ ├── auth/
│ │ ├── __init__.py
│ │ └── totp.py
│ ├── config/
│ │ ├── organism_identity/
│ │ │ └── README.txt
│ │ └── __init__.py
│ ├── listeners/
│ │ ├── examples/
│ │ │ ├── __init__.py
│ │ │ ├── echo_chamber.py
│ │ │ └── grok_personality.py
│ │ ├── __init__.py
│ │ ├── llm_connection.py
│ │ └── llm_listener.py
│ ├── message_bus/
│ │ ├── steps/
│ │ │ ├── __init__.py
│ │ │ ├── c14n.py
│ │ │ ├── deserialization.py
│ │ │ ├── envelope_validation.py
│ │ │ ├── payload_extraction.py
│ │ │ ├── repair.py
│ │ │ ├── routing_resolution.py
│ │ │ ├── test_c14n.py
│ │ │ ├── test_repair.py
│ │ │ ├── thread_assignment.py
│ │ │ └── xsd_validation.py
│ │ ├── __init__.py
│ │ ├── bus.py
│ │ ├── config.py
│ │ ├── envelope.py
│ │ ├── errors.py
│ │ ├── message_state.py
│ │ ├── scheduler.py
│ │ └── thread.py
│ ├── prompts/
│ │ ├── grok_classic.py
│ │ └── no_paperclippers.py
│ ├── schema/
│ │ ├── envelope.xsd
│ │ └── privileged-msg.xsd
│ ├── utils/
│ │ ├── __init__.py
│ │ └── message.py
│ ├── __init__.py
│ ├── xml_pipeline.py
│ ├── main.py
│ └── xml_listener.py
├── docs/
│ ├── archive-obsolete/
│ │ ├── logic-and-iteration.md
│ │ ├── thread-management.md
│ │ └── token-scheduling-issues.md
│ ├── configuration.md
│ ├── core-principles-v2.1.md
│ ├── doc_cross_check.md
│ ├── handler-contract-v2.1.md
│ ├── listener-class-v2.1.md
│ ├── message-pump-v2.1.md
│ ├── primitives.md
│ ├── self-grammar-generation.md
│ └── why-not-json.md
├── tests/
│ ├── scripts/
│ │ └── generate_organism_key.py
│ └── __init__.py
├── third_party/
│ └── xmlable/
│ ├── __init__.py
│ ├── _errors.py
│ ├── _io.py
│ ├── _lxml_helpers.py
│ ├── _manual.py
│ ├── _user.py
│ ├── _utils.py
│ ├── _xmlify.py
│ ├── _xobject.py
│ └── py.typed
├── xml_pipeline.egg-info/
│ ├── PKG-INFO
│ ├── SOURCES.txt
│ ├── dependency_links.txt
│ ├── requires.txt
│ └── top_level.txt
├── LICENSE
├── README.md
├── __init__.py
├── pyproject.toml
├── setup-project.ps1
└── structure.md
```