v0.1.5
Isolated run environment, worktree mode, and smarter dep dirs.
Five new commands, per-package dependency symlinks, git linked worktree support, and full MCP coverage for agent-driven workflows.
New commands
- new
cow run <name> <cmd>— runs a command inside a pasture's working directory. Auto-detects the package manager from lockfiles and injects shims so install subcommands write to the pasture-localnode_modulesrather than the shared source. SetsCOW_PASTURE,COW_SOURCE, andCOW_PASTURE_PATHenv vars for the subprocess. - new
cow materialise <name>— replaces symlinked dependency directories in a pasture with real APFS clonefiles, making the pasture fully independent of the source. - new
cow fetch-from <from>— fetches all refs from another pasture into this one, enabling cross-pasture rebase without touching any remote. - new
cow recreate <name>— removes a pasture and re-creates it from the same source, optionally on a different branch. - new
cow install— sets up thecowcdshell function and tab completion in~/.zshrc(zsh) or~/.bashrc(bash) automatically. Idempotent.
cow create
- new
--worktreeflag — creates a git linked worktree instead of an APFS clone. All worktree pastures share the same.git/objects/pack store, so cross-pasture rebase works without any remote dance. - improved Dependency directories (
node_modules,vendor,.venv,Pods, etc.) are now handled with per-package symlinks: each top-level entry is symlinked individually so existing packages are instantly available and new installs write locally to the pasture. - new
--no-symlinkflag — skips large-directory detection and always performs a full clone.
jj
- improved
cow statusandcow listnow show changed instead of dirty for jj pastures, reflecting jj semantics where the working copy is always materialised as a commit.
MCP
- new
cow_migrate,cow_materialise,cow_fetch_from, andcow_runtools added to the MCP server, completing full command coverage for agent-driven workflows.