feat: add standalone CLI project

This commit is contained in:
mmc
2026-03-19 07:36:14 +08:00
commit 26b238ec25
16 changed files with 6103 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
"""
OpenAI Pool Orchestrator
========================
自动化 OpenAI 账号注册、Token 管理与多平台账号池维护工具。
"""
__version__ = "2.0.0"
__author__ = "OpenAI Pool Orchestrator Contributors"
import os
from pathlib import Path
# 项目根目录(包目录的上一级)
PACKAGE_DIR = Path(__file__).parent
PROJECT_ROOT = PACKAGE_DIR.parent
# 运行时数据目录
DATA_DIR = PROJECT_ROOT / "data"
DATA_DIR.mkdir(exist_ok=True)
TOKENS_DIR = DATA_DIR / "tokens"
TOKENS_DIR.mkdir(exist_ok=True)
CONFIG_FILE = DATA_DIR / "sync_config.json"
STATE_FILE = DATA_DIR / "state.json"