Commit graph

4407 commits

Author SHA1 Message Date
Shoubhit Dash
3dc2c1d81c
fix(session): preserve usage update timestamps (#27094) 2026-05-12 22:10:28 +05:30
Kit Langton
d658e1e350
Remove local MCP Zod schema (#27095) 2026-05-12 12:38:27 -04:00
opencode-agent[bot]
30e3fa1de9 chore: generate 2026-05-12 16:33:06 +00:00
Aiden Cline
23f8b3eb3e
fix: annotate Effect log metadata (#27093) 2026-05-12 11:31:18 -05:00
Kit Langton
c7d8b0d565
Delete named schema error wrapper (#27066) 2026-05-12 12:04:28 -04:00
Kit Langton
28f38fc871
Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Shoubhit Dash
8feb4a31c7
feat(core): add background job service (#27033) 2026-05-12 15:22:38 +05:30
Simon Klee
8f05bbfaa6
prompt: fix cursor math for wide characters (#27017)
String.length counts code points, not display columns, so CJK
characters and emoji that occupy two terminal cells caused
misaligned cursors, broken mention triggers, and incorrect
history restoration offsets.

Use Bun.stringWidth for now, we need an alternative for this.

Fix #26716
Close #26922
2026-05-12 11:45:28 +02:00
Shoubhit Dash
2481dde36d
chore: remove codesearch tool (#27019) 2026-05-12 13:44:02 +05:30
Matt H
61174b7878
fix(tui): make websearch provider label reactive (#26943) 2026-05-12 08:01:16 +00:00
opencode-agent[bot]
ea6eabe1d9 chore: generate 2026-05-12 05:20:22 +00:00
Dax
36d40fee4d
Track session usage totals (#26644) 2026-05-12 01:18:57 -04:00
James Long
e36bc20f84
fix(tui): fix flicker by avoiding redundant workspace session sync (#26997) 2026-05-12 00:30:03 -04:00
Aiden Cline
487575773d
feat: create global opencode.jsonc if no configs exist (#26992) 2026-05-11 23:13:22 -05:00
James Long
2b432d9e03
fix(tui): scope events by project (#26936) 2026-05-11 23:42:04 -04:00
Aiden Cline
1a28924ed8
fix: grep external directory permission evaluation (#26958) 2026-05-11 21:47:35 -05:00
Kit Langton
c43d606f8e
agent: use Effect schema for generated agent object (#26973) 2026-05-11 21:42:04 -04:00
Kit Langton
1007630347
Migrate runtime validators to Effect Schema (#26975) 2026-05-11 21:41:56 -04:00
Kit Langton
9e8274d2da
Remove internal Zod schemas (#26974) 2026-05-11 21:40:44 -04:00
Kit Langton
74aa735e6a
fix(tui): guard prompt submit against concurrent invocation (#26972) 2026-05-12 01:35:28 +00:00
Kit Langton
e5aa5161f2
Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
Kit Langton
061efc6cf2
Fix run JSON output draining (#26955) 2026-05-11 20:30:23 -04:00
Kit Langton
46edc98f10
Validate TUI config with Effect Schema (#26952) 2026-05-11 23:51:45 +00:00
Kit Langton
812668ae2f
Generate TUI schema from Effect Schema (#26945) 2026-05-11 17:50:14 -04:00
Kit Langton
a5c35bf182
Avoid bootstrapping server plugins from TUI plugin runtime (#26938) 2026-05-11 17:32:16 -04:00
Kit Langton
fd65d29dcc
Drop unused opencode Zod statics (#26935) 2026-05-11 17:14:18 -04:00
Kit Langton
fe7ca3421e
Drop Config Info Zod static (#26933) 2026-05-11 16:49:22 -04:00
Kit Langton
cc95197d72
Drop prompt input Zod statics (#26923) 2026-05-11 16:49:08 -04:00
James Long
9067218b74
fix(core): always start worktrees as detached (#26931) 2026-05-11 16:22:25 -04:00
Kit Langton
42a0453945
Drop small session Zod statics (#26921) 2026-05-11 16:12:31 -04:00
Kit Langton
4d9eb6c320
Validate structured output tests with Effect Schema (#26919) 2026-05-11 16:11:25 -04:00
Kit Langton
c060c436b6
Drop LSP config Zod statics (#26920) 2026-05-11 16:11:11 -04:00
Kit Langton
45adfedd64
Drop unused domain Zod statics (#26927) 2026-05-11 16:10:58 -04:00
Kit Langton
8d9b9719be
Drop unused small ID Zod statics (#26908) 2026-05-11 13:22:59 -04:00
Kit Langton
6f2f759fbb
Clean up post-Hono references (#26903) 2026-05-11 13:20:54 -04:00
Shoubhit Dash
12583b18f0
feat(tui): pin, quick-switch, and cycle recent sessions (#26858) 2026-05-11 22:46:27 +05:30
Kit Langton
df386bd651
feat(skill): enable customize-opencode by default, link full schema (#26899) 2026-05-11 13:13:41 -04:00
opencode-agent[bot]
19fce2bc6f chore: generate 2026-05-11 15:21:20 +00:00
Shoubhit Dash
4bae84c8b0
feat(scout): autocomplete configured mentions (#26843) 2026-05-11 20:50:03 +05:30
Kit Langton
bcee247988
Define project update input with Effect Schema (#26803) 2026-05-11 15:05:31 +00:00
Kit Langton
64c504212a
Parse command config with Effect Schema (#26801) 2026-05-11 10:22:45 -04:00
Shoubhit Dash
2d0d3d596e
feat(compaction): serialize compaction tail (#26830) 2026-05-11 13:40:36 +05:30
Shoubhit Dash
7e997cfba4
refactor(scout): resolve configured reference mentions (#26701) 2026-05-11 12:57:26 +05:30
Aiden Cline
518264fcd9
fix(opencode): fix full session fork (#26811) 2026-05-11 00:26:36 -05:00
Dax
7235c9c9b8
Trace data migrations (#26809) 2026-05-11 03:23:01 +00:00
Kit Langton
274033cd52
Validate prompt messages with Effect Schema (#26796) 2026-05-11 02:59:20 +00:00
Sebastian
721ff5121e
fix prompt history behaviour and session line up/down commands (#26797) 2026-05-11 02:27:46 +00:00
Kit Langton
6f1f5944ce
Delete unused opencode Zod helpers (#26793) 2026-05-10 21:57:18 -04:00
Kit Langton
ddc02c2893
Drop synchronous SyncEvent facades (#26789) 2026-05-11 01:53:50 +00:00
opencode-agent[bot]
38e4540119 chore: generate 2026-05-11 01:41:26 +00:00
Dax Raad
4100fcbd17 disable image resizing 2026-05-10 21:40:12 -04:00
Kit Langton
83cb0f60ec
Drop EventV2 run facade (#26783) 2026-05-10 21:26:28 -04:00
Kit Langton
effd96755e
Use SyncEvent service at event call sites (#26782) 2026-05-10 21:20:13 -04:00
Dax
7cea32ee08
Add background code migration service (#26652) 2026-05-11 00:16:42 +00:00
Kit Langton
5ef72e1101
Drop unused ID Zod statics (#26740) 2026-05-10 19:58:21 -04:00
Kit Langton
d8060dc9ad
Drop compaction create facade (#26739) 2026-05-10 19:54:16 -04:00
Sebastian
5654dd2aad
restore managed textarea keymap handling (#26771) 2026-05-11 01:45:59 +02:00
Dax
0fffcdfe46
Persist session model switches outside event flag (#26765) 2026-05-10 18:53:14 -04:00
opencode-agent[bot]
312e5c7a7c chore: generate 2026-05-10 16:22:29 +00:00
Kit Langton
049502fac6
fix(server): return diagnosable body for schema rejections (#26631) 2026-05-10 16:21:32 +00:00
Kit Langton
a4f3cedcdf
Start effect-style compaction tests 2026-05-10 16:12:00 +00:00
Kit Langton
11030c627b
Scope boolean query overrides 2026-05-10 11:57:52 -04:00
Kit Langton
49ee3ba85a
Source diff message query pattern (#26638) 2026-05-10 11:54:54 -04:00
opencode-agent[bot]
6589a66822 chore: generate 2026-05-10 12:28:11 +00:00
Shoubhit Dash
5cf9abe743
feat(scout): materialize configured reference repos (#26692) 2026-05-10 17:57:11 +05:30
opencode-agent[bot]
3a78fb1f42 chore: generate 2026-05-10 06:49:21 +00:00
Aiden Cline
85ce6a5f95
feat: better image handling (auto resize & max size constraints) (#26401) 2026-05-10 01:48:19 -05:00
opencode-agent[bot]
a9a2a597d5 chore: generate 2026-05-10 04:30:04 +00:00
Dax
3753601f87
Format TUI paths relative to session directory (#26648) 2026-05-10 04:29:02 +00:00
Kit Langton
fb4bab8a66
Remove redundant ID Zod overrides (#26633) 2026-05-09 23:12:21 -04:00
Kit Langton
f220f02a2f
Source workspace path pattern (#26632) 2026-05-09 23:02:31 -04:00
Kit Langton
67b9c9c027
Source HTTP API ID path patterns (#26623) 2026-05-09 22:58:47 -04:00
Kit Langton
29250a0efb
fix(session): loosen remaining stored numeric schemas to tolerate legacy data (#26622) 2026-05-09 22:10:48 -04:00
Kit Langton
c6e6bdf59f
fix(session): tolerate negative token counts in stored parts (#26620) 2026-05-09 22:10:44 -04:00
opencode-agent[bot]
d80e1199ca chore: generate 2026-05-10 02:06:39 +00:00
Kit Langton
10ea59066f
feat(skill): built-in opencode-meta skill (#26617) 2026-05-09 22:05:37 -04:00
Kit Langton
79d6b10d7c
fix(mcp): tolerate output schema ref failures (#26614) 2026-05-09 22:03:59 -04:00
Kit Langton
6e78f36a0f
Narrow HTTP API numeric query overrides (#26618) 2026-05-09 22:02:51 -04:00
Kit Langton
16866e1180
Share HTTP API boolean query schema (#26615) 2026-05-09 21:41:15 -04:00
Kit Langton
e30d8173c1
Fix OpenAPI workspace query drift (#26609) 2026-05-09 21:12:34 -04:00
Kit Langton
b8ca71d309
fix(task): subagent inherits parent agent's deny rules (Plan Mode security bypass) (#26597)
Co-authored-by: Developer <temp@example.com>
2026-05-09 23:51:55 +00:00
Kit Langton
6849f96825
refactor(provider): share model status schema (#26595)
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:20:31 -04:00
Kit Langton
00c3248295
fix(config): allow active provider model status (#26592)
Co-authored-by: Developer <temp@example.com>
2026-05-09 18:59:05 -04:00
opencode-agent[bot]
818b56dbd0 chore: generate 2026-05-09 22:47:54 +00:00
Kit Langton
29b5b24787
fix(tui): aggregate bootstrap request failures
TUI bootstrap now reports all parallel fetch failures together instead of losing sibling failures after the first rejection.
2026-05-09 18:46:52 -04:00
Kit Langton
ba9e4b67ed
fix(tool/read): match permission patterns against worktree-relative path
Read permission checks now use the same worktree-relative path basis as edit/write/apply_patch, so configured patterns apply consistently.
2026-05-09 18:46:29 -04:00
Kit Langton
43b51f09d0
fix(httpapi): align runtime query schemas with workspace routing params (#26581)
Co-authored-by: Developer <temp@example.com>
2026-05-09 16:50:30 -04:00
Kit Langton
d373c562f2
fix(session): accept legacy summary diffs (#26579)
Co-authored-by: Developer <temp@example.com>
2026-05-09 16:44:24 -04:00
Kit Langton
805af011c9
test(session): regression test for #26574 + mirror loosening on Vcs.FileDiff (#26578)
Co-authored-by: Developer <temp@example.com>
2026-05-09 16:30:31 -04:00
opencode-agent[bot]
480aa8b23b chore: generate 2026-05-09 20:24:28 +00:00
OpeOginni
d62442bb5d
fix(sessions): allow optional patch field in diff for migrated sessions (#26574) 2026-05-09 16:23:28 -04:00
Kit Langton
77da433e0a
fix(session): accept routing params in message list (#26569)
Co-authored-by: Developer <temp@example.com>
2026-05-09 16:02:35 -04:00
opencode-agent[bot]
ad79f3e0cf chore: generate 2026-05-09 19:59:00 +00:00
Kit Langton
6c2dfd2f52
fix(tui): guard messages.data in session.sync against undefined (#26566)
Co-authored-by: Developer <temp@example.com>
2026-05-09 19:58:03 +00:00
Sebastian
9a8b54fe62
Plugin command API shim (#26564) 2026-05-09 21:56:49 +02:00
Dax
dcdbdb218f
Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton
5e49029e70
fix(provider): isolate plugin model mutations (#26561)
Co-authored-by: Developer <temp@example.com>
2026-05-09 15:47:07 -04:00
Kit Langton
6fea0178eb fix(server): defer validation error body change 2026-05-09 14:50:45 -04:00
Kit Langton
ebe9dcf27e fix(server): return validation error bodies 2026-05-09 14:39:25 -04:00
Kit Langton
27fa297a42
fix(server): keep provider lists JSON-safe (#26550) 2026-05-09 13:40:46 -04:00