feat(recipes): add get_recipe_box + parser-fix ingredients_parsed (v0.11.7)

- New tool get_recipe_box: filtered version of get_recipes returning only real recipes (isRecipe=true), excluding stubs created for free-text meal entries
- Parser fix: ingredients_parsed now generated from free-text ingredients field instead of API's ingredientsList which has parser bug on comma+space (e.g. '1, 5g' breaks)
- Updated SPEC.md with parser bug documentation
- Updated version to 0.11.7 in __init__.py and pyproject.toml
- Updated .gitignore to exclude debug/test scripts

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-04-17 13:55:05 +02:00
parent 343e8eeb58
commit 5e3b7e08a3
12 changed files with 222 additions and 10 deletions
+4
View File
@@ -503,6 +503,10 @@ a00.r.r → vollständiges Rezept-Objekt
.familyId, .accountId, .creationDate, .moodMap, .moodStarShortcut
```
**Parser-Bug (v0.11.7):** Das Feld `.ingredientsList[]` wird vom Server geparst und hat einen Bug
bei Komma+Leerzeichen (z.B. "1, 5g" wird abgeschnitten). Der MCP-Client ignoriert `.ingredientsList`
und generiert `ingredients_parsed` stattdessen client-seitig durch Splitting von `.ingredients` auf `\r\n`/`\n`.
**Verifiziert am:** 2026-04-16 via FW_DEBUG=1
### `mprecipeput` Rezept aktualisieren (Update)