# Public sanitized template. No original key, account, bucket, token or history is included.
# 1. npm ci
# 2. npm run configure (generates this installation's private login password and signing secret)
# 3. Fill only your own Tansr application credentials below.
TANSR_APP_KEY_ID=REPLACE_WITH_YOUR_APP_ID
TANSR_APP_KEY=REPLACE_WITH_YOUR_APP_KEY
TANSR_API_BASE=https://api.tansr.com
TOKEN_TTL_SECONDS=3600

# Both npm start and npm run login read this exact file.
DEMO_SERVE_ONLY=1
DEMO_HOST=127.0.0.1
DEMO_PORT=8788
DEMO_AUTH_SECRET=
DEMO_LOGIN_HOST=127.0.0.1
DEMO_LOGIN_PORT=8787
DEMO_LOGIN_USER=demo
DEMO_LOGIN_PASSWORD=
DEMO_END_USER=demo-user
DEMO_LOGIN_TTL_SECONDS=300
DEMO_LOGIN_URL=http://127.0.0.1:8787
DEMO_BASE_URL=http://127.0.0.1:8788

# Relative paths are resolved against this package, regardless of the invoking directory.
DEMO_STORE_DIR=./.serve-demo-store/my-app
DEMO_SESSION_RECOVERY=verified-ir
# TANSR_DEMO_SYSTEM=Your optional application system prompt

# Optional OSS cold storage: fill all four fields before enabling it.
# Blank values keep local persistence; no existing user data is included.
TANSR_OSS_ACCESS_KEY_ID=
TANSR_OSS_ACCESS_KEY_SECRET=
TANSR_OSS_ENDPOINT=
TANSR_OSS_BUCKET=
DEMO_OSS_ENDPOINT=
DEMO_OSS_PREFIX=serve-demo/sessions/
# TANSR_OSS_BUCKET_DOWNLOAD is intentionally omitted: media-download storage is not the private session store.
# DEMO_COLD_DIR=./.serve-demo-cold
# TANSR_SERVE_DRAIN_TIMEOUT_MS=30000
