pub enum ContextQuery {
Show 22 variants
GetRecentChanges {
since: DateTime<Utc>,
},
FindCodeReferences {
file_path: String,
},
GetStructuredSummary,
SearchUpdates {
query: String,
},
GetDecisions {
since: Option<DateTime<Utc>>,
},
GetOpenQuestions,
GetChangeHistory {
file_path: Option<String>,
},
FindRelatedEntities {
entity_name: String,
},
GetEntityContext {
entity_name: String,
},
GetAllEntities {
entity_type: Option<EntityType>,
},
TraceRelationships {
from_entity: String,
max_depth: usize,
},
GetEntityNetwork {
center_entity: String,
max_depth: usize,
},
FindConnectionPath {
from_entity: String,
to_entity: String,
max_depth: usize,
},
GetMostImportantEntities {
limit: usize,
},
GetRecentlyMentionedEntities {
limit: usize,
},
AnalyzeEntityImportance,
FindEntitiesByType {
entity_type: EntityType,
},
GetEntityHierarchy {
root_entity: String,
max_depth: usize,
},
FindEntityClusters {
min_cluster_size: usize,
},
GetEntityTimeline {
entity_name: String,
start_time: Option<DateTime<Utc>>,
end_time: Option<DateTime<Utc>>,
},
AnalyzeEntityTrends {
time_window_days: i64,
},
AssembleContext {
query: String,
token_budget: usize,
},
}Expand description
Typed query descriptors dispatched by query::query_context.
Variants§
GetRecentChanges
Retrieve context updates created after a given timestamp.
FindCodeReferences
Look up code references for a specific file path.
GetStructuredSummary
Return the current structured summary of the session.
SearchUpdates
Keyword search over stored context updates.
GetDecisions
Retrieve decision-type updates, optionally after a timestamp.
GetOpenQuestions
Return open questions tracked in the session.
GetChangeHistory
Return change history, optionally filtered by file path.
FindRelatedEntities
Find entity names related to a given entity.
GetEntityContext
Return full context string for a named entity.
GetAllEntities
List all known entities, optionally filtered by type.
Fields
entity_type: Option<EntityType>Optional entity-type filter.
TraceRelationships
Traverse relationship edges starting from an entity.
Fields
GetEntityNetwork
Build a sub-graph network centered on an entity.
Fields
FindConnectionPath
Find the shortest relationship path between two entities.
Fields
GetMostImportantEntities
Return the top-N entities ranked by importance score.
GetRecentlyMentionedEntities
Return the most recently mentioned entities.
AnalyzeEntityImportance
Perform a full importance analysis across all entities.
FindEntitiesByType
List entities matching a specific type.
Fields
entity_type: EntityTypeEntity type to filter by.
GetEntityHierarchy
Return a hierarchical tree rooted at an entity.
Fields
FindEntityClusters
Detect clusters of closely related entities.
GetEntityTimeline
Return a timeline of mentions for a specific entity.
Fields
AnalyzeEntityTrends
Analyse how entity activity trends over a time window.
AssembleContext
Graph-aware retrieval combining semantic search and traversal.
Trait Implementations§
Source§impl Debug for ContextQuery
impl Debug for ContextQuery
Source§impl<'de> Deserialize<'de> for ContextQuery
impl<'de> Deserialize<'de> for ContextQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for ContextQuery
impl RefUnwindSafe for ContextQuery
impl Send for ContextQuery
impl Sync for ContextQuery
impl Unpin for ContextQuery
impl UnsafeUnpin for ContextQuery
impl UnwindSafe for ContextQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request