desktop/src-tauri/crates/core/src/adapters/pi/mod.rs
Comment 1, line 1
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:1
//! pi (pi-coding-agent) adapter; layout: architecture.md#adapter-layout.Comment 2, line 2
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:2
//! V30 moved the former root adapters/pi.rs into an independent directory.Comment 3, line 3
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:3
//! - Stable product entry point implementing/re-exporting the common interface.Comment 4, line 4
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:4
//! - [`detect`]: product/format detection and version selection.Comment 5, line 5
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:5
//! - [`versions`]: verified registry; unregistered numeric versions try the latest reader.Comment 6, line 6
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:6
//! Only fixed-source-confirmed incompatible v1/v2/missing versions reject before parsing.Comment 7, line 7
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:7
//! - Keep historical format implementations in this directory, without root-level single files.Comment 8, line 8
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:8
//!Comment 9, line 9
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:9
//! [`versions::session_v3`] headers retain fixed pi-mono b4559750 and local test references.Comment 10, line 10
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:10
//! pi/omp shared usage parsing/event construction lives with scanning inComment 11, line 11
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:11
//! [`versions::session_v3`] and is re-exported here; cross-product map_pi_family stays inComment 12, line 12
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:12
//! root usage_map.rs.Comment 13, line 21
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:21
// Re-export former root pi.rs pub(crate) helpers to preserve internal pi/omp paths.Comment 14, line 22
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:22
// map_cost is local to this directory and is not re-exported.Comment 15, line 31
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:31
/// Stateless pi adapter.Comment 16, line 60
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:60
// Use sessions directories as instance roots; the framework deduplicates identical instances.Comment 17, line 81
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:81
// Manual roots containing sessions resolve to that child; otherwise use the root itself.Comment 18, line 94
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:94
// Enumerate JSONL at depth two, including encoded-cwd children and files directly in sessions.Comment 19, line 130
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:130
// Current attempted versions share session_v3; the reader checks session-header versionsComment 20, line 131
desktop/src-tauri/crates/core/src/adapters/pi/mod.rs:131
// and diagnoses known incompatibilities. Future distinct implementations require dispatch here.