env-builder.ts 816 B

123456789101112131415161718192021222324
  1. /**
  2. * Child-process environment builder — re-exported from `@mavis/shared` so the
  3. * runtime-boundary key lists live in a single lower-layer home that both the
  4. * config package and the bash-subprocess-env sanitizer (in `@mavis/agent-core`)
  5. * can share without a package-boundary violation.
  6. *
  7. * The implementation moved to `@mavis/shared/runtime-boundary-env`; this file
  8. * keeps the historical `@mavis/config` import surface stable.
  9. *
  10. * @module
  11. */
  12. export {
  13. MANAGED_RUNTIME_KEYS,
  14. LEGACY_RUNTIME_ENV_KEYS,
  15. RUNTIME_IDENTITY_KEYS,
  16. PARENT_HINT_KEYS,
  17. ASR_PROXY_AUTH_ENV_KEYS,
  18. buildChildEnv,
  19. stripManagedRuntimeEnv,
  20. stripRuntimeBoundaryKeysFrom,
  21. findLegacyRuntimeEnvKeys,
  22. } from '@mavis/shared/runtime-boundary-env';
  23. export type { BuildChildEnvMode } from '@mavis/shared/runtime-boundary-env';