makaron-cli 0.17.9 → 0.17.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.9",
3
+ "version": "0.17.10",
4
4
  "description": "Give Claude Code a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.9",
3
+ "version": "0.17.10",
4
4
  "description": "Give Codex a creative agent. Pass complete creative requests and source media to Makaron Chat.",
5
5
  "author": {
6
6
  "name": "Versa AI",
package/README.md CHANGED
@@ -738,10 +738,11 @@ GPT Image 2.6 Flare is the default image route; Sunburst is an explicit alternat
738
738
 
739
739
  For new GIF artwork, mascot loops, and animated memes, **GPT Image 2.6 Flare is the go-to model**. Start with `makaron chat`; the Agent uses native image generation. Keep `animated-gif` for assembling existing frames or explicitly requested timing/export controls.
740
740
 
741
- `--output-format png|jpeg|webp|gif|svg` preserves the original format. GIF supports generation/editing and `--frame-count` / `--frame-duration-ms`; all frames share the pixel budget and native sheet, with at most 960px per frame edge even for fewer frames (default 9 frames, 200 ms, 960 square). Per-frame 2K/4K is rejected before submission. SVG is experimental: live provider acceptance still returns 422. Its transport supports **text-to-image only**, with one output and no source/reference images; do not promise a working SVG generation route. Unsafe or external SVG content is rejected. CLI saves real GIF/SVG bytes with matching extensions, even if `--out` requested a different extension. No silent rasterization, fallback model or automatic paid retry.
741
+ `--output-format png|jpeg|webp|gif|svg` preserves the original format. GIF supports generation/editing with `--frame-count` (2–16) / `--frame-duration-ms` / `--gif-size sticker|full`. Frames share one native sheet: full-size square frames are 960px up to 9 frames, 816px for 10–12 and 720px for 13–16 (default 9 frames, 200 ms). `--gif-size sticker` uses ~512px frames for chat stickers and memes at about half the cost. Per-frame 2K/4K is rejected before submission. SVG is experimental: live provider acceptance still returns 422. Its transport supports **text-to-image only**, with one output and no source/reference images; do not promise a working SVG generation route. Unsafe or external SVG content is rejected. CLI saves real GIF/SVG bytes with matching extensions, even if `--out` requested a different extension. No silent rasterization, fallback model or automatic paid retry.
742
742
 
743
743
  ```sh
744
744
  makaron edit --output-format gif --quality medium --frame-count 9 --frame-duration-ms 160 --out spark.gif "A looping purple spark tracing a cyan circle"
745
+ makaron edit --output-format gif --gif-size sticker --frame-count 12 --frame-duration-ms 120 --background opaque --out nope.gif "Chat sticker: a cat wags its finger 'no', smug smile, caption 不行"
745
746
  makaron chat --image mascot.png "Use GPT Image 2.6 Flare to make a looping GIF of this mascot waving; return the original GIF."
746
747
  ```
747
748
 
package/bin/makaron.mjs CHANGED
@@ -2077,8 +2077,9 @@ Options:
2077
2077
  --quality <tier> auto, low, medium, high (2.6; default low).
2078
2078
  --image-reasoning <tier> low, medium, high (2.6; default high).
2079
2079
  --output-format <format> png, jpeg, webp, gif, svg (2.6; default png).
2080
- --frame-count <n> GIF frames, default 9; max frame edge 960px.
2080
+ --frame-count <n> GIF frames 2-16, default 9; 960px frames up to 9, 816px for 10-12, 720px for 13-16.
2081
2081
  --frame-duration-ms <n> GIF frame delay, default 200; multiples of 10.
2082
+ --gif-size <size> sticker (~512px frames, about half cost) or full (default, largest frames).
2082
2083
  --out <file> Save images; batches use name-1.ext, name-2.ext, etc.
2083
2084
  --mj-speed <mode> fast (up to 4 images) or draft (up to 24).
2084
2085
  --mj-quality <mode> standard or hd; HD regenerates, not lossless upscaling.
@@ -3220,16 +3221,16 @@ if (!command || command === '--help' || command === '-h' || command === 'help')
3220
3221
  }
3221
3222
  editArgs.background = background;
3222
3223
  }
3223
- else if (['--quality', '--image-reasoning', '--output-format', '--frame-count', '--frame-duration-ms'].includes(args[i])) {
3224
+ else if (['--quality', '--image-reasoning', '--output-format', '--gif-size', '--frame-count', '--frame-duration-ms'].includes(args[i])) {
3224
3225
  const flag = args[i], value = args[++i];
3225
- const fields = { '--quality': ['imageQuality', ['auto', 'low', 'medium', 'high']], '--image-reasoning': ['imageReasoningEffort', ['low', 'medium', 'high']], '--output-format': ['outputFormat', ['png', 'jpeg', 'webp', 'gif', 'svg']] };
3226
+ const fields = { '--quality': ['imageQuality', ['auto', 'low', 'medium', 'high']], '--image-reasoning': ['imageReasoningEffort', ['low', 'medium', 'high']], '--output-format': ['outputFormat', ['png', 'jpeg', 'webp', 'gif', 'svg']], '--gif-size': ['gifFrameSize', ['sticker', 'full']] };
3226
3227
  if (fields[flag]) {
3227
3228
  const [key, allowed] = fields[flag];
3228
3229
  if (!allowed.includes(value)) { console.error(`Invalid ${flag}: use ${allowed.join(', ')}.`); process.exit(1); }
3229
3230
  editArgs[key] = value;
3230
3231
  } else {
3231
3232
  const number = Number(value), frames = flag === '--frame-count';
3232
- if (!Number.isInteger(number) || number < (frames ? 2 : 20) || number > (frames ? 64 : 2000) || (!frames && number % 10)) { console.error(`Invalid ${flag}.`); process.exit(1); }
3233
+ if (!Number.isInteger(number) || number < (frames ? 2 : 20) || number > (frames ? 16 : 2000) || (!frames && number % 10)) { console.error(`Invalid ${flag}.`); process.exit(1); }
3233
3234
  editArgs[frames ? 'frameCount' : 'frameDurationMs'] = number;
3234
3235
  }
3235
3236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "makaron-cli",
3
- "version": "0.17.9",
3
+ "version": "0.17.10",
4
4
  "description": "Talk to Makaron Agent from the terminal — create projects, edit images, generate videos",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -564,7 +564,7 @@ FAL video models: **fal H3 Turbo** uses `minimax-h3-max` for single-start-frame
564
564
 
565
565
  For **new GIF art, mascot loops, and animated memes**, GPT Image 2.6 Flare is the go-to model. Use `makaron chat` with the complete request and reference images; the Agent uses native image generation. Do not select `animated-gif` for new generative animation. Retain that skill for assembling existing frames or explicit timing/export controls.
566
566
 
567
- GPT Image 2.6 Flare is the default; Sunburst is optional. `--quality auto|low|medium|high` and `--image-reasoning low|medium|high` are independent (defaults low quality, high reasoning). `--output-format png|jpeg|webp|gif|svg` preserves originals. GIF supports generation/editing; `--frame-count` and `--frame-duration-ms` share the request pixel budget. SVG is experimental and not live-verified (provider acceptance returned 422), text-to-image only, no source/references; report a provider failure honestly, never flatten or replace. Exact active 2.6 pricing is required; final cost uses actual fal units. Legacy 2.5 IDs migrate to 2.6; historical media is unchanged. Administrator Codex Subscription Agents use the same image tool; image API cost is separate from Agent subscription usage.
567
+ GPT Image 2.6 Flare is the default; Sunburst is optional. `--quality auto|low|medium|high` and `--image-reasoning low|medium|high` are independent (defaults low quality, high reasoning). `--output-format png|jpeg|webp|gif|svg` preserves originals. GIF supports generation/editing; `--frame-count` (2–16) and `--frame-duration-ms` share one native sprite sheet: square frames are 960px up to 9 frames, 816px for 10–12, 720px for 13–16. For stickers/memes, describe one action with a numbered frame plan (rest → peak held 2–4 frames → back to rest), a locked camera, a solid background and an exact caption; the Agent follows its `gif-maker` Skill. SVG is experimental and not live-verified (provider acceptance returned 422), text-to-image only, no source/references; report a provider failure honestly, never flatten or replace. Exact active 2.6 pricing is required; final cost uses actual fal units. Legacy 2.5 IDs migrate to 2.6; historical media is unchanged. Administrator Codex Subscription Agents use the same image tool; image API cost is separate from Agent subscription usage.
568
568
 
569
569
  The legacy `openai` image-model parameter now resolves to GPT Image 2.6 Flare.
570
570