feat(shell): openrouter function toggles Claude Code provider, replaces claude-provider
Saves and restores prior values of the four env vars, prints a log in/out reminder. Removes bin/claude-provider and its references.
This commit is contained in:
1 parent
5cd98b3189
commit
f971881962
9 files changed
+176
-76
No files matched your search
@@ -26,7 +26,7 @@ gitconfig user-scope ~/.gitconfig template, @USER@/@EMAIL
|
||||
(gitflow push mode, exact true/false) filled at install; core.hooksPath fixed
|
||||
tmux.conf tmux config (vi keys, tpm plugins) → ~/.config/tmux/tmux.conf, both OSes (tmux ≥ 3.1)
|
||||
zsh/{zshrc-osx,bchanot.zsh-theme} macOS zsh option: oh-my-zsh zshrc + theme porting the bash prompt
|
||||
bin/{dt,dtach-router,claude-provider} CLI scripts deployed to ~/.local/bin
|
||||
bin/{dt,dtach-router} CLI scripts deployed to ~/.local/bin
|
||||
bin/tmux-copy-exit-keys run by tmux.conf at load: after a mouse selection any bare key leaves copy-mode
|
||||
bin/repo-sync multi-forge repo tree (gitlab/github/gitea/bitbucket cloud) → ~/repos, daily cache;
|
||||
tokens in ~/.config/repos/forges.conf (0600, never tracked); `repo` fn in the rc files
|
||||
@@ -56,8 +56,8 @@ rc files source `~/.cargo/env`. Never add `rustc`/`cargo` to the apt or brew lis
|
||||
|
||||
`pymupdf`/`markdown_py` are NOT tracked — they are pipx entry-point shims,
|
||||
recreated by `pipx install PyMuPDF Markdown` in install.sh.
|
||||
`claude-provider` reads `$OPENROUTER_API_KEY` from the env — never hardcode it (the
|
||||
original had a live key; it was scrubbed — see decisions/blockers).
|
||||
The `openrouter` rc function reads `$OPENROUTER_API_KEY` from the env — never hardcode it (the
|
||||
former `claude-provider` had a live key; it was scrubbed — see decisions/blockers).
|
||||
|
||||
## Commands
|
||||
|
||||
|
||||
Reference in new issue
Block a user