📦 deps(thirdparty): update snapshots

This commit is contained in:
ci[bot]
2026-07-03 16:04:10 +00:00
parent 2bf579321a
commit b40381458b
482 changed files with 8324 additions and 2007 deletions
@@ -12,12 +12,27 @@ import argparse
import os
import shutil
import sys
from pathlib import Path
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
SKILL_DIR = os.path.dirname(SCRIPT_DIR)
BOILERPLATE_DIR = os.path.join(SKILL_DIR, "assets", "boilerplate")
def copy_tree_contents(source_dir: str, target_dir: str) -> None:
source_root = Path(source_dir)
target_root = Path(target_dir)
target_root.mkdir(parents=True, exist_ok=True)
for source_path in source_root.rglob("*"):
relative_path = source_path.relative_to(source_root)
target_path = target_root / relative_path
if source_path.is_dir():
target_path.mkdir(parents=True, exist_ok=True)
elif source_path.is_file():
target_path.parent.mkdir(parents=True, exist_ok=True)
target_path.write_bytes(source_path.read_bytes())
def setup_nodejs(project_path: str, with_webhook: bool = False, with_ai: bool = False):
"""Setup Node.js/TypeScript project."""
src_dir = os.path.join(BOILERPLATE_DIR, "nodejs")
@@ -27,7 +42,7 @@ def setup_nodejs(project_path: str, with_webhook: bool = False, with_ai: bool =
sys.exit(1)
# Copy boilerplate
shutil.copytree(src_dir, project_path, dirs_exist_ok=True)
copy_tree_contents(src_dir, project_path)
print(f"Node.js project created at: {project_path}")
print("\nNext steps:")
@@ -52,7 +67,7 @@ def setup_python(project_path: str, with_webhook: bool = False, with_ai: bool =
sys.exit(1)
# Copy boilerplate
shutil.copytree(src_dir, project_path, dirs_exist_ok=True)
copy_tree_contents(src_dir, project_path)
print(f"Python project created at: {project_path}")
print("\nNext steps:")