Skip to content

Unify provider configuration and Mecatui provider commands #1443

Closed

Description

@jbeda

Goal

Replace the recently introduced split between custom providers: definitions and llm.endpoints OIDC gateway definitions with one provider-oriented configuration and Mecatui CLI model. Treat PR #1441 as a prototype; do not merge it unchanged.

Agreed direction

  • Use providers as the sole user-facing concept and mecatui providers as the command group.
  • Remove user-facing “Native LLM” and “endpoint” terminology; commands take a provider name, while URLs remain network addresses.
  • Make a clean breaking change: legacy llm.endpoints fails startup with migration guidance; mecatui llm and --auth-file are removed without aliases. Replacement functionality is available under mecatui providers and --api-key-file.
  • Use credential_store.api_key.file for the configurable file-backed API-key input and credential_store.oidc for the shared protected OIDC store. The existing auth.yaml temporarily retains the experimental OpenAI Codex manual-token record; Converge OpenAI Codex credentials with protected OAuth lifecycle #1442 tracks its convergence.
  • Preserve the ADR 0329 OIDC lifecycle and custody semantics. This is not an auth redesign.
  • Custom OIDC is initially valid only with openai-responses; other API flavors plus OIDC are configuration errors.
  • Support Linux and macOS safe provider setup. Keep private file/symlink/special-file protections, atomic replacement, cancellation, final changed-target detection, and truthful post-rename uncertainty; drop feat: complete provider setup UX on unified configuration #1441's cooperative sidecar-lock retry protocol.

Design artifacts

The Plan / Interface PR will contain the finalized ADR and acceptance plan.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions