Repository navigation
fix(toolhive): support v0.50 encrypted LLM credentials - #1813
Merged
Merged
Conversation
Upgrade the ToolHive module to v0.50.0 and adapt its incoming auth middleware call. Cover THVSEC v1 credential loading and direct model listing with an isolated encrypted store, and align UI rendering with the transitive ANSI update. Co-Authored-By: OpenAI Codex <[email protected]> Signed-off-by: Samuele Verzi <[email protected]>
Renumber the conflicting session identity ADR and use the Go 1.27.0 directive required by standalone read-only builds. Keep the FreeBSD managed-storage cross-compile at the OS adapter boundary because ToolHive's transitive 1Password SDK has no FreeBSD implementation. Pin FreeBSD admission behavior in the existing composition test. Co-Authored-By: OpenAI Codex <[email protected]> Signed-off-by: Samuele Verzi <[email protected]>
samuv
force-pushed
the
t3code/update-toolhive-secrets
branch
from
September 23, 2026 16:12
34066d2 to
7a23eb3
Compare
The macOS test sometimes read the shell's redirected output files between creation and the final printf write. Wait for both values before asserting the temporary lease and scrubbed environment. Co-Authored-By: OpenAI Codex <[email protected]> Signed-off-by: Samuele Verzi <[email protected]>
jhrozek
approved these changes
Sep 23, 2026
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
thvprocess reads the credentials itself.mecateddeployment guide.Development stage
Contract linkage
Interface conformance
No public interface changes. The new ToolHive middleware argument is internal composition wiring.
Issue relationship
User-reported ToolHive v0.50.0 credential compatibility bug; no linked issue.
Type of change
Test plan
task buildtask linttask testtask test:racego run ./cmd/mecademo(tool call, permission ask/approval, result)task docs(strict link and document checks)task site:buildGo checks ran with an isolated
HOME/XDG directory and the environment secrets provider. The regression test uses only synthetic credentials and a local HTTP server. No operator ToolHive secret file or keyring entry was read, reset, logged, or committed.User-facing change
Direct ToolHive LLM mode can read credentials written by ToolHive v0.50.0, so a configured provider can list gateway models again.
Special notes for reviewers
ToolHive's transitive ANSI update changes the width calculation for joined family emoji. The existing width normalizer now retains the first scalar in that case to keep its two width methods aligned; the test expectation records this behavior.
CI follow-up
main. Renumber the session-identity ADR to 0353 so the documentation and race lint gates pass.1.27.0after the ToolHive dependency update. Aligngo.modandgo.work, while accepting both equivalent Go 1.27 directive spellings in the dependency-floor test.internal/appcross-compile in the macOS managed-storage job. Mecatl releases target Linux and macOS. Keep the FreeBSDosfscompile check, and explicitly test that managed storage rejects FreeBSD at admission.osfstest: shell redirection creates each output file beforeprintffinishes writing it. Wait for complete temporary-path and scrubbed-variable output before asserting either value.