Commit Graph

41 Commits

Author SHA1 Message Date
Shoubhit Dash 44b1202328 refactor(project): import instance context directly (#27714) 2026-05-15 15:59:56 +05:30
Dax Raad 91c24ed8e9 core: fix event projector lookup to use versioned type keys
Fixes a bug where projectors were stored with Definition object references
as Map keys but lookups were failing due to object identity mismatches.
Now uses versioned type strings as keys, ensuring events are correctly
matched to their projectors during sync processing.

This fixes issues where certain events would not be properly projected
to the read model, causing stale or missing data in views.
2026-05-14 22:52:03 -04:00
Dax Raad c2b3625368 more test fixes 2026-05-14 22:45:09 -04:00
Dax Raad 4b7bb55250 test fixes 2026-05-14 22:32:38 -04:00
Dax Raad 4ca3bcf42b fix: remove debug logging 2026-05-14 22:13:15 -04:00
Dax Raad b54c480e59 fix missing event types in sdk 2026-05-14 21:57:25 -04:00
Dax caa9275323 Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
opencode-agent[bot] b915354a71 chore: generate 2026-05-13 14:50:34 +00:00
Shoubhit Dash a8ed9a9121 refactor(flags): route sync workspaces through runtime flags (#27336) 2026-05-13 20:18:06 +05:30
Kit Langton 693e9d3450 Drop unused opencode Zod statics (#26935) 2026-05-11 17:14:18 -04:00
Kit Langton 0f862037ff Drop unused small ID Zod statics (#26908) 2026-05-11 13:22:59 -04:00
Kit Langton 712ef9b9c7 Drop synchronous SyncEvent facades (#26789) 2026-05-11 01:53:50 +00:00
Kit Langton c9a95c70c1 Remove redundant ID Zod overrides (#26633) 2026-05-09 23:12:21 -04:00
Dax 4ae8dd80c3 Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton c645e13e2a research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
James Long 78edbb9df5 feat(core): session warping (#25768) 2026-05-04 21:28:38 -04:00
Dax cdf3760d79 Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
luo jiyin 39e9bd8873 fix: correct documentation typos (#25260) 2026-05-01 12:05:06 +02:00
Kit Langton 30272ee106 refactor(sync): capture instance context for publish (#25206) 2026-04-30 21:45:02 -04:00
Kit Langton 83175c48a9 Add SyncEvent service (#25158) 2026-04-30 16:45:26 -04:00
Kit Langton 584064d2c9 Prepare Effect HttpApi backend parity (#24853) 2026-04-29 09:34:50 -04:00
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -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
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
opencode-agent[bot] fb7ba132fd chore: generate 2026-04-23 16:44:32 +00:00
Kit Langton baa1493582 refactor(sync): make session events schema-first (#24019) 2026-04-23 12:43:08 -04:00
Kit Langton 21362c2939 refactor(core): derive all schema.ts leaves' .zod via effect-zod walker (#23754) 2026-04-21 22:51:18 -04:00
Kit Langton 77a901069b refactor: collapse sync barrel into sync/index.ts (#22907) 2026-04-16 20:34:33 +00:00
James Long 23cd589656 fix(core): better global sync event structure (#22858) 2026-04-16 12:35:37 -04:00
Kit Langton 97d87eac9f feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -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 f53f31d33f feat: enable oxlint suspicious category, fix 24 violations (#22727)
publish-github-action / publish (push) Has been cancelled
2026-04-16 02:53:10 +00:00
Kit Langton b78e5c1962 feat: unwrap usync namespace to flat exports + barrel (#22716) 2026-04-16 02:15:46 +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
James Long 4aa52779d0 feat(core): sync routes, refactor proxy, session restore, and more syncing (#22518) 2026-04-15 10:18:48 -04:00
James Long 0ee6e47bde refactor(core): publish sync events to global event stream (#22347) 2026-04-13 16:51:59 -04:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
James Long a37b37d00c rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896) 2026-04-10 13:03:20 -04:00
opencode-agent[bot] a53518d64b chore: generate 2026-03-25 14:48:44 +00:00
James Long 87d41cd5ac feat(core): initial implementation of syncing (#17814) 2026-03-25 10:47:40 -04:00