Version Packages#22
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 24, 2026 15:56
a860ac9 to
9f38fb6
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 25, 2026 03:11
9f38fb6 to
dbaed5f
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
@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.
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
aa4b048: Add source-targeted search.
SearchInput.sources?: string[]restricts a searchto specific provider ids (intersected with modality matching); omit it to fan out
to every configured source as before. This lets a caller scope a search-engine
operator — e.g.
site:xiaohongshu.comagainst Brave's index — to oneweb-discovery source without polluting the other providers' queries.
Selection stays fail-loud: a
sourceslist that matches no configured providerfor the requested modalities throws (a typo must not read as "no results"), while
an id that resolves to nothing when others still match is reported in
meta.warnings. Providers excluded by an explicitsourcesfilter now reportreason: 'not-selected'inmeta.providers, distinct from'unsupported-modality'.@refkit/mcp'ssearch_referencestool gains asourcesparameter (itsdescription enumerates the server's enabled source ids) and turns a
source-selection miss into an agent-friendly tool error that lists the valid ids.
@refkit/mcp@0.7.0
Minor Changes
b5bbba8:
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.
17469ad: New keyless provider
@refkit/provider-nailbook— image references from Nailbook(nailbook.jp), a large Japanese nail-design catalog. Recall is best with Japanese tag
words (マグネット, ニュアンス, ちゅるん…). Results are discovery-class: no per-item
license metadata, so each carries
license: 'unknown'+rehostPolicy: 'thumbnail-only'and gates to
needs-review(never auto-allowed) — surface the CDN thumbnail only, neverrehost the original.
Rather than scraping the client-rendered
/design/list HTML (whose embedded bootstrapcarries photo IDs but no image URLs), the provider calls the same JSON endpoint the site's
own frontend uses (
POST /api/web/photo/search), returning full photo objects in onerequest. Each
search()makes exactly one request with no multi-page fan-out.@refkit/mcpboots Nailbook in its zero-config keyless default set.431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
aa4b048: Add source-targeted search.
SearchInput.sources?: string[]restricts a searchto specific provider ids (intersected with modality matching); omit it to fan out
to every configured source as before. This lets a caller scope a search-engine
operator — e.g.
site:xiaohongshu.comagainst Brave's index — to oneweb-discovery source without polluting the other providers' queries.
Selection stays fail-loud: a
sourceslist that matches no configured providerfor the requested modalities throws (a typo must not read as "no results"), while
an id that resolves to nothing when others still match is reported in
meta.warnings. Providers excluded by an explicitsourcesfilter now reportreason: 'not-selected'inmeta.providers, distinct from'unsupported-modality'.@refkit/mcp'ssearch_referencestool gains asourcesparameter (itsdescription enumerates the server's enabled source ids) and turns a
source-selection miss into an agent-friendly tool error that lists the valid ids.
Patch Changes
@refkit/provider-artic@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-brave@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-europeana@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-flickr@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-freesound@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-gutendex@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-internet-archive@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-jamendo@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-met@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-nailbook@0.1.0
Minor Changes
17469ad: New keyless provider
@refkit/provider-nailbook— image references from Nailbook(nailbook.jp), a large Japanese nail-design catalog. Recall is best with Japanese tag
words (マグネット, ニュアンス, ちゅるん…). Results are discovery-class: no per-item
license metadata, so each carries
license: 'unknown'+rehostPolicy: 'thumbnail-only'and gates to
needs-review(never auto-allowed) — surface the CDN thumbnail only, neverrehost the original.
Rather than scraping the client-rendered
/design/list HTML (whose embedded bootstrapcarries photo IDs but no image URLs), the provider calls the same JSON endpoint the site's
own frontend uses (
POST /api/web/photo/search), returning full photo objects in onerequest. Each
search()makes exactly one request with no multi-page fan-out.@refkit/mcpboots Nailbook in its zero-config keyless default set.431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-openverse@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-pexels@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-pixabay@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-poetrydb@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-polyhaven@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-rijksmuseum@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-smithsonian@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-unsplash@0.3.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-wikimedia-commons@0.4.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes
@refkit/provider-testkit@0.1.0
Minor Changes
431d834: Provider resource declarations: open
ResourceKindvocabulary with optionalkinds+descriptionon providers andkindon references; declaration-gatedkind routing (a kind-filtered search skips providers whose declared
kindslack the value, with a new
unsupported-kindskip reason) composed with theexisting
sourcesid filter; MCP tool schema, per-provider source list, andthe
modalities/media.kindenums now derived from registered providerdeclarations at startup.
Note: the MCP
modalitiesinput enum is now deployment-dependent (derivedfrom the registered providers). A request naming a modality no registered
provider supports is now rejected at the schema boundary — previously a
fully-unsupported request threw at search time, and a mixed request (e.g.
image+audio against an image-only deployment) returned the supported subset.
Fail-loud at the boundary is intentional.
Patch Changes