MCPcopy Create free account
hub / github.com/Louisym/MiniCC / slugify_agent_name

Function slugify_agent_name

mini_claude_code/multi_agent.py:172–177  ·  view source on GitHub ↗

源码: lib.rs:2057-2075 (slugify_agent_name)

(name: str)

Source from the content-addressed store, hash-verified

170# ============================================================
171
172def slugify_agent_name(name: str) -> str:
173 """源码: lib.rs:2057-2075 (slugify_agent_name)"""
174 slug = re.sub(r"[^a-z0-9]", "-", name.lower())
175 while "--" in slug:
176 slug = slug.replace("--", "-")
177 return slug.strip("-")[:32]
178
179
180# ============================================================

Callers 1

spawn_agentMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected