Commit Graph

2733 Commits

Author SHA1 Message Date
Khang Ha (Kelvin) fde0b39b7c
fix: properly encode file URLs with special characters (#12424) 2026-02-06 16:16:56 -06:00
opencode-agent[bot] e767801db2 chore: generate 2026-02-06 22:14:34 +00:00
Goni Zahavy def907ae4b
fix(opencode): SessionPrompt.shell() now triggers loop if messages are queued (#10987) 2026-02-06 16:13:11 -06:00
Ivan Gonzalez a25cd2da72
feat(opencode): use reasoning summary auto for gpt-5 models that are not chat (#12502) 2026-02-06 13:19:14 -06:00
opencode-agent[bot] 918795d868 chore: generate 2026-02-06 19:16:36 +00:00
Ariane Emory 84c5df19c7
feat(tui): add Claude Code-style --fork flag to duplicate sessions before continuing (resolves #11137) (#11340) 2026-02-06 13:15:47 -06:00
Mariam Jabara 95ad6758af
feat: add specific system prompt for Trinity model (#12144)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 11:43:10 -06:00
opencode-agent[bot] 3f7ca0494b chore: generate 2026-02-06 17:19:57 +00:00
Nacho F. Lizaur 18749c1f4e
fix(opencode): correct prefix selection for amazon-bedrock provider in getSmallModel (#12281) 2026-02-06 11:18:57 -06:00
Adam 9497cfdf45
fix(app): don't rely on metadata.summary in task tool render (#12497) 2026-02-06 10:54:54 -06:00
Ariane Emory 449c5b44b7
feat(tui): restore footer to session view (#12245) 2026-02-06 10:21:16 -06:00
Matt Silverlock 24dbc46548
fix(github): handle step-start/step-finish parts in extractResponseText (#12470) 2026-02-06 10:20:33 -06:00
cooooooooooode 53298145a2
fix: add directory parameter to plugin client for multi-project support (#11344)
Co-authored-by: cooooooooooode <187372691+cooooooooooode@users.noreply.github.com>
2026-02-06 10:15:35 -06:00
Yuvraj Virk c07077f96c
fix: correct /data API usage and data format for importing share URLs (#7381) 2026-02-06 15:29:10 +00:00
Dax Raad c35bd39829 tui: parallelize skill downloads for faster loading
Refactored skill discovery to download skills in parallel instead of sequentially,

reducing load times when multiple skills need to be fetched from remote URLs.

Also updated AGENTS.md with guidance on using dev branch for diffs.
2026-02-06 00:36:11 -05:00
Dax Raad 266de27a0b feat(skill): add skill discovery from URLs via well-known RFC
Implement the Agent Skills Discovery RFC to allow fetching skills from URLs:
- Add 'urls' field to config.skills for specifying skill registry URLs
- Create Discovery namespace in skill/discovery.ts with pull() function
- Download skills from /.well-known/skills/index.json endpoints
- Cache downloaded skills to ~/.cache/opencode/skills/
- Skip re-downloading existing files for efficiency

Users can now configure:
{
  "skills": {
    "urls": ["https://example.com/.well-known/skills/"]
  }
}

Implements: https://github.com/cloudflare/agent-skills-discovery-rfc
2026-02-06 00:36:11 -05:00
Akshar Patel 683d234d80
feat(tui): highlight esc label on hover in dialog (#12383) 2026-02-05 20:11:08 -06:00
Hank Stoever 229cdafcc4
fix(config): handle $ character with {file:} pattern (#12390)
Co-authored-by: Hank Stoever <1109058+hstove@users.noreply.github.com>
2026-02-05 20:10:35 -06:00
Dax Raad 154d0ebf53 increase skill dialog width 2026-02-05 18:38:31 -05:00
Andrew Pashynnyk 2e9a63fe4f
fix(opencode): improve skills dialog readability (#12356) 2026-02-05 18:35:35 -05:00
Dax Raad 9ff423bebf senior engineer senior engineering 2026-02-05 17:51:12 -05:00
Aiden Cline 1824db13cf
tweak: load user plugins after builtin (#12373) 2026-02-05 22:49:48 +00:00
Aiden Cline 36637b3be0
chore: rm hardcoded conditional that was used for testing (#12371) 2026-02-05 16:31:52 -06:00
Dax a45841396f
core: fix unhandled errors when aborting with queued messages (#12369) 2026-02-05 22:27:27 +00:00
Akshar Patel 102d8e72bb
fix(tui): allow mouse escape via "esc" labels in dialogs (#11421) 2026-02-05 16:14:49 -06:00
Rafi Khardalian 09a0e921ce
fix(plugin): user plugins override built-in plugins for same provider (#12361) 2026-02-05 16:04:02 -06:00
Aiden Cline b551195818
tweak: move codex 5.3 model definition to the plugin so that models.dev doesnt have to show unsupported model for others (#12344) 2026-02-05 20:53:26 +00:00
Steffen Deusch 8ddef975b7
feat(acp): add session usage (#12299)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-05 12:58:09 -06:00
Aiden Cline 2f78705f6e
tweak: update transforms for gpt-5.3 (#12325) 2026-02-05 12:49:40 -06:00
Dax Raad 47f00d23b3 enable 5.3 codex 2026-02-05 13:23:58 -05:00
Goni Zahavy 40ebc34909
feat(tui): add running spinner to bash tool in TUI (#12317) 2026-02-05 12:23:02 -06:00
Dax Raad 7c748ef089 core: silently ignore proxy command failures to prevent config initialization crashes 2026-02-05 12:47:32 -05:00
Aiden Cline fba5a79c45
fix: ensure that github copilot plugin properly sets headers when used in other clients than tui (#12316) 2026-02-05 11:40:29 -06:00
Dax Raad 9adcf524e2 core: bundle GitLab auth plugin directly instead of dynamic install
Remove dynamic installation of built-in plugins. GitLab auth is now imported

directly as an internal plugin, eliminating network requests during startup

and simplifying the plugin loading logic.

Removes the need for test mocks since plugins are no longer

dynamically installed at runtime.
2026-02-05 11:29:00 -05:00
Dax Raad a1c46e05ee core: fix plugin installation to use direct package.json manipulation instead of bun add
This ensures plugins install more reliably by writing dependencies directly
to package.json rather than relying on bun add commands which can fail
in certain environments. Also adds a small delay to ensure filesystem
operations complete before proceeding.
2026-02-05 10:07:59 -05:00
Zhiming Guo 72de9fe7a6
fix(opencode): Fixes image reading with OpenAI-compatible providers like Kimi K2.5. (#11323)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-05 01:54:07 -06:00
Aiden Cline 8c8d888140
Revert: feat: add models.dev schema ref for model autocomplete in ope… (#12242) 2026-02-05 00:31:08 -06:00
Tommy D. Rossi 9ef319f25f
feat: add models.dev schema ref for model autocomplete in opencode.json (#12112) 2026-02-05 00:08:08 -06:00
Aiden Cline 64e2bf8bf0
tweak: adjust task tool description/input to alleviate tool call failures that sometimes occured w/ gpt models (#12214) 2026-02-05 00:04:03 -06:00
Dax 556adad67b
fix: wait for dependencies before loading custom tools and plugins (#12227) 2026-02-05 03:25:43 +00:00
Ariane Emory 4387f9fb9a
feat: Allow the function to hide or show thinking blocks to be bound to a key (resolves #12168) (#12171) 2026-02-04 18:29:46 -06:00
Maharshi Patel 31e2feb347
fix(tui): add hover states to question tool tabs (#12203) 2026-02-04 18:28:22 -06:00
Shantur Rathore 0d38e69038
fix(core): skip dependency install in read-only config dirs (#12128) 2026-02-04 14:45:59 -06:00
Tom d1686661c0
fix: ensure kimi-for-coding plan has thinking on by default for k2p5 (#12147) 2026-02-04 12:39:22 -06:00
Aiden Cline 305007aa0c
fix: cloudflare workers ai provider (#12157) 2026-02-04 18:07:33 +00:00
Aiden Cline a2c28fc8d7
fix: ensure that plugin installs use --no-cache when using http proxy to prevent random hangs (see bun issue) (#12161) 2026-02-04 12:01:00 -06:00
Adam 1721c6efdf
fix(core): session errors when attachment file not found 2026-02-04 10:21:03 -06:00
Sebastian 64bafce665
restore direct osc52 (#12071) 2026-02-04 00:35:57 -06:00
Aiden Cline 5588453cbe
fix: revert change that caused headers to be double merged if provider was authed in multiple places (#12072) 2026-02-04 06:30:32 +00:00
Aiden Cline 8c1f1f13dc
docs: document the built in agents (#12066) 2026-02-04 00:00:05 -06:00
Sergiy Dybskiy b942e0b4dc
fix: prevent double-prefixing of Bedrock cross-region inference models (#12056) 2026-02-03 23:06:17 -06:00
Łukasz Gładysz 6daa962aaa fix: prioritize OPENCODE_CONFIG_DIR for AGENTS.md (#11536) 2026-02-04 01:35:22 +00:00
Max Leiter 93e060272a
fix: prevent memory leaks from AbortController closures (#12024) 2026-02-03 17:51:26 -06:00
Aiden Cline b5a4671c64
Revert "feat: add Trinity model system prompt support" (#12029) 2026-02-03 16:39:03 -06:00
Aiden Cline a68fedd4a6
chore: adjust way skill dirs are whitelisted (#12026) 2026-02-03 16:33:36 -06:00
Mariam Jabara 015cd404e4
feat: add Trinity model system prompt support (#12025)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 16:33:27 -06:00
Tyler Gannon a30696f9bf
feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012) 2026-02-03 15:18:41 -06:00
Matt Silverlock 25bdd77b1d
fix(opencode): use official ai-gateway-provider package for Cloudflare AI Gateway (#12014) 2026-02-03 15:18:28 -06:00
Idris Gadi 95211a8854
feat(tui): allow theme colors in agent customization (#11444) 2026-02-03 15:09:21 -06:00
Dax 17e62b050f
feat: add support for reading skills from .agents/skills directories (#11842)
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>
2026-02-03 15:51:54 -05:00
Dax ee84eb44ee
cli: add --thinking flag to show reasoning blocks in run command (#12013) 2026-02-03 20:49:15 +00:00
MartinWie 82dd4b6908
fix: always fall back to native clipboard after OSC52 (#11994) 2026-02-03 20:53:04 +01:00
opencode-agent[bot] 185858749b chore: generate 2026-02-03 19:10:44 +00:00
Cloudyan 39a504773c
fix: provider headers from config not applied to fetch requests (#11788) 2026-02-03 13:09:07 -06:00
Aiden Cline b7b734f51f
fix: ensure mcp tools are sanitized (#11984) 2026-02-03 12:22:00 -06:00
Alex 60e616ec81
feat: Add .slnx to C#/F# LSP root detection (#11928) 2026-02-03 11:46:04 -06:00
Aiden Cline 3975329629
feat: improve skills, better prompting, fix permission asks after invoking skills, ensure agent knows where scripts/resources are (#11737) 2026-02-03 09:58:31 -06:00
neavo 54e14c1a17
fix: exclude k2p5 from reasoning variants (#11918) 2026-02-03 09:26:37 -06:00
Muhammad Mugni Hadi 3741516fe3
fix: handle nested array items for Gemini schema validation (#11952) 2026-02-03 09:24:52 -06:00
Filip d116c227e0
fix(core): plugins are always reinstalled (#9675) 2026-02-03 00:47:52 -06:00
Kiyoung Chang 3adeed8f97
fix(provider): strip properties/required from non-object types in Gemini schema (#11888) 2026-02-02 23:13:24 -06:00
Dax 1275c71a63
cli: make run non-interactive (#11814) 2026-02-02 23:35:23 -05:00
Aiden Cline 188cc24bfc
chore: cleanup external_dir perm logic (#11845) 2026-02-02 16:43:55 -06:00
opencode-agent[bot] 5e3162b7f4 chore: generate 2026-02-02 22:30:23 +00:00
Joseph Campuzano f9aa209131
fix: fixes issue where the autocomplete tui dialog flickers while typing (#11641) 2026-02-02 16:29:43 -06:00
Aiden Cline f86f654cda
chore: rm dead code (#11849) 2026-02-02 16:22:03 -06:00
Aiden Cline aa6b552c39
Revert pr that was mistakenly merged (#11844) 2026-02-02 15:28:02 -06:00
Luiz Guilherme D'Abruzzo Pereira a9fca05d8b
feat(server): add --mdns-domain flag to customize mDNS hostname (#11796) 2026-02-02 14:52:32 -06:00
Adam 3b93e8d95c
fix(app): added/deleted file status now correctly calculated 2026-02-02 14:24:23 -06:00
Pablo P Varela 965f32ad63
fix(tui): respect terminal transparency in system theme (#8467) 2026-02-02 11:36:47 -06:00
Vladimir Glafirov cf8b033be1
feat(provider): add User-Agent header for GitLab AI Gateway requests (#11818) 2026-02-02 10:41:02 -06:00
Dax 4369d79636
tui: truncate session title in exit banner (#11797) 2026-02-02 14:30:10 +00:00
Ondřej Súkup 52006c2fd9
feat(opencode): ormolu code formatter for haskell (#10274) 2026-02-02 06:01:49 -06:00
Sebastian 3982c7d99a
Use opentui OSC52 clipboard, again (#11744) 2026-02-02 08:12:50 +01:00
Jigar 43354eeabd
fix: convert system message content to string for Copilot provider (#11600)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 23:28:28 -06:00
Dax 7a9290dc9b
tui: show exit message banner (#11733) 2026-02-02 00:13:47 -05:00
Dax Raad cfbe9d329f Revert "Use opentui OSC52 clipboard (#11718)"
This reverts commit 8e985e0a75.
2026-02-02 00:13:02 -05:00
OpeOginni f02499fa44
fix(opencode): give OPENCODE_CONFIG_CONTENT proper priority for setting config based on docs (#11670) 2026-02-01 23:11:25 -06:00
Mathias Beugnon bd9d7b3221
fix: session title generation with OpenAI models. (#11678) 2026-02-01 23:10:53 -06:00
Dax c69474846f
Simplify directory tree output for prompts (#11731) 2026-02-01 23:37:07 -05:00
Dax 0dc80df6fd
Add spinner animation for Task tool (#11725) 2026-02-01 22:51:55 -05:00
Sebastian 8e985e0a75
Use opentui OSC52 clipboard (#11718)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-02-02 04:48:29 +01:00
Dax Raad 83d0e48e38 tui: fix task status to show current tool state from message store 2026-02-01 20:52:17 -05:00
Dax Raad 6c9b2c37a5 core: allow starting new sessions after errors by fixing stuck session status 2026-02-01 20:39:58 -05:00
Aiden Cline 612b656d36 fix: adjust resolve parts so that when messages with multiple @ references occur, the tool calls are properly ordered 2026-02-01 19:26:23 -05:00
R44VC0RP cb6ec0a564 fix(app): hide badge for builtin slash commands
Add source: 'command' to builtin and config-defined commands so they
don't show a 'custom' badge. Only MCP and skill commands show badges.
2026-02-01 19:26:23 -05:00
Filip 91f2ac3cb2
test(app): workspace tests (#11659) 2026-02-01 15:39:50 -06:00
Aiden Cline ec720145fa
fix: when using codex sub, send the custom agent prompts as a separate developer message (previously sent as user message but api allows for instructions AND developer messages) (#11667)
Co-authored-by: Carlos <carloscanas942@gmail.com>
2026-02-01 14:57:47 -06:00
Aiden Cline f6948d0ffa
fix: variant logic for anthropic models through openai compat endpoint (#11665) 2026-02-01 14:50:49 -06:00
Rohan Godha ca5e85d6ea
fix: prompt caching for opus on bedrock (#11664) 2026-02-01 14:42:42 -06:00