Commit graph

5590 commits

Author SHA1 Message Date
Kit Langton
2c334d9242
Migrate schema error body tests to Effect runner (#27172) 2026-05-12 23:46:19 +00:00
Kit Langton
81dd46abec
test: migrate websearch tests to effect runner (#27170) 2026-05-12 23:45:01 +00:00
Aiden Cline
a301c5ceb0 more fixes for perms 2026-05-12 18:23:52 -05:00
opencode-agent[bot]
baef5cd43b chore: generate 2026-05-12 22:11:13 +00:00
Andrew Suffield
65368f609d
fix: preserve permission ordering by accepting a layered array (#23214)
Co-authored-by: Andrew Suffield <asuffield@cloudflare.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-12 17:09:06 -05:00
opencode-agent[bot]
2cb697b720 chore: generate 2026-05-12 21:24:39 +00:00
Aiden Cline
cb511f78ff
fix(plugin): preserve tool attachments (#27157) 2026-05-12 16:23:15 -05:00
Musa
159964b172
feat(plugin): add DigitalOcean OAuth + Inference Routers (#26095) 2026-05-12 16:22:40 -05:00
Kit Langton
d9f9f1553b
test: use Effect file services in migrated tests (#27154) 2026-05-12 20:48:07 +00:00
Kit Langton
0fb55b4f1a
test(project): migrate global project tests to Effect runner (#27142) 2026-05-12 20:45:39 +00:00
Kit Langton
3c34f6704b
test: migrate auth override plugin test (#27140) 2026-05-12 20:41:34 +00:00
Kit Langton
4cf088ae84
test: migrate instance bootstrap to Effect runner (#27144) 2026-05-12 20:34:12 +00:00
Aiden Cline
ca28dd02ec
fix(compaction): restore tail turns after summarization (#27145) 2026-05-12 15:33:16 -05:00
Kit Langton
2017dc165c
test: migrate negative tokens regression to Effect runner (#27141) 2026-05-12 20:32:23 +00:00
Kit Langton
dc9d6a08cb
test: migrate agent color config tests (#27139) 2026-05-12 20:31:38 +00:00
Kit Langton
af4ab017cb
test(session): migrate structured output integration test (#27143) 2026-05-12 20:30:35 +00:00
Kit Langton
3f74abc6cd
test: simplify Effect migration follow-ups (#27136) 2026-05-12 20:00:54 +00:00
Kit Langton
e0d0fe1ff7
test(bus): migrate integration tests to Effect runner (#27132) 2026-05-12 19:58:54 +00:00
opencode-agent[bot]
f7dbb4dac4 chore: generate 2026-05-12 19:48:35 +00:00
Kit Langton
c5849e56cc
test(project): migrate project tests to Effect runner (#27134) 2026-05-12 19:47:17 +00:00
opencode-agent[bot]
e46ab34d27 chore: generate 2026-05-12 19:44:26 +00:00
Kit Langton
1d4613006a
test(project): migrate instance tests to Effect runner (#27130) 2026-05-12 19:41:46 +00:00
Kit Langton
71040c54aa
test(plugin): migrate loader shared tests to Effect runner (#27129) 2026-05-12 19:41:44 +00:00
Kit Langton
fec78154b5
test(bus): migrate bus tests to Effect runner (#27131) 2026-05-12 19:41:24 +00:00
Kit Langton
3e2ec192cf
test(question): remove WithInstance bridge (#27128) 2026-05-12 19:40:01 +00:00
Kit Langton
ec960da42a
test(skill): migrate discovery tests to Effect runner (#27127) 2026-05-12 19:39:03 +00:00
Shoubhit Dash
45de4975de
refactor(core): resolve default agent info (#27125) 2026-05-13 01:08:30 +05:30
Kit Langton
e540daabc4
test(agent): migrate plan bypass tests to Effect runner (#27119) 2026-05-12 14:56:01 -04:00
opencode-agent[bot]
f3c91c5f96 chore: generate 2026-05-12 18:52:25 +00:00
Kit Langton
549b146ea6
Stabilize session event tests (#27117) 2026-05-12 18:51:18 +00:00
Kit Langton
3c7569d852
test(tool): migrate external directory tests to Effect runner (#27122) 2026-05-12 18:50:56 +00:00
Kit Langton
8f1ded9e08
test(file): migrate ripgrep tests to Effect runner (#27120) 2026-05-12 18:50:26 +00:00
Kit Langton
b668af29dd
test(git): migrate git tests to Effect runner (#27121) 2026-05-12 18:50:07 +00:00
Kit Langton
ec30ff9120
test(agent): migrate agent tests to Effect runner (#27118) 2026-05-12 18:49:30 +00:00
Kit Langton
822eec0d62
Fix runner cancel completion (#27115) 2026-05-12 14:22:56 -04:00
Kit Langton
3974520742
Migrate UI cancel error to tagged error (#27112) 2026-05-12 18:09:00 +00:00
opencode-agent[bot]
0ce614a280 chore: generate 2026-05-12 16:46:35 +00:00
Kit Langton
e8125e9b42
test(server): migrate session list tests to Effect runner (#27101) 2026-05-12 16:45:05 +00:00
Kit Langton
a7b5041674
test(file): migrate fsmonitor tests to Effect runner (#27099) 2026-05-12 16:44:04 +00:00
Kit Langton
a16789dfdd
test(tool): migrate apply patch tests to Effect runner (#27100) 2026-05-12 16:43:33 +00:00
Kit Langton
8115004c73
test(file): migrate path traversal tests to Effect runner (#27098) 2026-05-12 16:42:49 +00:00
Kit Langton
ec4fdaf8e9
test(tool): migrate tool define tests to Effect runner (#27097) 2026-05-12 16:42:19 +00:00
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
257fcafc83
test(tool): migrate edit concurrency test (#26983) 2026-05-12 11:52:31 -04:00
Kit Langton
04aafe2bfc
test(provider): migrate more config-backed cases (#27067) 2026-05-12 14:19:49 +00:00
opencode-agent[bot]
0fd0facc44 chore: generate 2026-05-12 13:31:03 +00:00
Kit Langton
0de3b67cc0
test(tool): migrate shell tests to Effect runner (#26968) 2026-05-12 13:28:46 +00: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
Aiden Cline
d4e3106fca refactor: fold permission_layers into permission as a union
Replace the internal permission_layers config field with a union on permission
itself (single object or array of layered configs). Add ConfigPermission.toLayers
to normalise at consumption sites. Schema has no decode transform, so user
files round-trip through Config.update / updateGlobal without their permission
section being rewritten into array form.
2026-05-12 01:30:10 -05: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
Aiden Cline
d0c602bcab Merge branch 'dev' into fix-permissions 2026-05-12 00:02:33 -05: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
opencode-agent[bot]
5cc84800dc chore: generate 2026-05-12 03:43:40 +00: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
cc1835e0db
test(provider): migrate config-backed cases to Effect runner (#26969) 2026-05-12 02:23:52 +00:00
Kit Langton
0f5d4ae648
test(project): stabilize VCS branch update test (#26979) 2026-05-11 22:12:07 -04:00
Kit Langton
ce72020750
test(tool): migrate edit tests to Effect runner (#26977) 2026-05-11 21:42:17 -04: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
abb1ee6278
docs(test): add Effect migration orchestration notes (#26963) 2026-05-11 20:59:51 -04:00
Kit Langton
c4003579bb
test(project): migrate VCS tests to Effect runner (#26965) 2026-05-11 20:59:34 -04:00
Kit Langton
0d9c534184
test(snapshot): migrate snapshot tests to Effect runner (#26964) 2026-05-11 20:59:31 -04:00
opencode-agent[bot]
e0e9414cbd chore: generate 2026-05-12 00:41:30 +00:00
Kit Langton
44edb639c2
test(session): migrate message pagination to Effect runner (#26957) 2026-05-12 00:40:23 +00:00
Kit Langton
fbd52ca2f4
test(file): migrate file tests to Effect runner (#26959) 2026-05-12 00:39:31 +00:00
opencode-agent[bot]
8015ff7ca5 chore: generate 2026-05-12 00:33:34 +00:00
Kit Langton
ec9584177f
docs(test): plan Effect test migration (#26954) 2026-05-11 20:32:27 -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
fdeb2748e1
test(agent): isolate plugin agent regression (#26948) 2026-05-11 19:38:54 -04:00
Kit Langton
59e6967b8f
Generate config schema from Effect Schema (#26939) 2026-05-11 19:24:58 -04: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
c7e084c32c
Simplify single-backend HttpApi exerciser (#26906) 2026-05-11 13:22:31 -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
opencode-agent[bot]
6592d80460 chore: generate 2026-05-11 14:13:39 +00:00
Sebastian
d821650b48
add default diff parser for markdown fenced code blocks (#26887) 2026-05-11 14:12:32 +00:00
Shoubhit Dash
2d0d3d596e
feat(compaction): serialize compaction tail (#26830) 2026-05-11 13:40:36 +05:30
opencode-agent[bot]
3bd98ea055 chore: generate 2026-05-11 07:28:32 +00:00
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
opencode
ce66b191d1 sync release versions for v1.14.48 2026-05-11 02:07:48 +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
Kit Langton
fed716ada5
Clarify compaction test harness (#26777) 2026-05-10 20:41:21 -04:00
opencode
426d92e352 sync release versions for v1.14.47 2026-05-11 00:23:17 +00:00
opencode-agent[bot]
d0412a213b chore: generate 2026-05-11 00:18:03 +00:00
Kit Langton
16aa67086b
Effectify remaining compaction process tests (#26776) 2026-05-10 20:17:01 -04:00
Dax
7cea32ee08
Add background code migration service (#26652) 2026-05-11 00:16:42 +00:00
Kit Langton
128d10d9e9
Simplify compaction test helpers (#26742) 2026-05-10 20:03:11 -04: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
Kit Langton
f71fb18d3d
Replace compaction create test fixtures (#26738) 2026-05-10 19:53:22 -04:00
Sebastian
5654dd2aad
restore managed textarea keymap handling (#26771) 2026-05-11 01:45:59 +02:00
Kit Langton
64dde0cb15
Migrate compaction tool-call test (#26737) 2026-05-10 19:44:42 -04:00
Kit Langton
a658e43eeb
Migrate compaction plugin test (#26736) 2026-05-10 19:42:44 -04:00
Kit Langton
ca8a42c973
Migrate LLM compaction tail tests (#26734) 2026-05-10 19:41:28 -04:00
Kit Langton
8f5f75db12
Migrate compaction LLM test (#26733) 2026-05-10 19:20:44 -04:00
Kit Langton
4ff0d07b1d
Migrate configurable compaction tests (#26732) 2026-05-10 19:18:02 -04:00
Kit Langton
2a571b3cee
Migrate compaction overflow tests (#26731) 2026-05-10 19:12:49 -04:00
Dax
0fffcdfe46
Persist session model switches outside event flag (#26765) 2026-05-10 18:53:14 -04:00
Dax
2ba2ee52e8
docs: document bun dev tmux capture (#26764) 2026-05-10 17:41:20 -04:00
Kit Langton
9c8da69196
Use Effect timeout in compaction test (#26728) 2026-05-10 12:45:54 -04:00
Kit Langton
fa15dbc5ec
Migrate compaction process tests (#26723) 2026-05-10 12:25:44 -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