Skip to main content

Cline surface plugin for the ai-hats framework — registers the `cline` CLI as an ai-hats provider via the `ai_hats.providers` entry point.

Project description

ai-hats-cline

A Cline surface plugin for the ai-hats framework. It registers the cline CLI as a first-class ai-hats provider through the ai_hats.providers entry point, so ai-hats discovers it with zero edits to src/ai_hats/** (the T10 IoC seam, HATS-870).

Install it alongside ai-hats and cline appears next to the built-ins:

$ ai-hats list providers
  claude  →  CLAUDE.md
  gemini  →  GEMINI.md
  cline   →  CLINE.md

(The → CLINE.md column is nominal — cline takes the role inline via -s, so no CLINE.md file is ever written; it is just this provider's system-prompt path label.)

Then compose any role onto cline:

$ ai-hats -p cline -r <role>          # HITL: launches an interactive cline TUI

What it owns

  • ClineProvider — the ai_hats.providers.Provider adapter for cline:
    • the composed role reaches cline inline via -s "<role>" (no static CLINE.mdupdate_system_prompt is a no-op);
    • HITL launches the interactive TUI (cline -i); the automate path runs headless (cline --yolo --json "<prompt>");
    • --worktree is never passed (ai-hats-wt owns isolation), and CLINE_DATA_DIR is left ambient so cline keeps the machine's auth;
    • the role's skills are materialized into .cline/skills/ (cline's native discovery path) so /skills shows them and /skill-name loads bodies (HATS-963). User-authored skills in .cline/skills/ are preserved.

Requirements

  • cline v3.x on PATH, authenticated (cline auth).
  • ai-hats (this plugin depends on the integrator for the Provider ABC, per ADR-0014).

Not yet here

  • ClineParser — a structured .messages.json → audit + usage adapter (follow-up); until it lands the provider rides ai-hats-observe's default trace parser.
  • --hooks-dir runtime-hook wiring, cline teams/spawn, and PyPI publish.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_hats_cline-0.3.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_hats_cline-0.3.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file ai_hats_cline-0.3.0.tar.gz.

File metadata

  • Download URL: ai_hats_cline-0.3.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_hats_cline-0.3.0.tar.gz
Algorithm Hash digest
SHA256 948fc11fe382c630b4117cc7d50678f8c79e021e4dce02e7c3ae9e20497b03f6
MD5 c2cac139f943151a18c82c91cdcd9034
BLAKE2b-256 af1c5e9b49cca1a94d7f5a885f9e8db8162f6d37d8fb084ee36be82d55b3888b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_hats_cline-0.3.0.tar.gz:

Publisher: release-packages.yml on muratovv/ai-hats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_hats_cline-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ai_hats_cline-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_hats_cline-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e1ee45bc2f75c2f9916d9059f793ed5ce6ad18309336c43eb7c953e27a4201e
MD5 505e94de9df309e857093c42f5089b81
BLAKE2b-256 3fa3a07e6774dbb7ce7eaa5f5c32c7ba3f39d8731550b60859e3a71ce0ac798b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_hats_cline-0.3.0-py3-none-any.whl:

Publisher: release-packages.yml on muratovv/ai-hats

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page