mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-04 23:00:20 +00:00
18 cloud lib/common.sh files had identical 7-line get_server_name() functions (get_resource_name + validate_server_name + echo). Added a shared get_validated_server_name helper to shared/common.sh and replaced all duplicates with one-line delegations. Net -110 lines. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||