Commit graph

328 commits

Author SHA1 Message Date
Shoubhit Dash
12b666e2c9
refactor(project): import instance context directly (#27714) 2026-05-15 15:59:56 +05:30
Dax Raad
5f4e5e6896 more typecheck fixes 2026-05-14 22:05:12 -04:00
Dax Raad
f39cf911d7 fix missing event types in sdk 2026-05-14 21:57:25 -04:00
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
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
27ac53aaac
fix(server): stop exposing named defects (#27471) 2026-05-14 12:51:05 +05:30
Shoubhit Dash
78015571bf
refactor(server): centralize session busy mapping (#27473) 2026-05-14 12:50:36 +05:30
Aiden Cline
c50d2b3656
Refactor event HTTP API route modules (#27441) 2026-05-13 22:41:17 -05: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
edf7649400
fix(session): type busy errors (#27410) 2026-05-14 01:28:04 +00:00
opencode-agent[bot]
faf8713053 chore: generate 2026-05-14 00:59:33 +00:00
Dax
16c457e712
refactor(core): move models.dev into core (#27347) 2026-05-13 20:58:24 -04:00
Kit Langton
3f33be1928
effect(server): typed errors in session/sync handlers, fix concurrency (#27146) 2026-05-13 20:31:27 -04:00
Kit Langton
55e0af1405
fix(provider): type model not found errors (#27334) 2026-05-13 22:23:09 +00:00
Shoubhit Dash
9ee1f6ceba
fix(server): map busy sessions in http handlers (#27375) 2026-05-14 01:02:07 +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
opencode-agent[bot]
4498fc983d chore: generate 2026-05-13 09:36:51 +00:00
Shoubhit Dash
2e7cf92c8b
fix(worktree): type expected errors (#27296) 2026-05-13 15:05:30 +05:30
Shoubhit Dash
ccf93f3523
fix(session): make message reads effectful (#27291) 2026-05-13 14:40:12 +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
fed043a1ad
fix(session): add typed message lookup wrappers (#27269) 2026-05-13 13:04:07 +05:30
Shoubhit Dash
e9a29e4908
fix(storage): type not found errors (#27265) 2026-05-13 12:25:04 +05:30
Shoubhit Dash
90c13d93f3
fix(server): hide unknown 500 details (#27251) 2026-05-13 10:15:28 +05:30
Kit Langton
456495289e
fix(httpapi): drop redundant InstanceRef/WorkspaceRef in session prompt handler (#27196) 2026-05-13 01:27:08 +00:00
Shoubhit Dash
45de4975de
refactor(core): resolve default agent info (#27125) 2026-05-13 01:08:30 +05:30
Aiden Cline
23f8b3eb3e
fix: annotate Effect log metadata (#27093) 2026-05-12 11:31:18 -05:00
Kit Langton
e5aa5161f2
Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -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
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
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]
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
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
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
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
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
Dax
dcdbdb218f
Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00: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
Kit Langton
b24a4e897e
chore(server): clean up post-Hono-deletion scar tissue (#26542) 2026-05-09 12:30:18 -04:00
Kit Langton
28b03595bf
research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
opencode-agent[bot]
b2baddcd37 chore: generate 2026-05-09 04:31:07 +00:00
Kit Langton
dbd48d423d
fix(server): match Hono wire format for authorize undefined and share errors (#26474) 2026-05-09 00:30:00 -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
8cbc43fbb0
fix(server): include auth challenge on typed 401 (#26455) 2026-05-09 00:15:20 -04:00
Kit Langton
96bde05f6e
docs(server): explain why HTTP API PTY handler has no early-frame buffer (#26464) 2026-05-08 23:58:33 -04:00
Kit Langton
3615d5aab1
fix(server): map Account failures to typed 500 instead of defect (#26448) 2026-05-08 23:44:28 -04:00
opencode-agent[bot]
11d9e82eaf chore: generate 2026-05-09 03:42:23 +00:00
Kit Langton
eadda11ec9
refactor(server): use JSON response for OpenAPI doc route (#26447) 2026-05-08 23:41:20 -04:00
Kit Langton
f73a56c223
fix(server): log instance disposal failures from HTTP API lifecycle (#26446) 2026-05-08 23:40:06 -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
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
opencode-agent[bot]
2a487ea990 chore: generate 2026-05-09 02:21:54 +00:00
Kit Langton
9c05d4e2fd
fix(server): serve HttpApi OpenAPI document (#26438) 2026-05-08 22:20:50 -04: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
Kit Langton
8555de8189
Type session not-found errors (#25818) 2026-05-05 21:33:47 -04:00
James Long
12f3d1f505
fix(core): use current workspace with /new; fix warping into local project (#25894) 2026-05-05 16:39:37 -04:00
James Long
22a4a9df8b
feat(core): session warping (#25768) 2026-05-04 21:28:38 -04:00
Aiden Cline
d431a0e4b4
fix: ensure effect server middleware properly parses errors (#25717) 2026-05-04 18:29:00 -04:00
OpeOginni
1251a870cb
fix(opencode): strip transfer-encoding in UI proxy and allow public manifest assets (#25698)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-05-04 09:43:03 -04:00
Kit Langton
7bc26dafae
feat(server): pty websocket auth tickets (#25660) 2026-05-03 22:56:14 -04:00
opencode-agent[bot]
28112fbd12 chore: generate 2026-05-03 18:24:37 +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
opencode-agent[bot]
fb224d8974 chore: generate 2026-05-03 13:21:15 +00:00
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
opencode-agent[bot]
3c9f3c5786 chore: generate 2026-05-03 12:59:40 +00: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]
c444e971b0 chore: generate 2026-05-02 19:27:24 +00:00
HyeokjaeLee
430bde9e9b
fix(instance): restore InstanceBootstrap init parameter for non-Effec… (#25449)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-05-02 15:26:30 -04:00
Kit Langton
f8738c9002
feat(models): effectify ModelsDev as Service (#25434) 2026-05-02 13:59:08 -04:00
Kit Langton
3b9155714d
Delete Instance.dispose and Instance.reload (#25427) 2026-05-02 11:44:16 -04:00
Kit Langton
b09b7d28b8
refactor(instance-store): consolidate dispose helpers (#25424) 2026-05-02 11:21:40 -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
1571933096
Drop ALS fallbacks from containsPath and workspace routing (#25374) 2026-05-02 03:06:22 +00:00
Kit Langton
160928a9a9
Extract InstanceStore.provide helper (#25372) 2026-05-01 22:42:03 -04:00
opencode-agent[bot]
d297c29f22 chore: generate 2026-05-02 02:19:48 +00: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
8c79c58c4d
refactor: rename workspace adapters (#25272) 2026-05-01 07:36:52 -04:00
Kit Langton
8b56d1712f
refactor(session): pass project to list (#25215) 2026-04-30 23:00:59 -04:00
Kit Langton
5ba68a28c0
refactor(httpapi): scope async prompt fiber (#25213) 2026-04-30 22:33:02 -04:00
opencode-agent[bot]
bce4def2db chore: generate 2026-05-01 02:26:56 +00:00
Kit Langton
3544ea0244
refactor(httpapi): drop session prompt bridge (#25210) 2026-04-30 22:25:52 -04:00
Kit Langton
bc805b3001
Pass CORS options to HttpApi backend (#25201) 2026-04-30 21:26:32 -04:00
Kit Langton
5c2e06f353
Document HttpApi route patterns (#25188) 2026-04-30 20:48:14 -04:00
Kit Langton
451650b584
refactor(httpapi): preserve typed errors in session prompt handlers (#25181) 2026-04-30 20:04:00 -04:00
opencode-agent[bot]
1b76bec0e2 chore: generate 2026-05-01 00:03:55 +00:00
Kit Langton
96f4da1e1d
Serve instance events through HttpApiBuilder (#25182) 2026-04-30 20:02:46 -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]
510f01674a chore: generate 2026-04-30 23:29:58 +00:00
Kit Langton
e3134a2a99
refactor(session): align prompt input types with their schemas (#25178) 2026-04-30 19:28:46 -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
Kit Langton
fbcbd24063
Add SyncEvent service (#25158) 2026-04-30 16:45:26 -04:00
Kit Langton
3250b814ce
Fix HttpApi raw route authorization (#25154) 2026-04-30 19:55:20 +00:00
Kit Langton
0e9d9282c6
Refactor workspace service boundaries (#25152) 2026-04-30 15:34:37 -04:00
Kit Langton
f4ce240a2e
Use PTY service directly in HTTP routes (#25138) 2026-04-30 14:24:43 -04:00
Kit Langton
19271fca2d
Use workspace service in HTTP routes (#25139) 2026-04-30 13:57:25 -04:00
Kit Langton
feeebbe7d4
Preserve workspace context in session HTTP routes (#25136) 2026-04-30 13:53:26 -04:00
James Long
53e9cac383
refactor(core): convert control-plane workspace to Effect (#25018) 2026-04-30 11:44:58 -04:00
opencode-agent[bot]
29b1060c67 chore: generate 2026-04-30 15:08:03 +00:00
Kit Langton
dddfcbf0d8
test: port instance HttpApi path/vcs read coverage to Effect 2026-04-30 11:07:00 -04:00
Brendan Allan
3398fd7719
feat(httpapi): add CORS middleware to instance routes (#25074) 2026-04-30 07:06:17 +00:00
Kit Langton
cee9610d26
refactor: use Effect config for HttpApi authorization (#25035) 2026-04-29 22:22:32 -04:00
opencode-agent[bot]
1124ae17b4 chore: generate 2026-04-29 20:52:19 +00:00
Kit Langton
9db5890ce5
Refactor HttpApi workspace routing and proxy boundaries (#25006) 2026-04-29 16:50:54 -04:00
opencode-agent[bot]
df147b65fd chore: generate 2026-04-29 13:36:05 +00:00
Kit Langton
6015084fa2
Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
James Long
9209c04370
feat(core): filter sessions by path and add setting to disable (#24849) 2026-04-28 16:49:13 -04:00
opencode-agent[bot]
366d11e1f8 chore: generate 2026-04-28 20:33:13 +00:00
Kit Langton
58836e75f0
fix(httpapi): wire global and control handlers (#24835) 2026-04-28 16:31:45 -04:00
Kit Langton
2e8d690ab1
fix(httpapi): finish sdk openapi parity (#24827) 2026-04-28 14:24:10 -04:00
Kit Langton
c00058ed7a
fix(httpapi): align request body openapi shape (#24811) 2026-04-28 12:55:37 -04:00
Kit Langton
ea3c6c3481
fix(httpapi): document instance query parameters (#24809) 2026-04-28 11:10:00 -04:00
Kit Langton
7739cc53b4
refactor(httpapi): fork server startup by flag (#24799) 2026-04-28 11:02:35 -04:00
Kit Langton
e57d0c2fee
fix(httpapi): document tui bad request responses
Document legacy 400 bad-request responses on TUI Effect HttpApi payload-validation endpoints and cover them with OpenAPI parity tests.
2026-04-28 09:23:54 -04:00
Kit Langton
2a4f2bf527
fix(httpapi): align sync seq validation
Reject negative and fractional sync sequence values in Effect HttpApi schemas so replay/history validation matches the legacy Hono routes.
2026-04-28 09:22:49 -04:00
Kit Langton
796b652d2b
fix(httpapi): preserve mcp oauth error parity (#24706) 2026-04-27 22:33:21 -04:00
Kit Langton
704eb00de4
chore: bump effect beta (#24705) 2026-04-27 21:58:11 -04:00