@growthub/cli 0.8.0 → 0.8.2

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 (132) hide show
  1. package/assets/worker-kits/growthub-agency-portal-starter-v1/.env.example +53 -0
  2. package/assets/worker-kits/growthub-agency-portal-starter-v1/QUICKSTART.md +98 -0
  3. package/assets/worker-kits/growthub-agency-portal-starter-v1/SKILL.md +89 -0
  4. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/.env.example +25 -0
  5. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/README.md +36 -0
  6. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/api/settings/integrations/route.js +13 -0
  7. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/api/workspace/route.js +27 -0
  8. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/globals.css +237 -0
  9. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/layout.jsx +14 -0
  10. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/page.jsx +165 -0
  11. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/settings/integrations/page.jsx +134 -0
  12. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/auth/index.js +21 -0
  13. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/env.js +28 -0
  14. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/integrations/growthub-connection-normalizer.js +95 -0
  15. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/integrations/index.js +178 -0
  16. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/payments/index.js +13 -0
  17. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/index.js +13 -0
  18. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/postgres.js +16 -0
  19. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/provider-managed.js +16 -0
  20. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/qstash-kv.js +16 -0
  21. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/domain/integrations.js +185 -0
  22. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/domain/portal.js +16 -0
  23. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/next.config.js +10 -0
  24. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/package-lock.json +976 -0
  25. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/package.json +17 -0
  26. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/postcss.config.mjs +3 -0
  27. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/vercel.json +5 -0
  28. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/NEW-CLIENT.md +10 -0
  29. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/_template/brand-kit.md +27 -0
  30. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/growthub/brand-kit.md +25 -0
  31. package/assets/worker-kits/growthub-agency-portal-starter-v1/bundles/growthub-agency-portal-starter-v1.json +65 -0
  32. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/adapter-contracts.md +79 -0
  33. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/fork-sync-integration.md +32 -0
  34. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/governed-workspace-primitives.md +182 -0
  35. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/starter-kit-overview.md +30 -0
  36. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/vercel-serverless-deployment.md +46 -0
  37. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/vite-ui-shell-guide.md +24 -0
  38. package/assets/worker-kits/growthub-agency-portal-starter-v1/examples/portal-brief-sample.md +44 -0
  39. package/assets/worker-kits/growthub-agency-portal-starter-v1/examples/workspace-sample.md +10 -0
  40. package/assets/worker-kits/growthub-agency-portal-starter-v1/growthub-meta/README.md +11 -0
  41. package/assets/worker-kits/growthub-agency-portal-starter-v1/growthub-meta/kit-standard.md +16 -0
  42. package/assets/worker-kits/growthub-agency-portal-starter-v1/helpers/README.md +49 -0
  43. package/assets/worker-kits/growthub-agency-portal-starter-v1/kit.json +156 -0
  44. package/assets/worker-kits/growthub-agency-portal-starter-v1/output/README.md +13 -0
  45. package/assets/worker-kits/growthub-agency-portal-starter-v1/output-standards.md +25 -0
  46. package/assets/worker-kits/growthub-agency-portal-starter-v1/runtime-assumptions.md +15 -0
  47. package/assets/worker-kits/growthub-agency-portal-starter-v1/setup/check-deps.sh +20 -0
  48. package/assets/worker-kits/growthub-agency-portal-starter-v1/setup/verify-env.mjs +92 -0
  49. package/assets/worker-kits/growthub-agency-portal-starter-v1/skills/README.md +55 -0
  50. package/assets/worker-kits/growthub-agency-portal-starter-v1/skills.md +133 -0
  51. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/index.html +12 -0
  52. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/package-lock.json +1677 -0
  53. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/package.json +20 -0
  54. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/serve.mjs +42 -0
  55. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/App.jsx +162 -0
  56. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/app.css +138 -0
  57. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/main.jsx +10 -0
  58. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/vite.config.js +8 -0
  59. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/agent-contract.md +9 -0
  60. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/client-onboarding-plan.md +56 -0
  61. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/deployment-handoff.md +61 -0
  62. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/deployment-plan.md +22 -0
  63. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/portal-brief.md +65 -0
  64. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/project.md +55 -0
  65. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/self-eval.md +67 -0
  66. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/supabase-setup-plan.md +26 -0
  67. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/workspace-brief.md +11 -0
  68. package/assets/worker-kits/growthub-agency-portal-starter-v1/validation-checklist.md +32 -0
  69. package/assets/worker-kits/growthub-agency-portal-starter-v1/workers/agency-portal-operator/CLAUDE.md +75 -0
  70. package/assets/worker-kits/growthub-creative-video-pipeline-v1/.env.example +28 -0
  71. package/assets/worker-kits/growthub-creative-video-pipeline-v1/QUICKSTART.md +118 -0
  72. package/assets/worker-kits/growthub-creative-video-pipeline-v1/SKILL.md +103 -0
  73. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/.env.example +20 -0
  74. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/README.md +33 -0
  75. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/app/api/pipeline/route.js +27 -0
  76. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/app/globals.css +203 -0
  77. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/app/layout.jsx +14 -0
  78. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/app/page.jsx +131 -0
  79. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/app/settings/keys/page.jsx +154 -0
  80. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/lib/adapters/env.js +14 -0
  81. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/lib/adapters/generative/index.js +31 -0
  82. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/lib/domain/pipeline.js +30 -0
  83. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/next.config.js +10 -0
  84. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/package-lock.json +17 -0
  85. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/package.json +17 -0
  86. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/postcss.config.mjs +3 -0
  87. package/assets/worker-kits/growthub-creative-video-pipeline-v1/apps/creative-video-pipeline/vercel.json +5 -0
  88. package/assets/worker-kits/growthub-creative-video-pipeline-v1/brands/NEW-CLIENT.md +21 -0
  89. package/assets/worker-kits/growthub-creative-video-pipeline-v1/brands/_template/brand-kit.md +123 -0
  90. package/assets/worker-kits/growthub-creative-video-pipeline-v1/brands/growthub/brand-kit.md +123 -0
  91. package/assets/worker-kits/growthub-creative-video-pipeline-v1/bundles/growthub-creative-video-pipeline-v1.json +83 -0
  92. package/assets/worker-kits/growthub-creative-video-pipeline-v1/docs/adapter-contracts.md +73 -0
  93. package/assets/worker-kits/growthub-creative-video-pipeline-v1/docs/governed-workspace-primitives.md +50 -0
  94. package/assets/worker-kits/growthub-creative-video-pipeline-v1/docs/pipeline-architecture.md +61 -0
  95. package/assets/worker-kits/growthub-creative-video-pipeline-v1/docs/starter-kit-overview.md +33 -0
  96. package/assets/worker-kits/growthub-creative-video-pipeline-v1/docs/vercel-deployment.md +42 -0
  97. package/assets/worker-kits/growthub-creative-video-pipeline-v1/examples/pipeline-brief-sample.md +56 -0
  98. package/assets/worker-kits/growthub-creative-video-pipeline-v1/growthub-meta/README.md +9 -0
  99. package/assets/worker-kits/growthub-creative-video-pipeline-v1/growthub-meta/kit-standard.md +24 -0
  100. package/assets/worker-kits/growthub-creative-video-pipeline-v1/helpers/README.md +8 -0
  101. package/assets/worker-kits/growthub-creative-video-pipeline-v1/helpers/check-generative-adapter.sh +41 -0
  102. package/assets/worker-kits/growthub-creative-video-pipeline-v1/helpers/run-pipeline.sh +30 -0
  103. package/assets/worker-kits/growthub-creative-video-pipeline-v1/kit.json +148 -0
  104. package/assets/worker-kits/growthub-creative-video-pipeline-v1/output/README.md +23 -0
  105. package/assets/worker-kits/growthub-creative-video-pipeline-v1/output-standards.md +63 -0
  106. package/assets/worker-kits/growthub-creative-video-pipeline-v1/runtime-assumptions.md +61 -0
  107. package/assets/worker-kits/growthub-creative-video-pipeline-v1/setup/check-deps.sh +63 -0
  108. package/assets/worker-kits/growthub-creative-video-pipeline-v1/setup/clone-fork.sh +18 -0
  109. package/assets/worker-kits/growthub-creative-video-pipeline-v1/setup/install-skill.sh +10 -0
  110. package/assets/worker-kits/growthub-creative-video-pipeline-v1/setup/verify-env.mjs +50 -0
  111. package/assets/worker-kits/growthub-creative-video-pipeline-v1/skills/README.md +11 -0
  112. package/assets/worker-kits/growthub-creative-video-pipeline-v1/skills/brief-generation/SKILL.md +42 -0
  113. package/assets/worker-kits/growthub-creative-video-pipeline-v1/skills/generative-execution/SKILL.md +86 -0
  114. package/assets/worker-kits/growthub-creative-video-pipeline-v1/skills/video-edit/SKILL.md +41 -0
  115. package/assets/worker-kits/growthub-creative-video-pipeline-v1/skills.md +302 -0
  116. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/index.html +12 -0
  117. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/package-lock.json +20 -0
  118. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/package.json +20 -0
  119. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/serve.mjs +41 -0
  120. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/src/App.jsx +210 -0
  121. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/src/app.css +194 -0
  122. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/src/main.jsx +10 -0
  123. package/assets/worker-kits/growthub-creative-video-pipeline-v1/studio/vite.config.js +8 -0
  124. package/assets/worker-kits/growthub-creative-video-pipeline-v1/templates/edit-plan.md +66 -0
  125. package/assets/worker-kits/growthub-creative-video-pipeline-v1/templates/generative-plan.md +83 -0
  126. package/assets/worker-kits/growthub-creative-video-pipeline-v1/templates/pipeline-brief.md +129 -0
  127. package/assets/worker-kits/growthub-creative-video-pipeline-v1/templates/project.md +68 -0
  128. package/assets/worker-kits/growthub-creative-video-pipeline-v1/templates/self-eval.md +67 -0
  129. package/assets/worker-kits/growthub-creative-video-pipeline-v1/validation-checklist.md +52 -0
  130. package/assets/worker-kits/growthub-creative-video-pipeline-v1/workers/creative-video-pipeline-operator/CLAUDE.md +109 -0
  131. package/dist/index.js +42 -33
  132. package/package.json +1 -1
@@ -0,0 +1,109 @@
1
+ # Creative Video Pipeline Operator
2
+
3
+ **Kit:** `growthub-creative-video-pipeline-v1`
4
+ **Worker ID:** `creative-video-pipeline-operator`
5
+ **Version:** `1.0.0`
6
+
7
+ ## Role
8
+
9
+ You produce end-to-end video content: a brand-grounded creative brief (Stage 1), generative image/video assets via the growthub pipeline or BYOK provider (Stage 2), and a fully edited final video via the video-use fork (Stage 3). You maintain the governed workspace across all three stages — every material change lands in `project.md` and `trace.jsonl`.
10
+
11
+ ## Required startup
12
+
13
+ 1. Read `skills.md`.
14
+ 2. Read `runtime-assumptions.md`.
15
+ 3. Resolve workspace: `WORKSPACE="${CREATIVE_VIDEO_PIPELINE_HOME:-$HOME/creative-video-pipeline}"`.
16
+ 4. Verify environment: `bash setup/check-deps.sh && node setup/verify-env.mjs`.
17
+ 5. Check generative adapter: `bash helpers/check-generative-adapter.sh`.
18
+ 6. If `ADAPTER=growthub-pipeline`: confirm auth with `growthub auth whoami --json`.
19
+
20
+ If setup checks fail, stop and return remediation only. Do not invent keys or hardcode paths.
21
+
22
+ ## Source of truth (read in this order)
23
+
24
+ 1. `.growthub-fork/project.md` — session memory
25
+ 2. `SKILL.md` — routing menu and selfEval criteria
26
+ 3. `skills.md` — full 3-stage operator runbook ← ground truth for all stage decisions
27
+ 4. `docs/adapter-contracts.md` — generative adapter detail
28
+ 5. `docs/pipeline-architecture.md` — chain composition
29
+ 6. `runtime-assumptions.md` — host requirements
30
+ 7. `validation-checklist.md` — pre-flight and post-pipeline checks
31
+
32
+ When `skills.md` and this file conflict, `skills.md` wins on stage execution detail. This file wins on startup order and non-negotiable rules.
33
+
34
+ ## Input contract
35
+
36
+ - Brand kit at `brands/<client-slug>/brand-kit.md` (copied from `brands/_template/`).
37
+ - User-supplied campaign intent, target length, and aesthetic direction.
38
+ - Optional: reference images for Stage 2 generative bindings.
39
+ - Optional: `${CREATIVE_STRATEGIST_HOME}/templates/hooks-library/500-winning-hooks.csv` for hook selection.
40
+
41
+ ## Output artifacts
42
+
43
+ ```
44
+ output/<client-slug>/<project-slug>/
45
+ ├── brief/pipeline-brief.md Stage 1
46
+ ├── generative/manifest.json Stage 2
47
+ ├── generative/*.mp4 / *.jpg Stage 2
48
+ └── final/final.mp4 Stage 3
49
+ ```
50
+
51
+ ## Stage execution summary
52
+
53
+ **Stage 1 — Brief**
54
+ - Load brand kit → scene structure → hook selection → write `pipeline-brief.md`
55
+ - Spawn sub-skill: `skills/brief-generation/SKILL.md` for heavy context work
56
+ - Self-eval: brief sourced from brand-kit.md, not memory; brand constraints box present
57
+
58
+ **Stage 2 — Generate**
59
+ - Check adapter (`bash helpers/check-generative-adapter.sh`)
60
+ - Growthub-pipeline path: `bash helpers/run-pipeline.sh` with `video-generation` CMS node
61
+ - BYOK path: `lib/adapters/generative/index.js` routes to provider SDK
62
+ - Both paths write `manifest.json` through the adapter contract using official CLI/SDK execution events
63
+ - Spawn sub-skill: `skills/generative-execution/SKILL.md`
64
+ - Self-eval: manifest.json has one artifact URL per scene; no secrets in artifacts
65
+
66
+ **Stage 3 — Edit**
67
+ - Verify `VIDEO_USE_HOME` → stage clips → write `edit-plan.md` → hand off to video-use agent
68
+ - video-use fork: Scribe transcription → EDL → FFmpeg render → final.mp4
69
+ - Spawn sub-skill: `skills/video-edit/SKILL.md`
70
+ - Self-eval: `final.mp4` exists, duration ±10% of target, QA checklist passes
71
+
72
+ ## Non-negotiable rules
73
+
74
+ 1. Brief content sourced from `brand-kit.md` only — no brand detail from memory.
75
+ 2. Generative execution routes through the adapter contract — no raw API calls outside it.
76
+ 3. Stage 3 delegates to `VIDEO_USE_HOME` fork — never duplicate its pipeline inline.
77
+ 4. `output/<client>/<project>/` is the only write root for pipeline artifacts.
78
+ 5. `ELEVENLABS_API_KEY` and provider keys never appear in output artifacts.
79
+ 6. AI generation prompts in brief Appendix only — never inline in scene blocks.
80
+ 7. Append to `.growthub-fork/project.md` at every stage boundary.
81
+ 8. `maxRetries: 3` enforced per selfEval criteria — park with `needs_confirmation` at ceiling.
82
+
83
+ ## Troubleshooting
84
+
85
+ - Missing `ELEVENLABS_API_KEY` → re-run `node setup/verify-env.mjs`.
86
+ - `growthub auth whoami` fails → run `growthub auth login`.
87
+ - `VIDEO_USE_HOME` not found → run `bash setup/clone-fork.sh`.
88
+ - `~/.claude/skills/video-use` missing → run `bash setup/install-skill.sh`.
89
+ - `ffmpeg` not found → re-run `bash setup/check-deps.sh`.
90
+
91
+ ---
92
+
93
+ ## Governed-workspace primitives (v1.2)
94
+
95
+ This workspace carries the six architectural primitives every Growthub fork inherits. The contract is capability-agnostic (`@growthub/api-contract/skills::SkillManifest`); kit-specific specialisation lives in `skills.md` above.
96
+
97
+ 1. **`SKILL.md`** at the kit root — the discovery entry / routing menu. Read before `skills.md`.
98
+ 2. **Repo-root `AGENTS.md` pointer** — Cursor / Claude / Codex all read the same contract.
99
+ 3. **`.growthub-fork/project.md`** — session memory, seeded at init/import from `templates/project.md`. Append a dated entry after every material change.
100
+ 4. **Self-evaluation (`selfEval.criteria` + `maxRetries`)** — generate → apply → evaluate → record; retry up to 3; every attempt writes to both `project.md` (human) and `trace.jsonl` (machine). Use `recordSelfEval` (`cli/src/skills/self-eval.ts`); never bypass the fork-trace primitive.
101
+ 5. **Nested `skills/<slug>/SKILL.md`** — `brief-generation`, `generative-execution`, `video-edit` lanes.
102
+ 6. **`helpers/<verb>.{sh,mjs,py}`** — `run-pipeline.sh`, `check-generative-adapter.sh`.
103
+
104
+ Command surface from inside this fork:
105
+
106
+ - `growthub skills list` — enumerate this fork's SKILL.md tree
107
+ - `growthub skills validate` — strict shape check
108
+ - `growthub skills session show` — print `.growthub-fork/project.md`
109
+ - `growthub skills session init --kit growthub-creative-video-pipeline-v1` — (re-)seed session memory
package/dist/index.js CHANGED
@@ -8519,6 +8519,24 @@ var init_catalog = __esm({
8519
8519
  activationModes: ["export"],
8520
8520
  family: "studio"
8521
8521
  },
8522
+ {
8523
+ id: "growthub-agency-portal-starter-v1",
8524
+ packageDirName: "growthub-agency-portal-starter-v1",
8525
+ defaultBundleId: "growthub-agency-portal-starter-v1",
8526
+ type: "worker",
8527
+ executionMode: "export",
8528
+ activationModes: ["export"],
8529
+ family: "studio"
8530
+ },
8531
+ {
8532
+ id: "growthub-creative-video-pipeline-v1",
8533
+ packageDirName: "growthub-creative-video-pipeline-v1",
8534
+ defaultBundleId: "growthub-creative-video-pipeline-v1",
8535
+ type: "worker",
8536
+ executionMode: "export",
8537
+ activationModes: ["export"],
8538
+ family: "studio"
8539
+ },
8522
8540
  {
8523
8541
  id: "growthub-twenty-crm-v1",
8524
8542
  packageDirName: "growthub-twenty-crm-v1",
@@ -34184,16 +34202,6 @@ async function runDiscoveryHub(opts) {
34184
34202
  label: "\u{1F4D6} Memory & Knowledge",
34185
34203
  hint: "persistent memory, search, multi-provider config, Growthub sync"
34186
34204
  },
34187
- {
34188
- value: "skills-catalog",
34189
- label: "\u{1F4C7} Skills Catalog",
34190
- hint: "enumerate SKILL.md across this tree + inspect .growthub-fork/project.md"
34191
- },
34192
- {
34193
- value: "hosted-auth",
34194
- label: "\u{1F510} Connect Growthub Account",
34195
- hint: "Attach this CLI to the hosted Growthub user through the canonical browser flow"
34196
- },
34197
34205
  {
34198
34206
  value: "help",
34199
34207
  label: "\u2753 Help CLI",
@@ -34430,6 +34438,11 @@ async function runDiscoveryHub(opts) {
34430
34438
  label: "\u{1F6A2} Fleet Operations",
34431
34439
  hint: "Fleet-level fork view \xB7 drift \xB7 policy matrix \xB7 approvals \xB7 agent-led plans"
34432
34440
  },
34441
+ {
34442
+ value: "skills-catalog",
34443
+ label: "\u{1F4C7} Skills Catalog",
34444
+ hint: "enumerate SKILL.md across this tree + inspect .growthub-fork/project.md"
34445
+ },
34433
34446
  {
34434
34447
  value: "__back_to_hub",
34435
34448
  label: "\u2190 Back to main menu"
@@ -34537,6 +34550,25 @@ async function runDiscoveryHub(opts) {
34537
34550
  await fleetView({});
34538
34551
  continue;
34539
34552
  }
34553
+ if (surfaceChoice2 === "skills-catalog") {
34554
+ const { readSkillCatalog: readSkillCatalog2 } = await Promise.resolve().then(() => (init_catalog2(), catalog_exports));
34555
+ const catalog = readSkillCatalog2({ root: process.cwd() });
34556
+ p34.note(
34557
+ [
34558
+ `Root: ${pc49.cyan(catalog.catalog.root ?? process.cwd())}`,
34559
+ `Skills discovered: ${pc49.bold(String(catalog.entries.length))}`,
34560
+ catalog.warnings.length > 0 ? `Warnings: ${pc49.yellow(String(catalog.warnings.length))}` : `Warnings: 0`,
34561
+ "",
34562
+ "Invoke directly:",
34563
+ " growthub skills list --json",
34564
+ " growthub skills validate",
34565
+ " growthub skills session show",
34566
+ " growthub skills session init --kit <kit-id>"
34567
+ ].join("\n"),
34568
+ "Skills Catalog"
34569
+ );
34570
+ continue;
34571
+ }
34540
34572
  }
34541
34573
  continue;
34542
34574
  }
@@ -34560,29 +34592,6 @@ async function runDiscoveryHub(opts) {
34560
34592
  if (result2 === "back") continue;
34561
34593
  return;
34562
34594
  }
34563
- if (surfaceChoice === "skills-catalog") {
34564
- const { readSkillCatalog: readSkillCatalog2 } = await Promise.resolve().then(() => (init_catalog2(), catalog_exports));
34565
- const catalog = readSkillCatalog2({ root: process.cwd() });
34566
- p34.note(
34567
- [
34568
- `Root: ${pc49.cyan(catalog.catalog.root ?? process.cwd())}`,
34569
- `Skills discovered: ${pc49.bold(String(catalog.entries.length))}`,
34570
- catalog.warnings.length > 0 ? `Warnings: ${pc49.yellow(String(catalog.warnings.length))}` : `Warnings: 0`,
34571
- "",
34572
- "Invoke directly:",
34573
- " growthub skills list --json",
34574
- " growthub skills validate",
34575
- " growthub skills session show",
34576
- " growthub skills session init --kit <kit-id>"
34577
- ].join("\n"),
34578
- "Skills Catalog"
34579
- );
34580
- continue;
34581
- }
34582
- if (surfaceChoice === "hosted-auth") {
34583
- await runHostedBridgeEntry({ config: opts?.config, dataDir: opts?.dataDir });
34584
- continue;
34585
- }
34586
34595
  const result = await runTemplatePicker({ allowBackToHub: true });
34587
34596
  if (result === "back") continue;
34588
34597
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growthub/cli",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Growthub Local is a control plane for forked worker kits. The CLI is the executor, the hosted app is the identity authority, the worker kit is the unit of portable agent infrastructure, and the fork is the operator's personal branch of that infrastructure — policy-governed, trace-backed, and self-healing.",
5
5
  "type": "module",
6
6
  "bin": {