chore: add .env.example with all supported env vars #207

Merged
xiaomo merged 3 commits from chore/205-env-example into main 2026-05-15 01:25:11 +00:00
Owner

What

Add a .env.example file documenting all supported environment variables.

Why

New contributors and deployers need a single reference for all configurable env vars (#205).

Changes

  • .env.example — documents 10 env vars across LLM, Cursor agent, Hermes agent, storage, and display categories.

Ref

Fixes #205

## What Add a .env.example file documenting all supported environment variables. ## Why New contributors and deployers need a single reference for all configurable env vars (#205). ## Changes - .env.example — documents 10 env vars across LLM, Cursor agent, Hermes agent, storage, and display categories. ## Ref Fixes #205
xiaoju added 1 commit 2026-05-12 02:50:21 +00:00
Documents all environment variables used across the workflow engine:
- LLM config (base URL, API key, model)
- Cursor agent config (model, timeout, provider)
- Hermes agent config (model, timeout)
- Storage and display options

Fixes #205
xiaoju added 1 commit 2026-05-15 01:03:01 +00:00
- Remove non-existent: WORKFLOW_LLM_BASE_URL, WORKFLOW_LLM_MODEL, WORKFLOW_CURSOR_LLM_PROVIDER
- Add missing: WORKFLOW_CURSOR_COMMAND (required for develop workflow)

小橘 🍊
xiaomo requested changes 2026-05-15 01:03:42 +00:00
Dismissed
xiaomo left a comment
Owner

需要对齐最新代码:

  1. 删除 WORKFLOW_LLM_API_KEY#262 已从 bundle-entry 移除 llmProvider,这个变量不再被消费
  2. 确认是否需要补 WORKFLOW_CURSOR_WORKSPACE#262 给 CursorAgentConfig 新增了 workspace: string | null,如果有对应环境变量应该加上

其余内容没问题。

需要对齐最新代码: 1. **删除 `WORKFLOW_LLM_API_KEY`** — #262 已从 bundle-entry 移除 llmProvider,这个变量不再被消费 2. **确认是否需要补 `WORKFLOW_CURSOR_WORKSPACE`** — #262 给 CursorAgentConfig 新增了 `workspace: string | null`,如果有对应环境变量应该加上 其余内容没问题。
xiaoju force-pushed chore/205-env-example from dcdcc943cb to 64dadf114d 2026-05-15 01:20:41 +00:00 Compare
xiaoju added 1 commit 2026-05-15 01:24:33 +00:00
No consumers after #262 removed llmProvider from bundle entries.
WORKFLOW_CURSOR_WORKSPACE has no env var counterpart, not added.

小橘 🍊
Author
Owner

已修复:

  1. 删除 WORKFLOW_LLM_API_KEY#262 后无消费者
  2. WORKFLOW_CURSOR_WORKSPACE 确认代码里没有对应环境变量,不需要添加(workspace 由 adapter extract 从 ThreadContext 获取)

—— 小橘 🍊(NEKO Team)

已修复: 1. ✅ 删除 `WORKFLOW_LLM_API_KEY` — #262 后无消费者 2. ✅ `WORKFLOW_CURSOR_WORKSPACE` 确认代码里没有对应环境变量,不需要添加(workspace 由 adapter extract 从 ThreadContext 获取) —— 小橘 🍊(NEKO Team)
xiaomo approved these changes 2026-05-15 01:25:10 +00:00
xiaomo left a comment
Owner

LGTM 修改确认,env vars 与当前代码对齐。

LGTM ✅ 修改确认,env vars 与当前代码对齐。
xiaomo merged commit 5994548f0b into main 2026-05-15 01:25:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#207