Use the Cline Adapter
Use the NVIDIA NeMo Fabric nvidia.fabric.cline adapter to run Cline through
its supported TypeScript SDK while retaining conversation context for the
lifetime of a NeMo Fabric runtime.
Install Cline and the Adapter
Cline requires Node.js 22.19.0 or newer. Install the supported Cline SDK harness separately in the Node.js project that owns the NeMo Fabric configuration:
Then install the NeMo Fabric adapter in the same project:
The Cline SDK is not an adapter package dependency. Installing the NeMo Fabric
adapter does not install the harness, and the adapter never installs it at
runtime. A missing SDK produces cline_harness_unavailable with an explicit
Cline installation command.
For source development in the NeMo Fabric repository, run:
Configure the Adapter
Select the Cline adapter and point discovery at its installed descriptor:
For a source build, use
adapters/typescript/cline/cline.fabric-adapter.json. Set the environment
variable named by api_key_env before starting the runtime.
Start one runtime and reuse it for ordered turns:
The second invocation uses the conversation retained by the Cline session; the caller does not replay the first prompt or response.
The adapter maps the provider, model ID, API-key environment reference, and
optional compatible base URL into Cline. It supports only replace system
instructions. Tool policy names are Cline built-in tool names; unknown names
fail during startup.
Enabled Cline built-in tools run non-interactively and are explicitly
auto-approved. tools.enabled and tools.blocked define harness tool policy;
they do not provide a filesystem or process sandbox. Run Cline in an isolated
task environment when enabling run_commands, editor, or apply_patch.
The replace instruction mode discards Cline’s native system prompt. Include
required workspace-location context in the replacement instruction or provide
absolute paths in user input.
Configure MCP Servers and Skills
Normalized skill paths are staged into a runtime-scoped Agent Plugins v1
package and loaded through Cline’s native skill discovery. Each path must name
a directory containing SKILL.md.
Normalized MCP servers use the same runtime-scoped native plugin. The adapter
supports unauthenticated stdio, SSE, and streamable HTTP servers.
Normalized MCP authentication, allowed_tools, and blocked_tools are not
supported and fail during planning or startup.
Understand Runtime Behavior
Each NeMo Fabric runtime creates an isolated local ClineCore. The first
invocation starts one interactive Cline session, later invocations send prompts
to the same session ID, and runtime shutdown stops the session and disposes the
core. Callers do not replay conversation history. Independent NeMo Fabric
runtimes use separate Cline state directories and sessions.
Successful results include normalized response text and usage when Cline reports it. Adapter-owned result metadata includes the Cline session ID, finish reason, iteration count, and selected model when available.
The initial adapter does not support NeMo Relay telemetry, native streaming,
Relay-backed streaming, or adapter-specific harness.settings.