Skip to content

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs

Comment 1, line 1

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:1

//! Zoo Code registry maps format identifiers to implementations or fallback.

Comment 2, line 2

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:2

//! See architecture.md#adapter-layout / #unknown-version.

Comment 3, line 3

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:3

//!

Comment 4, line 4

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:4

//! ui_messages.json has no CLI-version field; use the documentation-based format ID

Comment 5, line 5

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:5

//! zoo-ui-messages-doc-1, initially based on f780647, without identifying a client version.

Comment 6, line 6

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:6

//! Successful detection returns KnownVersion for this format; scanning checks native message kinds.

Comment 7, line 7

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:7

//! Invalid kinds fail validation; supported non-usage messages do not generate usage.

Comment 8, line 8

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:8

//! Keep Zoo separate from Cline (A19); its product identity must not become Roo Code.

Comment 9, line 12

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:12

/// This constant selects the latest built-in implementation without network access.

Comment 10, line 15

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:15

/// UI-format identifier from initial fixed-source f780647, not a CLI version.

Comment 11, line 16

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:16

/// Native 3.86.0 samples verify current UI reading rules without adding per-release dispatch.

Comment 12, line 19

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:19

/// Registered format IDs mapped to implementations.

Comment 13, line 20

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:20

/// Zoo has no per-CLI-version entry; the format ID remains zoo-ui-messages-doc-1.

Comment 14, line 24

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:24

/// Version selection result.

Comment 15, line 31

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:31

/// Detection and scanning share this V30 format-selection function.

Comment 16, line 44

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:44

// Detection supplies the fixed format ID; other select values are outside this route.

Comment 17, line 51

desktop/src-tauri/crates/core/src/adapters/zoo/versions/mod.rs:51

// Detection supplies the fixed format ID; retain None for the shared interface.