refactor: unify env vars (UWF_HOME, OCAS_HOME) + env only in CLI (#37)
CI / check (pull_request) Failing after 3m6s
CI / check (pull_request) Failing after 3m6s
Breaking changes: - UWF_STORAGE_ROOT → UWF_HOME - WORKFLOW_STORAGE_ROOT removed (no fallback) - OCAS_DIR → OCAS_HOME (aligned with ocas CLI) Library functions no longer read process.env: - util-agent/storage.ts: resolveStorageRoot(override), getGlobalCasDir(override) - agent-hermes: isResumeDisabled(flag) pure function, CLI reads env - agent-claude-code: CLI reads CLAUDE_MODEL and passes to agent Fixes #37
This commit is contained in:
@@ -216,7 +216,6 @@ src/
|
||||
|
||||
| Variable | Purpose | Default |
|
||||
|----------|---------|---------|
|
||||
| `OCAS_DIR` | Override the global CAS directory location | `~/.ocas` |
|
||||
| `UWF_STORAGE_ROOT` | Internal override for workflow metadata storage | `~/.uwf` |
|
||||
| `WORKFLOW_STORAGE_ROOT` | User override for workflow metadata storage | `~/.uwf` |
|
||||
| `OCAS_HOME` | Override the global CAS directory location | `~/.ocas` |
|
||||
| `UWF_HOME` | Override the workflow metadata storage root | `~/.uwf` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user