dotfiles/private_dot_config
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
..
atuin Small combined changes 2026-07-27 20:23:32 +03:00
bat default theme for bat 2024-05-17 23:22:43 +03:00
helix force true color in helix 2024-09-01 00:09:40 +03:00
kitty fix(kitty): read file permissions correctly where stat is GNU 2026-08-06 02:39:49 +03:00
nvim clipboard fixes for tmux and nvim 2026-04-09 02:21:29 +03:00
opencode opencode: fix invalid config and externalize the bailian key 2026-08-06 02:53:27 +03:00
private_fish kitty: remember the light/dark mode across restarts 2026-08-06 01:49:45 +03:00
private_karabiner/private_assets/private_complex_modifications restructure repo, fix fish config, remove vendored repos 2026-03-02 19:11:10 +03:00
scripts Modernize Neovim treesitter bootstrap 2026-03-31 01:45:02 +03:00
wezterm kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
karabiner.edn Preserve local Karabiner and Pi preferences 2026-07-27 22:33:34 +03:00