Commit Graph

257 Commits

Author SHA1 Message Date
Dax Raad c4e753d0a4 more typecheck fixes 2026-05-14 22:05:12 -04:00
Dax Raad b54c480e59 fix missing event types in sdk 2026-05-14 21:57:25 -04:00
Kit Langton 6bfcc657f9 refactor(server): simplify listener lifecycle (#27413) 2026-05-15 00:00:52 +00:00
Kit Langton c645e13e2a research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
Luke Parker 7b899f2b2c fix(server): apply cors before legacy auth (#26092) 2026-05-07 08:55:09 +10:00
Kit Langton 9d84ce2a72 fix(server): provide fresh ConfigProvider per HttpApi listener (#25726) 2026-05-04 13:06:29 -04:00
Kit Langton e6cba0230d feat(server): pty websocket auth tickets (#25660) 2026-05-03 22:56:14 -04:00
opencode-agent[bot] d20a342377 chore: generate 2026-05-03 18:24:37 +00:00
Kit Langton f5299a9f71 fix(server): support desktop PTY websockets with HttpApi (#25598) 2026-05-03 18:23:29 +00:00
Kit Langton 89afa1d319 feat(server): Server.openapi() backed by HttpApi spec, parity-checked against Hono output (#25545) 2026-05-03 09:06:23 -04:00
opencode-agent[bot] ffca795864 chore: generate 2026-05-01 01:28:37 +00:00
Kit Langton 3306e7388f Pass CORS options to HttpApi backend (#25201) 2026-04-30 21:26:32 -04:00
opencode-agent[bot] a6bb6f1fc1 chore: generate 2026-04-29 13:36:05 +00:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
Kit Langton 78e54a5331 refactor(httpapi): fork server startup by flag (#24799) 2026-04-28 11:02:35 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Kit Langton 98b9a4da0b feat(httpapi): bridge workspace mutations (#24483) 2026-04-26 11:12:04 -04:00
Dax Raad 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Kit Langton 2c47dc78f9 feat(httpapi): bridge workspace read endpoints (#24062) 2026-04-23 17:32:02 -04:00
James Long da74142b42 fix(core): more explicit routing to fix workspace instance issue (#23171) 2026-04-17 16:39:34 -04:00
James Long 24fc5d4339 fix(core): move instance middleware after control plane routes (#23150) 2026-04-17 15:20:11 -04:00
James Long cfc87d84a6 refactor(core): move server routes around to clarify workspacing (#23031) 2026-04-17 02:06:20 -04:00
Kit Langton 4f0ccadab7 refactor: unwrap Server namespace + self-reexport (#22970) 2026-04-16 23:51:01 +00:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
James Long 8b6f750171 feat(core): add fence to make all methods strongly consistent when syncing (#22679) 2026-04-15 21:04:37 -04:00
Dax c5f3cc0c9d refactor(server): simplify router middleware with next() (#21720) 2026-04-11 16:55:17 -04:00
Brendan Allan 30d17b3b82 Remove CLI from electron app (#17803)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-04-09 13:18:46 +08:00
Dax 3da76ef72e refactor(server): replace Bun serve with Hono node adapters (#18335)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-04-06 13:24:55 -04:00
James Long 0bc4e367c9 refactor(core): move more responsibility to workspace routing (#19455) 2026-03-27 16:33:56 -04:00
James Long 87933189d2 refactor(core): split out instance and route through workspaces (#19335) 2026-03-27 11:51:21 -04:00
Adam 6edeb30bc7 fix(app): more startup perf (#19288) 2026-03-26 13:41:22 -05:00
James Long e2706b7d41 feat(core): remove workspace server, WorkspaceContext, start work towards better routing (#19316) 2026-03-26 12:30:26 -04:00
Dax 8780f12bee feat: embed WebUI in binary with proxy flags (#19299)
Co-authored-by: BlankParticle <blankparticle@gmail.com>
2026-03-26 14:43:56 +00:00
Shoubhit Dash b8222bf1fb revert: roll back git-backed review modes (#19295) 2026-03-26 10:14:57 -04:00
Shoubhit Dash 973ad436e1 feat: restore git-backed review modes with effectful git service (#18900) 2026-03-25 21:09:53 +05:30
James Long 87d41cd5ac feat(core): initial implementation of syncing (#17814) 2026-03-25 10:47:40 -04:00
Adam 870a2f8773 Reapply "fix(app): startup efficiency"
This reverts commit 24f93b627b.
2026-03-25 06:25:57 -05:00
Adam 24f93b627b Revert "fix(app): startup efficiency" 2026-03-25 06:25:05 -05:00
Adam 7957a49217 fix(app): hash inline script for csp 2026-03-25 05:59:06 -05:00
Kit Langton b6aa472839 Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
James Long 32a14ba2ea fix(core): use a queue to process events in event routes (#18259) 2026-03-19 13:51:14 -04:00
Aiden Cline d210d67f1e ignore: revert 3 commits that broke dev branch (#18260) 2026-03-19 11:15:07 -05:00
Shoubhit Dash 1725f7bb2e feat: add git-backed session review modes (#17961) 2026-03-19 19:29:29 +05:30
Kit Langton 05f98c0e42 refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
Aiden Cline 5ece9ea6a1 feat: integrate support for multi step auth flows for providers that require additional questions (#18035) 2026-03-18 11:36:19 -05:00
Kit Langton 9edca88956 fix+refactor(vcs): fix HEAD filter bug and effectify VcsService (#17829) 2026-03-16 13:59:11 -04:00
Kit Langton 36aee4908f feat(id): brand ProviderID and ModelID (#17110) 2026-03-12 09:27:52 -04:00
Kit Langton b9eaabe80b feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
Dax Raad 27d07c7e23 core: restore plugin serverUrl getter so plugins can connect to local server 2026-03-11 17:41:51 -04:00
Dax Raad 7e10f80b49 refactor(server): extract createApp function for server initialization
- Replace Server.App() with Server.Default() for internal server access
- Extract server app creation into Server.createApp(opts) for testability
- Move CORS whitelist from module-level variable to function parameter
- Update all tests to use Server.Default() instead of Server.App()
2026-03-09 17:13:52 -04:00