Skip to content

feat: unify provider configuration and Mecatui commands - #1448

Merged
jbeda merged 38 commits into
mainfrom
impl/unified-provider-configuration-and-mecatui-provider-commands
Sep 14, 2026
Merged

jbeda merged 38 commits into
mainfrom
impl/unified-provider-configuration-and-mecatui-provider-commands

Conversation

@jbeda

@jbeda jbeda commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Implementation

Implements the unified provider configuration and Mecatui provider-command contract.

Completed

  • Unified custom providers under providers.NAME.auth with api_key, none, and OIDC authentication, plus shared credential_store.api_key and credential_store.oidc custody configuration.
  • Rejects legacy llm: configuration with migration guidance; --auth-file is replaced by --api-key-file with no alias.
  • Replaced the user-facing mecatui llm family with mecatui providers: passive status, guided setup, add, login/logout, set-default, and remove.
  • Added safe portable provider, API-key, and default-selection writers with private-file validation, symlink/special-file rejection, same-directory atomic replacement, cancellation handling, concurrent-change detection, and truthful post-rename uncertainty.
  • Added offline Scenario 1–5 acceptance coverage and native macOS execution of the writer tests in CI.
  • Updated canonical user documentation, living architecture/implementation guidance, generated configuration reference, runtime recovery messages, and ToolHive remediation copy to use the unified provider vocabulary.
  • Corrected provider removal output so an absent API key is not reported as removed.

Review decisions

  • Operator manual CLI review is complete.
  • OIDC cancellation rolls back provider definitions and credential records. Initialization may leave an owner-private credential root or keyring artifact; this is accepted as consistent with the cancellation contract for this change.
  • Final four-axis panel review found two ship blockers: stale removed-command recovery messages and stale canonical/living documentation. Both were repaired in b5a02b7a4.
  • Human review is complete.

Validation

Completed on the implementation branch:

  • task lint
  • task test
  • task docs
  • task site:build
  • task api:check
  • go run ./cmd/mecademo

The final-head CI run is the authoritative validation for the post-review repair.

task ac-trace-strict remains blocked by the repository-wide known issue rejecting an unrelated plan with Status: proposed; the operator explicitly directed that failure be ignored for this implementation.

Closes #1443

@jbeda
jbeda force-pushed the impl/unified-provider-configuration-and-mecatui-provider-commands branch 2 times, most recently from 1296f5a to b60880d Compare September 14, 2026 00:53
jbeda and others added 28 commits September 13, 2026 20:39
@jbeda
jbeda force-pushed the impl/unified-provider-configuration-and-mecatui-provider-commands branch from 3817688 to 50e0ba2 Compare September 14, 2026 03:52
@jbeda
jbeda merged commit fdbd369 into main Sep 14, 2026
34 checks passed
@jbeda
jbeda deleted the impl/unified-provider-configuration-and-mecatui-provider-commands branch September 14, 2026 04:45
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 14, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — b5a02b7a Deployed Sep 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify provider configuration and Mecatui provider commands

1 participant