Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
cf5dd5a
fix(termux): add Android artifact support
wallentx Jul 6, 2026
88bc498
fix(termux): make target fork friendly
wallentx Jul 6, 2026
0ed10fb
release: v1.17.14
Jul 6, 2026
26885e7
feat(app): align cmd k menu with v2 styles (#35152)
arvsrn Jul 7, 2026
254a481
fix(config): handle unavailable config directories (#35632)
jlongster Jul 7, 2026
6aff2ee
feat(app): visual improvements (#35134)
arvsrn Jul 7, 2026
9353559
chore: generate
opencode-agent[bot] Jul 7, 2026
2a08f8f
feat(app): reintroduce model context tooltip in model selector (#35087)
arvsrn Jul 7, 2026
0497e8b
chore: generate
opencode-agent[bot] Jul 7, 2026
50374ab
feat(app): change traffic light position, fix sequoia bug (#35081)
arvsrn Jul 7, 2026
ae259d8
fix(app): apply settings themes on select (#35011)
opencode-agent[bot] Jul 7, 2026
64fd7a2
fix(app): persist session tab info (#34934)
Brendonovich Jul 7, 2026
c48b77d
chore: generate
opencode-agent[bot] Jul 7, 2026
c5fe32f
fix(app): show unread for pending questions (#34684)
opencode-agent[bot] Jul 7, 2026
65fd2e5
fix(app): prioritize shortcuts in terminal (#35668)
Brendonovich Jul 7, 2026
39397de
chore: generate
opencode-agent[bot] Jul 7, 2026
516f026
fix(app): hide markdown task markers (#35670)
Brendonovich Jul 7, 2026
ea9fffc
feat(data): redesign model efficiency
adamdotdevin Jul 7, 2026
1c25b2f
chore: generate
opencode-agent[bot] Jul 7, 2026
fd9ee43
fix(core): expand home-relative permission paths (#35737)
StarpTech Jul 7, 2026
888dc67
chore: generate
opencode-agent[bot] Jul 7, 2026
78f85b1
fix(core): ensure relevant files survive compaction (#35636)
opencode-agent[bot] Jul 7, 2026
adf178a
fix(llm): classify zai token limit overflow (#35671)
fengjikui Jul 7, 2026
5fb0d1c
release: v1.17.15
Jul 7, 2026
0b2e870
sync release versions for v1.17.15
Jul 7, 2026
14a5529
feat(data): redesign model peers
adamdotdevin Jul 7, 2026
c274745
chore(termux): seed release automation
github-actions[bot] Jul 7, 2026
85f6fc2
Termux v1.17.14 (#10)
unemployabot[bot] Jul 7, 2026
f5439d6
Merge commit '85f6fc2154bf9719d1a39738998ff3aea64d152b' into checkpoi…
github-actions[bot] Jul 7, 2026
ffca5f8
Merge pull request #11 from wallentx/checkpoint-85f6fc2154bf
unemployabot[bot] Jul 7, 2026
e7a1dc6
chore(termux): seed release automation
github-actions[bot] Jul 7, 2026
4704a45
chore(termux): prepare v1.17.15
github-actions[bot] Jul 7, 2026
1545068
Merge branch 'release-1.17.15' into termux-1.17.15
wallentx Jul 7, 2026
7c27868
Merge pull request #12 from wallentx/termux-1.17.15
wallentx Jul 7, 2026
f0b69bf
Merge commit '7c27868828fada7db0edef21b0f7f3a174da5ee9' into checkpoi…
github-actions[bot] Jul 7, 2026
4c6a4b7
Merge pull request #13 from wallentx/checkpoint-7c27868828fa
unemployabot[bot] Jul 7, 2026
d37ed61
fix(ci): disable upstream housekeeping on forks
wallentx Jul 7, 2026
f4d01f4
chore(codegraph): Ignore generated data files
wallentx Jul 7, 2026
95013d2
fix(app): keep session routes within layouts (#35842)
Brendonovich Jul 8, 2026
7b75f81
fix(termux): pin OpenTUI for Android build
wallentx Jul 8, 2026
6cfe4bc
fix(app): route new session shortcut through tabs (#35849)
Brendonovich Jul 8, 2026
77429f5
feat(app): sync product translations (#35856)
Hona Jul 8, 2026
56cbbbb
Termux v1.17.14 (#14)
unemployabot[bot] Jul 8, 2026
a305196
Merge commit '56cbbbb1b59bb6395fa70c56f7fa3f8fb75523f5' into checkpoi…
github-actions[bot] Jul 8, 2026
89d8950
Merge pull request #15 from wallentx/checkpoint-56cbbbb1b59b
unemployabot[bot] Jul 8, 2026
3d87de4
chore(termux): seed release automation
github-actions[bot] Jul 8, 2026
59c6e7e
Termux v1.17.14 (#16)
unemployabot[bot] Jul 8, 2026
ca4387e
Merge commit '59c6e7e57876db1654d24ab725dc57fc1ee352ae' into checkpoi…
github-actions[bot] Jul 8, 2026
cecad03
Merge pull request #17 from wallentx/checkpoint-59c6e7e57876
unemployabot[bot] Jul 8, 2026
93be25f
chore(termux): seed release automation
github-actions[bot] Jul 8, 2026
849f645
Termux v1.17.15 (#18)
unemployabot[bot] Jul 8, 2026
907dbff
Merge commit '849f64528208566f42e39f46ecf725d50663c40b' into checkpoi…
github-actions[bot] Jul 8, 2026
22d3020
Merge pull request #19 from wallentx/checkpoint-849f64528208
unemployabot[bot] Jul 8, 2026
5a533e3
feat(stats): add model comparison pages
adamdotdevin Jun 24, 2026
ccd8676
feat(stats): add model comparison home
adamdotdevin Jul 8, 2026
a72c388
chore: generate
opencode-agent[bot] Jul 8, 2026
ecd8be7
zen: grok 4.5
fwang Jul 8, 2026
3a95d56
Merge branch 'dev' of https://github.com/anomalyco/opencode into dev
fwang Jul 8, 2026
fe96d4a
zen: grok 4.5
fwang Jul 8, 2026
f95f877
fix(core): watch only git projects (#35957)
opencode-agent[bot] Jul 8, 2026
ccb6b7c
fix: improve xai cache hit rate (#35970)
rekram1-node Jul 8, 2026
9644a00
chore: generate
opencode-agent[bot] Jul 8, 2026
fff6764
fix(console): update square avatar previews (#35975)
iamdavidhill Jul 8, 2026
c33a201
fix(app): prevent command palette first-open flash (#35858)
opencode-agent[bot] Jul 8, 2026
7550aa4
chore: update nix node_modules hashes
opencode-agent[bot] Jul 8, 2026
62de2b3
feat(app): add inline file browser tabs (#35829)
Hona Jul 8, 2026
824455e
fix(app): load capped review patches (#35633)
Hona Jul 8, 2026
83d633f
fix(app): route legacy drafts to session page (#35808)
Hona Jul 8, 2026
aa52d30
feat(app): persist review state per session (#35488)
Hona Jul 8, 2026
d8a57ee
fix(app): unmount hidden session panes (#35628)
Hona Jul 8, 2026
dd25d14
fix(app): reserve review pane minimum instead of capping chat width a…
Hona Jul 8, 2026
0abbcdd
chore: add missing team members (#35980)
opencode-agent[bot] Jul 8, 2026
1db5c24
fix(opencode): expose Grok reasoning variants (#36017)
rekram1-node Jul 9, 2026
13fa493
feat(desktop): add provider connection tip (#35948)
usrnk1 Jul 9, 2026
7c56319
chore: generate
opencode-agent[bot] Jul 9, 2026
3cd9ee5
feat(app): add composer add menu with draft-preserving commands (#35711)
usrnk1 Jul 9, 2026
a4c17f0
feat(desktop): reveal projects in file manager (#35731)
usrnk1 Jul 9, 2026
353e0ee
chore: generate
opencode-agent[bot] Jul 9, 2026
fb1edc4
chore: update nix node_modules hashes
opencode-agent[bot] Jul 9, 2026
c7f08b3
release: v1.17.16
Jul 9, 2026
e357c90
sync release versions for v1.17.16
Jul 9, 2026
5cc3a51
feat(app): free model selector (#35707)
arvsrn Jul 9, 2026
ae7d632
feat(app): fix descender clipping (#35950)
arvsrn Jul 9, 2026
4f9207d
feat(app): restyle revert dock for v2 (#35560)
usrnk1 Jul 9, 2026
5c860d4
feat(feat): align sub-agent task rows with v2 design (#35167)
usrnk1 Jul 9, 2026
6b41ae9
chore: generate
opencode-agent[bot] Jul 9, 2026
c6c599b
feat(app): refactor help button and add tabs info popup persistence (…
Brendonovich Jul 9, 2026
3b18c64
chore: generate
opencode-agent[bot] Jul 9, 2026
3bebfe6
chore: update nix node_modules hashes
opencode-agent[bot] Jul 9, 2026
fc9021c
zen: retry on 529
fwang Jul 9, 2026
518772c
Merge branch 'dev' of github.com:anomalyco/opencode into dev
fwang Jul 9, 2026
2e43d41
tweak: adjust variant logic for muse (#36079)
rekram1-node Jul 9, 2026
08096b5
sync release versions for v1.17.17
Jul 9, 2026
d632f38
chore(termux): seed release automation
github-actions[bot] Jul 9, 2026
40b500e
chore(termux): prepare v1.17.16
github-actions[bot] Jul 9, 2026
b4665a8
feat: add meta muse system prompt (#36122)
rekram1-node Jul 9, 2026
b8374b5
fix(copilot): handle zero billing batch size (#36123)
rekram1-node Jul 9, 2026
b1fc811
release: v1.17.18
Jul 9, 2026
c2e019b
sync release versions for v1.17.18
Jul 9, 2026
d7afd59
Merge branch 'release-1.17.16' into termux-1.17.16
wallentx Jul 9, 2026
a2a3ca2
Merge pull request #20 from wallentx/termux-1.17.16
wallentx Jul 9, 2026
868effa
Merge commit 'a2a3ca24003d1163479eaf9c1220aa05d9f4a0f6' into checkpoi…
github-actions[bot] Jul 9, 2026
904acb3
Merge pull request #21 from wallentx/checkpoint-a2a3ca24003d
unemployabot[bot] Jul 9, 2026
9c6bb4f
fix(app): show tree while opening files (#36018)
Hona Jul 9, 2026
b94e55c
fix(app): align context tokens with usage (#36015)
Hona Jul 9, 2026
13b9e55
fix(ui): sometimes outlines get clipped (#33846)
opencode-agent[bot] Jul 9, 2026
251177d
fix(tui): forward environment to worker (#35925)
opencode-agent[bot] Jul 9, 2026
85ef35d
fix(data): oom crash in stats sync
adamdotdevin Jul 10, 2026
d09d561
chore: generate
opencode-agent[bot] Jul 10, 2026
9cf82c3
chore(termux): seed release automation
github-actions[bot] Jul 10, 2026
bf641a6
chore(termux): prepare v1.17.18
github-actions[bot] Jul 10, 2026
1870518
Merge remote-tracking branch 'origin/release-1.17.18' into HEAD
wallentx Jul 10, 2026
e6618d6
fix(termux): stabilize release branches
wallentx Jul 10, 2026
dfc2146
chore(termux): remove Zig build cache
wallentx Jul 10, 2026
ac975d7
fix(termux): skip release PR tests
wallentx Jul 10, 2026
7960e09
Merge pull request #22 from wallentx/termux-1.17.18
wallentx Jul 10, 2026
ea982c3
fix(app): wrap session creation state updates in startTransition (#36…
Brendonovich Jul 10, 2026
ced74c0
Merge commit '7960e0917e05f1de03e90a16785222c7156056e5' into checkpoi…
github-actions[bot] Jul 10, 2026
daf0cec
Merge pull request #23 from wallentx/checkpoint-7960e0917e05
unemployabot[bot] Jul 10, 2026
01131c7
fix(app): focus input on new session (#36077)
opencode-agent[bot] Jul 10, 2026
c769380
feat(app): visual improvements (#36073)
arvsrn Jul 10, 2026
772e976
fix(app): timeline width jumps around when review panel is open/close…
arvsrn Jul 10, 2026
d0ba538
zen: track openai cache_write_tokens
fwang Jul 10, 2026
8a03fc2
feat(app): extract prompt state and add composer model selection (#36…
Brendonovich Jul 10, 2026
60c8833
feat(stats): update model comparison page
adamdotdevin Jul 10, 2026
08a2a62
fix(data): cut athena stats sync cost
adamdotdevin Jul 10, 2026
7dbfd0b
chore: generate
opencode-agent[bot] Jul 10, 2026
f4faacb
feat(stats): unify comparison cards
adamdotdevin Jul 10, 2026
0340a4f
fix(stats): restore native trackpad scrolling
adamdotdevin Jul 10, 2026
a84151e
fix(stats): restore sticky comparison header
adamdotdevin Jul 10, 2026
1c7f65f
fix(stats): stop comparison overscroll
adamdotdevin Jul 10, 2026
4a1982f
feat(stats): add model comparison radar
adamdotdevin Jul 10, 2026
233f069
feat(stats): add comparison seo pages
adamdotdevin Jul 10, 2026
5df822b
fix(stats): polish comparison details
adamdotdevin Jul 10, 2026
9976269
docs: publish GPT 5.6 Sol, Terra, and Luna model availability and pri…
fwang Jul 10, 2026
2db96c9
fix(core): disable unused fff content caches (#36453)
opencode-agent[bot] Jul 11, 2026
34e5809
feat(tui): show idle session directory (#36457)
opencode-agent[bot] Jul 11, 2026
a244d82
test(opencode): refresh models.dev fixture (#36541)
rekram1-node Jul 12, 2026
184da0e
test(opencode): refresh stale model references (#36546)
rekram1-node Jul 12, 2026
d7c0db8
fix(openai): use codex context limits for gpt-5.6 (#36248)
nabilfreeman Jul 12, 2026
4dcfd91
chore: generate
opencode-agent[bot] Jul 12, 2026
6f8e1dd
fix(provider): derive variants from reasoning options (#36543)
rekram1-node Jul 12, 2026
cf75036
chore: generate
opencode-agent[bot] Jul 12, 2026
8036440
ci: remove starptech from core triage assignees (#36618)
opencode-agent[bot] Jul 13, 2026
8168f0f
fix(provider): route gateway variants by api id (#36614)
rekram1-node Jul 13, 2026
f476847
fix(opencode): filter unsupported GPT-5.6 OAuth alias (#36621)
rekram1-node Jul 13, 2026
a8062ea
fix(provider): derive variants from reasoning metadata (#36624)
rekram1-node Jul 13, 2026
dd02cea
feat(desktop): fix clipped labels and branch tooltip (#35724)
usrnk1 Jul 13, 2026
140e796
feat(ui): add accent badge variant
usrnk1 Jul 8, 2026
ac5e249
feat(app): add interface transition setting
usrnk1 Jul 8, 2026
97f502e
feat(app): middle click to open new tab (#36215)
arvsrn Jul 13, 2026
9bbf791
chore: generate
opencode-agent[bot] Jul 13, 2026
17cd4a8
feat(app): align edit project modal with v2 style (#36213)
arvsrn Jul 13, 2026
d595c7e
feat(app): review panel updates (#36240)
arvsrn Jul 13, 2026
49028b6
chore: generate
opencode-agent[bot] Jul 13, 2026
446510a
tui: surface a dismissible new-interface notice and tighten settings …
usrnk1 Jul 13, 2026
8ce5038
Merge branch 'dev' of https://github.com/anomalyco/opencode into inte…
usrnk1 Jul 13, 2026
2b29854
chore: generate
opencode-agent[bot] Jul 13, 2026
b4e49d5
feat(app): redesign attachment cards (#35945)
arvsrn Jul 13, 2026
51b9c72
fix(app): remove interface transition changes accidentally merged int…
usrnk1 Jul 13, 2026
b3a012c
fix(cli): switch org after console logout (#36276)
opencode-agent[bot] Jul 13, 2026
99668cf
fix(provider): tweak reasoning option driven max budget variants (#36…
rekram1-node Jul 13, 2026
5401eba
chore: bump gitlab-ai-provider to 6.11.0 (#36668)
vglafirov Jul 13, 2026
7ec3d67
chore: update nix node_modules hashes
opencode-agent[bot] Jul 13, 2026
67aa9ce
fix(opencode): support Luna Responses Lite over OAuth (#36685)
rekram1-node Jul 13, 2026
49d997a
fix(xai): default store to false for Responses (#36629)
geraint0923 Jul 13, 2026
92cc8f5
fix(stats): correct breadcrumb behavior
adamdotdevin Jul 13, 2026
c2f93ae
chore: generate
opencode-agent[bot] Jul 13, 2026
e434ce0
fix(provider): support OpenAI pro reasoning mode (#36694)
rekram1-node Jul 13, 2026
2773440
chore: generate
opencode-agent[bot] Jul 13, 2026
c9976d6
chore: update nix node_modules hashes
opencode-agent[bot] Jul 13, 2026
dc927a7
release: v1.17.19
Jul 13, 2026
e71fbb6
sync release versions for v1.17.19
Jul 13, 2026
049ee1c
chore(provider): bump Azure AI SDK for GPT-5.6 (#36704)
rekram1-node Jul 13, 2026
b7fdb59
chore: update nix node_modules hashes
opencode-agent[bot] Jul 13, 2026
f026c14
fix(data): select component ux
adamdotdevin Jul 13, 2026
1586a26
fix(data): selects
adamdotdevin Jul 13, 2026
0768c46
chore: generate
opencode-agent[bot] Jul 13, 2026
fe41e9d
chore: update nix node_modules hashes
opencode-agent[bot] Jul 13, 2026
808677a
chore: bump gitlab-ai-provider to 6.11.1 (#36722)
vglafirov Jul 13, 2026
b3bd21d
chore(termux): seed release automation
github-actions[bot] Jul 13, 2026
a991590
Termux v1.17.19 (#24)
unemployabot[bot] Jul 13, 2026
0d5798c
chore: update nix node_modules hashes
opencode-agent[bot] Jul 13, 2026
6490a7d
checkpoint: prepare release-1.17.19 for termux-target
github-actions[bot] Jul 13, 2026
ad982af
fix(termux): resolve 1.17.19 checkpoint conflicts
wallentx Jul 13, 2026
58ceb55
Merge pull request #25 from wallentx/checkpoint-a9915909beb1
wallentx Jul 13, 2026
5117679
fix(opencode): remove obsolete Luna Responses Lite workaround (#36750)
rekram1-node Jul 13, 2026
4473fc3
release: v1.17.20
Jul 13, 2026
446d334
chore(termux): seed release automation
github-actions[bot] Jul 13, 2026
fff6066
Termux v1.17.20 (#26)
unemployabot[bot] Jul 13, 2026
715eecd
Merge commit 'fff6066385c7f66f985790dc29a7ee6382507478' into checkpoi…
wallentx Jul 13, 2026
bfde9fd
Merge pull request #27 from wallentx/checkpoint-fff6066385c7
wallentx Jul 13, 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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .codegraph/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CodeGraph data files — local to each machine, not for committing.
# Ignore everything in .codegraph/ except this file itself, so transient
# files (the database, daemon.pid, sockets, logs) never show up in git.
*
!.gitignore
4 changes: 4 additions & 0 deletions .github/TEAM_MEMBERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
adamdotdevin
arvsrn
Brendonovich
fwang
Hona
Expand All @@ -7,11 +8,14 @@ jayair
jlongster
kitlangton
kommander
ludvigrask
MrMushrooooom
nexxeln
R44VC0RP
rekram1-node
thdxr
simonklee
Slickstef11
usrnk1
vimtor
starptech
12 changes: 12 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
self-hosted-runner:
labels:
- blacksmith-4vcpu-ubuntu-2404
- blacksmith-4vcpu-ubuntu-2404-arm
- blacksmith-4vcpu-windows-2025

config-variables: null

paths:
.github/workflows/docs-locale-sync.yml:
ignore:
- 'constant expression "false" in condition'
5 changes: 4 additions & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

jobs:
sync:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: write
pull-requests: write
Expand All @@ -21,6 +22,7 @@ jobs:
uses: ./.github/actions/setup-bun

- name: Setup Git Committer
if: github.repository == 'anomalyco/opencode'
id: setup-git-committer
uses: ./.github/actions/setup-git-committer
with:
Expand All @@ -31,6 +33,7 @@ jobs:
run: bun i -g opencode-ai

- name: Sync beta branch
if: github.repository == 'anomalyco/opencode'
env:
GH_TOKEN: ${{ steps.setup-git-committer.outputs.token }}
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
close:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/close-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:

jobs:
close:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
timeout-minutes: 240
permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compliance-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

jobs:
close-non-compliant:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
steps:
- name: Close non-compliant issues and PRs after 2 hours
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ permissions:

jobs:
build:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
TAG: "24.04"
Expand All @@ -32,6 +33,7 @@ jobs:
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0

- name: Login to GHCR
if: github.repository == 'anomalyco/opencode'
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: ghcr.io
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs-locale-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
sync-locales:
if: false
#if: github.actor != 'opencode-agent[bot]'
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: write
steps:
Expand All @@ -26,6 +26,7 @@ jobs:
uses: ./.github/actions/setup-bun

- name: Setup git committer
if: github.repository == 'anomalyco/opencode'
id: committer
uses: ./.github/actions/setup-git-committer
with:
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Sync locale docs with OpenCode
if: steps.changes.outputs.has_changes == 'true'
if: github.repository == 'anomalyco/opencode' && (steps.changes.outputs.has_changes == 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
OPENCODE_CONFIG_CONTENT: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/duplicate-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
check-duplicates:
if: github.event.action == 'opened'
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode' && github.event.action == 'opened'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Check duplicates and compliance
if: steps.author.outputs.skip != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.author.outputs.skip != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
Remember: post at most ONE comment combining all findings. If everything is fine, post nothing."

recheck-compliance:
if: github.event.action == 'edited' && contains(github.event.issue.labels.*.name, 'needs:compliance')
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode' && github.event.action == 'edited' && contains(github.event.issue.labels.*.name, 'needs:compliance')
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Recheck compliance
if: steps.author.outputs.skip != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.author.outputs.skip != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
16 changes: 3 additions & 13 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

jobs:
generate:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: write
pull-requests: write
Expand All @@ -19,6 +20,7 @@ jobs:
uses: ./.github/actions/setup-bun

- name: Setup git committer
if: github.repository == 'anomalyco/opencode'
id: committer
uses: ./.github/actions/setup-git-committer
with:
Expand All @@ -37,15 +39,3 @@ jobs:
git add -A
git commit -m "chore: generate" --allow-empty
git push origin HEAD:${{ github.ref_name }} --no-verify
# if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
# echo ""
# echo "============================================"
# echo "Failed to push generated code."
# echo "Please run locally and push:"
# echo ""
# echo " ./script/generate.ts"
# echo " git add -A && git commit -m \"chore: generate\" && git push"
# echo ""
# echo "============================================"
# exit 1
# fi
2 changes: 1 addition & 1 deletion .github/workflows/nix-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
nix-eval:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
timeout-minutes: 15
steps:
- name: Checkout repository
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nix-hashes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# Native runners required: bun install cross-compilation flags (--os/--cpu)
# do not produce byte-identical node_modules as native installs.
compute-hash:
if: github.repository == 'anomalyco/opencode'
strategy:
fail-fast: false
matrix:
Expand All @@ -37,7 +38,7 @@ jobs:
runner: macos-15-intel
- system: aarch64-darwin
runner: macos-latest
runs-on: ${{ matrix.runner }}
runs-on: ${{ github.repository == 'anomalyco/opencode' && (matrix.runner) || 'ubuntu-latest' }}

steps:
- name: Checkout repository
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:

update-hashes:
needs: compute-hash
if: github.event_name != 'pull_request'
if: github.repository == 'anomalyco/opencode' && github.event_name != 'pull_request'
runs-on: blacksmith-4vcpu-ubuntu-2404

steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/notify-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:

jobs:
notify:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- name: Send nicely-formatted embed to Discord
if: github.repository == 'anomalyco/opencode'
uses: SethCohen/github-releases-to-discord@24d166886aee4646d448c8a389ff9e1ebcab3682 # v1.20.0
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
14 changes: 9 additions & 5 deletions .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ on:
jobs:
opencode:
if: |
contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
runs-on: blacksmith-4vcpu-ubuntu-2404
github.repository == 'anomalyco/opencode' &&
(
contains(github.event.comment.body, ' /oc') ||
startsWith(github.event.comment.body, '/oc') ||
contains(github.event.comment.body, ' /opencode') ||
startsWith(github.event.comment.body, '/opencode')
)
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
id-token: write
contents: read
Expand All @@ -26,6 +29,7 @@ jobs:
- uses: ./.github/actions/setup-bun

- name: Run opencode
if: github.repository == 'anomalyco/opencode'
uses: anomalyco/opencode/github@2c14fc5586fe0b88e5c04732d2e846769cc35671 # latest
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:

jobs:
check-duplicates:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
} > pr_info.txt

- name: Check for duplicate PRs
if: steps.team-check.outputs.is_team != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.team-check.outputs.is_team != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -72,6 +73,7 @@ jobs:
fi

add-contributor-label:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
check-standards:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -153,6 +154,7 @@ jobs:
console.log('PR meets all standards');

check-compliance:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ permissions:

jobs:
publish:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ permissions:

jobs:
publish:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
Expand All @@ -29,6 +30,7 @@ jobs:
working-directory: ./sdks/vscode

- name: Publish
if: github.repository == 'anomalyco/opencode'
run: |
./script/publish
working-directory: ./sdks/vscode
Expand Down
Loading