-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.env.example
More file actions
33 lines (26 loc) · 1.68 KB
/
Copy path.env.example
File metadata and controls
33 lines (26 loc) · 1.68 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
# claude-nonstop Slack Remote Access Configuration
#
# Recommended: run "claude-nonstop setup" which writes ~/.claude-nonstop/.env for you.
# Or copy this file manually:
# mkdir -p ~/.claude-nonstop && cp .env.example ~/.claude-nonstop/.env
#
# CLI flags (--bot-token, --app-token, etc.) override these values.
# Environment variables (SLACK_BOT_TOKEN, etc.) override .env file values.
# ─── Required ─────────────────────────────────────────────────────────────────
# Bot Token — from Slack App > OAuth & Permissions (starts with xoxb-)
# Created automatically when you install the app to your workspace.
SLACK_BOT_TOKEN=xoxb-your-bot-token
# App Token — from Slack App > Basic Information > App-Level Tokens (starts with xapp-)
# Must be generated manually with the "connections:write" scope.
SLACK_APP_TOKEN=xapp-your-app-token
# Slack user ID to auto-invite when creating per-session channels.
# Without this, channels are created but won't appear in your Slack sidebar.
# Find your user ID: click your profile picture > Profile > "..." > Copy member ID.
SLACK_INVITE_USER_ID=
# ─── Optional ─────────────────────────────────────────────────────────────────
# Comma-separated Slack user IDs allowed to send commands via session channels.
# Empty = allow all workspace members.
SLACK_ALLOWED_USERS=
# Prefix for per-session channel names (default: cn).
# Channels are named: <prefix>-<project>-<session-id>
SLACK_CHANNEL_PREFIX=cn