Commit Graph

804 Commits

Author SHA1 Message Date
Dax Raad 7b2fbf2c2f core: move cross-spawn-spawner from opencode to core package
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.

Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04:00
Kit Langton 833607754c feat(httpapi): bridge file search endpoints (#24356) 2026-04-25 14:12:54 -04:00
Kit Langton 07077992cf feat(tui): read Zed editor context from state db (#24352) 2026-04-25 18:10:58 +00:00
Kit Langton 503f761d5c feat(httpapi): bridge catalog read endpoints (#24353) 2026-04-25 14:00:30 -04:00
Dax Raad 9031b8f108 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 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 f666835f3c fix(config): preserve permission order with Effect decode (#24308) 2026-04-25 13:30:12 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton d853a06cde feat(httpapi): bridge instance read endpoints (#24258) 2026-04-25 10:42:31 -04:00
Dax fc6904b9a3 fix permission config order (#24222) 2026-04-25 13:18:42 +00:00
Simon Klee 0c1e34cbb2 tool/lsp: include request details in permission metadata (#24139) 2026-04-25 14:21:35 +02:00
Kit Langton db92c3ef90 Fix shell cwd after login startup (#24215) 2026-04-25 01:14:52 -04:00
opencode-agent[bot] 4d12ef18a3 chore: generate 2026-04-24 22:05:23 +00:00
Kit Langton a387be25d4 test(httpapi): cover hono bridge middleware (#24216) 2026-04-24 18:03:51 -04:00
Kit Langton 9e83b30f15 feat(httpapi): bridge mcp status endpoint (#24100) 2026-04-24 09:18:57 -04:00
Kit Langton cbb6ed437f feat(httpapi): bridge file read endpoints (#24098) 2026-04-24 09:12:05 -04:00
rahul 815337d88c feat(truncate): allow configuring tool output truncation limits (#23770)
Co-authored-by: rgs_ramp <rgs@ramp.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-23 17:43:33 -04:00
Kit Langton 2c47dc78f9 feat(httpapi): bridge workspace read endpoints (#24062) 2026-04-23 17:32:02 -04:00
Aiden Cline 684079f261 fix: account for additional openai retry case (#24063) 2026-04-23 17:31:43 -04:00
Kit Langton 9d583dc856 refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema (#23244) 2026-04-23 16:09:34 -04:00
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Kit Langton baa1493582 refactor(sync): make session events schema-first (#24019) 2026-04-23 12:43:08 -04:00
opencode-agent[bot] 2c1345ab4d chore: generate 2026-04-23 16:00:01 +00:00
Shoubhit Dash 95e63b689a fix(npm): respect npmrc for version lookups (#24016) 2026-04-23 21:28:54 +05:30
Kit Langton 13bb84f5e3 refactor(session): migrate session domain to Effect Schema (#24005) 2026-04-23 11:30:02 -04:00
Shoubhit Dash 104db9427f fix(npm): respect npmrc config (#24001) 2026-04-23 19:54:01 +05:30
Brendan Allan 916b85152a feat(project): add icon_url_override field to projects (#23955) 2026-04-23 18:57:04 +08:00
Luke Parker 9d325b9849 feat: support pull diagnostics in the LSP client (C#, Kotlin, etc) (#23771) 2026-04-23 00:25:40 -04:00
Steven T. Cramer 66a618793c fix(project): use git common dir for bare repo project cache (#19054) 2026-04-23 00:25:39 -04:00
opencode-agent[bot] d0b3528fd5 chore: generate 2026-04-23 00:25:39 -04:00
Shoubhit Dash 45b108c69b fix(session): improve session compaction (#23870) 2026-04-23 00:25:38 -04:00
opencode-agent[bot] 87c17ced36 chore: generate 2026-04-23 00:25:37 -04:00
Luke Parker b27042b94d test: fix cross-spawn stderr race on Windows CI (#23808) 2026-04-23 00:25:37 -04:00
opencode-agent[bot] 8a72283ae7 chore: generate 2026-04-23 00:25:37 -04:00
Luke Parker d9d819b0e0 fix: preserve BOM in text tool round-trips (#23797) 2026-04-23 00:25:36 -04:00
Kit Langton e293737788 refactor(core): migrate MessageV2 message DTOs (User/Assistant/Part/Info/WithParts) to Effect Schema (#23757) 2026-04-21 23:26:12 -04:00
Kit Langton 5ada6e2456 refactor(core): migrate ConfigPermission.Info to Effect Schema canonical (#23740) 2026-04-21 17:33:13 -04:00
Kit Langton 26c9a6da18 refactor(core): migrate MessageV2.Format to Effect Schema (#23744) 2026-04-21 17:30:08 -04:00
Ruben De Smet a61b57c12b feat: add Mistral Small reasoning variant support (issue #19479) (#23735) 2026-04-21 16:45:06 -04:00
Kit Langton b806dd96c6 refactor(core): make Config.Info canonical Effect Schema (#23716) 2026-04-21 14:06:47 -04:00
Kit Langton 5f6b99b45f test(opencode): consolidate session prompt tests into Effect style (#23710) 2026-04-21 15:54:40 +00:00
Aiden Cline 0654240c9e chore: kill unused tool (#23701) 2026-04-21 11:31:20 -04:00
opencode-agent[bot] df13729e0c chore: generate 2026-04-20 06:07:28 +00:00
Aiden Cline 2d908487dd tweak: rename tail_tokens -> preserve_recent_tokens (#23491) 2026-04-20 01:06:29 -05:00
opencode-agent[bot] 4b57854407 chore: generate 2026-04-20 05:15:29 +00:00
Aiden Cline b3cb3a21ce fix: parallel edits sometimes would override each other (#23483) 2026-04-20 00:14:21 -05:00
Dax Raad c901654658 core: fix session compaction test to properly enable prune config option 2026-04-19 19:53:43 -04:00
Dax Raad 8890f79f60 Merge branch 'nxl/improve-compaction-strategy' into dev 2026-04-19 19:38:46 -04:00
Aiden Cline 2408ee6785 test: fix bedrock test (#23351) 2026-04-18 17:46:15 -05:00
Kit Langton 32c3017b00 fix: detect attachment mime from file contents (#23291) 2026-04-18 11:59:08 -04:00