Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
82ea3a3
sync release versions for v1.18.34
Sep 30, 2026
28e13d9
fix(ci): extend issue and PR compliance grace to 72 hours (#52415)
opencode-agent[bot] Oct 1, 2026
62ac31e
chore(triage): update inference issue owners (#52424)
vaprdev Oct 1, 2026
0112a92
chore(triage): add vimtor to inference issue owners (#52425)
vaprdev Oct 1, 2026
8bb2ccf
chore(stats): retire the S3 data lake (#52514)
adamdotdevin Oct 1, 2026
63cf236
chore: update nix node_modules hashes
opencode-agent[bot] Oct 1, 2026
aa481b8
fix(stats): fix data page canonicals, 404s, and sitemap coverage (#52…
adamdotdevin Oct 1, 2026
dc31828
chore(stats): remove s3 lake ingestion (#52572)
adamdotdevin Oct 1, 2026
cff9078
chore: update nix node_modules hashes
opencode-agent[bot] Oct 1, 2026
a79ecfe
feat(stats): add canonical redirects and agent-readable data formats
adamdotdevin Oct 1, 2026
1ddb087
chore(stats): retire legacy s3 lake (#52515)
adamdotdevin Oct 2, 2026
c42ae0d
docs(web): add Ling 3.1 Flash Free to Zen docs (#52781)
MrMushrooooom Oct 2, 2026
108b988
fix(stats): hide models listed in a secret (#52834)
vaprdev Oct 2, 2026
907b3bc
docs(web): add Fledge Alpha Free to Zen docs (#52895)
dc85 Oct 3, 2026
a2aea96
fix: include neriousy in Windows issue triage (#53410)
neriousy Oct 5, 2026
f322849
feat(console): enable marketing nav in dev (#53421)
adamdotdevin Oct 5, 2026
a5c0c36
docs(ecosystem): add opencode-supabase to ecosystem plugins (#49848)
jm0ney337 Oct 5, 2026
54e51ea
chore: generate
opencode-agent[bot] Oct 5, 2026
3569ebe
chore(ci): use blacksmith for dev deploys (#53423)
adamdotdevin Oct 5, 2026
219c226
fix(console): link dev Go navigation to Console (#53430)
adamdotdevin Oct 5, 2026
7723920
chore: remove unused artifacts directory (#53436)
nexxeln Oct 5, 2026
fa49567
chore: bump gitlab-ai-provider to 6.19.0 (#53345)
vglafirov Oct 6, 2026
652c090
chore: update nix node_modules hashes
opencode-agent[bot] Oct 6, 2026
f03046d
feat(go): list paid Space Bunny (#53486)
MrMushrooooom Oct 6, 2026
3f393d7
fix(stats): show public specs for stealth models (#53381)
opencode-agent[bot] Oct 6, 2026
83802d8
fix(opencode): bump @ai-sdk/xai to 3.0.139 so tool-result images reac…
Jaaneek Oct 6, 2026
4ac0d9c
chore: update nix node_modules hashes
opencode-agent[bot] Oct 6, 2026
63be8f9
sync release versions for v1.18.35
Oct 6, 2026
d5772b1
docs(web): add Mistral Large 4 to Zen locales
fwang Oct 6, 2026
adf32d6
docs(web): show Mistral Large 4 discount
fwang Oct 6, 2026
52a6c35
chore: generate
opencode-agent[bot] Oct 6, 2026
e256433
docs(web): add Exo Free to Zen docs (#53622)
dc85 Oct 6, 2026
ecc4916
fix(stats): attribute exo usage to an unknown provider (#53621)
dc85 Oct 6, 2026
3865c69
feat(console): proxy keyless Zen requests to new inference per model …
vimtor Oct 7, 2026
b1fe25a
feat(console): capture monthly inference spend (#53637)
Slickstef11 Oct 7, 2026
1bc3ce9
docs(web): add Haiku 5.5 to Zen model tables
fwang Oct 7, 2026
bd662d5
docs(web): add Haiku 5.5 to Go model tables
fwang Oct 7, 2026
65c47af
feat(console): show Haiku 5.5 across Go pages
fwang Oct 7, 2026
a697115
chore: generate
opencode-agent[bot] Oct 7, 2026
663fbd7
docs(web): add Sonnet 5.5 to Zen model tables
fwang Oct 8, 2026
5e2df97
fix(provider): accept OpenAI ultrafast service tier (#53875)
rekram1-node Oct 8, 2026
5d9cd9b
chore: update nix node_modules hashes
opencode-agent[bot] Oct 8, 2026
5a8c1d8
feat(console): proxy more keyless free Zen models to new inference (#…
vimtor Oct 8, 2026
03146da
feat(opencode): add Step 5 Free content (#53898)
MrMushrooooom Oct 8, 2026
fa0073c
chore: generate
opencode-agent[bot] Oct 8, 2026
9c1fdf8
feat(console): proxy remaining free Zen models and keep proxied 404 e…
vimtor Oct 8, 2026
687664c
refactor(console): proxy every keyless free Zen model to new inferenc…
vimtor Oct 8, 2026
3884062
docs(web): remove Fledge Alpha Free from Zen docs (#53984)
dc85 Oct 8, 2026
b2a3926
fix(core): accept interleaved Copilot reasoning_opaque values (#54207)
rekram1-node Oct 9, 2026
055d95b
fix(tui): highlight C++ module interface files (#53852)
opencode-agent[bot] Oct 9, 2026
9b14c13
chore: publish v1 from the v1 branch
thdxr Oct 10, 2026
7062121
chore: stop deploying from v1
thdxr Oct 10, 2026
03f499d
chore: deploy the v1 web app from v1
thdxr Oct 10, 2026
7b39a33
refactor(server): align pty connect preflight order
thdxr Oct 10, 2026
c28b6a0
feat(opencode): add upgrade --major for moving to OpenCode 2
thdxr Oct 10, 2026
9c97b80
feat(tui): replace V1 auto-update with V2-style /update dialog (#54409)
thdxr Oct 11, 2026
add9b4b
chore: generate
opencode-agent[bot] Oct 11, 2026
dfb56f7
sync release versions for v1.19.0
Oct 11, 2026
abce98e
docs(web): add Cat Jam Free to Zen docs (#55028)
opencode-agent[bot] Oct 13, 2026
a95d9c0
docs(web): correct Cat Jam Free data policy in Zen docs (#55500)
opencode-agent[bot] Oct 14, 2026
d320177
fix(opencode): discontinue session sharing (#55718)
vimtor Oct 15, 2026
bc7c890
sync release versions for v1.19.1
Oct 15, 2026
3be0395
fix(opencode): keep OpenCode 1 updates on 1.x using npm discovery (#5…
thdxr Oct 16, 2026
e03feec
sync release versions for v1.19.2
Oct 16, 2026
d12161e
feat(opencode): build variants from configured reasoning options (#55…
vimtor Oct 16, 2026
60c9be0
chore: generate
opencode-agent[bot] Oct 16, 2026
a1f604b
sync release versions for v1.19.3
Oct 16, 2026
baec69b
chore: bump Bun to 1.4.4 (#58088)
opencode-agent[bot] Oct 22, 2026
a8d8224
chore: update nix node_modules hashes
opencode-agent[bot] Oct 22, 2026
c0c7bae
fix(opencode): install musl native packages for cross builds on Bun 1…
Hona Oct 22, 2026
daf64a1
sync release versions for v1.19.4
Oct 22, 2026
b782d9d
fix(server): align connect route checks (#58258)
opencode-agent[bot] Oct 23, 2026
a54426a
ci: gate v1 releases behind the release environment (#58899)
thdxr Oct 25, 2026
43b2cb2
chore: bump gitlab-ai-provider to 6.23.1 (#58998)
vglafirov Oct 26, 2026
fbabebc
chore: update nix node_modules hashes
opencode-agent[bot] Oct 26, 2026
6d4eecd
fix(ci): release v1 without the OpenCode Agent app token (#59665)
thdxr Oct 27, 2026
bbad8f3
fix(opencode): answer a failed TUI worker request instead of hanging …
Nowaker Oct 27, 2026
da6dbeb
remove unused exports and imports (#59673)
rekram1-node Oct 27, 2026
b01498d
chore(opencode): remove unused files (#59669)
rekram1-node Oct 27, 2026
1c1ba0a
fix(ci): sign v1 with release environment credentials and publish onl…
thdxr Oct 28, 2026
be242b5
ci: replace OpenCode app token on v1 with GITHUB_TOKEN (#59808)
thdxr Oct 28, 2026
1388523
fix(ci): create v1 draft release without --target (#59832)
rekram1-node Oct 28, 2026
810c0eb
release: v1.19.5
Oct 28, 2026
b264b34
feat(app): add workflow sidebar and split chats
Nov 7, 2026
73d7d51
chore: merge upstream OpenCode v1.19.5
Nov 7, 2026
9ac72d7
feat(desktop): migrate CookieMonster to the V2 runtime
Nov 7, 2026
461308c
fix(desktop): preserve V2 selections and migration history
Nov 7, 2026
932ff46
chore(ci): run required checks for CookieMonster dev
Nov 7, 2026
02464f7
fix(app): restore native locale keys and English fallbacks
Nov 7, 2026
763ece8
chore: regenerate API documentation and format source
Nov 7, 2026
844a54d
test(app): synchronize viewport capture and server defaults
Nov 7, 2026
2ce8a13
test(opencode): refresh task tool schema snapshot for browser_tab_ids
Nov 8, 2026
f556f67
fix(app): keep the command palette alive when file search fails
Nov 8, 2026
0519f50
test(app): align e2e suites with V2 contracts and the CM3 layout
Nov 8, 2026
3f0f23b
ci: install Playwright Chromium for app browser unit tests
Nov 8, 2026
9fd4762
ci: pass PLAYWRIGHT_BROWSERS_PATH through to app tests
Nov 8, 2026
23ab95c
test(app): retry the cookie loader animation frame check
Nov 8, 2026
de4c014
test(app): check loader animation on a fresh page
Nov 8, 2026
0b4a0a1
test(app): gate the loader frame diff off Windows CI
Nov 8, 2026
ab7852f
fix(app): keep the provider tip from covering CM3 landing starters
Nov 8, 2026
91e1a3b
test(opencode): cover skill, schedule and V2 archive routes in the Ht…
Nov 8, 2026
dace14e
ci: install ripgrep on the Windows unit runner
Nov 8, 2026
4dde790
feat(app): play the 2.2.5 feature film on first launch
Nov 8, 2026
0c03fe4
test(app): drop duplicate direction runs of the workflow shelf test
Nov 8, 2026
1f47f7c
ci: keep Windows unit temp files on the checkout drive
Nov 8, 2026
4e6bfcc
ci: install ripgrep from the OS package manager on Linux too
Nov 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ runs:
shell: bash
run: |
V=$(node -p "require('./package.json').packageManager.split('@')[1]")
# Bun 1.4.2 includes the patched peer-variant fix in oven-sh/bun#33646.
if [ "$RUNNER_OS" = "Windows" ]; then V=1.4.2; fi
echo "version=$V" >> "$GITHUB_OUTPUT"
if [ "$RUNNER_ARCH" = "X64" ]; then
case "$RUNNER_OS" in
Expand Down
43 changes: 0 additions & 43 deletions .github/actions/setup-git-committer/action.yml

This file was deleted.

66 changes: 66 additions & 0 deletions .github/nix-hashes/publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#!/usr/bin/env bash
# publish.sh <hashes.json>: run from a checkout of v1. Puts <hashes.json> on bot/v1-nix-hashes as one commit on top of v1,
# opens or updates the pull request into v1, dispatches its required checks and enables auto-merge. Closes the pull
# request instead when v1 already has these hashes. Uses git, gh and jq only; never runs repository code.
set -euo pipefail

here=$(cd "$(dirname "$0")" && pwd)
new=$(realpath "$1")
branch=bot/v1-nix-hashes
file=nix/hashes.json
title="chore: update nix node_modules hashes"
: "${GH_REPO:?}" "${GITHUB_SHA:?}"
git=(git -c core.hooksPath=/dev/null -c user.name='github-actions[bot]' -c user.email='41898282+github-actions[bot]@users.noreply.github.com')

bash "$here/validate.sh" "$new"

"${git[@]}" fetch --no-tags --depth=1 origin "+refs/heads/v1:refs/remotes/origin/v1" "$GITHUB_SHA"

# A newer push that changed the inputs has its own run, which publishes hashes for it. Mirrors on.push.paths.
if ! git diff --quiet "$GITHUB_SHA" origin/v1 -- bun.lock package.json ':(glob)packages/*/package.json' \
flake.lock nix/node_modules.nix nix/scripts patches; then
echo "::notice::v1 changed the hash inputs since $GITHUB_SHA; leaving it to the newer run"
exit 0
fi

# Only a same-repository pull request is the bot's; a fork can use the same branch name.
find_pr() {
gh pr list --repo "$GH_REPO" --base v1 --head "$branch" --state open --json number,isCrossRepository \
--jq 'map(select(.isCrossRepository | not)) | .[0].number // empty'
}
pr=$(find_pr)

"${git[@]}" checkout -B "$branch" origin/v1
if cmp -s "$new" "$file"; then
echo "v1 already has these hashes"
if [ -n "$pr" ]; then
gh pr close "$pr" --repo "$GH_REPO" --delete-branch --comment "v1 already has these hashes."
fi
exit 0
fi

cp "$new" "$file"
bash "$here/validate.sh" "$file"
"${git[@]}" add -- "$file"
"${git[@]}" commit --no-verify -m "$title"
[ "$(git diff --name-only origin/v1 HEAD)" = "$file" ] || {
echo "::error::the commit changes more than $file" >&2
exit 1
}
"${git[@]}" push --no-verify --force origin "HEAD:refs/heads/$branch"

if [ -z "$pr" ]; then
gh pr create --repo "$GH_REPO" --base v1 --head "$branch" --title "$title" \
--body "Updates \`$file\` to the node_modules hashes computed for $GITHUB_SHA by bot-nix-hashes. check-bot-scope keeps this branch to that file."
pr=$(find_pr)
fi

# Pushes and pull requests made with GITHUB_TOKEN start no workflows; dispatches do. These produce v1's pull request
# checks on the new head.
for workflow in typecheck.yml test.yml nix-eval.yml check-bot-scope.yml; do
gh workflow run "$workflow" --repo "$GH_REPO" --ref "$branch"
done

gh pr merge "$pr" --repo "$GH_REPO" --auto --squash
echo "### Nix hashes" >> "${GITHUB_STEP_SUMMARY:-/dev/null}"
echo "Updated pull request #$pr" >> "${GITHUB_STEP_SUMMARY:-/dev/null}"
27 changes: 27 additions & 0 deletions .github/nix-hashes/validate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# validate.sh <file>: fails unless <file> has exactly the shape of nix/hashes.json, so the hashes bot can only ever publish
# three SRI hashes. Used by bot-nix-hashes.yml before it commits and by check-bot-scope.yml on the bot's pull request.
# Adding a system to the flake means adding it to SYSTEMS here.
set -euo pipefail

file=${1:?usage: validate.sh <file>}
SYSTEMS='["aarch64-darwin","aarch64-linux","x86_64-linux"]'

fail() {
echo "::error::$file: $*" >&2
exit 1
}

if [ ! -f "$file" ] || [ -L "$file" ]; then fail "not a regular file"; fi
[ "$(wc -c < "$file")" -lt 4096 ] || fail "4096 bytes or larger"
jq -se 'length == 1' "$file" > /dev/null 2>&1 || fail "not a single JSON value"
jq -e --argjson systems "$SYSTEMS" '
type == "object"
and keys == ["nodeModules"]
and (.nodeModules | type == "object")
and (.nodeModules | keys == $systems)
and (.nodeModules | all(.[]; type == "string" and test("\\Asha256-[A-Za-z0-9+/]{43}=\\z")))
' "$file" > /dev/null || fail "expected {\"nodeModules\": {<$SYSTEMS>: \"sha256-<44 base64 chars>\"}}"
# The canonical form rules out duplicate keys and anything else jq would drop on parse.
jq . "$file" | cmp -s - "$file" || fail "not formatted as jq . prints it"
echo "$file: valid"
202 changes: 202 additions & 0 deletions .github/workflows/bot-nix-hashes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
name: bot-nix-hashes

# Keeps nix/hashes.json in step with the lockfile through a pull request, using only GITHUB_TOKEN.
# - hash and compute run repository code (nix build) with a read-only token and no secrets. compute uploads only the
# new nix/hashes.json.
# - publish holds the write token. It runs only .github/nix-hashes/ from this commit, treats the artifact as data,
# validates its exact shape and commits only that file to bot/v1-nix-hashes. It never runs repository code.
# - check-bot-scope.yml, a required check, fails the bot's pull request unless it changes only a valid nix/hashes.json,
# so a tampered branch cannot auto-merge once v1 requires that check.
# This file, check-bot-scope.yml and .github/nix-hashes/ are the security boundary.

permissions:
contents: read

on:
workflow_dispatch:
push:
branches: [v1]
# Mirrored in .github/nix-hashes/publish.sh.
paths:
- "bun.lock"
- "package.json"
- "packages/*/package.json"
- "flake.lock"
- "nix/node_modules.nix"
- "nix/scripts/**"
- "patches/**"
- ".github/workflows/bot-nix-hashes.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
# Native runners required: bun install cross-compilation flags (--os/--cpu)
# do not produce byte-identical node_modules as native installs.
hash:
strategy:
fail-fast: false
matrix:
include:
- system: x86_64-linux
runner: blacksmith-4vcpu-ubuntu-2404
- system: aarch64-linux
runner: blacksmith-4vcpu-ubuntu-2404-arm
- system: aarch64-darwin
runner: macos-latest
runs-on: ${{ matrix.runner }}

steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup Nix
uses: nixbuild/nix-quick-install-action@2c9db80fb984ceb1bcaa77cdda3fdf8cfba92035 # v34

- name: Compute node_modules hash
id: hash
env:
SYSTEM: ${{ matrix.system }}
run: |
set -euo pipefail

BUILD_LOG=$(mktemp)
trap 'rm -f "$BUILD_LOG"' EXIT

HASH=""
MAX_ATTEMPTS=3
for ((ATTEMPT = 1; ATTEMPT <= MAX_ATTEMPTS; ATTEMPT++)); do
# Build with fakeHash to trigger hash mismatch and reveal correct hash
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true

HASH="$(nix run --inputs-from . nixpkgs#gnugrep -- -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"

[ -n "$HASH" ] && break

if [ "$ATTEMPT" -lt "$MAX_ATTEMPTS" ]; then
echo "::warning::Attempt ${ATTEMPT}/${MAX_ATTEMPTS} produced no hash for ${SYSTEM}; retrying in $((ATTEMPT * 10))s"
sleep $((ATTEMPT * 10))
fi
done

if [ -z "$HASH" ]; then
echo "::error::Failed to compute hash for ${SYSTEM} after ${MAX_ATTEMPTS} attempts"
cat "$BUILD_LOG"
exit 1
fi

echo "$HASH" > hash.txt
echo "Computed hash for ${SYSTEM}: $HASH"

- name: Upload hash
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: hash-${{ matrix.system }}
path: hash.txt
retention-days: 1

# Assembles nix/hashes.json from the per-system hashes and uploads it as the only input publish accepts.
compute:
needs: hash
runs-on: ubuntu-24.04
outputs:
changed: ${{ steps.update.outputs.changed }}

steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false

- name: Download hash artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
path: ${{ runner.temp }}/hashes
pattern: hash-*

- name: Update hashes.json
id: update
env:
HASHES: ${{ runner.temp }}/hashes
run: |
set -euo pipefail

HASH_FILE="nix/hashes.json"

[ -f "$HASH_FILE" ] || echo '{"nodeModules":{}}' > "$HASH_FILE"

for SYSTEM in x86_64-linux aarch64-linux aarch64-darwin; do
HASH="$(tr -d '[:space:]' < "$HASHES/hash-${SYSTEM}/hash.txt")"
echo "${SYSTEM}: ${HASH}"
jq --arg sys "$SYSTEM" --arg h "$HASH" '.nodeModules[$sys] = $h' "$HASH_FILE" > tmp.json
mv tmp.json "$HASH_FILE"
done

cat "$HASH_FILE"
bash .github/nix-hashes/validate.sh "$HASH_FILE"

if git diff --quiet -- "$HASH_FILE"; then
echo "changed=false" >> "$GITHUB_OUTPUT"
echo "### Nix hashes" >> "$GITHUB_STEP_SUMMARY"
echo "Status: no changes" >> "$GITHUB_STEP_SUMMARY"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
echo "### Nix hashes" >> "$GITHUB_STEP_SUMMARY"
echo "Status: changed" >> "$GITHUB_STEP_SUMMARY"
fi

- name: Upload hashes.json
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: nix-hashes
path: nix/hashes.json
if-no-files-found: error
retention-days: 1

# Runs even when compute found no change, so an open bot pull request with stale hashes is closed, not merged.
publish:
needs: compute
if: github.repository == 'anomalyco/opencode' && github.ref == 'refs/heads/v1'
runs-on: ubuntu-24.04
concurrency:
group: bot-nix-hashes-publish-v1
cancel-in-progress: false
permissions:
contents: write
pull-requests: write
actions: write

steps:
- name: Check out publish scripts
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: ${{ github.sha }}
path: trusted
sparse-checkout: /.github/nix-hashes/
sparse-checkout-cone-mode: false
persist-credentials: false

# Holds the push credential; only nix/hashes.json is checked out and nothing in it runs.
- name: Check out v1
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
ref: v1
path: repo
sparse-checkout: /nix/hashes.json
sparse-checkout-cone-mode: false

- name: Download hashes.json
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: nix-hashes
path: ${{ runner.temp }}/nix-hashes

- name: Publish
working-directory: repo
run: bash ../trusted/.github/nix-hashes/publish.sh "$RUNNER_TEMP/nix-hashes/hashes.json"
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
Loading
Loading