MCPcopy Index your code
hub / github.com/AI45Lab/Code / with_session

Method with_session

core/src/hooks/matcher.rs:97–100  ·  view source on GitHub ↗

Add session filter

(mut self, id: impl Into<String>)

Source from the content-addressed store, hash-verified

95
96 /// Add session filter
97 pub fn with_session(mut self, id: impl Into<String>) -> Self {
98 self.session_id = Some(id.into());
99 self
100 }
101
102 /// Add skill filter (supports glob patterns)
103 pub fn with_skill(mut self, name: impl Into<String>) -> Self {

Callers 3

test_builder_patternFunction · 0.80
register_hookMethod · 0.80
register_hookMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_builder_patternFunction · 0.64