@plurnk/plurnk-models 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,6 +43,15 @@ relays this is commonly `publisher/model`. `resolveModel()` also accepts an
43
43
  unambiguous provider-native suffix. `catalogSnapshot()` and
44
44
  `providerCatalogSnapshot()` expose the complete read-only maps.
45
45
 
46
+ ## XDG catalog cache (`update`)
47
+
48
+ Startup and inference make zero implicit Models.dev network calls. Explicit
49
+ `updateCatalogCache(cachePath, options)` refreshes `$XDG_CACHE_HOME/plurnk/models.json`
50
+ (conditional ETag revalidation, backing `plurnk-service update`, `plurnk update`,
51
+ and `/update`), `loadCatalogCache(cachePath)` overlays a newer cache over the
52
+ shipped snapshot, and `resetCatalog()` restores the shipped snapshot
53
+ ({§model-catalog-cache}).
54
+
46
55
  ## Resolution boundary
47
56
 
48
57
  This package owns snapshot generation and lookup, not runtime precedence.