James Long
5e2b06579a
chore: merge dev into v2 ( #34788 )
...
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com >
Co-authored-by: Kit Langton <kit.langton@gmail.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Affan Ali <93028901+affanali2k3@users.noreply.github.com >
Co-authored-by: affanali2k3 <affanalikhanxx@gmail.com >
Co-authored-by: Frank <frank@anoma.ly >
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local >
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: Jay V <air@live.ca >
Co-authored-by: Dax Raad <d@ironbay.co >
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com >
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com >
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com >
Co-authored-by: Ben Guthrie <benjee.012@gmail.com >
Co-authored-by: Dax <mail@thdxr.com >
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com >
Co-authored-by: Max Anderson <max.a.anderson95@gmail.com >
Co-authored-by: Brendan Allan <git@brendonovich.dev >
Co-authored-by: Jack <jack@anoma.ly >
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com >
Co-authored-by: Dustin Deus <deusdustin@gmail.com >
Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com >
Co-authored-by: Jay <53023+jayair@users.noreply.github.com >
Co-authored-by: runvip <164729189+runvip@users.noreply.github.com >
Co-authored-by: opencode <opencode@sst.dev >
Co-authored-by: Julian Coy <julian@ex-machina.co >
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com >
2026-07-01 17:12:00 -04:00
Dax
52c1651ef6
refactor(core): simplify integration credentials ( #31968 )
2026-06-12 06:15:25 +00:00
Kit Langton
1e35a56e25
refactor(core): make v2 session inputs event sourced ( #30785 )
2026-06-04 19:24:30 -04:00
Dax
78eb705775
refactor(opencode): remove JSON storage migration ( #30461 )
2026-06-02 19:05:14 -04:00
Dax
7a9068f029
refactor(core): consolidate filesystem services ( #30447 )
2026-06-02 16:09:26 -04:00
Dax
3056f6c030
feat(core): add location-based permission service ( #30287 )
2026-06-02 01:32:50 +00:00
Luke Parker
46565cb572
fix(opencode): enforce storage path invariants ( #29666 )
2026-06-02 00:54:41 +00:00
opencode-agent[bot]
c6f77e50f8
chore: generate
2026-05-31 01:09:55 +00:00
Dax
e2a8e18298
refactor(core): move database schema ownership ( #29068 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-05-30 21:08:38 -04:00
Shoubhit Dash
b94f4d9f3f
refactor(flags): migrate skip migrations flag ( #27705 )
2026-05-15 14:54:29 +05:30
Shoubhit Dash
5f242e740e
refactor(flags): move channel db flag to runtime flags ( #27615 )
2026-05-15 04:09:10 +05:30
Shoubhit Dash
24b5154ab4
fix(storage): type not found errors ( #27265 )
2026-05-13 12:25:04 +05:30
Kit Langton
7dacb331fe
fix(storage): default workspace time migration ( #26556 )
2026-05-09 14:18:55 -04:00
Dax
07ac891a99
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -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
Dax
8a41e28f5b
CLI perf: reduce deps ( #22652 )
2026-04-16 02:03:03 -04:00
Kit Langton
97d87eac9f
feat: unwrap storage namespaces to flat exports + barrel ( #22747 )
2026-04-15 23:30:49 -04:00
Dax
780c051059
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
opencode-agent[bot]
ca843cbcf4
chore: generate
2026-04-11 01:22:01 +00:00
Kit Langton
bf4c363d64
refactor: destroy Storage facades ( #21956 )
2026-04-10 21:21:02 -04:00
Kit Langton
28a6be5a1d
refactor(effect): use Git service in file and storage ( #21803 )
2026-04-09 22:49:36 -04:00
Brendan Allan
30d17b3b82
Remove CLI from electron app ( #17803 )
...
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com >
2026-04-09 13:18:46 +08:00
Kit Langton
af252ebc18
refactor(storage): effectify Storage service ( #20132 )
2026-03-31 01:16:02 +00:00
James Long
87d41cd5ac
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Dax Raad
cb807850b5
allow customizing DB location
2026-03-20 22:49:55 -04:00
Kit Langton
2a225d7c72
feat(id): brand PartID through Drizzle and Zod schemas ( #16966 )
2026-03-11 23:40:50 +00:00
Kit Langton
b9eaabe80b
feat(id): brand WorkspaceID through Drizzle and Zod schemas ( #16964 )
2026-03-11 23:30:17 +00:00
Kit Langton
4401c08142
feat(id): brand SessionID through Drizzle and Zod schemas ( #16953 )
2026-03-11 23:16:56 +00:00
Kit Langton
9ef3ec79cd
feat(id): brand ProjectID through Drizzle and Zod schemas ( #16948 )
2026-03-11 16:44:26 -04:00
Dax Raad
62fe4ae644
core: update database path test to verify correct channel-based filename
...
The test now validates that the database file is named according to the current installation channel (latest/beta get 'opencode.db', others get sanitized names). This ensures users' data is stored in the correct location based on their update channel.
2026-03-07 18:53:29 -05:00
Luke Parker
3ca580177b
fix(opencode): sanitize preview database filenames ( #16430 )
2026-03-07 04:34:29 +00:00
Dax Raad
9f34ffff3d
chore(storage): update drizzle and channel db handling
2026-03-06 10:58:19 -05:00
Dax Raad
8047a789ab
test: add tests for path-derived IDs in json migration
...
Tests verify that file paths are used for IDs even when JSON contains
different values - ensuring robustness against stale JSON content.
2026-02-14 20:37:17 -05:00
Dax
3010323ee0
sqlite again ( #10597 )
...
Co-authored-by: Github Action <action@github.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev >
2026-02-14 04:19:02 +00:00