Commit Graph

97 Commits

Author SHA1 Message Date
Dax Raad 31c49cd6c7 core: add automatic project icon discovery from favicon/logo files 2025-12-09 15:06:24 -05:00
Dax Raad 6d86da7e46 add project.name/icon 2025-12-09 13:57:18 -05:00
Aiden Cline 3fe1711166 core: add test to prevent MCP headers regression when OAuth is enabled
Custom headers configured for remote MCP servers were being silently
dropped when OAuth was enabled (the default). This test ensures headers
are always sent to MCP servers regardless of OAuth configuration.
2025-12-09 12:06:40 -06:00
Aiden Cline 0eadf18120 ignore: add test for provider url case 2025-12-07 13:06:12 -06:00
Aiden Cline 476e3ca9f0 tweak: make bash give agent more awareness of cwd, bump default timeout, drop max timeout (#5140) 2025-12-06 23:55:07 -06:00
Aiden Cline 848cfda06e fix: ensure that vcs is still set to git even if no commits in repo 2025-12-04 23:02:11 -06:00
Dax Raad 267cf11962 core: add test for custom model npm package inheritance 2025-12-04 16:30:54 -05:00
Jakub Matjanowski 73c6b95c7d feat: Enhance DeepSeek reasoning content handling (#4975)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-03 21:31:36 -06:00
Dax 85d8825cb1 core: refactor provider and model system (#5033)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-12-03 21:09:03 -05:00
Dax Raad 5c0dccdc6c core: add provider test coverage for upcoming refactor
Add comprehensive test suite for Provider module to ensure safe
refactoring of provider internals. Tests cover:
- Provider loading from env vars and config
- Provider filtering (disabled_providers, enabled_providers)
- Model whitelist/blacklist
- Model aliasing and custom providers
- getModel, getProvider, closest, defaultModel functions

Also adds Env module for instance-scoped environment variable access,
enabling isolated test environments without global state pollution.
2025-12-03 18:30:42 -05:00
Dax Raad b4c5044d92 retry anthropic overloaded errors 2025-11-25 15:47:34 -05:00
Ariane Emory b71c39fcdd fix: merge plugin selections (resolves #4565) (#4724)
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-25 11:34:21 -06:00
Aiden Cline 358593ddaa ignore: todo fix test case 2025-11-19 15:18:21 -06:00
Aiden Cline 491c26bae3 ignore: flaky test be a lil less flaky plz 2025-11-19 14:46:06 -06:00
Aiden Cline 692984a2a4 ignore: fix hanging test 2025-11-19 14:38:12 -06:00
Dax Raad 84b2d45ecd core: honor retry-after values exceeding 10 minutes instead of discarding them 2025-11-17 11:33:28 -05:00
Dax Raad a601bc1c40 better retry display 2025-11-17 11:31:10 -05:00
Chris Olszewski 43f7cb6326 fix: snapshot history when running from git worktrees (#4312) 2025-11-15 01:02:00 -06:00
Aiden Cline 840f332700 fix: max tokens when using models like opus with providers other than anthropic (#4307) 2025-11-13 16:39:09 -06:00
Aiden Cline ad086e1d10 feat: agent color cfg (#4226)
Co-authored-by: 0xrin <0xrin1@protonmail.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-11 18:32:44 -06:00
Dax Raad 955340c099 core: add test to verify OpenCode doesn't crash when starting in git repositories with no commit history 2025-11-11 20:17:36 +00:00
Dax Raad d3473ee7c7 ci 2025-11-11 01:59:10 -05:00
Aiden Cline 2468dad450 set cap for max time to wait between retries (#4135)
Co-authored-by: GitHub Action <action@github.com>
2025-11-09 11:46:58 -06:00
Christopher Sacca 6f7bb4afe4 fix(lsp): handle optional requests to avoid MethodNotFound (-32601) with MATLAB Language Server (#4007) 2025-11-08 16:31:39 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Jinhyeok Lee e716472023 vscode: Add VS Code Insiders support (#4019) 2025-11-07 10:31:16 -06:00
Dax Raad a1f2e6bf93 flaky test 2025-11-06 13:05:53 -05:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Dax Raad 2bd3f72eb6 fix tests 2025-11-06 11:42:46 -05:00
Aiden Cline aeef860dab chore: rm hanging test 2025-11-06 10:39:32 -06:00
Err 20a17386d1 fix: support scoped npm plugins (#3785)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 09:15:01 -06:00
James Alexander 49d6c7e146 Add unit tests for util functions: iife, lazy, timeout (#3791) 2025-11-03 09:24:45 -05:00
Sebastian Herrlinger 25dec4fef5 upgrade to opentui 0.1.32, activates kitty keyboard 2025-11-02 01:45:38 +01:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Aiden Cline 7232137360 tweak: rename event 2025-10-27 10:42:47 -05:00
Bernat Pericàs 940eabd8d2 feat: add session.started event that triggers when a new session is created (#3413) 2025-10-27 07:18:23 -05:00
Aiden Cline f15835c7b5 make plan agent whitelist more conservative (#3424) 2025-10-24 14:40:36 -05:00
Adam 60477012fb wip: desktop work 2025-10-24 12:16:33 -05:00
Dax Raad bfd17abe16 test cleanup 2025-10-24 09:29:38 -04:00
Aiden Cline ed227d3d75 test: rm flaky test 2025-10-23 12:52:08 -05:00
Aiden Cline 18eee3b3cf feat: retry parts (#3369) 2025-10-22 18:31:36 -05:00
Aiden Cline 49567ce75e ignore: fix acp test (#3339) 2025-10-21 15:27:59 -05:00
Dax Raad 3e1f625289 core: provide line-level statistics in file diffs to help users understand the scale of changes 2025-10-21 11:54:41 -04:00
Dax Raad a4b31ad404 core: add session diff API to show file changes between snapshots 2025-10-20 17:59:26 -04:00
Joe Schmitt 577ffecb29 feat: Add ACP (Agent Client Protocol) support (#2947)
Co-authored-by: opencode-bot <devnull@opencode.local>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
2025-10-20 16:55:22 -05:00
Alberto Fanton 17f1bb96f4 fix: disable GPG signing in snapshot tests (#3102) 2025-10-13 23:40:41 -05:00
Dax Raad 0271b3847f ci: fixes 2025-10-11 00:24:35 -04:00
Dax Raad 93c84b47ae upgrade to bun 1.3.0 2025-10-10 17:53:32 -04:00
Dax Raad 92f106f740 ignore: improve file ignore performance and cross-platform support
- Replace glob patterns with Set lookup for common folders to speed up matching
- Use path.sep for cross-platform compatibility on Windows/Unix systems
- Add comprehensive test coverage for nested and non-nested folder matching
- Simplify implementation by removing unnecessary caching complexity
2025-10-09 15:54:01 -04:00
Dax Raad 7810be5885 core: remove redundant patch integration test
The integration test was duplicating coverage already provided by the comprehensive
patch namespace tests. Users benefit from faster test runs without losing any
coverage of patch functionality. The remaining tests provide complete validation
of patch parsing, application, and tool integration.
2025-10-01 06:49:19 -04:00