gooseworks 0.5.7-dev.46.ade46de2 → 0.5.7-dev.50.cbe6a0c1

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,13 +1,33 @@
1
- import type { PartKind } from '../part-interface';
1
+ import type { PartManifest } from '../part-interface';
2
2
  import type { ProgressRequest } from '../line/types';
3
- export declare function rowOf(kind: PartKind): string;
3
+ export declare const ROW_LABELS: {
4
+ readonly voice: "Creating the voice";
5
+ readonly pictures: "Creating the pictures";
6
+ readonly clips: "Creating the video clips";
7
+ readonly lips: "Syncing lips";
8
+ readonly music: "Creating the music";
9
+ readonly screens: "Creating the screens";
10
+ readonly join: "Joining the clips";
11
+ readonly captions: "Adding captions";
12
+ readonly sound: "Mixing the sound";
13
+ readonly end_card: "Creating the end card";
14
+ readonly check: "Checking it once before delivering";
15
+ };
16
+ /** The voice row's label when the video also syncs faces to that voice. */
17
+ export declare const AVATAR_VOICE_LABEL = "Creating the avatar and voice";
18
+ export type RowKey = keyof typeof ROW_LABELS;
19
+ /**
20
+ * A step's row, from its part's manifest. The server's table picks lip-sync by part id; the core
21
+ * names no part, so here lip-sync is a video part fed recorded sound (today the same one part).
22
+ */
23
+ export declare function rowOf(manifest: Pick<PartManifest, 'kind' | 'inputs'>): RowKey | null;
4
24
  /** What has been made so far, as the card shows it. */
5
25
  export declare class ProgressBook {
6
26
  private readonly steps;
7
27
  note: string;
8
28
  plan(steps: Array<{
9
29
  id: string;
10
- kind: PartKind;
30
+ row: RowKey | null;
11
31
  typical_s: number;
12
32
  }>): void;
13
33
  start(id: string): void;
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/kit/core/progress.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,eAAe,CAAC;AAYnE,wBAAgB,KAAK,CAAC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IAEjC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,IAAI;IAM/E,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IASvB,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;IAQrF,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,QAAiB,GAAG,IAAI;IAO3D,OAAO,IAAI,eAAe;CAqC3B"}
@@ -1,23 +1,59 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProgressBook = void 0;
3
+ exports.ProgressBook = exports.AVATAR_VOICE_LABEL = exports.ROW_LABELS = void 0;
4
4
  exports.rowOf = rowOf;
5
- /** The card's rows, in order. A row shows only when the video has a step of that kind. */
6
- const ROWS = [
7
- { label: 'Voice', kinds: ['generate_voice'] },
8
- { label: 'Pictures', kinds: ['generate_image'] },
9
- { label: 'Clips', kinds: ['generate_video'] },
10
- { label: 'Music', kinds: ['generate_music', 'generate_sfx'] },
11
- { label: 'Putting it together', kinds: ['render_html', 'compose', 'caption', 'mix', 'end_card'] },
12
- { label: 'Final check', kinds: ['check'] },
13
- ];
14
- function rowOf(kind) {
15
- return ROWS.find((row) => row.kinds.includes(kind))?.label ?? 'Putting it together';
5
+ exports.ROW_LABELS = {
6
+ voice: 'Creating the voice',
7
+ pictures: 'Creating the pictures',
8
+ clips: 'Creating the video clips',
9
+ lips: 'Syncing lips',
10
+ music: 'Creating the music',
11
+ screens: 'Creating the screens',
12
+ join: 'Joining the clips',
13
+ captions: 'Adding captions',
14
+ sound: 'Mixing the sound',
15
+ end_card: 'Creating the end card',
16
+ check: 'Checking it once before delivering',
17
+ };
18
+ /** The voice row's label when the video also syncs faces to that voice. */
19
+ exports.AVATAR_VOICE_LABEL = 'Creating the avatar and voice';
20
+ const ROW_ORDER = Object.keys(exports.ROW_LABELS);
21
+ const KIND_ROWS = {
22
+ generate_voice: 'voice',
23
+ generate_image: 'pictures',
24
+ generate_video: 'clips',
25
+ generate_music: 'music',
26
+ generate_sfx: 'music',
27
+ render_html: 'screens',
28
+ compose: 'join',
29
+ caption: 'captions',
30
+ mix: 'sound',
31
+ end_card: 'end_card',
32
+ check: 'check',
33
+ };
34
+ /** Rows whose count is of paid pieces the person will see (lines, pictures, clips); the rest count frames or beats. */
35
+ const PIECE_ROWS = new Set(['voice', 'pictures', 'clips', 'lips', 'music']);
36
+ /**
37
+ * A step's row, from its part's manifest. The server's table picks lip-sync by part id; the core
38
+ * names no part, so here lip-sync is a video part fed recorded sound (today the same one part).
39
+ */
40
+ function rowOf(manifest) {
41
+ if (manifest.kind === 'generate_video' && takesMedia(manifest.inputs, 'audio'))
42
+ return 'lips';
43
+ return KIND_ROWS[manifest.kind] ?? null;
44
+ }
45
+ function takesMedia(schema, media, depth = 0) {
46
+ if (depth > 64 || !schema || typeof schema !== 'object')
47
+ return false;
48
+ const file = schema['x-kit-file'];
49
+ if (file && file.media === media)
50
+ return true;
51
+ return Object.values(schema).some((value) => takesMedia(value, media, depth + 1));
16
52
  }
17
53
  /** What has been made so far, as the card shows it. */
18
54
  class ProgressBook {
19
55
  steps = new Map();
20
- note = 'Getting your video ready';
56
+ note = 'Getting the style ready';
21
57
  plan(steps) {
22
58
  for (const step of steps) {
23
59
  if (!this.steps.has(step.id))
@@ -54,20 +90,21 @@ class ProgressBook {
54
90
  request() {
55
91
  const all = [...this.steps.values()];
56
92
  const total = all.reduce((n, s) => n + s.total, 0);
57
- const done = all.reduce((n, s) => n + (s.state === 'done' ? s.total : Math.min(s.done, s.total)), 0);
93
+ const done = all.reduce((n, s) => n + madeOf(s), 0);
58
94
  const eta = all.reduce((n, s) => {
59
95
  if (s.state === 'done')
60
96
  return n;
61
97
  const left = s.fraction !== undefined ? 1 - s.fraction : s.total ? 1 - s.done / s.total : 1;
62
98
  return n + s.typical_s * (s.state === 'now' ? left : 1);
63
99
  }, 0);
100
+ const lips = all.some((s) => s.row === 'lips');
64
101
  const rows = [];
65
- for (const row of ROWS) {
66
- const members = all.filter((s) => row.kinds.includes(s.kind));
102
+ for (const row of ROW_ORDER) {
103
+ const members = all.filter((s) => s.row === row);
67
104
  if (!members.length)
68
105
  continue;
69
106
  const rowTotal = members.reduce((n, s) => n + s.total, 0);
70
- const rowDone = members.reduce((n, s) => n + (s.state === 'done' ? s.total : Math.min(s.done, s.total)), 0);
107
+ const rowDone = members.reduce((n, s) => n + madeOf(s), 0);
71
108
  const state = members.some((s) => s.state === 'failed')
72
109
  ? 'failed'
73
110
  : members.every((s) => s.state === 'done')
@@ -75,7 +112,11 @@ class ProgressBook {
75
112
  : members.some((s) => s.state === 'now' || s.state === 'done')
76
113
  ? 'now'
77
114
  : 'todo';
78
- rows.push({ label: row.label, state, ...(rowTotal > 1 ? { detail: `${Math.min(rowDone, rowTotal)} of ${rowTotal}` } : {}) });
115
+ rows.push({
116
+ label: row === 'voice' && lips ? exports.AVATAR_VOICE_LABEL : exports.ROW_LABELS[row],
117
+ state,
118
+ ...(PIECE_ROWS.has(row) && rowTotal > 1 ? { detail: `${Math.min(rowDone, rowTotal)} of ${rowTotal}` } : {}),
119
+ });
79
120
  }
80
121
  return {
81
122
  pieces_done: Math.min(done, 500),
@@ -87,4 +128,7 @@ class ProgressBook {
87
128
  }
88
129
  }
89
130
  exports.ProgressBook = ProgressBook;
131
+ function madeOf(step) {
132
+ return step.state === 'done' ? step.total : Math.min(step.done, step.total);
133
+ }
90
134
  //# sourceMappingURL=progress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","sourceRoot":"","sources":["../../../src/kit/core/progress.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U,CAAC;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,mEAAmE;IACnE,WAAW,EAAE,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IAChD,oEAAoE;IACpE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;IACjB,+BAA+B;IAC/B,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,MAAM,MAAM,UAAU,GAClB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACjD;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AA2HpE,8FAA8F;AAC9F,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,YAAY,GAAG,iBAAiB,CAkBhG;AA80BD,wBAAsB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAEpF"}
@@ -469,6 +469,11 @@ class Maker {
469
469
  ? await (0, style_1.readLocalStyle)(dev.styles, pin, note)
470
470
  : await (0, style_1.fetchStyle)({ ref: handed.style_package, projectId: this.videoId, dir: this.layout.style, download: (u, m) => deps.line.download(u, m, this.stop.signal), note });
471
471
  await this.loadParts(!!dev.parts);
472
+ // The card's rows show from here, all still to do, while the plan's files come down.
473
+ const planned = (id) => ({ id, row: (0, progress_1.rowOf)(this.parts.get(id).manifest), typical_s: this.parts.get(id).manifest.timing.typical_s });
474
+ this.book.plan([...this.style.style.timeline.map((s) => planned(s.id)), ...this.layersOn().map((slot) => planned(`layer-${slot}`))]);
475
+ this.book.note = 'Getting your files ready';
476
+ void this.reporter.send(true);
472
477
  // The plan's files, checked against the hashes frozen at the yes.
473
478
  this.at = 'plan-files';
474
479
  const planFiles = {
@@ -485,10 +490,6 @@ class Maker {
485
490
  this.planScope = await (0, files_1.materialize)(plan.body, planFiles);
486
491
  this.brand = brandKit(await (0, files_1.materialize)(plan.brand, planFiles));
487
492
  this.book.note = 'Making your video';
488
- this.book.plan([
489
- ...this.style.style.timeline.map((s) => ({ id: s.id, kind: this.parts.get(s.id).manifest.kind, typical_s: this.parts.get(s.id).manifest.timing.typical_s })),
490
- ...this.layersOn().map((slot) => ({ id: `layer-${slot}`, kind: SLOT_KIND[slot], typical_s: this.parts.get(`layer-${slot}`).manifest.timing.typical_s })),
491
- ]);
492
493
  void this.reporter.send(true);
493
494
  // The fixes already in force (after a restart) apply from the start.
494
495
  let result = await this.pipeline();
@@ -1023,6 +1024,8 @@ class Maker {
1023
1024
  this.book.note = 'Checking your video';
1024
1025
  this.run.status = 'checking';
1025
1026
  await this.saveRun();
1027
+ // The note goes out before the pause, so the card says the check has started.
1028
+ void this.reporter.send(true);
1026
1029
  await this.reporter.flush();
1027
1030
  this.reporter.pause();
1028
1031
  const check = await line.finishUpload(this.videoId, stage.upload_id, this.stop.signal);
@@ -1 +1 @@
1
- {"version":3,"file":"run.js","sourceRoot":"","sources":["../../../src/kit/core/run.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqNA,sCAkBC;AA00BD,8BAEC;AAnjCD,wEAAwE;AACxE,qEAAqE;AACrE,2DAA2D;AAC3D,+DAA+D;AAC/D,0EAA0E;AAC1E,+CAA+C;AAC/C,+DAA+D;AAC/D,gFAAgF;AAChF,0CAA0C;AAC1C,0EAA0E;AAC1E,2EAA2E;AAC3E,EAAE;AACF,8EAA8E;AAC9E,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AE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;QACtI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACpC,MAAM,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACjD,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;QACpB,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QACpC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAEO,KAAK,CAAC,QAAQ;QACpB,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE;YAAE,MAAM,IAAA,aAAE,EAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;IAC5J,CAAC;CACF;AAEM,KAAK,UAAU,SAAS,CAAC,OAAe,EAAE,IAAc;IAC7D,OAAO,IAAI,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;AACzC,CAAC"}
@@ -45,7 +45,7 @@ exports.DOMAIN_ROUTES = [
45
45
  {
46
46
  skill: 'goose-video',
47
47
  when: 'Any **video**: a video ad from a style, an original video from a brief or a reference video, or a video already started',
48
- how: 'Use goose-video: ask which product first, read the brand, then video_formats; follow the next_step in every answer.',
48
+ how: 'Use goose-video: explicit custom skips the picker; otherwise watch the reference, read the brand and compare style constraints.',
49
49
  delivery: 'entry',
50
50
  },
51
51
  {
@@ -66,7 +66,7 @@ exports.DOMAIN_ROUTES = [
66
66
  * by name, so the CLI keeps installing them.
67
67
  */
68
68
  exports.UNROUTED_ENTRY_SKILLS = {
69
- 'make-custom-video': 'Starts like goose-video; the server tells an original video from a styled one.',
69
+ 'make-custom-video': 'Keeps an explicit custom choice without a picker, studies its reference and checks custom support; fetching this entry alone does not enable production.',
70
70
  'goose-video-local': 'One line: run the kit when a next_step says so.',
71
71
  };
72
72
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../../src/skills/routes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAkGH,kDAKC;AAGD,4DAIC;AAGD,4CAeC;AAGD,wDAIC;AAGD,wDAIC;AApHD;;;GAGG;AACU,QAAA,aAAa,GAAkB;IAC1C;QACE,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,sJAAsJ;QAC5J,GAAG,EAAE,mGAAmG;QACxG,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,8FAA8F;QACpG,GAAG,EAAE,kFAAkF;QACvF,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,yHAAyH;QAC/H,GAAG,EAAE,qHAAqH;QAC1H,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,+EAA+E;QACrF,GAAG,EAAE,8GAA8G;QACnH,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,gDAAgD;QACtD,GAAG,EAAE,iFAAiF;QACtF,QAAQ,EAAE,OAAO;KAClB;CACF,CAAC;AAEF;;;GAGG;AACU,QAAA,qBAAqB,GAAqC;IACrE,mBAAmB,EAAE,gFAAgF;IACrG,mBAAmB,EAAE,iDAAiD;CACvE,CAAC;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AAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CACtE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC"}
@@ -1,14 +1,14 @@
1
1
  /** The rulebook version this text was built from. */
2
- export declare const SERVER_RULEBOOK_VERSION = "1.0.2";
2
+ export declare const SERVER_RULEBOOK_VERSION = "1.3.0";
3
3
  export declare const SERVER_VIDEO_ENTRY_SKILLS: {
4
- readonly 'goose-video': "---\nname: goose-video\ndescription: \"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.\"\nversion: 4.1.0\n---\n\n# GooseWorks video\n\nUse 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.\n\nFor a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.\n\n1. The request. If they haven't said what the video is about, ask in one short question.\n2. The brand. Ask which brand only when brand_read lists several; with one, use it.\n3. 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.\n4. 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.\n5. 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.\n6. 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.\n\n## Rules\n\n- Talk to marketers: what they get and what they decide, never how it is made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number, exactly as an answer gives it: never dollars, never your own math.\n- Follow the next_step in every answer; it says what to do now.\n- With a card on screen (display_hint \"widget\"), add at most one short line; never re-list it or its links.\n- 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.\n- 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.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.\n";
5
- readonly 'make-custom-video': "---\nname: make-custom-video\ndescription: \"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.\"\nversion: 3.1.0\n---\n\n# GooseWorks video\n\nUse 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.\n\nFor a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.\n\n1. The request. If they haven't said what the video is about, ask in one short question.\n2. The brand. Ask which brand only when brand_read lists several; with one, use it.\n3. 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.\n4. 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.\n5. 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.\n6. 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.\n\n## Rules\n\n- Talk to marketers: what they get and what they decide, never how it is made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number, exactly as an answer gives it: never dollars, never your own math.\n- Follow the next_step in every answer; it says what to do now.\n- With a card on screen (display_hint \"widget\"), add at most one short line; never re-list it or its links.\n- 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.\n- 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.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.\n";
4
+ readonly 'goose-video': "---\nname: goose-video\ndescription: \"Make a video ad in this chat. Study a supplied video reference before comparing styles; follow the next_step in every answer.\"\nversion: 4.4.2\n---\n\n# GooseWorks video\n\nFrom 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.\n\nFor a video already started, call video_read and follow its next_step.\n\nExplicit 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.\n\nFor 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.\n\n1. The request. If they haven't said what the video is about, ask in one short question.\n2. The brand. Ask which brand only when brand_read lists several; with one, use it.\n3. 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.\n4. 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.\n5. 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.\n6. The plan. Call video_create with the picked style and the products; its next_step says what follows.\n\n## A supplied video reference comes first\n\nWatch 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.\nWhen 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.\nIf no available style fits, or they explicitly want custom, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this skill alone proves no execution capability.\n\n## Rules\n\n- Talk to marketers: what they get and decide, never how it's made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number exactly as an answer gives it: never dollars or your own math.\n- Follow the next_step in every answer.\n- 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.\n- 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.\n- 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.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.\n";
5
+ readonly 'make-custom-video': "---\nname: make-custom-video\ndescription: \"Keep an explicit custom choice. Study its reference and check custom-video support on this connection before planning.\"\nversion: 3.4.2\n---\n\n# GooseWorks video\n\nFrom 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.\n\nFor a video already started, call video_read and follow its next_step.\n\nExplicit 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.\n\nFor 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.\n\n1. The request. If they haven't said what the video is about, ask in one short question.\n2. The brand. Ask which brand only when brand_read lists several; with one, use it.\n3. 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.\n4. 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.\n5. 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.\n6. The plan. Call video_create with the picked style and the products; its next_step says what follows.\n\n## A supplied video reference comes first\n\nWatch 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.\nWhen 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.\nIf no available style fits, or they explicitly want custom, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this skill alone proves no execution capability.\n\n## Rules\n\n- Talk to marketers: what they get and decide, never how it's made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number exactly as an answer gives it: never dollars or your own math.\n- Follow the next_step in every answer.\n- 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.\n- 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.\n- 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.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.\n";
6
6
  };
7
7
  export type ServerVideoEntrySlug = keyof typeof SERVER_VIDEO_ENTRY_SKILLS;
8
8
  /** renderEntrySkillRules(product) for the products the CLI's own entry skills cover. */
9
9
  export declare const SERVER_ENTRY_SKILL_RULES: {
10
- readonly all: "- Talk to marketers: what they get and what they decide, never how it is made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number, exactly as an answer gives it: never dollars, never your own math.\n- Follow the next_step in every answer; it says what to do now.\n- With a card on screen (display_hint \"widget\"), add at most one short line; never re-list it or its links.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.";
11
- readonly ads: "- Talk to marketers: what they get and what they decide, never how it is made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number, exactly as an answer gives it: never dollars, never your own math.\n- Follow the next_step in every answer; it says what to do now.\n- With a card on screen (display_hint \"widget\"), add at most one short line; never re-list it or its links.\n- 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.\n- Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.\n- Never invent an offer, a claim or proof.\n- 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.";
12
- readonly photos: "- Talk to marketers: what they get and what they decide, never how it is made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number, exactly as an answer gives it: never dollars, never your own math.\n- Follow the next_step in every answer; it says what to do now.\n- With a card on screen (display_hint \"widget\"), add at most one short line; never re-list it or its links.\n- 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.\n- Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.\n- Never invent an offer, a claim or proof.\n- 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.";
10
+ readonly all: "- Talk to marketers: what they get and decide, never how it's made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number exactly as an answer gives it: never dollars or your own math.\n- Follow the next_step in every answer.\n- 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.\n- 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.\n- Never invent an offer, a claim or proof.\n- 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.";
11
+ readonly ads: "- Talk to marketers: what they get and decide, never how it's made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number exactly as an answer gives it: never dollars or your own math.\n- Follow the next_step in every answer.\n- 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.\n- 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.\n- Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.\n- Never invent an offer, a claim or proof.\n- 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.";
12
+ readonly photos: "- Talk to marketers: what they get and decide, never how it's made.\n- Never mention tools, ids, JSON, commands, software, vendors, models, timings, retries or your checks.\n- 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.\n- Money is a credit number exactly as an answer gives it: never dollars or your own math.\n- Follow the next_step in every answer.\n- 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.\n- 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.\n- Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.\n- Never invent an offer, a claim or proof.\n- 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.";
13
13
  };
14
14
  //# sourceMappingURL=server-entry-skills.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-entry-skills.d.ts","sourceRoot":"","sources":["../../src/skills/server-entry-skills.ts"],"names":[],"mappings":"AAcA,qDAAqD;AACrD,eAAO,MAAM,uBAAuB,UAAU,CAAC;AAE/C,eAAO,MAAM,yBAAyB;;;CAmE5B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAE1E,wFAAwF;AACxF,eAAO,MAAM,wBAAwB;;;;CA8B3B,CAAC"}
1
+ {"version":3,"file":"server-entry-skills.d.ts","sourceRoot":"","sources":["../../src/skills/server-entry-skills.ts"],"names":[],"mappings":"AAcA,qDAAqD;AACrD,eAAO,MAAM,uBAAuB,UAAU,CAAC;AAE/C,eAAO,MAAM,yBAAyB;;;CAuF5B,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAE1E,wFAAwF;AACxF,eAAO,MAAM,wBAAwB;;;;CA8B3B,CAAC"}
@@ -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 codex/reference-first-video @ 9372e1ee477b11828806030ac3550dfee1ba676f
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.0';
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.2
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, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this 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,31 +62,41 @@ 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: "Keep an explicit custom choice. Study its reference and check custom-video support on this connection before planning."
66
+ version: 3.4.2
57
67
  ---
58
68
 
59
69
  # GooseWorks video
60
70
 
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.
71
+ 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.
62
72
 
63
- For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
73
+ For a video already started, call video_read and follow its next_step.
74
+
75
+ 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.
76
+
77
+ 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.
64
78
 
65
79
  1. The request. If they haven't said what the video is about, ask in one short question.
66
80
  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.
81
+ 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.
82
+ 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.
83
+ 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.
84
+ 6. The plan. Call video_create with the picked style and the products; its next_step says what follows.
85
+
86
+ ## A supplied video reference comes first
87
+
88
+ 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.
89
+ 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.
90
+ If no available style fits, or they explicitly want custom, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this skill alone proves no execution capability.
71
91
 
72
92
  ## Rules
73
93
 
74
- - 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.
75
95
  - 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.
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.
80
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.
81
101
  - 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
102
  - 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.
@@ -86,33 +106,33 @@ For a new video, in this order. Suggest nothing before step 5 and write no plan
86
106
  };
87
107
  /** renderEntrySkillRules(product) for the products the CLI's own entry skills cover. */
88
108
  exports.SERVER_ENTRY_SKILL_RULES = {
89
- all: `- Talk to marketers: what they get and what they decide, never how it is made.
109
+ all: `- Talk to marketers: what they get and decide, never how it's made.
90
110
  - 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.
111
+ - 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.
112
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
113
+ - Follow the next_step in every answer.
114
+ - 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
115
  - 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
116
  - Never invent an offer, a claim or proof.
97
117
  - 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.
118
+ ads: `- Talk to marketers: what they get and decide, never how it's made.
99
119
  - 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.
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.
104
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.
105
- - Before choosing an angle, claim, product or source, or asking a brand fact: brand_read, then knowledge_search for the task.
125
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
106
126
  - Never invent an offer, a claim or proof.
107
127
  - 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.
128
+ photos: `- Talk to marketers: what they get and decide, never how it's made.
109
129
  - 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.
130
+ - 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.
131
+ - Money is a credit number exactly as an answer gives it: never dollars or your own math.
132
+ - Follow the next_step in every answer.
133
+ - 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
134
  - 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.
135
+ - Before choosing an angle, claim, product or source, or asking a brand fact, brand_read then knowledge_search for the task.
116
136
  - Never invent an offer, a claim or proof.
117
137
  - 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
138
  };
@@ -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,gGAAgG;AAChG,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB;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-dev.46.ade46de2",
3
+ "version": "0.5.7-dev.50.cbe6a0c1",
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": "ade46de23e7191424a021470e98fd2b7730cfad0",
64
+ "commit": "cbe6a0c1de3ad3474c0749645143a2bcbf009ab7",
65
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.2
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, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this 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.
@@ -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,30 +1,40 @@
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: "Keep an explicit custom choice. Study its reference and check custom-video support on this connection before planning."
4
+ version: 3.4.2
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, check the selected connection's current custom workflow before a project write. This server's video_create currently starts listed styles only: custom generation is unavailable through these actions. Say that plainly and keep the brief; do not substitute a template, import the reference as a finished video, use retired actions or switch environments. On a connection with a supported custom workflow, follow its separate authenticated script and ingredient approvals and quoted budgets; fetching this 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,12 +1,12 @@
1
1
  {
2
2
  "package": "gooseworks",
3
- "version": "0.5.7-dev.46.ade46de2",
3
+ "version": "0.5.7-dev.50.cbe6a0c1",
4
4
  "entries": {
5
- "gooseworks": "6a54a8962a390d34639d56226d9078b63a9005b0a8f5c65d7811f2ef5808cec4",
6
- "goose-ads": "de1b0342fcc82942e1f9c6a3aa01818973c968cbdb65f7109d73761536d029f8",
7
- "goose-video": "9226f2a3373ac4c8f94fdaaede34a30cac7951a160996d56971617097b2b2029",
5
+ "gooseworks": "b648ab0e21d94405f2161db5d142770115a6b4551fef778a6aa51e2d30c005bb",
6
+ "goose-ads": "0fd22d77148ce37500f9dfc3977abc1204baabe5faf8cf30d46c32bf60a410fa",
7
+ "goose-video": "22b9df57ee70773af27871ebcb0ac80cdf70cab957cf5743cf9ae6435b00dd02",
8
8
  "goose-video-local": "189cd2c24bbbb152d700847832b67ce651962959fd2381e878ed7ace6bc96a54",
9
- "make-custom-video": "08f8fd3ef2713064a7f41d5b18ef0407f746a095bcea4334754013c391a030db",
10
- "goose-product-photos": "b72df2f34b846f7d559067eec872d6aa6a350166ec61cf919c2278f7556c1832"
9
+ "make-custom-video": "912da13ee2ec0c48f98eef5355c572b2ce6eea8679af360ae772a46cb76602cc",
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
  {