SkillPedia Skills Encyclopedia
中文 EN

技能 2026-09-10 06:44 UTC

multica-best-practicesv192.168

版本【192.168】由提交人 itrwx 提交,主要更新类型为:功能特性新增与扩展。提交说明:feat(sync): add clone_squad.py (cross-workspace squad clone)。为项目引入了新的能力与模块支持。

itrwx 4b19b43 it235/multica-best-practices

Commit提交信息原文

feat(sync): add clone_squad.py (cross-workspace squad clone)

Backport the one capability missing from the open-source multica-sync toolkit: cloning an existing squad from one workspace to another (source API -> target create/reuse/bind), idempotent by name.

- scripts/multica-sync/clone_squad.py: new script (skills -> agents -> squad -> members -> bindings, with --update-* overrides and --dry-run)
- scripts/multica-sync/bootstrap_squad.py: added roles_match() helper that clone_squad imports
- scripts/multica-sync/README.md: documented the clone workflow (desensitized: multica.example.com + placeholder UUID)

Dependencies verified: clone_squad imports as_list/resolve_runtime/roles_match from bootstrap_squad and index_skills_by_name from sync_skills; all 16 MulticaClient methods it calls already exist in multica_client.py.

Desensitization check: grep for eainc/real-UUID/192.168/account keywords returns 0 real internal identifiers (only a generic warning line and a comment).