-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__main__.py
More file actions
28 lines (21 loc) · 805 Bytes
/
__main__.py
File metadata and controls
28 lines (21 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""
Trail Agent — standalone trail encoder/decoder/executor.
Extracted from holodeck-studio into a self-contained CLI agent.
Zero external dependencies — uses only Python stdlib.
Usage:
python -m trail_agent encode <worklog.json> -o output.bin
python -m trail_agent decode <trail.bin> --format verbose
python -m trail_agent verify <trail.bin>
python -m trail_agent execute <trail.bin> --world mock
python -m trail_agent compile <entries.json>
python -m trail_agent disassemble <trail.bin>
python -m trail_agent onboard
python -m trail_agent status
"""
import sys
import os
# Ensure the agent root is on the path for local imports
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from cli import main
if __name__ == "__main__":
sys.exit(main())