Release v1.0.114: add sync.ps1 so new skills can mirror plaintext locally
All checks were successful
技能自动化发布 / release (push) Successful in 7s
All checks were successful
技能自动化发布 / release (push) Successful in 7s
This commit is contained in:
@@ -406,6 +406,12 @@ def _scan_install_delivery_files(skill_root: str) -> list[str]:
|
||||
continue
|
||||
if suffix == ".sh" and not path.endswith(".sh"):
|
||||
continue
|
||||
# Root sync.ps1 is the manual local-host mirror. It installs
|
||||
# requirements into the shared venv the same way the host does.
|
||||
if os.path.basename(path) == "sync.ps1" and os.path.normcase(
|
||||
os.path.dirname(os.path.abspath(path))
|
||||
) == os.path.normcase(os.path.abspath(skill_root)):
|
||||
continue
|
||||
text = _read_text(path)
|
||||
for pattern in INSTALL_FORBIDDEN_PATTERNS:
|
||||
if pattern.search(text):
|
||||
|
||||
Reference in New Issue
Block a user