front/xhs-agent-desktop/main.py
zzh 5a26ae0048 feat: 小红书模块迁移、登录重构与 xhs-agent-desktop 桌面 Agent
- 新增小红书前端模块(启动服务、内容分析、爆款创作、发布记录、技能卡片、拟人设置、AI 助手)

- 新增 xhs-agent-desktop 独立桌面 Agent,对接 OMS 任务调度

- 登录页重构,整合微信登录与 OMS JWT 认证

- 订单、渠道、用户中心等页面与 API 增强

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 16:13:13 +08:00

23 lines
472 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""OMS 小红书 Agent 桌面端 — 供网页远程调度本机 Chrome 自动化。"""
from __future__ import annotations
import sys
from app.main_window import run_app
def main() -> int:
if hasattr(sys.stdout, "reconfigure"):
try:
sys.stdout.reconfigure(encoding="utf-8")
except Exception:
pass
return run_app()
if __name__ == "__main__":
raise SystemExit(main())