{"_id":"@copperlineai/paperclip-railway-sandbox-plugin","_rev":"3-66a77000586203a279a3cdde53d93871","name":"@copperlineai/paperclip-railway-sandbox-plugin","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.0":{"name":"@copperlineai/paperclip-railway-sandbox-plugin","version":"0.2.0","keywords":["paperclip","plugin","sandbox","railway"],"license":"MIT","_id":"@copperlineai/paperclip-railway-sandbox-plugin@0.2.0","maintainers":[{"name":"copperlineaimatt","email":"matt@copperline.io"}],"homepage":"https://github.com/copperline-ai/copperline-paperclip/tree/main/packages/plugins/sandbox-providers/railway","bugs":{"url":"https://github.com/copperline-ai/copperline-paperclip/issues"},"dist":{"shasum":"3f9e78d077db40779fb4d5400b760ad83cf7cf64","tarball":"https://registry.npmjs.org/@copperlineai/paperclip-railway-sandbox-plugin/-/paperclip-railway-sandbox-plugin-0.2.0.tgz","fileCount":12,"integrity":"sha512-JfnWHZC/5Gn/96wIwlao3QfkuQgf/XKZO5ggBIG5ocyQf6QqLRI5rq4QW466B4pZO6rZ5v+QnQNQHOgaS0h9CQ==","signatures":[{"sig":"MEYCIQCujbIBR0vTQaD5FT+FRIgB7krU0YDtkORdKQQUjRTyJgIhAPhJPLj3zEJqEYSDZpeuM19+cv2Rd1D7F2+wLWuemxFi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30408},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a3f767fc8244cc23c3273210cf2efc3ad55b276c","private":false,"scripts":{"test":"vitest run --passWithNoTests","build":"rm -rf dist && tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"copperlineaimatt","email":"matt@copperline.io"},"repository":{"url":"git+https://github.com/copperline-ai/copperline-paperclip.git","type":"git","directory":"packages/plugins/sandbox-providers/railway"},"_npmVersion":"10.9.8","description":"Railway sandbox provider plugin for Paperclip environments.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"railway":"^3.0.0","@paperclipai/plugin-sdk":">=2026.609.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.0.0"},"paperclipPlugin":{"worker":"./dist/worker.js","manifest":"./dist/manifest.js"},"_npmOperationalInternal":{"tmp":"tmp/paperclip-railway-sandbox-plugin_0.2.0_1781630399549_0.13419992064751463","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@copperlineai/paperclip-railway-sandbox-plugin","version":"0.2.1","keywords":["paperclip","plugin","sandbox","railway"],"license":"MIT","_id":"@copperlineai/paperclip-railway-sandbox-plugin@0.2.1","maintainers":[{"name":"copperlineaimatt","email":"matt@copperline.io"}],"homepage":"https://github.com/copperline-ai/copperline-paperclip/tree/main/packages/plugins/sandbox-providers/railway","bugs":{"url":"https://github.com/copperline-ai/copperline-paperclip/issues"},"dist":{"shasum":"e0d6f751e290ec3a8d041bf9d30cb469a85e1491","tarball":"https://registry.npmjs.org/@copperlineai/paperclip-railway-sandbox-plugin/-/paperclip-railway-sandbox-plugin-0.2.1.tgz","fileCount":12,"integrity":"sha512-zDIbK/u2t2FUzZZ1wG7ORC5pvN9ODBfoVkG77sAu+6JAPrDZ8udTkrahm3EGSiLUSouzKNpW/yQ29qKT4GoW5A==","signatures":[{"sig":"MEQCIDJ5h1+bpM6hItBLsOZq88GAJHr9yEcCxSA/5B2oJxgfAiAk1gP5BJXedwWzSyvOixMIPh/4jBUnUiQDPF6vEbn3KA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30408},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ac0b3f3a8b010b293134cdd63c1b6ac213fa4026","private":false,"scripts":{"test":"vitest run --passWithNoTests","build":"rm -rf dist && tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"copperlineaimatt","email":"matt@copperline.io"},"repository":{"url":"git+https://github.com/copperline-ai/copperline-paperclip.git","type":"git","directory":"packages/plugins/sandbox-providers/railway"},"_npmVersion":"10.9.8","description":"Railway sandbox provider plugin for Paperclip environments.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"railway":"^3.0.0","@paperclipai/plugin-sdk":">=2026.609.0"},"publishConfig":{"main":"./dist/index.js","types":"./dist/index.d.ts","access":"public","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.8.3","@types/node":"^22.0.0"},"paperclipPlugin":{"worker":"./dist/worker.js","manifest":"./dist/manifest.js"},"_npmOperationalInternal":{"tmp":"tmp/paperclip-railway-sandbox-plugin_0.2.1_1781998229898_0.26461247140216804","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@copperlineai/paperclip-railway-sandbox-plugin","version":"0.2.2","private":false,"description":"Railway sandbox provider plugin for Paperclip environments.","license":"MIT","homepage":"https://github.com/copperline-ai/copperline-paperclip/tree/main/packages/plugins/sandbox-providers/railway","bugs":{"url":"https://github.com/copperline-ai/copperline-paperclip/issues"},"repository":{"type":"git","url":"git+https://github.com/copperline-ai/copperline-paperclip.git","directory":"packages/plugins/sandbox-providers/railway"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"main":"./dist/index.js","types":"./dist/index.d.ts"},"paperclipPlugin":{"manifest":"./dist/manifest.js","worker":"./dist/worker.js"},"keywords":["paperclip","plugin","sandbox","railway"],"scripts":{"build":"rm -rf dist && tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit","test":"vitest run --passWithNoTests"},"dependencies":{"@paperclipai/plugin-sdk":">=2026.609.0","railway":"^3.0.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.8.3","vitest":"^3.2.4"},"engines":{"node":">=22"},"_id":"@copperlineai/paperclip-railway-sandbox-plugin@0.2.2","gitHead":"e4de19594556882b4f88591ac6c806978ada5e6c","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-SuQvVxR03avZavQXTmNPH3rqMPVrmtTw1GnoPgo+5zG5rymChx8tkqQiSdWyePRc3EY/azPfDrMd8fF36JJy5Q==","shasum":"f82744a34a86db1e612bf389b42fb8f0fcbc9e1c","tarball":"https://registry.npmjs.org/@copperlineai/paperclip-railway-sandbox-plugin/-/paperclip-railway-sandbox-plugin-0.2.2.tgz","fileCount":12,"unpackedSize":30408,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC7R+SjCUd7bSLiXkWu8a41G32qwyPpZXSYyQaniE+XIgIhANlE+pibPI06mUYhcNzAUCTBukCUUcsNR/Gq0SR5q90v"}]},"_npmUser":{"name":"copperlineaimatt","email":"matt@copperline.io"},"directories":{},"maintainers":[{"name":"copperlineaimatt","email":"matt@copperline.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/paperclip-railway-sandbox-plugin_0.2.2_1781999789685_0.8682461714573693"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-16T17:19:59.342Z","modified":"2026-06-20T23:56:29.984Z","0.2.0":"2026-06-16T17:19:59.715Z","0.2.1":"2026-06-20T23:30:30.039Z","0.2.2":"2026-06-20T23:56:29.848Z"},"bugs":{"url":"https://github.com/copperline-ai/copperline-paperclip/issues"},"license":"MIT","homepage":"https://github.com/copperline-ai/copperline-paperclip/tree/main/packages/plugins/sandbox-providers/railway","keywords":["paperclip","plugin","sandbox","railway"],"repository":{"type":"git","url":"git+https://github.com/copperline-ai/copperline-paperclip.git","directory":"packages/plugins/sandbox-providers/railway"},"description":"Railway sandbox provider plugin for Paperclip environments.","maintainers":[{"name":"copperlineaimatt","email":"matt@copperline.io"}],"readme":"# `@copperlineai/paperclip-railway-sandbox-plugin`\n\nPublished Railway sandbox provider plugin for Paperclip.\n\nThis package mirrors the standalone shape of the exe.dev sandbox provider: it lives in the Paperclip monorepo, but is intentionally kept outside the root workspace so operators can install it by package name from the Plugins page.\n\n## Install\n\nFrom a Paperclip instance, install:\n\n```sh\n@copperlineai/paperclip-railway-sandbox-plugin\n```\n\n## Configuration\n\nConfigure Railway from `Company Settings -> Environments`.\n\nRequired credentials can be supplied either in environment config or host environment variables:\n\n- `token` or `RAILWAY_API_TOKEN`\n- `environmentId` or `RAILWAY_ENVIRONMENT_ID`\n\nCommon options:\n\n- `idleTimeoutMinutes` controls Railway's automatic sandbox cleanup window.\n- `networkIsolation` defaults to `ISOLATED`; set `PRIVATE` to allow access to the Railway environment private network.\n- `packages` installs Debian packages into a cached Railway sandbox template.\n- `setupScript` runs as a template build step before Paperclip executes requests.\n- `env` is baked into the sandbox at creation time for safer secret handling than per-command env.\n- `reuseLease` keeps the sandbox alive on release; destroy still removes it.\n\n> Note: Railway Sandboxes are Debian environments exposed through the Railway SDK template builder (`withPackages` and `run`). This provider does not assume Docker is present inside the sandbox or shell out to `docker run`; commands execute directly in the Railway sandbox after Debian package/setup steps have completed.\n\n## Local development\n\n```sh\ncd packages/plugins/sandbox-providers/railway\nbun install\nbun run build\nbun run test\nbun run typecheck\n```\n\nThe package depends on the public `@paperclipai/plugin-sdk` package so the same artifact can be installed from the Paperclip Plugins UI.\n","readmeFilename":"README.md"}