Skip to content

[Feature]: add Cline as a supported client integration #4214

Description

@lidge-jun

Area

Multiple areas

What are you trying to accomplish?

Use Cline with OpenCodex the way the other supported clients already work: OpenCodex writes the client's provider configuration, keeps the model catalog in sync, and can roll the change back, so switching Cline between routed providers does not mean hand-editing Cline settings.

Requested on X by @Splaxi on 2026-09-09: "would you consider adding cline support in open codex?" (https://x.com/splaxi/status/2097811410809979099).

What prevents this today?

Cline is not a known integration. src/integrations/registry.ts at dev 6d3ad12e3 (2.51.0) enumerates opencode, pi, omp, hermes, openclaw, kimi, gajae, dsh, mcode, zcode, prime, aside, and raycast alongside the native Codex and Claude surfaces, and ocx integration client operates on that registry. A Cline user has to point Cline at the proxy manually and re-do it whenever routing, port, or the model set changes, with no detection, no catalog sync, and no rollback entry.

What should OpenCodex do?

  1. Detect an installed Cline configuration the way the existing integrations detect theirs.
  2. Write the OpenAI-compatible base URL and key into Cline's settings through the same atomic writer and rollback journal the other integrations use.
  3. Sync the routed catalog so the models offered inside Cline match what the proxy will actually serve.
  4. Expose it through the existing verbs and the dashboard client list, with no new special-case surface.

Example usage or interface

ocx integration client list        # cline appears with a detected install path
ocx integration client enable cline
ocx integration client restore cline

Alternatives or workarounds

Configure Cline by hand against http://127.0.0.1:<port>/v1 with a manually copied key, and re-do it after every routing or catalog change. That works, but it is exactly the manual sync the integration registry exists to remove.

Additional context

Checks

  • I searched existing issues and documentation.
  • This request describes a concrete OpenCodex workflow rather than merely naming a desired technology.
  • I removed secrets and personal data.

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

    catalogModel catalog, slugs, visibility, routed entriescliCLI, config inject, packaging flagsenhancementNew feature or requestproviderProvider adapters, OpenAI-compat presets, upstream API quirks

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions