refactor: unify env vars + env only in CLI (#37) #38
Reference in New Issue
Block a user
Delete Branch "refactor/37-env-vars"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
统一环境变量命名,库函数不再直接读 process.env。
Breaking Changes
UWF_STORAGE_ROOT→UWF_HOMEWORKFLOW_STORAGE_ROOT删除(无 fallback)OCAS_DIR→OCAS_HOME(与 ocas CLI 对齐)Changes
resolveStorageRoot(override),getGlobalCasDir(override)改为参数传入isResumeDisabled(flag)纯函数,CLI 入口读 envCLAUDE_MODEL传参Ref
Fixes #37
LGTM ✅ env 下沉到 CLI 入口做得很彻底,库函数全部改为参数传入,测试也同步更新。命名统一清晰。