diff --git a/.changeset/polyhaven-relevance.md b/.changeset/polyhaven-relevance.md deleted file mode 100644 index 9f1cd21..0000000 --- a/.changeset/polyhaven-relevance.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@refkit/provider-polyhaven': patch ---- - -Poly Haven results are ranked by how well they match the query, then by popularity. A query word found as a word of an asset's name or id counts most, then a tag or category, then a match inside a longer word; ties go to the most-downloaded asset. Before, most matches tied and kept Poly Haven's alphabetical order, so "sunset HDRI" returned `aarfontein_dawn_2`, `aarfontein_dusk` and the like instead of the popular sunset skies. An empty query now lists the most-downloaded assets first. Query words may be in any script (`crème`, `日落`); a query that matches no asset, including one made only of punctuation, returns nothing. - -The asset list (about 1 MB per asset type) is downloaded once and reused for an hour by each provider instance, instead of on every search. Change that with the new `listTtlMs` option; `0` turns the cache off. A shared list download still unfinished after 30 seconds fails the searches waiting on it; if a host allows Poly Haven searches longer than that, `listTtlMs: 0` restores one download per search, bounded only by the host's own timeout. diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index adccc4c..acac515 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,12 @@ # @refkit/mcp +## 0.9.2 + +### Patch Changes + +- Updated dependencies [b2963ef] + - @refkit/provider-polyhaven@0.5.2 + ## 0.9.1 ### Patch Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 2e4661f..cd23ac8 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@refkit/mcp", - "version": "0.9.1", + "version": "0.9.2", "description": "MCP server for refkit — exposes license-normalized reference search as an agent tool.", "type": "module", "license": "Apache-2.0", diff --git a/packages/provider-polyhaven/CHANGELOG.md b/packages/provider-polyhaven/CHANGELOG.md index fd8997d..2fd9990 100644 --- a/packages/provider-polyhaven/CHANGELOG.md +++ b/packages/provider-polyhaven/CHANGELOG.md @@ -1,5 +1,13 @@ # @refkit/provider-polyhaven +## 0.5.2 + +### Patch Changes + +- b2963ef: Poly Haven results are ranked by how well they match the query, then by popularity. A query word found as a word of an asset's name or id counts most, then a tag or category, then a match inside a longer word; ties go to the most-downloaded asset. Before, most matches tied and kept Poly Haven's alphabetical order, so "sunset HDRI" returned `aarfontein_dawn_2`, `aarfontein_dusk` and the like instead of the popular sunset skies. An empty query now lists the most-downloaded assets first. Query words may be in any script (`crème`, `日落`); a query that matches no asset, including one made only of punctuation, returns nothing. + + The asset list (about 1 MB per asset type) is downloaded once and reused for an hour by each provider instance, instead of on every search. Change that with the new `listTtlMs` option; `0` turns the cache off. A shared list download still unfinished after 30 seconds fails the searches waiting on it; if a host allows Poly Haven searches longer than that, `listTtlMs: 0` restores one download per search, bounded only by the host's own timeout. + ## 0.5.1 ### Patch Changes diff --git a/packages/provider-polyhaven/package.json b/packages/provider-polyhaven/package.json index 3b2390d..35643ef 100644 --- a/packages/provider-polyhaven/package.json +++ b/packages/provider-polyhaven/package.json @@ -1,6 +1,6 @@ { "name": "@refkit/provider-polyhaven", - "version": "0.5.1", + "version": "0.5.2", "description": "Poly Haven provider satellite for refkit.", "type": "module", "license": "Apache-2.0", diff --git a/plugins/refkit/.claude-plugin/plugin.json b/plugins/refkit/.claude-plugin/plugin.json index e9fc295..d05c0b8 100644 --- a/plugins/refkit/.claude-plugin/plugin.json +++ b/plugins/refkit/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "refkit", "displayName": "refkit", - "version": "0.9.1", + "version": "0.9.2", "description": "License-aware reference search for creative work: find images, art, textures, audio and text across open sources, with a use verdict and attribution line per result.", "author": { "name": "refkitjs", diff --git a/plugins/refkit/.codex-plugin/plugin.json b/plugins/refkit/.codex-plugin/plugin.json index a92a39e..4428fbf 100644 --- a/plugins/refkit/.codex-plugin/plugin.json +++ b/plugins/refkit/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "refkit", - "version": "0.9.1", + "version": "0.9.2", "description": "License-aware reference search for creative work: find images, art, textures, audio and text across open sources, with a use verdict and attribution line per result.", "author": { "name": "refkitjs", diff --git a/plugins/refkit/.mcp.json b/plugins/refkit/.mcp.json index cb885ea..2e540ea 100644 --- a/plugins/refkit/.mcp.json +++ b/plugins/refkit/.mcp.json @@ -4,7 +4,7 @@ "command": "npx", "args": [ "-y", - "@refkit/mcp@0.9.1" + "@refkit/mcp@0.9.2" ] } }