chore(cli): rename internal marker env var to HEXCLAVE_CLI_REEXEC_MARKER

This commit is contained in:
Bilal Godil 2026-06-16 14:51:12 -07:00
parent a9c22da3bd
commit ac9271f487
2 changed files with 2 additions and 2 deletions

View File

@ -694,7 +694,7 @@ delete childEnv.HEXCLAVE_DEV_APP_COMMAND_PARENT_PID;
delete childEnv.HEXCLAVE_DEV_APP_COMMAND;
delete childEnv.HEXCLAVE_DEV_APP_COMMAND_ARGS_JSON;
// Internal to the npx auto-update handshake; never meant for the user's command.
delete childEnv.STACK_CLI_REEXEC_MARKER;
delete childEnv.HEXCLAVE_CLI_REEXEC_MARKER;
const child = spawn(command, args, {
env: childEnv,

View File

@ -15,7 +15,7 @@ export const DISABLE_AUTO_UPDATE_ENV = "STACK_CLI_NO_AUTO_UPDATE";
// exited nonzero) from an npx/install failure where our CLI never ran at all
// (e.g. npm "Lock compromised" on sandboxed/networked filesystems). Set by the
// parent on the child's env; read back by the parent after the child exits.
export const REEXEC_MARKER_ENV = "STACK_CLI_REEXEC_MARKER";
export const REEXEC_MARKER_ENV = "HEXCLAVE_CLI_REEXEC_MARKER";
const LOG_PREFIX = "[Hexclave] ";