devpin
v0.1.1
Published
One dev server for every agent.
Maintainers
Readme
devpin
devpin helps agents reuse an existing managed dev server instead of starting duplicate servers across sessions.
Install
pnpm add -D devpinUse
Start by asking devpin how this repo should be handled:
devpin guideCommon flow:
devpin status
devpin run --wait
devpin url
devpin logs --tail 100
devpin stopIf the project has no configured dev command:
devpin run --wait -- pnpm run devConfigure
{
"devpin": {
"command": ["pnpm", "run", "dev"],
"env": {
"APP_PORT": "{port}"
},
"publicUrl": "https://web.localhost"
}
}publicUrl is optional. Without it, devpin url returns the local managed URL.
env is optional. Values are passed to the managed command and can use {port}, {host}, {url}, and {root}.
For Portless, mirror devpin's chosen port into PORTLESS_APP_PORT:
{
"devpin": {
"command": ["vp", "exec", "portless"],
"env": {
"PORTLESS_APP_PORT": "{port}"
},
"publicUrl": "https://web.localhost"
}
}