-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
84 lines (64 loc) · 3.22 KB
/
Copy path.env.example
File metadata and controls
84 lines (64 loc) · 3.22 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# ADC Environment Variables
# Copy this file to .env and customize as needed.
# All values are optional — ADC runs with sensible defaults if nothing is set.
# ============================================================
# Channel & Dev Mode
# ============================================================
# Override the channel resolved at startup. Valid values: dev | local | release
# (Defaults: !app.isPackaged → dev, otherwise release)
# ADC_CHANNEL=dev
# Auto-login in dev mode. Read by the preload bridge (see src/shared/constants/env.ts).
ADC_DEV_MODE=true
ADC_DEV_EMAIL=dev@example.com
ADC_DEV_PASSWORD=devpassword123
# ============================================================
# Peers (multi-device sync)
# ============================================================
# ADC syncs across devices via direct TLS-pinned WebSocket. mDNS handles
# discovery; Ed25519 handles identity. These vars override defaults.
# Listen port for inbound peer connections. 0 = OS picks (default).
# ADC_PEER_PORT=0
# Manual peer override — wss://host:port. Empty disables manual fan-out.
# ADC_PEER_REMOTE=
# Peer identity overrides (rare; normally derived at boot from the keystore).
# ADC_PEER_ID_SHORT=
# ADC_PEER_ID_FULL=
# mDNS advertising + browsing. Default: true.
# ADC_PEER_PREFER_MDNS=true
# Expose /pair/* PIN-pairing endpoints. Default: true.
# ADC_PEER_PAIRING_ENABLED=true
# Optional human-readable name for mDNS TXT records.
# ADC_PEER_DISPLAY_NAME=My Laptop
# DEV-ONLY escape hatch. Set to '1' to allow plaintext identity files when
# safeStorage is unavailable. Never enable on packaged builds.
# ADC_PEERS_ALLOW_PLAINTEXT_IDENTITY=0
# Emergency rollback for the mDNS hub-discovery + network-watcher flow.
# Defaults to enabled; set explicitly to 'false' to fall back to legacy URL+key.
# ENABLE_HUB_DISCOVERY=true
# ============================================================
# Test Suite (generated Playwright specs)
# ============================================================
# Override the baseURL inside generated .spec.ts files at runtime.
# Useful for switching environments (staging/prod) without regenerating.
# BASE_URL=http://localhost:3000
# Directory generated specs write screenshots into. Read at spec runtime,
# not at generation time.
# SCREENSHOT_DIR=./screenshots
# ============================================================
# Claude CLI
# ============================================================
# ADC spawns the `claude` CLI as child processes — there is NO direct API
# integration. Auth flows through the CLI's own login (claude login).
# Override the per-channel CLAUDE_CONFIG_DIR. Defaults to <userData>/.claude.
# CLAUDE_CONFIG_DIR=
# Surfaced inside generated worktree provisioner scripts.
# CLAUDE_TOOL_USE_NAME=
# ============================================================
# System Overrides
# ============================================================
# Set to override system defaults. Normally inherited from the OS.
# HOME=/Users/your-username # macOS/Linux
# USERPROFILE=C:\Users\your-username # Windows
# SHELL=/bin/zsh # macOS/Linux
# COMSPEC=cmd.exe # Windows
# ELECTRON_RENDERER_URL=http://localhost:5173 # set automatically by electron-vite