@starreel/mcp 0.1.163 → 0.1.165

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/SKILL.md CHANGED
@@ -136,6 +136,14 @@ Right after `create_drama`, before any paid step:
136
136
  package's `effect`, live `estimate` (typical and upper bound), `warnings`,
137
137
  `substitutions` and the `not_included` list. `estimate: null` means live
138
138
  prices are unreachable — say so, don't invent numbers.
139
+ For a professional customer picking their own models, call it again with
140
+ `custom` (image model + video engine + resolution): the response gains a
141
+ `custom` preview (availability + live estimate) to relay before confirming.
142
+ `overrun_history` tells how often past dramas needed the overrun allowance
143
+ (from the billing ledger). Quote its percentages only when
144
+ `sufficient: true`, as history rather than a promise; when it is `false`,
145
+ give no percentage at all — just explain the allowance covers QC re-takes
146
+ and re-runs after vendor rejections, and is not charged if unused.
139
147
  3. Let the customer pick an execution mode (`pro` — they control every step;
140
148
  `auto` — one-click; `custom` — they pick which stages to delegate), a budget
141
149
  (`budget_points`, required for auto/custom) and an automatic overrun cap
@@ -143,7 +151,9 @@ Right after `create_drama`, before any paid step:
143
151
  4. Summarize everything; only after the customer explicitly agrees call
144
152
  `confirm_production_plan` with `customer_confirmed: true`, passing the
145
153
  chosen package's `combo` back as `expected_combo` and its
146
- `estimate.total.upper` as `expected_total_upper`. Never confirm on their
154
+ `estimate.total.upper` as `expected_total_upper` (for a custom combo, pass
155
+ `custom.estimate.total.upper`; without it you get
156
+ `409 CUSTOM_ESTIMATE_UNCONFIRMED`). Never confirm on their
147
157
  behalf. `409 PACKAGE_CHANGED` means the package changed after the menu was
148
158
  shown (fallback model or a price rise above 5%) — present the new combo and
149
159
  estimate from the response and ask again.
@@ -153,8 +163,33 @@ must still be available (`409 MODEL_UNAVAILABLE`) and quote upper bound + spent
153
163
  must stay within budget × (1 + overrun %) (`402 BUDGET_WOULD_EXCEED`). Nothing
154
164
  is charged when blocked — stop and ask the customer; don't switch models or
155
165
  raise the budget yourself. `get_production_plan` shows the plan, budget headroom
156
- and whether the overrun allowance is in use. The execution mode is recorded only
157
- for now: review gates and agent QC behave exactly as before.
166
+ and whether the overrun allowance is in use.
167
+
168
+ ### Executing by mode (`get_production_plan` → `autopilot`)
169
+
170
+ Read `autopilot` before working on a confirmed drama. `enabled: false` (rollout
171
+ `AUTOPILOT_DRAMAS` not open for this drama), `pro`, or no plan → every quote,
172
+ review verdict and suggestion goes to the customer first, exactly as below.
173
+ In a **delegated stage** (`auto` = all stages; `custom` = stages whose
174
+ `stage_control` is `agent`) don't ask the customer:
175
+
176
+ - follow `get_pipeline_status` → `next_action` (`run` / `wait_customer` /
177
+ `ask_customer` / `done`); confirm quotes yourself while they fit the hard cap;
178
+ - review + agent QC every layer as usual, then do what `autopilot.next_step`
179
+ says: errors that are all in `auto_ack_codes` (heuristics) → pass
180
+ `auto_acknowledge: true` to the next paid step; anything else → fix and
181
+ re-review, at most `max_fix_rounds` rounds (default 3, counted server-side);
182
+ - decisions follow `default_decisions` (adopt only `must` suggestions that keep
183
+ the customer's lines, apply precheck proposals, first BGM candidate,
184
+ auto-assigned voices, never delete characters); `never_auto_actions`
185
+ (`mode=replace`, deleting assets, overwriting customer uploads,
186
+ `allow_era_ref_conflict`, voice cloning, `confirm_delivery_acceptance`) always
187
+ need the customer;
188
+ - `402` / `409` / `400 AUTOPILOT_MUST_ASK` / non-empty `pending_questions` →
189
+ pause and ask everything in `get_autopilot_log` → `pending_questions` **at
190
+ once**. The log is written by the server; your own claims don't count.
191
+ - When done, present `get_autopilot_log` → `report`: spend, fix rounds per
192
+ layer, what was auto-acknowledged, leftover defects.
158
193
  `403 PRODUCTION_PLAN_NOT_OPEN` means the drama isn't in the rollout yet —
159
194
  follow the normal step-by-step flow.
160
195