@growthub/cli 0.3.46 → 0.3.49
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 +51 -3
- package/dist/index.js +1511 -466
- package/dist/utils/banner.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# @growthub/cli
|
|
2
2
|
|
|
3
|
-
`@growthub/cli` is the published CLI for Growthub Local. It covers
|
|
3
|
+
`@growthub/cli` is the published CLI for Growthub Local. It covers four shipped workflows:
|
|
4
4
|
|
|
5
5
|
- full local app discovery and onboarding
|
|
6
6
|
- worker kit discovery, export, inspection, and validation
|
|
7
7
|
- shared template discovery and extraction
|
|
8
|
+
- hosted Growthub auth + machine profile bridge
|
|
9
|
+
|
|
10
|
+
Now supports the hosted for Growthub Auth Users, the `Workflows` discovery surface for saved workflows, templates, and hosted workflow execution.
|
|
8
11
|
|
|
9
12
|
## Install
|
|
10
13
|
|
|
@@ -27,7 +30,7 @@ npx create-growthub-local --profile dx
|
|
|
27
30
|
|
|
28
31
|
## CLI Editions
|
|
29
32
|
|
|
30
|
-
The current CLI exposes
|
|
33
|
+
The current CLI exposes four user-facing editions through `growthub discover` and direct subcommands.
|
|
31
34
|
|
|
32
35
|
### 1. Full Local App
|
|
33
36
|
|
|
@@ -133,6 +136,49 @@ User flow:
|
|
|
133
136
|
2. Preview the selected artifact.
|
|
134
137
|
3. Print it, copy it to a local workspace, or use the slug in another workflow.
|
|
135
138
|
|
|
139
|
+
### 4. Hosted Auth Bridge
|
|
140
|
+
|
|
141
|
+
Use this when you want the hosted Growthub account to remain the top-level identity while syncing safe local-machine metadata into the CLI runtime.
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
growthub auth login
|
|
145
|
+
growthub auth whoami
|
|
146
|
+
growthub auth logout
|
|
147
|
+
growthub profile status
|
|
148
|
+
growthub profile pull
|
|
149
|
+
growthub profile push
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Contract:
|
|
153
|
+
|
|
154
|
+
1. Hosted Growthub auth remains the source of truth for the user identity.
|
|
155
|
+
2. Local workspace config stays local-first and is not overwritten by hosted state.
|
|
156
|
+
3. Hosted machine linkage is stored separately from `instances/<id>/config.json`.
|
|
157
|
+
4. `growthub` and `paperclipai` remain intentional side-by-side surfaces rather than auto-loading one another.
|
|
158
|
+
|
|
159
|
+
## Workflows Discovery V1
|
|
160
|
+
|
|
161
|
+
The public CLI now supports a hosted workflow discovery flow inside the interactive hub for all Growthub Auth Users:
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
growthub discover
|
|
165
|
+
growthub workflow
|
|
166
|
+
growthub workflow templates
|
|
167
|
+
growthub workflow saved
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Use this when you want to:
|
|
171
|
+
|
|
172
|
+
- list hosted saved workflows
|
|
173
|
+
- inspect saved workflow detail
|
|
174
|
+
- save template-backed workflows into hosted Growthub
|
|
175
|
+
- execute a hosted saved workflow from the CLI
|
|
176
|
+
- see loading, progress, summary, artifacts, and credits in the terminal
|
|
177
|
+
|
|
178
|
+
The full public usage and architecture notes live here:
|
|
179
|
+
|
|
180
|
+
- [CLI Workflows Discovery V1](../docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
|
|
181
|
+
|
|
136
182
|
## Contribution Model
|
|
137
183
|
|
|
138
184
|
The CLI has two extension surfaces for content:
|
|
@@ -146,7 +192,7 @@ For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXT
|
|
|
146
192
|
|
|
147
193
|
## Development Notes
|
|
148
194
|
|
|
149
|
-
- `@growthub/cli` version: `0.3.
|
|
195
|
+
- `@growthub/cli` version: `0.3.48`
|
|
150
196
|
- Node.js: `>=20`
|
|
151
197
|
- Source of truth repo: [Growthub Local](https://github.com/Growthub-ai/growthub-local)
|
|
152
198
|
|
|
@@ -154,5 +200,7 @@ For the agent-facing extension workflow, see [docs/CLI_TEMPLATE_CONTRIBUTION_EXT
|
|
|
154
200
|
|
|
155
201
|
- [GitHub README](https://github.com/Growthub-ai/growthub-local#readme)
|
|
156
202
|
- [Contributing](https://github.com/Growthub-ai/growthub-local/blob/main/CONTRIBUTING.md)
|
|
203
|
+
- [Growthub Authentication Bridge](https://github.com/Growthub-ai/growthub-local/blob/main/docs/GROWTHUB_AUTH_BRIDGE.md)
|
|
204
|
+
- [CLI Workflows Discovery V1](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_WORKFLOWS_DISCOVERY_V1.md)
|
|
157
205
|
- [Worker Kits](https://github.com/Growthub-ai/growthub-local/blob/main/docs/WORKER_KITS.md)
|
|
158
206
|
- [CLI Template Contribution Extension Workflows](https://github.com/Growthub-ai/growthub-local/blob/main/docs/CLI_TEMPLATE_CONTRIBUTION_EXTENSION_WORKFLOWS.md)
|