Skip to content

feat: add native session goals#1

Open
jorgitin02 wants to merge 366 commits into
devfrom
feat/session-goals
Open

feat: add native session goals#1
jorgitin02 wants to merge 366 commits into
devfrom
feat/session-goals

Conversation

@jorgitin02
Copy link
Copy Markdown
Owner

@jorgitin02 jorgitin02 commented May 15, 2026

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

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

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

kitlangton and others added 30 commits May 13, 2026 01:24
thdxr and others added 28 commits May 14, 2026 22:45
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.
@jorgitin02 jorgitin02 force-pushed the feat/session-goals branch from 4cbd99f to 8b458e9 Compare May 15, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.