Skip to main content

Mere Dev

@jeremy/mere-devv2026.07.23.1· 2d agoMODELS
01README

Mere recipe development workflow: build recipes, hash sources, import local packages, and read build logs. Invokes mere directly without a shell wrapper — separate from mere-shell which is for ad-hoc commands in a namespace.

02Models1
@jeremy/mere-devv2026.07.23.1mod.ts

Global Arguments

ArgumentTypeDescription
mereVersionstringMere version to use. 'latest' resolves from Codeberg releases API, or pin e.g. '0.15.2'.
mereRootstringDedicated root path for the mere tree. Empty = auto ($SWAMP_REPO_DIR/.swamp/mere-dev/root).
fn build(recipe: string)
Build a recipe using `mere dev build`. Manages its own namespace — do not wrap in mere shell.
ArgumentTypeDescription
recipestringAbsolute path to the recipe.kdl file to build
fn hash(source: string)
Compute the blake3 hash of a local file or download a URL and hash it.
ArgumentTypeDescription
sourcestringLocal file path or URL to download and hash
fn devLog(recipe?: string, tail?: number)
Read the most recent build log from the dev workspace
ArgumentTypeDescription
recipe?stringRecipe name to filter for (e.g. 'dinit'). If omitted, returns the most recent log.
tail?numberReturn only the last N lines (useful for large logs)
fn import(repo: string, packages?: array, force?: boolean)
Import package archives into a mere dev repository so they can be
ArgumentTypeDescription
repostringTarget repository name (resolved from /mere/dev/repo/<name>/) or
packages?arrayOptional list of specific package files (.pkg.tar.zst) to import.
force?booleanReplace existing packages if they already exist in the repository.

Resources

build-result(infinite)— Recipe build result with exit code and output
hash-result(infinite)— Source hash result
dev-log(infinite)— Dev build log content
import-result(infinite)— Package import result
03Previous Versions2
2026.07.21.2
2026.07.21.1
04Stats
A
100 / 100
Downloads
0
Archive size
9.0 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels