Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
5aeb305
desktop: temporarily disable wsl
Brendonovich Feb 18, 2026
6cd3a59
desktop: cleanup
Brendonovich Feb 18, 2026
3394402
chore: cleanup
adamdotdevin Feb 18, 2026
cc86a64
tui: simplify mode toggle icon styling
iamdavidhill Feb 18, 2026
c34ad72
chore: cleanup
adamdotdevin Feb 18, 2026
fbe9669
fix: use group-hover for file tree icon color swap at all nesting levels
iamdavidhill Feb 18, 2026
e132dd2
chore: cleanup
adamdotdevin Feb 18, 2026
e4b548f
docs: add policy about AI-generated security reports
thdxr Feb 18, 2026
00c2387
chore: cleanup (#14113)
adamdotdevin Feb 18, 2026
2611c35
fix(app): lower threshold for diff hiding
adamdotdevin Feb 18, 2026
1bb8574
app: refactor server management backend (#13813)
Brendonovich Feb 18, 2026
6b29896
feat: Add centralized filesystem module for Bun.file migration (#14117)
thdxr Feb 18, 2026
3aaf29b
chore: update nix node_modules hashes
opencode-agent[bot] Feb 18, 2026
4a58235
desktop: fix isLocal
Brendonovich Feb 18, 2026
f8904e3
desktop: handle sidecar key in projectsKey
Brendonovich Feb 18, 2026
d27dbfe
fix(cli): session list --max-count not honored, shows too few session…
mharris717 Feb 18, 2026
83b7d8e
feat: GitLab Duo - bump gitlab-ai-provider to 3.6.0 (adds Sonnet 4.6)…
vglafirov Feb 18, 2026
fc1addb
ignore: tweak contributing md (#14168)
rekram1-node Feb 18, 2026
38572b8
feat: add Julia language server support (#14129)
zarly Feb 18, 2026
37b24f4
refactor: migrate index.ts from Bun.file() to Filesystem module (#14160)
thdxr Feb 18, 2026
91a3ee6
chore: update nix node_modules hashes
opencode-agent[bot] Feb 18, 2026
3d189b4
refactor: migrate file/ripgrep.ts from Bun.file()/Bun.write() to File…
thdxr Feb 18, 2026
a5c15a2
core: allow readJson to be called without explicit type parameter
thdxr Feb 18, 2026
472d01f
refactor: migrate cli/cmd/run.ts from Bun.file() to Filesystem/stat m…
thdxr Feb 18, 2026
b714bb2
ci: switch to standard GitHub cache action for Bun dependencies
thdxr Feb 18, 2026
a500eaa
refactor: migrate format/formatter.ts from Bun.file() to Filesystem m…
thdxr Feb 18, 2026
82a323e
refactor: migrate cli/cmd/github.ts from Bun.write() to Filesystem mo…
thdxr Feb 18, 2026
ef155f3
refactor: migrate file/index.ts from Bun.file() to Filesystem module …
thdxr Feb 18, 2026
8f4a72c
refactor: migrate config/markdown.ts from Bun.file() to Filesystem mo…
thdxr Feb 18, 2026
e0e8b94
refactor: migrate uninstall.ts from Bun.file()/Bun.write() to Filesys…
thdxr Feb 18, 2026
c88ff3c
refactor: migrate src/bun/index.ts from Bun.file()/Bun.write() to Fil…
thdxr Feb 18, 2026
eb3f337
refactor: migrate clipboard.ts from Bun.file() to Filesystem module (…
thdxr Feb 18, 2026
5638b78
refactor: migrate editor.ts from Bun.file()/Bun.write() to Filesystem…
thdxr Feb 18, 2026
d447b76
fix(github): emit PROMPT_TOO_LARGE error on context overflow (#14166)
elithrar Feb 18, 2026
3f60a6c
chore: cleanup
adamdotdevin Feb 18, 2026
ef14f64
chore: cleanup
adamdotdevin Feb 18, 2026
8408e47
chore: cleanup
adamdotdevin Feb 18, 2026
72c12d5
chore: cleanup
adamdotdevin Feb 18, 2026
be2e6f1
fix(opencode): update pasteImage to only increment count when the pre…
OpeOginni Feb 18, 2026
8bf06cb
refactor: migrate src/global/index.ts from Bun.file() to Filesystem m…
thdxr Feb 18, 2026
24a9841
zen: update sst version
fwang Feb 18, 2026
c6bd320
chore: update nix node_modules hashes
opencode-agent[bot] Feb 18, 2026
42aa28d
chore: cleanup (#14181)
adamdotdevin Feb 18, 2026
1133d87
chore: cleanup
adamdotdevin Feb 18, 2026
de25703
fix(app): terminal cross-talk (#14184)
adamdotdevin Feb 18, 2026
1aa18c6
feat(plugin): pass sessionID and callID to shell.env hook input (#13662)
tesdal Feb 18, 2026
2d7c9c9
chore: generate
opencode-agent[bot] Feb 18, 2026
d6331cf
Update colors.css
iamdavidhill Feb 18, 2026
12016c8
oc-2 theme init
iamdavidhill Feb 18, 2026
5d69f00
button style tweaks
iamdavidhill Feb 18, 2026
24ce49d
fix(ui): add previous smoke colors
iamdavidhill Feb 18, 2026
0888c02
tweak(ui): file tree background color
iamdavidhill Feb 18, 2026
9110e6a
tweak(ui): share button border
iamdavidhill Feb 18, 2026
f20c0bf
tweak(ui): unify titlebar expanded button background
iamdavidhill Feb 18, 2026
e5d52e4
tweak(ui): align pill tabs pressed background
iamdavidhill Feb 18, 2026
4db2d94
tweak(ui): shrink filetree tab height
iamdavidhill Feb 18, 2026
0873908
tweak(ui): theme color updates
iamdavidhill Feb 18, 2026
1f9be63
tweak(ui): use weak border and base icon color for secondary
iamdavidhill Feb 18, 2026
6d69ad5
tweak(ui): update oc-2 secondary button colors
iamdavidhill Feb 18, 2026
bcca253
tweak(ui): hover and active styles for title bar buttons
iamdavidhill Feb 18, 2026
3690caf
tweak(ui): hover and active styles for title bar buttons
iamdavidhill Feb 18, 2026
4e95984
tweak(ui): hover and active styles for filetree tabs
iamdavidhill Feb 18, 2026
09286cc
tweak(ui): oc-2 theme updates
iamdavidhill Feb 18, 2026
2f56761
tweak(ui): expanded color state on titlebar buttons
iamdavidhill Feb 18, 2026
db4ff89
Update oc-2.json
iamdavidhill Feb 18, 2026
1ed4a98
tweak(ui): remove pressed transition for secondary buttons
iamdavidhill Feb 18, 2026
431f534
tweak(ui): search button style
iamdavidhill Feb 18, 2026
c7a79f1
Update icon-button.css
iamdavidhill Feb 18, 2026
e42cc85
Update oc-2.json
iamdavidhill Feb 18, 2026
d730d8b
tweak(ui): shrink review diff style toggle
iamdavidhill Feb 18, 2026
1571246
tweak(ui): use default cursor for segmented control
iamdavidhill Feb 18, 2026
1b67339
Update radio-group.css
iamdavidhill Feb 18, 2026
06b2304
tweak(ui): override for the radio group in the review
iamdavidhill Feb 18, 2026
31e964e
Update oc-2.json
iamdavidhill Feb 18, 2026
bb6d1d5
tweak(ui): adjust review diff style hover radius
iamdavidhill Feb 18, 2026
47b4de3
tweak(ui): tighten review header action spacing
iamdavidhill Feb 18, 2026
ba919fb
tweak(ui): shrink review expand/collapse width
iamdavidhill Feb 18, 2026
50923f0
tweak(ui): remove pressed scale for secondary buttons
iamdavidhill Feb 18, 2026
d8a4a12
Update oc-2.json
iamdavidhill Feb 18, 2026
7faa8cb
tweak(ui): reduce review panel padding
iamdavidhill Feb 18, 2026
dec7827
chore: generate
opencode-agent[bot] Feb 18, 2026
c71f4d4
Update oc-2.json
iamdavidhill Feb 18, 2026
d5971e2
refactor: migrate src/cli/cmd/import.ts from Bun.file() to Filesystem…
thdxr Feb 18, 2026
898bcde
refactor: migrate src/cli/cmd/agent.ts from Bun.file()/Bun.write() to…
thdxr Feb 18, 2026
3cde93b
refactor: migrate src/auth/index.ts from Bun.file()/Bun.write() to Fi…
thdxr Feb 18, 2026
a2469d9
refactor: migrate src/acp/agent.ts from Bun.file() to Filesystem modu…
thdxr Feb 18, 2026
e37a908
refactor: migrate src/cli/cmd/session.ts from Bun.file() to statSync …
thdxr Feb 18, 2026
a4b36a7
refactor: migrate src/file/time.ts from Bun.file() to stat (#14141)
thdxr Feb 18, 2026
ec7c72d
tweak(ui): restyle reasoning blocks
iamdavidhill Feb 18, 2026
2589eb2
tweak(app): shorten prompt mode toggle tooltips
iamdavidhill Feb 18, 2026
cfea5c7
tweak(app): delay prompt mode toggle tooltip
iamdavidhill Feb 18, 2026
d366a14
refactor: migrate src/lsp/server.ts from Bun.file()/Bun.write() to Fi…
thdxr Feb 18, 2026
87c1637
fix(lsp): use HashiCorp releases API for installing terraform-ls (#14…
edubxb Feb 18, 2026
7033b4d
fix(win32): Sidecar spawning a window (#14197)
Hona Feb 18, 2026
639d1dd
chore: add compliance checks for issues and PRs with recheck on edit …
R44VC0RP Feb 18, 2026
b909679
chore: generate
opencode-agent[bot] Feb 18, 2026
b75a897
refactor: migrate src/lsp/client.ts from Bun.file() to Filesystem mod…
thdxr Feb 18, 2026
97520c8
refactor: migrate src/provider/models.ts from Bun.file()/Bun.write() …
thdxr Feb 18, 2026
48dfa45
refactor: migrate src/util/log.ts from Bun.file() to Node.js fs modul…
thdxr Feb 18, 2026
6fb4f2a
refactor: migrate src/cli/cmd/tui/thread.ts from Bun.file() to Filesy…
thdxr Feb 18, 2026
5d12eb9
refactor: migrate src/shell/shell.ts from Bun.file() to statSync (#14…
thdxr Feb 18, 2026
359360a
refactor: migrate src/provider/provider.ts from Bun.file() to Filesys…
thdxr Feb 18, 2026
ae39853
refactor: migrate src/session/instruction.ts from Bun.file() to Files…
thdxr Feb 18, 2026
5fe237a
refactor: migrate src/skill/discovery.ts from Bun.file()/Bun.write() …
thdxr Feb 18, 2026
088eac9
fix: opencode run crashing, and show errored tool calls in output (#1…
rekram1-node Feb 18, 2026
c162074
chore: skip PR standards checks for PRs created before Feb 18 2026 6P…
R44VC0RP Feb 18, 2026
57b63ea
refactor: migrate src/session/prompt.ts from Bun.file() to Filesystem…
thdxr Feb 19, 2026
a8347c3
refactor: migrate src/storage/db.ts from Bun.file() to statSync (#14124)
thdxr Feb 19, 2026
9e6cb89
refactor: migrate src/mcp/auth.ts from Bun.file()/Bun.write() to File…
thdxr Feb 19, 2026
819d09e
refactor: migrate src/storage/json-migration.ts from Bun.file() to Fi…
thdxr Feb 19, 2026
a624871
refactor: migrate src/storage/storage.ts from Bun.file()/Bun.write() …
thdxr Feb 19, 2026
bd52ce5
refactor: migrate remaining tool files from Bun.file() to Filesystem/…
thdxr Feb 19, 2026
270b807
refactor: migrate src/tool/edit.ts from Bun.file() to Filesystem modu…
thdxr Feb 19, 2026
36bc07a
refactor: migrate src/tool/write.ts from Bun.file() to Filesystem mod…
thdxr Feb 19, 2026
14c0989
refactor: migrate src/tool/read.ts from Bun.file() to Filesystem modu…
thdxr Feb 19, 2026
ba53c56
tweak(ui): combine diffs in review into one group
iamdavidhill Feb 18, 2026
9c7629c
Update oc-2.json
iamdavidhill Feb 18, 2026
4a8bdc3
tweak(ui): group edited files list styling
iamdavidhill Feb 18, 2026
fd61be4
tweak(ui): show added diff counts in review
iamdavidhill Feb 18, 2026
a301051
tweak(ui): tighten review diff file info gap
iamdavidhill Feb 18, 2026
40f00cc
tweak(ui): use chevron icons for review diff rows
iamdavidhill Feb 19, 2026
4404954
tweak(ui): add open-file tooltip icon
iamdavidhill Feb 19, 2026
3d0f240
tweak(app): tighten prompt dock padding
iamdavidhill Feb 19, 2026
5d8664c
tweak(app): adjust session turn horizontal padding
iamdavidhill Feb 19, 2026
6042785
tweak(ui): rtl-truncate edited file paths
iamdavidhill Feb 19, 2026
802ccd3
tweak(ui): rotate collapsible chevron icon
iamdavidhill Feb 19, 2026
3a07dd8
refactor: migrate src/project/project.ts from Bun.file() to Filesyste…
thdxr Feb 19, 2026
568eccb
Revert: all refactor commits migrating from Bun.file() to Filesystem …
thdxr Feb 19, 2026
d620455
app: deduplicate allServers list
Brendonovich Feb 19, 2026
11a3783
tui: ensure onExit callback fires after terminal output is written
thdxr Feb 19, 2026
3a416f6
sdk: fix nested exports transformation in publish script
thdxr Feb 19, 2026
1893473
fix: token substitution in OPENCODE_CONFIG_CONTENT (alternate take) (…
ariane-emory Feb 19, 2026
4b878f6
chore: generate
opencode-agent[bot] Feb 19, 2026
308e500
tweak: bake in the aws and google auth pkgs (#14241)
rekram1-node Feb 19, 2026
c7b3534
chore: update nix node_modules hashes
opencode-agent[bot] Feb 19, 2026
d07f099
fix(app): terminal rework (#14217)
adamdotdevin Feb 19, 2026
885d716
desktop: fetch defaultServer at top level
Brendonovich Feb 19, 2026
d2d5f3c
app: fix typecheck
Brendonovich Feb 19, 2026
38f7071
chore: cleanup
adamdotdevin Feb 18, 2026
8ebdbe0
fix(core): text files missclassified as binary
adamdotdevin Feb 19, 2026
338393c
fix(app): accordion styles
adamdotdevin Feb 19, 2026
0fcba68
chore: cleanup
adamdotdevin Feb 19, 2026
02a9495
Remove use of Bun.file (#14215)
thdxr Feb 19, 2026
08a2d00
zen: gemini 3.1 pro
fwang Feb 19, 2026
6b8902e
fix(app): navigate to last session on project nav
adamdotdevin Feb 19, 2026
56dda4c
chore: cleanup
adamdotdevin Feb 19, 2026
3c21735
refactor: migrate from Bun.Glob to npm glob package
thdxr Feb 19, 2026
f2858a4
chore: cleanup
adamdotdevin Feb 19, 2026
50883cc
app: make localhost urls work in isLocal
Brendonovich Feb 19, 2026
af72010
Revert "refactor: migrate from Bun.Glob to npm glob package"
thdxr Feb 19, 2026
850402f
chore: update nix node_modules hashes
opencode-agent[bot] Feb 19, 2026
91f8dd5
chore: update nix node_modules hashes
opencode-agent[bot] Feb 19, 2026
5364ab7
tweak: add support for medium reasoning w/ gemini 3.1 (#14316)
rekram1-node Feb 19, 2026
7e35d0c
core: bump ai sdk packages for google, google vertex, anthropic, bedr…
rekram1-node Feb 19, 2026
cb8b74d
refactor: migrate from Bun.Glob to npm glob package (#14317)
thdxr Feb 19, 2026
8b99648
chore: update nix node_modules hashes
opencode-agent[bot] Feb 19, 2026
00c0798
test: fix discovery test to boot up server instead of relying on 3rd …
rekram1-node Feb 19, 2026
1867f1a
chore: generate
opencode-agent[bot] Feb 19, 2026
b64d076
docs(ko): improve wording in ecosystem, enterprise, formatters, and g…
Seungjun0906 Feb 19, 2026
190d295
fix(core): normalize file.status paths relative to instance dir (#14207)
shantur Feb 19, 2026
3d9f6c0
feat(i18n): update Japanese translations to WSL integration (#13160)
taroj1205 Feb 19, 2026
7fb2081
chore: cleanup
adamdotdevin Feb 19, 2026
7729c6d
chore: cleanup
adamdotdevin Feb 19, 2026
40a939f
chore: cleanup
adamdotdevin Feb 19, 2026
f8dad0a
fix(app): terminal issues (#14329)
adamdotdevin Feb 19, 2026
49cc872
chore: refactor composer/dock components (#14328)
adamdotdevin Feb 19, 2026
c76a814
chore: cleanup
adamdotdevin Feb 19, 2026
1a1437e
fix(github): action branch detection and 422 handling (#14322)
elithrar Feb 19, 2026
04cf2b8
release: v1.2.7
Feb 19, 2026
dd011e8
fix(app): clear todos on abort
adamdotdevin Feb 19, 2026
7a42ecd
chore: cleanup
adamdotdevin Feb 19, 2026
824ab4c
feat(tui): add custom tool and mcp call responses visible and collaps…
yanosh-k Feb 19, 2026
193013a
feat(opencode): support adaptive thinking for claude sonnet 4.6 (#14283)
tctev Feb 19, 2026
686dd33
chore: generate
opencode-agent[bot] Feb 19, 2026
fca0166
fix(app): black screen on launch with sidecar server
adamdotdevin Feb 19, 2026
f2090b2
release: v1.2.8
Feb 19, 2026
973715f
anthropic legal requests
thdxr Feb 19, 2026
6f0ce9d
chore: generate
opencode-agent[bot] Feb 19, 2026
f28d3e0
core: remove User-Agent header assertion from LLM test to fix failing…
thdxr Feb 19, 2026
fb955ee
docs: update providers layout and Windows sidebar label
jayair Feb 19, 2026
f0c56c8
fix(web): correct config import path in Korean enterprise docs
thdxr Feb 20, 2026
da4b5d1
Merge remote-tracking branch 'upstream/dev' into merge-upstream-v1.2.8
Feb 20, 2026
62b5306
chore: update bun.lock after upstream merge
Feb 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/TEAM_MEMBERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
adamdotdevin
Brendonovich
fwang
Hona
iamdavidhill
jayair
jlongster
kitlangton
kommander
MrMushrooooom
nexxeln
R44VC0RP
rekram1-node
RhysSullivan
thdxr
11 changes: 6 additions & 5 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ description: "Setup Bun with caching and install dependencies"
runs:
using: "composite"
steps:
- name: Mount Bun Cache
if: ${{ runner.os == 'Linux' }}
uses: useblacksmith/stickydisk@v1
- name: Cache Bun dependencies
uses: actions/cache@v4
with:
key: ${{ github.repository }}-bun-cache-${{ runner.os }}
path: ~/.bun
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-

- name: Setup Bun
uses: oven-sh/setup-bun@v2
Expand Down
24 changes: 23 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
### Issue for this PR

Closes #

### Type of change

- [ ] Bug fix
- [ ] New feature
- [ ] Refactor / code improvement
- [ ] Documentation

### What does this PR do?

Please provide a description of the issue (if there is one), the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

**If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!**

### How did you verify your code works?

### Screenshots / recordings

_If this is a UI change, please include a screenshot or recording._

### Checklist

- [ ] I have tested my changes locally
- [ ] I have not included unrelated changes in this PR

_If you do not follow this template your PR will be automatically rejected._
64 changes: 62 additions & 2 deletions .github/workflows/duplicate-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: duplicate-issues

on:
issues:
types: [opened]
types: [opened, edited]

jobs:
check-duplicates:
if: github.event.action == 'opened'
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: read
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
"webfetch": "deny"
}
run: |
opencode run -m opencode/claude-haiku-4-5 "A new issue has been created:
opencode run -m opencode/claude-sonnet-4-6 "A new issue has been created:

Issue number: ${{ github.event.issue.number }}

Expand Down Expand Up @@ -115,3 +116,62 @@ jobs:
If you believe this was flagged incorrectly, please let a maintainer know.

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
permissions:
contents: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: ./.github/actions/setup-bun

- name: Install opencode
run: curl -fsSL https://opencode.ai/install | bash

- name: Recheck compliance
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENCODE_PERMISSION: |
{
"bash": {
"*": "deny",
"gh issue*": "allow"
},
"webfetch": "deny"
}
run: |
opencode run -m opencode/claude-sonnet-4-6 "Issue #${{ github.event.issue.number }} was previously flagged as non-compliant and has been edited.

Lookup this issue with gh issue view ${{ github.event.issue.number }}.

Re-check whether the issue now follows our contributing guidelines and issue templates.

This project has three issue templates that every issue MUST use one of:

1. Bug Report - requires a Description field with real content
2. Feature Request - requires a verification checkbox and description, title should start with [FEATURE]:
3. Question - requires the Question field with real content

Additionally check:
- No AI-generated walls of text (long, AI-generated descriptions are not acceptable)
- The issue has real content, not just template placeholder text left unchanged
- Bug reports should include some context about how to reproduce
- Feature requests should explain the problem or need
- We want to push for having the user provide system description & information

Do NOT be nitpicky about optional fields. Only flag real problems like: no template used, required fields empty or placeholder text only, obviously AI-generated walls of text, or completely empty/nonsensical content.

If the issue is NOW compliant:
1. Remove the needs:compliance label: gh issue edit ${{ github.event.issue.number }} --remove-label needs:compliance
2. Find and delete the previous compliance comment (the one containing <!-- issue-compliance -->) using: gh api repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments --jq '.[] | select(.body | contains(\"<!-- issue-compliance -->\")) | .id' then delete it with: gh api -X DELETE repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments/{id}
3. Post a short comment thanking them for updating the issue.

If the issue is STILL not compliant:
Post a comment explaining what still needs to be fixed. Keep the needs:compliance label."
27 changes: 16 additions & 11 deletions .github/workflows/pr-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ on:

jobs:
check-duplicates:
if: |
github.event.pull_request.user.login != 'actions-user' &&
github.event.pull_request.user.login != 'opencode' &&
github.event.pull_request.user.login != 'rekram1-node' &&
github.event.pull_request.user.login != 'thdxr' &&
github.event.pull_request.user.login != 'kommander' &&
github.event.pull_request.user.login != 'jayair' &&
github.event.pull_request.user.login != 'fwang' &&
github.event.pull_request.user.login != 'adamdotdevin' &&
github.event.pull_request.user.login != 'iamdavidhill' &&
github.event.pull_request.user.login != 'opencode-agent[bot]'
runs-on: blacksmith-4vcpu-ubuntu-2404
permissions:
contents: read
Expand All @@ -27,16 +16,31 @@ jobs:
with:
fetch-depth: 1

- name: Check team membership
id: team-check
run: |
LOGIN="${{ github.event.pull_request.user.login }}"
if [ "$LOGIN" = "opencode-agent[bot]" ] || grep -qxF "$LOGIN" .github/TEAM_MEMBERS; then
echo "is_team=true" >> "$GITHUB_OUTPUT"
echo "Skipping: $LOGIN is a team member or bot"
else
echo "is_team=false" >> "$GITHUB_OUTPUT"
fi

- name: Setup Bun
if: steps.team-check.outputs.is_team != 'true'
uses: ./.github/actions/setup-bun

- name: Install dependencies
if: steps.team-check.outputs.is_team != 'true'
run: bun install

- name: Install opencode
if: steps.team-check.outputs.is_team != 'true'
run: curl -fsSL https://opencode.ai/install | bash

- name: Build prompt
if: steps.team-check.outputs.is_team != 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
Expand All @@ -53,6 +57,7 @@ jobs:
} > pr_info.txt

- name: Check for duplicate PRs
if: steps.team-check.outputs.is_team != 'true'
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading
Loading