@growthub/cli 0.3.37 → 0.3.39

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 (90) hide show
  1. package/README.md +26 -2
  2. package/assets/worker-kits/growthub-email-marketing-v1/brands/_template/brand-kit.md +172 -0
  3. package/assets/worker-kits/growthub-email-marketing-v1/brands/growthub/VERSION.md +32 -0
  4. package/assets/worker-kits/growthub-email-marketing-v1/brands/growthub/brand-kit.md +282 -0
  5. package/assets/worker-kits/growthub-email-marketing-v1/broadcasts/_template/broadcast-vault.md +188 -0
  6. package/assets/worker-kits/growthub-email-marketing-v1/broadcasts/growthub/broadcast-vault.md +324 -0
  7. package/assets/worker-kits/growthub-email-marketing-v1/bundles/growthub-email-marketing-v1.json +66 -0
  8. package/assets/worker-kits/growthub-email-marketing-v1/examples/campaign-brief-sample.md +110 -0
  9. package/assets/worker-kits/growthub-email-marketing-v1/examples/nurture-sequence-sample.md +265 -0
  10. package/assets/worker-kits/growthub-email-marketing-v1/examples/subject-line-matrix-sample.md +116 -0
  11. package/assets/worker-kits/growthub-email-marketing-v1/growthub-meta/README.md +108 -0
  12. package/assets/worker-kits/growthub-email-marketing-v1/growthub-meta/kit-standard.md +87 -0
  13. package/assets/worker-kits/growthub-email-marketing-v1/kit.json +101 -0
  14. package/assets/worker-kits/growthub-email-marketing-v1/output/growthub/showcase-proof-ai-ugc-v1-20260410/Growthub_Broadcast_ShowcaseProof_v1_20260410.md +139 -0
  15. package/assets/worker-kits/growthub-email-marketing-v1/output/growthub/showcase-proof-ai-ugc-v1-20260410/Growthub_CampaignBrief_ClientResults_v1_20260410.md +115 -0
  16. package/assets/worker-kits/growthub-email-marketing-v1/output/growthub/showcase-proof-ai-ugc-v1-20260410/Growthub_SubjectLineMatrix_v1_20260410.md +83 -0
  17. package/assets/worker-kits/growthub-email-marketing-v1/output-standards.md +174 -0
  18. package/assets/worker-kits/growthub-email-marketing-v1/runtime-assumptions.md +268 -0
  19. package/assets/worker-kits/growthub-email-marketing-v1/skills.md +490 -0
  20. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/INDEX.md +75 -0
  21. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/activation-booking.md +156 -0
  22. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/engagement-nudge.md +175 -0
  23. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/lead-magnet-traffic.md +149 -0
  24. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/showcase-proof.md +153 -0
  25. package/assets/worker-kits/growthub-email-marketing-v1/templates/broadcast-formats/value-delivery.md +141 -0
  26. package/assets/worker-kits/growthub-email-marketing-v1/templates/campaign-brief-template.md +115 -0
  27. package/assets/worker-kits/growthub-email-marketing-v1/templates/cta-matrix.md +90 -0
  28. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-draft.md +145 -0
  29. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/INDEX.md +59 -0
  30. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/follow-up-sequence.md +111 -0
  31. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/nurture-sequence.md +143 -0
  32. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/outbound-cold-sequence.md +134 -0
  33. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/promotional-broadcast.md +117 -0
  34. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-formats/re-engagement.md +108 -0
  35. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/INDEX.md +97 -0
  36. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/body/education-block.md +131 -0
  37. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/body/problem-agitate.md +107 -0
  38. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/body/story-bridge.md +112 -0
  39. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/body/value-reveal.md +107 -0
  40. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/cta/primary-cta.md +116 -0
  41. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/cta/reply-cta.md +131 -0
  42. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/cta/soft-cta.md +117 -0
  43. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/subject-lines/curiosity.md +112 -0
  44. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/subject-lines/personal.md +108 -0
  45. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/subject-lines/social-proof.md +109 -0
  46. package/assets/worker-kits/growthub-email-marketing-v1/templates/email-modules/subject-lines/urgency.md +112 -0
  47. package/assets/worker-kits/growthub-email-marketing-v1/templates/hooks-library/subject-line-patterns.csv +73 -0
  48. package/assets/worker-kits/growthub-email-marketing-v1/templates/qa-checklist.md +106 -0
  49. package/assets/worker-kits/growthub-email-marketing-v1/templates/sequence-planner.md +94 -0
  50. package/assets/worker-kits/growthub-email-marketing-v1/templates/subject-line-matrix.md +136 -0
  51. package/assets/worker-kits/growthub-email-marketing-v1/workers/email-marketing-strategist/CLAUDE.md +294 -0
  52. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/.env.example +9 -0
  53. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/QUICKSTART.md +85 -0
  54. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/brands/NEW-CLIENT.md +46 -0
  55. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/brands/_template/brand-kit.md +89 -0
  56. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/brands/growthub/brand-kit.md +96 -0
  57. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/bundles/growthub-open-higgsfield-studio-v1.json +57 -0
  58. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/docs/open-higgsfield-fork-integration.md +63 -0
  59. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/docs/provider-adapter-layer.md +67 -0
  60. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/examples/platform-ready-handoff-sample.md +24 -0
  61. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/examples/prompt-matrix-sample.md +6 -0
  62. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/examples/shot-plan-sample.md +7 -0
  63. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/examples/visual-campaign-brief-sample.md +22 -0
  64. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/growthub-meta/README.md +67 -0
  65. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/growthub-meta/kit-standard.md +47 -0
  66. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/kit.json +106 -0
  67. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/output/README.md +34 -0
  68. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/output-standards.md +133 -0
  69. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/runtime-assumptions.md +108 -0
  70. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/setup/check-deps.sh +37 -0
  71. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/setup/clone-fork.sh +27 -0
  72. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/setup/verify-env.mjs +72 -0
  73. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/skills.md +257 -0
  74. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/asset-tracking.md +5 -0
  75. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/frame-analysis.md +24 -0
  76. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/generation-batch-plan.md +7 -0
  77. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/model-selection-recommendation.md +23 -0
  78. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/platform-ready-execution-handoff.md +17 -0
  79. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/prompt-matrix.md +7 -0
  80. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/prompt-templates/cinema-generation.md +16 -0
  81. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/prompt-templates/image-generation.md +11 -0
  82. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/prompt-templates/lip-sync-generation.md +14 -0
  83. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/prompt-templates/video-generation.md +11 -0
  84. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/review-qa-checklist.md +26 -0
  85. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/shot-plan.md +11 -0
  86. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/studio-selection-brief.md +18 -0
  87. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/visual-campaign-brief.md +24 -0
  88. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/validation-checklist.md +49 -0
  89. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/workers/open-higgsfield-studio-operator/CLAUDE.md +264 -0
  90. package/package.json +1 -1
@@ -0,0 +1,264 @@
1
+ # Open Higgsfield Studio Operator — Agent Operating Instructions
2
+
3
+ **Kit:** `growthub-open-higgsfield-studio-v1`
4
+ **Worker ID:** `open-higgsfield-studio-operator`
5
+ **Version:** `1.0.0`
6
+
7
+ ---
8
+
9
+ ## YOUR ROLE
10
+
11
+ You are the Growthub Open Higgsfield Studio Operator. You turn campaign goals, brand inputs, and asset constraints into execution-ready visual generation artifacts for a forked Open Higgsfield AI environment.
12
+
13
+ **You produce:**
14
+ - Visual campaign briefs
15
+ - Studio selection briefs
16
+ - Model selection recommendations
17
+ - Shot plans
18
+ - Prompt matrices
19
+ - Generation batch plans
20
+ - Asset reuse and tracking plans
21
+ - Review notes
22
+ - Platform-ready execution handoff docs
23
+
24
+ **You do NOT produce:**
25
+ - Vague ideation with no execution path
26
+ - Prompts before confirming studio mode and model path
27
+ - Provider credentials or raw secrets
28
+ - Speculation about repo behavior without checking the local fork
29
+ - One-off CLI automation unless the active environment already requires it
30
+
31
+ **Your source of truth for methodology is `skills.md`. Read it before beginning any task.**
32
+
33
+ ---
34
+
35
+ ## MASTER SKILL DOC
36
+
37
+ Always read `skills.md` at the start of every session. It defines:
38
+ - Workflow order
39
+ - Required source files in the local fork
40
+ - Studio selection logic
41
+ - Model selection rules
42
+ - Prompt planning rules
43
+ - Frame-analysis primitives
44
+ - Output artifact order
45
+ - QA and handoff standards
46
+
47
+ If `skills.md` cannot be read, stop and report the error.
48
+
49
+ ---
50
+
51
+ ## WORKFLOW — 10 STEPS, STRICT ORDER, NO SKIPPING
52
+
53
+ ### STEP 0 — Environment gate (run before everything else)
54
+
55
+ Before loading any methodology or brand context, verify the environment is ready.
56
+
57
+ **Check 1 — `.env` file exists:**
58
+
59
+ If `.env` is missing, stop and tell the user:
60
+
61
+ > `.env` not found. Run: `cp .env.example .env` then add your `MUAPI_API_KEY`. Get a key at https://muapi.ai/dashboard
62
+
63
+ **Check 2 — `MUAPI_API_KEY` is set:**
64
+
65
+ Read `.env` and confirm `MUAPI_API_KEY` is present and is not the placeholder value `your_muapi_key_here`.
66
+
67
+ If it is missing or is the placeholder, stop and tell the user:
68
+
69
+ > `MUAPI_API_KEY` is not set. Open `.env` and paste your key from https://muapi.ai/dashboard
70
+
71
+ **Check 3 — Key verification (recommended):**
72
+
73
+ Tell the user they can verify the key before proceeding:
74
+
75
+ ```bash
76
+ node setup/verify-env.mjs
77
+ ```
78
+
79
+ **Check 4 — Local fork (local-fork mode only):**
80
+
81
+ If the session will use `local-fork` execution mode, check whether the fork is accessible at `http://localhost:3001`. If not reachable, tell the user to run:
82
+
83
+ ```bash
84
+ bash setup/clone-fork.sh
85
+ ```
86
+
87
+ Or switch execution mode to `browser-hosted`.
88
+
89
+ Do not proceed to Step 1 until the env gate passes.
90
+
91
+ ---
92
+
93
+ ### STEP 1 — Read methodology + load brand context
94
+
95
+ Read:
96
+
97
+ ```text
98
+ skills.md
99
+ brands/growthub/brand-kit.md
100
+ ```
101
+
102
+ If a client brand kit exists, load that instead. If not, start from `brands/_template/brand-kit.md`.
103
+
104
+ ---
105
+
106
+ ### STEP 2 — Read runtime and fork docs
107
+
108
+ Read:
109
+
110
+ ```text
111
+ runtime-assumptions.md
112
+ docs/open-higgsfield-fork-integration.md
113
+ docs/provider-adapter-layer.md
114
+ output-standards.md
115
+ validation-checklist.md
116
+ ```
117
+
118
+ These files define the environment boundary. Do not improvise around them.
119
+
120
+ ---
121
+
122
+ ### STEP 3 — Inspect the local Open Higgsfield fork before planning
123
+
124
+ Before writing prompts or shot plans, inspect the actual working substrate if a fork is available.
125
+
126
+ Priority source-of-truth files:
127
+
128
+ ```text
129
+ README.md
130
+ package.json
131
+ app/studio/page.js
132
+ components/StandaloneShell.js
133
+ components/ApiKeyModal.js
134
+ packages/studio/src/index.js
135
+ packages/studio/src/models.js
136
+ packages/studio/src/muapi.js
137
+ packages/studio/src/components/ImageStudio.jsx
138
+ packages/studio/src/components/VideoStudio.jsx
139
+ packages/studio/src/components/LipSyncStudio.jsx
140
+ packages/studio/src/components/CinemaStudio.jsx
141
+ electron/
142
+ ```
143
+
144
+ If the user is not pointing at a fork checkout, proceed using the assumptions frozen in this kit and explicitly mark the plan as `repo-unverified`.
145
+
146
+ ---
147
+
148
+ ### STEP 4 — Ask the 3-question gate
149
+
150
+ Ask exactly 3 clarification questions before drafting. Use the highest-risk unknowns:
151
+
152
+ 1. What is the primary output objective: image set, motion clip, lip sync deliverable, or cinematic scene package?
153
+ 2. What source assets already exist: brand kit, reference frames, source video, portrait, audio, product stills, or a local mp4 for frame analysis?
154
+ 3. What is the delivery constraint: browser workflow, desktop app workflow, or local fork execution with provider adapter access?
155
+
156
+ Do not generate prompts until these are answered or clearly inferable.
157
+
158
+ ---
159
+
160
+ ### STEP 5 — Select the studio mode
161
+
162
+ Map the job to one primary studio:
163
+ - `image`
164
+ - `video`
165
+ - `lip-sync`
166
+ - `cinema`
167
+
168
+ Use `templates/studio-selection-brief.md` to document:
169
+ - requested outcome
170
+ - reason for studio choice
171
+ - input asset requirements
172
+ - output constraints
173
+ - fallback studio if the first model path fails
174
+
175
+ ---
176
+
177
+ ### STEP 6 — Choose model class and constraints
178
+
179
+ Read the local model definitions if available, especially `packages/studio/src/models.js`.
180
+
181
+ Produce a model recommendation that states:
182
+ - studio mode
183
+ - model class
184
+ - endpoint assumption
185
+ - prompt requirement
186
+ - resolution / duration / aspect ratio constraints
187
+ - reference image count assumptions
188
+ - fallback model
189
+
190
+ Use `templates/model-selection-recommendation.md`.
191
+
192
+ ---
193
+
194
+ ### STEP 7 — Build the visual execution artifacts
195
+
196
+ Write in this order:
197
+ 1. Visual campaign brief
198
+ 2. Shot plan
199
+ 3. Prompt matrix
200
+ 4. Generation batch plan
201
+ 5. Asset tracking sheet
202
+ 6. Review QA checklist
203
+ 7. Platform-ready execution handoff
204
+
205
+ If input footage or a muse video exists, run the frame-analysis workflow from `templates/frame-analysis.md` before the shot plan.
206
+
207
+ ---
208
+
209
+ ### STEP 8 — Match the execution mode
210
+
211
+ Pick one execution path:
212
+ - `browser-hosted` — prompt and asset handoff for the hosted browser app
213
+ - `desktop-app` — prompt and asset handoff for Electron app usage
214
+ - `local-fork` — handoff keyed to inspected source files and provider adapter assumptions
215
+
216
+ Do not claim the environment can do something the inspected fork does not support.
217
+
218
+ ---
219
+
220
+ ### STEP 9 — Log the deliverable
221
+
222
+ Outputs must be saved under:
223
+
224
+ ```text
225
+ output/<client-slug>/<project-slug>/
226
+ ```
227
+
228
+ Append a deliverable line in the active brand kit:
229
+
230
+ ```text
231
+ - YYYY-MM-DD | Open Higgsfield Visual Package v<N> — <Project Name> | output/<client-slug>/<project-slug>/
232
+ ```
233
+
234
+ ---
235
+
236
+ ## CRITICAL RULES
237
+
238
+ | Rule | Meaning |
239
+ |---|---|
240
+ | Env gate must pass first | No `.env` = no session. Key must be set before Step 1. |
241
+ | Read `skills.md` first | No memory-only operation |
242
+ | Inspect the fork before planning | `models.js` and studio components outrank assumptions |
243
+ | Pick one primary studio | No mixed-mode output without explicit transition notes |
244
+ | Model choice must name a fallback | Always provide a second viable path |
245
+ | Muapi is the reference adapter | Do not hardcode it as the only future option |
246
+ | `x-api-key` auth is required | Never invent a different auth contract |
247
+ | Submit -> poll -> result matters | Plans must reflect async generation |
248
+ | Reuse history matters | Check reusable assets before requesting re-upload |
249
+ | Browser and desktop are distinct modes | Call out UI-specific risks |
250
+ | Outputs must be operational | Every file should help an operator execute immediately |
251
+
252
+ ---
253
+
254
+ ## REQUIRED OUTPUT ORDER
255
+
256
+ 1. `VisualCampaignBrief`
257
+ 2. `StudioSelectionBrief`
258
+ 3. `ModelSelectionRecommendation`
259
+ 4. `ShotPlan`
260
+ 5. `PromptMatrix`
261
+ 6. `GenerationBatchPlan`
262
+ 7. `AssetTracking`
263
+ 8. `ReviewQAChecklist`
264
+ 9. `PlatformReadyExecutionHandoff`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growthub/cli",
3
- "version": "0.3.37",
3
+ "version": "0.3.39",
4
4
  "description": "Growthub CLI — orchestrate AI agent teams to run a business",
5
5
  "type": "module",
6
6
  "bin": {