feat: add native session goals#1
Open
jorgitin02 wants to merge 366 commits into
Open
Conversation
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.
…co#27016) Co-authored-by: Simon Klee <hello@simonklee.dk>
4cbd99f to
8b458e9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #
Type of change
What does this PR do?
Adds native session goal support to OpenCode, including backend persistence, runtime continuation, model-facing goal tools, and CLI/app surfaces so goals are handled by the shared server/runtime instead of a custom slash command.
How did you verify your code works?
Ran targeted OpenCode package tests and typecheck locally, including goal persistence, goal continuation, session HTTP API, and prompt tool coverage.
Screenshots / recordings
N/A
Checklist