fix(circles): protect primary circle from rename in update_circle (v0.7.5)

Adds isFirstFamily check to update_circle — mirrors the same guard
already present in delete_circle. Attempting to rename the primary
circle now returns a clear error instead of silently renaming it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 21:39:57 +02:00
parent 02f9d62720
commit eb022e2376
5 changed files with 24 additions and 7 deletions
+4 -3
View File
@@ -24,7 +24,7 @@ und wird in Claude Desktop eingebunden.
## Aktueller Stand
### Implementierte Tools (v0.7.4)
### Implementierte Tools (v0.7.5)
| Kategorie | Tools |
|---|---|
@@ -49,8 +49,9 @@ und wird in Claude Desktop eingebunden.
- v0.7.1: get_lists scope fix + create_list circle_id + delete_list scope ✓
- v0.7.2: delete_circle ✓
- v0.7.3: update_list (Umbenennen, emoji/color ändern) ✓
- v0.7.4: update_circle (Kreis umbenennen) ✓ ← aktuell
- v0.7.5: mpadditemtolist (Zutaten → Einkaufsliste)
- v0.7.4: update_circle (Kreis umbenennen) ✓
- v0.7.5: Primärkreis-Schutz in update_circle (isFirstFamily-Check) ✓ ← aktuell
- v0.7.6: mpadditemtolist (Zutaten → Einkaufsliste)
- v0.8.x: Erinnerungen + Wiederholungen (Premium-Account erforderlich)
- v2.0: Schreibzugriff auf Wall-Posts (Erstellen, Kommentieren)