New manifest features driven by real dogfooding, plus a proper activate/deactivate pair for projects.
Added
[project].env_files— extra.envpaths loaded alongside the project root's own.env. Used bystack up,stack doctor --project, andstack load-env, which now falls back to the root.envplus any declaredenv_fileswhen no explicit path is given, instead of hard-failing when.envisn't at the project root.[language.*].venv— a project's virtualenv directory, folded into the existing ambientstack activatePATH-building. No more.venv\Scripts\activatestep — justcdin, same as everything else stack manages.stack doctor --projectreports whether it exists.[script.<name>]+stack run <name>— named, project-scoped commands (migrations, tests, seed scripts, ...), run in the foreground. Supports multi-step sequences (a TOML array or a multi-line string, one step per line), stops at the first failing step with its exit code, forwards trailing args to the last step (stack run test -- -k foo), gets the same language/venv PATH asstack up, andstack runalone lists what's declared. Goes through its own lazy trust-on-first-use, checked only when a script is actually run.- Commands can now be written as a multi-line string or a TOML array (
CommandSpec), split into sequential steps — currently used by[script.*]only.
Changed
stack deactivatenow also suppresses the current directory's project activation (PATH, prompt indicator), not just an explicitly-activated profile. Previously the only way to turn off project activation was to leave the directory entirely. It stays suppressed while you're inside that project and clears itself automatically the moment you actually leave, so a later visit reactivates normally.stack activatewith no shell argument is a new explicit command that reactivates a suppressed project without leaving its directory — the counterpart tostack deactivate, distinct fromstack activate <shell>(used internally by the shell hook on every prompt).
Install
irm https://github.com/sanayasfp/stack/releases/latest/download/stackenv-installer.ps1 | iexor
cargo install stackenv