@growthub/cli 0.3.58 → 0.3.60

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 (41) hide show
  1. package/assets/worker-kits/growthub-zernio-social-v1/.env.example +5 -0
  2. package/assets/worker-kits/growthub-zernio-social-v1/QUICKSTART.md +36 -4
  3. package/assets/worker-kits/growthub-zernio-social-v1/bundles/growthub-zernio-social-v1.json +30 -1
  4. package/assets/worker-kits/growthub-zernio-social-v1/docs/growthub-agentic-social-platform-ui-shell.md +134 -0
  5. package/assets/worker-kits/growthub-zernio-social-v1/docs/local-adapters.md +2 -2
  6. package/assets/worker-kits/growthub-zernio-social-v1/growthub-meta/README.md +5 -8
  7. package/assets/worker-kits/growthub-zernio-social-v1/growthub-meta/kit-standard.md +1 -1
  8. package/assets/worker-kits/growthub-zernio-social-v1/kit.json +33 -1
  9. package/assets/worker-kits/growthub-zernio-social-v1/skills.md +1 -1
  10. package/assets/worker-kits/growthub-zernio-social-v1/studio/.env.example +3 -0
  11. package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/assets/index-DTmBMuXr.js +78 -0
  12. package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/assets/index-gHr-nTMF.css +1 -0
  13. package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/index.html +14 -0
  14. package/assets/worker-kits/growthub-zernio-social-v1/studio/index.html +13 -0
  15. package/assets/worker-kits/growthub-zernio-social-v1/studio/package-lock.json +1677 -0
  16. package/assets/worker-kits/growthub-zernio-social-v1/studio/package.json +20 -0
  17. package/assets/worker-kits/growthub-zernio-social-v1/studio/serve.mjs +60 -0
  18. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/App.jsx +130 -0
  19. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/api.js +146 -0
  20. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/app.css +558 -0
  21. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/lib/rules.js +64 -0
  22. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/lib/templates.js +207 -0
  23. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/main.jsx +10 -0
  24. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Accounts.jsx +57 -0
  25. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Agent.jsx +167 -0
  26. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Analytics.jsx +164 -0
  27. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/ApiKeys.jsx +143 -0
  28. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Automations.jsx +122 -0
  29. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/CommentRules.jsx +592 -0
  30. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Compose.jsx +185 -0
  31. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Dashboard.jsx +87 -0
  32. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Inbox.jsx +144 -0
  33. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Queues.jsx +167 -0
  34. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Scheduled.jsx +85 -0
  35. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Sequences.jsx +160 -0
  36. package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Templates.jsx +275 -0
  37. package/assets/worker-kits/growthub-zernio-social-v1/studio/vite.config.js +7 -0
  38. package/assets/worker-kits/growthub-zernio-social-v1/workers/zernio-social-operator/CLAUDE.md +3 -3
  39. package/dist/index.js +8541 -850
  40. package/package.json +1 -1
  41. package/assets/worker-kits/growthub-zernio-social-v1/docs/postiz-ui-shell-integration.md +0 -166
@@ -0,0 +1,5 @@
1
+ ZERNIO_API_KEY=your_zernio_api_key_here
2
+ ZERNIO_API_URL=https://zernio.com/api/v1
3
+ ZERNIO_PROFILE_ID=
4
+ ZERNIO_TIMEZONE=America/New_York
5
+ ANTHROPIC_API_KEY=your_anthropic_key_here
@@ -56,6 +56,40 @@ Open `.env` and fill in:
56
56
 
57
57
  Re-run `node setup/setup.mjs` after editing `.env` to confirm everything is valid.
58
58
 
59
+ ### Run the exported UI shell workspace
60
+
61
+ The social UI lives in the exported worker-kit folder under `studio/`. Treat that exported folder as the working copy. Do not edit or rely on the CLI repo copy once the kit has been exported.
62
+
63
+ From the exported kit folder:
64
+
65
+ ```bash
66
+ cd studio
67
+ npm install
68
+ ```
69
+
70
+ Create a local `.env` in `studio/` with:
71
+
72
+ ```bash
73
+ VITE_ZERNIO_API_URL=https://zernio.com/api/v1
74
+ VITE_ZERNIO_API_KEY=<your-zernio-api-key>
75
+ VITE_ZERNIO_PROFILE_ID=<your-profile-id>
76
+ ```
77
+
78
+ Then start the UI shell:
79
+
80
+ ```bash
81
+ cd studio
82
+ npm run dev
83
+ ```
84
+
85
+ Default local URL:
86
+
87
+ ```text
88
+ http://127.0.0.1:5173
89
+ ```
90
+
91
+ The exported Vite workspace is the user-facing setup path. The CLI's job is only to export the worker kit cleanly.
92
+
59
93
  ### Agent-only mode (no Zernio key needed)
60
94
 
61
95
  If you just want to plan, write captions, and produce dry-run manifests without touching the Zernio API, skip the key entirely:
@@ -133,7 +167,7 @@ Override the export path with `--out <path>` on `growthub kit download`.
133
167
  | `api-live` | Valid `ZERNIO_API_KEY` + at least one connected account on a profile | You want to schedule posts and queues via the live Zernio API |
134
168
  | `agent-only` | Nothing — Claude Code handles everything | You need campaign planning, calendars, and captions without touching the Zernio API |
135
169
  | `hybrid` | `ANTHROPIC_API_KEY` + valid `ZERNIO_API_KEY` | Enhanced caption drafting via Anthropic plus live Zernio scheduling |
136
- | `postiz-ui-shell` | `api-live` / `hybrid` + the Postiz kit (`growthub-postiz-social-v1`) running | You want Postiz's UI (calendar, compose, analytics shell) with Zernio as the transport engine. See `docs/postiz-ui-shell-integration.md` for the 7-module bridge. |
170
+ | `growthub-ui-shell` | `api-live` / `hybrid` + the exported `studio/` workspace | You want the exported Growthub Agentic Social Media Platform UI shell for calendar, compose, comment automation, analytics, and account operations. See `docs/growthub-agentic-social-platform-ui-shell.md`. |
137
171
 
138
172
 
139
173
  **Agent-only mode is always valid.** Zernio reachability never blocks campaign planning.
@@ -203,7 +237,5 @@ Tell the operator which you need:
203
237
  | `docs/ai-caption-layer.md` | AI caption generation methodology |
204
238
  | `docs/posts-and-queues-layer.md` | Scheduling manifest + queue format for Zernio API |
205
239
  | `docs/local-adapters.md` | Per-IDE setup matrix (Claude Code / Desktop / Codex / Cursor / Gemini / OpenCode / Qwen / Open Agents) |
206
- | `docs/postiz-ui-shell-integration.md` | Optional run this kit as the engine under the Postiz UI shell |
240
+ | `docs/growthub-agentic-social-platform-ui-shell.md` | Exported UI-shell workflow and validation contract |
207
241
  | `validation-checklist.md` | Pre-session checklist |
208
-
209
-
@@ -12,6 +12,7 @@
12
12
  ],
13
13
  "requiredFrozenAssets": [
14
14
  "QUICKSTART.md",
15
+ ".env.example",
15
16
  "skills.md",
16
17
  "output-standards.md",
17
18
  "runtime-assumptions.md",
@@ -41,8 +42,36 @@
41
42
  "docs/platform-coverage.md",
42
43
  "docs/ai-caption-layer.md",
43
44
  "docs/posts-and-queues-layer.md",
44
- "docs/postiz-ui-shell-integration.md",
45
+ "docs/growthub-agentic-social-platform-ui-shell.md",
45
46
  "docs/local-adapters.md",
47
+ "studio/.env.example",
48
+ "studio/serve.mjs",
49
+ "studio/index.html",
50
+ "studio/package.json",
51
+ "studio/package-lock.json",
52
+ "studio/vite.config.js",
53
+ "studio/dist/index.html",
54
+ "studio/dist/assets/index-DTmBMuXr.js",
55
+ "studio/dist/assets/index-gHr-nTMF.css",
56
+ "studio/src/App.jsx",
57
+ "studio/src/api.js",
58
+ "studio/src/app.css",
59
+ "studio/src/lib/rules.js",
60
+ "studio/src/lib/templates.js",
61
+ "studio/src/main.jsx",
62
+ "studio/src/views/Accounts.jsx",
63
+ "studio/src/views/Agent.jsx",
64
+ "studio/src/views/Analytics.jsx",
65
+ "studio/src/views/ApiKeys.jsx",
66
+ "studio/src/views/Automations.jsx",
67
+ "studio/src/views/CommentRules.jsx",
68
+ "studio/src/views/Compose.jsx",
69
+ "studio/src/views/Dashboard.jsx",
70
+ "studio/src/views/Inbox.jsx",
71
+ "studio/src/views/Queues.jsx",
72
+ "studio/src/views/Scheduled.jsx",
73
+ "studio/src/views/Sequences.jsx",
74
+ "studio/src/views/Templates.jsx",
46
75
  "growthub-meta/README.md",
47
76
  "growthub-meta/kit-standard.md"
48
77
  ],
@@ -0,0 +1,134 @@
1
+ # Growthub Agentic Social Media Platform — Exported UI Shell
2
+
3
+ This document is the source of truth for the UI shell that ships inside the exported `growthub-zernio-social-v1` worker kit.
4
+
5
+ **Read order:** `../runtime-assumptions.md` → `./zernio-api-integration.md` → this file.
6
+
7
+ ---
8
+
9
+ ## Truth Boundary
10
+
11
+ - The user exports this worker kit from the CLI.
12
+ - After export, the user works inside the exported folder, not inside the CLI repo.
13
+ - The UI shell lives at `studio/` inside that exported folder.
14
+ - The rest of the exported worker kit remains the execution contract for setup, templates, agent law, and Zernio API behavior.
15
+
16
+ This keeps the Vite shell fully isolated inside the exported worker-kit workspace.
17
+
18
+ ---
19
+
20
+ ## Exported Workspace Shape
21
+
22
+ ```text
23
+ growthub-agent-worker-kit-zernio-social-v1/
24
+ QUICKSTART.md
25
+ kit.json
26
+ setup/
27
+ docs/
28
+ workers/
29
+ templates/
30
+ studio/
31
+ package.json
32
+ vite.config.js
33
+ src/
34
+ ```
35
+
36
+ The user-facing UI setup starts in `studio/`. The worker-kit root remains the source of truth for setup scripts, templates, and the Zernio operator contract.
37
+
38
+ ---
39
+
40
+ ## Launch Flow
41
+
42
+ From the exported worker-kit folder:
43
+
44
+ ```bash
45
+ cd studio
46
+ npm install
47
+ ```
48
+
49
+ Create `studio/.env` with:
50
+
51
+ ```bash
52
+ VITE_ZERNIO_API_URL=https://zernio.com/api/v1
53
+ VITE_ZERNIO_API_KEY=<your-zernio-api-key>
54
+ VITE_ZERNIO_PROFILE_ID=<your-profile-id>
55
+ ```
56
+
57
+ Then start the UI shell:
58
+
59
+ ```bash
60
+ cd studio
61
+ npm run dev
62
+ ```
63
+
64
+ Default local URL:
65
+
66
+ ```text
67
+ http://127.0.0.1:5173
68
+ ```
69
+
70
+ The UI shell is validated from the exported folder itself. Do not use the CLI repo copy as the runtime workspace for the end user.
71
+
72
+ ---
73
+
74
+ ## What The UI Shell Covers
75
+
76
+ The exported Growthub UI shell owns these surfaces:
77
+
78
+ - Dashboard
79
+ - Accounts
80
+ - Compose
81
+ - Scheduled
82
+ - Queues
83
+ - Analytics
84
+ - Templates
85
+ - Comment Rules
86
+ - Sequences
87
+ - Automations
88
+ - Agent / Swarm
89
+ - API Keys
90
+
91
+ The Zernio worker kit owns the transport, setup scripts, API contract, and agent workflow that sit behind those screens.
92
+
93
+ ---
94
+
95
+ ## Comment Automation Scope
96
+
97
+ The validated comment automation surface in the UI shell is:
98
+
99
+ - post-bound comment automation
100
+ - keyword-triggered comment detection
101
+ - optional public comment reply
102
+ - optional DM lead magnet message
103
+ - CRUD for comment automations
104
+ - activation / pause control
105
+ - automation logs
106
+ - account-connect prompts for Instagram and Facebook
107
+
108
+ The canonical API surface for that flow is `POST /api/v1/comment-automations` plus the related read, update, delete, and logs endpoints documented in the exported UI source.
109
+
110
+ ---
111
+
112
+ ## Validation Contract
113
+
114
+ For this UI shell to be considered valid inside the worker kit:
115
+
116
+ - the exported folder contains `studio/`
117
+ - `studio/package.json` and `studio/vite.config.js` exist
118
+ - the user can run `npm install` and `npm run dev` from the exported `studio/` folder
119
+ - the UI can be configured with `VITE_ZERNIO_API_URL`, `VITE_ZERNIO_API_KEY`, and `VITE_ZERNIO_PROFILE_ID`
120
+ - the UI shell remains isolated to the exported worker-kit workspace
121
+ - no external paired UI kit is required for the Zernio kit's UI truth
122
+
123
+ ---
124
+
125
+ ## Non-Goals
126
+
127
+ This document does not describe:
128
+
129
+ - a main-app integration inside the CLI repo
130
+ - a custom Agent Harness
131
+ - a new adapter registry entry
132
+ - a provider SDK install path
133
+
134
+ Those are intentionally out of scope for this exported worker-kit UI shell.
@@ -97,7 +97,7 @@ This installs Zernio's official Claude Code skill (docs + examples) alongside th
97
97
  | Simplest possible setup; agent-only mode included | Layer 1 (Working Directory) |
98
98
  | Typed tool calls from the agent to Zernio | Layer 1 + Layer 2 (MCP) |
99
99
  | First-class Zernio knowledge baked into Claude Code | Layer 1 + Layer 3 (Claude Code skill) |
100
- | Postiz UI shell with Zernio as the engine | See `docs/postiz-ui-shell-integration.md` |
100
+ | Growthub Agentic Social Media Platform UI shell | See `docs/growthub-agentic-social-platform-ui-shell.md` |
101
101
 
102
102
  All four paths work from the same kit folder. You can layer them — they are strictly additive.
103
103
 
@@ -120,4 +120,4 @@ This keeps the diff surface minimal and the kit strictly reusable across every l
120
120
  - `../setup/setup.mjs` — cross-platform bootstrap
121
121
  - `../setup/install-mcp.mjs` — per-IDE MCP config printer
122
122
  - `./zernio-api-integration.md` — Zernio REST contract
123
- - `./postiz-ui-shell-integration.md` — pair the kit with the Postiz UI kit
123
+ - `./growthub-agentic-social-platform-ui-shell.md` — exported-workspace UI shell guide
@@ -27,7 +27,7 @@ The Growthub Zernio Social Media Studio is a worker kit that wraps the [Zernio](
27
27
 
28
28
  The kit provides a self-contained local execution environment. An operator exports the kit, points Claude Code's Working Directory at the kit root, and the `zernio-social-operator` worker handles the complete 10-step social media campaign workflow.
29
29
 
30
- Unlike the Postiz kit (self-hosted fork), Zernio is a hosted SaaS: there is no docker / fork to clone. The kit works against the hosted `https://zernio.com/api/v1` endpoint using an API key.
30
+ Zernio is a hosted SaaS: there is no docker image or local fork to clone. The kit works against the hosted `https://zernio.com/api/v1` endpoint using an API key, and the exported `studio/` workspace is the user-facing UI shell.
31
31
 
32
32
  ---
33
33
 
@@ -37,7 +37,7 @@ Unlike the Postiz kit (self-hosted fork), Zernio is a hosted SaaS: there is no d
37
37
  growthub-zernio-social-v1/
38
38
  kit.json ← Kit manifest (schemaVersion: 2)
39
39
  QUICKSTART.md ← Setup guide
40
- .env.example ← Environment template
40
+ .env.example ← Worker-kit environment template
41
41
  skills.md ← Master methodology doc (read at every session)
42
42
  output-standards.md ← Output naming, structure, quality bar
43
43
  runtime-assumptions.md ← Frozen upstream assumptions
@@ -79,7 +79,7 @@ growthub-zernio-social-v1/
79
79
  platform-coverage.md
80
80
  ai-caption-layer.md
81
81
  posts-and-queues-layer.md
82
- postiz-ui-shell-integration.md Optional pair with the Postiz UI kit
82
+ growthub-agentic-social-platform-ui-shell.md Exported UI-shell workflow and setup truth
83
83
  local-adapters.md ← Per-IDE matrix (Claude/Codex/Cursor/Gemini/OpenCode/…)
84
84
  growthub-meta/
85
85
  README.md ← This file
@@ -136,11 +136,8 @@ No server-side activation is required. The kit is fully self-contained.
136
136
  | `growthub-email-marketing-v1` | operator | Email marketing campaigns |
137
137
  | `growthub-open-higgsfield-studio-v1` | studio | AI video generation via Open Higgsfield |
138
138
  | `growthub-geo-seo-v1` | studio | GEO + SEO auditing |
139
- | `growthub-postiz-social-v1` | studio | Social media via self-hosted Postiz |
140
139
  | `growthub-zernio-social-v1` | studio | Social media via hosted Zernio REST API (this kit) |
141
140
 
142
- ### Recommended Pairing — Social Media Stack
141
+ ### Exported Workspace Truth
143
142
 
144
- `growthub-postiz-social-v1` (UI shell) + `growthub-zernio-social-v1` (engine) form a first-class paired environment. Postiz provides calendar, compose, analytics shell, and team workspace. Zernio provides the 14-platform transport, queues, media, inbox, and analytics against a single bearer-token REST API no per-platform OAuth dance, no regional secrets sprayed across the kit.
145
-
146
- See `docs/postiz-ui-shell-integration.md` in this kit for the 7-module bridge recipe.
143
+ The exported worker kit is the only user-facing workspace. Inside that exported folder, `studio/` is the Vite UI shell and the rest of the kit provides the Zernio operator law, templates, setup scripts, and API contract. The CLI is responsible only for exporting this workspace cleanly.
@@ -26,7 +26,7 @@ The following files must be present in every valid kit installation. Any missing
26
26
  | `output/README.md` | Output directory guide | No |
27
27
  | All 7 template files | Campaign output templates | No — each must have all sections |
28
28
  | All 4 example files | Reference samples | No — must contain realistic filled data |
29
- | All 4 doc files | Technical reference | No |
29
+ | All 6 doc files | Technical reference | No |
30
30
  | `bundles/growthub-zernio-social-v1.json` | Bundle manifest | No |
31
31
  | `growthub-meta/README.md` | Kit metadata | No |
32
32
  | `growthub-meta/kit-standard.md` | This file | No |
@@ -24,6 +24,7 @@
24
24
  ],
25
25
  "frozenAssetPaths": [
26
26
  "QUICKSTART.md",
27
+ ".env.example",
27
28
  "skills.md",
28
29
  "output-standards.md",
29
30
  "runtime-assumptions.md",
@@ -53,8 +54,36 @@
53
54
  "docs/platform-coverage.md",
54
55
  "docs/ai-caption-layer.md",
55
56
  "docs/posts-and-queues-layer.md",
56
- "docs/postiz-ui-shell-integration.md",
57
+ "docs/growthub-agentic-social-platform-ui-shell.md",
57
58
  "docs/local-adapters.md",
59
+ "studio/.env.example",
60
+ "studio/serve.mjs",
61
+ "studio/index.html",
62
+ "studio/package.json",
63
+ "studio/package-lock.json",
64
+ "studio/vite.config.js",
65
+ "studio/dist/index.html",
66
+ "studio/dist/assets/index-DTmBMuXr.js",
67
+ "studio/dist/assets/index-gHr-nTMF.css",
68
+ "studio/src/App.jsx",
69
+ "studio/src/api.js",
70
+ "studio/src/app.css",
71
+ "studio/src/lib/rules.js",
72
+ "studio/src/lib/templates.js",
73
+ "studio/src/main.jsx",
74
+ "studio/src/views/Accounts.jsx",
75
+ "studio/src/views/Agent.jsx",
76
+ "studio/src/views/Analytics.jsx",
77
+ "studio/src/views/ApiKeys.jsx",
78
+ "studio/src/views/Automations.jsx",
79
+ "studio/src/views/CommentRules.jsx",
80
+ "studio/src/views/Compose.jsx",
81
+ "studio/src/views/Dashboard.jsx",
82
+ "studio/src/views/Inbox.jsx",
83
+ "studio/src/views/Queues.jsx",
84
+ "studio/src/views/Scheduled.jsx",
85
+ "studio/src/views/Sequences.jsx",
86
+ "studio/src/views/Templates.jsx",
58
87
  "growthub-meta/README.md",
59
88
  "growthub-meta/kit-standard.md"
60
89
  ],
@@ -69,6 +98,7 @@
69
98
  "requiredPaths": [
70
99
  "QUICKSTART.md",
71
100
  "kit.json",
101
+ ".env.example",
72
102
  "bundles/growthub-zernio-social-v1.json",
73
103
  "skills.md",
74
104
  "workers/zernio-social-operator/CLAUDE.md",
@@ -78,6 +108,8 @@
78
108
  "setup/verify-env.mjs",
79
109
  "setup/check-deps.sh",
80
110
  "output/README.md",
111
+ "studio",
112
+ "studio/dist",
81
113
  "templates",
82
114
  "docs",
83
115
  "growthub-meta"
@@ -17,7 +17,7 @@
17
17
  | Platform coverage | `docs/platform-coverage.md` |
18
18
  | AI caption layer | `docs/ai-caption-layer.md` |
19
19
  | Posts + queues layer | `docs/posts-and-queues-layer.md` |
20
- | Postiz UI shell integration | `docs/postiz-ui-shell-integration.md` |
20
+ | Growthub Agentic UI shell | `docs/growthub-agentic-social-platform-ui-shell.md` |
21
21
  | Social campaign brief | `templates/social-campaign-brief.md` |
22
22
  | Content calendar | `templates/content-calendar.md` |
23
23
  | Platform publishing plan | `templates/platform-publishing-plan.md` |
@@ -0,0 +1,3 @@
1
+ VITE_ZERNIO_API_KEY=your_zernio_api_key_here
2
+ VITE_ZERNIO_API_URL=https://zernio.com/api/v1
3
+ VITE_ZERNIO_PROFILE_ID=