Files
agent-desktop/scripts
LinJie a2e5e13bce feat(pack): 统一 CLI 为 yunopc-hub、桌面品牌对齐,并补充 README 打包/增量更新文档
- Windows/macOS 打包脚本与 pineagents.spec:CLI 可执行名由 qwenpaw 改为 yunopc-hub
- NSIS 安装器:CLI 注册命令与多语言文案统一为 yunopc-hub / YunOPC-Hub / 云超服
- 桌面 OS(MenuBar/BootScreen/DesktopOS):品牌标识改用 BRAND 单一来源
- README:补充规范化版本号设置、macOS/Windows 一键构建、增量更新完整命令

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-09-08 13:06:49 +08:00
..

Scripts

Run from repo root.

Build wheel (with latest console)

bash scripts/wheel_build.sh
  • Builds the console frontend (console/), copies console/dist to src/pineagents/console/dist, then builds the wheel. Output: dist/*.whl.

Build website

bash scripts/website_build.sh
  • Installs dependencies (pnpm or npm) and runs the Vite build. Output: website/dist/.

Build Docker image

bash scripts/docker_build.sh [IMAGE_TAG] [EXTRA_ARGS...]
  • Default tag: qwenpaw:latest. Uses deploy/Dockerfile (multi-stage: builds console then Python app).
  • Example: bash scripts/docker_build.sh myreg/qwenpaw:v1 --no-cache.

Run Test

# Run all tests
python scripts/run_tests.py

# Run all unit tests
python scripts/run_tests.py -u

# Run unit tests for a specific module
python scripts/run_tests.py -u providers

# Run integration tests
python scripts/run_tests.py -i

# Run all tests and generate a coverage report
python scripts/run_tests.py -a -c

# Run tests in parallel (requires pytest-xdist)
python scripts/run_tests.py -p

# Show help
python scripts/run_tests.py -h