@lunora/container 1.0.0-alpha.22 → 1.0.0-alpha.23

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/dist/bridge.d.mts CHANGED
@@ -27,7 +27,7 @@ interface ContainerBridgeOptions {
27
27
  /** Injectable `fetch` (tests / non-global runtimes). Defaults to `globalThis.fetch`. */
28
28
  fetch?: FetchLike;
29
29
  /**
30
- * Bearer token sent as `Authorization: Bearer <token>`. Your Worker's
30
+ * Bearer token sent as `Authorization: Bearer <token>`. Your Worker's
31
31
  * `resolveIdentity` maps it to the identity the called functions run as.
32
32
  * Pass it to the container as a `secret`, never bake it into the image.
33
33
  */
package/dist/bridge.d.ts CHANGED
@@ -27,7 +27,7 @@ interface ContainerBridgeOptions {
27
27
  /** Injectable `fetch` (tests / non-global runtimes). Defaults to `globalThis.fetch`. */
28
28
  fetch?: FetchLike;
29
29
  /**
30
- * Bearer token sent as `Authorization: Bearer &lt;token>`. Your Worker's
30
+ * Bearer token sent as `Authorization: Bearer <token>`. Your Worker's
31
31
  * `resolveIdentity` maps it to the identity the called functions run as.
32
32
  * Pass it to the container as a `secret`, never bake it into the image.
33
33
  */
@@ -1,5 +1,5 @@
1
1
  import { DurableObject, WorkerEntrypoint } from 'cloudflare:workers';
2
- import { a as ContainerDefinition, D as DurableObjectJurisdiction } from "../packem_shared/jurisdiction.d-8oUUvrew.mjs";
2
+ import { a as ContainerDefinition, D as DurableObjectJurisdiction } from "../packem_shared/jurisdiction.d-DeQ3rtYK.mjs";
3
3
  /**
4
4
  * ContainerStartOptions as they come from worker types
5
5
  */
@@ -523,14 +523,14 @@ declare class LunoraContainer<Env = unknown> extends Container<Env> {
523
523
  private lunoraSecretsStoreResolved?;
524
524
  constructor(context: DurableObjectContext, env: Env, definition: ContainerDefinition, exportName?: string, jurisdiction?: DurableObjectJurisdiction);
525
525
  /**
526
- * Proxy entry for every `ctx.containers.&lt;name>` fetch. Resolves the
526
+ * Proxy entry for every `ctx.containers.<name>` fetch. Resolves the
527
527
  * `secretsStore` bindings into `envVars` before delegating, so the values
528
528
  * are present when the base implicitly starts the container for this
529
529
  * request — a no-op when `secretsStore` is unset.
530
530
  */
531
531
  override containerFetch(...args: Parameters<Container<Env>["containerFetch"]>): Promise<Response>;
532
532
  /**
533
- * Explicit start (`ctx.containers.&lt;name>.get(id).start()`). Resolves the
533
+ * Explicit start (`ctx.containers.<name>.get(id).start()`). Resolves the
534
534
  * `secretsStore` bindings into `envVars` first, mirroring
535
535
  * {@link containerFetch}. A per-instance `start({ envVars })` replaces the
536
536
  * env set wholesale (base behavior), so the injected values only apply to a
@@ -1,5 +1,5 @@
1
1
  import { DurableObject, WorkerEntrypoint } from 'cloudflare:workers';
2
- import { a as ContainerDefinition, D as DurableObjectJurisdiction } from "../packem_shared/jurisdiction.d-8oUUvrew.js";
2
+ import { a as ContainerDefinition, D as DurableObjectJurisdiction } from "../packem_shared/jurisdiction.d-DeQ3rtYK.js";
3
3
  /**
4
4
  * ContainerStartOptions as they come from worker types
5
5
  */
@@ -523,14 +523,14 @@ declare class LunoraContainer<Env = unknown> extends Container<Env> {
523
523
  private lunoraSecretsStoreResolved?;
524
524
  constructor(context: DurableObjectContext, env: Env, definition: ContainerDefinition, exportName?: string, jurisdiction?: DurableObjectJurisdiction);
525
525
  /**
526
- * Proxy entry for every `ctx.containers.&lt;name>` fetch. Resolves the
526
+ * Proxy entry for every `ctx.containers.<name>` fetch. Resolves the
527
527
  * `secretsStore` bindings into `envVars` before delegating, so the values
528
528
  * are present when the base implicitly starts the container for this
529
529
  * request — a no-op when `secretsStore` is unset.
530
530
  */
531
531
  override containerFetch(...args: Parameters<Container<Env>["containerFetch"]>): Promise<Response>;
532
532
  /**
533
- * Explicit start (`ctx.containers.&lt;name>.get(id).start()`). Resolves the
533
+ * Explicit start (`ctx.containers.<name>.get(id).start()`). Resolves the
534
534
  * `secretsStore` bindings into `envVars` first, mirroring
535
535
  * {@link containerFetch}. A per-instance `start({ envVars })` replaces the
536
536
  * env set wholesale (base behavior), so the injected values only apply to a
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { D as DurableObjectJurisdiction, C as ContainerConfig, a as ContainerDefinition, b as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-8oUUvrew.mjs";
2
- export type { B as BuildImageSource, c as ContainerInstanceType, d as ContainerReadinessCheck, e as ContainerRollout, f as CustomContainerInstanceType, g as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-8oUUvrew.mjs";
1
+ import { D as DurableObjectJurisdiction, C as ContainerConfig, a as ContainerDefinition, b as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-DeQ3rtYK.mjs";
2
+ export type { B as BuildImageSource, c as ContainerInstanceType, d as ContainerReadinessCheck, e as ContainerRollout, f as CustomContainerInstanceType, g as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-DeQ3rtYK.mjs";
3
3
  /**
4
4
  * Options for explicitly starting an instance (mirrors `@cloudflare/containers`).
5
5
  * @experimental
@@ -134,7 +134,7 @@ interface ContainerEgressControls {
134
134
  setDenied: (hosts: ReadonlyArray<string>) => Promise<void>;
135
135
  }
136
136
  /**
137
- * The per-definition accessor exposed as `ctx.containers.&lt;exportName>`.
137
+ * The per-definition accessor exposed as `ctx.containers.<exportName>`.
138
138
  * @experimental
139
139
  */
140
140
  interface ContainerAccessor {
@@ -271,7 +271,7 @@ declare const createContainerTestContext: (handlers: Record<string, ContainerTes
271
271
  * A local-path string whose basename starts with `Dockerfile` (so
272
272
  * `Dockerfile.dev` also counts) is used as-is with its directory as the build
273
273
  * context; any other path is treated as the build-context directory and the
274
- * Dockerfile is expected at `&lt;dir>/Dockerfile`.
274
+ * Dockerfile is expected at `<dir>/Dockerfile`.
275
275
  * @experimental
276
276
  */
277
277
  declare const normalizeContainerImage: (image: ContainerImageSource) => NormalizedContainerImage;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { D as DurableObjectJurisdiction, C as ContainerConfig, a as ContainerDefinition, b as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-8oUUvrew.js";
2
- export type { B as BuildImageSource, c as ContainerInstanceType, d as ContainerReadinessCheck, e as ContainerRollout, f as CustomContainerInstanceType, g as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-8oUUvrew.js";
1
+ import { D as DurableObjectJurisdiction, C as ContainerConfig, a as ContainerDefinition, b as ContainerImageSource, N as NormalizedContainerImage } from "./packem_shared/jurisdiction.d-DeQ3rtYK.js";
2
+ export type { B as BuildImageSource, c as ContainerInstanceType, d as ContainerReadinessCheck, e as ContainerRollout, f as CustomContainerInstanceType, g as NamedContainerInstanceType, R as RegistryImageSource } from "./packem_shared/jurisdiction.d-DeQ3rtYK.js";
3
3
  /**
4
4
  * Options for explicitly starting an instance (mirrors `@cloudflare/containers`).
5
5
  * @experimental
@@ -134,7 +134,7 @@ interface ContainerEgressControls {
134
134
  setDenied: (hosts: ReadonlyArray<string>) => Promise<void>;
135
135
  }
136
136
  /**
137
- * The per-definition accessor exposed as `ctx.containers.&lt;exportName>`.
137
+ * The per-definition accessor exposed as `ctx.containers.<exportName>`.
138
138
  * @experimental
139
139
  */
140
140
  interface ContainerAccessor {
@@ -271,7 +271,7 @@ declare const createContainerTestContext: (handlers: Record<string, ContainerTes
271
271
  * A local-path string whose basename starts with `Dockerfile` (so
272
272
  * `Dockerfile.dev` also counts) is used as-is with its directory as the build
273
273
  * context; any other path is treated as the build-context directory and the
274
- * Dockerfile is expected at `&lt;dir>/Dockerfile`.
274
+ * Dockerfile is expected at `<dir>/Dockerfile`.
275
275
  * @experimental
276
276
  */
277
277
  declare const normalizeContainerImage: (image: ContainerImageSource) => NormalizedContainerImage;
package/dist/otel.d.mts CHANGED
@@ -105,7 +105,7 @@ interface ContainerTelemetryOptions {
105
105
  * under the Worker's trace instead of forming a fresh, disconnected trace.
106
106
  *
107
107
  * `@lunora/container` stamps this trace context as the **`traceparent` request
108
- * header** on every proxied fetch (`ctx.containers.&lt;name>.…`), so a container
108
+ * header** on every proxied fetch (`ctx.containers.<name>.…`), so a container
109
109
  * that serves many requests should read it per request and create a telemetry
110
110
  * instance scoped to that request — the trace context differs each call, so a
111
111
  * single process-lifetime instance can't carry it:
package/dist/otel.d.ts CHANGED
@@ -105,7 +105,7 @@ interface ContainerTelemetryOptions {
105
105
  * under the Worker's trace instead of forming a fresh, disconnected trace.
106
106
  *
107
107
  * `@lunora/container` stamps this trace context as the **`traceparent` request
108
- * header** on every proxied fetch (`ctx.containers.&lt;name>.…`), so a container
108
+ * header** on every proxied fetch (`ctx.containers.<name>.…`), so a container
109
109
  * that serves many requests should read it per request and create a telemetry
110
110
  * instance scoped to that request — the trace context differs each call, so a
111
111
  * single process-lifetime instance can't carry it:
@@ -61,7 +61,7 @@ interface BuildImageSource {
61
61
  /**
62
62
  * Where the container image comes from. A `string` is a **local path** —
63
63
  * either a directory containing a `Dockerfile` (normalized to
64
- * `&lt;dir>/Dockerfile` with the directory as the build context) or a path to
64
+ * `<dir>/Dockerfile` with the directory as the build context) or a path to
65
65
  * the Dockerfile itself — while `{ registry }` is a pre-built image reference.
66
66
  * @experimental
67
67
  */
@@ -192,7 +192,7 @@ interface ContainerConfig {
192
192
  pingEndpoint?: string;
193
193
  /**
194
194
  * Application-level readiness probes that gate request proxying: a
195
- * `ctx.containers.&lt;name>` fetch waits until every probe responds with its
195
+ * `ctx.containers.<name>` fetch waits until every probe responds with its
196
196
  * expected status before the request reaches the container — on top of the
197
197
  * platform's port/`pingEndpoint` health wait. All probes run in parallel.
198
198
  * Use these for readiness an open-port check can't see (migrations applied,
@@ -61,7 +61,7 @@ interface BuildImageSource {
61
61
  /**
62
62
  * Where the container image comes from. A `string` is a **local path** —
63
63
  * either a directory containing a `Dockerfile` (normalized to
64
- * `&lt;dir>/Dockerfile` with the directory as the build context) or a path to
64
+ * `<dir>/Dockerfile` with the directory as the build context) or a path to
65
65
  * the Dockerfile itself — while `{ registry }` is a pre-built image reference.
66
66
  * @experimental
67
67
  */
@@ -192,7 +192,7 @@ interface ContainerConfig {
192
192
  pingEndpoint?: string;
193
193
  /**
194
194
  * Application-level readiness probes that gate request proxying: a
195
- * `ctx.containers.&lt;name>` fetch waits until every probe responds with its
195
+ * `ctx.containers.<name>` fetch waits until every probe responds with its
196
196
  * expected status before the request reaches the container — on top of the
197
197
  * platform's port/`pingEndpoint` health wait. All probes run in parallel.
198
198
  * Use these for readiness an open-port check can't see (migrations applied,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/container",
3
- "version": "1.0.0-alpha.22",
3
+ "version": "1.0.0-alpha.23",
4
4
  "description": "Cloudflare Containers for Lunora: defineContainer, generated Container DO classes, and the ctx.containers action surface",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -56,7 +56,7 @@
56
56
  "access": "public"
57
57
  },
58
58
  "dependencies": {
59
- "@lunora/errors": "1.0.0-alpha.13"
59
+ "@lunora/errors": "1.0.0-alpha.14"
60
60
  },
61
61
  "engines": {
62
62
  "node": "^22.15.0 || >=24.11.0"