环境(dev / staging / CI)
起始 URL 的 origin 按以下优先级顺序确定:
--base-url标志WINDUP_BASE_URL环境变量windup.config.ts中的baseUrl- 场景中一个绝对的
start_url
显式覆盖会对绝对的场景 URL 也进行重定基(路径和查询串会被保留)。
计划缓存可跨环境移植:缓存标识使用起始 URL 的路径,而非主机/端口。针对 localhost:8080 生成的计划,可在 staging 或 CI 上以零 LLM 调用回放。
npx windup run checkout --base-url https://staging.example.com
WINDUP_BASE_URL=http://localhost:8080 npx windup run --all