-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathviveworker.env.example
More file actions
107 lines (93 loc) · 2.92 KB
/
viveworker.env.example
File metadata and controls
107 lines (93 loc) · 2.92 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# viveworker local web UI
WEB_UI_ENABLED=1
AUTH_REQUIRED=1
SESSION_SECRET=
SESSION_TTL_MS=2592000000
DEVICE_TRUST_TTL_MS=2592000000
PAIRING_CODE=
PAIRING_TOKEN=
PAIRING_EXPIRES_AT_MS=0
CHOICE_PAGE_SIZE=5
MAX_HISTORY_ITEMS=100
MAX_READ_BYTES=2097152
WEB_PUSH_ENABLED=0
ALLOW_INSECURE_LAN_HTTP=0
TLS_CERT_FILE=
TLS_KEY_FILE=
WEB_PUSH_VAPID_PUBLIC_KEY=
WEB_PUSH_VAPID_PRIVATE_KEY=
WEB_PUSH_SUBJECT=mailto:viveworker@example.com
# Fill in your own ntfy values.
# Hosted example:
# NTFY_BASE_URL=https://ntfy.sh
#
# Recommended self-hosted same-WiFi example:
# NTFY_BASE_URL=http://192.168.1.23:8080
# Use a long random topic, and prefer NTFY_ACCESS_TOKEN over password auth.
NTFY_BASE_URL=
NTFY_PUBLISH_BASE_URL=
NTFY_TOPIC=
# Optional auth for private servers.
NTFY_ACCESS_TOKEN=
NTFY_USERNAME=
NTFY_PASSWORD=
# Optional click-through URL.
NTFY_CLICK_URL=
# ntfy priority accepts: min, low, default, high, max/urgent, or 1-5.
NTFY_APPROVAL_PRIORITY=high
NTFY_COMPLETE_PRIORITY=default
NTFY_PLAN_PRIORITY=high
APPROVAL_TITLE=要承認
COMPLETE_TITLE=完了
PLAN_TITLE=プラン確認
PLAN_READY_TITLE=プラン詳細
COMPLETION_DETAIL_THRESHOLD_CHARS=100
PLAN_REQUEST_TTL_MS=900000
# Comma-separated ntfy tags. Emoji short codes are supported by ntfy.
NTFY_APPROVAL_TAGS=warning,computer
NTFY_COMPLETE_TAGS=white_check_mark,computer
NTFY_PLAN_TAGS=memo,computer
# Optional path overrides.
# `npx viveworker setup` normally writes these into ~/.viveworker/config.env for you.
# Leave them empty unless you intentionally want manual absolute paths.
CODEX_HOME=
STATE_FILE=
# Polling behavior.
POLL_INTERVAL_MS=2500
REPLAY_SECONDS=300
SESSION_INDEX_REFRESH_MS=30000
DIRECTORY_SCAN_INTERVAL_MS=30000
# Toggle notification types.
NOTIFY_APPROVALS=1
NOTIFY_COMPLETIONS=1
NOTIFY_PLANS=1
NATIVE_APPROVALS=1
ENABLE_NTFY=0
# Native codex.app approval pages for mobile devices.
# Use HTTPS for LAN access whenever possible. Plain HTTP over LAN requires
# ALLOW_INSECURE_LAN_HTTP=1 and is not recommended.
# Use a public LAN URL the device can reach. This can be different from NTFY_PUBLISH_BASE_URL.
NATIVE_APPROVAL_SERVER_PUBLIC_BASE_URL=
NATIVE_APPROVAL_SERVER_HOST=127.0.0.1
NATIVE_APPROVAL_SERVER_PORT=8810
# App-server runner settings for interactive mobile approvals.
# If empty, the runner derives the host from NTFY_BASE_URL.
APPROVAL_SERVER_PUBLIC_BASE_URL=
APPROVAL_SERVER_HOST=0.0.0.0
APPROVAL_SERVER_PORT=8788
# Optional defaults for app-server turns.
APP_SERVER_APPROVAL_POLICY=
APP_SERVER_SANDBOX_MODE=
APP_SERVER_NETWORK_ACCESS=0
APP_SERVER_PERMISSION_SCOPE=turn
APP_SERVER_RESUME_LATEST=0
APP_SERVER_MODEL=
APP_SERVER_NOTIFY_APPROVALS=1
APP_SERVER_NOTIFY_COMPLETIONS=0
# hazBase wallet / x402 backend
HAZBASE_API_URL=https://api.hazbase.com
HAZBASE_DEVICE_LABEL=viveworker
# Require paired-device approval before `viveworker share pay` signs x402
# payments. Set to 0 only for trusted smoke tests / CI.
VIVEWORKER_PAYMENT_APPROVALS=1
VIVEWORKER_PAYMENT_APPROVAL_TIMEOUT_SEC=600