Cline Pass plugin thumbnail

Cline Pass

Use your Cline Pass subscription as a model provider in Agent Zero. Adds a clinepass provider with forced streaming for utility tasks and an auto-updating catalog of your subscription models.

Author JordiPeris 0 stars Version 0.3.1 Updated

README

Cline Pass for Agent Zero

Adds the Cline Pass provider to Agent Zero with forced streaming for utility model calls and a live subscription model catalog, so background tasks work with Cline's stream-only API and the model dropdown only lists models included in the ClinePass subscription (plus optional free models).

Why this plugin exists

The Cline API (api.cline.bot) only returns content for streaming requests made from non-Cline product surfaces. Non-streaming requests fail with:

{"error": "empty response content"}

Agent Zero's utility model (used for automatic chat naming, compaction, memory consolidation and other background tasks) performs non-streaming calls by default. With Cline as the Utility Model this breaks features like automatic chat naming (Chat Naming Failed - Utility Model was not reachable).

This plugin injects a no-op streaming callback into util_model_call_before, making the framework use streaming for utility calls on the clinepass provider. No framework files are modified, so it survives Agent Zero updates.

Installation

  1. Copy this folder to /a0/usr/plugins/a0_cline_pass/ (or install from the Plugin Hub).
  2. Set your API key as API_KEY_CLINEPASS in Settings (stored in .env).
  3. Restart Agent Zero.

Usage

In Settings > Models, select Cline Pass as provider. The model dropdown lists the subscription models (with the cline-pass/ prefix), fetched live from the same official feed the Cline CLI and IDE use (/api/v1/ai/cline/recommended-models) — new models added to the subscription appear automatically, with no caching in between.

For the Utility Model, any subscription model works (e.g. cline-pass/mimo-v2.5, cheap and included in the subscription).

Free models

The provider config screen has a List free models switch (on by default). When enabled, Cline's free models (billed at $0, outside the ClinePass quota) are also listed.

Heads-up: some free models only accept requests from official Cline clients and may reject third-party callers with an "update to the latest version of Cline" error. If a free model fails in Agent Zero, disable the switch or pick another model — subscription (cline-pass/*) models are unaffected.

Subscription vs. credits

Model names must use the cline-pass/ prefix to bill against the Cline subscription:

Model name Billing
cline-pass/mimo-v2.5 Subscription ✅
cline-pass/deepseek-v4-flash Subscription ✅
cline-pass/glm-5.3 Subscription ✅
mimo-v2.5, deepseek/deepseek-v4-flash (no prefix) Pay-as-you-go credits ⚠️
Free models listed by the plugin $0 ✅

What's included

  • conf/model_providers.yaml — Cline Pass provider definition (plugin-owned, merged over framework defaults, update-safe).
  • extensions/python/util_model_call_before/_10_force_streaming.py — forces streaming for utility calls on the clinepass provider.
  • api/models.py — serves the live model catalog from Cline's official recommended-models feed (subscription + optional free). No cache, no fallback: if the feed is down, the empty dropdown is the signal.
  • extensions/python/startup_migration/_20_sync_catalog_endpoint.py — keeps the catalog endpoint bound to the local WebUI port (portable across installations).
  • default_config.yaml + webui/config.html — the List free models switch.

Compatibility

  • Agent Zero with util_model_call_before extension point and plugin conf/model_providers.yaml merge support.
  • Only affects utility calls on the clinepass provider; all other providers keep their default behavior.

License

MIT