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
Aiden Cline
a915fe74be
tweak: adjust session getUsage function to use more up to date LanguageModelUsage instead of LanguageModelV2Usage ( #22224 )
2026-04-12 21:39:06 -05:00
Aiden Cline
8b9b9ad31e
fix: ensure images read by agent dont count against quota ( #22168 )
2026-04-12 12:02:39 -05:00
Kit Langton
eea4253d67
refactor(session): destroy Instruction facade ( #22089 )
2026-04-11 20:04:09 -04:00
Kit Langton
1a509d62a0
refactor(session): destroy SessionRunState facade ( #22064 )
2026-04-11 20:01:52 -04:00
opencode-agent[bot]
4c4eef46f1
chore: generate
2026-04-11 22:15:53 +00:00
Tommy D. Rossi
d62ec7776e
feat: allow session permission updates ( #22070 )
2026-04-11 17:14:30 -05:00
opencode-agent[bot]
d1f05b0f3a
chore: generate
2026-04-11 16:53:40 +00:00
Kit Langton
ccb0b320e1
refactor(session): make SystemPrompt a proper Effect Service ( #21992 )
2026-04-11 12:52:35 -04:00
opencode-agent[bot]
3b523b32f5
chore: generate
2026-04-11 03:28:30 +00:00
Kit Langton
ba3600a515
refactor(session): remove dead updatePartDelta facade ( #21985 )
2026-04-10 23:27:30 -04:00
Kit Langton
cd004cf0b2
refactor(session): eliminate Effect.promise roundtrips for sync MessageV2.stream ( #21973 )
2026-04-10 23:18:13 -04:00
Kit Langton
3dd09147c2
refactor(tool): Tool.Context.metadata returns Effect ( #21972 )
2026-04-10 23:12:04 -04:00
Kit Langton
9581bf0670
refactor(effect): upgrade opencode to beta.46 context APIs ( #21977 )
2026-04-10 23:06:28 -04:00
Kit Langton
af8aff3788
refactor: make TaskPromptOps effectful ( #21971 )
2026-04-10 22:57:47 -04:00
Kit Langton
5917ac2162
fix: provide EffectLogger.layer to bare Effect.runPromise/runFork calls ( #21974 )
2026-04-10 22:55:08 -04:00
opencode-agent[bot]
577139c626
chore: generate
2026-04-11 02:36:59 +00:00
Kit Langton
c5fb6281f0
refactor(tool): Tool.Def.execute returns Effect, rename defineEffect → define ( #21961 )
2026-04-10 22:36:02 -04:00
Kit Langton
f99812443c
refactor: destroy SessionStatus facade ( #21968 )
2026-04-10 22:16:53 -04:00
Kit Langton
a4c686025c
refactor: destroy Todo facade ( #21962 )
2026-04-10 21:47:28 -04:00
opencode-agent[bot]
605559b165
chore: generate
2026-04-11 01:22:01 +00:00
Kit Langton
5cd4c6eb22
refactor: destroy Storage facades ( #21956 )
2026-04-10 21:21:02 -04:00
Kit Langton
40358d60a0
refactor: add Effect logger for motel observability ( #21954 )
2026-04-10 21:10:58 -04:00
Aiden Cline
33819932ec
tweak: rm processor .trim calls ( #21958 )
2026-04-10 19:47:08 -05:00
Kit Langton
cf27a73397
feat: add AppRuntime for unified service composition ( #21953 )
2026-04-10 19:46:52 -04:00
Kit Langton
d9d5a0615e
refactor: break SessionPrompt/TaskTool cycle via ctx injection ( #21948 )
2026-04-10 19:36:13 -04:00
James Long
180ded6a27
rector(core,tui): handle workspace state in project context, add workspace status, improve ui ( #21896 )
2026-04-10 13:03:20 -04:00
Aiden Cline
9819eb0461
tweak: disable
2026-04-09 23:11:09 -05:00
Shoubhit Dash
aa86fb75ad
refactor compaction tail selection
2026-04-10 09:36:39 +05:30
Shoubhit Dash
6f5a3d30fd
keep recent turns during session compaction
2026-04-10 09:34:01 +05:30
Kit Langton
eca11ca71a
refactor(effect): use SessionRevert service in prompt ( #21796 )
2026-04-09 22:28:11 -04:00
Kit Langton
16c60c9ee7
refactor(session): extract sharing orchestration ( #21759 )
2026-04-09 21:47:48 -04:00
Kit Langton
b2f621b897
refactor(session): inline init route orchestration ( #21754 )
2026-04-09 16:28:42 -04:00
Kit Langton
10441efad1
refactor(effect): extract session run state service ( #21744 )
2026-04-09 16:03:40 -04:00
Kit Langton
3199383eef
fix: finalize interrupted bash via tool result path ( #21724 )
2026-04-09 15:20:28 -04:00
Kit Langton
9f54115c5d
refactor: remove unused runtime facade exports ( #21731 )
2026-04-09 14:52:06 -04:00
Dax
bd53b651a3
refactor: fix tool call state handling and clean up imports ( #21709 )
2026-04-09 11:56:19 -04:00
Kit Langton
46da801f30
refactor(effect): drop shell abort signals from runner ( #21599 )
2026-04-09 10:54:26 -04:00
Kit Langton
58a99916bb
fix: preserve text part timing in session processor ( #21691 )
2026-04-09 10:05:14 -04:00
Kit Langton
c29392d085
fix: preserve interrupted bash output in tool results ( #21598 )
2026-04-09 10:03:26 -04:00
Aiden Cline
489f57974d
feat: add opencode go upsell modal when limits are hit ( #21583 )
...
Co-authored-by: Frank <frank@anoma.ly>
2026-04-09 02:16:29 -04:00
Vladimir Glafirov
cd8e8a9928
feat(llm): integrate GitLab DWS tool approval with permission system ( #19955 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-08 20:39:33 -05:00
Kit Langton
8bdcc22541
refactor(effect): inline session processor interrupt cleanup ( #21593 )
2026-04-08 21:19:01 -04:00
Kit Langton
2bdd279467
fix: propagate abort signal to inline read tool ( #21584 )
2026-04-08 21:07:55 -04:00
Kit Langton
38f8714c09
refactor(effect): build task tool from agent services ( #21017 )
2026-04-08 19:02:19 -04:00
Dax
463318486f
core: refactor tool system to remove agent context from initialization ( #21052 )
2026-04-07 19:48:12 -04:00
Aiden Cline
81bdffc81c
fix: ensure the alibaba provider errors are retried ( #21355 )
2026-04-07 17:46:01 +00:00
Dax
1f94c48bdd
fix(opencode): keep user message variants scoped to model ( #21332 )
2026-04-07 10:12:53 -04:00
Aiden Cline
48c1b6b338
tweak: move the max token exclusions to plugins @rekram1-node ( #21225 )
2026-04-06 17:43:58 -05:00
Aiden Cline
40e4cd27a1
tweak: adjust chat.params hook to allow altering of the maxOutputTokens ( #21220 )
2026-04-06 18:13:30 +00:00
Aiden Cline
280eb16e77
fix: ensure reasoning tokens arent double counted when calculating usage ( #21047 )
2026-04-04 15:29:53 -07:00
Yuxin Dong
c08fa5675f
refactor: remove redundant Kimi skill section ( #20393 )
...
Co-authored-by: dongyuxin <dongyuxin@dev.dongyuxin.msh-dev.svc.cluster.local>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-04 18:32:26 +00:00
Kit Langton
f2d4ced8ea
refactor(effect): build todowrite tool from Todo service ( #20789 )
...
Co-authored-by: Juan Pablo Carranza Hurtado <52012198+jpcarranza94@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 12:05:40 -04:00
Kit Langton
7994dce0f2
refactor(effect): resolve built tools through the registry ( #20787 )
2026-04-03 10:31:00 -04:00
Nate Williams
6359d00fb4
fix(core): fix restoring earlier messages in a reverted chain ( #20780 )
2026-04-03 18:23:00 +05:30
Kevin Flansburg
e89527c9f0
feat: Send x-session-affinity and x-parent-session-id headers ( #20744 )
2026-04-02 22:09:53 -05:00