v0.13.1
Correctness pass on the shell-hook work + fixes the explicit-env export regression from 0.13.0.
Added
envpkt init --globalscaffolds an ambient package withscope = "shell"baked in; a plain
--scope <shell|exec>flag scaffolds either explicitly. (The global package is the one meant to
load ambiently — so its generator now defaults it correctly instead of the project default.)envpkt shell-hook --no-auditomits the on-cdcredential-health line from the emitted hook
(for slower machines where the per-entryauditspawn isn't wanted).
Changed
envpkt env exportemits secrets again on the explicit path;scopenow gates only the
ambient hook (--track). 0.13.0 gated allenv export, which brokeeval "$(envpkt env export)"setups that load a package's secrets at login. Plainenv exportnow behaves like
0.12.0 (emits everything); onlyenv export --track— the path the shell hook uses — respects
scope. So explicit invocations never silently withhold, while ambientcd-loading stays
scoped. (Reverts the 0.13.0 breaking change on the explicit path.)
Fixed
- The shell hook now surfaces a missing-key error on
cdinstead of swallowing it. The hook
no longer2>/dev/nulls the inject, andenv export --trackis quiet on success (so there's no
routine-warning noise) but prints aSealKeyUnavailableerror — now rendered with the searched
key paths and remediation informatError, not just the bare tag. - bash hook handles an array-valued
PROMPT_COMMAND(bash ≥5.1): it appends to the array
rather than string-concatenating (which previously discarded all but the first element).
Full Changelog: v0.13.0...v0.13.1