@growthub/cli 0.3.59 → 0.4.1
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/assets/worker-kits/growthub-custom-workspace-starter-v1/.env.example +10 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/QUICKSTART.md +44 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/brands/NEW-CLIENT.md +10 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/brands/_template/brand-kit.md +27 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/brands/growthub/brand-kit.md +25 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/bundles/growthub-custom-workspace-starter-v1.json +47 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/docs/fork-sync-integration.md +32 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/docs/starter-kit-overview.md +26 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/docs/vite-ui-shell-guide.md +24 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/examples/workspace-sample.md +10 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/growthub-meta/README.md +3 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/growthub-meta/kit-standard.md +10 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/kit.json +101 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/output/README.md +3 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/output-standards.md +11 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/runtime-assumptions.md +8 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/setup/check-deps.sh +20 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/setup/verify-env.mjs +20 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/skills.md +14 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/index.html +12 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/package.json +20 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/serve.mjs +42 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/src/App.jsx +32 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/src/app.css +20 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/src/main.jsx +10 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/studio/vite.config.js +8 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/templates/agent-contract.md +9 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/templates/deployment-plan.md +22 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/templates/workspace-brief.md +11 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/validation-checklist.md +13 -0
- package/assets/worker-kits/growthub-custom-workspace-starter-v1/workers/custom-workspace-operator/CLAUDE.md +32 -0
- package/assets/worker-kits/growthub-zernio-social-v1/.env.example +5 -0
- package/assets/worker-kits/growthub-zernio-social-v1/QUICKSTART.md +36 -4
- package/assets/worker-kits/growthub-zernio-social-v1/bundles/growthub-zernio-social-v1.json +30 -1
- package/assets/worker-kits/growthub-zernio-social-v1/docs/growthub-agentic-social-platform-ui-shell.md +134 -0
- package/assets/worker-kits/growthub-zernio-social-v1/docs/local-adapters.md +2 -2
- package/assets/worker-kits/growthub-zernio-social-v1/growthub-meta/README.md +5 -8
- package/assets/worker-kits/growthub-zernio-social-v1/growthub-meta/kit-standard.md +1 -1
- package/assets/worker-kits/growthub-zernio-social-v1/kit.json +33 -1
- package/assets/worker-kits/growthub-zernio-social-v1/skills.md +1 -1
- package/assets/worker-kits/growthub-zernio-social-v1/studio/.env.example +3 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/assets/index-DTmBMuXr.js +78 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/assets/index-gHr-nTMF.css +1 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/dist/index.html +14 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/index.html +13 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/package-lock.json +1677 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/package.json +20 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/serve.mjs +60 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/App.jsx +130 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/api.js +146 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/app.css +558 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/lib/rules.js +64 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/lib/templates.js +207 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/main.jsx +10 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Accounts.jsx +57 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Agent.jsx +167 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Analytics.jsx +164 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/ApiKeys.jsx +143 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Automations.jsx +122 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/CommentRules.jsx +592 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Compose.jsx +185 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Dashboard.jsx +87 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Inbox.jsx +144 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Queues.jsx +167 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Scheduled.jsx +85 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Sequences.jsx +160 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/src/views/Templates.jsx +275 -0
- package/assets/worker-kits/growthub-zernio-social-v1/studio/vite.config.js +7 -0
- package/assets/worker-kits/growthub-zernio-social-v1/workers/zernio-social-operator/CLAUDE.md +3 -3
- package/dist/index.js +1183 -592
- package/package.json +1 -1
- package/assets/worker-kits/growthub-zernio-social-v1/docs/postiz-ui-shell-integration.md +0 -166
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Deployment Plan — Template
|
|
2
|
+
|
|
3
|
+
A deployment plan is the final artifact of a workspace run. It must be:
|
|
4
|
+
|
|
5
|
+
1. Human-reviewable (Markdown prose).
|
|
6
|
+
2. Machine-executable (the JSON plan block below must be shape-compatible with the bundle descriptor).
|
|
7
|
+
|
|
8
|
+
## Human summary
|
|
9
|
+
|
|
10
|
+
Describe the plan in 3–5 sentences.
|
|
11
|
+
|
|
12
|
+
## Machine plan
|
|
13
|
+
|
|
14
|
+
```json
|
|
15
|
+
{
|
|
16
|
+
"kit": "growthub-custom-workspace-starter-v1",
|
|
17
|
+
"forkId": "<filled at runtime>",
|
|
18
|
+
"actions": [
|
|
19
|
+
{ "type": "deploy", "target": "<env>" }
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Workspace Brief — Template
|
|
2
|
+
|
|
3
|
+
Use this template to capture what a new custom workspace is for.
|
|
4
|
+
|
|
5
|
+
- Client:
|
|
6
|
+
- Project slug:
|
|
7
|
+
- Goals (3 bullets max):
|
|
8
|
+
- Surface area (which worker kits this workspace composes):
|
|
9
|
+
- Out of scope:
|
|
10
|
+
- Success criteria:
|
|
11
|
+
- First heal checkpoint:
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Starter Kit — Validation Checklist
|
|
2
|
+
|
|
3
|
+
Run before declaring a workspace ready for production:
|
|
4
|
+
|
|
5
|
+
- [ ] `kit.json` is schema-v2 valid
|
|
6
|
+
- [ ] Every path listed in `frozenAssetPaths` exists on disk
|
|
7
|
+
- [ ] `.growthub-fork/fork.json` is present and `growthub kit fork status <fork-id>` returns severity = none
|
|
8
|
+
- [ ] `policy.json` reflects the intended safety envelope
|
|
9
|
+
- [ ] `trace.jsonl` contains at minimum `registered` + `policy_updated` + one `status_ran` event
|
|
10
|
+
- [ ] `studio/` builds with `npm run build` (no errors)
|
|
11
|
+
- [ ] `growthub kit fork heal <fork-id> --dry-run` produces zero errors
|
|
12
|
+
- [ ] When `policy.remoteSyncMode === "pr"`: the GitHub remote is reachable and the last heal opened a draft PR
|
|
13
|
+
- [ ] `growthub status --super-admin` shows all critical services operational
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Custom Workspace Operator — Agent Contract
|
|
2
|
+
|
|
3
|
+
You are the Custom Workspace Operator — the agent wired to this Growthub custom workspace fork. The starter kit provides the scaffold; your role is to extend it in the direction the user chooses while honouring the v1 Self-Healing Fork Sync Agent contract.
|
|
4
|
+
|
|
5
|
+
## Inputs you always have
|
|
6
|
+
|
|
7
|
+
- `kit.json` — the manifest, schema v2, family `studio`
|
|
8
|
+
- `bundles/growthub-custom-workspace-starter-v1.json` — the bundle contract
|
|
9
|
+
- `brands/_template/brand-kit.md` — empty brand scaffold
|
|
10
|
+
- `brands/growthub/brand-kit.md` — reference brand
|
|
11
|
+
- `studio/` — the Vite UI shell (React + Vite 5)
|
|
12
|
+
- `workers/custom-workspace-operator/CLAUDE.md` — this file
|
|
13
|
+
- `.growthub-fork/fork.json`, `.growthub-fork/policy.json`, `.growthub-fork/trace.jsonl` — the fork state the CLI registered for this workspace
|
|
14
|
+
|
|
15
|
+
## Non-negotiables
|
|
16
|
+
|
|
17
|
+
- Never modify files under `skills/`, `custom/`, `.env`, `.env.local`, or any path listed in `policy.untouchablePaths`.
|
|
18
|
+
- Never perform a destructive remote operation (`push --force`, `reset --hard`) without explicit user confirmation.
|
|
19
|
+
- Every significant action appends an event to `trace.jsonl` via the Fork Sync Agent — do not bypass.
|
|
20
|
+
- Respect `policy.autoApprove` + `policy.autoApproveDepUpdates`. If a change is outside scope, mark it `needsConfirmation` and park.
|
|
21
|
+
|
|
22
|
+
## Execution verbs
|
|
23
|
+
|
|
24
|
+
- `growthub starter init --name <workspace> --out <path>` — scaffold a new workspace from this starter
|
|
25
|
+
- `growthub kit fork status <fork-id>` — check drift
|
|
26
|
+
- `growthub kit fork heal <fork-id> [--dry-run | --background]` — propose + apply heal
|
|
27
|
+
- `growthub kit fork policy --fork-id <fork-id> --set <key=value>` — configure safety envelope
|
|
28
|
+
- `growthub kit fork trace --fork-id <fork-id> --tail N` — replay the event log
|
|
29
|
+
|
|
30
|
+
## Output contract
|
|
31
|
+
|
|
32
|
+
All user-facing artifacts for a custom workspace run write to `output/<client-slug>/<project-slug>/`. Machine-readable manifests should be shape-compatible with the bundle descriptor in `bundles/`.
|
|
@@ -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
|
-
| `
|
|
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/
|
|
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/
|
|
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
|
-
|
|
|
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
|
-
- `./
|
|
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
|
-
|
|
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 ←
|
|
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
|
-
|
|
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
|
-
###
|
|
141
|
+
### Exported Workspace Truth
|
|
143
142
|
|
|
144
|
-
|
|
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
|
|
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/
|
|
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
|
-
|
|
|
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` |
|