feat: deliver in chosen format (not forced JPEG); wire output_ext through jobs/Telegram/MCP
- delivery.ts: upload the stored result in its chosen format (output_ext, global or per-recipe) instead of always converting non-alpha to JPEG. - jobs POST froze the snapshot without output_ext -> per-conversion/per-recipe format choice was silently dropped. Now carried through. - telegram.ts: recipe snapshots carry output_ext + delivery_target_id (custom formats already flow via output_format). - mcp/klarbild-mcp.mjs: process_images gains tasks, output_ext, orientation, crop_mode, contour_mm, picdrop_gallery; job_status shows finished_at + errors. - Docs: llms.txt, mcp/README, changelog updated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XNQ8ghPfzAfsyVYd6HgFb6
This commit is contained in:
+6
-3
@@ -30,9 +30,12 @@ Werkzeugen) und ruft dann die Klarbild-Tools auf.
|
||||
|
||||
- **list_recipes** — verfügbare Presets/Rezepte auflisten.
|
||||
- **process_images** — Bilder (lokale Pfade oder `data:`-URLs) hochladen und verarbeiten.
|
||||
Entweder `recipeId` (Preset) oder `mode` (`each`/`compose`/`generate`) + Optionen
|
||||
(`prompt_text`, `output_format`, `delivery`). Liefert die Auftrags-ID.
|
||||
- **job_status** — Status eines Auftrags abfragen.
|
||||
Entweder `recipeId` (Preset) oder `mode` (`each`/`compose`/`generate`) + Optionen:
|
||||
`tasks` (`clean`/`cutout`/`format`/`contour`), `prompt_text`, `output_format`
|
||||
(fest wie `30x40`/`theframe` **oder frei** `25x35` / `sticker5`), `output_ext` (`png`/`jpg`,
|
||||
weglassen = globaler Standard), `orientation`, `crop_mode`, `contour_mm`, `picdrop_gallery`,
|
||||
`delivery`. Liefert die Auftrags-ID.
|
||||
- **job_status** — Status eines Auftrags abfragen (inkl. Endzeit und Fehlermeldungen).
|
||||
|
||||
## Sicherheit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user