Skip to content

[Enhancement]: Cline adapter: offer the terminal UI and ACP #557

Open

Description

@cv

Affected area

Harness adapter; Schemas or configuration; Consumer integration; Documentation or examples

Problem or opportunity

Part of #547, which proposes one contract for serving harnesses' native interfaces.

The adapter uses @cline/sdk 0.0.83 and keeps one local Cline core and session per runtime. Fabric exposes none of the harness's own interfaces, so a consumer such as NVIDIA NemoClaw can't offer them.

Native interfaces:

  • Observed in cline 3.0.74 (latest, not matched to the SDK): -i/--tui (terminal UI) and --acp (ACP).

Proposed enhancement

Implement on #547's shared contract: opt-in harness.settings.interfaces.<name>, discovery of loopback ports and credential locations through the handle, owner-only credentials, the service lifecycle where an interface outlives a runtime, health checks, outbound requests off by default, and documented packaging.

  • Add a terminal interface that opens Cline's terminal UI with the runtime's configuration, attached to its session if the core allows.
  • Optionally add an ACP interface.

Verify first:

  • Which Cline CLI release matches @cline/sdk 0.0.83.
  • Whether the terminal UI can attach to a core session the adapter holds.

Estimated effort: Medium.

Public contract and compatibility impact

  • Schemas or adapter contract: the adapter's descriptor declares its interfaces, and its settings gain interfaces.
  • Backward compatibility: additive; interfaces default to off.

Alternatives considered

Acceptance criteria

Additional context

Survey of Fabric main at 4fdf65a (2026-10-29); CLI options come from each CLI's --help in a disposable container. NemoClaw builds no Cline image yet.

Duplicate check

  • I searched the existing issues and did not find a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions