@schemavaults/sandbox-management-sdk 0.1.0 → 0.1.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.
package/README.md CHANGED
@@ -293,4 +293,4 @@ bun run build # static export in website/ou
293
293
 
294
294
  ### Releasing
295
295
 
296
- Bump `version` in `package.json` and the tag in `DOCKER_EGRESS_PROXY_IMAGE` (`src/docker/egress.ts`; a unit test checks they match), merge, and publish a GitHub release. `.github/workflows/publish.yml` pushes the egress proxy image to `ghcr.io/<owner>/sandbox-egress-proxy:<version>` for amd64 and arm64, then publishes to npm with [trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC, no token). It skips either step if that version is already published. The first time, make the GHCR package public (**Package settings → Change visibility**) so Docker hosts can pull it.
296
+ Bump `version` in `package.json` and the tag in `DOCKER_EGRESS_PROXY_IMAGE` (`src/docker/egress.ts`; a unit test checks they match), then merge to `main`. On every push to `main`, `.github/workflows/publish.yml` checks whether that version is on npm, and stops there if it is. If it isn't, it pushes the egress proxy image to `ghcr.io/<owner>/sandbox-egress-proxy:<version>` for amd64 and arm64, publishes to npm with [trusted publishing](https://docs.npmjs.com/trusted-publishers) (OIDC, no token), then tags the commit `v<version>` and creates a GitHub release with generated notes. If a run fails partway, re-run its failed jobs; it skips an image that is already pushed and a GitHub release that already exists. The first time, make the GHCR package public (**Package settings → Change visibility**) so Docker hosts can pull it.
@@ -5,7 +5,7 @@ import type { EgressProxyConfig } from "./egress-proxy/config.js";
5
5
  * The egress proxy image published with this SDK version (built from
6
6
  * `images/egress-proxy`). Keep the tag in step with `package.json`.
7
7
  */
8
- export declare const DOCKER_EGRESS_PROXY_IMAGE = "ghcr.io/schemavaults/sandbox-egress-proxy:0.1.0";
8
+ export declare const DOCKER_EGRESS_PROXY_IMAGE = "ghcr.io/schemavaults/sandbox-egress-proxy:0.1.1";
9
9
  /** Label on a sandbox's egress proxy container and internal network; the value is the sandbox ID. */
10
10
  export declare const DOCKER_EGRESS_PROXY_LABEL = "dev.schemavaults.sandbox.egress-proxy";
11
11
  /** Host names of the proxy and the sandbox on the sandbox's internal network. */
@@ -4,7 +4,7 @@ import { assertNetworkPolicySupported, networkPolicyKind } from "../network.js";
4
4
  * The egress proxy image published with this SDK version (built from
5
5
  * `images/egress-proxy`). Keep the tag in step with `package.json`.
6
6
  */
7
- export const DOCKER_EGRESS_PROXY_IMAGE = "ghcr.io/schemavaults/sandbox-egress-proxy:0.1.0";
7
+ export const DOCKER_EGRESS_PROXY_IMAGE = "ghcr.io/schemavaults/sandbox-egress-proxy:0.1.1";
8
8
  /** Label on a sandbox's egress proxy container and internal network; the value is the sandbox ID. */
9
9
  export const DOCKER_EGRESS_PROXY_LABEL = "dev.schemavaults.sandbox.egress-proxy";
10
10
  /** Host names of the proxy and the sandbox on the sandbox's internal network. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schemavaults/sandbox-management-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Universal sandbox management SDK: create, set up, start, stop, resume and list sandboxes across Docker and Vercel Sandbox.",
5
5
  "license": "MIT",
6
6
  "private": false,