forked from rebel0789/codexpro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.env
More file actions
31 lines (31 loc) · 1.77 KB
/
Copy pathconfig.example.env
File metadata and controls
31 lines (31 loc) · 1.77 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
# Copy to .envrc or source manually before running npm run start:http.
CODEXBRIDGE_ROOT=/absolute/path/to/your/repo
CODEXBRIDGE_ALLOWED_ROOTS=/absolute/path/to
CODEXBRIDGE_HOST=127.0.0.1
CODEXBRIDGE_PORT=8787
CODEXBRIDGE_BASH_MODE=safe
# Optional local bash session guard. If required, bash tool calls must include the matching session_id.
# CODEXBRIDGE_BASH_SESSION_ID=main
# CODEXBRIDGE_REQUIRE_BASH_SESSION=1
# Optional non-interactive SSH profiles. Use dry_run first; no passwords, sudo prompts, scp, or interactive shells.
# CODEXBRIDGE_SSH_MODE=safe
# CODEXBRIDGE_SSH_PROFILES={"staging":{"host":"staging.example.com","user":"deploy","port":22,"identityFile":"~/.ssh/id_ed25519","workdir":"/srv/app","mode":"safe"}}
# Task resume needs no configuration: task_plan with plan_steps persists the active task
# under .ai-bridge (current-task.json), resumable in a new session via task_resume.
CODEXBRIDGE_WRITE_MODE=handoff
CODEXBRIDGE_TOOL_MODE=standard
# Dedicated HTTPS origin for ChatGPT widget iframes. Required for app submission.
CODEXBRIDGE_WIDGET_DOMAIN=https://naplesblue.github.io
CODEXBRIDGE_HTTP_TOKEN=replace-with-a-long-random-token
# Require a token even for loopback binds. Non-loopback and tunnel mode require one unless explicitly overridden.
# CODEXBRIDGE_REQUIRE_HTTP_TOKEN=1
# CODEXBRIDGE_ALLOW_NO_HTTP_TOKEN=1
CODEXBRIDGE_CONTEXT_DIR=.ai-bridge
# Optional stable public URL mode. Quick tunnels do not keep the same hostname.
# CODEXBRIDGE_TUNNEL=cloudflare-named
# CODEXBRIDGE_PUBLIC_HOSTNAME=codexbridge.example.com
# CLOUDFLARE_TUNNEL_NAME=codexbridge
# Or use a dashboard-managed tunnel token:
# CLOUDFLARE_TUNNEL_TOKEN_FILE=/Users/you/.codexbridge/cloudflare-tunnel-token
# Optional comma-separated extra block list:
# CODEXBRIDGE_BLOCKED_GLOBS=**/secrets/**,**/*.sqlite,**/*.db