fix: correct get_activities field mapping, document wallget response (v0.3.2)

This commit is contained in:
2026-04-15 14:47:59 +02:00
parent e3b4e613ad
commit 332b01718e
4 changed files with 16 additions and 6 deletions
+10
View File
@@ -151,6 +151,16 @@ Content-Type: application/x-www-form-urlencoded
| `masterNested` | optional |
| `sortBy` | optional |
**Response-Struktur (verifiziert):**
```
a00.r.r[]
.metaId → ID der Aktivität (= wallMessageId)
.refType → Aktivitätstyp (z.B. STATUS, FAMILY_CREATED)
.text → Text (optional, fehlt bei System-Events)
.creationDate → Datum (ISO 8601)
.accountId → Autor-ID
```
**Response-Struktur:** zu verifizieren beim ersten echten Call
### `wallactivityget` Einzelne Aktivität abrufen
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "mcp-familywall"
version = "0.3.1"
version = "0.3.2"
description = "MCP server for Family Wall — read your family's lists and tasks via Claude"
readme = "README.md"
requires-python = ">=3.12"
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.3.1"
__version__ = "0.3.2"
+4 -4
View File
@@ -289,10 +289,10 @@ def get_activities(limit: int = 20):
result.append(
{
"id": item.get("metaId"),
"type": item.get("type"),
"text": item.get("text") or item.get("comment"),
"date": item.get("date") or item.get("createdDate"),
"author": item.get("authorName") or item.get("author"),
"type": item.get("refType"),
"text": item.get("text"),
"date": item.get("creationDate"),
"author": item.get("accountId"),
}
)