nylorun 0.27.3-beta → 0.28.0-beta

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # nylorun
2
2
 
3
+ ## 0.28.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - 48578d6: `nylorun local sandbox enable` installs agent-sandbox v1.0.10 in place of v1.0.5, its release manifest verified by its new sha256. The patches since v1.0.5 fix the warm pool's accounting and readiness, stop a suspending Sandbox from reporting Finished, add Prometheus metrics for suspend and resume, and add CEL validation of volume claim templates; the API stays `agents.x-k8s.io/v1beta1`. A context that runs v1.0.5 is refused, as any other version is: upgrade its controller with `kubectl apply --server-side -f https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.10/sandbox.yaml`, then run `enable` again.
8
+
9
+ ## 0.27.4-beta
10
+
11
+ ### Patch Changes
12
+
13
+ - Pin runtime to the tested release.
14
+
3
15
  ## 0.27.3-beta
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -426,7 +426,7 @@ on the Management API.
426
426
 
427
427
  `nylorun local sandbox enable --context <name>` prepares a Kubernetes context for the
428
428
  Tenant's sandboxes as pods ([agent-sandbox](https://github.com/kubernetes-sigs/agent-sandbox)
429
- v1.0.5): Docker Desktop's cluster (`--context docker-desktop`) or kind. It only
429
+ v1.0.10): Docker Desktop's cluster (`--context docker-desktop`) or kind. It only
430
430
  touches the context you name. It installs the pinned agent-sandbox controller
431
431
  when the cluster has none (and refuses another version), creates the namespace
432
432
  `nylorun-sbx-<tenant>` with a ServiceAccount limited to Sandbox lifecycle, proves
@@ -438,6 +438,10 @@ The probe publishes two free ports on the Docker host. Behind a firewall that
438
438
  opens only named ports to the pods, such as a cloud VPC's, pass two of them with
439
439
  `--probe-ports <allowed>,<denied>`. Open both, so that only NetworkPolicy can
440
440
  block the denied one.
441
+ A context that runs an earlier pin, such as v1.0.5, is refused too: upgrade its
442
+ controller yourself with `kubectl apply --server-side -f
443
+ https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.10/sandbox.yaml`,
444
+ then run `enable` again.
441
445
  `nylorun local sandbox disable` removes the service (`--delete-namespace` also deletes
442
446
  the namespace and every sandbox in it). Sessions run in a pod when their
443
447
  Agent's manifest has `runtime.kind` `pod`.
@@ -3,7 +3,7 @@ import type { FetchLike } from "../stack/studio-login.js";
3
3
  import { type ClusterFile } from "./cluster-file.js";
4
4
  import { type Kube, type KubectlRunner } from "./kubectl.js";
5
5
  import { type ProbePorts } from "./probe.js";
6
- export declare const sandboxUsage = " sandbox enable --context <name> [--tenant <name>] [--host-address <ip>] [--bind-address <ip>] [--probe-ports <allowed>,<denied>] [--no-pull]\n run the Tenant's sandboxes as pods on that kubeconfig context (agent-sandbox v1.0.5)\n sandbox disable [--tenant <name>] [--delete-namespace]\n stop the sandboxes service and forget the cluster\n sandbox status [--tenant <name>] [--json]\n the cluster, the sandboxes service's readiness and what it reports";
6
+ export declare const sandboxUsage = " sandbox enable --context <name> [--tenant <name>] [--host-address <ip>] [--bind-address <ip>] [--probe-ports <allowed>,<denied>] [--no-pull]\n run the Tenant's sandboxes as pods on that kubeconfig context (agent-sandbox v1.0.10)\n sandbox disable [--tenant <name>] [--delete-namespace]\n stop the sandboxes service and forget the cluster\n sandbox status [--tenant <name>] [--json]\n the cluster, the sandboxes service's readiness and what it reports";
7
7
  /** The default workload image (D36), pre-pulled with the Runtime image. */
8
8
  export declare const DEFAULT_SANDBOX_IMAGE = "python:3.13-slim";
9
9
  export interface SandboxDeps {
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * What `nylorun local sandbox enable` installs into a cluster. The agent-sandbox controller is
3
- * pinned (D32, Experiment 2): v1.0.5, API agents.x-k8s.io/v1beta1, its release manifest
3
+ * pinned (D32, Experiment 2): v1.0.10, API agents.x-k8s.io/v1beta1, its release manifest
4
4
  * verified by sha256 before it is applied. It is never upgraded or uninstalled here.
5
5
  */
6
- export declare const CONTROLLER_VERSION = "v1.0.5";
7
- export declare const CONTROLLER_URL = "https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.5/sandbox.yaml";
8
- export declare const CONTROLLER_SHA256 = "e89fd95c0aa57609fa24be4112bd52ce67fe8939ecf6f3c17edf2f1e8f1eb860";
6
+ export declare const CONTROLLER_VERSION = "v1.0.10";
7
+ export declare const CONTROLLER_URL = "https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.10/sandbox.yaml";
8
+ export declare const CONTROLLER_SHA256 = "ea8de87e7d71cf3df40bb71a71f3c4d095e7ae88dc43fe5f4050a717abd46066";
9
9
  export declare const CONTROLLER_NAMESPACE = "agent-sandbox-system";
10
10
  export declare const CONTROLLER_DEPLOYMENT = "agent-sandbox-controller";
11
11
  export declare const SANDBOX_CRD = "sandboxes.agents.x-k8s.io";
@@ -2,12 +2,12 @@ import { createHash } from "node:crypto";
2
2
  import { cliTuning } from "../tuning.js";
3
3
  /**
4
4
  * What `nylorun local sandbox enable` installs into a cluster. The agent-sandbox controller is
5
- * pinned (D32, Experiment 2): v1.0.5, API agents.x-k8s.io/v1beta1, its release manifest
5
+ * pinned (D32, Experiment 2): v1.0.10, API agents.x-k8s.io/v1beta1, its release manifest
6
6
  * verified by sha256 before it is applied. It is never upgraded or uninstalled here.
7
7
  */
8
- export const CONTROLLER_VERSION = "v1.0.5";
8
+ export const CONTROLLER_VERSION = "v1.0.10";
9
9
  export const CONTROLLER_URL = `https://github.com/kubernetes-sigs/agent-sandbox/releases/download/${CONTROLLER_VERSION}/sandbox.yaml`;
10
- export const CONTROLLER_SHA256 = "e89fd95c0aa57609fa24be4112bd52ce67fe8939ecf6f3c17edf2f1e8f1eb860";
10
+ export const CONTROLLER_SHA256 = "ea8de87e7d71cf3df40bb71a71f3c4d095e7ae88dc43fe5f4050a717abd46066";
11
11
  export const CONTROLLER_NAMESPACE = "agent-sandbox-system";
12
12
  export const CONTROLLER_DEPLOYMENT = "agent-sandbox-controller";
13
13
  export const SANDBOX_CRD = "sandboxes.agents.x-k8s.io";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nylorun",
3
- "version": "0.27.3-beta",
3
+ "version": "0.28.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose, and act on a Tenant through its Runtime and Management APIs",
@@ -46,7 +46,7 @@
46
46
  "nylo": "dist/nylo.js"
47
47
  },
48
48
  "nylorun": {
49
- "runtime": "0.44.1-beta",
49
+ "runtime": "0.44.2-beta",
50
50
  "studio": "0.35.7-beta"
51
51
  }
52
52
  }