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
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
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
Kit Langton
baa1493582
refactor(sync): make session events schema-first ( #24019 )
2026-04-23 12:43:08 -04:00
opencode-agent[bot]
c9cd35a452
chore: generate
2026-04-23 15:31:16 +00:00
Kit Langton
13bb84f5e3
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
Shoubhit Dash
45b108c69b
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -04:00
Kit Langton
edbe1d7f2d
refactor(core): migrate MessageV2 errors to Schema-backed named errors ( #23764 )
2026-04-21 23:40:32 -04:00
Kit Langton
c80dff0186
refactor(core): migrate MessageV2 internal Cursor to Effect Schema ( #23763 )
2026-04-21 23:28:33 -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
21362c2939
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
Kit Langton
ee602f544b
refactor(core): migrate MessageV2 tool state schemas to Effect Schema ( #23752 )
2026-04-21 17:47:50 -04:00
Kit Langton
b8d850ca3f
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Kit Langton
26c9a6da18
refactor(core): migrate MessageV2.Format to Effect Schema ( #23744 )
2026-04-21 17:30:08 -04:00
Kit Langton
ead9b6023c
migrate LSP data schemas to Effect Schema ( #23745 )
2026-04-21 17:26:50 -04:00
Luke Parker
cf2442454e
fix: defer MessageV2.Assistant.shape access to break circular dep in compiled binary ( #23495 )
2026-04-20 06:39:13 +00: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
Dax Raad
8890f79f60
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Dax Raad
01c7eb258e
flip toolcall prune defaults
2026-04-19 19:34:44 -04:00
Kit Langton
32c3017b00
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00