Files
hkuds__cli-anything/mermaid/agent-harness/setup.py
Okyumi 4bb6109b84 feat: add missing SKILL.md for adguardhome, comfyui, mermaid + fix setup.py + expand test coverage
Three harnesses shipped without the SKILL.md skill definition introduced
in Phase 6.5, and their setup.py files lacked the package_data entry
needed for pip install to include the skill file.  This means agents
cannot discover these CLIs through the standard skill system.

Changes:

- Add skills/SKILL.md for adguardhome (12 command groups, 36+ commands)
- Add skills/SKILL.md for comfyui (5 command groups: workflow, queue,
  models, images, system)
- Add skills/SKILL.md for mermaid (4 command groups: project, diagram,
  export, session)
- Fix adguardhome/setup.py: add package_data and include_package_data
- Fix mermaid/setup.py: add package_data and include_package_data
- Fix comfyui/setup.py: add package_data for skills (was missing despite
  include_package_data=True already being set)
- Add comfyui to .gitignore allow-list (was tracked before the gitignore
  was tightened, but new files could not be added)
- Expand test_skill_path.py HARNESSES list from 11 to all 18 harnesses
- Fix test assertion to accept mubu-style explicit SKILL.md reference
  alongside the glob pattern used by other harnesses

Test results: 79 passed (was 51 tests covering only 11 harnesses)
2026-03-22 14:17:13 +00:00

34 lines
962 B
Python

from setuptools import find_namespace_packages, setup
with open("cli_anything/mermaid/README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="cli-anything-mermaid",
version="1.0.0",
description="CLI harness for Mermaid Live Editor state files and renderer URLs",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/HKUDS/CLI-Anything",
packages=find_namespace_packages(include=["cli_anything.*"]),
install_requires=[
"click>=8.0.0",
"prompt-toolkit>=3.0.0",
],
extras_require={
"dev": [
"pytest>=9.0.0",
]
},
entry_points={
"console_scripts": [
"cli-anything-mermaid=cli_anything.mermaid.mermaid_cli:main",
]
},
package_data={
"cli_anything.mermaid": ["skills/*.md"],
},
include_package_data=True,
python_requires=">=3.10",
)