@kolbo/kolbo-code-linux-x64-baseline-musl 2.3.0 → 2.4.0

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.
package/bin/kolbo CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kolbo/kolbo-code-linux-x64-baseline-musl",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,32 +1,22 @@
1
1
  ---
2
- version: 0.4.0
2
+ version: 0.5.0
3
3
  name: kolbo
4
4
  description: |
5
- Generate, edit, or analyze creative media via the Kolbo AI MCP server.
6
- Covers images (GPT Image 2, Nano Banana, Flux, ...), video (Seedance 2,
7
- Veo 3.1, Kling, Hailuo, ...), music (Suno), TTS (ElevenLabs), 3D,
8
- transcription, Visual DNA (character consistency), Marketing Studio
9
- (UGC + DTC ads + product photoshoot + marketplace cards),
10
- Creative Director (multi-scene batches), HTML artifact publishing
11
- (presentations, landing pages, dashboards), and the App Builder.
12
-
13
- Use when: "generate", "create", "make me a", "edit", "animate",
14
- "transcribe", "Visual DNA", "the same character", "UGC ad",
15
- "TikTok / Reels / Shorts", "unboxing", "product review", "TV spot",
16
- "Pinterest pin", "product photo", "lifestyle shot", "hero banner",
17
- "ad pack", "social carousel", "virtual try-on", "Amazon listing",
18
- "marketplace cards", "A+ content", "build a presentation/slide deck",
19
- "landing page", "dashboard / widget / game", "music / song / jingle",
20
- "TTS / voice", "sound effect", "3D model", "build me an app".
21
-
22
- Chain: train Visual DNA → use vdna_id in any DNA-aware tool;
23
- research-first → persist brand kit (.kolbo/brand-kits/) → DTC ads /
24
- product photoshoot / marketplace cards; generate frames (Creative
25
- Director) → animate each frame (generate_video_from_image).
26
-
27
- NOT for: video editing / FFmpeg work (use video-production skill),
28
- motion graphics (use remotion-best-practices skill), code editing,
29
- general chat outside media generation.
5
+ Generate, edit, or analyze creative media via the Kolbo AI MCP server:
6
+ images (GPT Image, Nano Banana, Flux), video (Seedance, Veo, Kling, Hailuo),
7
+ music (Suno), TTS (ElevenLabs), 3D, transcription, Visual DNA (character
8
+ consistency), Marketing Studio (UGC + DTC ads + product photoshoot +
9
+ marketplace cards), Creative Director (multi-scene batches), HTML artifact
10
+ publishing (presentations, landing pages, dashboards), and the App Builder.
11
+
12
+ Use when the user wants to generate, create, make, edit, animate, or
13
+ transcribe media: images, video, music, voice/TTS, sound effects, 3D models,
14
+ UGC or TV-spot ads, product / lifestyle / hero shots, Amazon or marketplace
15
+ listings, presentations, landing pages, dashboards, or 'build me an app';
16
+ or to reuse a character or brand (Visual DNA, brand kits).
17
+
18
+ NOT for: video editing / FFmpeg (use video-production), motion graphics
19
+ (use remotion-best-practices), code editing, or general chat.
30
20
  argument-hint: "[prompt-or-command] [--model <name>] [--image <path>] [--video <path>]"
31
21
  allowed-tools: Bash, Read, Write, Edit
32
22
  ---
@@ -49,6 +39,25 @@ Once per conversation, before any other Kolbo tool call:
49
39
 
50
40
  If the user is on a whitelabel build (`sapir`, etc.), they must use their branded command — not `kolbo`. See `references/workflows/troubleshooting.md`.
51
41
 
42
+ ## 🎬 Confirm the Creative Brief BEFORE Generating (CRITICAL — read first)
43
+
44
+ Never fire a paid generation the moment the user says "make X". First **present the brief back as a confirmation the user can change** — this is the single most important interaction. It gives the user control over what gets created and what it costs, instead of silently spending credits on defaults.
45
+
46
+ **Before ANY paid image / video / music / speech / 3D generation**, unless the user has *explicitly* dictated every key parameter in this message, ask ONE labeled question (the UI renders it as an options card) confirming:
47
+
48
+ - **Model** — your recommended pick as the default option, plus 1–2 alternatives (with their credit cost).
49
+ - **Aspect ratio** — e.g. `1:1 / 9:16 / 16:9` (offer the sensible default first).
50
+ - **Count** — how many (1 / 4 / …).
51
+ - **Resolution / quality / duration** — where the model supports it.
52
+ - **Creative direction** — style / mood / scene, when the user was vague ("4 cats" → offer style options: photoreal / illustrated / cinematic / surprise-me).
53
+ - **Credit cost** — state the total (`✦ N credits`) right in the question so cost is never a surprise.
54
+
55
+ Then generate **only** with the confirmed parameters. If the user changes an option, use the change. This mirrors the approval-card flow: propose → let them adjust → confirm → generate.
56
+
57
+ **Only skip the brief confirmation when** the user's message already pins model + aspect + count + creative direction (e.g. "generate 4 photoreal tabby cats, 1:1, z-image/turbo") — then just state the cost one-liner and fire. A low credit cost is **not** a reason to skip: cheap ≠ no-confirmation. What matters is whether the user actually chose the parameters.
58
+
59
+ For multi-scene / batch work this pairs with `generate_creative_director` (see below) — still confirm the brief first.
60
+
52
61
  ## Routing Index — Read These Files on Demand
53
62
 
54
63
  | If the user wants to… | Read first |
@@ -153,8 +162,8 @@ Model types for `list_models`: `text_to_img`, `image_editing`, `text_to_video`,
153
162
 
154
163
  Full tables + formulas in `references/workflows/cost-and-validation.md`. Quick rules:
155
164
 
156
- - **Skip cost confirmation** when the user already specified model + count + duration, OR when a single generation costs < 5 credits.
157
- - **Required cost confirmation** otherwise: one-line summary, suggest cheaper alternative if available, wait for confirm.
165
+ - **Skip the brief/cost confirmation ONLY** when the user's message already pins model + count + aspect + creative direction (see "Confirm the Creative Brief" above). Low cost alone is **not** a reason to skip cheap generations still get the one labeled confirmation unless the user chose the parameters.
166
+ - **Otherwise confirm** via the labeled-question card: the parameters + the credit cost, suggest a cheaper alternative if one fits, wait for the user's pick. Never fire on defaults the user didn't choose.
158
167
  - **Batch totalling 100+ credits**: run `check_credits` first.
159
168
  - **Quote real cost**: after firing, log `credits_used` (from the tool result) to `.kolbo/production.md` — never `base × count`.
160
169
 
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -13,18 +13,18 @@ Load this file when the user wants a **Seedance 2 / Seedance 2.0** (ByteDance) v
13
13
 
14
14
  - **First line ALWAYS declares shot structure**: total duration, shot count, aspect ratio. Example: `Total: 15s / 6 shots / 16:9`. Put it at the BOTTOM of the prompt too.
15
15
  - **Order inside each shot**: Subject → Action → Camera → Style → Constraints → (Audio/SFX if relevant).
16
- - **Prompt length**: aim for ~120–280 words TOTAL across all shots combined (not per shot). Shorter than ~120 words = random output. Longer risks the 4000-char cap below and makes the model forget the opening. For 6-shot prompts, keep each shot 1–2 tight sentences.
16
+ - **Prompt length**: aim for ~120–280 words TOTAL across all shots combined (not per shot). Shorter than ~120 words = random output. Longer risks the 8000-char cap below and makes the model forget the opening. For 6-shot prompts, keep each shot 1–2 tight sentences.
17
17
  - **Character lock**: if a character recurs, open with `same character throughout all shots` to stop identity drift.
18
18
  - **Max 3 shots per single-shot prompt; max 6 shots in a multi-shot montage.** More causes drift.
19
19
  - **Always describe at least one camera movement per shot.**
20
20
  - **Tell Seedance what the camera is NOT doing** (e.g. `no cuts, no zoom, natural head movement`) — this is what locks POV.
21
21
  - **Final prompt is always English**, wrapped in a copy-ready code block. Detect intent in any language and reply in the user's language, but the prompt itself is English.
22
- - **HARD CAP: 4000 characters TOTAL for the ENTIRE prompt** — measured as one single string, including ALL shots, ALL boilerplate, ALL SFX lines, the opening style block, the closing `Total: …` line, every newline, every space, every punctuation mark. This is non-negotiable.
23
- - Applies to ANY prompt: 1 shot or 6 shots, single POV or full montage — the WHOLE thing must fit under 4000 chars combined.
24
- - It is NOT 4000 chars per shot. It is 4000 chars per prompt.
25
- - If your draft exceeds 4000 chars, trim aggressively in this order: (1) cut redundant adjectives, (2) collapse the opening cinematic boilerplate, (3) shorten SFX lists, (4) merge or drop shots — keep escalation beats and cut filler beats, (5) tighten action descriptions to verb-led essentials.
22
+ - **HARD CAP: 8000 characters TOTAL for the ENTIRE prompt** — measured as one single string, including ALL shots, ALL boilerplate, ALL SFX lines, the opening style block, the closing `Total: …` line, every newline, every space, every punctuation mark. This is non-negotiable.
23
+ - Applies to ANY prompt: 1 shot or 6 shots, single POV or full montage — the WHOLE thing must fit under 8000 chars combined.
24
+ - It is NOT 8000 chars per shot. It is 8000 chars per prompt.
25
+ - If your draft exceeds 8000 chars, trim aggressively in this order: (1) cut redundant adjectives, (2) collapse the opening cinematic boilerplate, (3) shorten SFX lists, (4) merge or drop shots — keep escalation beats and cut filler beats, (5) tighten action descriptions to verb-led essentials.
26
26
  - **Never** split into multiple prompts, multiple code blocks, or "part 1 / part 2" to evade the cap.
27
- - Before outputting, internally count the characters of the final prompt as a single string. If > 4000, rewrite tighter and re-count. Repeat until ≤ 4000. Only then show the user.
27
+ - Before outputting, internally count the characters of the final prompt as a single string. If > 8000, rewrite tighter and re-count. Repeat until ≤ 8000. Only then show the user.
28
28
 
29
29
  ## The 5 Formats
30
30
 
@@ -83,7 +83,7 @@ When the user uploads a 3×3 grid image and asks for Seedance prompts, switch to
83
83
  - Final prompt(s) ALWAYS in a fenced code block ready to paste into the Seedance `prompt` field (or pass as `prompt` on `generate_video` / `generate_elements`).
84
84
  - After the code block, give a 1-line "why this works" note (camera/escalation/physics choice).
85
85
  - If user asked in any language other than English, write your explanation in their language but keep the prompt itself English.
86
- - **Never exceed 4000 characters TOTAL** for the entire prompt as one string — that is the WHOLE prompt including every shot, every line of boilerplate, every SFX list, every newline. NOT 4000 per shot — 4000 for the prompt as one combined unit. Count before output. If over, rewrite tighter (cut adjectives, collapse boilerplate, merge or drop shots). NEVER split into multiple prompts / multiple code blocks / "part 1 / part 2" to work around the limit.
86
+ - **Never exceed 8000 characters TOTAL** for the entire prompt as one string — that is the WHOLE prompt including every shot, every line of boilerplate, every SFX list, every newline. NOT 8000 per shot — 8000 for the prompt as one combined unit. Count before output. If over, rewrite tighter (cut adjectives, collapse boilerplate, merge or drop shots). NEVER split into multiple prompts / multiple code blocks / "part 1 / part 2" to work around the limit.
87
87
 
88
88
  ## Seedance + Visual DNA / References
89
89
 
@@ -119,6 +119,68 @@ For ads that feature a specific product:
119
119
 
120
120
  If the user gives a **product URL** instead of a photo, see `workflows/research-first.md` — scrape, extract images, re-host via `upload_media`, persist as a brand kit at `.kolbo/brand-kits/<slug>.md`.
121
121
 
122
+ <!-- SKILL-ONLY: no server parity — UGC output routes through the creative-director / veo / seedance enhancers, so any server-side rule lives in those parity files, not here. -->
123
+
124
+ ## Multi-Slot Board Method (structured shot specs + character consistency)
125
+
126
+ For any multi-shot UGC / review / how-to where the SAME presenter must stay identical across shots, compose the prompt as explicit **slots** and lock identity with a **board-first** pass. This is a prompt-only convention — no special MCP mode; it uses `generate_image` (board) + `generate_elements` / `generate_video_from_image` (per-slot animate) that already exist.
127
+
128
+ ### 1. Structured input slots
129
+
130
+ Define each shot as one row. Fill every column before generating — blanks are where identity/quality drift creeps in.
131
+
132
+ | Slot | Arc role | POV / framing | Presenter action | Product visibility | Aspect | Audio |
133
+ |---|---|---|---|:-:|:-:|:-:|
134
+ | 1 | hook | selfie arm, chest-up, eye contact | states the problem / grabs attention | held up to camera | 9:16 | monologue seg 1 |
135
+ | 2 | demo | slightly wider, hands in frame | uses / demonstrates the product | in active use | 9:16 | monologue seg 2 |
136
+ | 3 | payoff | back to selfie framing | reaction + soft CTA | resting in hand / on surface | 9:16 | monologue seg 3 |
137
+
138
+ Scale to 2–6 slots. Keep `hook → demo → payoff` as the minimum arc; add `tension` / `proof` slots between demo and payoff for longer reviews.
139
+
140
+ ### 2. Rendering rules (hard invariants — apply to EVERY slot)
141
+
142
+ - One aspect ratio across all slots (UGC = `9:16`). Never mix.
143
+ - **No on-image text**, captions, subtitles, watermarks, or lower-thirds (users add captions in post).
144
+ - **Identity lock**: same presenter, same wardrobe, same lighting environment across all slots — open the prompt with `same character throughout all shots`.
145
+ - Hands and product must read cleanly — no deformed hands, no floating / clipping product, product logo legible when held.
146
+ - Phone-shot aesthetic (handheld sway, window/screen key) unless the mode is polished (`tv_spot`, `product_showcase`).
147
+
148
+ ### 3. Board-first consistency (the grid technique)
149
+
150
+ Before animating, generate ONE composite board image that locks the presenter's identity, then animate each panel:
151
+
152
+ 1. `generate_image` a labeled N-panel grid (2×2 or 1×N) of the presenter across the slot poses — front hook pose, hands-on-product demo pose, reaction pose — locked to `visual_dna_ids` (the presenter's Visual DNA). Aspect `16:9` for the board sheet.
153
+ 2. Treat that board image's CDN URL as the **`board_media_id`** — the single source of truth for identity.
154
+ 3. Animate each slot with `generate_video_from_image` / `generate_elements`, passing the board panel (and product) as `reference_images` and tagging `@image1`, so every clip inherits the same face/wardrobe.
155
+
156
+ This mirrors how the best UGC pipelines keep a character consistent: lock once as a board, then move each shot — not N independent generations that drift.
157
+
158
+ ### 4. Structured parameters (what to carry per generation)
159
+
160
+ Track these so each slot's call is reproducible and the arc stays coherent:
161
+
162
+ | Param | Meaning | Maps to |
163
+ |---|---|---|
164
+ | `arc_role` | hook / tension / demo / proof / payoff | prompt framing + shot order |
165
+ | `board_media_id` | the locked board image URL | `reference_images` (`@image1`) |
166
+ | `character_media_id` / `visual_dna_id` | presenter identity | `visual_dna_ids` (`@<dna-name>`) |
167
+ | `product_media_id` | product photo URL | `reference_images` (`@image2`) |
168
+ | `input_tier` | `draft` (fast preview) vs `hero` (final) | model + resolution choice |
169
+ | `monologue_segment` | the spoken line for this slot | prompt audio/dialogue line |
170
+ | `aspect_ratio` / `duration` / `sound_enabled` | per UGC Family Defaults above | MCP call args |
171
+
172
+ ### 5. Worked example (brief → slots → board → clips)
173
+
174
+ Brief: *"15s UGC review of a skincare serum, tech-savvy woman creator."*
175
+
176
+ 1. Ensure/create presenter Visual DNA (tech-savvy woman) → `visual_dna_id`.
177
+ 2. Board: `generate_image` a 3-panel `16:9` sheet — (a) chest-up hook holding the serum, (b) hands applying it, (c) thumbs-up reaction — `same character throughout all shots`, locked to the DNA. → `board_media_id`.
178
+ 3. Slots (each `9:16`, ~5s, sound OFF, animate from the matching board panel + product `@image2`):
179
+ - Slot 1 (hook): "Before this serum my routine was five products…" holding it to camera.
180
+ - Slot 2 (demo): hands applying, product in active use.
181
+ - Slot 3 (payoff): reaction + "…now it's just one step." soft CTA.
182
+ 4. Deliver as a structured message (setup + monologue + media), humanized refs (names/thumbnails, not raw IDs).
183
+
122
184
  ## UX Rules
123
185
 
124
186
  1. **Always pick a mode explicitly.** Don't auto-pick from one ambiguous word. If the user said "make me an ad" with no other signal, offer labeled options: `[UGC / TV Spot / Product Showcase / Surprise me]`.