@nimbus-sh/worker 0.2.3 → 0.4.0

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.
Files changed (146) hide show
  1. package/dist/_shared/session-router.d.ts +8 -0
  2. package/dist/_shared/session-router.d.ts.map +1 -1
  3. package/dist/_shared/session-router.js +8 -0
  4. package/dist/esbuild-wasm-bundle.generated.d.ts +1 -1
  5. package/dist/esbuild-wasm-bundle.generated.js +1 -1
  6. package/dist/facets/cirrus-real.js +1 -1
  7. package/dist/facets/manager.d.ts +43 -129
  8. package/dist/facets/manager.d.ts.map +1 -1
  9. package/dist/facets/manager.js +107 -318
  10. package/dist/facets/opencode-staging.d.ts +1 -1
  11. package/dist/facets/opencode-staging.d.ts.map +1 -1
  12. package/dist/facets/opencode-staging.js +3 -0
  13. package/dist/facets/real-vite-hmr.js +1 -1
  14. package/dist/facets/vite-dev-server.d.ts +4 -4
  15. package/dist/facets/vite-dev-server.js +5 -5
  16. package/dist/git/commands.d.ts +8 -0
  17. package/dist/git/commands.d.ts.map +1 -1
  18. package/dist/git/commands.js +41 -9
  19. package/dist/git/network-facet.d.ts +1 -1
  20. package/dist/git/network-facet.d.ts.map +1 -1
  21. package/dist/git/network-facet.js +39 -15
  22. package/dist/git-bundle.generated.d.ts +2 -2
  23. package/dist/git-bundle.generated.d.ts.map +1 -1
  24. package/dist/git-bundle.generated.js +3 -3
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +9 -1
  27. package/dist/loaders/child-process/spawn-facet.js +1 -1
  28. package/dist/loaders/child-process/spawn-pool.d.ts.map +1 -1
  29. package/dist/loaders/child-process/spawn-pool.js +2 -2
  30. package/dist/loaders/generated-workers.d.ts +2 -2
  31. package/dist/loaders/generated-workers.d.ts.map +1 -1
  32. package/dist/loaders/generated-workers.js +3 -3
  33. package/dist/loaders/npm-resolve-preamble.d.ts +3 -3
  34. package/dist/loaders/npm-resolve-preamble.js +3 -3
  35. package/dist/loaders/pre-bundle-preamble.d.ts +5 -5
  36. package/dist/loaders/pre-bundle-preamble.js +6 -6
  37. package/dist/loaders/process-host.d.ts +6 -107
  38. package/dist/loaders/process-host.d.ts.map +1 -1
  39. package/dist/loaders/process-host.js +6 -405
  40. package/dist/npm/install-batch-facet.d.ts +1 -1
  41. package/dist/npm/install-batch-facet.js +1 -1
  42. package/dist/npm/installer.d.ts +6 -6
  43. package/dist/npm/installer.d.ts.map +1 -1
  44. package/dist/npm/installer.js +28 -27
  45. package/dist/npm/pre-bundle-facet.d.ts +2 -2
  46. package/dist/npm/pre-bundle-facet.js +5 -5
  47. package/dist/npm/r2-cache.d.ts +1 -1
  48. package/dist/npm/resolve-facet.d.ts +1 -1
  49. package/dist/npm/resolve-facet.js +1 -1
  50. package/dist/npm/resolve-one-facet.d.ts +5 -5
  51. package/dist/npm/resolve-one-facet.js +5 -5
  52. package/dist/router/index.js +2 -2
  53. package/dist/router/remote-api.js +9 -1
  54. package/dist/runtime/bun-repl.d.ts +1 -1
  55. package/dist/runtime/bun-repl.js +3 -3
  56. package/dist/runtime/esbuild-wasm-bytes.js +1 -1
  57. package/dist/runtime/facet-loader-host.d.ts +5 -8
  58. package/dist/runtime/facet-loader-host.d.ts.map +1 -1
  59. package/dist/runtime/facet-loader-host.js +7 -11
  60. package/dist/runtime/node-repl.js +2 -2
  61. package/dist/runtime/node-shims-artifact.js +1 -1
  62. package/dist/runtime/node-shims.js +2 -1
  63. package/dist/runtime/opencode-artifact.js +1 -1
  64. package/dist/runtime/opentui-wasm-bytes.js +1 -1
  65. package/dist/runtime/python-repl.js +3 -3
  66. package/dist/runtime/ruby-repl.js +2 -2
  67. package/dist/runtime/ruby-resident.js +1 -1
  68. package/dist/runtime/sqlite-wasm-bytes.js +1 -1
  69. package/dist/session/diag.js +1 -1
  70. package/dist/session/hibernation.d.ts +20 -53
  71. package/dist/session/hibernation.d.ts.map +1 -1
  72. package/dist/session/hibernation.js +57 -194
  73. package/dist/session/init-phases.d.ts +2 -3
  74. package/dist/session/init-phases.d.ts.map +1 -1
  75. package/dist/session/init-phases.js +3 -2
  76. package/dist/session/init.d.ts.map +1 -1
  77. package/dist/session/init.js +8 -4
  78. package/dist/session/keys.d.ts +14 -37
  79. package/dist/session/keys.d.ts.map +1 -1
  80. package/dist/session/keys.js +18 -37
  81. package/dist/session/nimbus-session.d.ts +10 -15
  82. package/dist/session/nimbus-session.d.ts.map +1 -1
  83. package/dist/session/nimbus-session.js +28 -31
  84. package/dist/session/port-capability.d.ts +43 -0
  85. package/dist/session/port-capability.d.ts.map +1 -0
  86. package/dist/session/port-capability.js +49 -0
  87. package/dist/session/programmatic.d.ts +39 -5
  88. package/dist/session/programmatic.d.ts.map +1 -1
  89. package/dist/session/programmatic.js +150 -19
  90. package/dist/session/routes.d.ts +2 -0
  91. package/dist/session/routes.d.ts.map +1 -1
  92. package/dist/session/routes.js +96 -20
  93. package/dist/session/rpc.d.ts +36 -9
  94. package/dist/session/rpc.d.ts.map +1 -1
  95. package/dist/session/rpc.js +84 -24
  96. package/dist/session/start-real-vite.d.ts.map +1 -1
  97. package/dist/session/start-real-vite.js +3 -1
  98. package/dist/session/state-store.d.ts +3 -2
  99. package/dist/session/state-store.d.ts.map +1 -1
  100. package/dist/session/state-store.js +3 -2
  101. package/dist/session/supervisor-rpc.d.ts.map +1 -1
  102. package/dist/session/supervisor-rpc.js +7 -4
  103. package/dist/session/ws.d.ts +1 -3
  104. package/dist/session/ws.d.ts.map +1 -1
  105. package/dist/session/ws.js +4 -3
  106. package/dist/wrangler/nimbus-wrangler.js +1 -1
  107. package/package.json +4 -2
  108. package/scripts/bundle-esbuild-wasm.mjs +2 -2
  109. package/scripts/bundle-facet-workers.mjs +5 -7
  110. package/scripts/bundle-sqlite-wasm.mjs +1 -1
  111. package/dist/facets/inner-do-registry.d.ts +0 -41
  112. package/dist/facets/inner-do-registry.d.ts.map +0 -1
  113. package/dist/facets/inner-do-registry.js +0 -51
  114. package/dist/facets/launch-pacer.d.ts +0 -111
  115. package/dist/facets/launch-pacer.d.ts.map +0 -1
  116. package/dist/facets/launch-pacer.js +0 -130
  117. package/dist/loaders/fanout-pool.d.ts +0 -207
  118. package/dist/loaders/fanout-pool.d.ts.map +0 -1
  119. package/dist/loaders/fanout-pool.js +0 -363
  120. package/dist/loaders/loader-pool.d.ts +0 -294
  121. package/dist/loaders/loader-pool.d.ts.map +0 -1
  122. package/dist/loaders/loader-pool.js +0 -642
  123. package/dist/loaders/process-fabric.d.ts +0 -509
  124. package/dist/loaders/process-fabric.d.ts.map +0 -1
  125. package/dist/loaders/process-fabric.js +0 -360
  126. package/dist/loaders/vendor/errors.d.ts +0 -24
  127. package/dist/loaders/vendor/errors.d.ts.map +0 -1
  128. package/dist/loaders/vendor/errors.js +0 -46
  129. package/dist/loaders/vendor/serialize.d.ts +0 -3
  130. package/dist/loaders/vendor/serialize.d.ts.map +0 -1
  131. package/dist/loaders/vendor/serialize.js +0 -25
  132. package/dist/loaders/vendor/types.d.ts +0 -69
  133. package/dist/loaders/vendor/types.d.ts.map +0 -1
  134. package/dist/loaders/vendor/types.js +0 -4
  135. package/dist/loaders/workerd-facet-host.d.ts +0 -141
  136. package/dist/loaders/workerd-facet-host.d.ts.map +0 -1
  137. package/dist/loaders/workerd-facet-host.js +0 -284
  138. package/dist/session/bindings.d.ts +0 -209
  139. package/dist/session/bindings.d.ts.map +0 -1
  140. package/dist/session/bindings.js +0 -680
  141. package/dist/session/ctx-exports.d.ts +0 -16
  142. package/dist/session/ctx-exports.d.ts.map +0 -1
  143. package/dist/session/ctx-exports.js +0 -22
  144. package/dist/session/ws-hibernation-config.d.ts +0 -64
  145. package/dist/session/ws-hibernation-config.d.ts.map +0 -1
  146. package/dist/session/ws-hibernation-config.js +0 -89
@@ -43,6 +43,14 @@ export declare const BASE_PATH_HEADER = "X-Nimbus-Base";
43
43
  * authority — the DO instance name is the trust boundary.
44
44
  */
45
45
  export declare const TENANT_HEADER = "X-Nimbus-Tenant";
46
+ /**
47
+ * Header an embedder sets to present a port's preview capability. The
48
+ * capability authorises ONE port of ONE session, so an embedder can publish a
49
+ * guest's dev server without publishing the session. Nimbus's own credentials
50
+ * are stripped from a request that carries it, and the guest application's
51
+ * `Authorization` is preserved — the one route on which that is true.
52
+ */
53
+ export declare const PREVIEW_CAPABILITY_HEADER = "x-nimbus-preview-capability";
46
54
  /**
47
55
  * DO-name segment used when tenant scoping is disabled (legacy-public).
48
56
  * Picked so it cannot collide with a verified token's
@@ -1 +1 @@
1
- {"version":3,"file":"session-router.d.ts","sourceRoot":"","sources":["../../src/_shared/session-router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,qEAAqE;AACrE,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAE/C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAS1D,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI,CAa7E;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,kBAAkB,EACzB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,QAAQ,CAAC,CAsCnB;AAED,0EAA0E;AAC1E,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CA6BpE"}
1
+ {"version":3,"file":"session-router.d.ts","sourceRoot":"","sources":["../../src/_shared/session-router.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH,8EAA8E;AAC9E,eAAO,MAAM,oBAAoB,OAAO,CAAC;AAEzC,qEAAqE;AACrE,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAE/C;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAS1D,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,SAAS,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI,CAa7E;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC7B,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,kBAAkB,EACzB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,cAAc,GACnB,OAAO,CAAC,QAAQ,CAAC,CAsCnB;AAED,0EAA0E;AAC1E,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CA6BpE"}
@@ -44,6 +44,14 @@ export const BASE_PATH_HEADER = 'X-Nimbus-Base';
44
44
  * authority — the DO instance name is the trust boundary.
45
45
  */
46
46
  export const TENANT_HEADER = 'X-Nimbus-Tenant';
47
+ /**
48
+ * Header an embedder sets to present a port's preview capability. The
49
+ * capability authorises ONE port of ONE session, so an embedder can publish a
50
+ * guest's dev server without publishing the session. Nimbus's own credentials
51
+ * are stripped from a request that carries it, and the guest application's
52
+ * `Authorization` is preserved — the one route on which that is true.
53
+ */
54
+ export const PREVIEW_CAPABILITY_HEADER = 'x-nimbus-preview-capability';
47
55
  /**
48
56
  * DO-name segment used when tenant scoping is disabled (legacy-public).
49
57
  * Picked so it cannot collide with a verified token's
@@ -2,7 +2,7 @@
2
2
  * esbuild-wasm-bundle.generated.ts — AUTO-GENERATED by scripts/bundle-esbuild-wasm.mjs
3
3
  * DO NOT EDIT.
4
4
  *
5
- * Bundled esbuild-wasm 0.24.2 adapter for use inside NimbusLoaderPool
5
+ * Bundled esbuild-wasm 0.24.2 adapter for use inside NimbusIsolatePool
6
6
  * isolates. Only the JS adapter is bundled here (~117 KiB); the wasm
7
7
  * binary itself lives in the static-assets layer at
8
8
  * public/_assets/esbuild-0.24.2.wasm and is fetched on demand by
@@ -2,7 +2,7 @@
2
2
  * esbuild-wasm-bundle.generated.ts — AUTO-GENERATED by scripts/bundle-esbuild-wasm.mjs
3
3
  * DO NOT EDIT.
4
4
  *
5
- * Bundled esbuild-wasm 0.24.2 adapter for use inside NimbusLoaderPool
5
+ * Bundled esbuild-wasm 0.24.2 adapter for use inside NimbusIsolatePool
6
6
  * isolates. Only the JS adapter is bundled here (~117 KiB); the wasm
7
7
  * binary itself lives in the static-assets layer at
8
8
  * public/_assets/esbuild-0.24.2.wasm and is fetched on demand by
@@ -57,7 +57,7 @@ import { REAL_VITE_VERSION, VITE_CLIENT_MJS, VITE_ENV_MJS, getRealViteBundle, ge
57
57
  import { CIRRUS_PLUGIN_REACT_VERSION, getCirrusPluginReactBundle, } from '../cirrus-plugin-react.generated.js';
58
58
  import { CIRRUS_NPM_CJS_VERSIONS, getCirrusNpmCjsBundles } from '../cirrus-npm-cjs.generated.js';
59
59
  import { CF_COMPAT_DATE } from '@nimbus-sh/core/constants.js';
60
- import { getCtxExports } from '../session/ctx-exports.js';
60
+ import { getCtxExports } from '@nimbus-sh/fabric/composition.js';
61
61
  import { buildFsSnapshot, generateFsShimModuleCode, generateFsPromisesShimModuleCode, generateSyntheticModuleCode, } from './real-vite-fs-shim.js';
62
62
  import { HmrBridge, registerHmrBridge, generateWsShimModuleCode, generateChokidarShimModuleCode, } from './real-vite-hmr.js';
63
63
  import { CRED_KERNEL } from '@nimbus-sh/core/runtime/os-contracts.js';
@@ -19,9 +19,9 @@ import type { ProcessEntry } from '@nimbus-sh/core/runtime/process-table.js';
19
19
  import { SessionProcessSupervisor } from '@nimbus-sh/core/runtime/session-process-supervisor.js';
20
20
  import type { CredentialedVfs, SqliteVFS, VfsStat } from '@nimbus-sh/core/vfs/sqlite-vfs.js';
21
21
  import type { PortRegistry } from '@nimbus-sh/core/runtime/port-registry.js';
22
- import { LaunchPacer } from './launch-pacer.js';
22
+ import { TurnBudget } from '@nimbus-sh/fabric/turn-budget.js';
23
23
  import { EsbuildService } from '@nimbus-sh/core/runtime/esbuild-service.js';
24
- import { type ProcessHostFactory } from '../loaders/process-fabric.js';
24
+ import { type ProcessHostFactory } from '@nimbus-sh/fabric/process-fabric.js';
25
25
  import { type OpencodeRunnerOptions } from '../runtime/opencode-facet-runner.js';
26
26
  import { type FacetBundleProfile } from '@nimbus-sh/core/runtime/bundle-profile.js';
27
27
  /** Result returned from a facet execution */
@@ -170,7 +170,7 @@ export declare function generateLongRunningNodeCode(userCode: string, vfsState:
170
170
  stdin?: string;
171
171
  attachedTty?: boolean;
172
172
  cred: ProcessEntry['cred'];
173
- }, usesSqlite: boolean, shims: string, pacer?: LaunchPacer): Promise<GeneratedNodeFacetCode>;
173
+ }, usesSqlite: boolean, shims: string, pacer?: TurnBudget): Promise<GeneratedNodeFacetCode>;
174
174
  /**
175
175
  * Result of preparing facet VFS state.
176
176
  * - bundle: path → content for the complete static require closure
@@ -326,7 +326,7 @@ export declare function encodedBundleSize(bundle: FacetVfsBundle, manifest: Reco
326
326
  * the merge expression concatenates those fragments back to the original
327
327
  * string or Uint8Array before module precompilation begins.
328
328
  */
329
- export declare function buildFacetVfsBundleSource(bundle: FacetVfsBundle, forceSideModules?: boolean, pacer?: LaunchPacer): Promise<FacetVfsBundleSource>;
329
+ export declare function buildFacetVfsBundleSource(bundle: FacetVfsBundle, forceSideModules?: boolean, pacer?: TurnBudget): Promise<FacetVfsBundleSource>;
330
330
  /**
331
331
  * A staged spec crosses the fabric as ONE RPC payload, so its snapshot has
332
332
  * no side-module relief: `MAX_RPC_SAFE_PAYLOAD_BYTES` is a hard physical
@@ -550,7 +550,7 @@ export declare function bundleTypescriptLoader(path: string): 'ts' | 'tsx' | nul
550
550
  * behaviour for code paths that don't have esbuild handy).
551
551
  *
552
552
  */
553
- export declare function buildPrefetchBundle(vfs: CredentialedVfs, scriptPath: string | undefined, cwd: string, entryCode: string, esbuild?: EsbuildService, bundleProfile?: FacetBundleProfile, observedReads?: ReadonlySet<string>, pacer?: LaunchPacer): Promise<FacetVfsState>;
553
+ export declare function buildPrefetchBundle(vfs: CredentialedVfs, scriptPath: string | undefined, cwd: string, entryCode: string, esbuild?: EsbuildService, bundleProfile?: FacetBundleProfile, observedReads?: ReadonlySet<string>, pacer?: TurnBudget): Promise<FacetVfsState>;
554
554
  /**
555
555
  * Optional hooks wired in by NimbusSession. Kept as callbacks so
556
556
  * FacetManager stays unaware of the session / log-store types.
@@ -637,29 +637,25 @@ export declare class FacetManager {
637
637
  /** NIMBUS_DEBUG=1: placement diagnostics into the process log store. */
638
638
  private debugEnabled;
639
639
  private processRpcResources;
640
- /** pid → the boot images its facet loads from; the image sweep's root set. */
641
- private residentImages;
642
640
  /**
643
- * Launches suspended between chunks, waiting for a turn of their own.
644
- *
645
- * In-memory on purpose: a launch is only meaningful while the process table
646
- * entry it is building for exists, and both are lost together if the isolate
647
- * resets. What survives a reset is the journal, which names the launch's
648
- * INPUTS rather than its position — a resumed queue would be resurrecting
649
- * half-built work for pids that no longer exist, where re-driving a launch
650
- * from its inputs is the same idempotent work again.
641
+ * The content-addressed boot-image store (fabric's image-store.ts),
642
+ * writing through this session's kernel-credentialed VFS and rooted off the
643
+ * live process table.
644
+ */
645
+ private readonly imageStore;
646
+ /**
647
+ * The resident-launch journal (fabric's fenced-work.ts): the durable
648
+ * record of every resident this session owes the user, and its recovery
649
+ * after an instance reset. This manager supplies what a launch IS — the
650
+ * inputs `_spawnResident` re-drives from — and how its loss is reported.
651
651
  */
652
- private launchWaiters;
653
- /** Whether this instance has already read the journal a reset leaves behind. */
654
- private launchesRecovered;
652
+ private readonly launchJournal;
655
653
  /**
656
- * Pids THIS instance holds journal rows for. What keeps the terminal hook —
657
- * which fires for every process, shells and one-shots included — from
658
- * paying a storage delete for pids that never had a row. In-memory is
659
- * correct: rows from a previous instance are recovery's to consume, never
660
- * this hook's.
654
+ * The granting side of the launch budget (fabric's turn-budget.ts). The
655
+ * session's alarm re-enters the object through `pumpResidentLaunches`;
656
+ * journal recovery rides the first pump.
661
657
  */
662
- private journalledPids;
658
+ private readonly launchPump;
663
659
  private timedOutProcessIds;
664
660
  private _pairedServeFacet;
665
661
  /**
@@ -712,23 +708,23 @@ export declare class FacetManager {
712
708
  constructor(ctx: DurableObjectState, env: unknown, processes: SessionProcessSupervisor, portRegistry: PortRegistry, host: ProcessHostFactory, hooks?: FacetManagerHooks);
713
709
  setVfs(vfs: SqliteVFS): void;
714
710
  /**
715
- * The image store's directory, created before the first filesystem view is
716
- * built rather than on the first image write.
717
- *
718
- * Lazily created, it made the store perturb the very view every manifest is
719
- * built from: the root listing gained an entry the moment an image landed,
720
- * so the next spawn of an identical program generated different text and
721
- * addressed a different image. Existing before the first walk makes it
722
- * stable.
723
- *
724
- * Sited on the exec path and not in setVfs, because setVfs runs while the
725
- * Durable Object is coming up — including on every wake — and a synchronous
726
- * filesystem write there costs the session its startup. Measured: a
727
- * throwaway built that way stopped accepting terminal connections at all,
728
- * while the same build without it served them.
711
+ * The env/ctx pair every loader-backed runtime builds its facet pools
712
+ * from. A pool is constructed from exactly these two, so the manager
713
+ * exposes them as one narrow accessor rather than every runtime reaching
714
+ * into its private fields.
715
+ */
716
+ loaderHost(): {
717
+ env: unknown;
718
+ ctx: DurableObjectState;
719
+ };
720
+ /**
721
+ * The image store's disk: this session's VFS, as the kernel — the store is
722
+ * written by the kernel and read by processes through supervisor bindings
723
+ * that enforce their own credential. Mode 0644 at creation, as POSIX has
724
+ * it, is what makes the read succeed for any process by construction; the
725
+ * store itself decides nothing about modes.
729
726
  */
730
- private _ensureImageStoreDir;
731
- private imageStoreDirReady;
727
+ private _imageBlobs;
732
728
  /**
733
729
  * W3.5 Fix B: hand the FacetManager a pre-warmed EsbuildService for
734
730
  * the ESM→CJS bundle pre-pass. NimbusSession already lazy-creates one
@@ -931,49 +927,22 @@ export declare class FacetManager {
931
927
  * The reader the fabric completes a boot spec's by-path members with.
932
928
  *
933
929
  * Reads as CRED_KERNEL because that is who WROTE them: the generated images
934
- * are kernel-owned (`_materializeFacetImages`) and the runtime wasm images
930
+ * are kernel-owned (`_imageBlobs`) and the runtime wasm images
935
931
  * are installed by the kernel. Uncached because these are the session's
936
932
  * largest files — a ruby interpreter image is 34.3 MiB — and pinning one in
937
933
  * the VFS content LRU for the life of the session is what once crashed the
938
934
  * supervisor.
939
935
  */
940
936
  private _residentDisk;
941
- /**
942
- * Materialize generated module sources in the content-addressed image store
943
- * and return the `vfsTextModules` map naming them.
944
- *
945
- * A resident process's module map is sized by the user's disk, so it does
946
- * not ride inside the boot spec — see ResidentCodeSpec.vfsTextModules.
947
- * Writing it here, once, is what lets the session stop holding it: after
948
- * this returns, the only thing it keeps is a path.
949
- *
950
- * The store is written by the kernel and read by the process, so nothing
951
- * here depends on which credential spawned what. Digest collisions are the
952
- * hash's problem; everything else is idempotent — an image already present
953
- * at its own digest is already the bytes we were about to write.
954
- */
955
- private _materializeFacetImages;
956
937
  /**
957
938
  * Fail a paced launch whose process went away while it was suspended.
958
939
  *
959
- * Between turns anything may happen to the process — a kill, a reap, a
960
- * `_sweepFacetImages` that has already unrooted its images. Continuing would
940
+ * Between turns anything may happen to the process — a kill, a reap, an
941
+ * image sweep that has already unrooted its images. Continuing would
961
942
  * spend further turns building a facet for a pid nothing will ever attach
962
943
  * to, and would write image files the next sweep immediately collects.
963
944
  */
964
945
  private _assertLaunchStillOwned;
965
- /**
966
- * Drop every image no running process boots from.
967
- *
968
- * Content addressing means a changed program writes a NEW image rather than
969
- * replacing one, so a watch loop — or simply a session that runs a few
970
- * different programs — would otherwise leave one bundle-sized file behind
971
- * per distinct version. The root set is the process table, which is exact:
972
- * an image is live for precisely as long as the process that boots from it.
973
- * Nothing is left for a TTL or an eviction heuristic to guess at, and after
974
- * a DO reset the table is empty so every orphan goes.
975
- */
976
- private _sweepFacetImages;
977
946
  /**
978
947
  * The one way this manager boots a resident process. Every resident process
979
948
  * is a facet of this session; there is nothing to place and nothing here
@@ -982,60 +951,11 @@ export declare class FacetManager {
982
951
  private _startResidentProcess;
983
952
  private _activateProcessVfsWriter;
984
953
  /**
985
- * How a paced launch asks for a fresh turn.
986
- *
987
- * The host grants one by calling `pumpResidentLaunches` from a context that
988
- * is genuinely a new invocation — the session's alarm. Without such a host
989
- * there is no fresh turn to be had, and the launch continues on this one
990
- * rather than hanging: that is exactly the single-turn launch this path has
991
- * always performed, so a harness or a runtime without alarms loses the
992
- * responsiveness but keeps the behaviour.
993
- */
994
- private readonly launchScheduler;
995
- /**
996
- * Run one chunk of every launch waiting for a turn.
997
- *
998
- * Awaits the chunk each resumed launch then performs, so the invocation that
999
- * granted the turn is the invocation that pays for the work — rather than
1000
- * releasing it into a handler's microtask drain, where nothing owns it and
1001
- * the runtime may tear the context down mid-chunk.
954
+ * Grant every suspended launch a chunk of this turn — the session's alarm
955
+ * calls this, and journal recovery rides the first pump. See fabric's
956
+ * `PacedWork.pump` for the ownership argument.
1002
957
  */
1003
958
  pumpResidentLaunches(): Promise<void>;
1004
- /**
1005
- * Re-drive the launches a previous instance was building when it was reset.
1006
- *
1007
- * The platform resets a session Durable Object over what one turn has
1008
- * outstanding in storage ("Internal error in Durable Object storage caused
1009
- * object to be reset"), and a launch is the largest writer this session has.
1010
- * Everything the launch held was in memory, so the process it was building
1011
- * and the terminal watching it both went with the instance, and until now
1012
- * the user was told nothing at all.
1013
- *
1014
- * Sited on the pump because the pump is what an alarm calls, and a launch
1015
- * that was suspended has an alarm armed for it — a reset during a chunk
1016
- * fails that alarm, and the platform re-delivers it to the instance that
1017
- * replaces this one. So the first turn after a reset is already this one.
1018
- *
1019
- * Runs once per instance: the journal only changes when a launch of THIS
1020
- * instance starts or settles, and those are rows this instance wrote.
1021
- */
1022
- private _recoverInterruptedLaunches;
1023
- /**
1024
- * Record a launch as in flight, so an instance that replaces this one knows
1025
- * it never finished. Best-effort: a launch that cannot be journalled still
1026
- * runs, and a reset then costs exactly what it cost before the journal.
1027
- *
1028
- * Synced, not merely put: `await put()` resolves before durability, and the
1029
- * reset this journal exists for destroys every write its turn still had
1030
- * outstanding — measured live, a launch killed in its first chunks left NO
1031
- * row for the replacement instance to find, which is how the recovery this
1032
- * feeds sat inert while its own test stayed green. `sync()` is the storage
1033
- * layer's durability barrier: the row is on disk before the launch performs
1034
- * its first byte of real work. What remains is a reset between the put and
1035
- * the sync's completion — and a launch that dies there has not started, so
1036
- * losing its row costs a retype, not a recovery.
1037
- */
1038
- private _journalLaunch;
1039
959
  /** Whether any launch is suspended waiting for a turn. */
1040
960
  get hasPendingLaunchTurns(): boolean;
1041
961
  /** Allocate a free loopback port for a resident server facet (from 4096 up). */
@@ -1098,12 +1018,6 @@ export declare class FacetManager {
1098
1018
  * the launch faster would have given it.
1099
1019
  */
1100
1020
  private _runResidentLaunch;
1101
- /**
1102
- * The journal row's one release: the process is over, nothing is owed.
1103
- * Synced so an instance reset moments later cannot roll the delete back and
1104
- * resurrect a process the user watched end.
1105
- */
1106
- private _releaseResidentJournal;
1107
1021
  private _residentLaunchBody;
1108
1022
  /**
1109
1023
  * Spawn a long-running dynamic Worker, boot it, and return its boot payload.
@@ -1122,7 +1036,7 @@ export declare class FacetManager {
1122
1036
  pid: number;
1123
1037
  boot: unknown;
1124
1038
  }>;
1125
- registerPort(pid: number, port: number): void;
1039
+ registerPort(pid: number, port: number): Promise<void>;
1126
1040
  waitForRouteablePorts(pid: number, timeoutMs?: number): Promise<number[]>;
1127
1041
  finishProcess(pid: number, exitCode: number, reason?: string): void;
1128
1042
  /** Kill a running process by PID. */
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../src/facets/manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AAUjG,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAE7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAM7E,OAAO,EAAE,WAAW,EAAiD,MAAM,mBAAmB,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAI5E,OAAO,EAOL,KAAK,kBAAkB,EAIxB,MAAM,8BAA8B,CAAC;AAMtC,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,2CAA2C,CAAC;AAgBnD,6CAA6C;AAC7C,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC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