gooseworks 0.5.0-dev.9.d3e7757f → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.md +17 -26
  2. package/dist/auth/device-flow.d.ts +10 -0
  3. package/dist/auth/device-flow.d.ts.map +1 -1
  4. package/dist/auth/device-flow.js +39 -1
  5. package/dist/auth/device-flow.js.map +1 -1
  6. package/dist/commands/doctor.d.ts.map +1 -1
  7. package/dist/commands/doctor.js +3 -1
  8. package/dist/commands/doctor.js.map +1 -1
  9. package/dist/commands/video.d.ts +5 -0
  10. package/dist/commands/video.d.ts.map +1 -0
  11. package/dist/commands/video.js +117 -0
  12. package/dist/commands/video.js.map +1 -0
  13. package/dist/config.d.ts.map +1 -1
  14. package/dist/config.js +5 -2
  15. package/dist/config.js.map +1 -1
  16. package/dist/environment.d.ts.map +1 -1
  17. package/dist/environment.js +4 -2
  18. package/dist/environment.js.map +1 -1
  19. package/dist/kit/core/bind.d.ts +12 -0
  20. package/dist/kit/core/bind.d.ts.map +1 -0
  21. package/dist/kit/core/bind.js +77 -0
  22. package/dist/kit/core/bind.js.map +1 -0
  23. package/dist/kit/core/canonical.d.ts +30 -0
  24. package/dist/kit/core/canonical.d.ts.map +1 -0
  25. package/dist/kit/core/canonical.js +67 -0
  26. package/dist/kit/core/canonical.js.map +1 -0
  27. package/dist/kit/core/check.d.ts +22 -0
  28. package/dist/kit/core/check.d.ts.map +1 -0
  29. package/dist/kit/core/check.js +53 -0
  30. package/dist/kit/core/check.js.map +1 -0
  31. package/dist/kit/core/device.d.ts +17 -0
  32. package/dist/kit/core/device.d.ts.map +1 -0
  33. package/dist/kit/core/device.js +153 -0
  34. package/dist/kit/core/device.js.map +1 -0
  35. package/dist/kit/core/errors.d.ts +22 -0
  36. package/dist/kit/core/errors.d.ts.map +1 -0
  37. package/dist/kit/core/errors.js +49 -0
  38. package/dist/kit/core/errors.js.map +1 -0
  39. package/dist/kit/core/files.d.ts +49 -0
  40. package/dist/kit/core/files.d.ts.map +1 -0
  41. package/dist/kit/core/files.js +213 -0
  42. package/dist/kit/core/files.js.map +1 -0
  43. package/dist/kit/core/host.d.ts +26 -0
  44. package/dist/kit/core/host.d.ts.map +1 -0
  45. package/dist/kit/core/host.js +10 -0
  46. package/dist/kit/core/host.js.map +1 -0
  47. package/dist/kit/core/log.d.ts +17 -0
  48. package/dist/kit/core/log.d.ts.map +1 -0
  49. package/dist/kit/core/log.js +82 -0
  50. package/dist/kit/core/log.js.map +1 -0
  51. package/dist/kit/core/paths.d.ts +27 -0
  52. package/dist/kit/core/paths.d.ts.map +1 -0
  53. package/dist/kit/core/paths.js +103 -0
  54. package/dist/kit/core/paths.js.map +1 -0
  55. package/dist/kit/core/pieces.d.ts +84 -0
  56. package/dist/kit/core/pieces.d.ts.map +1 -0
  57. package/dist/kit/core/pieces.js +374 -0
  58. package/dist/kit/core/pieces.js.map +1 -0
  59. package/dist/kit/core/progress-reporter.d.ts +30 -0
  60. package/dist/kit/core/progress-reporter.d.ts.map +1 -0
  61. package/dist/kit/core/progress-reporter.js +106 -0
  62. package/dist/kit/core/progress-reporter.js.map +1 -0
  63. package/dist/kit/core/progress.d.ts +22 -0
  64. package/dist/kit/core/progress.d.ts.map +1 -0
  65. package/dist/kit/core/progress.js +90 -0
  66. package/dist/kit/core/progress.js.map +1 -0
  67. package/dist/kit/core/run.d.ts +35 -0
  68. package/dist/kit/core/run.d.ts.map +1 -0
  69. package/dist/kit/core/run.js +850 -0
  70. package/dist/kit/core/run.js.map +1 -0
  71. package/dist/kit/core/save.d.ts +43 -0
  72. package/dist/kit/core/save.d.ts.map +1 -0
  73. package/dist/kit/core/save.js +265 -0
  74. package/dist/kit/core/save.js.map +1 -0
  75. package/dist/kit/core/schema.d.ts +5 -0
  76. package/dist/kit/core/schema.d.ts.map +1 -0
  77. package/dist/kit/core/schema.js +183 -0
  78. package/dist/kit/core/schema.js.map +1 -0
  79. package/dist/kit/core/secrets.d.ts +9 -0
  80. package/dist/kit/core/secrets.d.ts.map +1 -0
  81. package/dist/kit/core/secrets.js +60 -0
  82. package/dist/kit/core/secrets.js.map +1 -0
  83. package/dist/kit/core/style.d.ts +59 -0
  84. package/dist/kit/core/style.d.ts.map +1 -0
  85. package/dist/kit/core/style.js +179 -0
  86. package/dist/kit/core/style.js.map +1 -0
  87. package/dist/kit/core/toolchain.d.ts +52 -0
  88. package/dist/kit/core/toolchain.d.ts.map +1 -0
  89. package/dist/kit/core/toolchain.js +321 -0
  90. package/dist/kit/core/toolchain.js.map +1 -0
  91. package/dist/kit/core/version.d.ts +18 -0
  92. package/dist/kit/core/version.d.ts.map +1 -0
  93. package/dist/kit/core/version.js +33 -0
  94. package/dist/kit/core/version.js.map +1 -0
  95. package/dist/kit/env.d.ts +42 -0
  96. package/dist/kit/env.d.ts.map +1 -0
  97. package/dist/kit/env.js +76 -0
  98. package/dist/kit/env.js.map +1 -0
  99. package/dist/kit/line/client.d.ts +82 -0
  100. package/dist/kit/line/client.d.ts.map +1 -0
  101. package/dist/kit/line/client.js +325 -0
  102. package/dist/kit/line/client.js.map +1 -0
  103. package/dist/kit/line/types.d.ts +178 -0
  104. package/dist/kit/line/types.d.ts.map +1 -0
  105. package/dist/kit/line/types.js +18 -0
  106. package/dist/kit/line/types.js.map +1 -0
  107. package/dist/kit/maker/browser.d.ts +114 -0
  108. package/dist/kit/maker/browser.d.ts.map +1 -0
  109. package/dist/kit/maker/browser.js +547 -0
  110. package/dist/kit/maker/browser.js.map +1 -0
  111. package/dist/kit/maker/encode.d.ts +27 -0
  112. package/dist/kit/maker/encode.d.ts.map +1 -0
  113. package/dist/kit/maker/encode.js +58 -0
  114. package/dist/kit/maker/encode.js.map +1 -0
  115. package/dist/kit/maker/images.d.ts +14 -0
  116. package/dist/kit/maker/images.d.ts.map +1 -0
  117. package/dist/kit/maker/images.js +174 -0
  118. package/dist/kit/maker/images.js.map +1 -0
  119. package/dist/kit/maker/inputs.d.ts +81 -0
  120. package/dist/kit/maker/inputs.d.ts.map +1 -0
  121. package/dist/kit/maker/inputs.js +235 -0
  122. package/dist/kit/maker/inputs.js.map +1 -0
  123. package/dist/kit/maker/make.d.ts +19 -0
  124. package/dist/kit/maker/make.d.ts.map +1 -0
  125. package/dist/kit/maker/make.js +272 -0
  126. package/dist/kit/maker/make.js.map +1 -0
  127. package/dist/kit/maker/page.d.ts +19 -0
  128. package/dist/kit/maker/page.d.ts.map +1 -0
  129. package/dist/kit/maker/page.js +276 -0
  130. package/dist/kit/maker/page.js.map +1 -0
  131. package/dist/kit/maker/parts/html-frames/1.0.0/part.json +183 -0
  132. package/dist/kit/maker/parts/html-frames/src/part.d.ts +3 -0
  133. package/dist/kit/maker/parts/html-frames/src/part.d.ts.map +1 -0
  134. package/dist/kit/maker/parts/html-frames/src/part.js +10 -0
  135. package/dist/kit/maker/parts/html-frames/src/part.js.map +1 -0
  136. package/dist/kit/maker/runtime.d.ts +7 -0
  137. package/dist/kit/maker/runtime.d.ts.map +1 -0
  138. package/dist/kit/maker/runtime.js +571 -0
  139. package/dist/kit/maker/runtime.js.map +1 -0
  140. package/dist/kit/maker/unzip.d.ts +3 -0
  141. package/dist/kit/maker/unzip.d.ts.map +1 -0
  142. package/dist/kit/maker/unzip.js +133 -0
  143. package/dist/kit/maker/unzip.js.map +1 -0
  144. package/dist/kit/parts/catalog.d.ts +47 -0
  145. package/dist/kit/parts/catalog.d.ts.map +1 -0
  146. package/dist/kit/parts/catalog.js +198 -0
  147. package/dist/kit/parts/catalog.js.map +1 -0
  148. package/dist/kit/parts/fs-safe.d.ts +32 -0
  149. package/dist/kit/parts/fs-safe.d.ts.map +1 -0
  150. package/dist/kit/parts/fs-safe.js +185 -0
  151. package/dist/kit/parts/fs-safe.js.map +1 -0
  152. package/dist/kit/parts/loader.d.ts +50 -0
  153. package/dist/kit/parts/loader.d.ts.map +1 -0
  154. package/dist/kit/parts/loader.js +395 -0
  155. package/dist/kit/parts/loader.js.map +1 -0
  156. package/dist/kit/parts/semver.d.ts +6 -0
  157. package/dist/kit/parts/semver.d.ts.map +1 -0
  158. package/dist/kit/parts/semver.js +44 -0
  159. package/dist/kit/parts/semver.js.map +1 -0
  160. package/dist/program.d.ts.map +1 -1
  161. package/dist/program.js +6 -6
  162. package/dist/program.js.map +1 -1
  163. package/dist/skills/installer.d.ts +22 -0
  164. package/dist/skills/installer.d.ts.map +1 -1
  165. package/dist/skills/installer.js +56 -8
  166. package/dist/skills/installer.js.map +1 -1
  167. package/dist/skills/master-skill.d.ts +11 -70
  168. package/dist/skills/master-skill.d.ts.map +1 -1
  169. package/dist/skills/master-skill.js +120 -2900
  170. package/dist/skills/master-skill.js.map +1 -1
  171. package/dist/skills/package-freshness.d.ts +19 -0
  172. package/dist/skills/package-freshness.d.ts.map +1 -1
  173. package/dist/skills/package-freshness.js +37 -2
  174. package/dist/skills/package-freshness.js.map +1 -1
  175. package/dist/skills/routes.d.ts +7 -2
  176. package/dist/skills/routes.d.ts.map +1 -1
  177. package/dist/skills/routes.js +21 -25
  178. package/dist/skills/routes.js.map +1 -1
  179. package/dist/skills/server-entry-skills.d.ts +14 -0
  180. package/dist/skills/server-entry-skills.d.ts.map +1 -0
  181. package/dist/skills/server-entry-skills.js +119 -0
  182. package/dist/skills/server-entry-skills.js.map +1 -0
  183. package/dist/skills/staging-content.js +1 -1
  184. package/package.json +10 -6
  185. package/skills/goose-ads/SKILL.md +27 -605
  186. package/skills/goose-product-photos/SKILL.md +24 -217
  187. package/skills/goose-video/SKILL.md +23 -610
  188. package/skills/goose-video-local/SKILL.md +3 -1609
  189. package/skills/gooseworks/SKILL.md +58 -529
  190. package/skills/make-custom-video/SKILL.md +23 -725
  191. package/skills/manifest.json +7 -7
  192. package/skills/routes.json +10 -24
  193. package/dist/commands/video-local.d.ts +0 -9
  194. package/dist/commands/video-local.d.ts.map +0 -1
  195. package/dist/commands/video-local.js +0 -83
  196. package/dist/commands/video-local.js.map +0 -1
  197. package/dist/commands/video-save.d.ts +0 -3
  198. package/dist/commands/video-save.d.ts.map +0 -1
  199. package/dist/commands/video-save.js +0 -83
  200. package/dist/commands/video-save.js.map +0 -1
  201. package/dist/lib/video-local-captions.d.ts +0 -83
  202. package/dist/lib/video-local-captions.d.ts.map +0 -1
  203. package/dist/lib/video-local-captions.js +0 -261
  204. package/dist/lib/video-local-captions.js.map +0 -1
  205. package/dist/lib/video-local-runtime.d.ts +0 -8
  206. package/dist/lib/video-local-runtime.d.ts.map +0 -1
  207. package/dist/lib/video-local-runtime.js +0 -201
  208. package/dist/lib/video-local-runtime.js.map +0 -1
  209. package/dist/lib/video-save-mcp.d.ts +0 -9
  210. package/dist/lib/video-save-mcp.d.ts.map +0 -1
  211. package/dist/lib/video-save-mcp.js +0 -162
  212. package/dist/lib/video-save-mcp.js.map +0 -1
  213. package/dist/lib/video-save.d.ts +0 -77
  214. package/dist/lib/video-save.d.ts.map +0 -1
  215. package/dist/lib/video-save.js +0 -440
  216. package/dist/lib/video-save.js.map +0 -1
  217. package/dist/skills/custom-video-skill.d.ts +0 -3
  218. package/dist/skills/custom-video-skill.d.ts.map +0 -1
  219. package/dist/skills/custom-video-skill.js +0 -6
  220. package/dist/skills/custom-video-skill.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;;AAwaA,wCASC;AAGD,gDAEC;AAWD,sDAgVC;AAwCD,0DAkbC;AAGD,8DA2RC;AA2BD,wEA6vCC;AAiBD,8EAmJC;AAGD,wEAEC;AA18FD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qCAA0E;AAC1E,6DAAoE;AACpE,MAAM,uBAAuB,GAAG,4rDAA4rD,CAAC;AAQ7tD;;;;;;GAMG;AACH,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;sEAoB8C,CAAC;AAEvE,MAAM,yBAAyB,GAAG;;;;;;;;;;;qDAWmB,CAAC;AAEtD;;;;;GAKG;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;;;;;;;;;;;;;;;;;;;;;EAkCxB,8CAAwB,CAAC,GAAG;CAC7B,CAAC;AACF,CAAC;AAED,4CAA4C;AAC5C,SAAgB,uBAAuB;IACrC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BP,8CAAwB,CAAC,GAAG;CAC7B,CAAC;AACF,CAAC;AAED,6DAA6D;AAC7D,SAAgB,iCAAiC;IAC/C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BP,8CAAwB,CAAC,MAAM;CAChC,CAAC;AACF,CAAC;AAED,sDAAsD;AACtD,SAAgB,yBAAyB;IACvC,OAAO,+CAAyB,CAAC,aAAa,CAAC,CAAC;AAClD,CAAC;AAED,4DAA4D;AAC5D,SAAgB,8BAA8B;IAC5C,OAAO,+CAAyB,CAAC,mBAAmB,CAAC,CAAC;AACxD,CAAC;AAED,iEAAiE;AACjE,SAAgB,8BAA8B;IAC5C,OAAO;;;;;;QAMD,wBAAgB;CACvB,CAAC;AACF,CAAC"}
@@ -1,16 +1,35 @@
1
1
  export interface SkillPackageIdentity {
2
2
  slug: string;
3
3
  contentHash?: string | null;
4
+ metadata?: Record<string, unknown> | null;
4
5
  requiresSkills?: string[];
5
6
  dependencySkills?: Array<{
6
7
  slug: string;
7
8
  contentHash?: string | null;
9
+ version?: string | null;
8
10
  }>;
9
11
  }
12
+ export interface PinCheck {
13
+ /** none: the package pins nothing; ok: every pinned dependency is served at its pin. */
14
+ status: 'none' | 'ok' | 'mismatch';
15
+ mismatches: Array<{
16
+ slug: string;
17
+ pinned: string;
18
+ served: string | null;
19
+ }>;
20
+ }
21
+ /**
22
+ * The versions a package pins its shared atoms to (`metadata.atom_versions`,
23
+ * slug → exact version; GV-70). Style files pin their parts the same way.
24
+ */
25
+ export declare function atomPins(pkg: SkillPackageIdentity): Record<string, string>;
26
+ /** Every pinned atom must be served at exactly its pinned version. */
27
+ export declare function checkPins(pkg: SkillPackageIdentity): PinCheck;
10
28
  /** Compares client-reported package identities, not arbitrary local file bytes. */
11
29
  export declare function compareSavedPackage(current: SkillPackageIdentity, saved?: SkillPackageIdentity): {
12
30
  status: string;
13
31
  basis: string;
14
32
  changes: string[];
33
+ pins: PinCheck;
15
34
  };
16
35
  //# sourceMappingURL=package-freshness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"package-freshness.d.ts","sourceRoot":"","sources":["../../src/skills/package-freshness.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CACzE;AAED,mFAAmF;AACnF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,oBAAoB;;;aACH,MAAM,EAAE;EAoBnG"}
1
+ {"version":3,"file":"package-freshness.d.ts","sourceRoot":"","sources":["../../src/skills/package-freshness.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CAClG;AAID,MAAM,WAAW,QAAQ;IACvB,wFAAwF;IACxF,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,UAAU,CAAC;IACnC,UAAU,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CAC5E;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAI1E;AAED,sEAAsE;AACtE,wBAAgB,SAAS,CAAC,GAAG,EAAE,oBAAoB,GAAG,QAAQ,CAS7D;AAED,mFAAmF;AACnF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,EAAE,KAAK,CAAC,EAAE,oBAAoB;;;aAG2C,MAAM,EAAE;;EA2BjJ"}
@@ -1,10 +1,37 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.atomPins = atomPins;
4
+ exports.checkPins = checkPins;
3
5
  exports.compareSavedPackage = compareSavedPackage;
6
+ const EXACT_VERSION = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/;
7
+ /**
8
+ * The versions a package pins its shared atoms to (`metadata.atom_versions`,
9
+ * slug → exact version; GV-70). Style files pin their parts the same way.
10
+ */
11
+ function atomPins(pkg) {
12
+ const raw = pkg.metadata?.atom_versions;
13
+ if (!raw || typeof raw !== 'object' || Array.isArray(raw))
14
+ return {};
15
+ return Object.fromEntries(Object.entries(raw).map(([slug, version]) => [slug, typeof version === 'string' ? version : '']));
16
+ }
17
+ /** Every pinned atom must be served at exactly its pinned version. */
18
+ function checkPins(pkg) {
19
+ const pins = atomPins(pkg);
20
+ const slugs = Object.keys(pins);
21
+ if (slugs.length === 0)
22
+ return { status: 'none', mismatches: [] };
23
+ const served = new Map((pkg.dependencySkills || []).map((dep) => [dep.slug, dep.version ?? null]));
24
+ const mismatches = slugs
25
+ .filter((slug) => !EXACT_VERSION.test(pins[slug]) || served.get(slug) !== pins[slug])
26
+ .map((slug) => ({ slug, pinned: pins[slug], served: served.get(slug) ?? null }));
27
+ return { status: mismatches.length ? 'mismatch' : 'ok', mismatches };
28
+ }
4
29
  /** Compares client-reported package identities, not arbitrary local file bytes. */
5
30
  function compareSavedPackage(current, saved) {
31
+ const pins = checkPins(current);
32
+ // A dependency served at a version other than its pin is never current.
6
33
  if (!saved)
7
- return { status: 'not_compared', basis: 'client_saved_hashes', changes: [] };
34
+ return { status: pins.status === 'mismatch' ? 'pin_mismatch' : 'not_compared', basis: 'client_saved_hashes', changes: [], pins };
8
35
  if (saved.slug !== current.slug)
9
36
  throw new Error('Saved package slug does not match the requested skill');
10
37
  const changes = [];
@@ -27,10 +54,18 @@ function compareSavedPackage(current, saved) {
27
54
  changes.push(slug);
28
55
  if ((current.requiresSkills || []).some((slug) => !present.has(slug)))
29
56
  unknown = true;
57
+ // A changed pin is a changed package, even when the hashes look the same.
58
+ const savedPins = atomPins(saved);
59
+ const currentPins = atomPins(current);
60
+ for (const slug of new Set([...Object.keys(savedPins), ...Object.keys(currentPins)])) {
61
+ if (savedPins[slug] !== currentPins[slug])
62
+ changes.push(`atom_versions:${slug}`);
63
+ }
30
64
  return {
31
- status: changes.length ? 'stale' : unknown ? 'unknown' : 'current',
65
+ status: pins.status === 'mismatch' ? 'pin_mismatch' : changes.length ? 'stale' : unknown ? 'unknown' : 'current',
32
66
  basis: 'client_saved_hashes',
33
67
  changes,
68
+ pins,
34
69
  };
35
70
  }
36
71
  //# sourceMappingURL=package-freshness.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"package-freshness.js","sourceRoot":"","sources":["../../src/skills/package-freshness.ts"],"names":[],"mappings":";;AAQA,kDAqBC;AAtBD,mFAAmF;AACnF,SAAgB,mBAAmB,CAAC,OAA6B,EAAE,KAA4B;IAC7F,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,qBAAqB,E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LI's `gooseworks` router SKILL.md (`master-skill.ts`),
6
- * 2. the backend's hosted-connector pointer
7
- * (`gooseworks-app/backend/src/app-mcp-server/lib/ads-skill.ts`),
6
+ * 2. the backend's entry-skill list
7
+ * (`gooseworks-app/apps/api/src/services/entry-skills.ts`),
8
8
  * 3. the public skills repo's `collections/brand-growth`.
9
9
  *
10
10
  * This file is now the SINGLE SOURCE. `master-skill.ts` renders its markdown
@@ -43,6 +43,11 @@ export interface BrandGrowthRoute {
43
43
  * specialist skills the `gooseworks` router hands whole tasks to.
44
44
  */
45
45
  export declare const DOMAIN_ROUTES: DomainRoute[];
46
+ /**
47
+ * Entry skills the router does not route to. An app may still ask for them
48
+ * by name, so the CLI keeps installing them.
49
+ */
50
+ export declare const UNROUTED_ENTRY_SKILLS: Readonly<Record<string, string>>;
46
51
  /**
47
52
  * Brand Growth routes — the outcome skills in the `brand-growth` collection.
48
53
  * Must stay in sync with `goose-skills/collections/brand-growth/routes.json`,
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../src/skills/routes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,4CAA4C;AAC5C,MAAM,MAAM,aAAa;AACvB,+DAA+D;AAC7D,OAAO;AACT,+EAA+E;GAC7E,OAAO,CAAC;AAEZ,MAAM,WAAW,WAAW;IAC1B,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,0BAA0B;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,8CAA8C;IAC9C,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,WAAW,EA2CtC,CAAC;AAEF;;;;GAIG;AACH,eAAO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,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAkBjD,CAAC;AAEF,+DAA+D;AAC/D,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAK9C;AAED,mFAAmF;AACnF,wBAAgB,wBAAwB,IAAI,MAAM,EAAE,CAInD;AAED,wEAAwE;AACxE,wBAAgB,gBAAgB,IAAI;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,mBAAmB,EAAE,gBAAgB,EAAE,CAAC;IACxC,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CASA;AAED,gFAAgF;AAChF,wBAAgB,sBAAsB,IAAI,MAAM,CAI/C;AAED,oDAAoD;AACpD,wBAAgB,sBAAsB,IAAI,MAAM,CAI/C"}
@@ -4,8 +4,8 @@
4
4
  *
5
5
  * Routing used to be written out by hand in THREE places that drifted apart:
6
6
  * 1. this CLI's `gooseworks` router SKILL.md (`master-skill.ts`),
7
- * 2. the backend's hosted-connector pointer
8
- * (`gooseworks-app/backend/src/app-mcp-server/lib/ads-skill.ts`),
7
+ * 2. the backend's entry-skill list
8
+ * (`gooseworks-app/apps/api/src/services/entry-skills.ts`),
9
9
  * 3. the public skills repo's `collections/brand-growth`.
10
10
  *
11
11
  * This file is now the SINGLE SOURCE. `master-skill.ts` renders its markdown
@@ -19,7 +19,7 @@
19
19
  * the drift test fires.
20
20
  */
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.BRAND_GROWTH_ROUTES = exports.DOMAIN_ROUTES = void 0;
22
+ exports.BRAND_GROWTH_ROUTES = exports.UNROUTED_ENTRY_SKILLS = exports.DOMAIN_ROUTES = void 0;
23
23
  exports.getRoutedSkillSlugs = getRoutedSkillSlugs;
24
24
  exports.getBrandGrowthSkillSlugs = getBrandGrowthSkillSlugs;
25
25
  exports.getRouteManifest = getRouteManifest;
@@ -32,47 +32,43 @@ exports.renderBrandGrowthTable = renderBrandGrowthTable;
32
32
  exports.DOMAIN_ROUTES = [
33
33
  {
34
34
  skill: 'goose-ads',
35
- when: 'Remix/make an ad, research a brand for ads, OR analyze ad performance — Meta/Google ad campaigns, creative fatigue, CAC/lead quality, competitor ad intel, ad angles & hooks',
36
- how: 'In a chat app, fetch it with `catalog_fetch { type: "skill", slug: "goose-ads" }`. In a terminal, use the installed entry skill; if it is missing, run `gooseworks install --claude`.',
35
+ when: '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',
36
+ how: 'Use goose-ads: open it with catalog_fetch in a chat app, or use the installed copy in a terminal.',
37
37
  delivery: 'entry',
38
38
  },
39
39
  {
40
40
  skill: 'goose-graphics',
41
- when: 'Charts, infographics, slides, social graphics, branded visual designs from a style/format',
42
- how: 'If installed locally, use it. Otherwise `gooseworks fetch goose-graphics` (or `gooseworks install --claude --with goose-graphics`).',
41
+ when: 'Charts, infographics, slides, social graphics, branded visual designs from a style or format',
42
+ how: 'Fetch it with catalog_fetch, or `gooseworks fetch goose-graphics` in a terminal.',
43
43
  delivery: 'fetch',
44
44
  },
45
45
  {
46
46
  skill: 'goose-video',
47
- when: 'Make a **video** ad from a template or an original brief. Template-free briefs and Instagram/direct video references route to make-custom-video. An agent that can run shell commands on the customer\'s computer makes it there; otherwise the GooseWorks coworker makes it.',
48
- how: 'For new work, fetch the current goose-video entry from the selected connection, then load the full brand before format suggestions. An installed entry is a bootstrap; keep approved project packages on resume.',
49
- delivery: 'entry',
50
- },
51
- {
52
- skill: 'make-custom-video',
53
- when: 'Create an original branded video without a template, adapt an Instagram/direct video reference, or resume a generated custom project; separate script and ingredient approvals are required in the same chat',
54
- how: 'Fetch the current make-custom-video entry and its production harness for new work, then read summary, kit, products and learnings before script writing. Read an existing project first and retain its approved package/context on resume.',
55
- delivery: 'entry',
56
- },
57
- {
58
- skill: 'goose-video-local',
59
- when: 'Render an EXISTING app video project or batch on this machine — the app\'s "copy for Claude" command names it',
60
- how: 'Read the existing project first. Use the current goose-video-local entry as the connection adapter, retain approved recipe packages/context and apply brand preparation before a new plan or script.',
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.',
61
49
  delivery: 'entry',
62
50
  },
63
51
  {
64
52
  skill: 'goose-product-photos',
65
- when: 'Make **product photos** — studio, lifestyle, marketplace, social, or on-model product photography',
66
- how: 'In a chat app, fetch it with `catalog_fetch { type: "skill", slug: "goose-product-photos" }`. In a terminal, use the installed entry skill; if it is missing, run `gooseworks install --claude`.',
53
+ when: 'Make **product photos**: studio, lifestyle, marketplace, social or on a model',
54
+ how: 'Use goose-product-photos: open it with catalog_fetch in a chat app, or use the installed copy in a terminal.',
67
55
  delivery: 'entry',
68
56
  },
69
57
  {
70
58
  skill: 'animate-image',
71
59
  when: 'Animate an approved static ad or product image',
72
- how: 'Fetch it (`catalog_fetch { type: "skill", slug: "animate-image" }` in a chat app, `gooseworks fetch animate-image` in a terminal) and follow its GooseWorks MCP workflow.',
60
+ how: 'Fetch it with catalog_fetch, or `gooseworks fetch animate-image` in a terminal.',
73
61
  delivery: 'fetch',
74
62
  },
75
63
  ];
64
+ /**
65
+ * Entry skills the router does not route to. An app may still ask for them
66
+ * by name, so the CLI keeps installing them.
67
+ */
68
+ exports.UNROUTED_ENTRY_SKILLS = {
69
+ 'make-custom-video': 'Starts like goose-video; the server tells an original video from a styled one.',
70
+ 'goose-video-local': 'One line: run the kit when a next_step says so.',
71
+ };
76
72
  /**
77
73
  * Brand Growth routes — the outcome skills in the `brand-growth` collection.
78
74
  * Must stay in sync with `goose-skills/collections/brand-growth/routes.json`,
@@ -118,7 +114,7 @@ function getBrandGrowthSkillSlugs() {
118
114
  /** The machine-readable route table emitted to `skills/routes.json`. */
119
115
  function getRouteManifest() {
120
116
  return {
121
- $comment: 'Generated by `npm run generate:skills` from gooseworks/src/skills/routes.ts — the single source for GooseWorks skill routing (GOOSE-3190). Do not hand-edit. Consumers: goose-skills/collections/brand-growth/routes.json and gooseworks-app/backend/src/app-mcp-server/lib/ads-skill.ts.',
117
+ $comment: 'Generated by `npm run generate:skills` from gooseworks/src/skills/routes.ts — the single source for GooseWorks skill routing (GOOSE-3190). Do not hand-edit. Consumers: goose-skills/collections/brand-growth/routes.json.',
122
118
  version: 1,
123
119
  domain_routes: exports.DOMAIN_ROUTES,
124
120
  brand_growth_routes: exports.BRAND_GROWTH_ROUTES,
@@ -1 +1 @@
1
- {"version":3,"file":"routes.js","sourceRoot":"","sources":["../../src/skills/routes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AAqGH,kDAKC;AAGD,4DAIC;AAGD,4CAeC;AAGD,wDAIC;AAGD,wDAIC;AAvHD;;;GAGG;AACU,QAAA,aAAa,GAAkB;IAC1C;QACE,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,8KAA8K;QACpL,GAAG,EAAE,uLAAuL;QAC5L,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,2FAA2F;QACjG,GAAG,EAAE,qIAAqI;QAC1I,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,+QAA+Q;QACrR,GAAG,EAAE,kNAAkN;QACvN,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,8MAA8M;QACpN,GAAG,EAAE,4OAA4O;QACjP,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,mBAAmB;QAC1B,IAAI,EAAE,+GAA+G;QACrH,GAAG,EAAE,sMAAsM;QAC3M,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,mGAAmG;QACzG,GAAG,EAAE,kMAAkM;QACvM,QAAQ,EAAE,OAAO;KAClB;IACD;QACE,KAAK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mB,CAAC,GAAG,CAC5B,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,MAAM,CAAC,GAAG,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"}
@@ -0,0 +1,14 @@
1
+ /** The rulebook version this text was built from. */
2
+ export declare const SERVER_RULEBOOK_VERSION = "0.6.0";
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. Search the brand's knowledge for them with knowledge_search. 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, then follow the next_step in every answer: it 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. For video only their click on the plan card counts; you never approve.\n- Only the customer's click on the plan card approves a video; a yes typed in chat is not an approval.\n- Where the app can't show the card, give the customer the plan link; they press the button there.\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. Search the brand's knowledge for them with knowledge_search. 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, then follow the next_step in every answer: it 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. For video only their click on the plan card counts; you never approve.\n- Only the customer's click on the plan card approves a video; a yes typed in chat is not an approval.\n- Where the app can't show the card, give the customer the plan link; they press the button there.\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
+ };
7
+ export type ServerVideoEntrySlug = keyof typeof SERVER_VIDEO_ENTRY_SKILLS;
8
+ /** renderEntrySkillRules(product) for the products the CLI's own entry skills cover. */
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. For video only their click on the plan card counts; 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. For video only their click on the plan card counts; 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. For video only their click on the plan card counts; 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
+ };
14
+ //# sourceMappingURL=server-entry-skills.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ // The entry skill text our server builds, copied here because the CLI
3
+ // cannot import gooseworks-app. Do not edit by hand.
4
+ //
5
+ // Source: gooseworks-app video/b2-product-first @ aab7d9abb
6
+ // apps/api/src/services/playbooks/entry-skill.ts buildVideoEntrySkill(slug)
7
+ // apps/api/src/app-mcp-server/lib/video-policy.ts renderEntrySkillRules(product)
8
+ //
9
+ // The video entry skills are the server's whole SKILL.md. The rules blocks are
10
+ // the rulebook's entry-skill rules for the skills the CLI writes itself
11
+ // (gooseworks, goose-ads, goose-product-photos), so no skill restates a rule
12
+ // by hand. tests/skills/server-entry-skills.test.ts checks this file against
13
+ // tests/fixtures/server-entry-skills.json, and that fixture against a
14
+ // gooseworks-app checkout when GOOSEWORKS_APP_DIR points at one.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SERVER_ENTRY_SKILL_RULES = exports.SERVER_VIDEO_ENTRY_SKILLS = exports.SERVER_RULEBOOK_VERSION = void 0;
17
+ /** The rulebook version this text was built from. */
18
+ exports.SERVER_RULEBOOK_VERSION = '0.6.0';
19
+ exports.SERVER_VIDEO_ENTRY_SKILLS = {
20
+ 'goose-video': `---
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
24
+ ---
25
+
26
+ # GooseWorks video
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.
29
+
30
+ For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
31
+
32
+ 1. The request. If they haven't said what the video is about, ask in one short question.
33
+ 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. Search the brand's knowledge for them with knowledge_search. 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, then follow the next_step in every answer: it says how to write the scenes with video_change and what follows.
38
+
39
+ ## Rules
40
+
41
+ - Talk to marketers: what they get and what they decide, never how it is made.
42
+ - 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.
47
+ - Paid work needs the customer's yes to the credit total first. For video only their click on the plan card counts; you never approve.
48
+ - Only the customer's click on the plan card approves a video; a yes typed in chat is not an approval.
49
+ - Where the app can't show the card, give the customer the plan link; they press the button there.
50
+ - Never invent an offer, a claim or proof.
51
+ - 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.
52
+ `,
53
+ 'make-custom-video': `---
54
+ 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
57
+ ---
58
+
59
+ # GooseWorks video
60
+
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.
62
+
63
+ For a new video, in this order. Suggest nothing before step 5 and write no plan before they pick a style.
64
+
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. Search the brand's knowledge for them with knowledge_search. 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, then follow the next_step in every answer: it says how to write the scenes with video_change and what follows.
71
+
72
+ ## Rules
73
+
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. For video only their click on the plan card counts; you never approve.
81
+ - Only the customer's click on the plan card approves a video; a yes typed in chat is not an approval.
82
+ - Where the app can't show the card, give the customer the plan link; they press the button there.
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.
85
+ `,
86
+ };
87
+ /** renderEntrySkillRules(product) for the products the CLI's own entry skills cover. */
88
+ exports.SERVER_ENTRY_SKILL_RULES = {
89
+ all: `- Talk to marketers: what they get and what they decide, never how it is made.
90
+ - 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.
95
+ - Paid work needs the customer's yes to the credit total first. For video only their click on the plan card counts; you never approve.
96
+ - Never invent an offer, a claim or proof.
97
+ - 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.
99
+ - 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.
104
+ - Paid work needs the customer's yes to the credit total first. For video only their click on the plan card counts; 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.
106
+ - Never invent an offer, a claim or proof.
107
+ - 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.
109
+ - 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.
114
+ - Paid work needs the customer's yes to the credit total first. For video only their click on the plan card counts; 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.
116
+ - Never invent an offer, a claim or proof.
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.`,
118
+ };
119
+ //# sourceMappingURL=server-entry-skills.js.map
@@ -0,0 +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,4DAA4D;AAC5D,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"}
@@ -4,7 +4,7 @@ exports.stagingContent = stagingContent;
4
4
  /** Adapt bundled/recipe instructions without renaming canonical skill folders. */
5
5
  function stagingContent(content) {
6
6
  return content.replaceAll('https://api.gooseworks.ai', 'https://api.staging.gooseworks.ai')
7
- .replaceAll('https://make.gooseworks.ai', 'https://app.staging.gooseworks.ai')
7
+ .replaceAll('https://make.gooseworks.ai', 'https://ads-staging.gooseworks.ai')
8
8
  .replaceAll('gooseworks@latest', 'gooseworks@next')
9
9
  .replaceAll('mcp__gooseworks__', 'mcp__gooseworks-staging__')
10
10
  + '\n\n## Staging session\nUse only the gooseworks-staging MCP connection and staging catalog. Every GooseWorks CLI command in this session is pinned to staging. Never retry against production.\n';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gooseworks",
3
- "version": "0.5.0-dev.9.d3e7757f",
3
+ "version": "0.5.0",
4
4
  "description": "GooseWorks CLI — give your coding agent real data tools",
5
5
  "bin": {
6
6
  "gooseworks": "./dist/index.js"
@@ -8,24 +8,28 @@
8
8
  "main": "./dist/index.js",
9
9
  "scripts": {
10
10
  "build": "tsc",
11
+ "prepare": "npm run build",
11
12
  "dev": "tsx src/index.ts",
12
13
  "test": "jest",
13
14
  "generate:skills": "tsx scripts/generate-skill-files.ts",
14
15
  "prepublishOnly": "npm run generate:skills && npm run build && npm test",
15
16
  "changeset": "changeset",
16
- "version-packages": "changeset version && npm run generate:skills",
17
- "test:pack": "node scripts/pack-smoke.cjs"
17
+ "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts && npm run generate:skills",
18
+ "test:pack": "node scripts/pack-smoke.cjs",
19
+ "build:parts": "tsx scripts/build-kit-parts.ts"
18
20
  },
19
21
  "dependencies": {
20
22
  "chalk": "^4.1.2",
21
23
  "commander": "^12.0.0",
22
24
  "open": "^7.4.2",
23
- "ora": "^5.4.1"
25
+ "ora": "^5.4.1",
26
+ "playwright-core": "1.61.0"
24
27
  },
25
28
  "devDependencies": {
26
29
  "@changesets/cli": "^2.31.1",
27
30
  "@types/jest": "^29.0.0",
28
31
  "@types/node": "^20.0.0",
32
+ "esbuild": "0.27.7",
29
33
  "jest": "^29.0.0",
30
34
  "ts-jest": "^29.0.0",
31
35
  "tsx": "^4.0.0",
@@ -57,7 +61,7 @@
57
61
  "homepage": "https://gooseworks.ai",
58
62
  "author": "GooseWorks <help@gooseworks.ai>",
59
63
  "gooseworksRelease": {
60
- "commit": "d3e7757ff205fdfe4492f146c8984a11ebab4f78",
61
- "branch": "dev"
64
+ "commit": "6bef43494ccc18d234588940551c281d9b3f1b8f",
65
+ "branch": "main"
62
66
  }
63
67
  }