Skip to content
Open

45 #46

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1502 commits
Select commit Hold shift + click to select a range
f6197ce
chore: generate
opencode-agent[bot] Jun 5, 2026
9431356
fix(app): handle tab overflow and scrolling in titlebar (#30886)
Brendonovich Jun 5, 2026
c613c33
fix(app): tab overflow (#30894)
Brendonovich Jun 5, 2026
b278e49
tui: guard path formatting inputs (#30469)
simonklee Jun 5, 2026
0c0d193
opencode/run: refresh themes after terminal reloads (#30917)
simonklee Jun 5, 2026
a468680
chore: generate
opencode-agent[bot] Jun 5, 2026
dc985ff
fix(tui): fall back to local cwd when editor spawns in attach mode (#…
pcadena-lila Jun 5, 2026
d721fc0
docs: update Go Qwen tiered pricing (#30936)
MrMushrooooom Jun 5, 2026
edbe228
chore: generate
opencode-agent[bot] Jun 5, 2026
7a4d183
feat(tui): add diff hunk navigation (#30935)
nexxeln Jun 5, 2026
a136caa
chore: rm fuzzy search on references (#30931)
nexxeln Jun 5, 2026
a261b55
fix: use mapError instead of orDie for context snapshot decoding (#30…
weiconghe Jun 5, 2026
0ee7cfa
fix(core): recover corrupted models cache (#30947)
nexxeln Jun 5, 2026
48106b7
chore: bun install (#30968)
rekram1-node Jun 5, 2026
1e216e1
fix(opencode): resolve Bedrock hang by using node build conditions (#…
alblez Jun 5, 2026
5c8eb0a
fix(workflows): retry nix-hashes compute-hash on transient failure (#…
jerome-benoit Jun 5, 2026
a8adfb6
fix(stats): scroll model charts to latest on mobile
adamdotdevin Jun 5, 2026
236cfcb
fix(opencode): prevent destructive edit matches (#30932)
nexxeln Jun 5, 2026
fff36b7
chore: generate
opencode-agent[bot] Jun 5, 2026
02a5ae6
fix(core): respect v2 default agents (#30969)
kitlangton Jun 5, 2026
e9aa33d
chore: generate
opencode-agent[bot] Jun 5, 2026
5d7157f
test(opencode): remove disposal event wait race (#30971)
rekram1-node Jun 5, 2026
f8cf8fa
test(opencode): remove shell timeout output race (#30974)
rekram1-node Jun 5, 2026
cc487dd
fix(opencode): gate reasoning summaries by provider (#30973)
rekram1-node Jun 5, 2026
3f64b5e
feat(core): admit v2 skill guidance (#30843)
kitlangton Jun 5, 2026
76a81ac
fix(workflows): serialize desktop release uploads (#30978)
rekram1-node Jun 5, 2026
9b09075
fix(stats): add mobile chart end spacing
adamdotdevin Jun 5, 2026
8ad44cd
chore: generate
opencode-agent[bot] Jun 5, 2026
41bd912
sync release versions for v1.16.2
Jun 5, 2026
12e3886
feat(core): interrupt v2 session execution (#30850)
kitlangton Jun 5, 2026
f26a9e8
chore: generate
opencode-agent[bot] Jun 5, 2026
d2204e0
feat(core): honor default session models (#30982)
kitlangton Jun 5, 2026
3151e22
fix(core): harden model selection edges (#30987)
kitlangton Jun 5, 2026
ecdfcd9
fix(tui): show current location in working copies; order by created; …
jlongster Jun 5, 2026
a7bd1cd
chore: generate
opencode-agent[bot] Jun 5, 2026
beae729
feat(core): compact v2 session context (#30986)
kitlangton Jun 5, 2026
3bbf8c8
fix(opencode): terminate help output with newline (#30992)
rekram1-node Jun 5, 2026
ca9bf7a
fix(opencode): honor Bedrock Mantle config (#31001)
rekram1-node Jun 5, 2026
0bdd9aa
fix(core): preserve model request semantics (#30990)
kitlangton Jun 5, 2026
760d523
chore: generate
opencode-agent[bot] Jun 5, 2026
a9094fd
feat(core): bound v2 tool output (#30999)
kitlangton Jun 5, 2026
7ebc7ff
chore: generate
opencode-agent[bot] Jun 5, 2026
05d1104
fix(core): scope Vertex provider transforms (#31004)
kitlangton Jun 5, 2026
a57fb32
feat(core): expose session model switching (#31011)
kitlangton Jun 5, 2026
c814f84
fix(tui): update tool spacing before layout
kitlangton Jun 5, 2026
820c984
fix(core): recover v2 context overflow (#31005)
kitlangton Jun 5, 2026
025e1ac
fix(core): validate public session model switches (#31012)
kitlangton Jun 5, 2026
f591bf5
feat(tui): delete working copies from move dialog (#31017)
jlongster Jun 5, 2026
969bb90
chore: generate
opencode-agent[bot] Jun 5, 2026
499a8a4
fix(tui): bootstrap new project copies (#31019)
jlongster Jun 5, 2026
a645615
fix(opencode): limit generated project copy names (#31022)
jlongster Jun 5, 2026
d5b2056
fix(tui): inject reminder after moving session (#31027)
jlongster Jun 5, 2026
015e79f
fix(session): respect directory filter with workspaces (#30804)
rexdotsh Jun 5, 2026
e3a55db
feat(app): improve servers UI (#30961)
arvsrn Jun 5, 2026
93a58f5
chore: generate
opencode-agent[bot] Jun 5, 2026
24347f3
feat(app): updates to project avatar (#30964)
arvsrn Jun 5, 2026
9ed17da
chore: generate
opencode-agent[bot] Jun 5, 2026
1fd9c77
feat(app): sessions list improvements (#30941)
arvsrn Jun 5, 2026
3e704d0
chore: generate
opencode-agent[bot] Jun 5, 2026
7c6adcf
fix(core): scope v2 prompt cache by session (#31036)
opencode-agent[bot] Jun 5, 2026
b36b859
fix(stats): filter market share to go
adamdotdevin Jun 5, 2026
f750dea
fix(app): increase project session limit and add scrolling (#31035)
Hona Jun 5, 2026
83dca45
fix(core): make V2 reads media-aware and binary-safe (#31038)
kitlangton Jun 5, 2026
fa2b63f
chore: update nix node_modules hashes
opencode-agent[bot] Jun 6, 2026
3f0ef9b
feat(opencode): add search to auth logout command (#31053)
rekram1-node Jun 6, 2026
ba57718
feat(opencode): support non-interactive MCP add (#31054)
rekram1-node Jun 6, 2026
54f4974
feat(http-recorder): prepare public beta release (#31018)
kitlangton Jun 6, 2026
ceccde7
refactor(core): simplify filesystem mutation protocol (#31059)
kitlangton Jun 6, 2026
147169e
refactor(core): simplify filesystem read protocol (#31058)
kitlangton Jun 6, 2026
4ac4df4
chore: update nix node_modules hashes
opencode-agent[bot] Jun 6, 2026
09d9cf0
refactor(core): simplify search root protocol (#31060)
kitlangton Jun 6, 2026
bd7eb06
feat: desktop v2 everything WSL (#23407)
Hona Jun 6, 2026
1399323
chore: generate
opencode-agent[bot] Jun 6, 2026
747b8da
fix(core): bound prompt cache session keys (#31062)
kitlangton Jun 6, 2026
4814ab3
fix(core): enforce V2 tool permissions (#31061)
kitlangton Jun 6, 2026
7d3d80f
feat(opencode): fff search tools (#27802)
dmtrKovalenko Jun 6, 2026
77963d8
chore: generate
opencode-agent[bot] Jun 6, 2026
4519a1d
chore: update nix node_modules hashes
opencode-agent[bot] Jun 6, 2026
b9131aa
fix: background agent prompting, lets kill this sleep behavior oml (#…
rekram1-node Jun 6, 2026
0875203
test: fix tool test (#31163)
rekram1-node Jun 6, 2026
06d7840
docs: fix MCP header interpolation example to {env:VAR} (#31078)
fancive Jun 6, 2026
effd27b
chore(http-recorder): disable release automation (#31160)
kitlangton Jun 7, 2026
660a00d
refactor(core): unify v2 tool architecture (#31168)
kitlangton Jun 7, 2026
807c804
fix(core): use static tool type imports (#31170)
kitlangton Jun 7, 2026
12acb9a
docs(v2): update permission rule naming (#31167)
kitlangton Jun 7, 2026
10d1e04
fix(core): isolate image normalization (#31165)
kitlangton Jun 7, 2026
48c26fa
fix(test): release Windows search handles (#31172)
kitlangton Jun 7, 2026
eb9a683
fix(core): harden unified tool runtime (#31171)
kitlangton Jun 7, 2026
1025540
test(core): cover managed output read permissions (#31166)
kitlangton Jun 7, 2026
53ff1b5
fix(core): preserve session failure causes
kitlangton Jun 7, 2026
fe0c4f8
refactor(server): canonicalize service API (#31049)
thdxr Jun 7, 2026
155e1f2
chore: generate
opencode-agent[bot] Jun 7, 2026
31c099b
chore: update nix node_modules hashes
opencode-agent[bot] Jun 7, 2026
f20655b
fix(tui): sort connect providers alphabetically (#30891)
robertDouglass Jun 7, 2026
9b4d5b0
feat(desktop): make updates persistent and responsive (#31191)
Hona Jun 7, 2026
7a2c49e
chore: generate
opencode-agent[bot] Jun 7, 2026
106f8e9
refactor(tui): extract standalone package (#31193)
thdxr Jun 7, 2026
21a644f
chore: generate
opencode-agent[bot] Jun 7, 2026
f240497
chore: update nix node_modules hashes
opencode-agent[bot] Jun 7, 2026
a29deb1
fix(app): refresh directory MCP status (#31194)
Hona Jun 7, 2026
2181472
feat(desktop): open attachments in active project (#31192)
Hona Jun 7, 2026
472b331
chore: generate
opencode-agent[bot] Jun 7, 2026
2006259
fix(desktop): style home session scrollbar (#31202)
Hona Jun 7, 2026
e82542b
fix(desktop): disable hidden agent cycling (#31207)
Hona Jun 7, 2026
233427f
test(core): cover skill directory output (#31263)
rekram1-node Jun 7, 2026
aacdb34
fix(opencode): avoid duplicate skill catalog (#31269)
rekram1-node Jun 7, 2026
8ff4013
chore(opencode): update MCP SDK to 1.29.0 (#31268)
rekram1-node Jun 7, 2026
c495635
chore: generate
opencode-agent[bot] Jun 7, 2026
914a643
chore: update nix node_modules hashes
opencode-agent[bot] Jun 7, 2026
07808be
run: make minimal mode more minimal (#31227)
simonklee Jun 7, 2026
3867fa2
chore: generate
opencode-agent[bot] Jun 7, 2026
b1d14ac
chore: update web and desktop code owners (#31289)
Hona Jun 8, 2026
65a3f7f
fix(desktop): few WSL bugs (#31095)
neriousy Jun 8, 2026
4d09a71
chore: generate
opencode-agent[bot] Jun 8, 2026
b5cb9aa
fix(opencode): respect MCP server capabilities (#31271)
rekram1-node Jun 8, 2026
4863aed
console: update email
fwang Jun 8, 2026
79ea379
zen: fix
fwang Jun 8, 2026
956de31
Update README.md
discoart Jun 8, 2026
668baf1
feat: add Rust native modules for performance optimization
discoart Jun 8, 2026
685a894
fix(opencode): include acp pending tool input (#31321)
nexxeln Jun 8, 2026
bea56fe
fix(lsp): resolve JDTLS root to topmost pom.xml in Java Maven multi-m…
areyouok Jun 8, 2026
d46af9c
chore: generate
opencode-agent[bot] Jun 8, 2026
24d3cb7
ci: add Windows build workflow
discoart Jun 8, 2026
0050134
fix(session): merge per-call tool rules into session permission (#30529)
remorses Jun 8, 2026
7ea41ae
fix: correct CI to build on windows-latest; verify opencode-rs cmd wo…
discoart Jun 8, 2026
4f018f5
docs: rewrite README with fork description, installation and usage guide
discoart Jun 8, 2026
c5d8740
fix: critical performance and memory leak fixes
discoart Jun 8, 2026
f84952f
fix: critical hang/freeze fixes
discoart Jun 8, 2026
1772e8e
docs(go): update MiniMax M3 pricing (#31350)
MrMushrooooom Jun 8, 2026
b1a6c40
fix: speed up fff file search (#31366)
nexxeln Jun 8, 2026
89e371c
chore: generate
opencode-agent[bot] Jun 8, 2026
f116a55
fix(stats): show new for leaderboard deltas
adamdotdevin Jun 8, 2026
00bb217
fix: resolve OAuth races, resource leaks, logic bugs, and perf issues…
discoart Jun 8, 2026
4119051
fix: stabilize fff file results (#31369)
nexxeln Jun 8, 2026
ea5f976
chore: generate
opencode-agent[bot] Jun 8, 2026
89e2a23
fix(core): restore npm proxy agent patch (#31373)
rekram1-node Jun 8, 2026
f3f59db
chore: update nix node_modules hashes
opencode-agent[bot] Jun 8, 2026
31d2fec
chore: upgrade OpenTUI to v0.3.4 (#31326)
simonklee Jun 8, 2026
9654412
chore: update nix node_modules hashes
opencode-agent[bot] Jun 8, 2026
b34d924
fix(core): disable fff trace logs (#31380)
nexxeln Jun 8, 2026
4666726
fix: process performance improvements
discoart Jun 8, 2026
c1fefa7
fix: prevent 7GB+ memory leak by limiting message loading and tool ou…
discoart Jun 8, 2026
eeeae97
fix: prevent CMD crash on Ctrl+C exit
discoart Jun 8, 2026
b015c5f
fix: update opentui 0.3.2 -> 0.3.4
discoart Jun 8, 2026
dc33a1b
fix: duplicate variable declaration in summary.ts
discoart Jun 8, 2026
ca616d0
perf: faster startup
discoart Jun 8, 2026
152a7b4
revert: restore original index.ts and bootstrap.ts
discoart Jun 8, 2026
f43209b
fix(session): avoid sticky prompt tool overrides (#31394)
nexxeln Jun 8, 2026
c1ef6da
fix: reduce memory usage further
discoart Jun 8, 2026
0a7cb20
fix(opencode): await run event loop (#31389)
rekram1-node Jun 8, 2026
0dfee51
Update README.md
discoart Jun 8, 2026
4048e7a
Update README.md
discoart Jun 8, 2026
c06ad7c
refactor(core): replace legacy logger with Effect logging (#31310)
thdxr Jun 8, 2026
5376661
chore: generate
opencode-agent[bot] Jun 8, 2026
fc52c5a
fix(tui): trim select footer action highlight (#31411)
jlongster Jun 8, 2026
6e84142
fix(opencode): support MiniMax M3 thinking toggle (#31426)
rekram1-node Jun 8, 2026
a86ecf3
fix: adjust item id stripping to happen prior to request signing (#31…
rekram1-node Jun 8, 2026
161247c
fix(opencode): generate reasoning variants for all OpenRouter models.…
AnthonyMLau Jun 9, 2026
f565ff3
feat(app): add draft tab support to tabs store (#31343)
Brendonovich Jun 9, 2026
277ecc5
chore: generate
opencode-agent[bot] Jun 9, 2026
0efc334
fix(opencode): paginate MCP catalogs (#31442)
rekram1-node Jun 9, 2026
79cff28
fix(opencode): pass abort signal to MCP tool calls (#31455)
rekram1-node Jun 9, 2026
1a08ee7
feat(app): draft prompt state (#31452)
Brendonovich Jun 9, 2026
50c9d52
chore: generate
opencode-agent[bot] Jun 9, 2026
384a8f5
feat(app): tabs help button (#31454)
Brendonovich Jun 9, 2026
ab701d2
feat: add "reasoning" as interleaved field option for vLLM providers …
delta9000 Jun 9, 2026
5372c63
fix(app): clip rounded session panels (#31462)
Hona Jun 9, 2026
2ababc8
core: fix idle CPU use in file logger (#31478)
simonklee Jun 9, 2026
671d193
docs: add uninstall troubleshooting steps (#31424)
opencode-agent[bot] Jun 9, 2026
7c1e61a
leave a breadcrumb comment about batchWindow zero (#31508)
kommander Jun 9, 2026
b4a6419
chore: stats -> data
adamdotdevin Jun 9, 2026
13065df
feat: add fork link on home screen
discoart Jun 9, 2026
68aaa9f
merge: upstream dev into fork
discoart Jun 9, 2026
960eace
test(core): avoid Windows worker close race (#31532)
rekram1-node Jun 9, 2026
219985d
fix: critical bug fixes from codebase scan
discoart Jun 9, 2026
864e769
fix: add onCleanup for event subscriptions in Session component
discoart Jun 9, 2026
2f48102
fix: LSP duplicate didOpen and MCP undefined log reference
discoart Jun 9, 2026
b8de3bd
fix: add permanent error handler on xAI OAuth server
discoart Jun 9, 2026
3752218
refactor(tui): centralize application exit (#31524)
thdxr Jun 9, 2026
8415ff5
chore: generate
opencode-agent[bot] Jun 9, 2026
0bb677c
feat(opencode): configure Cohere North model (#31536)
rekram1-node Jun 9, 2026
535f701
feat: rewrite 5 hot-path functions in Rust via NAPI-RS
discoart Jun 9, 2026
6566ede
refactor(core): consolidate references (#31539)
thdxr Jun 9, 2026
ffcb45d
feat(tui): show project copy in session list (#31421)
jlongster Jun 9, 2026
ada5b31
chore: generate
opencode-agent[bot] Jun 9, 2026
f1c31f4
fix(stats): use data branding assets
adamdotdevin Jun 9, 2026
fe03167
fix: remove broken @opencode-ai/core/util/log imports
discoart Jun 9, 2026
7f71868
fix: revert core/token.ts to pure JS (no native.ts in core package)
discoart Jun 9, 2026
db9391e
drop citation_options from cohere (#31543)
rekram1-node Jun 9, 2026
e7d7d85
rename: fork rebranded to OpenCodeTurbo
discoart Jun 9, 2026
531eebb
zen: add north mini code model
fwang Jun 9, 2026
971d214
Update README.md
discoart Jun 9, 2026
d68397b
fix(data): timestamp formatting
adamdotdevin Jun 9, 2026
c4bc902
fix(opencode): support Claude Fable reasoning (#31546)
rekram1-node Jun 9, 2026
0777cf1
fix(mcp): log actionable connection statuses (#31544)
rekram1-node Jun 9, 2026
132ef57
refactor(core): simplify location filesystem (#31545)
thdxr Jun 9, 2026
cc52dc3
chore: generate
opencode-agent[bot] Jun 9, 2026
1daf535
chore: update nix node_modules hashes
opencode-agent[bot] Jun 9, 2026
600e405
fix(opencode): restore effect error logging (#31551)
thdxr Jun 9, 2026
7a54a2c
chore: generate
opencode-agent[bot] Jun 9, 2026
07e5ea9
feat(opencode): add typed application layer graph (#31531)
jlongster Jun 9, 2026
9b8e356
zen: add claude fable 5
fwang Jun 9, 2026
c939aa0
chore: generate
opencode-agent[bot] Jun 9, 2026
dd570d5
fix: upstream issues #31526 and #31525
discoart Jun 9, 2026
3852a07
Merge branch 'dev' of https://github.com/discoart/opencode-rustified …
discoart Jun 9, 2026
49c5590
fix: clarify compaction message so agent continues instead of stoppin…
discoart Jun 9, 2026
3f5ee09
fix: auth_token bypasses auth for subresources + MCP duplicate proces…
discoart Jun 9, 2026
19b21ca
fix: SQLite corruption recovery, TUI freeze on diffs, run hang, infin…
discoart Jun 9, 2026
8eab917
fix: agent freeze on tool abort + frontend stuck in thinking state
discoart Jun 9, 2026
fe972bb
fix: remove integrity check from startup path (was causing 5-10min st…
discoart Jun 9, 2026
381eabb
refactor(mcp): simplify service helpers (#31549)
rekram1-node Jun 9, 2026
80c0b06
feat: add X-Session-Id header for proxy cache routing affinity (#31511)
songchaow Jun 9, 2026
bc42187
zen: update email
fwang Jun 9, 2026
1cc94bb
fix(desktop): update Electron stack and panel layout (#31571)
Hona Jun 9, 2026
215fb39
chore: generate
opencode-agent[bot] Jun 9, 2026
ce4e658
chore: update nix node_modules hashes
opencode-agent[bot] Jun 9, 2026
a0409e6
refactor(core): unify filesystem search service (#31566)
thdxr Jun 10, 2026
6ae6f0f
chore: generate
opencode-agent[bot] Jun 10, 2026
1d46b5c
chore: update nix node_modules hashes
opencode-agent[bot] Jun 10, 2026
c4aa049
fix(tui): let gutter replace current marker (#31586)
thdxr Jun 10, 2026
4597c68
fix(core): prefer shorter paths for tied search scores
thdxr Jun 10, 2026
be8fee5
chore: generate
opencode-agent[bot] Jun 10, 2026
7859182
fix(core): expose partial filesystem scan results
thdxr Jun 10, 2026
4ae468f
chore: generate
opencode-agent[bot] Jun 10, 2026
e9e2612
chore: Update fff to 0.9.4 (#31583)
dmtrKovalenko Jun 10, 2026
e9106ef
chore: update nix node_modules hashes
opencode-agent[bot] Jun 10, 2026
6c6ed68
sync release versions for v1.17.0
Jun 10, 2026
0fc33e2
feat(app): /new-session route for new design (#31457)
Brendonovich Jun 10, 2026
8a2cfc0
feat(core): add project reference guidance (#31601)
thdxr Jun 10, 2026
9107336
fix(mcp): make client creation failure-safe (#31595)
rekram1-node Jun 10, 2026
954d618
fix(opencode): support Anthropic fallback responses (#31611)
rekram1-node Jun 10, 2026
174ab58
fix(mcp): apply timeouts to prompts and resources (#31612)
rekram1-node Jun 10, 2026
5e342f7
chore: update nix node_modules hashes
opencode-agent[bot] Jun 10, 2026
e0449c0
fix(desktop): restore macOS auto-updates (#31621)
Hona Jun 10, 2026
8264191
chore: update nix node_modules hashes
opencode-agent[bot] Jun 10, 2026
e87639c
Update README.md
discoart Jun 10, 2026
97e713e
zen: deepseek v4 pro
fwang Jun 10, 2026
90fb32b
fix(core): accept deprecated reference config key (#31659)
Hona Jun 10, 2026
2cf68f3
chore: generate
opencode-agent[bot] Jun 10, 2026
4c9abff
sync release versions for v1.17.1
Jun 10, 2026
063bb68
chore: merge upstream v1.17.1
discoart Jun 10, 2026
bdc7399
fix: remove wal_checkpoint(PASSIVE) causing 5-10min DB init, ensure i…
discoart Jun 10, 2026
5e77ddb
Merge branch 'dev' of https://github.com/discoart/opencode-rustified …
discoart Jun 10, 2026
ded4189
Merge branch 'dev' of https://github.com/discoart/opencode-rustified …
discoart Jun 10, 2026
ecfc06c
fix: ensure idle status is always published after loop exit
discoart Jun 10, 2026
fbfda61
Merge branch 'dev' of https://github.com/discoart/OpenCodeTurbo into dev
discoart Jun 10, 2026
b06429d
fix: restore startup perf - remove wal_checkpoint(PASSIVE) and auto_v…
discoart Jun 15, 2026
0e76a85
chore: remove all telemetry, metrics, and analytics code
discoart Jun 17, 2026
a96e6c8
fix: remove remaining Otlp dependencies after telemetry purge
discoart Jun 17, 2026
9066c2d
fix: multiple runtime bug fixes and v4 effect compat
discoart Jun 11, 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
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.git
.opencode
.sst
.turbo
.wrangler
node_modules
**/node_modules
**/.output
**/dist
**/.turbo
**/.vite
**/coverage
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages/core/migration/**/snapshot.json linguist-generated
packages/core/src/database/migration.gen.ts linguist-generated
6 changes: 2 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# web + desktop packages
packages/app/ @adamdotdevin
packages/tauri/ @adamdotdevin
packages/desktop/src-tauri/ @brendonovich
packages/desktop/ @adamdotdevin
packages/app/ @Hona @Brendonovich
packages/desktop/ @Hona @Brendonovich
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug report
description: Report an issue that should be fixed
description: Report an issue that should be fixed (avoid pasting giant AI generated summaries or your issue may be closed/ignored)
body:
- type: textarea
id: description
Expand Down
1 change: 1 addition & 0 deletions .github/TEAM_MEMBERS
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ rekram1-node
thdxr
simonklee
vimtor
starptech
14 changes: 11 additions & 3 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
fi

- name: Setup Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
bun-download-url: ${{ steps.bun-url.outputs.url }}
Expand All @@ -33,8 +33,9 @@ runs:
shell: bash
run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"

- name: Cache Bun dependencies
uses: actions/cache@v4
- name: Restore Bun dependencies
id: bun-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ steps.cache.outputs.dir }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
Expand All @@ -56,3 +57,10 @@ runs:
bun install ${{ inputs.install-flags }}
fi
shell: bash

- name: Save Bun dependencies
if: steps.bun-cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ steps.cache.outputs.dir }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
2 changes: 1 addition & 1 deletion .github/actions/setup-git-committer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- name: Create app token
id: apptoken
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
with:
app-id: ${{ inputs.opencode-app-id }}
private-key: ${{ inputs.opencode-app-secret }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0

Expand Down
76 changes: 76 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: build-windows

on:
push:
branches: [dev]
workflow_dispatch:

jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: dev

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable

- name: Install dependencies
run: bun install

- name: Build native module
run: cargo build --release
working-directory: packages/opencode-native

- name: Copy native module
run: |
$src = "packages/opencode-native\target\release\opencode_native.dll"
$dst = "packages\opencode-native\opencode-native.node"
if (Test-Path $src) {
Copy-Item $src $dst -Force
Write-Host "Copied native module to $dst"
} else {
Write-Host "Looking for alternative name..."
Get-ChildItem "packages\opencode-native\target\release\" -Filter "*.dll" | ForEach-Object {
Write-Host " Found: $($_.Name)"
}
Get-ChildItem "packages\opencode-native\target\release\" -Filter "*opencode*" | ForEach-Object {
Write-Host " Match: $($_.Name) ($($_.Length) bytes)"
}
}

- name: Verify native module
run: |
$dst = "packages\opencode-native\opencode-native.node"
if (Test-Path $dst) {
$size = (Get-Item $dst).Length
Write-Host "Native module OK: $size bytes"
} else {
Write-Host "WARNING: Native module not found, build may use JS fallback"
}

- name: Build opencode
run: bun run build --single
env:
OPENCODE_VERSION: "1.16.2-rustified"

- name: Smoke test
run: |
$binaries = Get-ChildItem "packages\opencode\dist\*\bin\opencode.exe" -ErrorAction SilentlyContinue
foreach ($b in $binaries) {
Write-Host "Found: $($b.FullName) ($($b.Length) bytes)"
& $b.FullName --version
}

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: opencode-windows-x64
path: packages/opencode/dist/*/bin/*
if-no-files-found: warn
4 changes: 2 additions & 2 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- uses: oven-sh/setup-bun@v2
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest

Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/close-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: close-prs

on:
schedule:
- cron: "0 22 * * *" # Daily at 10:00 PM UTC
workflow_dispatch:
inputs:
dry-run:
description: "Log matching PRs without closing them"
type: boolean
default: true
max-close:
description: "Maximum matching PRs to close"
type: string
required: false
default: "50"

jobs:
close:
runs-on: ubuntu-latest
timeout-minutes: 240
permissions:
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest

- name: Close old PRs without enough positive reactions
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
max_close="${{ inputs['max-close'] }}"
if [ -z "$max_close" ]; then
max_close="50"
fi

args=("--threshold" "2" "--age-months" "1" "--sleep-ms" "20000" "--max-close" "$max_close")

if [ "${{ github.event_name }}" = "schedule" ]; then
args+=("--execute")
elif [ "${{ inputs['dry-run'] }}" = "false" ]; then
args+=("--execute")
fi

bun script/github/close-prs.ts "${args[@]}"
Loading
Loading