5698196c43
Verified via systematic FW_DEBUG=1 probing: - taskcategoryput: requires 'name'; optional 'emoji' (Unicode or string code) accepted as-is. 'listId' param has no per-list effect — categories are family-wide. - taskcategorydelete: uses 'id' param (not 'metaId'), returns r='true'. Changes: - create_category(list_id, name, icon=None): creates custom category via taskcategoryput; icon maps to 'emoji' API param - delete_category(category_id): safety check via accgetallfamily looks up rights.canDelete='true'; system categories (rights.canDelete=null) are refused with a clear error - get_categories: now exposes 'custom' bool field (rights.canDelete='true') so callers can identify deletable categories - SPEC.md: document taskcategoryput + taskcategorydelete params, responses, error formats, and system-category protection behaviour Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
47 lines
954 B
TOML
47 lines
954 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "mcp-familywall"
|
|
version = "0.4.11"
|
|
description = "MCP server for Family Wall — read your family's lists and tasks via Claude"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
authors = [
|
|
{ name = "Marcus van Elst" },
|
|
]
|
|
keywords = ["mcp", "familywall", "family", "tasks", "lists"]
|
|
dependencies = [
|
|
"mcp[cli]>=1.0",
|
|
"httpx>=0.27",
|
|
"pyyaml>=6.0",
|
|
"keyring>=25.0",
|
|
"click>=8.0",
|
|
"rich>=13.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
"ruff>=0.5",
|
|
]
|
|
|
|
[project.scripts]
|
|
mcp-familywall = "mcp_familywall.cli:app"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/mcp_familywall"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py312"
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "TCH"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|