Files
openwork/apps/opencode-router/.env.example
Omar McAdam 2b91b4d777 refactor: repo folder structure (#1038)
* refactor(repo): move OpenWork apps into apps and ee layout

Rebase the monorepo layout migration onto the latest dev changes so the moved app, desktop, share, and cloud surfaces keep working from their new paths. Carry the latest deeplink, token persistence, build, Vercel, and docs updates forward to avoid stale references and broken deploy tooling.

* chore(repo): drop generated desktop artifacts

Ignore the moved Tauri target and sidecar paths so local cargo checks do not pollute the branch. Remove the accidentally committed outputs from the repo while keeping the layout migration intact.

* fix(release): drop built server cli artifact

Stop tracking the locally built apps/server/cli binary so generated server outputs do not leak into commits. Also update the release workflow to check the published scoped package name for @openwork/server before deciding whether npm publish is needed.

* fix(workspace): add stable CLI bin wrappers

Point the server and router package bins at committed wrapper scripts so workspace installs can create shims before dist outputs exist. Keep the wrappers compatible with built binaries and source checkouts to avoid Vercel install warnings without changing runtime behavior.
2026-03-19 11:41:38 -07:00

25 lines
644 B
Plaintext

OPENCODE_URL=http://127.0.0.1:4096
OPENCODE_DIRECTORY=
OPENCODE_SERVER_USERNAME=
OPENCODE_SERVER_PASSWORD=
TELEGRAM_BOT_TOKEN=
TELEGRAM_ENABLED=true
SLACK_BOT_TOKEN=
SLACK_APP_TOKEN=
SLACK_ENABLED=true
OPENCODE_ROUTER_DATA_DIR=~/.openwork/opencode-router
OPENCODE_ROUTER_DB_PATH=~/.openwork/opencode-router/opencode-router.db
OPENCODE_ROUTER_CONFIG_PATH=~/.openwork/opencode-router/opencode-router.json
# Preferred health server port override
OPENCODE_ROUTER_HEALTH_PORT=3005
# Alias for OPENCODE_ROUTER_HEALTH_PORT (optional)
PORT=
TOOL_UPDATES_ENABLED=false
GROUPS_ENABLED=false
TOOL_OUTPUT_LIMIT=1200
PERMISSION_MODE=allow
LOG_LEVEL=info