gooseworks 0.5.7 → 0.5.8

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.
@@ -21,10 +21,10 @@ export declare function getMasterSkillContent(): string;
21
21
  export declare function getGooseAdsSkillContent(): string;
22
22
  /** Product photos of the brand's real, physical products. */
23
23
  export declare function getGooseProductPhotosSkillContent(): string;
24
- /** Our server's goose-video entry skill, as built. */
24
+ /** Video entry matched to the production backend. */
25
25
  export declare function getGooseVideoSkillContent(): string;
26
- /** Our server's make-custom-video entry skill, as built. */
26
+ /** Custom-video entry matched to the production backend. */
27
27
  export declare function getMakeCustomVideoSkillContent(): string;
28
- /** One line: the kit makes the video when the server says so. */
28
+ /** Local-render entry matched to the production backend. */
29
29
  export declare function getGooseVideoLocalSkillContent(): string;
30
30
  //# sourceMappingURL=master-skill.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAsBA,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAE7D;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAS7C;AAED,wEAAwE;AACxE,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED,sGAAsG;AACtG,wBAAgB,qBAAqB,IAAI,MAAM,CA+E9C;AAED,4CAA4C;AAC5C,wBAAgB,uBAAuB,IAAI,MAAM,CAiChD;AAED,6DAA6D;AAC7D,wBAAgB,iCAAiC,IAAI,MAAM,CA8B1D;AAED,sDAAsD;AACtD,wBAAgB,yBAAyB,IAAI,MAAM,CAElD;AAED,4DAA4D;AAC5D,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAED,iEAAiE;AACjE,wBAAgB,8BAA8B,IAAI,MAAM,CASvD"}
1
+ {"version":3,"file":"master-skill.d.ts","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":"AAwBA,MAAM,WAAW,UAAU;IACzB,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAE7D;;;;;;GAMG;AACH,wBAAgB,cAAc,IAAI,UAAU,EAAE,CAS7C;AAED,wEAAwE;AACxE,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED,sGAAsG;AACtG,wBAAgB,qBAAqB,IAAI,MAAM,CA+E9C;AAED,4CAA4C;AAC5C,wBAAgB,uBAAuB,IAAI,MAAM,CAiChD;AAED,6DAA6D;AAC7D,wBAAgB,iCAAiC,IAAI,MAAM,CA8B1D;AAED,qDAAqD;AACrD,wBAAgB,yBAAyB,IAAI,MAAM,CAElD;AAED,4DAA4D;AAC5D,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAED,4DAA4D;AAC5D,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.KIT_MAKE_COMMAND = void 0;
4
7
  exports.getEntrySkills = getEntrySkills;
@@ -18,18 +21,20 @@ exports.getGooseVideoLocalSkillContent = getGooseVideoLocalSkillContent;
18
21
  * - `goose-ads` image ads: make, edit and study them.
19
22
  * - `goose-product-photos` product photos.
20
23
  * - `goose-video`, `make-custom-video`
21
- * our server's video entry skills, copied as built
22
- * (server-entry-skills.ts). Every answer's next_step
23
- * carries the step for the video's stage.
24
- * - `goose-video-local` one line: run the kit when a next_step says so.
24
+ * instructions compatible with the production main app.
25
+ * - `goose-video-local` the production local-render workflow.
25
26
  *
26
- * Each skill names only the actions in the action contract, states no price,
27
- * asks for no install and stays within the rulebook's size limit; the rules
28
- * block of every skill comes from the rulebook (tests/skills/skill-lint.test.ts).
27
+ * The production video copies are restored in production-video-skills.json.
28
+ * Update them with the matching backend release, then regenerate skills/.
29
+ *
30
+ * Non-video entries use the newer rulebook and action contract. Production
31
+ * video entries retain the tool names, approvals and execution instructions
32
+ * supported by the main backend (tests/skills/production-video-skills.test.ts).
29
33
  * Recipe skills live in goose-skills and are fetched when needed.
30
34
  */
31
35
  const routes_1 = require("./routes");
32
36
  const server_entry_skills_1 = require("./server-entry-skills");
37
+ const production_video_skills_json_1 = __importDefault(require("./production-video-skills.json"));
33
38
  /** The kit command, as the server's next_step gives it. */
34
39
  exports.KIT_MAKE_COMMAND = 'gooseworks video make <id>';
35
40
  /**
@@ -201,23 +206,16 @@ Then follow the next_step in every answer.
201
206
  ${server_entry_skills_1.SERVER_ENTRY_SKILL_RULES.photos}
202
207
  `;
203
208
  }
204
- /** Our server's goose-video entry skill, as built. */
209
+ /** Video entry matched to the production backend. */
205
210
  function getGooseVideoSkillContent() {
206
- return server_entry_skills_1.SERVER_VIDEO_ENTRY_SKILLS['goose-video'];
211
+ return production_video_skills_json_1.default['goose-video'];
207
212
  }
208
- /** Our server's make-custom-video entry skill, as built. */
213
+ /** Custom-video entry matched to the production backend. */
209
214
  function getMakeCustomVideoSkillContent() {
210
- return server_entry_skills_1.SERVER_VIDEO_ENTRY_SKILLS['make-custom-video'];
215
+ return production_video_skills_json_1.default['make-custom-video'];
211
216
  }
212
- /** One line: the kit makes the video when the server says so. */
217
+ /** Local-render entry matched to the production backend. */
213
218
  function getGooseVideoLocalSkillContent() {
214
- return `---
215
- name: goose-video-local
216
- description: Make an approved GooseWorks video on this computer when the server's next_step says to.
217
- version: 1.0.0
218
- ---
219
-
220
- Run \`${exports.KIT_MAKE_COMMAND}\` when the server's next_step says so.
221
- `;
219
+ return production_video_skills_json_1.default['goose-video-local'];
222
220
  }
223
221
  //# sourceMappingURL=master-skill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"master-skill.js","sourceRoot":"","sources":["../../src/skills/master-skill.ts"],"names":[],"mappings":";;;AAsCA,wCASC;AAGD,gDAEC;AAGD,sDA+EC;AAGD,0DAiCC;AAGD,8EA8BC;AAGD,8DAEC;AAGD,wEAEC;AAGD,wEASC;AAjOD;;;;;;;;;;;;;;;;;;GAkBG;AACH,qCAA0E;AAC1E,+DAA4F;AAQ5F,2DAA2D;AAC9C,QAAA,gBAAgB,GAAG,4BAA4B,CAAC;AAE7D;;;;;;GAMG;AACH,SAAgB,cAAc;IAC5B,OAAO;QACL,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,qBAAqB,EAAE,EAAE;QACxD,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,uBAAuB,EAAE,EAAE;QACzD,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,yBAAyB,EAAE,EAAE;QAC7D,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,8BAA8B,EAAE,EAAE;QACxE,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,8BAA8B,EAAE,EAAE;QACxE,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,EAAE,iCAAiC,EAAE,EAAE;KAC/E,CAAC;AACJ,CAAC;AAED,wEAAwE;AACxE,SAAgB,kBAAkB;IAChC,OAAO,cAAc,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC;AAED,sGAAsG;AACtG,SAAgB,qBAAqB;IACnC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCP,IAAA,+BAAsB,GAAE;;;2EAGiD,wBAAgB;;;;;;EAMzF,IAAA,+BAAsB,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCxB,8CAAwB,CAAC,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