@copperlineai/paperclip-railway-sandbox-plugin
v0.2.0
Published
Railway sandbox provider plugin for Paperclip environments.
Maintainers
Readme
@copperlineai/paperclip-railway-sandbox-plugin
Published Railway sandbox provider plugin for Paperclip.
This 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.
Install
From a Paperclip instance, install:
@copperlineai/paperclip-railway-sandbox-pluginConfiguration
Configure Railway from Company Settings -> Environments.
Required credentials can be supplied either in environment config or host environment variables:
tokenorRAILWAY_API_TOKENenvironmentIdorRAILWAY_ENVIRONMENT_ID
Common options:
idleTimeoutMinutescontrols Railway's automatic sandbox cleanup window.networkIsolationdefaults toISOLATED; setPRIVATEto allow access to the Railway environment private network.packagesinstalls Debian packages into a cached Railway sandbox template.setupScriptruns as a template build step before Paperclip executes requests.envis baked into the sandbox at creation time for safer secret handling than per-command env.reuseLeasekeeps the sandbox alive on release; destroy still removes it.
Note: Railway Sandboxes are Debian environments exposed through the Railway SDK template builder (
withPackagesandrun). This provider does not assume Docker is present inside the sandbox or shell out todocker run; commands execute directly in the Railway sandbox after Debian package/setup steps have completed.
Local development
cd packages/plugins/sandbox-providers/railway
bun install
bun run build
bun run test
bun run typecheckThe package depends on the public @paperclipai/plugin-sdk package so the same artifact can be installed from the Paperclip Plugins UI.
