Commit Graph

324 Commits

Author SHA1 Message Date
Shoubhit Dash 7876a4cb2f refactor(core): resolve default agent info (#27125) 2026-05-13 01:08:30 +05:30
Kit Langton d283b18d95 Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
Kit Langton d799f16a36 Drop prompt input Zod statics (#26923) 2026-05-11 16:49:08 -04:00
opencode-agent[bot] b990b5dbca chore: generate 2026-05-11 15:21:20 +00:00
Shoubhit Dash 5b2b91d09f feat(scout): autocomplete configured mentions (#26843) 2026-05-11 20:50:03 +05:30
Shoubhit Dash 44fb0ebf7f refactor(scout): resolve configured reference mentions (#26701) 2026-05-11 12:57:26 +05:30
Kit Langton 6e2c0bdb70 Validate prompt messages with Effect Schema (#26796) 2026-05-11 02:59:20 +00:00
opencode-agent[bot] b89b6864c0 chore: generate 2026-05-11 01:41:26 +00:00
Dax Raad 8eccdf9d15 disable image resizing 2026-05-10 21:40:12 -04:00
Kit Langton 32b5c0e6b9 Use SyncEvent service at event call sites (#26782) 2026-05-10 21:20:13 -04:00
Dax e2ddddb42a Persist session model switches outside event flag (#26765) 2026-05-10 18:53:14 -04:00
opencode-agent[bot] 5197a5b6f6 chore: generate 2026-05-10 06:49:21 +00:00
Aiden Cline 6b792099f9 feat: better image handling (auto resize & max size constraints) (#26401) 2026-05-10 01:48:19 -05:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton d524b4f0f7 Type session not-found errors (#25818) 2026-05-05 21:33:47 -04:00
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 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
Kit Langton ca66215e5c refactor(session): yield instance context in system prompt (#25207) 2026-04-30 21:45:48 -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
Aiden Cline 5b4bfc8acd tweak: adjust order of system prompt instructions: Global, Project, Skills (#24974) 2026-04-29 10:55:53 -05: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 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 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
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton db92c3ef90 Fix shell cwd after login startup (#24215) 2026-04-25 01:14:52 -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 13bb84f5e3 refactor(session): migrate session domain to Effect Schema (#24005) 2026-04-23 11:30:02 -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 9291b04f25 refactor(core): migrate MessageV2 part leaves + ToolPart to Effect Schema (#23756) 2026-04-21 23:17:23 -04:00
Kit Langton 26c9a6da18 refactor(core): migrate MessageV2.Format to Effect Schema (#23744) 2026-04-21 17:30:08 -04:00
Aiden Cline 0fce19f42c chore: delete filetime module (#22999) 2026-04-16 23:31:21 -05:00
opencode-agent[bot] d81f3358ef chore: generate 2026-04-17 00:50:44 +00:00
Kit Langton 31670f655c refactor: unwrap session/ tier-2 namespaces + self-reexport (#22973) 2026-04-17 00:49:39 +00:00
Kit Langton 2902acc08c fix: remove 10 more unnecessary as any casts in opencode core (#22882) 2026-04-16 20:11:05 +00:00
Kit Langton 8a117354fd feat: unwrap provider namespaces to flat exports + barrel (#22760) 2026-04-16 05:02:50 +00:00
Kit Langton 181ca1a17f feat: unwrap tool namespaces to flat exports + barrel (#22762) 2026-04-16 03:56:54 +00:00
Kit Langton 28fca2ce79 fix: resolve circular sibling imports causing runtime ReferenceError (#22752) 2026-04-15 23:41:34 -04:00
Kit Langton 0249f58509 feat: unwrap config namespaces to flat exports + barrel (#22746) 2026-04-15 23:29:14 -04:00
Kit Langton 138d37a87d feat: unwrap effect namespaces to flat exports + barrel (#22745) 2026-04-15 23:29:12 -04:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton f53f31d33f feat: enable oxlint suspicious category, fix 24 violations (#22727)
publish-github-action / publish (push) Has been cancelled
2026-04-16 02:53:10 +00:00
Kit Langton 7159d09978 feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721) 2026-04-16 02:45:45 +00:00
Kit Langton 021fe76e47 fix: clean up 49 unused variables, catch params, and stale imports (#22695) 2026-04-16 02:01:53 +00:00