fix(cliproxyapi): read API key from .env and skip dotfiles sync on Linux
Merged
SH
10mo ago+70+70+01234567890123456789-33-33-01234567890123456789
Summary
- Read
CLIPROXY_API_KEYfrom.envfile for API authentication on Linux - Skip redundant auth file sync to
~/dotfiles/objectstore/auths/on Linux (macOS behavior preserved)
Changes
API Key from .env
- Source
.envfile to getCLIPROXY_API_KEY - Enable API key authentication only when the key is set
Skip dotfiles sync on Linux
start.sh: Bootstrap from dotfiles is now Darwin-onlybackup-auth.sh: Sync to dotfiles is now Darwin-onlydefault.nix: Removed dotfiles path from Linux systemd path watcher
On Linux, auth files now only sync between:
- R2 cloud storage
~/.cli-proxy-api/objectstore/auths/~/.ccs/cliproxy/auth/
Test plan
-
make formatpasses -
make shell-testpasses (242 examples, 0 failures) - Verified dotfiles/objectstore/auths stays empty after backup service runs on Linux
š¤ Generated with Claude Code