Version Packages#22
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
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
@refkit/core@0.8.0
Minor Changes
b5bbba8: Shrink the load-more cursor to roughly half its size:
meta.nextCursoris nowa binary-packed base64url string (magic + version + page + raw fnv1a uint32
seen-keys) instead of v1's JSON array of base36 hash strings — a full 500-entry
cursor drops from ~5k to ~2.7k chars. Cursors ride inside LLM tool outputs
downstream (and get replayed through conversation history), so every char
counts; ~2.7k also clears consumers that clamp tool-output strings at 4k.
The cursor stays opaque and self-contained: pass back
meta.nextCursor, getthe next deduped batch, no caller-side bookkeeping, no client instance state.
Anything else — including a v1 JSON cursor from a previous release — still
fails loudly with "invalid cursor" rather than quietly restarting from page 1
(cursors are short-lived load-more state, not durable ids; there is no v1
migration).
New
createRefkit({ maxCursorSeen })caps how many already-returned keys thecursor remembers (default unchanged at 500, most recent kept, ~5.4 chars each)
for callers who want an even tighter cursor and can accept re-showing
long-evicted results sooner.
Infinitydisables the cap; the effective flooris the batch just returned, so a too-small cap can never make load-more repeat
the batch it just handed back.
Hardening over v1, both restoring guarantees the removed zod schema provided:
an out-of-uint32-range
controls.page(negative, fractional,NaN, ≥ 2^32)encodes as a poison cursor that fails loudly on the next call instead of
silently wrapping to a different page, and non-canonical base64url (tampered
trailing bits) is rejected rather than silently aliased to a valid cursor.
@refkit/mcp@0.7.0
Minor Changes
REFKIT_MAX_CURSOR_SEENenv var for the zero-config CLI: caps how manyalready-returned keys the load-more cursor remembers (core's
maxCursorSeen),for hosts that clamp tool-output strings — the default 500-key cursor is ~2.7k
chars;
REFKIT_MAX_CURSOR_SEEN=200brings it near ~1.1k. Invalid values warnon stderr and fall back to the core default.
Patch Changes
@refkit/provider-artic@0.2.5
Patch Changes
@refkit/provider-brave@0.2.5
Patch Changes
@refkit/provider-europeana@0.3.3
Patch Changes
@refkit/provider-flickr@0.3.3
Patch Changes
@refkit/provider-freesound@0.3.3
Patch Changes
@refkit/provider-gutendex@0.2.6
Patch Changes
@refkit/provider-internet-archive@0.3.3
Patch Changes
@refkit/provider-jamendo@0.3.3
Patch Changes
@refkit/provider-met@0.2.5
Patch Changes
@refkit/provider-openverse@0.3.3
Patch Changes
@refkit/provider-pexels@0.2.5
Patch Changes
@refkit/provider-pixabay@0.2.5
Patch Changes
@refkit/provider-poetrydb@0.2.5
Patch Changes
@refkit/provider-polyhaven@0.2.4
Patch Changes
@refkit/provider-rijksmuseum@0.2.4
Patch Changes
@refkit/provider-smithsonian@0.2.5
Patch Changes
@refkit/provider-unsplash@0.2.5
Patch Changes
@refkit/provider-wikimedia-commons@0.3.3
Patch Changes
@refkit/provider-testkit@0.0.5
Patch Changes