Commit graph

357 commits

Author SHA1 Message Date
Kit Langton
896ad7b884
Speed up targeted opencode tests
Reduce avoidable setup costs in slow opencode tests while preserving reviewed coverage and recording the benchmark evidence for follow-up test-suite work.
2026-05-18 16:18:29 +00:00
opencode-agent[bot]
f7b5576bcc chore: generate 2026-05-18 15:39:33 +00:00
Kit Langton
cb35493242
fix(bus): acquire PubSub subscription eagerly to close /event race (#27959) 2026-05-18 11:38:05 -04:00
Kit Langton
5911bd532d
fix(tui): show config error details on startup (#27803) 2026-05-15 20:42:56 -04:00
Shoubhit Dash
0c9cfe923f
refactor(instance): remove legacy runtime fallback (#27757) 2026-05-15 23:05:44 +05:30
Dax
e11e089e42
Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
Kit Langton
195f592640
refactor(server): simplify listener lifecycle (#27413) 2026-05-15 00:00:52 +00:00
Shoubhit Dash
d35e09f1fc
test(workspace): use runtime flags in workspace tests (#27612) 2026-05-15 04:19:39 +05:30
Shoubhit Dash
43310f4d8c
refactor(flags): move embedded web ui flag to runtime flags (#27613) 2026-05-15 03:51:29 +05:30
Kit Langton
d353a6bc24
fix(worktree): accept missing create payload (#27582) 2026-05-14 14:25:22 -04:00
Shoubhit Dash
22de34c4de
feat: add experimental background subagents (#27084) 2026-05-14 22:10:15 +05:30
Shoubhit Dash
27ac53aaac
fix(server): stop exposing named defects (#27471) 2026-05-14 12:51:05 +05:30
Aiden Cline
c50d2b3656
Refactor event HTTP API route modules (#27441) 2026-05-13 22:41:17 -05:00
Kit Langton
cda8cc7285
test(httpapi): simplify event stream regression coverage (#27427) 2026-05-14 02:18:40 +00:00
Kit Langton
b928a1fff9
fix(httpapi): preserve event stream context (#27425)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: James Long <longster@gmail.com>
2026-05-13 22:02:30 -04:00
Kit Langton
e5319846ad
test(server): migrate pty websocket input test (#27348) 2026-05-13 15:43:09 +00:00
Shoubhit Dash
eed0eddc63
refactor(flags): route session workspaces through runtime flags (#27335) 2026-05-13 20:14:40 +05:30
Dax
8345152319
core: expose v2 model listing API (#25821) 2026-05-13 14:43:08 +00:00
Shoubhit Dash
5b2b300602
fix(session): tighten http error contracts (#27308) 2026-05-13 16:48:18 +05:30
Shoubhit Dash
809af5c590
fix(provider): type auth errors (#27301) 2026-05-13 15:47:13 +05:30
Shoubhit Dash
2e7cf92c8b
fix(worktree): type expected errors (#27296) 2026-05-13 15:05:30 +05:30
Shoubhit Dash
4b041716fc
fix(server): remove storage not found defect fallback (#27287) 2026-05-13 14:15:53 +05:30
Shoubhit Dash
f01c6b3e37
fix(session): type message list not found errors (#27275) 2026-05-13 13:22:12 +05:30
Shoubhit Dash
90c13d93f3
fix(server): hide unknown 500 details (#27251) 2026-05-13 10:15:28 +05:30
opencode-agent[bot]
784796e27a chore: generate 2026-05-13 03:14:19 +00:00
Kit Langton
913ea36ae6
test(server): scope MCP HttpApi handler (#27226) 2026-05-13 03:13:05 +00:00
Kit Langton
6d3b2fe08b
test(server): stabilize SDK project skill prompt test (#27239) 2026-05-13 03:01:29 +00:00
Kit Langton
8370d0cef4
test(server): migrate httpapi ui tests to effect runner (#27236) 2026-05-13 02:55:36 +00:00
Kit Langton
0b67e1a046
test(server): migrate session messages to Effect runner (#27234) 2026-05-13 02:55:33 +00:00
Kit Langton
485ecbde18
test(server): migrate global session list to effect runner (#27233) 2026-05-13 02:52:59 +00:00
Kit Langton
588b5240d0
test(server): migrate worktree endpoint repro to effect runner (#27220) 2026-05-13 02:43:41 +00:00
Kit Langton
91a9514ed0
test(server): use AppFileSystem in provider tests (#27227) 2026-05-13 02:32:30 +00:00
Kit Langton
0879f5e22d
test(server): migrate project init git test to Effect runner (#27218) 2026-05-13 02:08:55 +00:00
Kit Langton
a26a2a95bd
test(server): migrate provider httpapi test to effect runner (#27216) 2026-05-13 02:05:52 +00:00
Kit Langton
7f9268f147
test(server): migrate global bus helper to Effect (#27214) 2026-05-13 02:04:46 +00:00
Kit Langton
5c7af682b9
test(server): migrate MCP HTTP API test to Effect runner (#27213) 2026-05-13 02:03:52 +00:00
opencode-agent[bot]
c9df833d2c chore: generate 2026-05-13 01:45:20 +00:00
Kit Langton
d1356f509e
test(server): migrate HTTP API SDK test to Effect runner (#27208) 2026-05-13 01:43:35 +00:00
Kit Langton
4d9c675b00
test(server): migrate httpapi session test to effect runner (#27207) 2026-05-13 01:40:25 +00:00
Kit Langton
604de70689
test(server): migrate experimental HttpApi test to Effect (#27204) 2026-05-13 01:40:07 +00:00
opencode-agent[bot]
673226d214 chore: generate 2026-05-13 01:39:46 +00:00
Kit Langton
2447f42294
test(server): migrate session select to effect runner (#27203) 2026-05-13 01:38:38 +00:00
Kit Langton
8310e7df70
test(server): migrate missing patch diff test (#27202) 2026-05-13 01:37:34 +00:00
opencode-agent[bot]
937a3c10b3 chore: generate 2026-05-12 23:49:28 +00:00
Kit Langton
9c54255aeb
fix: migrate sync http api test to effect runner (#27175) 2026-05-12 23:47:14 +00:00
Kit Langton
b0674b473f
test: migrate session action route to effect runner (#27174) 2026-05-12 23:46:51 +00:00
Kit Langton
2c334d9242
Migrate schema error body tests to Effect runner (#27172) 2026-05-12 23:46:19 +00:00
Kit Langton
2017dc165c
test: migrate negative tokens regression to Effect runner (#27141) 2026-05-12 20:32:23 +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
cc95197d72
Drop prompt input Zod statics (#26923) 2026-05-11 16:49:08 -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
Aiden Cline
518264fcd9
fix(opencode): fix full session fork (#26811) 2026-05-11 00:26:36 -05:00
Kit Langton
049502fac6
fix(server): return diagnosable body for schema rejections (#26631) 2026-05-10 16:21:32 +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
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
c6e6bdf59f
fix(session): tolerate negative token counts in stored parts (#26620) 2026-05-09 22:10:44 -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
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
11363170ca
fix(sdk): wrap thrown error bodies in Error
SDK throwOnError paths now convert structured response bodies into real Error instances while preserving the original body and status in cause.
2026-05-09 18:46:43 -04:00
Kit Langton
bd1029b19f
test(server): cover HttpApi context inheritance
Adds regression coverage for request context inheritance in promptAsync and explicit context provisioning in stream bodies.
2026-05-09 18:46:10 -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
opencode-agent[bot]
5fa5d876fc chore: generate 2026-05-09 20:31:32 +00: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
Kit Langton
8602937a37
test(session): cover workspace-routed messages (#26576) 2026-05-09 16:19:06 -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
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
27fa297a42
fix(server): keep provider lists JSON-safe (#26550) 2026-05-09 13:40:46 -04:00
opencode-agent[bot]
d01cb7f013 chore: generate 2026-05-09 13:11:45 +00:00
Kit Langton
28b03595bf
research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
Kit Langton
32684e70e6
test(server): expect null body from HTTP API authorize() with no redirect (#26515) 2026-05-09 08:50:00 -04:00
Kit Langton
e7cc8259b5
test(server): drop flaky account error-mapping test (#26475) 2026-05-09 00:29:31 -04:00
opencode-agent[bot]
a9ccb0804f chore: generate 2026-05-09 04:22:25 +00:00
Kit Langton
ebe6087e8f
fix(server): return structured validation errors (#26457) 2026-05-09 00:21:19 -04:00
Kit Langton
dc978cb889
fix(server): validate permission and question ids (#26456) 2026-05-09 00:20:28 -04:00
Kit Langton
8cbc43fbb0
fix(server): include auth challenge on typed 401 (#26455) 2026-05-09 00:15:20 -04:00
opencode-agent[bot]
82359c4b1b chore: generate 2026-05-09 04:06:08 +00:00
Kit Langton
7f3e51453b
test(server): use Layer.mock for partial Account service stub (#26472) 2026-05-09 00:05:05 -04:00
Kit Langton
cbdb2d9825
test(server): expand workspace routing fixed-id coverage (#26458) 2026-05-09 00:00:18 -04:00
Kit Langton
dcb8ed8eb0
test(server): cover workspace sync fence protocol (#26441) 2026-05-08 23:55:47 -04:00
opencode-agent[bot]
cff441909a chore: generate 2026-05-09 03:45:35 +00:00
Kit Langton
3615d5aab1
fix(server): map Account failures to typed 500 instead of defect (#26448) 2026-05-08 23:44:28 -04:00
Kit Langton
4d585464f3
fix(server): include Origin in CORS preflight Vary header (#26445) 2026-05-08 23:17:47 -04:00
Kit Langton
357a74714a
fix(test): set OPENCODE_EXPERIMENTAL_WORKSPACES in fence header test (#26466) 2026-05-08 23:12:08 -04:00
Kit Langton
ffea6c7974
feat(server): add HTTP API response compression (#26440) 2026-05-08 23:06:00 -04:00
Kit Langton
8e9550d90d
fix(server): emit fixed workspace fence headers (#26443) 2026-05-08 22:45:54 -04:00
Kit Langton
cc68afb2de
test(server): lock fixed workspace routing context (#26454) 2026-05-08 22:35:32 -04:00
Kit Langton
11c33d52a5
test(server): cover REST API project skills (#26451) 2026-05-09 02:23:21 +00:00
Kit Langton
9c05d4e2fd
fix(server): serve HttpApi OpenAPI document (#26438) 2026-05-08 22:20:50 -04:00
Kit Langton
0745162eab
test(server): harden HttpApi exercise coverage (#26425) 2026-05-08 20:50:01 -04:00
Kit Langton
75308ea47d
test(server): add HttpApi auth exercise mode (#26386) 2026-05-08 14:05:46 -04:00
Kit Langton
daa3116f4b
refactor(server): split HttpApi exercise harness (#26385) 2026-05-08 17:58:14 +00:00
Kit Langton
3052a79b32
refactor(server): clarify HttpApi route auth layers (#26372) 2026-05-08 13:06:00 -04:00
Rajvardhan Patil
13b3117ca9
fix(server): require auth for effect root routes (#26361)
Co-authored-by: Rajvardhan Patil <243567420+RajvardhanPatil07@users.noreply.github.com>
2026-05-08 16:39:11 +00:00
James Long
c818c9dcb6
feat(core): allow external workspace creation (#26212) 2026-05-08 11:09:12 -04:00
James Long
3c4b4d5faf
feat(core): copy file changes when warping (#26190) 2026-05-07 10:24:17 -04:00
Luke Parker
2dffdfff4a
fix(server): apply cors before legacy auth (#26092) 2026-05-07 08:55:09 +10:00
Kit Langton
8555de8189
Type session not-found errors (#25818) 2026-05-05 21:33:47 -04:00
Luke Parker
e117397d0f
fix(server): restore web terminal CSP allowances (#25937) 2026-05-06 09:32:51 +10:00
Dax
39c88f9afb
Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
James Long
22a4a9df8b
feat(core): session warping (#25768) 2026-05-04 21:28:38 -04:00
Kit Langton
fb07c2070c
fix(server): provide fresh ConfigProvider per HttpApi listener (#25726) 2026-05-04 13:06:29 -04:00
Kit Langton
25dc6f09bc
fix(worktree): fork workspace worktree boot (#25723) 2026-05-04 12:01:13 -04:00
opencode-agent[bot]
2c819f290f chore: generate 2026-05-04 13:55:28 +00:00
Kit Langton
6e9f10ad3f
test(server): regression reproducers for #25698 (#25714) 2026-05-04 09:54:19 -04:00
Kit Langton
7bc26dafae
feat(server): pty websocket auth tickets (#25660) 2026-05-03 22:56:14 -04:00
opencode-agent[bot]
755cd561ec chore: generate 2026-05-03 19:45:26 +00:00
Kit Langton
6312c55d55
fix(server): serve embedded UI from bunfs (#25632) 2026-05-03 19:44:23 +00:00
Kit Langton
387220f368
fix(server): support desktop PTY websockets with HttpApi (#25598) 2026-05-03 18:23:29 +00:00
Shoubhit Dash
8694c5b68f
fix(auth): respect server username in clients (#25596) 2026-05-03 19:28:31 +05:30
OpeOginni
101566131d
fix(httpapi): add basic auth challenge for browser login
Adds a WWW-Authenticate challenge for unauthorized experimental HttpApi UI fallback responses so browsers open the Basic Auth prompt when a server password is configured.
2026-05-03 13:20:05 +00:00
Kit Langton
2ad1eb56d3
feat(server): native HttpApi listener with Bun.serve + WS upgrade (#25547) 2026-05-03 09:09:45 -04:00
Kit Langton
0ee3b87289
feat(server): Server.openapi() backed by HttpApi spec, parity-checked against Hono output (#25545) 2026-05-03 09:06:23 -04:00
Kit Langton
ca75ac6681
refactor(server): extract Hono-coupled utilities to backend-neutral modules (#25542) 2026-05-03 12:58:34 +00:00
Kit Langton
5f03d892c0
fix(httpapi): pagination Link header echoes request host (#25527) 2026-05-02 23:19:33 -04:00
opencode-agent[bot]
a6cadba814 chore: generate 2026-05-03 02:10:52 +00:00
Dax
a3bc5d35b0
Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Kit Langton
7d91d3b1ed
Normalize instance lifecycle wiring (#25501) 2026-05-02 20:39:20 -04:00
Kit Langton
fd01dc9c89
test(httpapi): add route exerciser 2026-05-02 20:31:21 -04:00
Kit Langton
f98053c34e
fix(instance): run bootstrap from instance store (#25475) 2026-05-02 19:33:38 -04:00
opencode-agent[bot]
96061222d2 chore: generate 2026-05-02 15:45:21 +00:00
Kit Langton
3b9155714d
Delete Instance.dispose and Instance.reload (#25427) 2026-05-02 11:44:16 -04:00
Kit Langton
4c4860fb24
Replace Instance.disposeAll/load with fixture helper (#25418) 2026-05-02 10:56:15 -04:00
Kit Langton
5242a1c6b4
fix(httpapi): install Instance ALS for adapter Promise bridge (#25417) 2026-05-02 10:49:44 -04:00
Kit Langton
075f876e6f
fix(httpapi): re-land workspace create payload accepts missing extra (#25412) 2026-05-02 09:35:39 -04:00
Kit Langton
f33aec1139
Convert LoadInput.init to Effect + extract InstanceBootstrap as a Service (#25376) 2026-05-02 00:02:52 -04:00
Kit Langton
0b498dd448
fix(httpapi): preserve OpenAPI parameter parity (#25291) 2026-05-01 22:18:52 -04:00
Kit Langton
cec9c6122a
Move instance loading into Effect service (#25277) 2026-05-01 22:18:06 -04:00
Kit Langton
16ddf5f559
fix(session): use finite archived timestamp schema (#25275) 2026-05-01 11:57:03 +00:00
Kit Langton
8c79c58c4d
refactor: rename workspace adapters (#25272) 2026-05-01 07:36:52 -04:00
Kit Langton
dd3aa96730
test(httpapi): cover more safe GET parity (#25217) 2026-04-30 23:01:11 -04:00
Kit Langton
8b56d1712f
refactor(session): pass project to list (#25215) 2026-04-30 23:00:59 -04:00
Kit Langton
3c24d22d42
fix(httpapi): omit absent optional response fields (#25214) 2026-05-01 02:38:32 +00:00
opencode-agent[bot]
6d4629b566 chore: generate 2026-05-01 01:28:37 +00:00
Kit Langton
bc805b3001
Pass CORS options to HttpApi backend (#25201) 2026-04-30 21:26:32 -04:00
opencode-agent[bot]
96a0dd6b04 chore: generate 2026-04-30 23:37:58 +00:00
Kit Langton
2dd1f2d453
Avoid request-time HttpApi layer provisioning (#25179) 2026-04-30 19:36:57 -04:00
opencode-agent[bot]
8805104b8d chore: generate 2026-04-30 23:25:10 +00:00
Kit Langton
fc155e9fc5
Build HttpApi UI route from services (#25177) 2026-04-30 19:24:10 -04:00
opencode-agent[bot]
247284b9af chore: generate 2026-04-30 22:51:09 +00:00
Kit Langton
e0305e47f3
Protect HttpApi web UI fallback with auth (#25169) 2026-04-30 18:49:54 -04:00
Kit Langton
5518ecaefe
Fix HttpApi web UI fallback (#25163) 2026-04-30 17:43:18 -04:00