Dax
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -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
Dax
675a46e23e
CLI perf: reduce deps ( #22652 )
2026-04-16 02:03:03 -04:00
Kit Langton
f24207844f
feat: unwrap storage namespaces to flat exports + barrel ( #22747 )
2026-04-15 23:30:49 -04:00
Kit Langton
80f1f1b5b8
feat: enable type-aware no-floating-promises rule, fix all 177 violations ( #22741 )
2026-04-15 23:27:32 -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
379e40d772
feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel ( #22721 )
2026-04-16 02:45:45 +00:00
Dax
be9432a893
shared package ( #22626 )
2026-04-15 14:26:20 +00:00
Kit Langton
9581bf0670
refactor(effect): upgrade opencode to beta.46 context APIs ( #21977 )
2026-04-10 23:06:28 -04:00
Dax Raad
04074d3f4a
core: enable prod channel to use shared production database
...
Ensures users on the prod channel have their data persisted to the same
database as latest and beta channels, preventing data fragmentation
across different release channels.
2026-04-09 21:34:52 -04:00
Kit Langton
0c03a3ee10
test: migrate prompt tests to HTTP mock LLM server ( #20304 )
2026-03-31 19:14:32 -04:00
James Long
b0017bf1b9
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Dax Raad
5dc47905a9
allow customizing DB location
2026-03-20 22:49:55 -04:00
Dax
37b8662a9d
refactor: abstract SQLite behind runtime-conditional #db import ( #18316 )
2026-03-19 21:15:35 -04:00
613562f504
core: make account login upgrades safe while adding multi-account workspace auth ( #15487 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-10 12:53:47 -04:00
Dax Raad
2230c3c401
core: allow beta channel to share database with stable channel
2026-03-07 18:53:29 -05:00
Dax Raad
a965a06259
core: add OPENCODE_SKIP_MIGRATIONS flag to bypass database migrations
...
Allows users to skip automatic database migrations by setting the
OPENCODE_SKIP_MIGRATIONS environment variable. Useful for testing
scenarios or when manually managing database state.
2026-03-07 16:17:00 -05:00
Luke Parker
4c7fe60493
fix(opencode): sanitize preview database filenames ( #16430 )
2026-03-07 04:34:29 +00:00
Dax Raad
5e699c9426
chore(storage): update drizzle and channel db handling
2026-03-06 10:58:19 -05:00
Luke Parker
a292eddeb5
fix(test): harden preload cleanup against Windows EBUSY ( #14895 )
2026-02-24 21:59:14 +10:00
Dax
02a9495063
Remove use of Bun.file ( #14215 )
2026-02-19 11:32:32 -05:00
Dax Raad
568eccb4c6
Revert: all refactor commits migrating from Bun.file() to Filesystem module
2026-02-18 19:41:14 -05:00
Dax
a8347c3762
refactor: migrate src/storage/db.ts from Bun.file() to statSync ( #14124 )
2026-02-18 19:20:03 -05:00
Dax Raad
45f0050372
core: add db command for database inspection and querying
2026-02-14 20:37:17 -05:00
Dax
67c985ce82
fix: add WAL checkpoint on database open ( #13633 )
2026-02-14 19:33:08 +00:00
6d95f0d14c
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