chore: version packages#38
Merged
Merged
Conversation
0934e92 to
32bae78
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@context-chef/core@3.8.0
Minor Changes
a461ef8Thanks @MyPrototypeWhat! - Add caller-owned durable compaction helpers (provider-agnostic in core), and warn when in-flightcompressis used without persistence.@context-chef/core—planCompaction/compactHistory: the durable compaction engine, operating on the IRMessage[]so any provider path can use it.compactHistory(history, compress, options): one-shot durable compaction — splits on turn boundaries, summarizes the old slice viasummarizeHistory, and returns a new history ready to persist ([...system, <wrapped summary>, ...recent turns]). Returns the inputhistoryreference unchanged when there is nothing old enough to compact or the summarizer yields no text, so callers can skip persistence viaresult === history.compressis injected (core never calls a model directly).planCompaction(history, { keepRecentTurns }): the synchronous split, returning{ system, toSummarize, toKeep }. Cuts only on turn boundaries (an assistant + its tool results stay together), so it never orphans a tool result or splits a multi-block assistant message; system messages are preserved verbatim and never summarized. Input is a flatMessage[]with system inline.@context-chef/ai-sdk-middleware—compactHistory(prompt, model, options)/planCompaction(prompt, options): thin AI-SDK wrappers over the core engine — they convert the prompt to core's IR and back, and bind the model into the compression callback. Same signatures and behavior as before, including the no-op reference guarantee.compresskeeps firing without anonCompresshook. In-flight compression only rewrites each outgoing request — without write-back the history re-expands every call and the payload grows unbounded. Steers users towardonCompresspersistence orcompactHistoryfor sustained over-budget conversations.No behavior change to existing configurations; the new exports are additive.
@context-chef/ai-sdk-middleware@1.5.2
Patch Changes
a461ef8Thanks @MyPrototypeWhat! - Add caller-owned durable compaction helpers (provider-agnostic in core), and warn when in-flightcompressis used without persistence.@context-chef/core—planCompaction/compactHistory: the durable compaction engine, operating on the IRMessage[]so any provider path can use it.compactHistory(history, compress, options): one-shot durable compaction — splits on turn boundaries, summarizes the old slice viasummarizeHistory, and returns a new history ready to persist ([...system, <wrapped summary>, ...recent turns]). Returns the inputhistoryreference unchanged when there is nothing old enough to compact or the summarizer yields no text, so callers can skip persistence viaresult === history.compressis injected (core never calls a model directly).planCompaction(history, { keepRecentTurns }): the synchronous split, returning{ system, toSummarize, toKeep }. Cuts only on turn boundaries (an assistant + its tool results stay together), so it never orphans a tool result or splits a multi-block assistant message; system messages are preserved verbatim and never summarized. Input is a flatMessage[]with system inline.@context-chef/ai-sdk-middleware—compactHistory(prompt, model, options)/planCompaction(prompt, options): thin AI-SDK wrappers over the core engine — they convert the prompt to core's IR and back, and bind the model into the compression callback. Same signatures and behavior as before, including the no-op reference guarantee.compresskeeps firing without anonCompresshook. In-flight compression only rewrites each outgoing request — without write-back the history re-expands every call and the payload grows unbounded. Steers users towardonCompresspersistence orcompactHistoryfor sustained over-budget conversations.No behavior change to existing configurations; the new exports are additive.
Updated dependencies [
a461ef8]:@context-chef/tanstack-ai@0.5.2
Patch Changes
a461ef8]: