Packs on the command line
Loading a locale or domain pack into a CLI run with --pack, and why CI must pass it on every run.
Last updated 2026-09-13 · Generated from packages/sdk-node/bin/worklens.js + the SDK’s pack registry · Markdown
load a pack before generating; repeatable. Packs are process-local, so CI must pass them on every run — commit the pack next to the recipe and repeat the flag. Nothing ships with WorkLens, so a recipe that needs a pack needs the pack file on the command; the run fails with the missing token otherwise. Keep the pack next to the recipe, commit both, and repeat the flag in CI.
The option
- --pack FILE — load a pack before generating; repeatable. Packs are process-local, so CI must pass them on every run — commit the pack next to the recipe and repeat the flag.
A CI-shaped invocation
node packages/sdk-node/bin/worklens.js bundle recipe.wl.json --seed 42 --format json --pack ./packs/my-locale.json --out-dir runCommit the pack next to the recipe and repeat the flag on every run — packs do not persist between processes.
Bundled without a flag
- Nothing — no locale pack and no domain recipe ships; pass each with --pack
Common questions
The run says a pack is missing — what now?
The message names the token and the column that needs it. No pack ships, so draft or reuse a pack that provides it — the MCP server’s validate_recipe and plan_packs tell an agent exactly what to write — and pass it with --pack.