Commit graph

508 commits

Author SHA1 Message Date
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
opencode-agent[bot]
bad4599bf9 chore: generate 2026-04-28 01:50:04 +00:00
Kit Langton
892fd85ba7
fix(httpapi): preserve provider oauth authorize parity (#24703) 2026-04-27 21:48:50 -04:00
Kit Langton
faca24d487
fix(httpapi): align session boolean query parsing (#24693) 2026-04-27 20:53:27 -04:00
Kit Langton
c4a2353ac3
fix(session): omit undefined optional fields (#24676) 2026-04-27 17:50:09 -04:00
Kit Langton
576efed196
fix(httpapi): preserve optional session fields (#24671) 2026-04-27 21:38:28 +00:00
opencode-agent[bot]
dfc0075f90 chore: generate 2026-04-27 20:52:42 +00:00
Kit Langton
acd15dcc8a
test(httpapi): cover full OpenAPI route inventory (#24667) 2026-04-27 16:51:24 -04:00
Kit Langton
51fc10e407
fix(httpapi): enforce instance route parity (#24660) 2026-04-27 16:07:31 -04:00
opencode-agent[bot]
ccb7669736 chore: generate 2026-04-27 18:34:44 +00:00
Dax
f25f1485d5
refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Kit Langton
55ecb06748
fix(httpapi): accept empty session create body (#24640) 2026-04-27 17:17:11 +00:00
Kit Langton
dc6991e5a8
fix(httpapi): mount workspace bridge routes (#24626) 2026-04-27 12:52:48 -04:00
Kit Langton
418a1cf5f3
feat(httpapi): bridge tui routes (#24548) 2026-04-27 01:17:48 +00:00
Kit Langton
216dd363e8
feat(httpapi): bridge pty routes (#24547) 2026-04-26 21:05:16 -04:00
Luke Parker
141f33d24b
feat: configurable shell selection + desktop settings UI (#20602) 2026-04-27 00:54:55 +00:00
Kit Langton
58244eb687
feat(httpapi): bridge event stream (#24518) 2026-04-26 19:55:13 -04:00
Dax Raad
e9071b0a80 tui: remove excessive debug logging from workspace creation flow to reduce terminal output noise 2026-04-26 19:33:40 -04:00
opencode-agent[bot]
41f5e8a861 chore: generate 2026-04-26 16:25:19 +00:00
Kit Langton
c5b67927af
feat(httpapi): bridge remaining session routes (#24510) 2026-04-26 12:24:19 -04:00
opencode-agent[bot]
301ecb185e chore: generate 2026-04-26 16:01:07 +00:00
Kit Langton
151df05eeb
feat(httpapi): bridge session message mutations (#24487) 2026-04-26 12:00:02 -04:00
opencode-agent[bot]
55adcdfd07 chore: generate 2026-04-26 15:51:31 +00:00
Kit Langton
daaa2e5911
feat(httpapi): bridge session lifecycle routes (#24486) 2026-04-26 11:50:26 -04:00
Kit Langton
e0d1ff42c0
feat(httpapi): bridge session read routes (#24485) 2026-04-26 11:49:11 -04:00
opencode-agent[bot]
de413c56ae chore: generate 2026-04-26 15:32:42 +00:00
Kit Langton
da61b0290a
feat(httpapi): bridge sync routes (#24484) 2026-04-26 11:31:46 -04:00
opencode-agent[bot]
854d4b7a53 chore: generate 2026-04-26 15:13:18 +00:00
Kit Langton
aa5999b188
feat(httpapi): bridge workspace mutations (#24483) 2026-04-26 11:12:04 -04:00
Kit Langton
6daa2b9aeb
feat(httpapi): bridge experimental session list (#24478) 2026-04-26 10:47:24 -04:00
Kit Langton
7cab6824d1
feat(httpapi): bridge experimental tool routes (#24407) 2026-04-25 21:54:58 -04:00
opencode-agent[bot]
f77277a69e chore: generate 2026-04-25 23:28:25 +00:00
Kit Langton
450128f9be
feat(httpapi): bridge mcp oauth endpoints (#24405) 2026-04-25 19:27:11 -04:00
Kit Langton
a14c22d4e9
feat(httpapi): bridge mcp control endpoints (#24403) 2026-04-25 19:16:19 -04:00
Kit Langton
58c65874ba
feat(httpapi): bridge project update endpoint (#24398) 2026-04-25 18:55:49 -04:00
opencode-agent[bot]
27b0877714 chore: generate 2026-04-25 22:43:13 +00:00
Kit Langton
5904f599a9
feat(httpapi): bridge project git init endpoint (#24394) 2026-04-25 18:42:02 -04:00
Kit Langton
df9e1d9854
feat(httpapi): bridge config update endpoint (#24387) 2026-04-25 17:52:34 -04:00
Kit Langton
a369130226
feat(httpapi): bridge worktree mutations (#24371) 2026-04-25 15:35:15 -04:00
Kit Langton
b4f4134e81
feat(httpapi): bridge instance dispose endpoint (#24368) 2026-04-25 15:24:07 -04:00
Kit Langton
b749866f0b
feat(httpapi): bridge worktree read endpoint (#24366) 2026-04-25 14:55:29 -04:00
Kit Langton
95d4bb2130
feat(httpapi): bridge experimental read endpoints (#24365) 2026-04-25 14:46:06 -04:00
opencode-agent[bot]
ff4b60e1f3 chore: generate 2026-04-25 18:14:26 +00:00
Kit Langton
05661c60ff
feat(httpapi): bridge file search endpoints (#24356) 2026-04-25 14:12:54 -04:00
Kit Langton
eb0219988b
feat(httpapi): bridge catalog read endpoints (#24353) 2026-04-25 14:00:30 -04:00
Dax Raad
705f792e87 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax Raad
1a734adb4d 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
Dax
62ef2a2207
refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
opencode-agent[bot]
5b0e828c10 chore: generate 2026-04-25 14:43:27 +00:00
Kit Langton
d5bfaef53d
feat(httpapi): bridge instance read endpoints (#24258) 2026-04-25 10:42:31 -04:00
Kit Langton
97eb9fdee8
test(httpapi): cover hono bridge middleware (#24216) 2026-04-24 18:03:51 -04:00
Kit Langton
5a04de231e
refactor(ripgrep): migrate result schemas to effect (#24213) 2026-04-24 17:42:52 -04:00
opencode-agent[bot]
7a02eee0f4 chore: generate 2026-04-24 21:13:00 +00:00
Kit Langton
cf45a8d807
refactor(schema): decode effect schemas directly (#24169) 2026-04-24 17:11:52 -04:00
Kit Langton
435becbea0
Refactor HttpApi auth middleware wiring (#24168) 2026-04-24 17:11:07 -04:00
opencode-agent[bot]
d89bfc32ac chore: generate 2026-04-24 13:20:23 +00:00
Kit Langton
011c23761b
feat(httpapi): bridge mcp status endpoint (#24100) 2026-04-24 09:18:57 -04:00
Kit Langton
9f7ecd65e5
feat(httpapi): bridge file read endpoints (#24098) 2026-04-24 09:12:05 -04:00
Kit Langton
e50a688ca3
feat(httpapi): bridge workspace read endpoints (#24062) 2026-04-23 17:32:02 -04:00
opencode-agent[bot]
a771859362 chore: generate 2026-04-23 20:50:19 +00:00
Kit Langton
31d01d404a
refactor(control-plane): migrate workspace DTO schemas (#24056) 2026-04-23 16:48:56 -04:00
Kit Langton
3910a6e527
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema (#23244) 2026-04-23 16:09:34 -04:00
opencode-agent[bot]
24892559ae chore: generate 2026-04-23 19:38:54 +00:00
Kit Langton
cd93533b1f
refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Kit Langton
c50d65b4d6
refactor(sync): make session events schema-first (#24019) 2026-04-23 12:43:08 -04:00
Kit Langton
0517ab4695
refactor(session): migrate session domain to Effect Schema (#24005) 2026-04-23 11:30:02 -04:00
Kit Langton
e89543811c
refactor(core): migrate MessageV2 message DTOs (User/Assistant/Part/Info/WithParts) to Effect Schema (#23757) 2026-04-21 23:26:12 -04:00
opencode-agent[bot]
1a76799fd8 chore: generate 2026-04-22 03:18:25 +00:00
Kit Langton
fa623964a2
refactor(core): migrate MessageV2 part leaves + ToolPart to Effect Schema (#23756) 2026-04-21 23:17:23 -04:00
Kit Langton
0bcf734a67
migrate Snapshot schemas to Effect Schema (#23747) 2026-04-21 17:37:27 -04:00
Kit Langton
7933657135
migrate LSP data schemas to Effect Schema (#23745) 2026-04-21 17:26:50 -04:00
Kit Langton
ecc06a3d8f
refactor(core): make Config.Info canonical Effect Schema (#23716) 2026-04-21 14:06:47 -04:00
Kit Langton
96a534d8c6
feat(core): bridge GET /config through experimental HttpApi (#23712) 2026-04-21 16:05:23 +00:00
Kit Langton
eafbe5c57c refactor(server): align route-span attrs with OTel semantic conventions (#23198) 2026-04-18 00:29:26 +00:00
Kit Langton
d5c4c26b4b feat(server): auto-tag route spans with route params (session.id, message.id, …) (#23189) 2026-04-18 00:29:26 +00:00
Kit Langton
999d8651aa
feat(server): wrap remaining route handlers in request spans (#23169) 2026-04-17 16:52:40 -04:00
Kit Langton
b1307d5c2a
refactor(config): migrate skills, formatter, console-state to Effect Schema (#23162) 2026-04-17 20:49:36 +00:00
James Long
47f553f9ba
fix(core): more explicit routing to fix workspace instance issue (#23171) 2026-04-17 16:39:34 -04:00
Kit Langton
11fa257549
refactor(config): migrate mcp schemas to Effect Schema.Class (#23163) 2026-04-17 20:25:49 +00:00
James Long
5621373bc2
fix(core): move instance middleware after control plane routes (#23150) 2026-04-17 15:20:11 -04:00
Dax Raad
2f73e73e9d trace npm fully 2026-04-17 14:08:45 -04:00
James Long
a8c78fc005
fix(core): add historical sync on workspace connect (#23121) 2026-04-17 13:30:09 -04:00
James Long
7605acff65
refactor(core): move server routes around to clarify workspacing (#23031) 2026-04-17 02:06:20 -04:00
Kit Langton
9ee89f7868
refactor: move project read routes onto HttpApi (#23003) 2026-04-17 03:48:12 +00:00
Kit Langton
ee7339f2c6
refactor: move provider and config provider routes onto HttpApi (#23004) 2026-04-16 23:10:45 -04:00
Kit Langton
c026e25088
refactor: eliminate account/ barrel, route consumers to sibling files (#22995) 2026-04-17 01:55:50 +00:00
Kit Langton
5022895e2b
refactor: unwrap ExperimentalHttpApiServer namespace + self-reexport (#22979) 2026-04-17 01:01:24 +00:00
opencode-agent[bot]
f9aa3d77cd chore: generate 2026-04-16 23:53:10 +00:00
Kit Langton
c03fa36257
refactor: unwrap Server namespace + self-reexport (#22970) 2026-04-16 23:51:01 +00:00
Kit Langton
1089fa0415
refactor: unwrap ServerProxy namespace + self-reexport (#22969) 2026-04-16 23:50:32 +00:00
Kit Langton
218eca7c2b
refactor: unwrap MDNS namespace + self-reexport (#22968) 2026-04-16 23:50:11 +00:00
James Long
a8d8a35cd3
feat(core): pass auth data to workspace (#22897) 2026-04-16 16:30:11 -04:00
Kit Langton
1c33b866ba
fix: remove 10 more unnecessary as any casts in opencode core (#22882) 2026-04-16 20:11:05 +00:00