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

Method session

core/src/hooks/matcher.rs:63–68  ·  view source on GitHub ↗

Create a matcher for a specific session

(id: impl Into<String>)

Source from the content-addressed store, hash-verified

61
62 /// Create a matcher for a specific session
63 pub fn session(id: impl Into<String>) -> Self {
64 Self {
65 session_id: Some(id.into()),
66 ..Default::default()
67 }
68 }
69
70 /// Create a matcher for a specific skill (supports glob patterns)
71 pub fn skill(name: impl Into<String>) -> Self {

Calls

no outgoing calls