@growthub/cli 0.3.40 → 0.3.42

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.
package/README.md CHANGED
@@ -16,67 +16,127 @@ Later:
16
16
  npx create-growthub-local --profile gtm
17
17
  ```
18
18
 
19
- ## Worker Kits V1
19
+ ## Worker Kits
20
20
 
21
- The CLI ships a bundled Worker Kit export surface for local adapter environments.
22
- These kits are not server installs or database records. They are frozen, working-directory-ready
23
- artifacts that local adapters can run inside directly.
21
+ Worker kits are frozen, working-directory-ready execution environments for local AI agents.
22
+ Each kit bundles prompts, templates, output standards, brand guides, setup scripts, and a
23
+ `CLAUDE.md` operator contract everything an agent needs to run a vertical workflow immediately.
24
24
 
25
- They should be understood as packaged execution environments. A kit can carry prompts, templates, examples, output standards, and local runtime assumptions together as one reusable environment.
25
+ ### Discovery
26
26
 
27
27
  ```bash
28
+ # Interactive browser — family filter → searchable selector → preview → download
29
+ growthub kit
30
+
31
+ # All kits grouped by family with descriptions and inline download commands
28
32
  growthub kit list
33
+
34
+ # Filter by family (studio · workflow · operator · ops)
35
+ growthub kit list --family studio
36
+ growthub kit list --family studio,operator
37
+
38
+ # Machine-readable output for scripting / agent use
39
+ growthub kit list --json
40
+
41
+ # Official family taxonomy — taglines, surfaces, and examples
42
+ growthub kit families
43
+ ```
44
+
45
+ ### Download
46
+
47
+ ```bash
48
+ # Interactive (picker if no kit-id given)
49
+ growthub kit download
50
+
51
+ # Fuzzy slug — partial IDs resolve automatically
52
+ growthub kit download higgsfield # → growthub-open-higgsfield-studio-v1
53
+ growthub kit download email # → growthub-email-marketing-v1
54
+ growthub kit download studio-v1 # → growthub-open-higgsfield-studio-v1
55
+
56
+ # Full ID
57
+ growthub kit download growthub-open-higgsfield-studio-v1
58
+
59
+ # Custom output directory
60
+ growthub kit download higgsfield --out ~/my-kits
61
+
62
+ # Skip confirmation prompt (scripting / agent use)
63
+ growthub kit download higgsfield --yes
64
+ ```
65
+
66
+ ### Inspect & validate
67
+
68
+ ```bash
69
+ # Pretty manifest output with family badge and required paths
70
+ growthub kit inspect higgsfield-studio-v1
29
71
  growthub kit inspect creative-strategist-v1
30
72
  growthub kit inspect growthub-open-higgsfield-studio-v1
31
- growthub kit download creative-strategist-v1
32
- growthub kit download growthub-open-higgsfield-studio-v1
73
+
74
+ # Raw JSON for scripting
75
+ growthub kit inspect growthub-email-marketing-v1 --json
76
+
77
+ # Resolve export folder path without exporting
33
78
  growthub kit path creative-strategist-v1
79
+
80
+ # Validate a kit directory against the schema
34
81
  growthub kit validate /absolute/path/to/kit
82
+ growthub kit validate ~/kits/growthub-open-higgsfield-studio-v1
35
83
  ```
36
84
 
37
- V1 is intentionally narrow:
85
+ ```bash
86
+ # Full ID download examples
87
+ growthub kit download creative-strategist-v1
88
+ growthub kit download growthub-open-higgsfield-studio-v1
89
+ ```
38
90
 
39
- - bundled catalog plus local export only
40
- - downloadable worker kits for creative strategy, email strategy, and Open Higgsfield AI visual production
41
- - deterministic zip plus expanded export folder
42
- - public example brand kits only
43
- - no heartbeat wiring, app install flow, server registry, plugin lifecycle, or database kit records
91
+ ### After download
44
92
 
45
- ### How local adapters use worker kits
93
+ ```
94
+ 1. Point Growthub local Working Directory at the exported folder
95
+ (or Claude Code Working Directory as an alternative)
96
+ 2. cp .env.example .env → add your API key
97
+ 3. bash setup/clone-fork.sh → boot local fork (studio kits only)
98
+ 4. Open a new session — the operator agent loads automatically from CLAUDE.md
99
+ ```
46
100
 
47
- Local adapters such as Claude, Codex, Cursor, Gemini, and OpenCode execute inside the agent
48
- `Working directory` path.
101
+ ### Kit families
49
102
 
50
- Growthub worker kits are designed to plug into that path directly:
103
+ | Family | Description | Default surface |
104
+ |---|---|---|
105
+ | 🎬 **studio** | AI generation studio backed by a local fork | local-fork |
106
+ | 🔄 **workflow** | Multi-step pipeline operator across tools or APIs | browser-hosted |
107
+ | 🤖 **operator** | Domain vertical specialist — structured deliverables | browser-hosted |
108
+ | ⚙️ **ops** | Infrastructure / toolchain operator | local-fork |
51
109
 
52
- 1. Export a kit with `growthub kit download <kit-id>` or resolve its folder with `growthub kit path <kit-id>`.
53
- 2. Take the expanded folder on disk.
54
- 3. Put that absolute path into the agent's `Working directory` field.
55
- 4. Run the local adapter against that exported environment.
110
+ ### Available kits
56
111
 
57
- This is the current integration surface for worker kits in Growthub. In other words, the worker kit
58
- becomes a specialized local execution environment that an agent can access and work within through
59
- its configured working directory.
112
+ | Kit | Family | Description |
113
+ |---|---|---|
114
+ | `growthub-open-higgsfield-studio-v1` | studio | Open Higgsfield AI visual production (image, video, lip sync, cinema) |
115
+ | `growthub-email-marketing-v1` | operator | Brand-aware email campaigns, nurture sequences, and content pillar plans |
116
+ | `creative-strategist-v1` | workflow | Video creative briefs and campaign strategy |
60
117
 
61
- ### Environment expansion model
118
+ ### How local adapters use worker kits
62
119
 
63
- The packaging model supports more than a single strategy kit.
120
+ Local adapters (Claude Code, Codex, Cursor, Gemini, OpenCode) execute inside the agent
121
+ `Working directory` path. Worker kits are designed to plug into that path directly:
64
122
 
65
- The same packaging model can support:
123
+ 1. `growthub kit download <id>` — exports the kit as a folder + zip
124
+ 2. Point the agent `Working directory` at the exported folder path
125
+ 3. The agent reads `CLAUDE.md` on session start and runs the operator workflow automatically
66
126
 
67
- - strategy environments
68
- - email marketing environments
69
- - browser-heavy GTM environments
70
- - local production environments such as motion or Remotion-based workflows
127
+ ### Adding new kits
71
128
 
72
- That means a new environment should usually be added as:
129
+ Each new kit should be:
73
130
 
74
- 1. a self-contained kit folder
75
- 2. a manifest and bundle contract
76
- 3. registered catalog metadata
77
- 4. a real local adapter validation pass through `Working directory`
131
+ 1. A self-contained kit folder in `cli/assets/worker-kits/`
132
+ 2. A `kit.json` manifest (schema v2) with `family`, `frozenAssetPaths`, and `outputStandard`
133
+ 3. A bundle manifest in `bundles/`
134
+ 4. A catalog entry in `cli/src/kits/catalog.ts`
135
+ 5. Validated with `growthub kit validate ./path/to/kit`
78
136
 
79
- not as a new one-off CLI code path.
137
+ The kit family factory layer (`cli/src/kits/core/factory/`) provides typed `createStudioKitConfig()`,
138
+ `createWorkflowKitConfig()`, `createOperatorKitConfig()`, and `createOpsKitConfig()` builders that
139
+ assemble a fully validated `ForkAdapterCoreConfig` from a small set of options.
80
140
 
81
141
  ## What this is
82
142
 
@@ -7,7 +7,8 @@
7
7
  "description": "Frozen Creative Strategist worker kit for exporting a working-directory-ready video creative brief worker.",
8
8
  "type": "worker",
9
9
  "visibility": "public-open-source",
10
- "sourceRepo": "claude-workers"
10
+ "sourceRepo": "claude-workers",
11
+ "family": "workflow"
11
12
  },
12
13
  "entrypoint": {
13
14
  "workerId": "creative-strategist",
@@ -71,7 +72,9 @@
71
72
  }
72
73
  ],
73
74
  "executionMode": "export",
74
- "activationModes": ["export"],
75
+ "activationModes": [
76
+ "export"
77
+ ],
75
78
  "compatibility": {
76
79
  "cliMinVersion": "0.3.35"
77
80
  },
@@ -7,7 +7,8 @@
7
7
  "description": "Self-contained local execution environment for Growthub-focused email marketing. Produces brand-aware email campaigns, nurture sequences, broadcasts, and content-pillar-driven campaign plans with pluggable email platform integration.",
8
8
  "type": "worker",
9
9
  "visibility": "public-open-source",
10
- "sourceRepo": "growthub-local"
10
+ "sourceRepo": "growthub-local",
11
+ "family": "operator"
11
12
  },
12
13
  "entrypoint": {
13
14
  "workerId": "email-marketing-strategist",
@@ -90,7 +91,9 @@
90
91
  }
91
92
  ],
92
93
  "executionMode": "export",
93
- "activationModes": ["export"],
94
+ "activationModes": [
95
+ "export"
96
+ ],
94
97
  "compatibility": {
95
98
  "cliMinVersion": "0.3.37"
96
99
  },
@@ -7,7 +7,8 @@
7
7
  "description": "Self-contained local execution environment for Open Higgsfield AI visual production. Produces implementation-ready visual briefs, prompt systems, shot plans, generation batches, model selections, and execution handoff artifacts for browser, desktop, and local fork workflows.",
8
8
  "type": "worker",
9
9
  "visibility": "public-open-source",
10
- "sourceRepo": "growthub-local"
10
+ "sourceRepo": "growthub-local",
11
+ "family": "studio"
11
12
  },
12
13
  "entrypoint": {
13
14
  "workerId": "open-higgsfield-studio-operator",
@@ -97,7 +98,9 @@
97
98
  }
98
99
  ],
99
100
  "executionMode": "export",
100
- "activationModes": ["export"],
101
+ "activationModes": [
102
+ "export"
103
+ ],
101
104
  "compatibility": {
102
105
  "cliMinVersion": "0.3.37"
103
106
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growthub/cli",
3
- "version": "0.3.40",
3
+ "version": "0.3.42",
4
4
  "description": "Growthub CLI — orchestrate AI agent teams to run a business",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,12 +17,12 @@
17
17
  "license": "MIT",
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/antonioromero1220/growthub-local",
20
+ "url": "https://github.com/Growthub-ai/growthub-local",
21
21
  "directory": "cli"
22
22
  },
23
- "homepage": "https://github.com/antonioromero1220/growthub-local#readme",
23
+ "homepage": "https://github.com/Growthub-ai/growthub-local#readme",
24
24
  "bugs": {
25
- "url": "https://github.com/antonioromero1220/growthub-local/issues"
25
+ "url": "https://github.com/Growthub-ai/growthub-local/issues"
26
26
  },
27
27
  "files": [
28
28
  "dist",