desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs
Comment 1, line 1
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:1
//! Cline legacy UI registry maps format IDs to implementations or fallback.Comment 2, line 2
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:2
//! See architecture.md#adapter-layout / #unknown-version, V30.Comment 3, line 3
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:3
//!Comment 4, line 4
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:4
//! Legacy ui_messages.json has no CLI-version field; its documentation-based format ID isComment 5, line 5
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:5
//! ui-messages-doc-1, defined by fixed source dcf8c3c. This legacy route reads no version:Comment 6, line 6
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:6
//! successful detection returns KnownVersion. Scanning rejects undocumented say kinds andComment 7, line 7
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:7
//! non-say record types. Native SDK files use their own detection/scanning implementation.Comment 8, line 8
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:8
//!Comment 9, line 9
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:9
//! Keep the select interface shared with Claude/Gemini for V30 structural checks:Comment 10, line 10
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:10
//! - Documentation-based format ID: KnownVersion, dispatch through the mapping.Comment 11, line 11
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:11
//! - None/other values: LatestFallback. Legacy UI detection supplies the fixed ID, so theseComment 12, line 12
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:12
//! branches preserve the common interface rather than classify SDK versions.Comment 13, line 17
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:17
/// This constant selects the latest built-in implementation without network access.Comment 14, line 20
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:20
/// Legacy UI-format ID based on message definitions in fixed source dcf8c3c, not a CLI version.Comment 15, line 21
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:21
/// Native verification of this legacy format remains pending; SDK verification is separate.Comment 16, line 24
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:24
/// Registered legacy UI-format IDs mapped to implementations.Comment 17, line 25
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:25
/// Legacy Cline UI has no per-CLI-version entry; its sole format ID is ui-messages-doc-1.Comment 18, line 28
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:28
/// Version selection result.Comment 19, line 35
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:35
/// Legacy UI detection and scanning share format-ID selection for V30.Comment 20, line 48
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:48
// Legacy UI detection supplies the fixed format ID; other values do not occur on that route.Comment 21, line 55
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:55
// Legacy UI detection supplies the fixed format ID; None preserves the common interface.Comment 22, line 81
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:81
// Legacy UI detection supplies the fixed ID, so None/other values are interface checks.Comment 23, line 82
desktop/src-tauri/crates/core/src/adapters/cline/versions/mod.rs:82
// Preserve the LatestFallback result shape used by other registries for V30.