MCPcopy Create free account
hub / github.com/AI45Lab/Code / is_reference_boundary

Function is_reference_boundary

core/src/agent/auto_delegation.rs:264–267  ·  view source on GitHub ↗
(ch: Option<char>)

Source from the content-addressed store, hash-verified

262}
263
264fn is_reference_boundary(ch: Option<char>) -> bool {
265 ch.map(|ch| !ch.is_ascii_alphanumeric() && ch != '_' && ch != '-')
266 .unwrap_or(true)
267}
268
269fn agent_name_matches(agent_name: &str, candidate: &str) -> bool {
270 let agent = agent_name.to_ascii_lowercase();

Callers 1

contains_boundedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected