mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
|
Some checks are pending
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
bot-nix-hashes / hash (macos-latest, aarch64-darwin) (push) Waiting to run
bot-nix-hashes / compute (push) Blocked by required conditions
bot-nix-hashes / publish (push) Blocked by required conditions
check-nix / nix-eval (push) Waiting to run
Process daemon / Miri (callback ownership) (push) Waiting to run
Process daemon / Core (macos-15) (push) Waiting to run
Process daemon / Core (ubuntu-22.04) (push) Waiting to run
Process daemon / Windows (arm64) (push) Waiting to run
Process daemon / Windows (x64) (push) Waiting to run
check / typecheck (push) Waiting to run
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy-site / site-deploy (push) Blocked by required conditions
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
|
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| .gitignore | ||
| cloudflare.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Legacy (deprecated)
Deprecated. What is left of V1's hosted services. Don't add features here. Each hostname can be dropped whenever we're fine breaking the old clients that still call it.
One Worker that answers by hostname:
opncd.ai(production) anddev.opncd.ai(development) are the retired session-sharing host. Session sharing was retired in #55716 and V2 has no sharing. They serve the "Session sharing has been discontinued" page, and the old/api/shareendpoints still answer so V1 clients keep working (src/share.ts).api.opencode.ai(production) andapi.dev.opencode.ai(development) exchange a GitHub Actions OIDC token for a GitHub App installation token for the V1 GitHub Action (POST /exchange_github_app_token,src/api.ts).
cloudflare.config.ts defines the Worker. deploy:dev and deploy:production deploy it with cf
from .github/workflows/deploy.yml. The deploy job reads the GITHUB_APP_ID and GITHUB_APP_PRIVATE_KEY Worker
secrets from AWS Secrets Manager (opencode/<stage>/GITHUB_APP_*) and uploads them with
--secrets-file.
| Environment | Worker | Hostnames |
|---|---|---|
| Development | opencode-legacy-dev |
dev.opncd.ai, api.dev.opencode.ai |
| Production | opencode-legacy-production |
opncd.ai, api.opencode.ai |
bun run typecheck
bun test