Open
Conversation
Contributor
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
d723f1e to
8bf098c
Compare
a1118de to
c11cb8f
Compare
Removed the @effect/language-service dependency from packages/opencode and packages/core to simplify the build and reduce unnecessary complexity. Refactored tool output handling to use a structured content array instead of flat fields. This enables richer tool responses with mixed content types (text, files) and better structured data support for future extensibility.
Prevents runtime errors by ensuring undefined attachments are converted to an empty array before spreading into the message parts. This fixes scenarios where tool responses without attachments would cause the session processor to fail.
…try details from appearing in the conversation history
Eliminates the dependency on LegacySession from the v2 HTTP API, simplifying the handler initialization by only using SessionV2. Also exports defaultLayer from SessionV2 for consistent layer provisioning.
a4febcb to
53f212c
Compare
…ined When context window overflows, users now see a summary of what was retained instead of just a generic compaction notice. This helps users understand why certain parts of the conversation may no longer be immediately accessible and what key information was preserved.
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.
Summary
session.*event types and sync metadata.Tests
bun typecheckfrompackages/opencodebun test test/session/session-entry-stepper.test.tsfrompackages/opencodebun turbo typecheck