Commit Graph

918 Commits

Author SHA1 Message Date
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton c645e13e2a research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
Aiden Cline 061d4123ff fix: ensure tools are always in same order (#26370) 2026-05-08 10:59:41 -05:00
Aiden Cline e3b9d1ca6a fix: adjust tui retry dialog logic to be more provider specific and error case specific (#26366) 2026-05-08 10:48:19 -05:00
James Long 04c1d3442d feat(core): allow external workspace creation (#26212) 2026-05-08 11:09:12 -04:00
Frank 775164abd3 tui: update go upsell copy 2026-05-08 01:51:33 -04:00
Aiden Cline 64a3e384dc fix: tweaks to transform logic for anthropic and bedrock (#26276) 2026-05-07 23:17:43 -05:00
opencode-agent[bot] b0e4aa07b5 chore: generate 2026-05-07 21:54:31 +00:00
Aiden Cline 0179cc3922 tui: go plan payg msg (#26248) 2026-05-07 16:53:24 -05:00
André Cruz e216b1a38f fix(provider): preserve assistant message content when reasoning blocks present (#21370)
Co-authored-by: Omer Koren <54630488+omer-koren@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-06 18:57:56 -05:00
Kit Langton d524b4f0f7 Type session not-found errors (#25818) 2026-05-05 21:33:47 -04:00
Shoubhit Dash 79fa0b4617 fix(compaction): order compaction summary before retained tail (#25851) 2026-05-05 16:12:37 +05:30
Kit Langton 37352128d6 fix(session): cancel subtask child sessions (#25798) 2026-05-04 22:36:06 -04:00
Dax d3db41c27c Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
Dax 066f65d560 Add v2 session failure events (#25628) 2026-05-03 14:45:48 -04:00
opencode-agent[bot] 2d44193933 chore: generate 2026-05-03 02:10:52 +00:00
Dax cdf3760d79 Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Luke Parker b2ee2c9a97 feat: refactor bash tool with shell-aware prompts for bash, pwsh+powershell, and cmd (#20039) 2026-05-03 09:18:48 +10:00
Kit Langton a27017a3bf fix(telemetry): emit Tool.execute span for MCP and plugin tools (#25452) 2026-05-02 14:49:56 -04:00
Aiden Cline 1b5e6aa372 fix: bedrock reasoning issue (#25303) 2026-05-01 11:15:17 -05:00
Kit Langton 2d62af94a3 fix(session): use finite archived timestamp schema (#25275) 2026-05-01 11:57:03 +00:00
Aiden Cline e1de700e04 fix: fix issue if tool returned image and empty text and it caused api errors (#25241) 2026-05-01 00:13:03 -05:00
opencode-agent[bot] 5a6c32e05b chore: generate 2026-05-01 03:22:36 +00:00
Dax Raad e8138070e9 core: remove @effect/language-service plugin and optimize hot path type performance
- Removed @effect/language-service from both packages/core and packages/opencode tsconfig files and dependencies

- Wrapped mergeDeep calls in config loading and LLM streaming to avoid expensive remeda conditional merge type instantiations in hot paths

- Narrowed Drizzle migrate() overload signature to avoid expensive variance checks during database initialization

These changes reduce TypeScript type-checking overhead and improve startup and runtime performance for config loading, LLM streaming, and database migrations.
2026-04-30 23:21:05 -04:00
opencode-agent[bot] 73b6457ffd chore: generate 2026-05-01 03:02:15 +00:00
Kit Langton 516d5a158c refactor(session): pass project to list (#25215) 2026-04-30 23:00:59 -04:00
Kit Langton ca66215e5c refactor(session): yield instance context in system prompt (#25207) 2026-04-30 21:45:48 -04:00
Kit Langton ec7b84d06c refactor(session): yield instance context in llm (#25200) 2026-04-30 21:29:28 -04:00
Kit Langton 3a7cd2dbee refactor(tool): yield InstanceState context (#25199) 2026-04-30 21:01:06 -04:00
Kit Langton b79d868bbe refactor(session): align prompt input types with their schemas (#25178) 2026-04-30 19:28:46 -04:00
Kit Langton 83175c48a9 Add SyncEvent service (#25158) 2026-04-30 16:45:26 -04:00
Kit Langton 50f540b418 Preserve workspace context in session HTTP routes (#25136) 2026-04-30 13:53:26 -04:00
Kit Langton f5cbfb0ef8 test: use testEffect for instruction tests (#25046) 2026-04-30 11:48:13 -04:00
Kit Langton 210b03d342 test: port instance HttpApi path/vcs read coverage to Effect 2026-04-30 11:07:00 -04:00
Aiden Cline 60f88a613c chore: rm broken codesearch tool (#24992) 2026-04-29 13:15:44 -05:00
Aiden Cline 5b4bfc8acd tweak: adjust order of system prompt instructions: Global, Project, Skills (#24974) 2026-04-29 10:55:53 -05: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
spark4862 e8337a73dc fix(session): remap compaction tail_start_id when forking (#24898)
Co-authored-by: spark4862 <spark4862@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-29 00:23:56 -05:00
James Long 29be8a7333 feat(core): filter sessions by path and add setting to disable (#24849) 2026-04-28 16:49:13 -04:00
James Long 247e4688a6 feat(core): store relative path for sessions (#24704) 2026-04-28 11:51:24 -04:00
Kit Langton 049d20a6ad fix(session): remove compaction summary dividers (#24677) 2026-04-27 18:15:11 -04:00
Kit Langton 01c2ce4ad4 fix(session): omit undefined optional fields (#24676) 2026-04-27 17:50:09 -04:00
Kit Langton 50ac6672b3 fix(session): harden shell cancellation (#24553) 2026-04-27 20:47:18 +00:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Luke Parker 7454f363db feat: configurable shell selection + desktop settings UI (#20602) 2026-04-27 00:54:55 +00:00
Dax Raad 6198d69e5c core: Add User-Agent header to identify client version in HTTP requests 2026-04-25 23:51:23 -04:00
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
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