196df53a9b
- SPEC.md sectionized with stable ids (sectionize-markdown conventions) - src/phronesis: cli, registry, harnesses (modular, vibe first), state, formatting, completions; argcomplete completion; exit codes per SPEC - phronesis -> version line + skill table (name, version, category, description wrapped below, daedalus-style) - phronesis <category> -> filtered table; close-match typos for skills+categories - phronesis <skill> --install | --project [--harness <name>] [-f] installs whole skill dir; prompt when present; EOF/default = skip; -f no prompt - phronesis --update -> refresh every state entry; warns unbundled; reinstalls missing - state: <config>/phronesis/installed.json, unique by (name, harness, scope) - skill/python-tdd bumped 1.2.0 with category: development - test/ (56 tests, 92% cov) + autotest pytest check with 75% floor; all 7 autotest checks green Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
38 lines
995 B
TOML
38 lines
995 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "phronesis"
|
|
version = "0.1.0"
|
|
description = "A chest of skills: list them, install them into an agent harness (vibe, ...)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["pyyaml>=6.0", "argcomplete>=3.3"]
|
|
|
|
[project.scripts]
|
|
phronesis = "phronesis.cli:main"
|
|
|
|
# The skills ship in the wheel as phronesis._skills mapped to the
|
|
# repository folder skill/, so the registry resolves the same paths from
|
|
# a checkout and from an installed package (SPEC.md 10.3).
|
|
[tool.setuptools]
|
|
packages = ["phronesis", "phronesis._skills"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
"" = "src"
|
|
"phronesis._skills" = "skill"
|
|
|
|
[tool.setuptools.package-data]
|
|
"phronesis._skills" = ["**/*"]
|
|
|
|
[tool.setuptools.exclude-package-data]
|
|
"*" = ["*.pyc", "__pycache__/*", "**/__pycache__/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["test"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.coverage.run]
|
|
omit = ["*/test/*", "*/__main__.py"]
|