Skip to content

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs

Comment 1, line 1

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:1

//! Recognize Qoder session JSONL/state.json; usage fields remain unverified and are not parsed.

Comment 2, line 13

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:13

// Temporary lock/timeout/removal after enumeration is Pending; retry detection next run.

Comment 3, line 21

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:21

// Recognize JSONL sessions or state.json objects as Qoder session files,

Comment 4, line 22

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:22

// but use LatestFallback and reject usage during scanning until fields are verified.

Comment 5, line 23

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:23

// A session_id substring match also requires an opening brace; otherwise unrelated

Comment 6, line 24

desktop/src-tauri/crates/core/src/adapters/qoder/detect.rs:24

// files containing "session_id" could be incorrectly claimed.