mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-24 22:04:03 +00:00
Extend is_official_agent_zero_repo to accept multiple repository owners by replacing the single hardcoded checks with an allowed_repos list and an any() check. This change accepts URLs ending with either 'github.com/{owner}/agent-zero' or 'github.com:{owner}/agent-zero' and adds 'frdel/agent-zero' alongside the existing 'agent0ai/agent-zero'. Existing .git trimming and exception handling are preserved.
|
||
|---|---|---|
| .. | ||
| api | ||
| extensions | ||
| helpers | ||
| tools | ||
| websocket_handlers | ||