Commit graph

697 commits

Author SHA1 Message Date
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
Dax Raad
33bb847a1d config: refactor 2026-04-16 12:40:24 -04:00
James Long
305460b25f
fix: add a few more tests for sync and session restore (#22837) 2026-04-16 12:15:44 -04:00
Dax
675a46e23e
CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton
6b20838981
feat: unwrap provider namespaces to flat exports + barrel (#22760) 2026-04-16 05:02:50 +00:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel (#22762) 2026-04-16 03:56:54 +00:00
Kit Langton
bd29004831
feat: enable type-aware no-misused-spread rule, fix 8 violations (#22749) 2026-04-16 03:50:50 +00:00
Kit Langton
f24207844f
feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -04:00
Kit Langton
d4cfbd020d
feat: unwrap effect namespaces to flat exports + barrel (#22745) 2026-04-15 23:29:12 -04:00
Kit Langton
581d5208ca
feat: unwrap share namespaces to flat exports + barrel (#22744) 2026-04-15 23:28:46 -04:00
Kit Langton
a427a28fa9
feat: unwrap project namespaces to flat exports + barrel (#22743) 2026-04-15 23:28:46 -04:00
Kit Langton
80f1f1b5b8
feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741) 2026-04-15 23:27:32 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton
b0eae5e12f
feat: bridge permission and provider auth routes behind OPENCODE_EXPERIMENTAL_HTTPAPI (#22736) 2026-04-15 23:02:48 -04:00
Kit Langton
702f741267
feat: enable oxlint suspicious category, fix 24 violations (#22727) 2026-04-16 02:53:10 +00:00
Kit Langton
1508196c0f
feat: bridge question routes from Hono to Effect HttpApi (#22718) 2026-04-15 22:50:22 -04:00
Kit Langton
5eae926846
add experimental provider auth HttpApi slice (#22389) 2026-04-16 02:07:42 +00:00
Kit Langton
cce05c1665
fix: clean up 49 unused variables, catch params, and stale imports (#22695) 2026-04-16 02:01:53 +00:00
Kit Langton
34213d4446
fix: delete 9 dead functions with zero callers (#22697) 2026-04-16 02:01:02 +00:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script (#22690) 2026-04-15 21:44:46 -04:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687) 2026-04-15 21:33:54 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
James Long
074ef032ee
feat(core): add fence to make all methods strongly consistent when syncing (#22679) 2026-04-15 21:04:37 -04:00
Kit Langton
3d6f90cb53
feat: add oxlint with correctness defaults (#22682) 2026-04-15 20:45:19 -04:00
Kit Langton
4dd0d1f67e
refactor(opencode): use AppFileSystem path helpers (#22637) 2026-04-15 19:36:30 -04:00
Kit Langton
6bed7d469d
feat(opencode): improve telemetry tracing and request spans (#22653) 2026-04-15 17:32:56 -04:00
Kit Langton
250e30bc7d
add experimental permission HttpApi slice (#22385) 2026-04-15 21:28:01 +00:00
Dax
be9432a893
shared package (#22626) 2026-04-15 14:26:20 +00:00
James Long
af20191d1c
feat(core): sync routes, refactor proxy, session restore, and more syncing (#22518) 2026-04-15 10:18:48 -04:00
Shoubhit Dash
467e5689ec feat(server): extract question handler factory 2026-04-14 20:55:41 -04:00
Shoubhit Dash
fba752a501 feat(server): extract question httpapi contract 2026-04-14 20:55:39 -04:00
Kit Langton
3cf7c7536b
fix(question): restore flat reply sdk shape (#22487) 2026-04-14 16:57:32 -04:00
Kit Langton
f2525a63c9
add experimental question HttpApi slice (#22357) 2026-04-14 19:43:49 +00:00
Kit Langton
68384613be
refactor(session): remove async facade exports (#22471) 2026-04-14 13:45:13 -04:00
Kit Langton
020c47a055
refactor(project): remove async facade exports (#22387) 2026-04-14 12:49:20 -04:00
Kit Langton
ad265797ab
refactor(share): remove session share async facade exports (#22386) 2026-04-14 12:38:11 -04:00
Kit Langton
36745caa2a
refactor(worktree): remove async facade exports (#22369) 2026-04-13 21:23:15 -04:00
Kit Langton
d199648aeb
refactor(permission): remove async facade exports (#22342) 2026-04-13 19:33:58 -04:00
James Long
b22add292c
refactor(core): publish sync events to global event stream (#22347) 2026-04-13 16:51:59 -04:00
Kit Langton
67aaecacac
refactor(session): remove revert async facade exports (#22339) 2026-04-13 16:16:13 -04:00
Kit Langton
dcbf11f41a
refactor(session): remove summary async facades (#22337) 2026-04-13 15:35:38 -04:00
Kit Langton
14ccff4037
refactor(agent): remove async facade exports (#22341) 2026-04-13 14:54:01 -04:00
Kit Langton
1dc69359d5
refactor(mcp): remove async facade exports (#22324) 2026-04-13 13:45:34 -04:00
James Long
bf50d1c028
feat(core): expose workspace adaptors to plugins (#21927) 2026-04-13 13:33:13 -04:00
Kit Langton
b8801dbd22
refactor(file): remove async facade exports (#22322) 2026-04-13 13:12:02 -04:00
Kit Langton
f7c6943817
refactor(config): remove async facade exports (#22325) 2026-04-13 13:11:05 -04:00
Kit Langton
21d7a85e76
refactor(lsp): remove async facade exports (#22321) 2026-04-13 12:47:52 -04:00
Kit Langton
663e798e76
refactor(provider): remove async facade exports (#22320) 2026-04-13 12:40:00 -04:00
Kit Langton
c22e34853d
refactor(auth): remove async auth facade exports (#22306) 2026-04-13 12:31:43 -04:00
Kit Langton
6825b0bbc7
refactor(pty): remove async facade exports (#22305) 2026-04-13 11:47:05 -04:00
Kit Langton
79cc15335e
fix: dispose e2e app runtime (#22316) 2026-04-13 11:36:56 -04:00
Kit Langton
ca6200121b
refactor: remove vcs async facade exports (#22304) 2026-04-13 11:22:20 -04:00
Kit Langton
7239b38b7f
refactor(skill): remove async facade exports (#22308) 2026-04-13 11:18:10 -04:00
Kit Langton
9ae8dc2d01
refactor: remove ToolRegistry runtime facade (#22307) 2026-04-13 11:09:32 -04:00
Brendan Allan
94f71f59a3
core: make InstanceBootstrap into an effect (#22274)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-04-13 10:16:40 -04:00
Kit Langton
6fdb8ab90d
refactor(file): add ripgrep search service (#22295) 2026-04-13 10:04:32 -04:00
Kit Langton
003010bdb6
refactor(question): destroy Question facade (#22092) 2026-04-11 20:57:01 -04:00
Kit Langton
1a509d62a0
refactor(session): destroy SessionRunState facade (#22064) 2026-04-11 20:01:52 -04:00
Tommy D. Rossi
d62ec7776e
feat: allow session permission updates (#22070) 2026-04-11 17:14:30 -05:00
Dax
ca5f086759
refactor(server): simplify router middleware with next() (#21720) 2026-04-11 16:55:17 -04:00
opencode-agent[bot]
c43591f8a2 chore: generate 2026-04-11 18:18:40 +00:00
Kit Langton
312f10f797
refactor(account): destroy Account facade (#22068) 2026-04-11 14:16:36 -04:00
Kit Langton
5e3dc80999
refactor: collapse command facade (#21981) 2026-04-10 23:52:12 -04:00
Kit Langton
03ce2e5288
refactor(installation): drop facade runtime wrappers (#21984) 2026-04-10 23:26:16 -04:00
Kit Langton
87e23abb10
refactor: remove ProviderAuth facade (#21983) 2026-04-10 23:25:43 -04:00
Kit Langton
f38f415bf0
refactor: collapse Format facade (#21980) 2026-04-10 23:18:54 -04:00
Kit Langton
f99812443c
refactor: destroy SessionStatus facade (#21968) 2026-04-10 22:16:53 -04:00
Kit Langton
a4c686025c
refactor: destroy Todo facade (#21962) 2026-04-10 21:47:28 -04:00
James Long
180ded6a27
rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
James Long
42206da1f8
refactor(tui): switch to global events and start passing workspace param (#21719) 2026-04-10 10:47:27 -04:00
Kit Langton
16c60c9ee7
refactor(session): extract sharing orchestration (#21759) 2026-04-09 21:47:48 -04:00
Kit Langton
b2f621b897
refactor(session): inline init route orchestration (#21754) 2026-04-09 16:28:42 -04:00
Kit Langton
10441efad1
refactor(effect): extract session run state service (#21744) 2026-04-09 16:03:40 -04:00
Dax
bd53b651a3
refactor: fix tool call state handling and clean up imports (#21709) 2026-04-09 11:56:19 -04:00
Brendan Allan
ee23043d64
Remove CLI from electron app (#17803)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-04-09 13:18:46 +08:00
Aiden Cline
039c60170d
fix: ensure that /providers list and shell endpoints are correctly typed in sdk and openapi schema (#21543) 2026-04-08 12:56:15 -05:00
Dax
b7fab49b64
refactor(snapshot): store unified patches in file diffs (#21244)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-04-07 19:48:23 -04:00
Dax
463318486f
core: refactor tool system to remove agent context from initialization (#21052) 2026-04-07 19:48:12 -04:00
James Long
37883a9f3a
refactor(core): add full http proxy and change workspace adaptor interface (#21239) 2026-04-06 23:19:55 -04:00
Dax
535343bf56
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
Kit Langton
c6ebc7ff7c
fix(tui): only show org switch affordances when useful (#21054) 2026-04-04 19:25:37 -04:00
Kit Langton
6ea108a03b
feat(tui): show console-managed providers (#20956) 2026-04-04 19:05:45 -04:00
Shoubhit Dash
35350b1d25
feat: restore git-backed review modes (#20845) 2026-04-03 09:54:57 -05:00
Kit Langton
954a6ca88e
refactor(session): effectify SessionSummary service (#20142) 2026-03-31 19:14:45 -04:00
Kit Langton
2ed756c72c
fix(session): restore busy route handling and add regression coverage (#20125) 2026-03-30 20:30:34 +00:00
Kit Langton
c5442d418d
refactor(session): effectify SessionPrompt service (#19483) 2026-03-30 20:06:51 +00:00
James Long
4b9660b211
refactor(core): move more responsibility to workspace routing (#19455) 2026-03-27 16:33:56 -04:00
James Long
a76be695c7
refactor(core): split out instance and route through workspaces (#19335) 2026-03-27 11:51:21 -04:00
Adam
c7760b433b
fix(app): more startup perf (#19288) 2026-03-26 13:41:22 -05:00
James Long
38450443b1
feat(core): remove workspace server, WorkspaceContext, start work towards better routing (#19316) 2026-03-26 12:30:26 -04:00
Dax
ec20efc11a
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
1b028d0632
revert: roll back git-backed review modes (#19295) 2026-03-26 10:14:57 -04:00
Shoubhit Dash
73e107250d
feat: restore git-backed review modes with effectful git service (#18900) 2026-03-25 21:09:53 +05:30
James Long
b0017bf1b9
feat(core): initial implementation of syncing (#17814) 2026-03-25 10:47:40 -04:00
Adam
1041ae91d1
Reapply "fix(app): startup efficiency"
This reverts commit 898456a25c.
2026-03-25 06:25:57 -05:00
Adam
898456a25c
Revert "fix(app): startup efficiency" 2026-03-25 06:25:05 -05:00
Adam
53d0b58ebf
fix(app): hash inline script for csp 2026-03-25 05:59:06 -05:00
Kit Langton
4647aa80ac
effectify Worktree service (#18679) 2026-03-24 20:26:21 -04:00
Kit Langton
539b01f20f
effectify Project service (#18808) 2026-03-24 14:04:22 -04:00
Ryan Skidmore
814a515a8a
fix: improve plugin system robustness — agent/command resolution, async errors, hook timing, two-phase init (#18280)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-03-24 12:50:55 -05:00
Dax
e2d03ce38c
feat: interactive update flow for non-patch releases (#18662) 2026-03-22 23:12:40 +00:00
Kit Langton
13bac9c91a
effectify Pty service (#18572) 2026-03-22 01:17:13 +00:00
Kit Langton
10a3d6c54e
effectify SessionStatus service (#18565) 2026-03-21 23:55:07 +00:00
Kit Langton
38e0dc9ccd
Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
Kit Langton
214a6c6cf1
fix: switch consumers to service imports to break bundle cycles (#18438) 2026-03-20 20:55:46 +00:00
Vladimir Glafirov
05d3e65f76
feat: enable GitLab Agent Platform with workflow model discovery (#18014) 2026-03-20 12:55:22 -05:00
Dax
1071aca91f
fix: miscellaneous small fixes (#18328) 2026-03-19 22:20:29 -04:00
James Long
0540751897
fix(core): use a queue to process events in event routes (#18259) 2026-03-19 13:51:14 -04:00
Aiden Cline
aeece6166b
ignore: revert 3 commits that broke dev branch (#18260) 2026-03-19 11:15:07 -05:00
Shoubhit Dash
e6f5214779
feat: add git-backed session review modes (#17961) 2026-03-19 19:29:29 +05:30
Kit Langton
a800583aea
refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
Aiden Cline
171e69c2fc
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
5dfe86dcb1
refactor(truncation): effectify TruncateService, delete Scheduler (#17957) 2026-03-17 21:59:54 -04:00
Kit Langton
e5cbecf17c
fix+refactor(vcs): fix HEAD filter bug and effectify VcsService (#17829) 2026-03-16 13:59:11 -04:00
Shoubhit Dash
9457493696
perf(server): paginate session history (#17134) 2026-03-13 15:48:43 +05:30
Kit Langton
1cb7df7159
refactor(provider): flow branded ProviderID/ModelID through internal signatures (#17182) 2026-03-12 14:48:17 +00:00
Kit Langton
c45467964c
feat(id): brand ProviderID and ModelID (#17110) 2026-03-12 09:27:52 -04:00
Kit Langton
2a4dedc210
feat(id): brand PermissionID, PtyID, QuestionID, and ToolID (#17042) 2026-03-12 01:49:57 +00:00
Kit Langton
090f636354
feat(id): brand PartID through Drizzle and Zod schemas (#16966) 2026-03-11 23:40:50 +00:00
Kit Langton
16a6d6feba
feat(id): brand WorkspaceID through Drizzle and Zod schemas (#16964) 2026-03-11 23:30:17 +00:00
Kit Langton
cb67465675
feat(id): brand SessionID through Drizzle and Zod schemas (#16953) 2026-03-11 23:16:56 +00:00
Dax Raad
604ab1bde1 core: restore plugin serverUrl getter so plugins can connect to local server 2026-03-11 17:41:51 -04:00
Kit Langton
dbc00aa8e0
feat(id): brand ProjectID through Drizzle and Zod schemas (#16948) 2026-03-11 16:44:26 -04:00
Dax Raad
89d6f60d25 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
Luke Parker
8a95be492d
fix(windows): git path resolution for modified files across Git Bash, MSYS2, and Cygwin (#16422) 2026-03-07 15:42:14 +10:00
Shoubhit Dash
d6e0f47361
feat: add project git init api (#16383) 2026-03-06 13:39:50 -06:00
James Long
7f37acdaaa
feat(core): rework workspace integration and adaptor interface (#15895) 2026-03-03 21:35:38 -05:00
James Long
cec16dfe95
feat(core): add WorkspaceContext (#15409) 2026-02-28 20:44:54 -05:00
James Long
c12ce2ffff
feat(core): basic implementation of remote workspace support (#15120) 2026-02-27 15:36:39 -05:00
Shantur Rathore
79b5ce58e9
feat(core): add message delete endpoint (#14417) 2026-02-25 09:25:26 -05:00
adamelmore
9f4fc5b72a
Revert "fix(app): terminal issues"
This reverts commit e70d2b27de.
2026-02-22 21:27:25 -06:00
Adam
e70d2b27de
fix(app): terminal issues 2026-02-22 06:17:59 -06:00
Ryan Vogel
7419ebc872
feat: add list sessions for all sessions (experimental) (#14038) 2026-02-20 08:45:12 -05:00
Adam
d07f09925f
fix(app): terminal rework (#14217) 2026-02-19 06:35:14 -06:00
Adam
de25703e9d
fix(app): terminal cross-talk (#14184) 2026-02-18 13:56:05 -06:00
Shoubhit Dash
3dfbb70593
fix(app): recover state after sse reconnect and harden sse streams (#13973) 2026-02-17 07:10:39 -06:00
Dax Raad
68bb8ce1da core: filter sessions at database level to improve session list loading performance 2026-02-14 13:41:15 -05:00
Dax
6d95f0d14c
sqlite again (#10597)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
2026-02-14 04:19:02 +00:00
Adam
548608b7ad
fix(app): terminal pty isolation 2026-02-12 15:15:34 -06:00
Adam
fc37337a3e
fix(app): memory leak with platform fetch for events 2026-02-10 13:18:33 -06:00
Adam
3929f0b5bd
fix(app): terminal replay (#12991) 2026-02-10 10:15:19 -06:00
Goni Zahavy
def907ae4b
fix(opencode): SessionPrompt.shell() now triggers loop if messages are queued (#10987) 2026-02-06 16:13:11 -06:00
Luiz Guilherme D'Abruzzo Pereira
a9fca05d8b
feat(server): add --mdns-domain flag to customize mDNS hostname (#11796) 2026-02-02 14:52:32 -06:00
Desmond Sow
eace76e525
fix: opencode hanging when using client.app.log() during initialization (#11642) 2026-02-01 13:14:34 -06:00
tan
427ef95f7d
fix(opencode): allow media-src data: URL for small audio files (#11082) 2026-01-28 21:21:49 -06:00
adamelmore
65e1186efe
wip(app): global config 2026-01-28 07:28:03 -06:00
adamelmore
2f35c40bb5
chore(app): global config changes 2026-01-28 07:28:02 -06:00
adamelmore
03d884797c wip(app): provider settings 2026-01-25 20:40:00 -06:00
Adam
16fad51b5e feat(app): add workspace startup script to projects 2026-01-22 07:42:56 -06:00
Halil Tezcan KARABULUT
87d91c29e2
fix(app): terminal improvements - focus, rename, error state, CSP (#9700) 2026-01-21 06:49:46 -06:00
GitHub Action
dac73572e0 chore: generate 2026-01-21 02:39:31 +00:00
Ariane Emory
cbe20d22d3
fix: don't update session timestamp for metadata-only changes (resolves #9494) (#9495) 2026-01-20 20:38:54 -06:00
Adam
924fc9ed80 wip(app): settings 2026-01-20 07:33:44 -06:00
Adam
093a3e7876 feat(app): reset worktree 2026-01-19 07:35:52 -06:00
Adam
f26de6c52f feat(app): delete workspace 2026-01-19 07:35:52 -06:00
Aiden Cline
b7ad6bd839
feat: apply_patch tool for openai models (#9127) 2026-01-18 00:35:09 -06:00
Nathan Flurry
bfb8c531c2
feat: bind vim-style line-by-line scrolling (#8980)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-17 21:54:26 -06:00
Javier Aceña
7030f49a74
fix: mdns discover hostname (#9039) 2026-01-17 05:47:19 -06:00
Akshar Patel
c25155586c
fix: open help dialog with tui/open-help route (#8596) 2026-01-16 16:42:27 -06:00
GitHub Action
6e028ec2dc chore: generate 2026-01-16 21:21:54 +00:00
Aiden Cline
8e0ddd1ac9
chore: cleanup server routes (#8965)
Co-authored-by: Leka74 <leke.dobruna@gmail.com>
Co-authored-by: Leka74 <791494+Leka74@users.noreply.github.com>
2026-01-16 15:21:13 -06:00
Shane Bishop
077ca4454f
fix(desktop): "load more" button behavior in desktop sidebar (#8430) 2026-01-14 07:36:08 -06:00
Dax Raad
f0912ee838 core: rename OPENCODE_PASSWORD to OPENCODE_SERVER_PASSWORD for clearer authentication configuration 2026-01-12 15:59:17 -05:00
Dax Raad
7ca767de55 core: fix HTTP exception handling order to prevent NamedError from masking HTTP exceptions
docs: add OPENCODE_PASSWORD environment variable documentation for basic auth
2026-01-12 15:43:48 -05:00
Dax Raad
1954c1255e core: add password authentication and improve server security
- Add OPENCODE_PASSWORD flag for basic auth protection
- Show security warnings when password is not set
- Remove deprecated spawn command
- Improve error handling with HTTPException responses
2026-01-12 15:23:19 -05:00
Aiden Cline
172bbdaced
feat: codex auth support (#7537) 2026-01-09 17:47:37 -06:00
Dax
982b71e861
disable server unless explicitly opted in (#7529) 2026-01-09 16:33:46 -05:00
Dax
22dd70b75b
feat(question): support multi-select questions (#7386) 2026-01-08 17:32:21 -05:00
Dax
e37fd9c105
core: add interactive question tool for gathering user preferences and clarifying instructions (#7268) 2026-01-07 22:29:42 -05:00
jwaterwater
2d52a461a0
fix: encode non-ASCII directory paths in HTTP headers (#7145)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-07 06:46:17 -06:00
Dax Raad
7304ba616e tui: add session search functionality with debounced input and server-side filtering 2026-01-04 13:38:30 -05:00
Paolo Ricciuti
21dc3c24d9
feat: mcp resources (#6542) 2026-01-04 09:12:54 -06:00
Dax Raad
81e8d29ad2 oops 2026-01-03 19:25:59 -05:00
Dax Raad
47c670aea9 tui: add reject message support to permission dialogs for better user feedback 2026-01-03 01:34:23 -05:00
Adam
052de3c556
feat: add managed git worktrees (#6674) 2026-01-02 20:17:02 -06:00
Dax Raad
4956ee3ebd tui: add escape key handling to permission dialogs for better keyboard navigation 2026-01-02 18:48:26 -05:00
YeonGyu-Kim
a3f38e0533
feat(plugin): add tui.session.select API endpoint for TUI navigation (#6565)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-02 16:57:21 -06:00
Dax Raad
4f1ef93910 ignore 2026-01-01 20:42:06 -05:00
Dax
351ddeed91
Permission rework (#6319)
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-01-01 17:54:11 -05:00
Tom
dc8586371c
fix(server): add Content-Type headers for proxied static assets (#6587) 2026-01-01 11:35:04 -06:00
Adam
50ef866a02
fix(core): mdns fails if service already registered 2025-12-31 07:33:49 -06:00
Adam
b1a6333d17
feat(core): configurable cors hosts 2025-12-31 03:50:29 -06:00
Adam
a02fefe9dc
fix(core): cors exception for tauri 2025-12-30 14:14:44 -06:00
Dax Raad
8cd8393339 core: allow CORS requests from tauri://localhost 2025-12-30 13:58:41 -05:00
Dax Raad
7d2d87fa2c core: allow CORS requests from *.opencode.ai subdomains 2025-12-30 13:04:18 -05:00
Adam
a576fdb5e4
feat(web): open projects 2025-12-30 04:57:37 -06:00
Jkker
ddc4e34731
fix(mdns): use named import for bonjour-service (resolves #6422) (#6423) 2025-12-29 23:29:34 -06:00
Eduardo Santos de Brito
4657fa823f
feat(plugin): expose server URL to plugins (#6373) 2025-12-29 21:05:08 -06:00
Adam
21eba5f987
feat(desktop): permissions 2025-12-27 14:43:42 -06:00
Christopher Ochsenreither
bfb9787361
fix: compact command after revert now properly cleans up revert state (#6235) 2025-12-26 22:57:59 -06:00
Adam
b2f45d574f
Reapply "feat(core): optional mdns service (#6192)"
This reverts commit 505068d5a6.
2025-12-26 14:47:53 -06:00
Aiden Cline
505068d5a6 Revert "feat(core): optional mdns service (#6192)"
This reverts commit 26e7043718.
2025-12-26 11:43:52 -06:00
Adam
26e7043718
feat(core): optional mdns service (#6192)
Co-authored-by: Github Action <action@github.com>
2025-12-26 10:29:48 -06:00
Adam
794fe8f381
chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
Adam
680a63e3de
fix(desktop): better error messages on connection failure 2025-12-22 19:16:54 -06:00
Adam
2c16b9fa61
Revert "server: ensure frontend has correct port for PTY websocket connections (#5898)"
This reverts commit a05915ddc8.
2025-12-22 06:05:46 -06:00
Adam
240ad31edd
Revert "fix: server"
This reverts commit dbaac79039.
2025-12-22 06:05:46 -06:00
Adam
dbaac79039
fix: server 2025-12-22 06:02:16 -06:00
Ashutosh Kumar
a05915ddc8
server: ensure frontend has correct port for PTY websocket connections (#5898) 2025-12-22 05:56:23 -06:00
YeonGyu-Kim
b906f2de88
feat(server): expose auto param in session.summarize for plugins (#5924) 2025-12-21 21:05:30 -06:00
Dax Raad
2536e9f45b tui: fix SDK context usage and server port fallback
- Update SDK context to return client instead of event for proper usage
- Add server port fallback to 4096 when port 0 is specified but unavailable
- Fix SDK event listener usage in TUI app
2025-12-21 14:57:55 -05:00
Matt Silverlock
8f6c8844d7 feat: support configuring a default_agent across all API/user surfaces (#5843)
Co-authored-by: observerw <observerw@users.noreply.github.com>
2025-12-20 11:49:23 -06:00
Tommy D. Rossi
a7a2bbb497 feat: add endpoints to delete and update message parts (#5433) 2025-12-20 15:00:41 +00:00
shuv
83843a794f
fix: handle empty directory query parameter in server middleware (#5732) 2025-12-18 03:27:50 -06:00
Aiden Cline
16e6941495 fix: remove needless tui event publish on session delete 2025-12-17 11:29:55 -06:00
Dax Raad
4e2d1acf7d core: fix Tauri desktop app SSE connection timeout
- Add heartbeat events to /global/event and /event SSE endpoints
- Send server.heartbeat event every 30s to prevent WKWebView 60s timeout
- Fixes desktop app disconnecting from global events after 1 minute
2025-12-16 14:45:03 -05:00
Dax Raad
38c5f23f4a tui: update dialog context and server to use new single dialog system 2025-12-15 19:35:19 -05:00
Dax Raad
d5a506d4ae core: fix server response handling to prevent connection timeouts 2025-12-15 15:07:20 -05:00
Sachnun
237c0253c2
fix(server): make time field optional in session update validator (#5372) 2025-12-11 20:06:15 -06:00
Dax Raad
13a77005f1 global.dispose 2025-12-10 22:22:16 -05:00
Dax Raad
936a6be5d6 stuff adam needs 2025-12-10 15:59:42 -05:00
Dax Raad
388156704a fix /provider endpoint to return loaded providers 2025-12-10 13:49:45 -05:00