pub enum CompletionRuleKind {
Agents,
Sessions,
Path,
PathFuzzy,
Actions,
Command(Vec<String>),
}Expand description
Named completion behavior selected by prompt completion config.
Variants§
Agents
Complete active agent mentions from harness-provided agent data.
Sessions
Complete running session identifiers from application-provided data.
Path
Complete filesystem paths by reading the matching directory.
PathFuzzy
Complete filesystem paths, preferring fuzzy git-tracked file matches for
./<partial> inside a repository.
Actions
Complete action/command names.
Command(Vec<String>)
Run an external command when the trigger token is typed exactly.
Trait Implementations§
Source§impl Clone for CompletionRuleKind
impl Clone for CompletionRuleKind
Source§impl Debug for CompletionRuleKind
impl Debug for CompletionRuleKind
impl Eq for CompletionRuleKind
Source§impl PartialEq for CompletionRuleKind
impl PartialEq for CompletionRuleKind
impl StructuralPartialEq for CompletionRuleKind
Auto Trait Implementations§
impl Freeze for CompletionRuleKind
impl RefUnwindSafe for CompletionRuleKind
impl Send for CompletionRuleKind
impl Sync for CompletionRuleKind
impl Unpin for CompletionRuleKind
impl UnsafeUnpin for CompletionRuleKind
impl UnwindSafe for CompletionRuleKind
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
Mutably borrows from an owned value. Read more