@genfeedai/cli 0.4.0 → 0.7.0

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 (3) hide show
  1. package/README.md +320 -88
  2. package/dist/index.js +90261 -27488
  3. package/package.json +32 -32
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @genfeedai/cli
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@genfeedai/cli.svg)](https://www.npmjs.com/package/@genfeedai/cli)
4
- [![CI](https://github.com/genfeedai/cli/actions/workflows/ci.yml/badge.svg)](https://github.com/genfeedai/cli/actions/workflows/ci.yml)
4
+ [![CI](https://github.com/genfeedai/genfeed.ai/actions/workflows/ci.yml/badge.svg)](https://github.com/genfeedai/genfeed.ai/actions/workflows/ci.yml)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
6
 
7
7
  ```
@@ -13,12 +13,45 @@
13
13
  > What image | video do you want to create? _
14
14
  ```
15
15
 
16
- CLI tool for [Genfeed.ai](https://genfeed.ai) - Generate, schedule, analyze, and publish AI content from your terminal.
16
+ The Genfeed terminal content workspace. Use the interactive TUI for creative work and slash
17
+ commands, or the deterministic command tree for scripts and external agents.
18
+
19
+ ## Last Verified
20
+
21
+ - **Date:** 2026-08-06
22
+ - **Implemented state source:** local `packages/cli/` commands and package metadata
23
+ - **Delivery state source:** GitHub issues/project metadata
24
+
25
+ ## Dual-State Note
26
+
27
+ - **Implemented state:** command behavior documented here should match `src/commands/*`.
28
+ - **Delivery state:** roadmap/priority comes from GitHub Issues/Projects, not this README.
29
+
30
+ ## Monorepo Location
31
+
32
+ The CLI lives in `packages/cli` inside the `genfeedai/genfeed.ai` monorepo. It is part of the root `packages/*` workspace and uses the same Turbo build, lint, test, and type-check flow as the other shared packages.
33
+
34
+ Root-level commands:
35
+
36
+ ```bash
37
+ bun run build:cli
38
+ bun run test:cli
39
+ bun run type-check:cli
40
+ bun run dev:cli -- --help
41
+ ```
42
+
43
+ Package-level commands:
44
+
45
+ ```bash
46
+ bun run --cwd packages/cli build
47
+ bun run --cwd packages/cli test
48
+ bun run --cwd packages/cli type-check
49
+ ```
17
50
 
18
51
  ## Requirements
19
52
 
20
- - Node.js 18+
21
- - A [Genfeed.ai](https://genfeed.ai) account with API access
53
+ - Node.js 24+
54
+ - A [Genfeed.ai](https://genfeed.ai) account (existing users can log in; new users can sign up from the CLI)
22
55
 
23
56
  ## Installation
24
57
 
@@ -36,40 +69,88 @@ npm install -g @genfeedai/cli
36
69
 
37
70
  ## Quick Start
38
71
 
39
- Login with your API key:
72
+ Open the interactive workspace:
73
+
74
+ ```bash
75
+ gf
76
+ ```
77
+
78
+ Inside it, normal text talks to the Genfeed agent and `/` commands perform direct actions:
79
+
80
+ ```text
81
+ › Build a launch campaign for our new product
82
+ › /image cinematic product launch poster
83
+ › /workflow run weekly-content
84
+ › /credits buy 5000
85
+ ```
86
+
87
+ The equivalent non-interactive commands are shell commands without a leading slash:
88
+
89
+ ```bash
90
+ gf gen image "A futuristic cityscape at sunset"
91
+ gf gen video "A drone flying over mountains"
92
+ ```
93
+
94
+ ## Authentication
95
+
96
+ `genfeed` and `gf` share one command tree. The one-command path is browser login. No secret is pasted into chat:
40
97
 
41
98
  ```bash
42
99
  genfeed login
43
100
  ```
44
101
 
45
- Generate an image:
102
+ That opens the app OAuth page (`/oauth/cli`), listens on localhost, checks `state`, and exchanges the code at `POST /auth/desktop/exchange` (PKCE S256, the same desktop exchange the web app already uses). The API key is written to `~/.gf/config.json`. `~/.gf` is mode `0700` and `config.json` is mode `0600`. There is no second credential file.
103
+
104
+ Show whether you are logged in, the stored organization, and the scopes of that key (scopes come from `GET /auth/whoami`):
46
105
 
47
106
  ```bash
48
- genfeed generate image "A futuristic cityscape at sunset"
107
+ genfeed auth status
49
108
  ```
50
109
 
51
- Generate a video:
110
+ Log out. Both commands remove the stored API key and the active brand. A `GENFEED_API_KEY` in the environment is a process override and is not cleared:
52
111
 
53
112
  ```bash
54
- genfeed generate video "A drone flying over mountains"
113
+ genfeed auth logout
114
+ genfeed logout
55
115
  ```
56
116
 
57
- ## Authentication
117
+ Create an account in the same browser flow:
58
118
 
59
- Get your API key from the [Genfeed.ai dashboard](https://app.genfeed.ai/settings/api-keys).
119
+ ```bash
120
+ gf signup
121
+ ```
60
122
 
61
- Interactive login:
123
+ CI and other headless runs skip login. `GENFEED_API_KEY` overrides the key in `~/.gf/config.json` for that process, so the secret stays in the environment instead of shell history:
62
124
 
63
125
  ```bash
64
- genfeed login
126
+ export GENFEED_API_KEY=gf_live_xxx
127
+ genfeed whoami
128
+ ```
129
+
130
+ `--key` and `--interactive` remain for machines without a browser. Prefer `GENFEED_API_KEY` in CI. A key passed on the command line is stored in shell history.
131
+
132
+ ```bash
133
+ genfeed login --interactive
134
+ ```
135
+
136
+ Self-hosted login — point the browser flow at your own deployment:
137
+
138
+ ```bash
139
+ genfeed login --api-url https://api.yourdomain.com/v1
65
140
  ```
66
141
 
67
- Non-interactive login:
142
+ Both URLs are saved to the active profile, so subsequent commands target the same deployment. The
143
+ web app URL serving `/oauth/cli` is derived from the API URL (`api.` → `app.`, or the API origin
144
+ when the API is path-mounted). Override it when your app lives somewhere else:
68
145
 
69
146
  ```bash
70
- genfeed login --key gf_live_xxx
147
+ genfeed login --api-url https://yourdomain.com/api/v1 --app-url https://studio.yourdomain.com
71
148
  ```
72
149
 
150
+ The same values are settable outside login via `genfeed config set api-url <url>` /
151
+ `genfeed config set app-url <url>`, or the `GENFEED_API_URL` / `GENFEED_APP_URL` env vars.
152
+ `genfeed config show` prints the resolved app URL and marks it `(derived)` when it was inferred.
153
+
73
154
  Check current user:
74
155
 
75
156
  ```bash
@@ -84,58 +165,142 @@ genfeed logout
84
165
 
85
166
  ## Commands
86
167
 
87
- ### Brand Management
168
+ ### API Keys
169
+
170
+ List, create, rotate, and revoke API keys for headless and MCP access:
171
+
172
+ ```bash
173
+ genfeed keys list
174
+ genfeed keys create -n "CI publisher" -p content
175
+ genfeed keys create -n "MCP agent" -p mcp
176
+ genfeed keys rotate <id>
177
+ genfeed keys revoke <id>
178
+ ```
179
+
180
+ `create` takes a scope preset via `-p` (`mcp`, `read`, `content`, `full`) or an explicit `--scopes` list, plus optional `--expires-at`, `--rate-limit`, and `--allow-ip`. The secret is printed once, on creation and on rotation. `genfeed keys create -p mcp` still works after `genfeed login`.
181
+
182
+ ### CLI Configuration
183
+
184
+ Inspect and edit the active profile:
185
+
186
+ ```bash
187
+ genfeed config show
188
+ genfeed config path
189
+ genfeed config set api-url http://localhost:3010/v1
190
+ genfeed config reset --force
191
+ ```
192
+
193
+ Settable keys: `agent-model`, `api-key`, `api-url`, `brand`, `fleet-host`, `fleet-port`, `org-id`, `persona`, `role`.
194
+
195
+ ### Organizations
196
+
197
+ List your organizations:
198
+
199
+ ```bash
200
+ gf organizations
201
+ ```
202
+
203
+ Switch the active organization (also updates the default brand):
204
+
205
+ ```bash
206
+ gf organizations select
207
+ ```
208
+
209
+ Show the current organization:
210
+
211
+ ```bash
212
+ gf organizations current
213
+ ```
214
+
215
+ ### Brands
88
216
 
89
217
  List all brands:
90
218
 
91
219
  ```bash
92
- genfeed brands
220
+ gf brand list
93
221
  ```
94
222
 
95
223
  Select active brand:
96
224
 
97
225
  ```bash
98
- genfeed brands select
226
+ gf brand use <id-or-slug-or-label>
99
227
  ```
100
228
 
101
229
  Show current brand:
102
230
 
103
231
  ```bash
104
- genfeed brands current
232
+ gf brand current
233
+ ```
234
+
235
+ The published `brands` spelling remains an alias, and `brand use` has an interactive picker when
236
+ the reference is omitted.
237
+
238
+ ### Balance and credit checkout
239
+
240
+ `balance` is the fast read. `credits` owns credit-related actions:
241
+
242
+ ```bash
243
+ gf balance
244
+ gf credits packs
245
+ gf credits buy 5000
246
+ gf credits history --limit 20
247
+ ```
248
+
249
+ `gf credits buy` asks the API for a server-priced Stripe Checkout session and opens the hosted
250
+ checkout page. The CLI never accepts card data or a caller-supplied Stripe price ID. Use
251
+ `--no-open --json` to return the secure URL for a remote/headless session. Cryptocurrency checkout
252
+ is not advertised as supported; it remains a separate payments/compliance decision rather than a
253
+ CLI-specific payment path.
254
+
255
+ ### Workflows
256
+
257
+ ```bash
258
+ gf workflow list
259
+ gf workflow run weekly-content --inputs '{"topic":"launch"}'
260
+ gf workflow runs --status completed
261
+ gf workflow status <execution-id>
105
262
  ```
106
263
 
264
+ `workflow run` accepts an exact workflow ID, key, or label. Ambiguous labels are rejected before a
265
+ run is created.
266
+
107
267
  ### Image Generation
108
268
 
109
269
  Basic generation:
110
270
 
111
271
  ```bash
112
- genfeed generate image "Your prompt here"
272
+ gf gen image "Your prompt here"
113
273
  ```
114
274
 
115
275
  With options:
116
276
 
117
277
  ```bash
118
- genfeed generate image "Your prompt" --model imagen-4 --width 1920 --height 1080 --output ./image.jpg
278
+ gf gen image "Your prompt" --model imagen-4 --width 1920 --height 1080 --output ./image.jpg
119
279
  ```
120
280
 
121
281
  Don't wait for completion:
122
282
 
123
283
  ```bash
124
- genfeed generate image "Your prompt" --no-wait
284
+ gf gen image "Your prompt" --no-wait
125
285
  ```
126
286
 
287
+ The image command exposes the generation API's creative controls, including references, output
288
+ count, seed, style, format, mood, camera, lens, scene, lighting, negative prompt, blacklist, tags,
289
+ automatic model routing and priority, brand/fidelity modes, and prompt templates. Run
290
+ `gf gen image --help` for the complete list.
291
+
127
292
  ### Video Generation
128
293
 
129
294
  Basic generation:
130
295
 
131
296
  ```bash
132
- genfeed generate video "Your prompt here"
297
+ gf gen video "Your prompt here"
133
298
  ```
134
299
 
135
300
  With options:
136
301
 
137
302
  ```bash
138
- genfeed generate video "Your prompt" --model google-veo-3 --duration 10 --resolution 1080p --output ./video.mp4
303
+ gf gen video "Your prompt" --model google-veo-3 --duration 10 --resolution 1080p --output ./video.mp4
139
304
  ```
140
305
 
141
306
  ### Article Generation
@@ -146,16 +311,22 @@ Generate an article:
146
311
  genfeed generate article "Write about AI marketing trends" --category marketing
147
312
  ```
148
313
 
314
+ Generate several at once, steered by keywords:
315
+
316
+ ```bash
317
+ genfeed generate article "Write about AI marketing trends" --count 3 --keywords ai,marketing,seo
318
+ ```
319
+
149
320
  Generate long-form X article:
150
321
 
151
322
  ```bash
152
- genfeed generate article-x "Write a founder update thread"
323
+ genfeed generate article-x "Write a founder update thread" --tone analytical --words 3000
153
324
  ```
154
325
 
155
- Start async and poll later:
326
+ Article generation is synchronous — the command returns the finished articles, so
327
+ there is nothing to poll. To re-read one later:
156
328
 
157
329
  ```bash
158
- genfeed generate article "Your prompt" --no-wait
159
330
  genfeed status <article-id> --type article
160
331
  ```
161
332
 
@@ -179,97 +350,116 @@ Check article status:
179
350
  genfeed status <id> --type article
180
351
  ```
181
352
 
182
- ### Batch Generation
353
+ ### Assets and jobs
183
354
 
184
355
  ```bash
185
- genfeed batch create -n 5 -p twitter,linkedin --topics ai,product --style professional
186
- genfeed batch list
187
- genfeed batch show <batch-id>
188
- genfeed batch approve <batch-id>
356
+ gf asset list --type image --limit 20
357
+ gf asset show <id>
358
+ gf asset download <id> --output ./asset.jpg
359
+ gf job status <id> --type image
189
360
  ```
190
361
 
191
- ### Templates
362
+ `library` remains an alias for `asset`; the singular namespace keeps shell completion and nested
363
+ actions predictable.
192
364
 
193
- ```bash
194
- genfeed template list
195
- genfeed template create --label "LinkedIn Hook" --purpose prompt --content "Write a hook about {{topic}}"
196
- genfeed template use <template-id> --variables '{"topic":"AI workflows"}'
197
- ```
365
+ ### Agent Chat
198
366
 
199
- ### Scheduling and Insights
367
+ Start the interactive Genfeed agent shell:
200
368
 
201
369
  ```bash
202
- genfeed schedule calendar
203
- genfeed insights
204
- genfeed insights times --platform twitter
205
- genfeed performance weekly
206
- genfeed credits summary
207
- genfeed posts list --platform twitter --status published
370
+ genfeed chat
371
+ genfeed chat --thread <thread-id>
372
+ genfeed chat --model claude-3-7-sonnet
208
373
  ```
209
374
 
210
- ### Darkroom (Admin)
211
-
212
- Check GPU health:
375
+ Send one non-interactive agent turn for Claude/OpenAI/OpenClaw-style tool use:
213
376
 
214
377
  ```bash
215
- gf darkroom health
378
+ genfeed chat send "Plan a launch week content sequence" --json
379
+ genfeed chat send --thread <thread-id> --stdin < prompt.txt
380
+ genfeed chat send "Review this draft" \
381
+ --attachment '{"url":"https://cdn.genfeed.ai/example.png","kind":"image"}' \
382
+ --json
216
383
  ```
217
384
 
218
- Manage ComfyUI service:
385
+ Answer a pending input request on an existing thread:
219
386
 
220
387
  ```bash
221
- gf darkroom comfy status
222
- gf darkroom comfy restart
388
+ genfeed threads respond <thread-id> "Use the more technical angle" --json
223
389
  ```
224
390
 
225
- List available LoRA models:
391
+ ### Turbo
226
392
 
227
393
  ```bash
228
- gf darkroom loras
394
+ genfeed turbo create -n 5 -p twitter,linkedin --topics ai,product --style professional
395
+ genfeed turbo list
396
+ genfeed turbo show <run-id>
397
+ genfeed turbo approve <run-id>
229
398
  ```
230
399
 
231
- ### Training (Admin)
232
-
233
- Start LoRA training:
400
+ ### Templates
234
401
 
235
402
  ```bash
236
- gf train <handle> --steps 2000 --wait
403
+ genfeed template list
404
+ genfeed template create --label "LinkedIn Hook" --purpose prompt --content "Write a hook about {{topic}}"
405
+ genfeed template use <template-id> --variables '{"topic":"AI workflows"}'
237
406
  ```
238
407
 
239
- Check training status:
408
+ ### Scheduling and Insights
240
409
 
241
410
  ```bash
242
- gf train status <jobId> --watch
411
+ genfeed schedule optimal --platform twitter
412
+ genfeed insights
413
+ genfeed insights times --platform twitter
414
+ genfeed performance weekly
415
+ genfeed credits usage
416
+ genfeed posts list --platform twitter --status published
243
417
  ```
244
418
 
245
- ### Datasets (Admin)
419
+ ### Admin (super admins)
246
420
 
247
- View dataset info:
421
+ One-off admin work over the API, with no deploy and no direct database access.
422
+ `genfeed admin login` signs you in as a super admin in your browser and stores a
423
+ revocable session (no API key is created). Each call swaps that session for a
424
+ short-lived token. Admin routes also require your IP in the API's
425
+ `ADMIN_ALLOWED_IPS`.
248
426
 
249
427
  ```bash
250
- gf dataset info <handle>
428
+ genfeed admin login
429
+ genfeed admin status
430
+ genfeed admin notifications [--expect users posts] # Discord bot ready? which operator channels have no ID (IDs are never shown)
431
+ genfeed admin pricing sync [--provider fal] # queue the provider price import now
432
+ genfeed admin pricing report --attention # models whose provider price needs review
433
+ genfeed admin pricing approve <model> # preview the pending rates
434
+ genfeed admin pricing approve <model> --yes # approve them
435
+ genfeed admin seed articles --owner-email you@x.com --brand-slug genfeed # dry run
436
+ genfeed admin seed articles --owner-email you@x.com --brand-slug genfeed --yes
437
+ genfeed admin seed templates [--yes] # platform (system) templates
438
+ genfeed admin seed workflows --brand-id <id> [--yes] # --all-brands for every brand
439
+ genfeed admin brand show # system brand kit
440
+ genfeed admin brand update <revision> --file draft.json --updated-at <iso>
441
+ genfeed admin brand approve <revision> --updated-at <iso>
442
+ genfeed admin marketplace listings # store listings waiting for review
443
+ genfeed admin marketplace approve <listing> # preview; add --yes to publish it
444
+ genfeed admin marketplace reject <listing> --reason "<text>" --yes
445
+ genfeed admin logout # revoke the session
251
446
  ```
252
447
 
253
- Upload training images:
254
-
255
- ```bash
256
- gf dataset upload <handle> ./images/
257
- ```
448
+ The `marketplace` commands call the marketplace API with the same super admin
449
+ token. Its URL is derived from the profile API URL (`api.example.com` becomes
450
+ `api.shop.example.com`); pass `--marketplace-url <url>` to override it.
258
451
 
259
- Download dataset:
452
+ ### Local AI bridge for the browser extension
260
453
 
261
454
  ```bash
262
- gf dataset download <handle> ./output/
455
+ gf host install # register the native host with Chrome, Chromium, Brave and Edge
456
+ gf host install --extension-id <id> # also allow another extension ID (for example a Chrome Web Store build)
457
+ gf host provider add openai-api --model <model> # optional bring-your-own-key provider (key stays in ~/.gf/host)
458
+ gf host status # where it is registered and which providers it finds (nothing is run)
459
+ gf host uninstall [--purge]
263
460
  ```
264
461
 
265
- ### Captioning (Admin)
266
-
267
- Run Florence-2 auto-captioning on a dataset:
268
-
269
- ```bash
270
- gf caption <handle>
271
- gf caption <handle> --trigger "custom_trigger"
272
- ```
462
+ The host only relays text actions from the Genfeed extension to your own Claude Code, Codex or Gemini CLI (or a saved API key). It never calls Genfeed and reads no Genfeed credentials. Genfeed cloud stays the default; the extension uses the host only for the fallback provider you choose in its settings.
273
463
 
274
464
  ## Options
275
465
 
@@ -304,6 +494,28 @@ gf caption <handle> --trigger "custom_trigger"
304
494
  | `-d, --duration <sec>` | Video duration |
305
495
  | `-r, --resolution <res>` | Resolution (720p, 1080p, 4k) |
306
496
 
497
+ ### Article-specific Options
498
+
499
+ Article generation is synchronous, so `--no-wait` does not apply. By default,
500
+ articles use the active brand; pass `--brand <id>` to override it.
501
+
502
+ | Option | Description |
503
+ |--------|-------------|
504
+ | `-b, --brand <id>` | Override active brand |
505
+ | `-c, --count <n>` | Number of standard articles (1-4) |
506
+ | `--category <cat>` | Article category |
507
+ | `--keywords <list>` | Comma-separated keywords |
508
+ | `--tone <tone>` | Tone of voice (`article-x` only) |
509
+ | `--words <n>` | Target word count, 2500-10000 (`article-x` only) |
510
+ | `--no-header-image` | Skip the header image (`article-x` only) |
511
+
512
+ Image and video generation waits check durable API status before subscribing to live
513
+ updates, then check every two seconds while unfinished. Socket interruptions and
514
+ missed events recover through these reads without starting another generation.
515
+ The existing five-minute image and ten-minute video deadlines include status reads;
516
+ on timeout, use `gf status <id> --type image` (or `video`) to inspect the original job.
517
+ Authentication and access errors stop the wait immediately.
518
+
307
519
  ## Scripting
308
520
 
309
521
  Use `--json` for machine-readable output:
@@ -326,8 +538,12 @@ The Genfeed CLI is designed for use by AI agents and automation tools.
326
538
 
327
539
  ### Non-Interactive Authentication
328
540
 
541
+ An agent on a machine with a browser runs `genfeed login` and waits for the human to approve. It does not ask for a pasted secret.
542
+
543
+ CI injects the key from a secret store. No login step is required:
544
+
329
545
  ```bash
330
- genfeed login --key $GENFEED_API_KEY
546
+ export GENFEED_API_KEY=gf_live_xxx
331
547
  ```
332
548
 
333
549
  ### JSON Output
@@ -355,8 +571,8 @@ genfeed status $ID --json
355
571
  ### Agent Usage Example
356
572
 
357
573
  ```bash
358
- # Authenticate
359
- genfeed login --key gf_live_xxx
574
+ # Authenticate in a browser. Do not paste the key into chat.
575
+ genfeed login
360
576
 
361
577
  # Generate an image
362
578
  RESULT=$(genfeed generate image "Professional headshot, studio lighting" --json)
@@ -369,6 +585,19 @@ genfeed status $IMAGE_ID --json
369
585
  genfeed publish $IMAGE_ID --platforms twitter,linkedin --json
370
586
  ```
371
587
 
588
+ ### External LLM Tooling Example
589
+
590
+ ```bash
591
+ # One-shot agent turn from an external model/tool runner
592
+ genfeed chat send "Generate 3 LinkedIn post ideas for our AI launch" --json
593
+
594
+ # Continue the same thread on the next tool call
595
+ genfeed chat send --thread thread_123 "Turn idea 2 into a full post" --json
596
+
597
+ # Resolve a structured follow-up question from the agent
598
+ genfeed threads respond thread_123 "Target early-stage SaaS founders" --json
599
+ ```
600
+
372
601
  ### MCP Server
373
602
 
374
603
  For richer integration, connect directly to the Genfeed MCP server:
@@ -383,7 +612,7 @@ See the [MCP documentation](https://mcp.genfeed.ai/v1/docs) for details.
383
612
 
384
613
  ## Configuration
385
614
 
386
- Config is stored in `~/.gf/config.json`:
615
+ Config is stored in `~/.gf/config.json`. The directory is created as mode `0700` and the file as mode `0600`. Existing installs keep this path; the CLI does not also write `~/.genfeed/credentials`.
387
616
 
388
617
  ```json
389
618
  {
@@ -391,9 +620,12 @@ Config is stored in `~/.gf/config.json`:
391
620
  "profiles": {
392
621
  "default": {
393
622
  "apiUrl": "https://api.genfeed.ai/v1",
623
+ "appUrl": "https://app.genfeed.ai",
394
624
  "role": "user",
395
- "darkroomHost": "100.106.229.81",
396
- "darkroomApiPort": 8189,
625
+ "agent": {
626
+ "model": "claude-3-7-sonnet",
627
+ "lastThreadIdByOrganization": {}
628
+ },
397
629
  "defaults": {
398
630
  "imageModel": "imagen-4",
399
631
  "videoModel": "google-veo-3"
@@ -407,17 +639,17 @@ Config is stored in `~/.gf/config.json`:
407
639
 
408
640
  | Variable | Description |
409
641
  |----------|-------------|
410
- | `GENFEED_API_KEY` | API key |
642
+ | `GENFEED_API_KEY` | CI override. Replaces the API key stored in `~/.gf/config.json` for the current process. Do not put the secret on the command line. |
411
643
  | `GENFEED_API_URL` | API base URL |
644
+ | `GENFEED_APP_URL` | Web app URL serving `/oauth/cli` (derived from `GENFEED_API_URL` when unset) |
412
645
  | `GENFEED_TOKEN` | Auth token |
413
646
  | `GENFEED_ORGANIZATION_ID` | Organization ID |
414
647
  | `GENFEED_USER_ID` | User ID |
415
- | `GF_DARKROOM_HOST` | Darkroom GPU host IP |
416
- | `GF_DARKROOM_PORT` | Darkroom API port |
648
+ | `GENFEED_AGENT_MODEL` | Default agent model for `chat` / `chat send` |
417
649
 
418
650
  ## Contributing
419
651
 
420
- Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
652
+ Contributions are welcome! Please see the monorepo [CONTRIBUTING.md](https://github.com/genfeedai/genfeed.ai/blob/master/CONTRIBUTING.md) for guidelines.
421
653
 
422
654
  ## License
423
655