gooseworks 0.5.7 → 0.5.9-dev.53.c1bd6be2

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.
Files changed (65) hide show
  1. package/dist/kit/core/progress.d.ts +23 -3
  2. package/dist/kit/core/progress.d.ts.map +1 -1
  3. package/dist/kit/core/progress.js +62 -18
  4. package/dist/kit/core/progress.js.map +1 -1
  5. package/dist/kit/core/run.d.ts +5 -1
  6. package/dist/kit/core/run.d.ts.map +1 -1
  7. package/dist/kit/core/run.js +17 -4
  8. package/dist/kit/core/run.js.map +1 -1
  9. package/dist/kit/core/style.d.ts +1 -0
  10. package/dist/kit/core/style.d.ts.map +1 -1
  11. package/dist/kit/maker/cues.d.ts +67 -0
  12. package/dist/kit/maker/cues.d.ts.map +1 -0
  13. package/dist/kit/maker/cues.js +204 -0
  14. package/dist/kit/maker/cues.js.map +1 -0
  15. package/dist/kit/maker/encode.d.ts +5 -0
  16. package/dist/kit/maker/encode.d.ts.map +1 -1
  17. package/dist/kit/maker/encode.js +7 -1
  18. package/dist/kit/maker/encode.js.map +1 -1
  19. package/dist/kit/maker/facts.d.ts +46 -0
  20. package/dist/kit/maker/facts.d.ts.map +1 -0
  21. package/dist/kit/maker/facts.js +159 -0
  22. package/dist/kit/maker/facts.js.map +1 -0
  23. package/dist/kit/maker/inputs.d.ts +48 -3
  24. package/dist/kit/maker/inputs.d.ts.map +1 -1
  25. package/dist/kit/maker/inputs.js +151 -22
  26. package/dist/kit/maker/inputs.js.map +1 -1
  27. package/dist/kit/maker/make.d.ts +20 -1
  28. package/dist/kit/maker/make.d.ts.map +1 -1
  29. package/dist/kit/maker/make.js +125 -19
  30. package/dist/kit/maker/make.js.map +1 -1
  31. package/dist/kit/maker/page.d.ts.map +1 -1
  32. package/dist/kit/maker/page.js +49 -1
  33. package/dist/kit/maker/page.js.map +1 -1
  34. package/dist/kit/maker/parts/html-frames/1.2.0/part.json +1083 -0
  35. package/dist/kit/maker/parts/html-frames/src/part.d.ts.map +1 -1
  36. package/dist/kit/maker/parts/html-frames/src/part.js +4 -1
  37. package/dist/kit/maker/parts/html-frames/src/part.js.map +1 -1
  38. package/dist/kit/maker/runtime.d.ts.map +1 -1
  39. package/dist/kit/maker/runtime.js +54 -7
  40. package/dist/kit/maker/runtime.js.map +1 -1
  41. package/dist/kit/maker/timing.d.ts +74 -0
  42. package/dist/kit/maker/timing.d.ts.map +1 -0
  43. package/dist/kit/maker/timing.js +152 -0
  44. package/dist/kit/maker/timing.js.map +1 -0
  45. package/dist/kit/maker/under.d.ts +126 -0
  46. package/dist/kit/maker/under.d.ts.map +1 -0
  47. package/dist/kit/maker/under.js +299 -0
  48. package/dist/kit/maker/under.js.map +1 -0
  49. package/dist/skills/master-skill.js +1 -1
  50. package/dist/skills/routes.js +2 -2
  51. package/dist/skills/routes.js.map +1 -1
  52. package/dist/skills/server-entry-skills.d.ts +6 -6
  53. package/dist/skills/server-entry-skills.d.ts.map +1 -1
  54. package/dist/skills/server-entry-skills.js +84 -55
  55. package/dist/skills/server-entry-skills.js.map +1 -1
  56. package/package.json +3 -3
  57. package/skills/goose-ads/SKILL.md +6 -6
  58. package/skills/goose-product-photos/SKILL.md +6 -6
  59. package/skills/goose-video/SKILL.md +23 -13
  60. package/skills/goose-video-local/SKILL.md +1 -1
  61. package/skills/gooseworks/SKILL.md +6 -6
  62. package/skills/make-custom-video/SKILL.md +42 -23
  63. package/skills/manifest.json +7 -7
  64. package/skills/routes.json +1 -1
  65. package/dist/kit/maker/parts/html-frames/1.1.0/part.json +0 -199
@@ -2,7 +2,7 @@
2
2
  // The entry skill text our server builds, copied here because the CLI
3
3
  // cannot import gooseworks-app. Do not edit by hand.
4
4
  //
5
- // Source: gooseworks-app dev @ 810c496ee
5
+ // Source: gooseworks-app akhil/goose-4027-custom-video-source-recipe (on dev @ 538cb6243)
6
6
  // apps/api/src/services/playbooks/entry-skill.ts buildVideoEntrySkill(slug)
7
7
  // apps/api/src/app-mcp-server/lib/video-policy.ts renderEntrySkillRules(product)
8
8
  //
@@ -15,35 +15,45 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SERVER_ENTRY_SKILL_RULES = exports.SERVER_VIDEO_ENTRY_SKILLS = exports.SERVER_RULEBOOK_VERSION = void 0;
17
17
  /** The rulebook version this text was built from. */
18
- exports.SERVER_RULEBOOK_VERSION = '1.0.2';
18
+ exports.SERVER_RULEBOOK_VERSION = '1.3.1';
19
19
  exports.SERVER_VIDEO_ENTRY_SKILLS = {
20
20
  'goose-video': `---
21
21
  name: goose-video
22
- description: "Make a video ad with GooseWorks in this chat: the product first, then the brand read, then video_formats; follow the next_step in every answer."
23
- version: 4.1.0
22
+ description: "Make a video ad in this chat. Study a supplied video reference before comparing styles; follow the next_step in every answer."
23
+ version: 4.4.3
24
24
  ---
25
25
 
26
26
  # GooseWorks video
27
27
 
28
- Use GooseWorks to make the customer's video, here in this chat. For a video already started (named, or sent by a card), call video_read and follow its next_step.
28
+ From an installed entry, first catalog_fetch type skill goose-video on this same connection and follow that body. An entry already fetched in this run needs no repeat fetch.
29
29
 
30
- For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
30
+ For a video already started, call video_read and follow its next_step.
31
+
32
+ Explicit custom: skip video_formats and steps 5–6. Keep their mechanics and assets; research the brand/product and study the reference for its custom plan. Check current custom support before any write.
33
+
34
+ For other new videos start with get_started (wants video, request). A card is not a style choice or proof of viewing. Follow the reference rule before style selection or a plan.
31
35
 
32
36
  1. The request. If they haven't said what the video is about, ask in one short question.
33
37
  2. The brand. Ask which brand only when brand_read lists several; with one, use it.
34
- 3. The product. Unless they named one or want none, ask which product, offering the brand's products by name from brand_read (sections: products). Use the only one if there is one; with none, go on without.
35
- 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids): photos, specs, creative notes. Then knowledge_search for them. Keep a few plain lines of what to say and avoid.
36
- 5. The styles. Call video_formats with the request and the products' ids: [] for none or a style without products. The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, list the fitting styles, each with its name, one line and price as written, and ask which one.
37
- 6. The plan. Call video_create with the picked style and the products; its next_step says how to write the scenes with video_change and what follows.
38
+ 3. The product. Named or none wanted: find its id with brand_read (sections: products), or use []. Otherwise the product card asks: say one line and wait. Without cards, ask which product by name; use the only one, or go on with none. Never ask again after a pick.
39
+ 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids), then knowledge_search for them. Note what to say and avoid.
40
+ 5. The styles. Call video_formats with the request and the products' ids ([] for none). The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, print the style table from the answer as it is and ask nothing else.
41
+ 6. The plan. Call video_create with the picked style and the products; its next_step says what follows.
42
+
43
+ ## A supplied video reference comes first
44
+
45
+ Watch the actual video before choosing a style or writing a custom plan. Play through it, or inspect timestamped frames spanning it plus its audio/transcript. A URL, title, caption or thumbnail is not a viewing. Record the hook, scene order, pacing, narration/dialogue, framing, product interactions, text and ending, with timestamps and gaps. If access or sampling cannot answer an essential detail, ask for an accessible video or their choice to continue from the brief; never claim it was watched.
46
+ When they have not chosen custom, call video_formats after brand research. For plausible matches, catalog_fetch type template returns the style's plan_note, scenes, duration, cast, sound and assets. Compare these against the observed reference and their essential choices. A similar title or high brand ranking does not prove a match. Explain fit or mismatch before they choose. Keep an explicit style choice; do not quietly change constraints or over-adapt it. Reassess a later reference before creating or rewriting a plan.
47
+ If no available style fits, or they explicitly want custom, catalog_fetch type skill make-custom-video on this connection before a project write. Require its complete production-harness dependency and current custom schemas. Follow its separate authenticated script and ingredient approvals, cumulative budgets and verified execution capability. If anything is unavailable, say so and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. Fetching a skill alone proves no execution capability.
38
48
 
39
49
  ## Rules
40
50
 
41
- - Talk to marketers: what they get and what they decide, never how it is made.
51
+ - Talk to marketers: what they get and decide, never how it's made.
42
52
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
43
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
44
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
45
- - Follow the next_step in every answer; it says what to do now.
46
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
53
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
54
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
55
+ - Follow the next_step in every answer.
56
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
47
57
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
48
58
  - A yes counts only for the price the customer was shown: their press on the plan card, or their yes in chat sent with that price.
49
59
  - Where the app shows no card, print the plan and its price and ask for the customer's yes here; never send them to a website to approve.
@@ -52,67 +62,86 @@ For a new video, in this order. Suggest nothing before step 5 and write no plan
52
62
  `,
53
63
  'make-custom-video': `---
54
64
  name: make-custom-video
55
- description: "Make an original video from a brief or a reference video with GooseWorks in this chat: the product first, then the brand read, then video_formats; follow the next_step in every answer."
56
- version: 3.1.0
65
+ description: "Make a custom video from its brief and studied reference, with authenticated script and ingredient reviews."
66
+ version: 3.5.0
67
+ requires_skills: [video-production-harness]
68
+ harness_binding: gooseworks/video-actions/v1
57
69
  ---
58
70
 
59
- # GooseWorks video
71
+ # Human version
60
72
 
61
- Use GooseWorks to make the customer's video, here in this chat. For a video already started (named, or sent by a card), call video_read and follow its next_step.
73
+ The owner approves the script, then actual storyboard/ingredients and budget. Both authenticated reviews must pass before production.
62
74
 
63
- For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
75
+ ---
64
76
 
65
- 1. The request. If they haven't said what the video is about, ask in one short question.
66
- 2. The brand. Ask which brand only when brand_read lists several; with one, use it.
67
- 3. The product. Unless they named one or want none, ask which product, offering the brand's products by name from brand_read (sections: products). Use the only one if there is one; with none, go on without.
68
- 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids): photos, specs, creative notes. Then knowledge_search for them. Keep a few plain lines of what to say and avoid.
69
- 5. The styles. Call video_formats with the request and the products' ids: [] for none or a style without products. The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, list the fitting styles, each with its name, one line and price as written, and ask which one.
70
- 6. The plan. Call video_create with the picked style and the products; its next_step says how to write the scenes with video_change and what follows.
77
+ # Agent version
71
78
 
72
- ## Rules
79
+ Installed entry: catalog_fetch type skill make-custom-video here once. Check live custom schemas before writes. Keep this environment; no retired actions, template fallback or reference-as-final import.
73
80
 
74
- - Talk to marketers: what they get and what they decide, never how it is made.
75
- - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
76
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
77
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
78
- - Follow the next_step in every answer; it says what to do now.
79
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
80
- - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
81
- - A yes counts only for the price the customer was shown: their press on the plan card, or their yes in chat sent with that price.
82
- - Where the app shows no card, print the plan and its price and ask for the customer's yes here; never send them to a website to approve.
83
- - Never invent an offer, a claim or proof.
84
- - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.
81
+ ## Load the production harness
82
+
83
+ Require complete video-production-harness content/scripts/files/version/contentHash. Read its orchestrator, phases and editorial/specialist guides. Save safe paths separately with hashes/dependencies. Incomplete/mixed packages block work. Resume recorded packages, inputs and jobs.
84
+
85
+ ## Keep the brief and study the reference
86
+
87
+ Explicit custom skips video_formats and the picker. Keep requested mechanics/assets; animated text and product photos must not become a creator montage. Implicit references use goose-video to watch and compare template constraints; custom follows no match or their choice.
88
+ Read brand_read (kit, products, rules), then knowledge_search. Use supported claims, real photos/logo. Watch playback, or timed frames spanning the video plus audio/transcript. Record hook, scene order, pace, framing, dialogue, text, product interactions and ending with times/gaps. URLs/thumbnails are not viewing. Missing access needs an accessible source or explicit brief-only choice.
89
+
90
+ ## Create or resume
91
+
92
+ New: video_create with brand_id, style custom, request and a required agent-generated UUID idempotency_key; retain products, name, reference_url and campaign. Reuse that key on retries. Resume with video_read the same project: retain plan_revision, custom_review, brand_context, production_manifest and execution; never create a replacement.
93
+ Reference resolve accepts direct files; social links cause no automatic paid lookup. If GooseWorks can't download it, upload the file you watched into this project (media_upload scope video_project, media_confirm), wait for media_analyze read to show its duration, then video_change custom reference attach with asset_id and its current_revision as analysis_revision; each refusal names the condition to fix. Skip needs explicit brief-only user_quote. Pending/failed reference blocks approval; a URL is not viewing.
94
+ A resolved reference also needs draft.reference_observation: the project's reference source_url, real duration_s, evidence_mode playback or frames_and_audio, observed_through_s covering 95%, and summary: what happens with times and gaps, as text or a list of {t, what}. Its data binds the script token. Resolve/attach is not watching.
95
+
96
+ ## Save script and ingredients
97
+
98
+ Follow the harness phases. Discover specialists for the actual scenes; check inputs, outputs, dependencies and managed execution. Reuse suitable product photos and deterministic text animation. Never substitute a template driver. Bind operations to this project and approved scene/script revisions.
99
+ video_change needs expected_revision (plan_revision), custom draft and optional script. Bind brand_context_digest to the returned bundle; never author server context. Keep packages outside the review payload. Quote paid operations through the live managed estimate path with real inputs/project. Save preview_estimate/render_estimate for the work still to buy; the server adds committed_credits. Never edit a field the owner approved: the save sets their approval aside until the approved text is back. Missing price/unsupported inputs blocks production; no guessed rates/direct keys.
100
+
101
+ ## Two authenticated owner reviews
102
+
103
+ Show the complete saved script and exact cumulative budget on the authenticated review card. Only the owner's actual signed button press approves. Chat yes, OAuth, user_quote, widget origin or a copied token is not proof; never manufacture a click or self-approve. Text-only/large reviews use returned authenticated Studio phase buttons and approval_surface URL.
104
+ Reread video_read after owner actions. Script approval permits quoted previews only. Save the actual storyboard, playable ingredients and render budget; ingredient approval permits clips. Require current script_approved/ingredients_approved, matching tokens/revision and budget. Changed reviews need renewed approval. A prior yes does not authorize changed work.
105
+
106
+ ## Execute, check and deliver
107
+
108
+ Require execution.local from a verified customer shell. No cloud, style-only kit, API host, worker or coworker sandbox. Otherwise report the gap.
109
+ video_make needs expected_revision and custom render state. Resume the same render with approved tokens; report running/failed/complete honestly and honor Stop. Save actual prompts, settings, every scene and clip checks through video_change custom production. Watch the full output against the approved script, product and brand; save its full quality report. Completion needs a confirmed upload and rebuild recipe here; pin only the checked complete render. Read back manifest/final before delivery. Repairs need affected assets only and renewed approvals/budget.
110
+
111
+ Rebuild recipe: every input the build reads, uploaded here or a linked Library original, plus recipe/source.json; prove a clean-folder rebuild, then save it as custom production source. The next step gives the format.
112
+
113
+ Use plain words and returned credits. No invented claims, approvals, assets or passing checks.
85
114
  `,
86
115
  };
87
116
  /** renderEntrySkillRules(product) for the products the CLI's own entry skills cover. */
88
117
  exports.SERVER_ENTRY_SKILL_RULES = {
89
- all: `- Talk to marketers: what they get and what they decide, never how it is made.
118
+ all: `- Talk to marketers: what they get and decide, never how it's made.
90
119
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
91
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
92
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
93
- - Follow the next_step in every answer; it says what to do now.
94
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
120
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
121
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
122
+ - Follow the next_step in every answer.
123
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
95
124
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
96
125
  - Never invent an offer, a claim or proof.
97
126
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.`,
98
- ads: `- Talk to marketers: what they get and what they decide, never how it is made.
127
+ ads: `- Talk to marketers: what they get and decide, never how it's made.
99
128
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
100
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
101
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
102
- - Follow the next_step in every answer; it says what to do now.
103
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
129
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
130
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
131
+ - Follow the next_step in every answer.
132
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
104
133
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
105
- - Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.
134
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
106
135
  - Never invent an offer, a claim or proof.
107
136
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.`,
108
- photos: `- Talk to marketers: what they get and what they decide, never how it is made.
137
+ photos: `- Talk to marketers: what they get and decide, never how it's made.
109
138
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
110
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
111
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
112
- - Follow the next_step in every answer; it says what to do now.
113
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
139
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
140
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
141
+ - Follow the next_step in every answer.
142
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
114
143
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
115
- - Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.
144
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
116
145
  - Never invent an offer, a claim or proof.
117
146
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.`,
118
147
  };
@@ -1 +1 @@
1
- {"version":3,"file":"server-entry-skills.js","sourceRoot":"","sources":["../../src/skills/server-entry-skills.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,qDAAqD;AACrD,EAAE;AACF,yCAAyC;AACzC,mFAAmF;AACnF,uFAAuF;AACvF,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AACxE,6EAA6E;AAC7E,6EAA6E;AAC7E,sEAAsE;AACtE,iEAAiE;;;AAEjE,qDAAqD;AACxC,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAElC,QAAA,yBAAyB,GAAG;IACvC,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgChB;IACC,mBAAmB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCtB;CACS,CAAC;AAIX,wFAAwF;AAC3E,QAAA,wBAAwB,GAAG;IACtC,GAAG,EAAE;;;;;;;;mJAQ4I;IACjJ,GAAG,EAAE;;;;;;;;;mJAS4I;IACjJ,MAAM,EAAE;;;;;;;;;mJASyI;CACzI,CAAC"}
1
+ {"version":3,"file":"server-entry-skills.js","sourceRoot":"","sources":["../../src/skills/server-entry-skills.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,qDAAqD;AACrD,EAAE;AACF,0FAA0F;AAC1F,mFAAmF;AACnF,uFAAuF;AACvF,EAAE;AACF,+EAA+E;AAC/E,wEAAwE;AACxE,6EAA6E;AAC7E,6EAA6E;AAC7E,sEAAsE;AACtE,iEAAiE;;;AAEjE,qDAAqD;AACxC,QAAA,uBAAuB,GAAG,OAAO,CAAC;AAElC,QAAA,yBAAyB,GAAG;IACvC,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ChB;IACC,mBAAmB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDtB;CACS,CAAC;AAIX,wFAAwF;AAC3E,QAAA,wBAAwB,GAAG;IACtC,GAAG,EAAE;;;;;;;;mJAQ4I;IACjJ,GAAG,EAAE;;;;;;;;;mJAS4I;IACjJ,MAAM,EAAE;;;;;;;;;mJASyI;CACzI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gooseworks",
3
- "version": "0.5.7",
3
+ "version": "0.5.9-dev.53.c1bd6be2",
4
4
  "description": "GooseWorks CLI — give your coding agent real data tools",
5
5
  "bin": {
6
6
  "gooseworks": "./dist/index.js"
@@ -61,7 +61,7 @@
61
61
  "homepage": "https://gooseworks.ai",
62
62
  "author": "GooseWorks <help@gooseworks.ai>",
63
63
  "gooseworksRelease": {
64
- "commit": "dc225cc93a199a8d410dafd47850a8dd5fb3d4bd",
65
- "branch": "main"
64
+ "commit": "c1bd6be2d08e7aa8ae5573b16f8aed96e1b86fc5",
65
+ "branch": "dev"
66
66
  }
67
67
  }
@@ -28,13 +28,13 @@ Then follow the next_step in every answer.
28
28
 
29
29
  ## Rules
30
30
 
31
- - Talk to marketers: what they get and what they decide, never how it is made.
31
+ - Talk to marketers: what they get and decide, never how it's made.
32
32
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
33
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
34
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
35
- - Follow the next_step in every answer; it says what to do now.
36
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
33
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
34
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
35
+ - Follow the next_step in every answer.
36
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
37
37
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
38
- - Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.
38
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
39
39
  - Never invent an offer, a claim or proof.
40
40
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.
@@ -25,13 +25,13 @@ Then follow the next_step in every answer.
25
25
 
26
26
  ## Rules
27
27
 
28
- - Talk to marketers: what they get and what they decide, never how it is made.
28
+ - Talk to marketers: what they get and decide, never how it's made.
29
29
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
30
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
31
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
32
- - Follow the next_step in every answer; it says what to do now.
33
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
30
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
31
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
32
+ - Follow the next_step in every answer.
33
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
34
34
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
35
- - Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.
35
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
36
36
  - Never invent an offer, a claim or proof.
37
37
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.
@@ -1,30 +1,40 @@
1
1
  ---
2
2
  name: goose-video
3
- description: "Make a video ad with GooseWorks in this chat: the product first, then the brand read, then video_formats; follow the next_step in every answer."
4
- version: 4.1.0
3
+ description: "Make a video ad in this chat. Study a supplied video reference before comparing styles; follow the next_step in every answer."
4
+ version: 4.4.3
5
5
  ---
6
6
 
7
7
  # GooseWorks video
8
8
 
9
- Use GooseWorks to make the customer's video, here in this chat. For a video already started (named, or sent by a card), call video_read and follow its next_step.
9
+ From an installed entry, first catalog_fetch type skill goose-video on this same connection and follow that body. An entry already fetched in this run needs no repeat fetch.
10
10
 
11
- For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
11
+ For a video already started, call video_read and follow its next_step.
12
+
13
+ Explicit custom: skip video_formats and steps 5–6. Keep their mechanics and assets; research the brand/product and study the reference for its custom plan. Check current custom support before any write.
14
+
15
+ For other new videos start with get_started (wants video, request). A card is not a style choice or proof of viewing. Follow the reference rule before style selection or a plan.
12
16
 
13
17
  1. The request. If they haven't said what the video is about, ask in one short question.
14
18
  2. The brand. Ask which brand only when brand_read lists several; with one, use it.
15
- 3. The product. Unless they named one or want none, ask which product, offering the brand's products by name from brand_read (sections: products). Use the only one if there is one; with none, go on without.
16
- 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids): photos, specs, creative notes. Then knowledge_search for them. Keep a few plain lines of what to say and avoid.
17
- 5. The styles. Call video_formats with the request and the products' ids: [] for none or a style without products. The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, list the fitting styles, each with its name, one line and price as written, and ask which one.
18
- 6. The plan. Call video_create with the picked style and the products; its next_step says how to write the scenes with video_change and what follows.
19
+ 3. The product. Named or none wanted: find its id with brand_read (sections: products), or use []. Otherwise the product card asks: say one line and wait. Without cards, ask which product by name; use the only one, or go on with none. Never ask again after a pick.
20
+ 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids), then knowledge_search for them. Note what to say and avoid.
21
+ 5. The styles. Call video_formats with the request and the products' ids ([] for none). The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, print the style table from the answer as it is and ask nothing else.
22
+ 6. The plan. Call video_create with the picked style and the products; its next_step says what follows.
23
+
24
+ ## A supplied video reference comes first
25
+
26
+ Watch the actual video before choosing a style or writing a custom plan. Play through it, or inspect timestamped frames spanning it plus its audio/transcript. A URL, title, caption or thumbnail is not a viewing. Record the hook, scene order, pacing, narration/dialogue, framing, product interactions, text and ending, with timestamps and gaps. If access or sampling cannot answer an essential detail, ask for an accessible video or their choice to continue from the brief; never claim it was watched.
27
+ When they have not chosen custom, call video_formats after brand research. For plausible matches, catalog_fetch type template returns the style's plan_note, scenes, duration, cast, sound and assets. Compare these against the observed reference and their essential choices. A similar title or high brand ranking does not prove a match. Explain fit or mismatch before they choose. Keep an explicit style choice; do not quietly change constraints or over-adapt it. Reassess a later reference before creating or rewriting a plan.
28
+ If no available style fits, or they explicitly want custom, catalog_fetch type skill make-custom-video on this connection before a project write. Require its complete production-harness dependency and current custom schemas. Follow its separate authenticated script and ingredient approvals, cumulative budgets and verified execution capability. If anything is unavailable, say so and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. Fetching a skill alone proves no execution capability.
19
29
 
20
30
  ## Rules
21
31
 
22
- - Talk to marketers: what they get and what they decide, never how it is made.
32
+ - Talk to marketers: what they get and decide, never how it's made.
23
33
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
24
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
25
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
26
- - Follow the next_step in every answer; it says what to do now.
27
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
34
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
35
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
36
+ - Follow the next_step in every answer.
37
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
28
38
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
29
39
  - A yes counts only for the price the customer was shown: their press on the plan card, or their yes in chat sent with that price.
30
40
  - Where the app shows no card, print the plan and its price and ask for the customer's yes here; never send them to a website to approve.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: goose-video-local
3
3
  description: Make an approved GooseWorks video on this computer when the server's next_step says to.
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  ---
6
6
 
7
7
  Run `gooseworks video make <id>` when the server's next_step says so.
@@ -33,7 +33,7 @@ social data. Hand specialist work to its skill; do data work here.
33
33
  | --- | --- | --- |
34
34
  | Make, edit or study image ads: from a template, a source ad or the brand's products; why a campaign underperforms; competitor ads, angles and hooks | **`goose-ads`** | Use goose-ads: open it with catalog_fetch in a chat app, or use the installed copy in a terminal. |
35
35
  | Charts, infographics, slides, social graphics, branded visual designs from a style or format | **`goose-graphics`** | Fetch it with catalog_fetch, or `gooseworks fetch goose-graphics` in a terminal. |
36
- | Any **video**: a video ad from a style, an original video from a brief or a reference video, or a video already started | **`goose-video`** | Use goose-video: ask which product first, read the brand, then video_formats; follow the next_step in every answer. |
36
+ | Any **video**: a video ad from a style, an original video from a brief or a reference video, or a video already started | **`goose-video`** | Use goose-video: explicit custom skips the picker; otherwise watch the reference, read the brand and compare style constraints. |
37
37
  | Make **product photos**: studio, lifestyle, marketplace, social or on a model | **`goose-product-photos`** | Use goose-product-photos: open it with catalog_fetch in a chat app, or use the installed copy in a terminal. |
38
38
  | Animate an approved static ad or product image | **`animate-image`** | Fetch it with catalog_fetch, or `gooseworks fetch animate-image` in a terminal. |
39
39
  | Anything else: scraping, research, lead lists, enrichment, any data lookup | (stay here) | Follow "Data work" below. |
@@ -91,12 +91,12 @@ for their yes. Each paid answer says what it charged.
91
91
 
92
92
  ## Rules
93
93
 
94
- - Talk to marketers: what they get and what they decide, never how it is made.
94
+ - Talk to marketers: what they get and decide, never how it's made.
95
95
  - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
96
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
97
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
98
- - Follow the next_step in every answer; it says what to do now.
99
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
96
+ - Everything happens here: never ask the customer to install anything or use a CLI, slash command or other app, except npx -y gooseworks@0.5.7 video check and npx -y gooseworks@0.5.7 video make <id> when a next_step gives them.
97
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
98
+ - Follow the next_step in every answer.
99
+ - Card on screen (display_hint "widget"): one short line at most, then the wait in its next_step or end your turn; never re-list it or open a question box.
100
100
  - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
101
101
  - Never invent an offer, a claim or proof.
102
102
  - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.
@@ -1,32 +1,51 @@
1
1
  ---
2
2
  name: make-custom-video
3
- description: "Make an original video from a brief or a reference video with GooseWorks in this chat: the product first, then the brand read, then video_formats; follow the next_step in every answer."
4
- version: 3.1.0
3
+ description: "Make a custom video from its brief and studied reference, with authenticated script and ingredient reviews."
4
+ version: 3.5.0
5
+ requires_skills: [video-production-harness]
6
+ harness_binding: gooseworks/video-actions/v1
5
7
  ---
6
8
 
7
- # GooseWorks video
9
+ # Human version
8
10
 
9
- Use GooseWorks to make the customer's video, here in this chat. For a video already started (named, or sent by a card), call video_read and follow its next_step.
11
+ The owner approves the script, then actual storyboard/ingredients and budget. Both authenticated reviews must pass before production.
10
12
 
11
- For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
13
+ ---
14
+
15
+ # Agent version
16
+
17
+ Installed entry: catalog_fetch type skill make-custom-video here once. Check live custom schemas before writes. Keep this environment; no retired actions, template fallback or reference-as-final import.
18
+
19
+ ## Load the production harness
20
+
21
+ Require complete video-production-harness content/scripts/files/version/contentHash. Read its orchestrator, phases and editorial/specialist guides. Save safe paths separately with hashes/dependencies. Incomplete/mixed packages block work. Resume recorded packages, inputs and jobs.
22
+
23
+ ## Keep the brief and study the reference
24
+
25
+ Explicit custom skips video_formats and the picker. Keep requested mechanics/assets; animated text and product photos must not become a creator montage. Implicit references use goose-video to watch and compare template constraints; custom follows no match or their choice.
26
+ Read brand_read (kit, products, rules), then knowledge_search. Use supported claims, real photos/logo. Watch playback, or timed frames spanning the video plus audio/transcript. Record hook, scene order, pace, framing, dialogue, text, product interactions and ending with times/gaps. URLs/thumbnails are not viewing. Missing access needs an accessible source or explicit brief-only choice.
27
+
28
+ ## Create or resume
29
+
30
+ New: video_create with brand_id, style custom, request and a required agent-generated UUID idempotency_key; retain products, name, reference_url and campaign. Reuse that key on retries. Resume with video_read the same project: retain plan_revision, custom_review, brand_context, production_manifest and execution; never create a replacement.
31
+ Reference resolve accepts direct files; social links cause no automatic paid lookup. If GooseWorks can't download it, upload the file you watched into this project (media_upload scope video_project, media_confirm), wait for media_analyze read to show its duration, then video_change custom reference attach with asset_id and its current_revision as analysis_revision; each refusal names the condition to fix. Skip needs explicit brief-only user_quote. Pending/failed reference blocks approval; a URL is not viewing.
32
+ A resolved reference also needs draft.reference_observation: the project's reference source_url, real duration_s, evidence_mode playback or frames_and_audio, observed_through_s covering 95%, and summary: what happens with times and gaps, as text or a list of {t, what}. Its data binds the script token. Resolve/attach is not watching.
33
+
34
+ ## Save script and ingredients
35
+
36
+ Follow the harness phases. Discover specialists for the actual scenes; check inputs, outputs, dependencies and managed execution. Reuse suitable product photos and deterministic text animation. Never substitute a template driver. Bind operations to this project and approved scene/script revisions.
37
+ video_change needs expected_revision (plan_revision), custom draft and optional script. Bind brand_context_digest to the returned bundle; never author server context. Keep packages outside the review payload. Quote paid operations through the live managed estimate path with real inputs/project. Save preview_estimate/render_estimate for the work still to buy; the server adds committed_credits. Never edit a field the owner approved: the save sets their approval aside until the approved text is back. Missing price/unsupported inputs blocks production; no guessed rates/direct keys.
38
+
39
+ ## Two authenticated owner reviews
40
+
41
+ Show the complete saved script and exact cumulative budget on the authenticated review card. Only the owner's actual signed button press approves. Chat yes, OAuth, user_quote, widget origin or a copied token is not proof; never manufacture a click or self-approve. Text-only/large reviews use returned authenticated Studio phase buttons and approval_surface URL.
42
+ Reread video_read after owner actions. Script approval permits quoted previews only. Save the actual storyboard, playable ingredients and render budget; ingredient approval permits clips. Require current script_approved/ingredients_approved, matching tokens/revision and budget. Changed reviews need renewed approval. A prior yes does not authorize changed work.
43
+
44
+ ## Execute, check and deliver
12
45
 
13
- 1. The request. If they haven't said what the video is about, ask in one short question.
14
- 2. The brand. Ask which brand only when brand_read lists several; with one, use it.
15
- 3. The product. Unless they named one or want none, ask which product, offering the brand's products by name from brand_read (sections: products). Use the only one if there is one; with none, go on without.
16
- 4. Research. Read the brand kit, learnings and the chosen products with brand_read (sections kit and learnings, plus the products' ids): photos, specs, creative notes. Then knowledge_search for them. Keep a few plain lines of what to say and avoid.
17
- 5. The styles. Call video_formats with the request and the products' ids: [] for none or a style without products. The customer picks; never recommend one. A style they named that the answer lists as available is their pick. Otherwise, with the style card on screen, say one short line and wait; without one, list the fitting styles, each with its name, one line and price as written, and ask which one.
18
- 6. The plan. Call video_create with the picked style and the products; its next_step says how to write the scenes with video_change and what follows.
46
+ Require execution.local from a verified customer shell. No cloud, style-only kit, API host, worker or coworker sandbox. Otherwise report the gap.
47
+ video_make needs expected_revision and custom render state. Resume the same render with approved tokens; report running/failed/complete honestly and honor Stop. Save actual prompts, settings, every scene and clip checks through video_change custom production. Watch the full output against the approved script, product and brand; save its full quality report. Completion needs a confirmed upload and rebuild recipe here; pin only the checked complete render. Read back manifest/final before delivery. Repairs need affected assets only and renewed approvals/budget.
19
48
 
20
- ## Rules
49
+ Rebuild recipe: every input the build reads, uploaded here or a linked Library original, plus recipe/source.json; prove a clean-folder rebuild, then save it as custom production source. The next step gives the format.
21
50
 
22
- - Talk to marketers: what they get and what they decide, never how it is made.
23
- - Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.
24
- - Everything happens in this chat: never ask the customer to install anything or use a CLI, slash command or other app; the only commands are gooseworks video check and gooseworks video make <id>, when a next_step gives them.
25
- - Money is a credit number, exactly as an answer gives it: never dollars, never your own math.
26
- - Follow the next_step in every answer; it says what to do now.
27
- - With a card on screen (display_hint "widget"), add at most one short line; never re-list it or its links.
28
- - Paid work needs the customer's yes to the credit total first, on the card or in chat at the price shown; you never approve.
29
- - A yes counts only for the price the customer was shown: their press on the plan card, or their yes in chat sent with that price.
30
- - Where the app shows no card, print the plan and its price and ask for the customer's yes here; never send them to a website to approve.
31
- - Never invent an offer, a claim or proof.
32
- - GooseWorks holds every provider key and bills the work: never ask for a key, token, password or ad account id, and never call a vendor yourself.
51
+ Use plain words and returned credits. No invented claims, approvals, assets or passing checks.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "package": "gooseworks",
3
- "version": "0.5.7",
3
+ "version": "0.5.9-dev.53.c1bd6be2",
4
4
  "entries": {
5
- "gooseworks": "6a54a8962a390d34639d56226d9078b63a9005b0a8f5c65d7811f2ef5808cec4",
6
- "goose-ads": "de1b0342fcc82942e1f9c6a3aa01818973c968cbdb65f7109d73761536d029f8",
7
- "goose-video": "9226f2a3373ac4c8f94fdaaede34a30cac7951a160996d56971617097b2b2029",
8
- "goose-video-local": "189cd2c24bbbb152d700847832b67ce651962959fd2381e878ed7ace6bc96a54",
9
- "make-custom-video": "08f8fd3ef2713064a7f41d5b18ef0407f746a095bcea4334754013c391a030db",
10
- "goose-product-photos": "b72df2f34b846f7d559067eec872d6aa6a350166ec61cf919c2278f7556c1832"
5
+ "gooseworks": "b648ab0e21d94405f2161db5d142770115a6b4551fef778a6aa51e2d30c005bb",
6
+ "goose-ads": "0fd22d77148ce37500f9dfc3977abc1204baabe5faf8cf30d46c32bf60a410fa",
7
+ "goose-video": "83f1fe3822c899848a808e99b81f718527e12ef7c4552542ebbf5f0b6862a13d",
8
+ "goose-video-local": "37871252ff2f754d018f22e4335957e6a9e9b829560f8fe19a75b9aa1e510c91",
9
+ "make-custom-video": "f55b5f870c0cdcc0804304342f10c9ea29fa447471b78af8e17589ed380be19f",
10
+ "goose-product-photos": "f2f9bcd9f5982b1e53d8aef384b8ee3f4e7dcba15985f40c6075ac3e29f413ce"
11
11
  }
12
12
  }
@@ -17,7 +17,7 @@
17
17
  {
18
18
  "skill": "goose-video",
19
19
  "when": "Any **video**: a video ad from a style, an original video from a brief or a reference video, or a video already started",
20
- "how": "Use goose-video: ask which product first, read the brand, then video_formats; follow the next_step in every answer.",
20
+ "how": "Use goose-video: explicit custom skips the picker; otherwise watch the reference, read the brand and compare style constraints.",
21
21
  "delivery": "entry"
22
22
  },
23
23
  {