Skip to content

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

Comment 1, line 1

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

//! Goose adapter (Block→aaif-goose; independent directory). Reads sessions.db

Comment 2, line 2

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

//! per-request usage_ledger, migration 15+; old DBs fall back to sessions.accumulated_* aggregates.

Comment 3, line 12

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

/// Stateless Goose adapter.

Comment 4, line 42

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:42

// GOOSE_PATH_ROOT must be absolute (official paths.rs:41–50).

Comment 5, line 56

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:56

// etcetera 0.11 Windows layout: Roaming/<author>/<app>/data.

Comment 6, line 75

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:75

// Legacy Block macOS root retained for compatibility by official comments.

Comment 7, line 85

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:85

// Legacy Block Unix root.

Comment 8, line 102

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:102

// File manual roots use the file itself: two DBs in one directory must not

Comment 9, line 103

desktop/src-tauri/crates/core/src/adapters/goose/mod.rs:103

// normalize to one directory and lose one forever through framework deduplication.