Dax
cdf3760d79
Refactor v2 session events as schemas ( #24512 )
2026-05-02 22:09:48 -04:00
Kit Langton
be489206f6
Normalize instance lifecycle wiring ( #25501 )
2026-05-02 20:39:20 -04:00
Kit Langton
04449495bf
fix(instance): run bootstrap from instance store ( #25475 )
2026-05-02 19:33:38 -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
Aiden Cline
1b5e6aa372
fix: bedrock reasoning issue ( #25303 )
2026-05-01 11:15:17 -05:00
Kit Langton
b6bb8c739e
test: use testEffect for retry policy ( #25050 )
2026-04-30 12:55:33 -04:00
Kit Langton
ef11a6a9c7
test: use testEffect for system prompt test ( #25047 )
2026-04-30 12:51:32 -04:00
Kit Langton
f5cbfb0ef8
test: use testEffect for instruction tests ( #25046 )
2026-04-30 11:48:13 -04:00
Aiden Cline
5b4bfc8acd
tweak: adjust order of system prompt instructions: Global, Project, Skills ( #24974 )
2026-04-29 10:55:53 -05: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
247e4688a6
feat(core): store relative path for sessions ( #24704 )
2026-04-28 11:51:24 -04:00
Kit Langton
02c4dfb968
test(httpapi): cover session json parity ( #24682 )
2026-04-27 19:48:57 -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
Aiden Cline
377a9981b8
fix: bump openrouter sdk version to resolve deepseek reasoning issue (bug was in sdk pkg) ( #24435 )
2026-04-26 00:05:16 -05: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
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
Aiden Cline
684079f261
fix: account for additional openai retry case ( #24063 )
2026-04-23 17:31:43 -04:00
Kit Langton
b416f9d3b9
refactor(bus): migrate BusEvent to Effect Schema ( #24040 )
2026-04-23 15:37:44 -04:00
Kit Langton
13bb84f5e3
refactor(session): migrate session domain to Effect Schema ( #24005 )
2026-04-23 11:30:02 -04:00
opencode-agent[bot]
d0b3528fd5
chore: generate
2026-04-23 00:25:39 -04:00
Shoubhit Dash
45b108c69b
fix(session): improve session compaction ( #23870 )
2026-04-23 00:25:38 -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
26c9a6da18
refactor(core): migrate MessageV2.Format to Effect Schema ( #23744 )
2026-04-21 17:30:08 -04:00
Kit Langton
b806dd96c6
refactor(core): make Config.Info canonical Effect Schema ( #23716 )
2026-04-21 14:06:47 -04:00
Kit Langton
5f6b99b45f
test(opencode): consolidate session prompt tests into Effect style ( #23710 )
2026-04-21 15:54:40 +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
c901654658
core: fix session compaction test to properly enable prune config option
2026-04-19 19:53:43 -04:00
Dax Raad
8890f79f60
Merge branch 'nxl/improve-compaction-strategy' into dev
2026-04-19 19:38:46 -04:00
Kit Langton
32c3017b00
fix: detect attachment mime from file contents ( #23291 )
2026-04-18 11:59:08 -04:00
Dax Raad
e438ce9c50
tui: fix sync loading indicator to properly show loading state on startup
2026-04-18 10:39:10 -04:00
Dax Raad
08710de30f
core: track retry attempts with detailed error context on assistant entries
...
users can now see when transient failures occur during assistant responses,
such as rate limits or provider overloads, giving visibility into what
issues were encountered and automatically resolved before the final response
2026-04-18 10:38:35 -04:00
opencode-agent[bot]
db322bdb85
chore: generate
2026-04-18 05:49:37 +00:00
Dax Raad
ed50480ba1
core: extract session entry stepping logic into dedicated module
...
Move the step function from session-entry.ts to session-entry-stepper.ts and remove immer dependency. Add static fromEvent factory methods to Synthetic, Assistant, and Compaction classes for cleaner event-to-entry conversion.
2026-04-18 01:48:21 -04:00
Kit Langton
1762028f59
refactor(v2): tag session unions and exhaustively match events ( #23201 )
2026-04-18 00:29:26 +00:00
Aiden Cline
0fce19f42c
chore: delete filetime module ( #22999 )
2026-04-16 23:31:21 -05:00
Brendan Allan
118a2b3939
Merge branch 'dev' into nxl/improve-compaction-strategy
2026-04-17 11:53:17 +08:00
Kit Langton
2902acc08c
fix: remove 10 more unnecessary as any casts in opencode core ( #22882 )
2026-04-16 20:11:05 +00:00
Shoubhit Dash
a141c51a43
fix(compaction): budget retained tail with media
2026-04-16 17:30:29 +05:30
Shoubhit Dash
f1e4d71bab
merge dev
2026-04-16 17:30:14 +05:30
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
949ac8ed15
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
publish-github-action / publish (push) Has been cancelled
2026-04-15 23:27:32 -04:00
Kit Langton
d2ec847f0c
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00