Repository navigation
v1.0.31 — Fetch an engine ahead of time
You can now download a Xano Engine ahead of time, so a later deploy --local runs with no network.
npm install @xano/sdk@1.0.31local cache fetch downloads an engine before you need it
xanosdk local cache fetch downloads the latest Xano Engine for this computer into the SDK's engine cache, and --version v0.2.17 downloads that version. It checks the download against its published SHA-256, as a deploy does.
It works from any folder, with or without a project, and it never reads or moves a project's engine pin. A later deploy --local on that version finds it cached and downloads nothing, even offline.
- A version that's already cached is reported and not downloaded again. With
--version, the check needs no network. --jsonprints{ "version", "downloaded", "path" }.- With
XANOSDK_ENGINE_OVERRIDEset, it fetches nothing and says why ("skipped": "override"). - With a custom
XANOSDK_ENGINE_RELEASES_URL, it refuses, aslocal updatedoes: engines from another release manager are never cached by version.
Xano Studio runs it when it starts, so a project's backend keeps working after the computer goes offline.