-
Feat/execd bootstrap pre script (#901)
发布于
2026-05-19 02:50:44 +00:00 - feat(execd): support user-defined pre-script in bootstrap
Add
BOOTSTRAP_PRE_SCRIPTenv to declare a script that runs before execd
starts. The script is sourced (POSIX.) rather than executed so any
variables itexports propagate to execd and the chained command — a
subprocess would lose those exports on exit.Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
- refactor(execd): rename BOOTSTRAP_PRE_SCRIPT to EXECD_BOOTSTRAP_PRE_SCRIPT
Prefix with the component name to keep the env namespace consistent with
other execd-scoped variables (EXECD,EXECD_ENVS).Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com
Co-authored-by: Claude Opus 4.7 noreply@anthropic.com
下载附件