{"_id":"@andrewhobden/webgh","_rev":"9-2017fd2eec1485acb5692b7522a3b167","name":"@andrewhobden/webgh","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@andrewhobden/webgh","version":"0.1.0","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.1.0","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"fe412e3693540c718cf33d9d9e270533c455e5d0","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.1.0.tgz","fileCount":5,"integrity":"sha512-kKCT9S8+FPsTvG2qdiyonAcHUux97+eL/sSIl3EatIei1OCaTMzHrVba4noJJT3rW8Y4f3suj4qMcsP9qMXXiA==","signatures":[{"sig":"MEUCICOMLK+NW4nNpM0MNFmAIhGToAhqRUBezvI4jmZ8EsQyAiEAt2FQGKsh4kSIGVhpIP9uyAYwW02mmF/G00oP4dLib0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":712100},"type":"module","_from":"file:/Users/andrewhobden/.copilot/session-state/5de92248-6ba6-4c5c-bc22-34ddb35176e8/files/andrewhobden-webgh-0.1.0.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/Users/andrewhobden/.copilot/session-state/5de92248-6ba6-4c5c-bc22-34ddb35176e8/files/andrewhobden-webgh-0.1.0.tgz","_integrity":"sha512-kKCT9S8+FPsTvG2qdiyonAcHUux97+eL/sSIl3EatIei1OCaTMzHrVba4noJJT3rW8Y4f3suj4qMcsP9qMXXiA==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.1.0_1783674916510_0.16119609034222382","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@andrewhobden/webgh","version":"0.1.1","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.1.1","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"3c313c5dd444b860e38b7af0ad12b69f741a4fa6","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.1.1.tgz","fileCount":5,"integrity":"sha512-KjTmuGUzD+oIh3B3pz5brprWsLYC+uRvU9OrUwJ+3VhAdshY9CetyZwG9q78WokdA/b18rDPMl52BQz0KS5r1Q==","signatures":[{"sig":"MEUCIQD/I8UjTaovvj7IUNja+iclu36t67tFbkm8+H34X0qXPAIgU36zsfb/IwfQDflnqMzFXyVJ19/AR+1oo0mA9qu2ka0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2771820},"type":"module","_from":"file:/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.lyCgppP6ro/andrewhobden-webgh-0.1.1.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.lyCgppP6ro/andrewhobden-webgh-0.1.1.tgz","_integrity":"sha512-KjTmuGUzD+oIh3B3pz5brprWsLYC+uRvU9OrUwJ+3VhAdshY9CetyZwG9q78WokdA/b18rDPMl52BQz0KS5r1Q==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.1.1_1783676132185_0.7500949992532557","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@andrewhobden/webgh","version":"0.1.2","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.1.2","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"3ba7b16f89877e369cd0481fc801275ba3c47e43","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.1.2.tgz","fileCount":5,"integrity":"sha512-1uSE04h685puVdaa1zTAm+o7G5rO0zwnlLqOBhB9La+jiusN3H6yPU2gcMakKGeUeH8XheH6G5cA8fzRSCj8yQ==","signatures":[{"sig":"MEQCIFq7HDcMaJITs9Wphg+IZABvU2/UYWweCMR8WHaNoQLfAiAydFoj482yREY5Hi0NJTXp+CeH7vWYuHmQUgfWXRH10Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2774013},"type":"module","_from":"file:/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.ubGcfgVhJd/andrewhobden-webgh-0.1.2.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.ubGcfgVhJd/andrewhobden-webgh-0.1.2.tgz","_integrity":"sha512-1uSE04h685puVdaa1zTAm+o7G5rO0zwnlLqOBhB9La+jiusN3H6yPU2gcMakKGeUeH8XheH6G5cA8fzRSCj8yQ==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.1.2_1783676605368_0.6127570741813557","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@andrewhobden/webgh","version":"0.2.0","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.2.0","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"4a0eff84100a0fc5af0db93e8b7c8eca8bbd359a","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.2.0.tgz","fileCount":5,"integrity":"sha512-Cizb9mpo7BRdk1l6XhOCJ2EDh8YxgWPE5AuLPgutqPqv6ItOWQEaJWQAv6tp/bhoy/sGxtX+K+F+IyAnaBPaCQ==","signatures":[{"sig":"MEUCIQCBtGi+Pt0osvbXqDGZJ+X/M1c1/Q0OOmcXceKRcRWwCQIgLpvYc6AeR/4J5pOJzusrOiJMaZ84hhSIESKhVjW5RNM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2823128},"type":"module","engines":{"node":">=20"},"gitHead":"b8f307bffc825c5053f9869d0820479be59d4fb3","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.2.0_1783679378482_0.8671291175846143","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@andrewhobden/webgh","version":"0.2.1","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.2.1","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"4c8ee7e28d67a26a30f667f88c60eedecd2223ad","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.2.1.tgz","fileCount":5,"integrity":"sha512-2BO0/5DHkhVRAf2+IJLw/s12kuCK0j3qnb6wkTC8ZaHz/Js0kuKVxRv5FFHxUqqV+nJJG3lRS1PwAL6ONAqMSA==","signatures":[{"sig":"MEYCIQDh+AJ3Vg/NwmrhtvOEqPgMRtsHHUQjxiph4qDxRQ2IcQIhAP0QcbwN/zjopPfETYJIeBJm+IdHSigNrfX7zU54oLQ2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2823218},"type":"module","engines":{"node":">=20"},"gitHead":"53df0622afa0dfba07991fd0658aa9ec1d614057","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"workspace:*"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.2.1_1783696442340_0.5499632396187397","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@andrewhobden/webgh","version":"0.2.2","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.2.2","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"36f8a8bd200260d06a5d60ae51434d83a67cc382","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.2.2.tgz","fileCount":5,"integrity":"sha512-s0m4B0Owzd+y/eH4gAkELvDzcvJpUGETMVCawG5y6YyVcSH3DddXXMeksZZr/BDmxeSRngfuGk2rSqNLTXGMyw==","signatures":[{"sig":"MEYCIQDfEukzW/k0xMIUYsE4IZD3VHBjSAF0L0TeAYp/uY/pNgIhAM5bOiUbBwamr4P6PL/AVSE6XbLgqoT/3Rv6+Mu0/2e6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2824549},"type":"module","_from":"file:andrewhobden-webgh-0.2.2.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/private/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/61333c3d82737317de3ce0253a14e16f/andrewhobden-webgh-0.2.2.tgz","_integrity":"sha512-s0m4B0Owzd+y/eH4gAkELvDzcvJpUGETMVCawG5y6YyVcSH3DddXXMeksZZr/BDmxeSRngfuGk2rSqNLTXGMyw==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.2.2_1783696742317_0.8589222613561316","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@andrewhobden/webgh","version":"0.3.0","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.3.0","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"49f1d65f57b726c839eeb7536b72c7db77bc3367","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.3.0.tgz","fileCount":5,"integrity":"sha512-C3z9ZYQloCS4GcChZ9Hf/zi/NkaWyYVyeZV7GJ62uHz5gaVaHqARNsQZzkj6057cs89ckVOUBIpai/Pi5alrNA==","signatures":[{"sig":"MEUCIQCXSYok3WVqHDWL0gwiVlCmyM8Zvx8Hczcg350RnvqrpAIgFEUinlgd+Dw4C9+hEH76RryWS4MM8yq5OyzeRaWnbvI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2833932},"type":"module","_from":"file:andrewhobden-webgh-0.3.0.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/private/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/41c45d937e3ecfda3a224bfaa16cf510/andrewhobden-webgh-0.3.0.tgz","_integrity":"sha512-C3z9ZYQloCS4GcChZ9Hf/zi/NkaWyYVyeZV7GJ62uHz5gaVaHqARNsQZzkj6057cs89ckVOUBIpai/Pi5alrNA==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.3.0_1783697949683_0.2071357216930565","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@andrewhobden/webgh","version":"0.3.1","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"license":"MIT","_id":"@andrewhobden/webgh@0.3.1","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"homepage":"https://copilot-cli.dev","bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"bin":{"webgh":"dist/index.js"},"dist":{"shasum":"7fc2192123eca22fe3ef809ec0cbf5c8e668ea97","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.3.1.tgz","fileCount":5,"integrity":"sha512-DGN6UkXpzfxJU9MekrTDN8bKS+fkvwV/O0dM/q3WlOVtZSbgMIHUOpU3hZpnDZKJYbvc7yEErKrVzOBvxlm5Pw==","signatures":[{"sig":"MEUCIGqJH2/vp6NeGU3RWGj6i3QkLARZY3FUOaiM0e2THjELAiEAyOOr5HL9rxRgKV1J05nvVTa2/bDRiEPTZTKAPFSy7QU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2834115},"type":"module","_from":"file:andrewhobden-webgh-0.3.1.tgz","engines":{"node":">=20"},"gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","scripts":{"dev":"tsx watch src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","start":"tsx src/index.ts","typecheck":"tsc --noEmit"},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"_resolved":"/private/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/e0de19fa63ff069873e38dac23e6d466/andrewhobden-webgh-0.3.1.tgz","_integrity":"sha512-DGN6UkXpzfxJU9MekrTDN8bKS+fkvwV/O0dM/q3WlOVtZSbgMIHUOpU3hZpnDZKJYbvc7yEErKrVzOBvxlm5Pw==","repository":{"url":"git+https://github.com/anhobden_microsoft/webgh.git","type":"git","directory":"apps/host-agent"},"_npmVersion":"11.3.0","description":"Run a GitHub Copilot Session Portal host from any machine","directories":{},"_nodeVersion":"24.2.0","dependencies":{"ws":"^8.18.0","tar":"^7.5.19","zod":"^3.24.1","dotenv":"^16.4.7","node-pty":"^1.1.0","commander":"^12.1.0","playwright":"^1.49.1","simple-git":"^3.27.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@types/ws":"^8.5.13","@portal/protocol":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/webgh_0.3.1_1783698856643_0.9845047131039333","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@andrewhobden/webgh","version":"0.4.0","description":"Run a GitHub Copilot Session Portal host from any machine","type":"module","bin":{"webgh":"dist/index.js"},"engines":{"node":">=20"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/anhobden_microsoft/webgh.git","directory":"apps/host-agent"},"bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"homepage":"https://copilot-cli.dev","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"publishConfig":{"access":"public"},"dependencies":{"commander":"^12.1.0","dotenv":"^16.4.7","node-pty":"^1.1.0","playwright":"^1.49.1","simple-git":"^3.27.0","tar":"^7.5.19","ws":"^8.18.0","zod":"^3.24.1"},"devDependencies":{"@types/ws":"^8.5.13","tsup":"^8.5.1","@portal/protocol":"0.0.0"},"scripts":{"dev":"tsx watch src/index.ts","start":"tsx src/index.ts","build":"tsup","clean":"node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"","typecheck":"tsc --noEmit"},"_id":"@andrewhobden/webgh@0.4.0","gitHead":"116e745d5cd001184b2c93698bd845de6fa282a4","_integrity":"sha512-uRTqQS+tytnZ4NXMy7DBrvX/7MjbiYGByj/Tthm4/r+L6bHHuClzfi0uZJnWYwju7NoddPOYOKRA/WcpgIVdOw==","_resolved":"/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.2eKSquuwSP/andrewhobden-webgh-0.4.0.tgz","_from":"file:/var/folders/k5/j_dpqyqx25db3fmlbfkxhcf00000gn/T/tmp.2eKSquuwSP/andrewhobden-webgh-0.4.0.tgz","_nodeVersion":"24.2.0","_npmVersion":"11.3.0","dist":{"integrity":"sha512-uRTqQS+tytnZ4NXMy7DBrvX/7MjbiYGByj/Tthm4/r+L6bHHuClzfi0uZJnWYwju7NoddPOYOKRA/WcpgIVdOw==","shasum":"b8b7be851eea9dcaed572d43662d646716146790","tarball":"https://registry.npmjs.org/@andrewhobden/webgh/-/webgh-0.4.0.tgz","fileCount":5,"unpackedSize":2850832,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbhPGA5gHUfHpMrfb81hAe+baLTL3IdOIKvBgCemlwlAIgUVgBH06oLCOGJXsppvVww7VicL+bt8UhbRMFdtKanr8="}]},"_npmUser":{"name":"andrewhobden","email":"andrew@bigmeandata.com"},"directories":{},"maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webgh_0.4.0_1783703304735_0.427907884146572"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T09:15:16.375Z","modified":"2026-07-10T17:08:25.062Z","0.1.0":"2026-07-10T09:15:16.703Z","0.1.1":"2026-07-10T09:35:32.351Z","0.1.2":"2026-07-10T09:43:25.540Z","0.2.0":"2026-07-10T10:29:38.667Z","0.2.1":"2026-07-10T15:14:02.580Z","0.2.2":"2026-07-10T15:19:02.588Z","0.3.0":"2026-07-10T15:39:09.895Z","0.3.1":"2026-07-10T15:54:16.825Z","0.4.0":"2026-07-10T17:08:24.942Z"},"bugs":{"url":"https://github.com/anhobden_microsoft/webgh/issues"},"license":"MIT","homepage":"https://copilot-cli.dev","keywords":["copilot","github-copilot","cli","remote-agent","websocket"],"repository":{"type":"git","url":"git+https://github.com/anhobden_microsoft/webgh.git","directory":"apps/host-agent"},"description":"Run a GitHub Copilot Session Portal host from any machine","maintainers":[{"name":"andrewhobden","email":"andrew@bigmeandata.com"}],"readme":"# webgh\n\n`webgh` connects a machine to the [Copilot Session Portal](https://copilot-cli.dev)\nso its GitHub Copilot CLI sessions can be created and controlled from the web.\n\n## Install and run\n\nPrerequisites:\n\n- Node.js 20 or newer\n- Git\n- [GitHub CLI](https://cli.github.com/) authenticated with `gh auth login`\n- GitHub Copilot CLI installed and authenticated with `copilot login`\n\n```bash\nnpm install --global @andrewhobden/webgh\nwebgh\n```\n\nIf npm is unavailable or a Codespace routes it through an inaccessible private\nfeed, install the portable core CLI without npm:\n\n```bash\ncurl -fsSL https://copilot-cli.dev/install-webgh.sh | sh\nexport PATH=\"$HOME/.local/bin:$PATH\"\nwebgh\n```\n\nThe portable executable supports core session, team, file, and Git operations.\nRemote terminals and the embedded browser require the full npm package because\nthey depend on `node-pty` and Playwright.\n\nWith no arguments, `webgh` connects to `wss://copilot-cli.dev` and stores\nsessions in `~/.copilot-session-portal/sessions`. The host runs in the\nforeground and reconnects automatically if the portal is temporarily\nunavailable.\n\n### Link an existing repository\n\nIn the portal, choose **New session** or **New agent team → Existing\nrepository**, select the host, and enter an absolute path to a Git worktree.\nWebGH uses the repository in place and stores its metadata centrally under the\nconfigured sessions root; it does not add `.portal` files or change `.gitignore`\nin the linked repository.\n\nFor a linked team, the repository's checked-out branch becomes the team base.\nAdding team members necessarily creates Git worktrees and `agent/*` branches in\nthe repository's Git metadata. Those member directories remain under the\nconfigured sessions root.\n\nLinked workspaces have deliberately safer lifecycle rules:\n\n- **Unlink** removes only the portal registration, never repository files.\n- **Rename** changes only the portal display name.\n- **Duplicate** creates a fresh managed copy under the sessions root with new\n  Git history.\n- **Move to host** is unavailable until the repository is duplicated/imported\n  into managed storage.\n\nIf a linked path is unmounted or moved, it remains visible as unavailable.\nFor a session, choose **Relink** and provide its new absolute path to preserve\nthe same Copilot conversation. A team can be unlinked and added again after its\npath returns. Symlinks and paths inside a worktree are normalized to the\ncanonical Git top-level directory.\n\nRun diagnostics or install optional Chromium support for the portal's embedded\nbrowser:\n\n```bash\nwebgh doctor\nwebgh setup\n```\n\n`webgh setup --skip-browser` creates the state directory without downloading\nChromium. A missing browser never prevents the host itself from starting.\n\n## Configuration\n\nCommand-line options override environment variables and `.env`; defaults apply\nlast.\n\n| Option | Environment | Default |\n| --- | --- | --- |\n| `--backend-url <url>` | `BACKEND_URL` | `wss://copilot-cli.dev` |\n| `--sessions-root <path>` | `SESSIONS_ROOT` | `~/.copilot-session-portal/sessions` |\n| `--host-name <name>` | `HOST_NAME` | Machine hostname |\n| `--copilot-bin <path>` | `COPILOT_BIN` | `copilot` |\n| — | `HOST_ID` | Persisted under the sessions root |\n| — | `GITHUB_TOKEN` | Current `gh auth token` |\n| — | `TERMINAL_SHELL` | Login shell or PowerShell |\n\nBrowser tuning is available through `BROWSER_ALLOWED_PORTS`,\n`BROWSER_MAX_WIDTH`, `BROWSER_MAX_HEIGHT`, `BROWSER_FRAME_QUALITY`,\n`BROWSER_MAX_FPS`, and `BROWSER_HEADLESS`. When `BROWSER_ALLOWED_PORTS` is set,\nit applies to typed URLs, links, and redirects; include `80` and `443` to allow\nstandard web browsing.\n\nTo connect to a development or self-hosted backend:\n\n```bash\nwebgh --backend-url ws://localhost:8080 --sessions-root ./sessions\n```\n\nDo not pass tokens on the command line. Use `gh auth login` or an environment\nvariable supplied by your secret manager.\n\n## Background operation\n\n`webgh` intentionally does not install an operating-system service. Run the\nsame foreground command under your preferred manager:\n\n- Linux: a systemd user service with `ExecStart=/path/to/webgh`.\n- macOS: a LaunchAgent whose `ProgramArguments` contains the absolute `webgh`\n  path.\n- Windows: a service wrapper such as WinSW or NSSM invoking `webgh.cmd`.\n\nUse absolute executable and sessions-root paths because service managers often\nhave a restricted `PATH` and a different working directory. Provide\ncredentials through the service manager's protected environment.\n\n## Troubleshooting\n\n- Run `webgh doctor` first; `webgh doctor --json` is available for automation.\n- No GitHub identity: run `gh auth login`.\n- Copilot unavailable: install the Copilot CLI and run `copilot login`.\n- Embedded browser unavailable: run `webgh setup`.\n- Native terminal unavailable: reinstall `webgh` so `node-pty` can install the\n  correct platform binary.\n\n## Security\n\nThe portal can run Copilot with all tools, open terminals, browse HTTP(S) URLs\nusing this host's network access, and configure MCP servers on this host. Only\nconnect hosts you control to a trusted portal. Host authentication uses the local\nGitHub identity and tokens are never persisted by `webgh`.\n\nLicense: MIT.\n\n## Maintainer release\n\nTrusted publishers can only be attached after an npm package exists. For the\nfirst `0.1.0` release, authenticate the maintainer machine with npm, run\n`pnpm test:package`, pack from the workspace, and publish that exact tarball\nmanually with `--access public`. Do not create the release tag first. This\none-time bootstrap release cannot carry trusted-publisher provenance.\n\nAfter the package exists, configure npm trusted publishing for this repository's\n`.github/workflows/webgh-release.yml` workflow and the `npm` GitHub environment.\nSubsequent releases use a tag matching the package version exactly, such as\n`webgh-v0.1.1`; the workflow rebuilds and validates the tarball before publishing\nit with provenance. No long-lived npm token is stored.\n","readmeFilename":"README.md"}