1.1 KiB
AGENTS.md — Repository scripts
Gate scripts invoke pnpm shell-free, normalize repository-relative glob paths to / at ingestion, and keep platform adaptation in the gate that needs it instead of a shared platform layer.
Air-gap dependency caches live under ignored .offline-store/ and .offline-cache/; offline/download-deps prefetches the official Node distro and lockfile while networked, and offline/install-deps unpacks that Node, then runs pnpm install --offline from the store (POSIX twins: .sh). Run download and install on the same OS and CPU. DSH_NPM_HTTP_PROXY overlays HTTP proxy env only for Corepack/pnpm and restores the caller session; curl keeps inherited SOCKS or HTTP. These scripts do not fetch LLM weights or a local inference server. The root dsh script runs run-source-dsh.ts, which respawns Node with HTTP proxy variables from DSH_HTTP_PROXY or gitignored .dsh-http-proxy.env so fetch binds them at process start — not the calling shell, and not .env, which rejects bootstrap proxy names.