@lunora/container 1.0.0-alpha.65 → 1.0.0-alpha.67

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.
@@ -1,4 +1,4 @@
1
- import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-t4mtuqYW.mjs";
1
+ import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-B8_fht7G.mjs";
2
2
  import { DurableObject, WorkerEntrypoint, RpcTarget } from 'cloudflare:workers';
3
3
  /**
4
4
  * ContainerStartOptions as they come from worker types
@@ -1,4 +1,4 @@
1
- import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-t4mtuqYW.js";
1
+ import { d as ContainerRuntimeInstanceType, C as ContainerDefinition, D as DurableObjectJurisdiction, b as ContainerSnapshot, e as ContainerSpawnRequest } from "../packem_shared/jurisdiction.d-B8_fht7G.js";
2
2
  import { DurableObject, WorkerEntrypoint, RpcTarget } from 'cloudflare:workers';
3
3
  /**
4
4
  * ContainerStartOptions as they come from worker types
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-t4mtuqYW.mjs";
2
- export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-t4mtuqYW.mjs";
1
+ import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-B8_fht7G.mjs";
2
+ export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-B8_fht7G.mjs";
3
3
  import { b as ContainerBackupOptions, C as ContainerFileOptions, c as ContainerMountRequest, a as ContainerFileContent, d as ContainerSandboxControls } from "./packem_shared/sandbox-types.d-DXlHnsEg.mjs";
4
4
  export type { e as ContainerFiles, f as ContainerMountCredentials } from "./packem_shared/sandbox-types.d-DXlHnsEg.mjs";
5
5
  import { DirectoryBackupRecord, S3MountInspection, SandboxDirectoryEntry, SandboxFileStat } from '@cloudflare/sandbox';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-t4mtuqYW.js";
2
- export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-t4mtuqYW.js";
1
+ import { a as ContainerSpawnOptions, b as ContainerSnapshot, c as ContainerProcess, d as ContainerRuntimeInstanceType, e as ContainerSpawnRequest, S as SpawnResult, D as DurableObjectJurisdiction, f as DefaultScheduledContainerConfig, g as DurableObjectScheduledContainerConfig, C as ContainerDefinition, h as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-B8_fht7G.js";
2
+ export type { B as BuildImageSource, i as ContainerBackupStorage, j as ContainerConfig, k as ContainerConfigBase, l as ContainerInstanceType, m as ContainerNamedImageSource, n as ContainerReadinessCheck, o as ContainerRollout, p as CustomContainerInstanceType, q as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-B8_fht7G.js";
3
3
  import { b as ContainerBackupOptions, C as ContainerFileOptions, c as ContainerMountRequest, a as ContainerFileContent, d as ContainerSandboxControls } from "./packem_shared/sandbox-types.d-DXlHnsEg.js";
4
4
  export type { e as ContainerFiles, f as ContainerMountCredentials } from "./packem_shared/sandbox-types.d-DXlHnsEg.js";
5
5
  import { DirectoryBackupRecord, S3MountInspection, SandboxDirectoryEntry, SandboxFileStat } from '@cloudflare/sandbox';
@@ -99,16 +99,17 @@ interface ContainerProcess {
99
99
  */
100
100
  type NamedContainerInstanceType = "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
101
101
  /**
102
- * A custom instance type. Cloudflare's bounds at the time of writing: up to
103
- * 4 vCPU, 12 GiB memory, 20 GB disk, ≥ 3 GiB memory per vCPU and ≤ 2 GB disk
104
- * per GiB memory. The config-layer validator enforces the documented ranges.
102
+ * A custom instance type, available to every Containers account. Cloudflare's
103
+ * documented bounds: 1–4 vCPU, up to 12 GiB memory, up to 20 GB disk at any
104
+ * memory size, and ≥ 3 GiB memory per vCPU. For less than 1 vCPU use the named
105
+ * `lite` or `basic` types. The config-layer validator enforces these ranges.
105
106
  */
106
107
  interface CustomContainerInstanceType {
107
- /** Disk in MB. Cloudflare's default is 2000 (2 GB). */
108
+ /** Disk in MB, up to 20000 (20 GB) at any memory size. Cloudflare's default is 2000 (2 GB). */
108
109
  diskMb?: number;
109
- /** Memory in MiB. Cloudflare's default is 256. */
110
+ /** Memory in MiB, up to 12288 (12 GiB) and ≥ 3072 MiB per vCPU. Cloudflare's default is 256. */
110
111
  memoryMib?: number;
111
- /** vCPU count. Cloudflare's default is 0.0625 (1/16 vCPU). */
112
+ /** vCPU count, 1–4 when set. Cloudflare's default is 0.0625 (1/16 vCPU). */
112
113
  vcpu?: number;
113
114
  }
114
115
  /**
@@ -99,16 +99,17 @@ interface ContainerProcess {
99
99
  */
100
100
  type NamedContainerInstanceType = "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4";
101
101
  /**
102
- * A custom instance type. Cloudflare's bounds at the time of writing: up to
103
- * 4 vCPU, 12 GiB memory, 20 GB disk, ≥ 3 GiB memory per vCPU and ≤ 2 GB disk
104
- * per GiB memory. The config-layer validator enforces the documented ranges.
102
+ * A custom instance type, available to every Containers account. Cloudflare's
103
+ * documented bounds: 1–4 vCPU, up to 12 GiB memory, up to 20 GB disk at any
104
+ * memory size, and ≥ 3 GiB memory per vCPU. For less than 1 vCPU use the named
105
+ * `lite` or `basic` types. The config-layer validator enforces these ranges.
105
106
  */
106
107
  interface CustomContainerInstanceType {
107
- /** Disk in MB. Cloudflare's default is 2000 (2 GB). */
108
+ /** Disk in MB, up to 20000 (20 GB) at any memory size. Cloudflare's default is 2000 (2 GB). */
108
109
  diskMb?: number;
109
- /** Memory in MiB. Cloudflare's default is 256. */
110
+ /** Memory in MiB, up to 12288 (12 GiB) and ≥ 3072 MiB per vCPU. Cloudflare's default is 256. */
110
111
  memoryMib?: number;
111
- /** vCPU count. Cloudflare's default is 0.0625 (1/16 vCPU). */
112
+ /** vCPU count, 1–4 when set. Cloudflare's default is 0.0625 (1/16 vCPU). */
112
113
  vcpu?: number;
113
114
  }
114
115
  /**
@@ -2,7 +2,7 @@ import { SandboxFileStat, SandboxDirectoryEntry, DirectoryBackupRecord, S3MountI
2
2
  export { DirectoryBackupGateway, S3Gateway } from '@cloudflare/sandbox';
3
3
  import { LunoraContainer } from "../do/index.mjs";
4
4
  import { C as ContainerFileOptions, a as ContainerFileContent, b as ContainerBackupOptions, c as ContainerMountRequest } from "../packem_shared/sandbox-types.d-DXlHnsEg.mjs";
5
- import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-t4mtuqYW.mjs";
5
+ import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-B8_fht7G.mjs";
6
6
  import 'cloudflare:workers';
7
7
  type DurableObjectContext = ConstructorParameters<typeof LunoraContainer>[0];
8
8
  declare class LunoraSandboxContainer<Env = unknown> extends LunoraContainer<Env> {
@@ -2,7 +2,7 @@ import { SandboxFileStat, SandboxDirectoryEntry, DirectoryBackupRecord, S3MountI
2
2
  export { DirectoryBackupGateway, S3Gateway } from '@cloudflare/sandbox';
3
3
  import { LunoraContainer } from "../do/index.js";
4
4
  import { C as ContainerFileOptions, a as ContainerFileContent, b as ContainerBackupOptions, c as ContainerMountRequest } from "../packem_shared/sandbox-types.d-DXlHnsEg.js";
5
- import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-t4mtuqYW.js";
5
+ import { C as ContainerDefinition } from "../packem_shared/jurisdiction.d-B8_fht7G.js";
6
6
  import 'cloudflare:workers';
7
7
  type DurableObjectContext = ConstructorParameters<typeof LunoraContainer>[0];
8
8
  declare class LunoraSandboxContainer<Env = unknown> extends LunoraContainer<Env> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/container",
3
- "version": "1.0.0-alpha.65",
3
+ "version": "1.0.0-alpha.67",
4
4
  "description": "Cloudflare Containers for Lunora: defineContainer, generated Container DO classes, and the ctx.containers action surface",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@cloudflare/sandbox": "1.0.0",
64
- "@lunora/errors": "1.0.0-alpha.48"
64
+ "@lunora/errors": "1.0.0-alpha.49"
65
65
  },
66
66
  "engines": {
67
67
  "node": "^22.15.0 || >=24.11.0"