Commit Graph

55 Commits

Author SHA1 Message Date
Kit Langton d799f16a36 Drop prompt input Zod statics (#26923) 2026-05-11 16:49:08 -04:00
Kit Langton e143fa9126 fix(session): loosen remaining stored numeric schemas to tolerate legacy data (#26622) 2026-05-09 22:10:48 -04:00
Kit Langton 1141b9bfb3 fix(session): tolerate negative token counts in stored parts (#26620) 2026-05-09 22:10:44 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton d524b4f0f7 Type session not-found errors (#25818) 2026-05-05 21:33:47 -04:00
opencode-agent[bot] 2d44193933 chore: generate 2026-05-03 02:10:52 +00:00
Dax cdf3760d79 Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Kit Langton 2d62af94a3 fix(session): use finite archived timestamp schema (#25275) 2026-05-01 11:57:03 +00:00
opencode-agent[bot] 73b6457ffd chore: generate 2026-05-01 03:02:15 +00:00
Kit Langton 516d5a158c refactor(session): pass project to list (#25215) 2026-04-30 23:00:59 -04:00
Kit Langton 3a7cd2dbee refactor(tool): yield InstanceState context (#25199) 2026-04-30 21:01:06 -04:00
Kit Langton 83175c48a9 Add SyncEvent service (#25158) 2026-04-30 16:45:26 -04:00
Kit Langton 50f540b418 Preserve workspace context in session HTTP routes (#25136) 2026-04-30 13:53:26 -04:00
Kit Langton 210b03d342 test: port instance HttpApi path/vcs read coverage to Effect 2026-04-30 11:07:00 -04:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04: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 29be8a7333 feat(core): filter sessions by path and add setting to disable (#24849) 2026-04-28 16:49:13 -04:00
James Long 247e4688a6 feat(core): store relative path for sessions (#24704) 2026-04-28 11:51:24 -04:00
Kit Langton 01c2ce4ad4 fix(session): omit undefined optional fields (#24676) 2026-04-27 17:50:09 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -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
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Kit Langton baa1493582 refactor(sync): make session events schema-first (#24019) 2026-04-23 12:43:08 -04:00
Kit Langton 13bb84f5e3 refactor(session): migrate session domain to Effect Schema (#24005) 2026-04-23 11:30:02 -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 b8d850ca3f migrate Snapshot schemas to Effect Schema (#23747) 2026-04-21 17:37:27 -04:00
Luke Parker cf2442454e 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] 0a8aaafe93 chore: generate 2026-04-17 19:30:28 +00:00
Kit Langton 339f4a2c16 fix(opencode): untrace streaming event hot paths (#23156) 2026-04-17 15:29:32 -04:00
James Long 53e47bc9ca fix(tui): tui resiliency when workspace is dead, disable directory filter in session list (#23013) 2026-04-16 23:35:36 -04:00
Kit Langton 8ffb5340aa refactor: unwrap ConfigMCP namespace + self-reexport (#22948) 2026-04-16 19:52:04 -04:00
James Long 5b94e49a4b refactor(tui): improve workspace management (#22691) 2026-04-16 12:24:40 -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
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton 7159d09978 feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721) 2026-04-16 02:45:45 +00:00
opencode-agent[bot] 612ed0fc18 chore: generate 2026-04-16 02:18:58 +00:00
Kit Langton 5ba13419b3 feat: unwrap usession namespace to flat exports + barrel (#22713) 2026-04-16 02:15:17 +00:00
Dax Raad 16c37de95d Refactor session module structure and improve error handling
- Rename session.ts to index.ts for cleaner module imports
- Update all imports to use new session module structure
- Add error metadata tracking to message schema
- Improve error handling in session stream processing

🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-04 17:38:54 -04:00
Dax Raad 1cb48d5c24 tool updates 2025-06-04 13:12:48 -04:00
Dax Raad 320f23a8dc mcp support 2025-06-03 15:57:48 -04:00
Dax Raad fae6e568a0 initialized 2025-06-03 14:24:45 -04:00
Dax Raad 42a876cb2f max output tokens 2025-06-03 13:46:39 -04:00
Dax Raad c86d7fe6b9 do not list files if not git 2025-06-03 13:19:44 -04:00
Dax Raad ff6cef3da1 include env 2025-06-03 13:18:42 -04:00
Dax Raad be03feb20d initialzie 2025-06-03 12:38:48 -04:00
Dax Raad 66685b4917 Refactor app context system to use Zod schemas and sync access pattern
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-03 11:59:03 -04:00
Dax Raad e696710502 add permission system 2025-06-02 19:51:37 -04:00