Skip to content

v0.15.0-beta

Choose a tag to compare

@github-actions github-actions released this 17 Nov 14:18

harnessator provider modelupdate <harness>... | "*" | --all -
keep live harness configs honest to their gateways.
The inverse of
import: instead of lifting configs into governed profiles, it asks
the gateways NAMED IN each harness's own configuration what they
actually serve right now, and writes the refreshed model lists back -
adding newcomers, removing what is no longer served, and reporting
every +/-/= per provider. The safety doctrine that made writing
foreign files defensible: keys are read from wherever the harness
keeps them (env refs, inline values, opencode's auth store), used for
the probe request, and NEVER printed, logged or copied (a
KeySource LABEL is all that surfaces); every applied write lands a
timestamped .bak- backup beside the file; a failed probe cannot
write; JSONC round-trips through a comment-tolerant parser, and the
rewrite's comment loss is said out loud; harnessator-managed
artifacts are refused - their truth belongs in a profile source plus
setup. Catalog-writable today: opencode. Report-only by nature:
claude (selects by tier, stale modelSettings entries are named),
codex (hand-commented TOML stays untouched, reachable ids are
printed), gemini/cline (honest skip reasons), copilot/cursor
(server-side). No argument = the round-45 lesson in a refusal:
there is no "current" harness, a project targets many. --all and
quoted "*" share the eaten-star diagnosis from v0.14.4. Tests
prove the contract against an httptest gateway: exact diffs, kept
models' per-model options preserved, key never leaves the probe,
dry-run inert, 401 blocks the write.

Install this release

curl -fsSL https://raw.githubusercontent.com/aignerdevelopment/harnessator/main/install.sh | bash -s -- --version v0.15.0-beta