-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (45 loc) · 1.76 KB
/
.env.example
File metadata and controls
59 lines (45 loc) · 1.76 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
# Discord bot token
DISCORD_BOT_TOKEN=YOUR_BOT_TOKEN_HERE
# Comma-separated Discord channel IDs
ATTENDANCE_CHANNEL_IDS=111111111111111111,222222222222222222
WORK_CHANNEL_IDS=333333333333333333
# Optional: restrict !teamstatus / !teamlogs commands to these channels
# If empty, commands work in any channel where the bot can read/write.
COMMAND_CHANNEL_IDS=
# Optional: number of recent work logs to keep per user
MAX_WORK_LOGS_PER_USER=20
# Dashboard server port
DASHBOARD_PORT=3100
# Optional: dashboard/map access gate (if set, login required)
APP_ACCESS_TOKEN=
# Discord guild(server) id for member list in dashboard mapping UI
DISCORD_GUILD_ID=1072384552485523476
# On bot startup, backfill attendance messages for recent KST day window
STARTUP_ATTENDANCE_BACKFILL=true
ATTENDANCE_BACKFILL_DAYS_KST=1
# On bot startup, backfill work messages for recent UTC day window
STARTUP_WORK_BACKFILL=true
WORK_BACKFILL_DAYS=7
# Dashboard attendance-name candidate lookback window (days)
ATTENDANCE_NAME_LOOKBACK_DAYS=5
# Attendance source bot IDs
WANTEDSPACE_BOT_ID=YOUR_WANTEDSPACE_BOT_ID
CHRONICLE_BOT_ID=YOUR_CHRONICLE_BOT_ID
# Optional: collector-triggered periodic attendance resync via dashboard API
DASHBOARD_API_BASE=http://localhost:3100
ATTENDANCE_PERIODIC_RESYNC_ENABLED=true
ATTENDANCE_PERIODIC_RESYNC_MINUTES=60
ATTENDANCE_PERIODIC_RESYNC_DAYS=1
# Optional: LLM summarization for work bubbles
WORK_SUMMARY_ENABLED=true
WORK_SUMMARY_PROVIDER=ollama
WORK_SUMMARY_MAX_CHARS=30
WORK_SUMMARY_MIN_CHARS=20
WORK_SUMMARY_BACKFILL_ON_STARTUP=true
WORK_SUMMARY_BACKFILL_LIMIT=300
# Ollama (recommended for private/internal data)
OLLAMA_API_BASE=http://127.0.0.1:11434
OLLAMA_SUMMARY_MODEL=qwen2.5:1.5b
# Gemini (optional external fallback)
GEMINI_API_KEY=
GEMINI_SUMMARY_MODEL=gemma-3-4b-it