fetch

command
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command fetch stages the pinned native artifacts of one target in .runtime/native/<goos>-<goarch>/, the layout the production loaders read beside the executable. Run it from the repository root:

go run ./native/fetch [-target goos/goarch] [-artifacts dir] [-bundle dir] [-host]
go run ./native/fetch -seal path [-target goos/goarch] [-host] [-sign identity]

Downloads come only from the official release URLs in the lock files under native/ and internal/localmodels/decision, are checked against their pinned size and SHA-256, and are cached in .runtime/native/dl. The Turso and capture builds are taken from the CI native job's artifacts (-artifacts, checked against its SHA256SUMS), or from an earlier local build already in the output directory. Windows artifacts also carry the app-local Microsoft C++ runtime and its original notices. libghostty-vt is not handled here; `mygo build` downloads it from the terminal plugin's manifest.

-seal is the step after packaging and signing. It records the shipped native libraries in native-seal.json, the lock of the libraries that have no upstream pin and, inside a signed macOS application, of the ones signing rewrote. For a macOS .app it also rewrites the llama.cpp and Python manifests from the signed files and signs the bundle again, so the code signature covers the new records. Nested code is not signed again.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL