Commit Graph

190 Commits

Author SHA1 Message Date
Kit Langton f5299a9f71 fix(server): support desktop PTY websockets with HttpApi (#25598) 2026-05-03 18:23:29 +00:00
opencode-agent[bot] d7a4a5a05f chore: generate 2026-05-03 13:18:13 +00:00
Kit Langton 504e6bed29 fix(sdk+cli): surface real errors instead of bare {} when server returns empty body (#25592) 2026-05-03 13:17:06 +00:00
Dax cdf3760d79 Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Kit Langton ce62190978 test(httpapi): add route exerciser 2026-05-02 20:31:21 -04:00
opencode-agent[bot] a6bb6f1fc1 chore: generate 2026-04-29 13:36:05 +00:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
Luke Parker 6ad9c8144d fix: clear timeout after promise rejection (#24864) 2026-04-28 23:37:12 +00: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
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
opencode-agent[bot] 7a5d5d1161 chore: generate 2026-04-23 20:10:56 +00:00
Kit Langton 9d583dc856 refactor(tool): migrate tool framework + all 18 built-in tools to Effect Schema (#23244) 2026-04-23 16:09:34 -04:00
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Kit Langton 915bf54ebc refactor(schema): use Schema.Int and consolidate PositiveInt/NonNegativeInt (#24029) 2026-04-23 13:22:48 -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] 67b8cc0035 chore: generate 2026-04-23 00:25:38 -04:00
Shoubhit Dash 221c83e2fc fix(tui): fail fast on invalid session startup (#23837) 2026-04-23 00:25:38 -04:00
Luke Parker d9d819b0e0 fix: preserve BOM in text tool round-trips (#23797) 2026-04-23 00:25:36 -04:00
opencode-agent[bot] 60b6987827 chore: generate 2026-04-22 03:41:42 +00:00
Kit Langton edbe1d7f2d refactor(core): migrate MessageV2 errors to Schema-backed named errors (#23764) 2026-04-21 23:40:32 -04:00
Kit Langton 5ada6e2456 refactor(core): migrate ConfigPermission.Info to Effect Schema canonical (#23740) 2026-04-21 17:33:13 -04:00
opencode-agent[bot] 3831af62b5 chore: generate 2026-04-18 16:00:01 +00:00
Kit Langton 32c3017b00 fix: detect attachment mime from file contents (#23291) 2026-04-18 11:59:08 -04:00
Kit Langton cdc1e5daf3 feat(effect-zod): add ZodPreprocess annotation for pre-parse transforms (#23222) 2026-04-18 02:02:37 +00:00
Kit Langton bb98729bb5 feat(effect-zod): translate Schema.withDecodingDefault into zod .default() (#23207) 2026-04-17 20:55:38 -04:00
Kit Langton 39c717ab2a feat(effect-zod): translate well-known filters into native Zod methods (#23209) 2026-04-17 20:50:36 -04:00
opencode-agent[bot] 14a218cb68 chore: generate 2026-04-18 00:29:26 +00:00
Kit Langton 0fd839cd9f feat(effect-zod): transform support + walk memoization + flattened checks (#23203) 2026-04-18 00:29:26 +00:00
Kit Langton abe67f0140 feat(effect-zod): add catchall (StructWithRest) support to the walker (#23186) 2026-04-18 00:29:26 +00:00
Kit Langton d3ec3f6cd6 feat(effect-zod): add tuple support; migrate config/plugin to Effect Schema (#23178) 2026-04-17 21:06:55 +00:00
Kit Langton eb2a78fd0f feat(effect-zod): translate Schema.check filters into zod .superRefine + promote LSP refinement to Effect layer (#23173) 2026-04-17 20:46:05 +00:00
Kit Langton b895e66465 fix(opencode): normalize provider metadata and tag otel runs (#23140) 2026-04-17 15:22:08 -04:00
Kit Langton 8ffb5340aa refactor: unwrap ConfigMCP namespace + self-reexport (#22948) 2026-04-16 19:52:04 -04:00
Kit Langton c311b72695 fix: remove 8 more unnecessary as any casts in opencode core (#22877) 2026-04-16 19:27:53 +00:00
Kit Langton 58db5dfccd fix: remove 7 unnecessary as any casts in opencode core (#22840) 2026-04-16 15:07:02 -04:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
Kit Langton eea507f2eb feat: enable type-aware no-base-to-string rule, fix 56 violations (#22750) 2026-04-16 03:50:47 +00:00
Kit Langton 28fca2ce79 fix: resolve circular sibling imports causing runtime ReferenceError (#22752) 2026-04-15 23:41:34 -04: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
Kit Langton 186907ef94 feat: unwrap Archive namespace to flat exports + barrel (#22722) 2026-04-16 02:52:34 +00:00
Kit Langton 228636345a fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
publish-github-action / publish (push) Has been cancelled
2026-04-15 21:33:54 -04:00
Kit Langton 39d6666dbf add experimental permission HttpApi slice (#22385) 2026-04-15 21:28:01 +00:00
Dax 4be9af983d migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Aiden Cline 748df390f4 chore: refactor log.ts, go back to glob but add sort (#22107) 2026-04-11 23:09:19 -05:00