@nimbus-sh/worker 0.1.3 → 0.1.4

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
@@ -67,7 +67,7 @@ export default createNimbusHandler({
67
67
  ```
68
68
 
69
69
  `wrangler.jsonc` (use `@nimbus-sh/config` to generate, or adapt
70
- `apps/dogfood/wrangler.jsonc`):
70
+ `apps/hosted-demo/wrangler.jsonc`):
71
71
 
72
72
  ```jsonc
73
73
  {
@@ -246,7 +246,7 @@ export default createNimbusHandler({
246
246
 
247
247
  ## Required bindings
248
248
 
249
- Every binding is load-bearing — see `apps/dogfood/wrangler.jsonc` or
249
+ Every binding is load-bearing — see `apps/hosted-demo/wrangler.jsonc` or
250
250
  `@nimbus-sh/config` for the canonical set:
251
251
 
252
252
  - `NIMBUS_SESSION` (Durable Object) — per-session SQLite state
package/dist/index.js CHANGED
@@ -64,8 +64,8 @@ export function getCtxExports() {
64
64
  return _getCtxExports();
65
65
  }
66
66
  // Worker default export — a `createNimbusHandler()` instance running in
67
- // auto auth mode. The live demo and dogfood embedder are bit-identical
67
+ // auto auth mode. The live demo and hosted-demo embedder are bit-identical
68
68
  // from here on; the only difference is `NIMBUS_LEGACY_PUBLIC=1` env var
69
- // (set on the live demo, unset for the dogfood) flipping auth.mode to
69
+ // (set on the live demo, unset for the hosted-demo) flipping auth.mode to
70
70
  // 'legacy' inside the auto-resolver.
71
71
  export default createNimbusHandler();
@@ -29,7 +29,7 @@
29
29
  * - Hooks let embedders observe lifecycle without forking the DO. They
30
30
  * run alongside, never block (errors are caught + logged).
31
31
  * - The default `createNimbusHandler()` (zero args) is the
32
- * "ship-Nimbus-as-is" case — exactly what `apps/dogfood/` does.
32
+ * "ship-Nimbus-as-is" case — exactly what `apps/hosted-demo/` does.
33
33
  */
34
34
  import { type NimbusSdkRouterConfig } from './remote-api.js';
35
35
  export type { NimbusConfig as NimbusSdkConfig, NimbusRemoteApiConfig, NimbusRuntimePolicy, NimbusSandboxProfile, NimbusSdkRouterConfig, } from './remote-api.js';
@@ -29,7 +29,7 @@
29
29
  * - Hooks let embedders observe lifecycle without forking the DO. They
30
30
  * run alongside, never block (errors are caught + logged).
31
31
  * - The default `createNimbusHandler()` (zero args) is the
32
- * "ship-Nimbus-as-is" case — exactly what `apps/dogfood/` does.
32
+ * "ship-Nimbus-as-is" case — exactly what `apps/hosted-demo/` does.
33
33
  */
34
34
  import { generateSessionId, isValidSessionId, } from '../_shared/session-id.js';
35
35
  import { parseSessionRoute, forwardToSession, renderInvalidSessionHtml, SESSION_ROUTE_PREFIX, LEGACY_PUBLIC_DO_SEGMENT, } from '../_shared/session-router.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-sh/worker",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Nimbus runtime package for Cloudflare Workers, re-exported publicly through @nimbus-sh/sdk/worker.",
5
5
  "keywords": [
6
6
  "cloudflare",