Expand description
Provenance types for tracking conversation origins.
This module defines the data model for tracking where conversations come from. These types are used throughout cass: storage, indexing, search, CLI, TUI.
§Key Types
SourceKind: The type of source (local, SSH, etc.)Source: A registered source in the system (stored in SQLite)Origin: Per-conversation provenance metadata
§Example
use coding_agent_search::sources::provenance::{Origin, SourceKind, LOCAL_SOURCE_ID};
// Create origin for a local conversation
let local_origin = Origin::local();
assert_eq!(local_origin.source_id, LOCAL_SOURCE_ID);
// Create origin for a remote conversation
let remote_origin = Origin::remote("work-laptop");
assert!(remote_origin.is_remote());Structs§
Enums§
- Source
Filter - Filter for searching by source.
- Source
Kind - The kind/type of a source.
Constants§
- LOCAL_
SOURCE_ ID - The default source ID for local conversations.