Kit Langton
e3134a2a99
refactor(session): align prompt input types with their schemas ( #25178 )
2026-04-30 19:28:46 -04:00
Kit Langton
fbcbd24063
Add SyncEvent service ( #25158 )
2026-04-30 16:45:26 -04:00
Kit Langton
feeebbe7d4
Preserve workspace context in session HTTP routes ( #25136 )
2026-04-30 13:53:26 -04:00
Kit Langton
65c15afe9f
test: use testEffect for instruction tests ( #25046 )
2026-04-30 11:48:13 -04:00
Kit Langton
dddfcbf0d8
test: port instance HttpApi path/vcs read coverage to Effect
2026-04-30 11:07:00 -04:00
Aiden Cline
6aa8e894b1
chore: rm broken codesearch tool ( #24992 )
2026-04-29 13:15:44 -05:00
Aiden Cline
00bb9836a6
tweak: adjust order of system prompt instructions: Global, Project, Skills ( #24974 )
2026-04-29 10:55:53 -05:00
opencode-agent[bot]
df147b65fd
chore: generate
2026-04-29 13:36:05 +00:00
Kit Langton
6015084fa2
Prepare Effect HttpApi backend parity ( #24853 )
2026-04-29 09:34:50 -04:00
spark4862
d71b827d8c
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
9209c04370
feat(core): filter sessions by path and add setting to disable ( #24849 )
2026-04-28 16:49:13 -04:00
James Long
2c2fc3499b
feat(core): store relative path for sessions ( #24704 )
2026-04-28 11:51:24 -04:00
Kit Langton
ce78a4265d
fix(session): remove compaction summary dividers ( #24677 )
2026-04-27 18:15:11 -04:00
Kit Langton
c4a2353ac3
fix(session): omit undefined optional fields ( #24676 )
2026-04-27 17:50:09 -04:00
Kit Langton
139c4fd555
fix(session): harden shell cancellation ( #24553 )
2026-04-27 20:47:18 +00:00
Dax
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -04:00
Luke Parker
141f33d24b
feat: configurable shell selection + desktop settings UI ( #20602 )
2026-04-27 00:54:55 +00:00
Dax Raad
fc6d4b4010
core: Add User-Agent header to identify client version in HTTP requests
2026-04-25 23:51:23 -04:00
Dax Raad
1e98167b0e
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
3eee2f6afa
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
705f792e87
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
1a734adb4d
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
62ef2a2207
refactor: rename shared package to core ( #24309 )
2026-04-25 10:59:17 -04:00
Kit Langton
4877eccc0d
Fix shell cwd after login startup ( #24215 )
2026-04-25 01:14:52 -04:00
Kit Langton
3910a6e527
refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema ( #23244 )
2026-04-23 16:09:34 -04:00
Kit Langton
cd93533b1f
refactor(bus): migrate BusEvent to Effect Schema ( #24040 )
2026-04-23 15:37:44 -04:00
Kit Langton
0590452456
refactor(schema): use Schema.Int and consolidate PositiveInt/NonNegativeInt ( #24029 )
2026-04-23 13:22:48 -04:00
Kit Langton
c50d65b4d6
refactor(sync): make session events schema-first ( #24019 )
2026-04-23 12:43:08 -04:00
opencode-agent[bot]
2cd89d64e9
chore: generate
2026-04-23 15:31:16 +00:00
Kit Langton
0517ab4695
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
Shoubhit Dash
574b2c2170
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -04:00
Kit Langton
ed802fd121
refactor(core): migrate MessageV2 errors to Schema-backed named errors ( #23764 )
2026-04-21 23:40:32 -04:00
Kit Langton
1593c3ed16
refactor(core): migrate MessageV2 internal Cursor to Effect Schema ( #23763 )
2026-04-21 23:28:33 -04:00
Kit Langton
e89543811c
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
fa623964a2
refactor(core): migrate MessageV2 part leaves + ToolPart to Effect Schema ( #23756 )
2026-04-21 23:17:23 -04:00
Kit Langton
ad7ae7353f
refactor(core): derive all schema.ts leaves' .zod via effect-zod walker ( #23754 )
2026-04-21 22:51:18 -04:00
Kit Langton
df0c1f649c
refactor(core): migrate MessageV2 tool state schemas to Effect Schema ( #23752 )
2026-04-21 17:47:50 -04:00
Kit Langton
0bcf734a67
migrate Snapshot schemas to Effect Schema ( #23747 )
2026-04-21 17:37:27 -04:00
Kit Langton
2ae64f426b
refactor(core): migrate MessageV2.Format to Effect Schema ( #23744 )
2026-04-21 17:30:08 -04:00
Kit Langton
7933657135
migrate LSP data schemas to Effect Schema ( #23745 )
2026-04-21 17:26:50 -04:00
Luke Parker
7a568a457f
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]
f3d5a71620
chore: generate
2026-04-20 06:07:28 +00:00
Aiden Cline
c6c56ac2cf
tweak: rename tail_tokens -> preserve_recent_tokens ( #23491 )
2026-04-20 01:06:29 -05:00
Dax Raad
5ae74aa881
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Dax Raad
6eddf08244
flip toolcall prune defaults
2026-04-19 19:34:44 -04:00
Kit Langton
9918f389e7
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
Kit Langton
1dd257b76a
refactor: use instance state in small services ( #23022 )
2026-04-18 02:16:15 +00:00
Kit Langton
23a2d01282
fix(observability): standardize session telemetry attrs ( #23213 )
2026-04-17 21:14:23 -04:00
opencode-agent[bot]
9b0659d4f9
chore: generate
2026-04-17 19:30:28 +00:00
Kit Langton
f83cecaaf6
fix(opencode): untrace streaming event hot paths ( #23156 )
2026-04-17 15:29:32 -04:00
Aiden Cline
76a141090e
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Brendan Allan
a4882290aa
Merge branch 'dev' into nxl/improve-compaction-strategy
2026-04-17 11:53:17 +08:00
James Long
0bedea52b1
fix(tui): tui resiliency when workspace is dead, disable directory filter in session list ( #23013 )
2026-04-16 23:35:36 -04:00
opencode-agent[bot]
266fb93422
chore: generate
2026-04-17 00:50:44 +00:00
Kit Langton
51d8219c46
refactor: unwrap session/ tier-2 namespaces + self-reexport ( #22973 )
2026-04-17 00:49:39 +00:00
Kit Langton
5d47ea0918
refactor: unwrap ConfigMCP namespace + self-reexport ( #22948 )
2026-04-16 19:52:04 -04:00
Kit Langton
1c33b866ba
fix: remove 10 more unnecessary as any casts in opencode core ( #22882 )
2026-04-16 20:11:05 +00:00
James Long
06afd33291
refactor(tui): improve workspace management ( #22691 )
2026-04-16 12:24:40 -04:00
Shoubhit Dash
42771c1db3
fix(compaction): budget retained tail with media
2026-04-16 17:30:29 +05:30
Shoubhit Dash
2e18a603f0
merge dev
2026-04-16 17:30:14 +05:30
Dax
675a46e23e
CLI perf: reduce deps ( #22652 )
2026-04-16 02:03:03 -04:00
Kit Langton
6b20838981
feat: unwrap provider namespaces to flat exports + barrel ( #22760 )
2026-04-16 05:02:50 +00:00
Kit Langton
5011465c81
feat: unwrap tool namespaces to flat exports + barrel ( #22762 )
2026-04-16 03:56:54 +00:00
Kit Langton
9f4b73b6a3
fix: clean up final 16 no-unused-vars warnings ( #22751 )
2026-04-16 03:54:21 +00:00
Kit Langton
0e20382396
fix: resolve circular sibling imports causing runtime ReferenceError ( #22752 )
2026-04-15 23:41:34 -04:00
Kit Langton
f24207844f
feat: unwrap storage namespaces to flat exports + barrel ( #22747 )
2026-04-15 23:30:49 -04:00
Kit Langton
1ca257e356
feat: unwrap config namespaces to flat exports + barrel ( #22746 )
2026-04-15 23:29:14 -04:00
Kit Langton
d4cfbd020d
feat: unwrap effect namespaces to flat exports + barrel ( #22745 )
2026-04-15 23:29:12 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
702f741267
feat: enable oxlint suspicious category, fix 24 violations ( #22727 )
2026-04-16 02:53:10 +00:00
Kit Langton
379e40d772
feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel ( #22721 )
2026-04-16 02:45:45 +00:00
opencode-agent[bot]
069cef8a44
chore: generate
2026-04-16 02:18:58 +00:00
Kit Langton
18538e359b
feat: unwrap usession namespace to flat exports + barrel ( #22713 )
2026-04-16 02:15:17 +00:00
Kit Langton
cce05c1665
fix: clean up 49 unused variables, catch params, and stale imports ( #22695 )
2026-04-16 02:01:53 +00:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
f7d4665e40
fix: resolve oxlint warnings — suppress false positives, remove unused imports ( #22687 )
2026-04-15 21:33:54 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Kit Langton
4ca809ef4e
fix(session): retry 5xx server errors even when isRetryable is unset ( #22511 )
2026-04-16 00:58:48 +00:00
Kit Langton
3d6f90cb53
feat: add oxlint with correctness defaults ( #22682 )
2026-04-15 20:45:19 -04:00
Kit Langton
250e30bc7d
add experimental permission HttpApi slice ( #22385 )
2026-04-15 21:28:01 +00:00
Aiden Cline
e83b22159d
tweak: ensure auto continuing compaction is tracked as agent initiated for github copilot ( #22567 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-04-15 15:50:33 -05:00
Kit Langton
f1751401aa
fix(effect): add effect bridge for callback contexts ( #22504 )
2026-04-15 15:22:34 +00:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Kit Langton
f73ff781e7
fix(opencode): export AI SDK telemetry spans ( #22526 )
2026-04-14 22:30:50 -04:00
Shoubhit Dash
f6409759e5
fix: restore instance context in prompt runs ( #22498 )
2026-04-15 03:59:12 +05:30
Luke Parker
f9d99f044d
fix(session): keep GitHub Copilot compaction requests valid ( #22371 )
2026-04-15 08:02:27 +10:00
Kit Langton
aeb7d99d20
fix(effect): preserve logger context in prompt runs ( #22496 )
2026-04-14 17:33:44 -04:00
Kit Langton
68384613be
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -04:00
Aiden Cline
d312c677c5
fix: rm effect logger from processor.ts, use old logger for now instead ( #22460 )
2026-04-14 10:39:01 -05:00
Shoubhit Dash
d6840868d4
refactor(ripgrep): use embedded wasm backend ( #21703 )
2026-04-14 11:56:23 +05:30
Kit Langton
7a05ba47d1
refactor(session): remove compaction async facade exports ( #22366 )
2026-04-13 21:23:34 -04:00
Aiden Cline
34e2429c49
feat: add experimental.compaction.autocontinue hook to disable auto continuing after compaction ( #22361 )
2026-04-13 20:14:53 -05:00
Kit Langton
e8471256f2
refactor(session): move llm stream into layer ( #22358 )
2026-04-13 19:53:30 -04:00
Kit Langton
d199648aeb
refactor(permission): remove async facade exports ( #22342 )
2026-04-13 19:33:58 -04:00
Dax Raad
59c0fc28ee
ignore: v2 thoughts
2026-04-13 17:33:34 -04:00
Kit Langton
67aaecacac
refactor(session): remove revert async facade exports ( #22339 )
2026-04-13 16:16:13 -04:00
Kit Langton
dcbf11f41a
refactor(session): remove summary async facades ( #22337 )
2026-04-13 15:35:38 -04:00
Dax Raad
913120759a
session entry
2026-04-13 14:00:49 -04:00
Dax
7a6ce05d09
2.0 exploration ( #22335 )
2026-04-13 13:47:33 -04:00
Kit Langton
c22e34853d
refactor(auth): remove async auth facade exports ( #22306 )
2026-04-13 12:31:43 -04:00