front/xhs-agent-desktop/sync-engine.ps1
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

18 lines
764 B
PowerShell

# 从 LIKE AI 同步 engine/ 运行时(开发维护用,普通用户无需运行)
$ErrorActionPreference = "Stop"
$src = "C:\Users\wilso\Desktop\LIKE AI"
$dest = Join-Path $PSScriptRoot "engine"
if (-not (Test-Path $src)) {
Write-Error "LIKE AI 源目录不存在: $src"
}
New-Item -ItemType Directory -Force -Path "$dest\xhs_bridge" | Out-Null
Get-ChildItem "$src\xhs_bridge\*.py" | Copy-Item -Destination "$dest\xhs_bridge" -Force
Copy-Item "$src\xhs_bridge\gui\tools_catalog.py" "$dest\xhs_bridge\tools_catalog.py" -Force
robocopy "$src\scripts" "$dest\scripts" /E /MIR /NFL /NDL /NJH /NJS /nc /ns /np | Out-Null
robocopy "$src\extension" "$dest\extension" /E /MIR /NFL /NDL /NJH /NJS /nc /ns /np | Out-Null
Write-Host "已同步 engine/ 自 $src"