@papercraneai/sandbox-agent 0.1.17-beta.0 → 0.1.17-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +0 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1722,24 +1722,6 @@ async function start() {
1722
1722
  console.log(` Connected to Papercrane at ${cliArgs.papercraneUrl}`);
1723
1723
  }
1724
1724
  console.log(`\nReady to accept connections.`);
1725
- // Auto-register when running in k8s/BYOC — env vars set by KubernetesSandboxProvider
1726
- if (process.env.CONNECTION_TOKEN && process.env.PAPERCRANE_URL) {
1727
- // POD_IP is injected via the Kubernetes Downward API — use it so the control plane
1728
- // gets a real routable IP (reachable via Tailscale subnet routing) rather than
1729
- // a cluster-internal DNS name that's only resolvable inside the cluster.
1730
- const podIp = process.env.POD_IP;
1731
- const agentEndpoint = podIp ? `http://${podIp}:${PORT}` : (process.env.AGENT_ENDPOINT ?? `http://localhost:${PORT}`);
1732
- const previewEndpoint = podIp ? `http://${podIp}:3000` : agentEndpoint.replace(`:${PORT}`, ":3000");
1733
- registerWithPapercrane({
1734
- token: process.env.CONNECTION_TOKEN,
1735
- papercraneUrl: process.env.PAPERCRANE_URL,
1736
- agentEndpoint,
1737
- previewEndpoint,
1738
- }).then((ok) => {
1739
- if (!ok)
1740
- console.error("Auto-registration failed — sandbox will not be reachable by control plane");
1741
- });
1742
- }
1743
1725
  });
1744
1726
  }
1745
1727
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papercraneai/sandbox-agent",
3
- "version": "0.1.17-beta.0",
3
+ "version": "0.1.17-beta.1",
4
4
  "description": "Claude Agent SDK server for sandbox environments",
5
5
  "license": "MIT",
6
6
  "type": "module",