Commit Graph

2698 Commits

Author SHA1 Message Date
Dax Raad
e7784d2864 add schema descriptions to config fields
Enhance configuration schema with descriptive text for all fields to improve developer experience and auto-generated documentation.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-19 13:12:13 -04:00
Dax Raad
97c4815444 fix task agent performance issues 2025-06-19 13:00:57 -04:00
Dax Raad
7d1a1663c8 allow selecting model and continuing previous session for opencode run 2025-06-19 13:00:57 -04:00
Dax Raad
7ca8334a8b fix webfetch tool when returning html as text 2025-06-19 10:43:54 -04:00
Dax Raad
f1a2b2eba4 support token caching for anthropic via openrouter 2025-06-19 10:32:14 -04:00
Dax Raad
26bab00dab remove opencode_ prefixes from tool names. unfortunately this will break
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
Dax Raad
4a06e164d2 ensure session.info is synced when shared 2025-06-19 09:41:11 -04:00
adamdottv
c57b52c300 fix: include schema in converted toml config 2025-06-19 06:02:02 -05:00
Dax Raad
3862184ccb hooks 2025-06-19 00:20:03 -04:00
Dax Raad
1252b65166 stop loading models.dev format from global config 2025-06-18 23:08:51 -04:00
Dax Raad
bd8c3cd0f1 BREAKING CONFIG CHANGE
We have changed the config format yet again - but this should be the
final time. You can see the readme for more details but the summary is

- got rid of global providers config
- got rid of global toml
- global config is now in `~/.config/opencode/config.json`
- it will be merged with any project level config
2025-06-18 23:01:19 -04:00
Dax Raad
e5e9b3e3c0 rework config 2025-06-18 23:01:19 -04:00
Dax Raad
6a3392385e support global config 2025-06-18 18:56:52 -04:00
Dax Raad
658067186a ignore: share page stuff 2025-06-18 16:13:33 -04:00
Dax Raad
d4157d9a96 ctrl+c should gracefully clean up pending sessions 2025-06-18 14:11:49 -04:00
Dax Raad
e05c3b7a76 fix panic when invalid config 2025-06-18 14:03:16 -04:00
Dax Raad
f99904bc1c track version on session info 2025-06-18 13:40:36 -04:00
Dax Raad
c1250abdf8 implemented diff trimming 2025-06-18 11:20:40 -04:00
Dax Raad
ebe51534a1 allow setting options in global provider store 2025-06-18 11:06:16 -04:00
Dax Raad
b8bbee4718 fix issue with provider cache 2025-06-18 10:56:23 -04:00
Dax Raad
ae4d089c06 remove call to npm causing noticible delay when starting chat 2025-06-18 10:35:41 -04:00
Dax Raad
5110fbdaf9 fix issue when running opencode in empty directory 2025-06-18 10:29:09 -04:00
Dax Raad
e6ddb474fc ignore: sync 2025-06-18 08:36:25 -04:00
Dax Raad
b470466e30 integrate cache read/write data 2025-06-17 20:51:39 -04:00
Dax Raad
1c58023df9 improve anthropic oauth token caching and authentication handling
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 13:23:15 -04:00
Dax Raad
4e0aa58b7e ignore: fix 2025-06-17 13:04:26 -04:00
Dax Raad
23ee34b35f state 2025-06-17 12:29:28 -04:00
Dax Raad
674c9a5220 support disabling providers from automatically being added 2025-06-17 12:23:04 -04:00
Dax Raad
d579c5e8aa support global config for providers 2025-06-17 12:10:44 -04:00
Dax Raad
ee91f31313 fix issue with tool schemas and google 2025-06-17 11:27:07 -04:00
Dax Raad
57b3051024 fix agent getting caught in summary loop 2025-06-17 10:50:03 -04:00
Dax Raad
ae5cf3cc23 ci: fix 2025-06-17 10:38:01 -04:00
Dax Raad
68e1b3c46c Fix TypeScript compilation errors and consolidate version handling
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 10:27:49 -04:00
Dax Raad
b5a4439704 Add autoshare configuration and improve run command UI
Enables automatic session sharing via global config or flag, enhances UI with logo display and provider/model info positioning.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 01:45:32 -04:00
Dax Raad
9c5616521d do not autoupgrade snapshot builds 2025-06-17 01:18:32 -04:00
Dax Raad
3fe163416d autoupgrade 2025-06-17 01:05:05 -04:00
Dax
d054f88130 Improve upgrade command with installation method detection (#158) 2025-06-17 00:07:17 -04:00
Dax Raad
8131bee49a ignore: logs 2025-06-16 16:02:45 -04:00
Dax Raad
ac096d84ad remove windows builds 2025-06-16 15:11:14 -04:00
Dax Raad
fcaf0e6dbf opencode auth login: validation on provider id and better error messages 2025-06-16 15:09:49 -04:00
Dax Raad
2c9fd1e776 BREAKING CHANGE: the config structure has changed, custom providers have an npm field now to specify which npm package to load. see examples in README.md 2025-06-16 15:02:25 -04:00
Dax Raad
63996c4189 limit to 4 system prompts cached 2025-06-16 14:51:59 -04:00
adamdottv
7c0d10a4ce feat: faster tui init 2025-06-16 11:54:55 -05:00
Dax Raad
06af406146 properly track cache token counts 2025-06-16 12:43:22 -04:00
Dax Raad
0e3458b112 fix cache-control 2025-06-16 12:07:01 -04:00
Dax Raad
1a553e525f enable prompt caching for anthropic 2025-06-16 11:41:54 -04:00
Jacob
e1733a423d fix: typo and literal wording in packages/opencode/AGENTS.md (#134) 2025-06-16 08:18:29 -05:00
Dax Raad
fe05edaa79 enhance ripgrep files function with query filtering and limit support
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-15 21:26:32 -04:00
Dax Raad
7d174767b0 first pass making system prompt less fast 2025-06-15 20:25:04 -04:00
George Potoshin
c5eefd1752 Fix: Improve Help UI Readability (Issue #99) (#117) 2025-06-15 18:38:44 -05:00