feat: implement branch-aware context switching and integrate tantivy fuzzy search index
This commit is contained in:
1 parent
e4ff476b6d
commit
3239e32866
6 files changed
+797
-2
No files matched your search
@@ -26,6 +26,8 @@ pub struct Entity {
|
||||
pub observations: Vec<String>,
|
||||
#[serde(default = "default_namespace")]
|
||||
pub namespace: String,
|
||||
#[serde(default)]
|
||||
pub git_branch: Option<String>,
|
||||
}
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
||||
pub struct Relation {
|
||||
@@ -51,6 +53,7 @@ pub struct Task {
|
||||
pub description: String,
|
||||
pub created_at: u64,
|
||||
pub updated_at: u64,
|
||||
pub git_branch: Option<String>,
|
||||
}
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub struct Snippet {
|
||||
@@ -88,6 +91,7 @@ pub struct PinnedFile {
|
||||
pub namespace: String,
|
||||
pub file_path: String,
|
||||
pub timestamp: u64,
|
||||
pub git_branch: Option<String>,
|
||||
}
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub struct SessionSummary {
|
||||
|
||||
Reference in new issue
Block a user