Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
4a4c541
feat(F340): config architecture cleanup — protocol removal + accounts…
mindfn Apr 8, 2026
f83e1a8
fix(F340): post-rebase fixups — restore ACP config, CLI effort import…
mindfn Apr 8, 2026
548b59e
fix(F340): remove protocol from installer BUILTIN_ACCOUNT_SPECS
mindfn Apr 8, 2026
27bf083
fix(F340): cli deep-merge leak + getCatEffort fallback + installer pr…
mindfn Apr 8, 2026
5eeeee8
fix(F340): project variant.cli into toAllCatConfigs flattened output
mindfn Apr 8, 2026
498714d
fix(F340): fail closed when explicit preferredAccountRef misses
mindfn Apr 8, 2026
6aa86ec
fix(F340): align installer tests with protocol-free account writes
mindfn Apr 8, 2026
5519201
fix(F340): resolve installer-${client} API key accounts in default path
mindfn Apr 8, 2026
3169ad9
cleanup(F340): retire account.protocol persistence + remove test route
mindfn Apr 8, 2026
13524c9
fix(F340): derive adapterMode from clientId + fix test field names
mindfn Apr 8, 2026
5987130
fix(F340): restore delete safety guard + exit non-zero without --force
mindfn Apr 8, 2026
c5f5b92
fix(F340): use resolveForClient for game API key lookup
mindfn Apr 8, 2026
e6ed285
fix(F340): resolveAnthropicRuntimeProfile uses full discovery chain
mindfn Apr 8, 2026
d685d4b
fix(F340): resolveForClient prefers credentialed accounts + F102 summ…
mindfn Apr 8, 2026
86d491a
fix(F340): align test fixtures with protocol retirement + clientId re…
mindfn Apr 8, 2026
ffae7ed
refactor(F340): keep project catalog accounts untouched during migration
mindfn Apr 8, 2026
2b925be
fix(F340): format catalog-accounts test
mindfn Apr 8, 2026
766e883
fix(F340): keep unbound runtime cats unbound [砚砚/GPT-5.4🐾]
mindfn Apr 8, 2026
101cab7
fix(F340): atomically remove installer-<client> when switching to OAuth
mindfn Apr 8, 2026
c0fb3f8
fix(F340): guard installer cleanup against bound runtime cats
mindfn Apr 8, 2026
5bbced8
fix(F340): don't auto-delete global installer account on oauth switch
mindfn Apr 8, 2026
daa94d7
fix(F340): add --project-dir to oauth switch warning command
mindfn Apr 8, 2026
36b404e
fix(F340): use explicit placeholder in oauth warning message
mindfn Apr 8, 2026
4a26f9a
fix(F340): v1 nested format migration + retry-safe secret import
mindfn Apr 8, 2026
afece06
fix(F340): prevent legacy secret cross-contamination on ID collision
mindfn Apr 9, 2026
5a3f224
fix(F340): tighten retry credential gate with account equivalence check
mindfn Apr 9, 2026
fceea05
fix bootstrap bindings and start-dev CI [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
a9c96f7
fix(review): harden account migration + resolver [砚砚/GPT-5.4🐾]
mindfn Apr 9, 2026
c79e469
fix(ci): satisfy biome formatting [砚砚/GPT-5.4🐾]
mindfn Apr 9, 2026
c4e540a
fix(#340): infer legacy api_key authType from mode/kind [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
453ef66
fix(#340): migrate v1 nested installer profiles [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
c00ff82
fix(#340): preserve legacy bootstrap and migration errors [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
3f75fb1
fix(F340): restore opencode template model [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
b26101c
fix(F340): stop forced OAuth account removal [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
6686080
fix(F340): harden installer migration guards [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
03fd931
fix(accounts): guard bootstrap backfill and shared deletes [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
0cf70e0
fix(accounts): preserve idempotent delete [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
75ae71d
fix(accounts): catch delete migration conflicts [砚砚/gpt-5.4🐾]
mindfn Apr 9, 2026
7170847
fix(#340): resolve two maintainer blockers — project-local root + sta…
mindfn Apr 9, 2026
d72fc4f
fix(#340): P1 startup fail-fast entry + DELETE template binding check
mindfn Apr 9, 2026
9d55f8d
fix(acp): clamp idle watchdog idleSinceMs to threshold floor (CI flake)
mindfn Apr 9, 2026
15aa05e
fix(#340): installer default root matches runtime (project-local, not…
mindfn Apr 9, 2026
386b849
fix(f340): close late review blockers [砚砚/GPT-5.4🐾]
mindfn Apr 9, 2026
0a2a40e
fix(#340): align route-layer resolveGlobalConfigRoot with storage-lay…
mindfn Apr 10, 2026
d33ebc6
fix(#340): reconcile rebase with #375 client-switch helpers
mindfn Apr 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 7 additions & 14 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
# These ports must not conflict with other local services.
# Default: Frontend 3003, API 3004, Redis 6399
# Convention: API port = Frontend port + 1 (same as internal 3001→3002)
#
# Reverse proxy / remote access 反向代理 / 远端访问:
# Behind Nginx (port 80/443), the frontend auto-detects same-origin
# and routes /api/ + /socket.io/ through the proxy — no env var needed.
# Only set NEXT_PUBLIC_API_URL if you need a non-standard API endpoint.
# Also set FRONTEND_URL on the API side for CORS (see below).

FRONTEND_PORT=3003
API_SERVER_PORT=3004
MCP_SERVER_PORT=3011
NEXT_PUBLIC_API_URL=http://localhost:3004
# FRONTEND_URL=http://your-public-ip # CORS: set when API is accessed from a public domain/IP
NEXT_PUBLIC_BRAND_NAME="Clowder AI"

# CLI inactivity timeout in milliseconds.
Expand All @@ -37,20 +44,6 @@ NEXT_PUBLIC_BRAND_NAME="Clowder AI"
REDIS_PORT=6399
REDIS_URL=redis://localhost:6399

# ── Model API Keys 模型密钥(推荐通过 UI 配置)───────────────
# RECOMMENDED: Add API keys via the web UI after launch:
# Hub → System Settings → Account Configuration
# 推荐方式:启动后在前端 UI 添加 API key:
# Hub → 系统配置 → 账号配置
#
# The env vars below are a legacy fallback. Leave them commented out
# unless you have a specific reason to use them.
# 以下环境变量仅作兼容兜底,通常不需要填写。

# ANTHROPIC_API_KEY= # Claude — https://console.anthropic.com/
# OPENAI_API_KEY= # GPT / Codex — https://platform.openai.com/
# GOOGLE_API_KEY= # Gemini — https://aistudio.google.com/

# ── Optional: API Gateway Proxy 反向代理(可选)──────────────
# Route API calls through a custom gateway (e.g. load balancer).
# 通过自定义网关路由 API 调用(如负载均衡器)。
Expand Down
Loading
Loading