gooseworks 0.3.1 → 0.3.2
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oDAAoD;AACpD,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAK7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAwJ9C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,oDAAoD;AACpD,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAK7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAwJ9C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAsLhD"}
|
|
@@ -261,10 +261,15 @@ decide — fine, but prefer sending the app defaults for predictable parity.
|
|
|
261
261
|
research isn't finished yet the batch comes back \`status: "queued"\` — it auto-runs the moment
|
|
262
262
|
research completes; tell the user it'll appear shortly, don't error.
|
|
263
263
|
- \`estimate_remix_batch { items, engine?, quality? }\` — cost preview (images, credits_per_image,
|
|
264
|
-
total_credits, available_credits).
|
|
264
|
+
total_credits, available_credits). \`template_id\` accepts a uuid OR a slug. Reserves nothing. Use
|
|
265
|
+
to quote the cost first. Check \`unknown_template_ids\` in the response — any token there didn't
|
|
266
|
+
resolve (submit would 404 on it); don't quote a cost that silently dropped a bad id.
|
|
265
267
|
- \`get_remix_batch { batch_id }\` — poll status. Returns each creative with its renders and
|
|
266
|
-
\`completed\`/\`failed\`/\`pending\` counts, plus \`links\`. A creative is done when its
|
|
267
|
-
\`current_render_url\` is set
|
|
268
|
+
\`completed\`/\`failed\`/\`pending\` counts, plus \`links\`. A creative is done when its \`pending\` is 0
|
|
269
|
+
— NOT when \`current_render_url\` is set (during a regenerate that field still points at the prior
|
|
270
|
+
image). Each render carries \`age_seconds\` (since queued) and \`elapsed_seconds\` (time generating):
|
|
271
|
+
use them to tell a slow-but-healthy render from a stuck one. A render only failed when its
|
|
272
|
+
\`status\` is \`"failed"\` — never assume a stall and re-submit, that double-bills.
|
|
268
273
|
- \`list_brand_creatives { brand_id, limit?, offset? }\` — the brand's gallery feed (newest
|
|
269
274
|
first) + \`brand_url\`. Alternative poll target; also use to show everything made for a brand.
|
|
270
275
|
- \`regenerate_creative { project_id, mode?, prompt?, source_render_id?, ... }\` — **edit / re-roll
|
|
@@ -278,7 +283,9 @@ decide — fine, but prefer sending the app defaults for predictable parity.
|
|
|
278
283
|
- \`get_brand_kit { brand_id }\` — the CANONICAL brand context (name, description, audience,
|
|
279
284
|
voice, brandType, valueProps, colors, typography, logoUrl, \`products[]\`, presigned
|
|
280
285
|
\`referenceImages[]\`). Read this to choose \`product_name\` and any \`reference_image_urls\`.
|
|
281
|
-
- \`list_ad_brands\` / \`get_ad_brand { brand_id }\` — find/fetch a brand
|
|
286
|
+
- \`list_ad_brands { query? }\` / \`get_ad_brand { brand_id }\` — find/fetch a brand. Pass \`query\` to
|
|
287
|
+
filter by name (case-insensitive) instead of listing every brand; rows are lean (no \`brand_kit\` —
|
|
288
|
+
read \`get_brand_kit\` for the full kit).
|
|
282
289
|
- \`get_static_ad_template { template_id }\` — resolve a template (slug OR uuid; public catalog
|
|
283
290
|
AND your org's private templates). Confirms it exists before you submit.
|
|
284
291
|
- \`remix_community_ad { community_id }\` — a **Community** ad id is an \`ad_project\` id, not a
|
|
@@ -304,7 +311,9 @@ decide — fine, but prefer sending the app defaults for predictable parity.
|
|
|
304
311
|
quality, preserve_source_styling }\` using the app defaults above. Keep the returned \`batch_id\`
|
|
305
312
|
and \`links\`.
|
|
306
313
|
6. **Poll until done.** \`get_remix_batch { batch_id }\` (or \`list_brand_creatives\`) every ~20-30s
|
|
307
|
-
until every creative's \`pending\` is 0.
|
|
314
|
+
until every creative's \`pending\` is 0. Most images finish in a few minutes; text-heavy templates
|
|
315
|
+
and \`quality: high\` take longer. Read each render's \`elapsed_seconds\` rather than guessing — a
|
|
316
|
+
render that's still \`running\` is healthy; do NOT re-submit thinking it stalled (that double-bills).
|
|
308
317
|
7. **Hand back the links** from the batch's \`links\` block — \`brand_url\` (gallery) and each
|
|
309
318
|
creative's \`app_url\` — copied verbatim. Never end on just "done" or a file path.
|
|
310
319
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AA0BA,wCAKC;AAWD,sDAwJC;AAiBD,
|
|
1
|
+
{"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;AA0BA,wCAKC;AAWD,sDAwJC;AAiBD,0DAsLC;AAhXD,oDAAoD;AACpD,SAAgB,cAAc;IAC5B,OAAO;QACL,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,EAAE;QACxD,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE;KAC1D,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,SAAgB,qBAAqB;IACnC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJR,CAAC;AACF,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,SAAgB,uBAAuB;IACrC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLR,CAAC;AACF,CAAC"}
|