{"_id":"@alexgorbatchev/pi-env","_rev":"5-ef1c713621772a4c4026f3b8af0bdf25","name":"@alexgorbatchev/pi-env","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"@alexgorbatchev/pi-env","version":"0.0.1","keywords":["pi-package","pi-extension","env","configuration"],"author":{"name":"Alex Gorbatchev"},"license":"MIT","_id":"@alexgorbatchev/pi-env@0.0.1","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/pi-env#readme","bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"5dfdbf3d3ec569ec7a5adf629e20202790ce1aab","tarball":"https://registry.npmjs.org/@alexgorbatchev/pi-env/-/pi-env-0.0.1.tgz","fileCount":5,"integrity":"sha512-aPqGhZyMKo2J/HmZDOodCdXewEXZhpYayCG+XthtSxRLs8ndnS114ag1m1U1gie7n6g7M9sKHzpvixEYdo8RGw==","signatures":[{"sig":"MEUCIEQrAJMYrRFWnFwDu4V3vDtmJoIt5YE8hpJP2Wty52GSAiEA2JpPuReeJfkswgYYKsnSV2+4uvOOS+RysNU4JEcPVQM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5419},"type":"module","gitHead":"8433a88b3f9a893d68e4a95472de636cf158c094","scripts":{"test":"PI_OFFLINE=1 bun x pi --no-extensions -e ./src/index.ts --list-models > /dev/null 2>&1","check":"bun --bun oxfmt --write . && bun --bun oxlint . && tsgo --noEmit","test:local":"bun x pi -e ./src/index.ts"},"_npmUser":{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"},"repository":{"url":"git+https://github.com/alexgorbatchev/pi-env.git","type":"git"},"_npmVersion":"11.9.0","description":"Pi extension that injects environment variables from project config settings.","directories":{},"_nodeVersion":"24.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.44.0","oxlint":"^1.59.0","typescript":"6.0.2","@types/node":"25.5.2","@typescript/native-preview":"7.0.0-dev.20260407.1","@mariozechner/pi-coding-agent":"0.65.2","@alexgorbatchev/typescript-ai-policy":"^1.0.5"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-env_0.0.1_1775620606150_0.8236041113413899","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@alexgorbatchev/pi-env","version":"0.0.2","keywords":["pi-package","pi-extension","env","configuration"],"author":{"name":"Alex Gorbatchev"},"license":"MIT","_id":"@alexgorbatchev/pi-env@0.0.2","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/pi-env#readme","bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"d2f95e43f81949e6016a51774a6c1d497589c039","tarball":"https://registry.npmjs.org/@alexgorbatchev/pi-env/-/pi-env-0.0.2.tgz","fileCount":5,"integrity":"sha512-BOyqNfwQmTXv5Vm8eAVZKHUYz4l+DoZIgtmL3PM2zHZQeMQMsPebcpCUhK9ZsEQmaWUKOoFthrZ018MDVlMk8Q==","signatures":[{"sig":"MEUCIQC6IEAG4nkP3FsXHNXphfvl5h7ct4DiVss/EutC/7DTUQIgNsncXloRyGPvvm3dnk9L3PE1jMdWyk1uyoqR2hsxzrk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexgorbatchev%2fpi-env@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5419},"type":"module","gitHead":"bcd12679ebec1a2963bcd8ba2f262f946949a9f3","scripts":{"test":"PI_OFFLINE=1 bun x pi --no-extensions -e ./src/index.ts --list-models > /dev/null 2>&1","check":"bun --bun oxfmt --write . && bun --bun oxlint . && tsgo --noEmit","test:local":"bun x pi -e ./src/index.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dcc94a5f-1440-4103-b849-090889d5bfbf"}},"repository":{"url":"git+https://github.com/alexgorbatchev/pi-env.git","type":"git"},"_npmVersion":"11.11.0","description":"Pi extension that injects environment variables from project config settings.","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.44.0","oxlint":"^1.59.0","typescript":"6.0.2","@types/node":"25.5.2","@typescript/native-preview":"7.0.0-dev.20260407.1","@mariozechner/pi-coding-agent":"0.65.2","@alexgorbatchev/typescript-ai-policy":"^1.0.5"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-env_0.0.2_1775620884824_0.6520567634726746","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@alexgorbatchev/pi-env","version":"1.0.0","keywords":["pi-package","pi-extension","env","configuration"],"author":{"name":"Alex Gorbatchev"},"license":"MIT","_id":"@alexgorbatchev/pi-env@1.0.0","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/pi-env#readme","bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"d4d16ba6a97338e131ba0816462b71c2580f6be6","tarball":"https://registry.npmjs.org/@alexgorbatchev/pi-env/-/pi-env-1.0.0.tgz","fileCount":5,"integrity":"sha512-Zp1AmCm3zfRXoR5jIGxpxNlYsqsLSOb7Bh8sed++wUgo5w7MUQEDUaf4mk4nEWVjrVvs8R8nTEsslLKH8vYJTg==","signatures":[{"sig":"MEQCIAt3rMYtH5FFqAtI3ugy+6y5o143uMwdw6vbOL32QGwtAiADT3aFlgq/VbWeeIiZ3bhEJfCzcFWpOKjy0AgWgSxvkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexgorbatchev%2fpi-env@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5663},"type":"module","gitHead":"20f3bc1c6da31ce571ba5a4c680868def26129ce","scripts":{"test":"PI_OFFLINE=1 bun x pi --no-extensions -e ./src/index.ts --list-models > /dev/null 2>&1","check":"bun --bun oxfmt --write . && bun --bun oxlint . && tsgo --noEmit","test:local":"bun x pi -e ./src/index.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dcc94a5f-1440-4103-b849-090889d5bfbf"}},"repository":{"url":"git+https://github.com/alexgorbatchev/pi-env.git","type":"git"},"_npmVersion":"11.11.0","description":"Pi extension that injects environment variables from project config settings.","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.44.0","oxlint":"^1.59.0","typescript":"6.0.2","@types/node":"25.5.2","@typescript/native-preview":"7.0.0-dev.20260407.1","@mariozechner/pi-coding-agent":"0.65.2","@alexgorbatchev/typescript-ai-policy":"^1.0.5"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-env_1.0.0_1775621986079_0.11323892277769643","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@alexgorbatchev/pi-env","version":"1.0.2","keywords":["pi-package","pi-extension","env","configuration"],"author":{"name":"Alex Gorbatchev"},"license":"MIT","_id":"@alexgorbatchev/pi-env@1.0.2","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"homepage":"https://github.com/alexgorbatchev/pi-env#readme","bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"pi":{"extensions":["./src/index.ts"]},"dist":{"shasum":"d5815a71a04908f07b3fd79e11fe280c475e53dc","tarball":"https://registry.npmjs.org/@alexgorbatchev/pi-env/-/pi-env-1.0.2.tgz","fileCount":5,"integrity":"sha512-Et13vS2vc+MdIebUQ/W5i+R4AYeEZrgLntLvnSCSxNwslSEVafbUAKMRNnjLlsEehQ79SGNez8rrFx8LPPkQZg==","signatures":[{"sig":"MEUCIQCUzh33Knln9qtY6dXtscfbz4PuQNlCeupuL7iTgUCeiQIgLRNXN2X9P5mMakiwWAGSS39thA+omzkz/6MfkqqW/3w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexgorbatchev%2fpi-env@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7041},"type":"module","gitHead":"6d6d6a4f5fb97fed3f6b2b7e87409582fbfa84c5","scripts":{"test":"PI_OFFLINE=1 bun x pi --no-extensions -e ./src/index.ts --list-models > /dev/null 2>&1","check":"bun --bun oxfmt --write . && bun --bun oxlint . && tsgo --noEmit","test:local":"bun x pi -e ./src/index.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dcc94a5f-1440-4103-b849-090889d5bfbf"}},"repository":{"url":"git+https://github.com/alexgorbatchev/pi-env.git","type":"git"},"_npmVersion":"11.11.0","description":"Pi extension that injects environment variables from project config settings.","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.44.0","oxlint":"^1.59.0","typescript":"6.0.2","@types/node":"25.5.2","@typescript/native-preview":"7.0.0-dev.20260407.1","@mariozechner/pi-coding-agent":"0.65.2","@alexgorbatchev/typescript-ai-policy":"^1.0.5"},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_npmOperationalInternal":{"tmp":"tmp/pi-env_1.0.2_1775624743872_0.347859803026916","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@alexgorbatchev/pi-env","version":"1.0.3","description":"Pi extension that injects environment variables from project config settings.","type":"module","author":{"name":"Alex Gorbatchev"},"license":"MIT","homepage":"https://github.com/alexgorbatchev/pi-env#readme","bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/pi-env.git"},"keywords":["pi-package","pi-extension","env","configuration"],"publishConfig":{"access":"public"},"pi":{"extensions":["./src/index.ts"]},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"devDependencies":{"@alexgorbatchev/typescript-ai-policy":"^12.0.0","@mariozechner/pi-coding-agent":"0.73.1","@types/node":"26.1.1","@typescript/native-preview":"7.0.0-dev.20260707.2","oxfmt":"^0.59.0","oxlint":"^1.74.0","typescript":"7.0.2"},"scripts":{"fix":"bun --bun oxfmt --write .","check":"bun --bun oxfmt --check . && bun --bun oxlint . && tsgo --noEmit","test":"PI_OFFLINE=1 bun x pi --no-extensions -e ./src/index.ts --list-models > /dev/null 2>&1","test:local":"bun x pi -e ./src/index.ts"},"gitHead":"26c80bc212737c51ce1a893a37d63741b8e662cc","_id":"@alexgorbatchev/pi-env@1.0.3","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-H/KnxxD5ZMUr0st/jN9Hfsu6WHENvvzkUiP6pih+t3n5lsDn2Nkvy59V+679eEWAD44xr3HHeSAosRJp6rF+PA==","shasum":"37982d43d5027b970718c65f455cb72e05b9f682","tarball":"https://registry.npmjs.org/@alexgorbatchev/pi-env/-/pi-env-1.0.3.tgz","fileCount":5,"unpackedSize":7082,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexgorbatchev%2fpi-env@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBCiGtdIbDhmfzQs3rUA4OiXWOfFkJFbSuAzO2j/qFAMAiEAyzN+dfmwTweeUC8XMgtOfwnVUnNPRO9Rzega9pH/eX4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dcc94a5f-1440-4103-b849-090889d5bfbf"}},"directories":{},"maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-env_1.0.3_1784157560617_0.5467554938588142"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-08T03:56:46.022Z","modified":"2026-07-15T23:19:21.258Z","0.0.1":"2026-04-08T03:56:46.316Z","0.0.2":"2026-04-08T04:01:24.970Z","1.0.0":"2026-04-08T04:19:46.220Z","1.0.2":"2026-04-08T05:05:44.017Z","1.0.3":"2026-07-15T23:19:20.810Z"},"bugs":{"url":"https://github.com/alexgorbatchev/pi-env/issues"},"author":{"name":"Alex Gorbatchev"},"license":"MIT","homepage":"https://github.com/alexgorbatchev/pi-env#readme","keywords":["pi-package","pi-extension","env","configuration"],"repository":{"type":"git","url":"git+https://github.com/alexgorbatchev/pi-env.git"},"description":"Pi extension that injects environment variables from project config settings.","maintainers":[{"name":"alexgorbatchev","email":"alex.gorbatchev@gmail.com"}],"readme":"# @alexgorbatchev/pi-env\n\nA Pi extension that injects environment variables defined in Pi's settings into the active agent process, allowing child processes (like `bash` commands and `process` services) to inherit them.\n\n## Installation\n\nTo install this extension globally (for all your Pi sessions):\n\n```bash\npi install npm:@alexgorbatchev/pi-env\n```\n\nTo install it locally (for a single project):\n\n```bash\npi install npm:@alexgorbatchev/pi-env -l\n```\n\n## Configuration\n\nDefine environment variables under the `\"@alexgorbatchev/pi-env\"` key in your settings (either globally or per-project). Both keys and values must be strings.\n\n> [!IMPORTANT]\n> Do not store secrets such as API keys, access tokens, or passwords in this extension's settings. The extension currently displays configured values in the Pi UI when a session starts, so only use non-sensitive configuration here.\n\nExample `.pi/settings.json`:\n\n```json\n{\n  \"@alexgorbatchev/pi-env\": {\n    \"APP_ENV\": \"development\",\n    \"API_URL\": \"http://localhost:3000\"\n  }\n}\n```\n\nWhen Pi runs, these variables are displayed in the session output and assigned to `process.env`. Use `/env` to print the same report again.\n","readmeFilename":"README.md"}