opencode-provider-switch/.trellis/scripts/get_context.py
2026-04-16 23:46:01 +08:00

17 lines
320 B
Python
Executable File

#!/usr/bin/env python3
"""
Get Session Context for AI Agent.
Usage:
python3 get_context.py Output context in text format
python3 get_context.py --json Output context in JSON format
"""
from __future__ import annotations
from common.git_context import main
if __name__ == "__main__":
main()