Mere Dev
@jeremy/mere-devv2026.07.23.1
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.
02Models
@jeremy/mere-devv2026.07.23.1mod.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| mereVersion | string | Mere version to use. 'latest' resolves from Codeberg releases API, or pin e.g. '0.15.2'. |
| mereRoot | string | Dedicated 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.
| Argument | Type | Description |
|---|---|---|
| recipe | string | Absolute 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.
| Argument | Type | Description |
|---|---|---|
| source | string | Local file path or URL to download and hash |
fn devLog(recipe?: string, tail?: number)
Read the most recent build log from the dev workspace
| Argument | Type | Description |
|---|---|---|
| recipe? | string | Recipe name to filter for (e.g. 'dinit'). If omitted, returns the most recent log. |
| tail? | number | Return 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
| Argument | Type | Description |
|---|---|---|
| repo | string | Target repository name (resolved from /mere/dev/repo/<name>/) or |
| packages? | array | Optional list of specific package files (.pkg.tar.zst) to import. |
| force? | boolean | Replace 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 Versions
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