feat: Enable Cline connector in terraphim_sessions #3

Closed
opened 2026-04-22 09:41:11 +02:00 by product-owner · 1 comment

Problem Statement

The Cline connector is implemented in terraphim_sessions but not enabled in the terraphim_agent crate. The agent's Cargo.toml only enables aider-connector feature for terraphim_sessions, missing the cline-connector feature.

Current State

  • Cline connector exists: crates/terraphim_sessions/src/connector/cline.rs
  • Feature flag exists: cline-connector in terraphim_sessions/Cargo.toml
  • Agent dependency: terraphim_sessions = { ..., features = ["tsa-full", "aider-connector"] } (missing cline-connector)

Acceptance Criteria

  • Add cline-connector to terraphim_sessions features in terraphim_agent/Cargo.toml
  • Verify Cline connector is registered in ConnectorRegistry::new() when feature is enabled
  • Test that terraphim-agent sessions sources detects Cline when available
  • cargo test -p terraphim_sessions passes
  • cargo clippy -- -D warnings passes

Proposed Approach

Modify crates/terraphim_agent/Cargo.toml:

terraphim_sessions = { path = "../terraphim_sessions", version = "1.6.0", optional = true, features = ["tsa-full", "aider-connector", "cline-connector"] }

Dependencies

None

Verification

cargo test -p terraphim_sessions
cargo build -p terraphim_agent --features repl-sessions
cargo clippy -p terraphim_agent -- -D warnings

Scope

Single file change (Cargo.toml). No code changes required.

Upstream: This issue tracks a feature for terraphim/terraphim-ai

## Problem Statement The Cline connector is implemented in `terraphim_sessions` but not enabled in the `terraphim_agent` crate. The agent's Cargo.toml only enables `aider-connector` feature for `terraphim_sessions`, missing the `cline-connector` feature. ## Current State - Cline connector exists: `crates/terraphim_sessions/src/connector/cline.rs` - Feature flag exists: `cline-connector` in `terraphim_sessions/Cargo.toml` - Agent dependency: `terraphim_sessions = { ..., features = ["tsa-full", "aider-connector"] }` (missing `cline-connector`) ## Acceptance Criteria - [ ] Add `cline-connector` to `terraphim_sessions` features in `terraphim_agent/Cargo.toml` - [ ] Verify Cline connector is registered in `ConnectorRegistry::new()` when feature is enabled - [ ] Test that `terraphim-agent sessions sources` detects Cline when available - [ ] cargo test -p terraphim_sessions passes - [ ] cargo clippy -- -D warnings passes ## Proposed Approach Modify `crates/terraphim_agent/Cargo.toml`: ```toml terraphim_sessions = { path = "../terraphim_sessions", version = "1.6.0", optional = true, features = ["tsa-full", "aider-connector", "cline-connector"] } ``` ## Dependencies None ## Verification ```bash cargo test -p terraphim_sessions cargo build -p terraphim_agent --features repl-sessions cargo clippy -p terraphim_agent -- -D warnings ``` ## Scope Single file change (Cargo.toml). No code changes required. Upstream: This issue tracks a feature for terraphim/terraphim-ai
Owner

Closing -- Cline connector superseded. Session import now handled by opencode-native JSONL connector.

Closing -- Cline connector superseded. Session import now handled by opencode-native JSONL connector.
root closed this issue 2026-05-11 00:05:27 +02:00
Sign in to join this conversation.