Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
33 lines (32 loc) · 1.57 KB
/
Copy path.env.example
File metadata and controls
33 lines (32 loc) · 1.57 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
# W2A_CDP_PORT - Chrome remote debugging port (default: 9222)
# W2A_PORT - API server port (default: 8080)
# W2A_HOST - API server host (default: 127.0.0.1)
# W2A_HEADLESS - Run Chrome headless: true/false (default: false)
# W2A_LOG_LEVEL - Logging level: DEBUG, INFO, WARNING, ERROR (default: INFO)
# W2A_TAB_MODE - Tab isolation: "owned" (default, dedicated tab per process)
# or "adopt" (reuse an existing chatgpt.com tab)
# W2A_PARALLEL_TABS - Parallel multi-tab mode: true/false (default: false).
# When true, requires tab_mode=owned; each bridge process
# drives its own tab with per-target locking. See
# docs/deployment.md "Parallel mode (one Chrome, many tabs)".
#
# MCP tool access gates (see README "MCP Tool Access Control"):
# W2A_ENABLE_WRITE - Expose mutating tools (create_project, update_project_instructions,
# create_memory, archive_conversation). Hidden by default.
# W2A_ENABLE_DESTRUCTIVE - Expose irreversible tools (delete_conversation, delete_memory).
# Hidden by default.
# Uncomment to override:
# W2A_CDP_PORT=9222
# W2A_PORT=8080
# W2A_HOST=127.0.0.1
# W2A_HEADLESS=false
# W2A_LOG_LEVEL=INFO
# W2A_ENABLE_WRITE=1
# W2A_ENABLE_DESTRUCTIVE=1
#
# E2E tests (opt-in; never run in CI — needs a logged-in browser + mutates account):
# W2A_E2E_RUN=1
#
# Reactive diagnostics: capture evidence when a driver function breaks (off by default).
# Artifacts go to ~/.chatgpt-web2api/diagnostics/. See README "Troubleshooting Drift".
# W2A_DIAGNOSE=1