-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (38 loc) · 1.85 KB
/
Copy path.env.example
File metadata and controls
43 lines (38 loc) · 1.85 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
# ============================================================
# 钉钉 ↔ DSH 桥接器配置模板
# 复制为 .env 并填入真实值(或使用 config/config.json)
# ============================================================
# --- DSH(DeepSeek Harness Web)---
# DSH Web 地址默认 http://127.0.0.1:3080。
# ⚠️ DSH_BASE_URL 不要写进 .env:dsh>=0.1.1 拒绝 .env 里的 DSH_* 变量。
# 需覆盖时用进程环境导出(DSH_BASE_URL=... npm start)或 config/config.json 的 dsh.baseUrl。
# --- 钉钉企业内部应用 ---
# 在钉钉开放平台 (open.dingtalk.com) 创建"企业内部应用"后获得:
# 应用凭证 -> AppKey / AppSecret
DINGTALK_APP_KEY=在此填入AppKey
DINGTALK_APP_SECRET=在此填入AppSecret
# 机器人编码(企业内部应用下通常与 AppKey 相同)
DINGTALK_ROBOT_CODE=在此填入AppKey或机器人编码
# Stream 模式开关(默认 true;Stream 模式无需公网域名)
DINGTALK_STREAM_ENABLED=true
# --- 会话映射 ---
# 每个钉钉会话(单聊/群聊)映射到独立 DSH 会话,保证上下文连续
MAPPING_PER_CONVERSATION=true
# 映射模式:independent(默认,每钉钉会话独立)| auto-follow(无映射时跟随运行中最新会话)
MAPPING_MODE=independent
# perConversation=false 时使用的固定 DSH 会话 id(留空自动创建)
MAPPING_FIXED_SESSION_ID=
# 映射创建 DSH 会话时的工作目录
MAPPING_SESSION_CWD=/Users/zhengyd/OpenProject/deepseek-harness-plugin
# 映射创建 DSH 会话时使用的 agent preset
MAPPING_AGENT_PRESET=code
# --- 其他 ---
# 回复前缀(可留空)
REPLY_PREFIX=
# 主动推送:DSH 主动/定时消息 → 钉钉(默认 true)
ENABLE_ACTIVE_PUSH=true
# 主动推送消息的醒目前缀
ACTIVE_PUSH_PREFIX=
# 主动推送「只推最终结果」静默窗口(ms),默认 2500
ACTIVE_PUSH_QUIET_MS=2500
LOG_LEVEL=info