Skip to content

v0.15.2-beta

Choose a tag to compare

@github-actions github-actions released this 17 Nov 15:26

Credentials are finally resolved the way harnesses resolve them.
Field report: a config carried the key as a FILE REFERENCE
({file:PATH} / file://PATH) - harnessator did not know that
syntax, so it fell through to "inline literal" and would have sent
the reference STRING as the bearer token; and claude's
apiKeyHelper was deliberately not executed, leaving real gateways
unprobed. Now: a shared resolver (resolveSecretRef) evaluates
{env:VAR}, {file:PATH}, file:/file:// (with ~ expansion)
for opencode apiKey, claude settings-env values, everywhere a key
is read - source labels name the variable or the path, never the
value. A reference that resolves to nothing is reported BROKEN
("nothing probed, nothing written") - no silent fallback to the auth
store, no raw reference on the wire. And apiKeyHelper is EXECUTED:
it is the very command claude runs on every launch (crosses no new
trust boundary), its trimmed stdout becomes the key in memory, an
unset environment key takes precedence (proven by a marker-file test:
with ANTHROPIC_AUTH_TOKEN set, the helper never runs), failures
surface only the exit code - output is never shown, so a helper that
echoes its secret on stderr cannot leak it. provider import
stays honest-by-design in the other direction: a {file:} reference
is reported by PATH with the ramp to auth_env (governed profiles
authenticate via env names; import reports, modelupdate executes -
say so in the docs, now they do). Live proof on the author's
machine: claude's helper-authed gateway answered 151 reachable
models where v0.15.1 had said "no credentials".

Install this release

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