Skip to content

desktop/src-tauri/crates/core/src/adapters/atomcode/mod.rs

Comment 1, line 1

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

//! AtomCode adapter (AtomGit CLI; independent directory). Reads

Comment 2, line 2

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

//! $ATOMCODE_HOME, default ~/.atomcode, sessions/<project_hash>/<id>.meta:

Comment 3, line 3

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

//! per-model cumulative turn_stats, without TurnStat timestamps, become session intervals;

Comment 4, line 4

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

//! sum round_count for calls. Legacy single-file <id>.json has the same layout.

Comment 5, line 13

desktop/src-tauri/crates/core/src/adapters/atomcode/mod.rs:13

/// Stateless AtomCode adapter.

Comment 6, line 16

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

/// Exclude only a complete recognized native sidecar paired with its actual meta.

Comment 7, line 17

desktop/src-tauri/crates/core/src/adapters/atomcode/mod.rs:17

/// Manual files and malformed/unrecognized JSON keep their format diagnostics.

Comment 8, line 117

desktop/src-tauri/crates/core/src/adapters/atomcode/mod.rs:117

// Read current .meta and legacy .json with turn_stats using the same layout;

Comment 9, line 118

desktop/src-tauri/crates/core/src/adapters/atomcode/mod.rs:118

// do not read .jsonl/.snapshot and similar files.