Go to file
Anton Volnuhin 2ba14d3e6d opencode: fix invalid config and externalize the bailian key
opencode rejected the config with "Unrecognized key: providers". The
file had both `provider` (opencode's schema: npm + options) and
`providers` (package: "aisdk:..." + settings, some other tool's shape,
left behind by an api-for-cursor script back in July). The Alibaba/Qwen
provider lived only under the rejected key, so it had never actually
reached opencode.

Translate it into the real schema -- package -> npm, settings -> options
at both provider and model level -- rather than dropping it, so those
five qwen models now work. The duplicate cursorapi under `providers` is
dropped: the existing provider.cursorapi is a superset, with four models
plus cost and limit metadata.

The 113-char bailian key moves to secrets/bailian-api-key (0600) and is
referenced as {file:./secrets/bailian-api-key}, which opencode resolves
relative to the config dir -- so no absolute home path, and no shell
export needed on ssh-only boxes. Verified by pointing it at a missing
file and getting "bad file reference".

With the key out, opencode.json can finally be tracked. Ignore the
secrets dir, the stale .bak copies that still contain it, and the
node/bun lockfiles.
2026-08-06 02:53:27 +03:00
dot_1password template symlinks for portability, remove karabiner debug rule 2026-03-02 19:25:40 +03:00
dot_claude Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_codex Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_grok Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_kimi Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_kimi-code Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_pi/agent Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_reasonix Track agent CLI configs, with codex secrets externalized 2026-08-06 02:23:49 +03:00
dot_terminfo terminfo: cursor reset restores terminal default (beam), not block 2026-06-12 01:28:40 +03:00
dot_tmux/plugins nova things 2026-03-02 22:17:26 +03:00
private_dot_config opencode: fix invalid config and externalize the bailian key 2026-08-06 02:53:27 +03:00
private_Library/private_Application Support/private_Arc back to kitty, uv, small changes in karabiner 2025-03-02 01:17:58 +03:00
.chezmoiexternal.toml restructure repo, fix fish config, remove vendored repos 2026-03-02 19:11:10 +03:00
.chezmoiignore opencode: fix invalid config and externalize the bailian key 2026-08-06 02:53:27 +03:00
.gitignore add .gitignore to exclude nvimlog and pycache from repo 2026-03-03 23:30:32 +03:00
dot_gitconfig Small combined changes 2026-07-27 20:23:32 +03:00
dot_tmux.conf tmux: use session name as kitty tab title, with @host over SSH 2026-06-12 01:12:04 +03:00
dot_zshrc Small combined changes 2026-07-27 20:23:32 +03:00
run_after_kitty-theme-mode.sh kitty: make the theme mode per-machine 2026-08-06 02:03:13 +03:00
run_onchange_after_install_main_deps.sh.tmpl Modernize Neovim treesitter bootstrap 2026-03-31 01:45:02 +03:00
run_onchange_after_z_configure_tide.sh.tmpl add tide-reset function, fix treesitter config for stable nvim 2026-03-04 18:13:21 +03:00