-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.env.example
More file actions
66 lines (56 loc) · 2.04 KB
/
config.env.example
File metadata and controls
66 lines (56 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# codex-feishu configuration
# Copy this file to ~/.codex-feishu/config.env
#
# Recommended first-run order:
# 1. Fill this file
# 2. In Feishu backend: add scopes and enable Bot
# 3. Publish once
# 4. Start the bridge
# 5. In Feishu backend: Long Connection + im.message.receive_v1 + card.action.trigger
# 6. Publish again
# Optional runtime home override.
# CODEX_FEISHU_HOME=$HOME/.codex-feishu
# Default working directory for new Feishu threads.
CODEX_FEISHU_DEFAULT_WORKDIR=/path/to/your/project
# Optional Codex defaults.
# CODEX_FEISHU_DEFAULT_MODEL=
CODEX_FEISHU_DEFAULT_MODE=code
# Optional runtime isolation mode: inherit | strict
# CODEX_FEISHU_ENV_ISOLATION=inherit
# Optional Codex CLI overrides.
# CODEX_FEISHU_CODEX_EXECUTABLE=/usr/local/bin/codex
# CODEX_FEISHU_NODE_EXECUTABLE=/opt/homebrew/bin/node
# CODEX_FEISHU_PASS_MODEL=true
# Optional auth/base URL overrides if you do not rely on `codex auth login`.
# Priority: CODEX_FEISHU_API_KEY > CODEX_API_KEY > OPENAI_API_KEY
# CODEX_FEISHU_API_KEY=
# CODEX_FEISHU_BASE_URL=
# Feishu / Lark app credentials.
CODEX_FEISHU_APP_ID=your-app-id
CODEX_FEISHU_APP_SECRET=your-app-secret
# Optional Feishu settings.
# CODEX_FEISHU_DOMAIN=https://open.feishu.cn
# CODEX_FEISHU_ALLOWED_USERS=user_id_1,user_id_2
# Optional Rokid Lingzhu custom-agent endpoint.
# Use this when importing codex-feishu as a Lingzhu "custom agent" so
# Rokid glasses can trigger Codex through an HTTP/SSE endpoint.
# CODEX_FEISHU_ROKID_ENABLED=false
# CODEX_FEISHU_ROKID_HOST=127.0.0.1
# CODEX_FEISHU_ROKID_PORT=8787
# CODEX_FEISHU_ROKID_PATH=/rokid/agent
# CODEX_FEISHU_ROKID_SECRET=change-this-long-random-token
# CODEX_FEISHU_ROKID_ALLOWED_USERS=user_id_1,device_or_session_id_2
# CODEX_FEISHU_ROKID_AUTO_ALLOW_PERMISSIONS=true
# Required Feishu tenant scopes:
# cardkit:card:read
# cardkit:card:write
# im:chat:read
# im:chat:readonly
# im:message.group_at_msg:readonly
# im:message.p2p_msg:readonly
# im:message.reactions:read
# im:message.reactions:write_only
# im:message:readonly
# im:message:send_as_bot
# im:message:update
# im:resource