Commit Graph

3899 Commits

Author SHA1 Message Date
Dax Raad 6742034b03 core: move cross-spawn-spawner to root and remove unused types
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.

This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
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
opencode-agent[bot] 8c8cbb9451 chore: generate 2026-04-25 18:14:26 +00: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
opencode-agent[bot] 3b6dce1da2 chore: generate 2026-04-25 18:01:35 +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
opencode-agent[bot] 2cf505f2a6 chore: generate 2026-04-25 17:31:57 +00: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 cbf59f63ee feat: add startup debug command (#24310) 2026-04-25 15:08:19 +00:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Dax 22062c7016 refactor: remove lazy cross-spawn runtime (#24305) 2026-04-25 14:46:16 +00:00
opencode-agent[bot] 6eab0d8bbf chore: generate 2026-04-25 14:43:27 +00:00
Kit Langton d853a06cde feat(httpapi): bridge instance read endpoints (#24258) 2026-04-25 10:42:31 -04:00
Dax Raad 56405bf0c5 core: permission config schema now provides full IntelliSense for all tool permission keys
The permission configuration previously used a generic record type that didn't offer editor completions. Updated the schema to explicitly list all tool permission keys (read, edit, glob, grep, list, bash, task, external_directory, lsp, skill, todowrite, question, webfetch, websearch, codesearch, doom_loop) with proper types, enabling autocomplete when editing permission files.
2026-04-25 09:48:09 -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
Luke Parker 77df3d1446 Add Roslyn support for Razor and C# scripts (#24228) 2026-04-25 10:25:57 +10:00
Kit Langton a387be25d4 test(httpapi): cover hono bridge middleware (#24216) 2026-04-24 18:03:51 -04:00
Kit Langton eee3b9b5e0 refactor(ripgrep): migrate result schemas to effect (#24213) 2026-04-24 17:42:52 -04:00
Kyle Altendorf 8fce61658b fix(opencode): clarify git amend condition to require verifying commit landed (#19937)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-04-24 17:42:10 -04:00
Aiden Cline 6490df3481 fix: ensure gpt-5.5 compacts at correct context size when using openai oauth (#24212) 2026-04-24 17:39:06 -04:00
opencode-agent[bot] 70e8074299 chore: generate 2026-04-24 21:13:00 +00:00
Kit Langton c581af8d22 refactor(schema): decode effect schemas directly (#24169) 2026-04-24 17:11:52 -04:00
Kit Langton 34861701c9 Refactor HttpApi auth middleware wiring (#24168) 2026-04-24 17:11:07 -04:00
Sebastian 66831fc9b8 Use OpenTUI theme detection for initial TUI mode, again (#23846) 2026-04-24 17:28:07 +02:00
Aiden Cline c0fe9089e8 fix: ensure assistant messages always have reasoning on them for deepseek (#24180) 2026-04-24 11:10:47 -04:00
07akioni c8a6eeb5fd fix: use existingModel as fallback for interleaved field (#24172) 2026-04-24 10:41:41 -04:00
opencode-agent[bot] 590ebba0a6 chore: generate 2026-04-24 13:20:23 +00: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
Aiden Cline 84370b1ac2 fix: support max for deepseek (#24163) 2026-04-24 08:48:52 -04:00
黑墨水鱼 28ff344112 fix: preserve empty reasoning_content for DeepSeek V4 thinking mode (#24146)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-04-24 08:42:57 -04:00
Aiden Cline 41262c0ca8 fix: deepseek variants (#24157) 2026-04-24 08:34:48 -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
Aiden Cline 6c03ee2559 chore: update copilot readme to symlink to an agents md to prevent dumbass agents from touching these files (#24057) 2026-04-23 17:08:46 -04:00
opencode-agent[bot] 402657027f chore: generate 2026-04-23 20:50:19 +00:00
Kit Langton 397cfbcd2d refactor(control-plane): migrate workspace DTO schemas (#24056) 2026-04-23 16:48:56 -04:00
opencode-agent[bot] 4366345f55 chore: generate 2026-04-23 20:20:26 +00:00
James Long 79bee2e03a feat(tui): support builtin protocol for handling context from editors (#24034) 2026-04-23 16:19:19 -04:00
opencode-agent[bot] 7a5d5d1161 chore: generate 2026-04-23 20:10:56 +00: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
opencode-agent[bot] fdb22d0577 chore: generate 2026-04-23 19:38:54 +00:00
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Kit Langton 915bf54ebc refactor(schema): use Schema.Int and consolidate PositiveInt/NonNegativeInt (#24029) 2026-04-23 13:22:48 -04:00