chore: initialize insar management system v2

This commit is contained in:
2026-04-14 13:16:01 +08:00
commit ecc72ec9cd
361 changed files with 2142522 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env python3
"""
Emit launcher-facing runtime configuration as JSON.
"""
import json
import os
import sys
def _project_root() -> str:
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
PROJECT_ROOT = _project_root()
if PROJECT_ROOT not in sys.path:
sys.path.insert(0, PROJECT_ROOT)
from backend.app.config import export_launcher_config
def main() -> int:
payload = export_launcher_config()
print(json.dumps(payload, ensure_ascii=False))
return 0
if __name__ == "__main__":
raise SystemExit(main())