@nimbus-sh/worker 0.1.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.
- package/README.md +219 -0
- package/dist/_shared/bytes.d.ts +18 -0
- package/dist/_shared/bytes.d.ts.map +1 -0
- package/dist/_shared/bytes.js +17 -0
- package/dist/_shared/cache-stats.d.ts +146 -0
- package/dist/_shared/cache-stats.d.ts.map +1 -0
- package/dist/_shared/cache-stats.js +162 -0
- package/dist/_shared/exports-resolver.d.ts +76 -0
- package/dist/_shared/exports-resolver.d.ts.map +1 -0
- package/dist/_shared/exports-resolver.js +284 -0
- package/dist/_shared/install-phase.d.ts +47 -0
- package/dist/_shared/install-phase.d.ts.map +1 -0
- package/dist/_shared/install-phase.js +1 -0
- package/dist/_shared/real-node-imports.d.ts +38 -0
- package/dist/_shared/real-node-imports.d.ts.map +1 -0
- package/dist/_shared/real-node-imports.js +46 -0
- package/dist/_shared/retry.d.ts +93 -0
- package/dist/_shared/retry.d.ts.map +1 -0
- package/dist/_shared/retry.js +161 -0
- package/dist/_shared/session-id.d.ts +39 -0
- package/dist/_shared/session-id.d.ts.map +1 -0
- package/dist/_shared/session-id.js +127 -0
- package/dist/_shared/session-router.d.ts +104 -0
- package/dist/_shared/session-router.d.ts.map +1 -0
- package/dist/_shared/session-router.js +165 -0
- package/dist/_shared/w7-frame.d.ts +93 -0
- package/dist/_shared/w7-frame.d.ts.map +1 -0
- package/dist/_shared/w7-frame.js +402 -0
- package/dist/auth/index.d.ts +16 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +15 -0
- package/dist/auth/middleware.d.ts +85 -0
- package/dist/auth/middleware.d.ts.map +1 -0
- package/dist/auth/middleware.js +150 -0
- package/dist/auth/token.d.ts +96 -0
- package/dist/auth/token.d.ts.map +1 -0
- package/dist/auth/token.js +226 -0
- package/dist/auth/types.d.ts +141 -0
- package/dist/auth/types.d.ts.map +1 -0
- package/dist/auth/types.js +114 -0
- package/dist/bindings/d1.d.ts +102 -0
- package/dist/bindings/d1.d.ts.map +1 -0
- package/dist/bindings/d1.js +549 -0
- package/dist/bindings/kv.d.ts +82 -0
- package/dist/bindings/kv.d.ts.map +1 -0
- package/dist/bindings/kv.js +290 -0
- package/dist/bindings/r2.d.ts +137 -0
- package/dist/bindings/r2.d.ts.map +1 -0
- package/dist/bindings/r2.js +379 -0
- package/dist/cirrus-npm-cjs.generated.d.ts +17 -0
- package/dist/cirrus-npm-cjs.generated.d.ts.map +1 -0
- package/dist/cirrus-npm-cjs.generated.js +41 -0
- package/dist/cirrus-plugin-react.generated.d.ts +34 -0
- package/dist/cirrus-plugin-react.generated.d.ts.map +1 -0
- package/dist/cirrus-plugin-react.generated.js +33 -0
- package/dist/constants.d.ts +34 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +116 -0
- package/dist/esbuild-wasm-bundle.generated.d.ts +41 -0
- package/dist/esbuild-wasm-bundle.generated.d.ts.map +1 -0
- package/dist/esbuild-wasm-bundle.generated.js +40 -0
- package/dist/facets/cirrus-real.d.ts +147 -0
- package/dist/facets/cirrus-real.d.ts.map +1 -0
- package/dist/facets/cirrus-real.js +981 -0
- package/dist/facets/inner-do-registry.d.ts +41 -0
- package/dist/facets/inner-do-registry.d.ts.map +1 -0
- package/dist/facets/inner-do-registry.js +51 -0
- package/dist/facets/manager.d.ts +314 -0
- package/dist/facets/manager.d.ts.map +1 -0
- package/dist/facets/manager.js +2681 -0
- package/dist/facets/process.d.ts +318 -0
- package/dist/facets/process.d.ts.map +1 -0
- package/dist/facets/process.js +567 -0
- package/dist/facets/real-vite-fs-shim.d.ts +151 -0
- package/dist/facets/real-vite-fs-shim.d.ts.map +1 -0
- package/dist/facets/real-vite-fs-shim.js +1279 -0
- package/dist/facets/real-vite-hmr.d.ts +142 -0
- package/dist/facets/real-vite-hmr.d.ts.map +1 -0
- package/dist/facets/real-vite-hmr.js +476 -0
- package/dist/facets/vite-dev-server.d.ts +293 -0
- package/dist/facets/vite-dev-server.d.ts.map +1 -0
- package/dist/facets/vite-dev-server.js +2580 -0
- package/dist/facets/wasm-swap-registry.d.ts +261 -0
- package/dist/facets/wasm-swap-registry.d.ts.map +1 -0
- package/dist/facets/wasm-swap-registry.js +551 -0
- package/dist/facets/ws-terminal.d.ts +107 -0
- package/dist/facets/ws-terminal.d.ts.map +1 -0
- package/dist/facets/ws-terminal.js +207 -0
- package/dist/git/commands.d.ts +13 -0
- package/dist/git/commands.d.ts.map +1 -0
- package/dist/git/commands.js +633 -0
- package/dist/git/network-facet.d.ts +61 -0
- package/dist/git/network-facet.d.ts.map +1 -0
- package/dist/git/network-facet.js +700 -0
- package/dist/git-bundle.generated.d.ts +16 -0
- package/dist/git-bundle.generated.d.ts.map +1 -0
- package/dist/git-bundle.generated.js +15 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/loaders/child-process/spawn-facet.d.ts +90 -0
- package/dist/loaders/child-process/spawn-facet.d.ts.map +1 -0
- package/dist/loaders/child-process/spawn-facet.js +103 -0
- package/dist/loaders/child-process/spawn-pool.d.ts +110 -0
- package/dist/loaders/child-process/spawn-pool.d.ts.map +1 -0
- package/dist/loaders/child-process/spawn-pool.js +161 -0
- package/dist/loaders/fanout-pool.d.ts +195 -0
- package/dist/loaders/fanout-pool.d.ts.map +1 -0
- package/dist/loaders/fanout-pool.js +326 -0
- package/dist/loaders/generated-workers.d.ts +26 -0
- package/dist/loaders/generated-workers.d.ts.map +1 -0
- package/dist/loaders/generated-workers.js +25 -0
- package/dist/loaders/index.d.ts +15 -0
- package/dist/loaders/index.d.ts.map +1 -0
- package/dist/loaders/index.js +13 -0
- package/dist/loaders/loader-pool.d.ts +273 -0
- package/dist/loaders/loader-pool.d.ts.map +1 -0
- package/dist/loaders/loader-pool.js +624 -0
- package/dist/loaders/npm-resolve-preamble.d.ts +34 -0
- package/dist/loaders/npm-resolve-preamble.d.ts.map +1 -0
- package/dist/loaders/npm-resolve-preamble.js +237 -0
- package/dist/loaders/pre-bundle-preamble.d.ts +41 -0
- package/dist/loaders/pre-bundle-preamble.d.ts.map +1 -0
- package/dist/loaders/pre-bundle-preamble.js +114 -0
- package/dist/loaders/vendor/codegen.d.ts +24 -0
- package/dist/loaders/vendor/codegen.d.ts.map +1 -0
- package/dist/loaders/vendor/codegen.js +44 -0
- package/dist/loaders/vendor/errors.d.ts +24 -0
- package/dist/loaders/vendor/errors.d.ts.map +1 -0
- package/dist/loaders/vendor/errors.js +46 -0
- package/dist/loaders/vendor/index.d.ts +16 -0
- package/dist/loaders/vendor/index.d.ts.map +1 -0
- package/dist/loaders/vendor/index.js +11 -0
- package/dist/loaders/vendor/pool.d.ts +88 -0
- package/dist/loaders/vendor/pool.d.ts.map +1 -0
- package/dist/loaders/vendor/pool.js +353 -0
- package/dist/loaders/vendor/primitives.d.ts +11 -0
- package/dist/loaders/vendor/primitives.d.ts.map +1 -0
- package/dist/loaders/vendor/primitives.js +33 -0
- package/dist/loaders/vendor/serialize.d.ts +3 -0
- package/dist/loaders/vendor/serialize.d.ts.map +1 -0
- package/dist/loaders/vendor/serialize.js +25 -0
- package/dist/loaders/vendor/types.d.ts +60 -0
- package/dist/loaders/vendor/types.d.ts.map +1 -0
- package/dist/loaders/vendor/types.js +4 -0
- package/dist/npm/cache.d.ts +136 -0
- package/dist/npm/cache.d.ts.map +1 -0
- package/dist/npm/cache.js +429 -0
- package/dist/npm/install-batch-facet.d.ts +129 -0
- package/dist/npm/install-batch-facet.d.ts.map +1 -0
- package/dist/npm/install-batch-facet.js +598 -0
- package/dist/npm/install-facet.d.ts +29 -0
- package/dist/npm/install-facet.d.ts.map +1 -0
- package/dist/npm/install-facet.js +9 -0
- package/dist/npm/installer.d.ts +239 -0
- package/dist/npm/installer.d.ts.map +1 -0
- package/dist/npm/installer.js +2022 -0
- package/dist/npm/npx-install.d.ts +74 -0
- package/dist/npm/npx-install.d.ts.map +1 -0
- package/dist/npm/npx-install.js +302 -0
- package/dist/npm/pre-bundle-facet.d.ts +168 -0
- package/dist/npm/pre-bundle-facet.d.ts.map +1 -0
- package/dist/npm/pre-bundle-facet.js +653 -0
- package/dist/npm/r2-cache.d.ts +286 -0
- package/dist/npm/r2-cache.d.ts.map +1 -0
- package/dist/npm/r2-cache.js +506 -0
- package/dist/npm/resolve-facet.d.ts +202 -0
- package/dist/npm/resolve-facet.d.ts.map +1 -0
- package/dist/npm/resolve-facet.js +833 -0
- package/dist/npm/resolve-one-facet.d.ts +204 -0
- package/dist/npm/resolve-one-facet.d.ts.map +1 -0
- package/dist/npm/resolve-one-facet.js +437 -0
- package/dist/npm/resolver.d.ts +109 -0
- package/dist/npm/resolver.d.ts.map +1 -0
- package/dist/npm/resolver.js +899 -0
- package/dist/npm/tarball-stream.d.ts +85 -0
- package/dist/npm/tarball-stream.d.ts.map +1 -0
- package/dist/npm/tarball-stream.js +205 -0
- package/dist/npm/tarball.d.ts +51 -0
- package/dist/npm/tarball.d.ts.map +1 -0
- package/dist/npm/tarball.js +185 -0
- package/dist/observability/diag-counters.d.ts +292 -0
- package/dist/observability/diag-counters.d.ts.map +1 -0
- package/dist/observability/diag-counters.js +302 -0
- package/dist/observability/heap-estimate.d.ts +166 -0
- package/dist/observability/heap-estimate.d.ts.map +1 -0
- package/dist/observability/heap-estimate.js +192 -0
- package/dist/observability/heavy-alloc-coord.d.ts +95 -0
- package/dist/observability/heavy-alloc-coord.d.ts.map +1 -0
- package/dist/observability/heavy-alloc-coord.js +149 -0
- package/dist/observability/oom-classify.d.ts +56 -0
- package/dist/observability/oom-classify.d.ts.map +1 -0
- package/dist/observability/oom-classify.js +118 -0
- package/dist/observability/oom-discriminator.d.ts +192 -0
- package/dist/observability/oom-discriminator.d.ts.map +1 -0
- package/dist/observability/oom-discriminator.js +233 -0
- package/dist/real-vite-bundle.generated.d.ts +46 -0
- package/dist/real-vite-bundle.generated.d.ts.map +1 -0
- package/dist/real-vite-bundle.generated.js +53 -0
- package/dist/replica/routing.d.ts +171 -0
- package/dist/replica/routing.d.ts.map +1 -0
- package/dist/replica/routing.js +288 -0
- package/dist/replica/suspension.d.ts +36 -0
- package/dist/replica/suspension.d.ts.map +1 -0
- package/dist/replica/suspension.js +49 -0
- package/dist/router/index.d.ts +156 -0
- package/dist/router/index.d.ts.map +1 -0
- package/dist/router/index.js +220 -0
- package/dist/runtime/assets-loader.d.ts +71 -0
- package/dist/runtime/assets-loader.d.ts.map +1 -0
- package/dist/runtime/assets-loader.js +128 -0
- package/dist/runtime/barrel-detect.d.ts +46 -0
- package/dist/runtime/barrel-detect.d.ts.map +1 -0
- package/dist/runtime/barrel-detect.js +73 -0
- package/dist/runtime/barrel-synthesizer.d.ts +181 -0
- package/dist/runtime/barrel-synthesizer.d.ts.map +1 -0
- package/dist/runtime/barrel-synthesizer.js +541 -0
- package/dist/runtime/bun-repl.d.ts +46 -0
- package/dist/runtime/bun-repl.d.ts.map +1 -0
- package/dist/runtime/bun-repl.js +326 -0
- package/dist/runtime/bun-runner.d.ts +66 -0
- package/dist/runtime/bun-runner.d.ts.map +1 -0
- package/dist/runtime/bun-runner.js +219 -0
- package/dist/runtime/clang-runner.d.ts +38 -0
- package/dist/runtime/clang-runner.d.ts.map +1 -0
- package/dist/runtime/clang-runner.js +1033 -0
- package/dist/runtime/comment-strip.d.ts +37 -0
- package/dist/runtime/comment-strip.d.ts.map +1 -0
- package/dist/runtime/comment-strip.js +74 -0
- package/dist/runtime/esbuild-service.d.ts +201 -0
- package/dist/runtime/esbuild-service.d.ts.map +1 -0
- package/dist/runtime/esbuild-service.js +1444 -0
- package/dist/runtime/esbuild-wasm-bytes.d.ts +87 -0
- package/dist/runtime/esbuild-wasm-bytes.d.ts.map +1 -0
- package/dist/runtime/esbuild-wasm-bytes.js +131 -0
- package/dist/runtime/framework-detect.d.ts +71 -0
- package/dist/runtime/framework-detect.d.ts.map +1 -0
- package/dist/runtime/framework-detect.js +178 -0
- package/dist/runtime/long-running-handle.d.ts +133 -0
- package/dist/runtime/long-running-handle.d.ts.map +1 -0
- package/dist/runtime/long-running-handle.js +192 -0
- package/dist/runtime/node-repl.d.ts +36 -0
- package/dist/runtime/node-repl.d.ts.map +1 -0
- package/dist/runtime/node-repl.js +293 -0
- package/dist/runtime/node-runner.d.ts +111 -0
- package/dist/runtime/node-runner.d.ts.map +1 -0
- package/dist/runtime/node-runner.js +194 -0
- package/dist/runtime/node-shims.d.ts +24 -0
- package/dist/runtime/node-shims.d.ts.map +1 -0
- package/dist/runtime/node-shims.js +3019 -0
- package/dist/runtime/package-manager.d.ts +118 -0
- package/dist/runtime/package-manager.d.ts.map +1 -0
- package/dist/runtime/package-manager.js +420 -0
- package/dist/runtime/port-registry.d.ts +80 -0
- package/dist/runtime/port-registry.d.ts.map +1 -0
- package/dist/runtime/port-registry.js +166 -0
- package/dist/runtime/process-logs-api.d.ts +102 -0
- package/dist/runtime/process-logs-api.d.ts.map +1 -0
- package/dist/runtime/process-logs-api.js +253 -0
- package/dist/runtime/process-logs.d.ts +311 -0
- package/dist/runtime/process-logs.d.ts.map +1 -0
- package/dist/runtime/process-logs.js +656 -0
- package/dist/runtime/process-table.d.ts +65 -0
- package/dist/runtime/process-table.d.ts.map +1 -0
- package/dist/runtime/process-table.js +107 -0
- package/dist/runtime/project-detect.d.ts +21 -0
- package/dist/runtime/project-detect.d.ts.map +1 -0
- package/dist/runtime/project-detect.js +46 -0
- package/dist/runtime/python-repl.d.ts +66 -0
- package/dist/runtime/python-repl.d.ts.map +1 -0
- package/dist/runtime/python-repl.js +563 -0
- package/dist/runtime/python-runner.d.ts +50 -0
- package/dist/runtime/python-runner.d.ts.map +1 -0
- package/dist/runtime/python-runner.js +870 -0
- package/dist/runtime/repl-session.d.ts +160 -0
- package/dist/runtime/repl-session.d.ts.map +1 -0
- package/dist/runtime/repl-session.js +393 -0
- package/dist/runtime/require-resolver.d.ts +52 -0
- package/dist/runtime/require-resolver.d.ts.map +1 -0
- package/dist/runtime/require-resolver.js +690 -0
- package/dist/runtime/router-basename.d.ts +36 -0
- package/dist/runtime/router-basename.d.ts.map +1 -0
- package/dist/runtime/router-basename.js +310 -0
- package/dist/runtime/ruby-repl.d.ts +43 -0
- package/dist/runtime/ruby-repl.d.ts.map +1 -0
- package/dist/runtime/ruby-repl.js +229 -0
- package/dist/runtime/ruby-runner.d.ts +62 -0
- package/dist/runtime/ruby-runner.d.ts.map +1 -0
- package/dist/runtime/ruby-runner.js +737 -0
- package/dist/runtime/runtime-catalog.d.ts +99 -0
- package/dist/runtime/runtime-catalog.d.ts.map +1 -0
- package/dist/runtime/runtime-catalog.js +183 -0
- package/dist/runtime/runtime-registry.d.ts +136 -0
- package/dist/runtime/runtime-registry.d.ts.map +1 -0
- package/dist/runtime/runtime-registry.js +318 -0
- package/dist/runtime/streams.d.ts +13 -0
- package/dist/runtime/streams.d.ts.map +1 -0
- package/dist/runtime/streams.js +402 -0
- package/dist/runtime/wasi-instance.d.ts +190 -0
- package/dist/runtime/wasi-instance.d.ts.map +1 -0
- package/dist/runtime/wasi-instance.js +2044 -0
- package/dist/runtime/wasm-runner.d.ts +117 -0
- package/dist/runtime/wasm-runner.d.ts.map +1 -0
- package/dist/runtime/wasm-runner.js +705 -0
- package/dist/session/bindings.d.ts +168 -0
- package/dist/session/bindings.d.ts.map +1 -0
- package/dist/session/bindings.js +524 -0
- package/dist/session/ctx-exports.d.ts +16 -0
- package/dist/session/ctx-exports.d.ts.map +1 -0
- package/dist/session/ctx-exports.js +22 -0
- package/dist/session/diag.d.ts +62 -0
- package/dist/session/diag.d.ts.map +1 -0
- package/dist/session/diag.js +118 -0
- package/dist/session/fs-watch.d.ts +132 -0
- package/dist/session/fs-watch.d.ts.map +1 -0
- package/dist/session/fs-watch.js +255 -0
- package/dist/session/helpers.d.ts +150 -0
- package/dist/session/helpers.d.ts.map +1 -0
- package/dist/session/helpers.js +472 -0
- package/dist/session/hibernation.d.ts +145 -0
- package/dist/session/hibernation.d.ts.map +1 -0
- package/dist/session/hibernation.js +385 -0
- package/dist/session/init-phases.d.ts +87 -0
- package/dist/session/init-phases.d.ts.map +1 -0
- package/dist/session/init-phases.js +137 -0
- package/dist/session/init.d.ts +46 -0
- package/dist/session/init.d.ts.map +1 -0
- package/dist/session/init.js +3579 -0
- package/dist/session/keys.d.ts +56 -0
- package/dist/session/keys.d.ts.map +1 -0
- package/dist/session/keys.js +55 -0
- package/dist/session/nimbus-session.d.ts +434 -0
- package/dist/session/nimbus-session.d.ts.map +1 -0
- package/dist/session/nimbus-session.js +1084 -0
- package/dist/session/programmatic.d.ts +105 -0
- package/dist/session/programmatic.d.ts.map +1 -0
- package/dist/session/programmatic.js +326 -0
- package/dist/session/replica-routes.d.ts +68 -0
- package/dist/session/replica-routes.d.ts.map +1 -0
- package/dist/session/replica-routes.js +77 -0
- package/dist/session/routes.d.ts +29 -0
- package/dist/session/routes.d.ts.map +1 -0
- package/dist/session/routes.js +1331 -0
- package/dist/session/rpc.d.ts +323 -0
- package/dist/session/rpc.d.ts.map +1 -0
- package/dist/session/rpc.js +808 -0
- package/dist/session/state-store.d.ts +210 -0
- package/dist/session/state-store.d.ts.map +1 -0
- package/dist/session/state-store.js +459 -0
- package/dist/session/supervisor-rpc.d.ts +269 -0
- package/dist/session/supervisor-rpc.d.ts.map +1 -0
- package/dist/session/supervisor-rpc.js +437 -0
- package/dist/session/ws-hibernation-config.d.ts +64 -0
- package/dist/session/ws-hibernation-config.d.ts.map +1 -0
- package/dist/session/ws-hibernation-config.js +89 -0
- package/dist/session/ws.d.ts +95 -0
- package/dist/session/ws.d.ts.map +1 -0
- package/dist/session/ws.js +395 -0
- package/dist/shell/features.d.ts +410 -0
- package/dist/shell/features.d.ts.map +1 -0
- package/dist/shell/features.js +1885 -0
- package/dist/shell/unix-commands.d.ts +15 -0
- package/dist/shell/unix-commands.d.ts.map +1 -0
- package/dist/shell/unix-commands.js +3703 -0
- package/dist/stubs/lifo-ui.d.ts +10 -0
- package/dist/stubs/lifo-ui.d.ts.map +1 -0
- package/dist/stubs/lifo-ui.js +1 -0
- package/dist/tailwind-play.generated.d.ts +19 -0
- package/dist/tailwind-play.generated.d.ts.map +1 -0
- package/dist/tailwind-play.generated.js +18 -0
- package/dist/vfs/dev-provider.d.ts +64 -0
- package/dist/vfs/dev-provider.d.ts.map +1 -0
- package/dist/vfs/dev-provider.js +191 -0
- package/dist/vfs/events.d.ts +51 -0
- package/dist/vfs/events.d.ts.map +1 -0
- package/dist/vfs/events.js +127 -0
- package/dist/vfs/path.d.ts +30 -0
- package/dist/vfs/path.d.ts.map +1 -0
- package/dist/vfs/path.js +41 -0
- package/dist/vfs/seed-project.d.ts +62 -0
- package/dist/vfs/seed-project.d.ts.map +1 -0
- package/dist/vfs/seed-project.js +1045 -0
- package/dist/vfs/sqlite-vfs.d.ts +435 -0
- package/dist/vfs/sqlite-vfs.d.ts.map +1 -0
- package/dist/vfs/sqlite-vfs.js +1670 -0
- package/dist/vfs/symlink-registry.d.ts +64 -0
- package/dist/vfs/symlink-registry.d.ts.map +1 -0
- package/dist/vfs/symlink-registry.js +137 -0
- package/dist/wrangler/nimbus-wrangler.d.ts +157 -0
- package/dist/wrangler/nimbus-wrangler.d.ts.map +1 -0
- package/dist/wrangler/nimbus-wrangler.js +931 -0
- package/package.json +77 -0
- package/public/_assets/cirrus-plugin-react.bundle.js +70740 -0
- package/public/_assets/esbuild-0.24.2.wasm +0 -0
- package/public/_assets/real-vite-bundle.js +101478 -0
- package/public/_assets/rollup.wasm +0 -0
- package/public/favicon.svg +8 -0
- package/public/index.html +565 -0
- package/public/s/index.html +2379 -0
- package/scripts/bundle-esbuild-wasm.mjs +244 -0
- package/scripts/bundle-facet-workers.mjs +137 -0
- package/scripts/bundle-git.mjs +118 -0
- package/scripts/bundle-npm-cjs.mjs +363 -0
- package/scripts/bundle-plugin-react.mjs +480 -0
- package/scripts/bundle-real-vite.mjs +959 -0
- package/scripts/bundle-runtime.mjs +600 -0
- package/scripts/bundle-tailwind-play.mjs +130 -0
- package/scripts/patch-lifo-ui.mjs +131 -0
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* session/rpc.ts — Supervisor RPC + W8 child_process + legacy VFS impls.
|
|
3
|
+
*
|
|
4
|
+
* Why free-functions instead of class methods:
|
|
5
|
+
* the DO RPC fabric calls these by name, so the supervisor's class
|
|
6
|
+
* MUST keep the method names as delegators (otherwise the fabric
|
|
7
|
+
* looks them up and finds nothing). Putting the bodies in free
|
|
8
|
+
* functions and having the class methods one-line-delegate keeps
|
|
9
|
+
* the class file small AND lets these be unit-tested without a DO
|
|
10
|
+
* harness (the `RpcHost` parameter is a narrow contract).
|
|
11
|
+
*
|
|
12
|
+
* Bodies for every `_rpc*`, `vfs*`, `_emit*`, and `_reportExternalExit`
|
|
13
|
+
* method live here. The class retains the method NAMES as one-line
|
|
14
|
+
* delegators in src/session/nimbus-session.ts.
|
|
15
|
+
* 1-line delegators (per plan §IX.4 R1: DO RPC fabric uses name dispatch
|
|
16
|
+
* via the stub).
|
|
17
|
+
*
|
|
18
|
+
* Per DEFECT-D1: ctx is taken via `(self as any).ctx` cast where needed
|
|
19
|
+
* (rpcInnerDoFetch uses self.ctx.id and self.ctx.facets; rpcPutRegistryEntries
|
|
20
|
+
* uses self.ctx.storage.sql). The InitHost-style escape applies because
|
|
21
|
+
* these ~3 sites would each need ctx threaded through; cast at boundary
|
|
22
|
+
* is acceptable per plan §IX recommendation 1.
|
|
23
|
+
*/
|
|
24
|
+
type RpcHost = any;
|
|
25
|
+
export declare function _rpcReadFile(self: RpcHost, path: string): Promise<string | null>;
|
|
26
|
+
/**
|
|
27
|
+
* Read a file as raw bytes (Uint8Array). Used by git network facet for
|
|
28
|
+
* binary .git/objects/** and packfile reads, where TextDecoder/TextEncoder
|
|
29
|
+
* round-tripping through readFile (string) would corrupt bytes.
|
|
30
|
+
*/
|
|
31
|
+
export declare function _rpcReadFileBytes(self: RpcHost, path: string): Promise<Uint8Array | null>;
|
|
32
|
+
/**
|
|
33
|
+
* Phase-3 inner-DO fetch dispatcher. Called by NimbusDOStub.fetch()
|
|
34
|
+
* from the inner Worker via the env.NIMBUS_SESSION loopback. We
|
|
35
|
+
* resolve the inner DO class from the module-level registry (keyed
|
|
36
|
+
* by <thisDoId>:<bindingName>), use ctx.facets.get with the inner's
|
|
37
|
+
* id string as the facet id, and forward the serialized Request.
|
|
38
|
+
*
|
|
39
|
+
* All steps run in THIS RPC method's context, so no cross-request
|
|
40
|
+
* I/O boundaries are crossed — the ctx.facets stub and its fetch()
|
|
41
|
+
* are both created here.
|
|
42
|
+
*/
|
|
43
|
+
export declare function _rpcInnerDoFetch(self: RpcHost, req: {
|
|
44
|
+
bindingName: string;
|
|
45
|
+
id: string;
|
|
46
|
+
method: string;
|
|
47
|
+
url: string;
|
|
48
|
+
headers: [string, string][];
|
|
49
|
+
body: ArrayBuffer | null;
|
|
50
|
+
}): Promise<{
|
|
51
|
+
status: number;
|
|
52
|
+
statusText: string;
|
|
53
|
+
headers: [string, string][];
|
|
54
|
+
body: ArrayBuffer | null;
|
|
55
|
+
}>;
|
|
56
|
+
export declare function _rpcWriteFile(self: RpcHost, path: string, content: string | Uint8Array): Promise<void>;
|
|
57
|
+
export declare function _rpcStat(self: RpcHost, path: string): Promise<any>;
|
|
58
|
+
export declare function _rpcReaddir(self: RpcHost, path: string): Promise<{
|
|
59
|
+
name: string;
|
|
60
|
+
type: string;
|
|
61
|
+
}[]>;
|
|
62
|
+
export declare function _rpcExists(self: RpcHost, path: string): Promise<boolean>;
|
|
63
|
+
export declare function _rpcMkdir(self: RpcHost, path: string): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* Called by CirrusHmrRPC.hmrSend. Runs in the DO's own context so
|
|
66
|
+
* we can legally write to hibernatable WS sockets owned by this
|
|
67
|
+
* DO. The HmrBridge holds the client→WS map; we delegate to it.
|
|
68
|
+
*/
|
|
69
|
+
export declare function _rpcHmrRelay(self: RpcHost, clientId: string | null, msg: string): Promise<void>;
|
|
70
|
+
export declare function _rpcUnlink(self: RpcHost, path: string): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Bulk-write files and directories via one transactionSync().
|
|
73
|
+
* Called from facets that accumulate writes locally (git clone/fetch/pull,
|
|
74
|
+
* potentially others) to avoid thousands of individual writeFile RPCs.
|
|
75
|
+
*
|
|
76
|
+
* payload: {
|
|
77
|
+
* inodes: BatchInodeEntry[],
|
|
78
|
+
* chunks: { path, chunkId, data: Uint8Array | ArrayBuffer }[],
|
|
79
|
+
* deletePaths?: string[]
|
|
80
|
+
* }
|
|
81
|
+
*/
|
|
82
|
+
export declare function _rpcWriteBatch(self: RpcHost, payload: any): Promise<{
|
|
83
|
+
inodes: number;
|
|
84
|
+
chunks: number;
|
|
85
|
+
}>;
|
|
86
|
+
/**
|
|
87
|
+
* W7 — Streaming bulk-write entry point. Receives a
|
|
88
|
+
* ReadableStream<Uint8Array> in the W7 wire format (see
|
|
89
|
+
* src/_shared/w7-frame.ts), decodes inode metadata + chunks lazily,
|
|
90
|
+
* and feeds them into SqliteVFS.writeStream().
|
|
91
|
+
*
|
|
92
|
+
* Bypasses the 32 MiB structured-clone cap that constrained the
|
|
93
|
+
* legacy writeBatch path — workerd flow-controls the byte stream
|
|
94
|
+
* end-to-end.
|
|
95
|
+
*
|
|
96
|
+
* Atomicity guarantee mirrors writeBatch: either ALL inodes +
|
|
97
|
+
* chunks land in SQLite or NONE do. SqliteVFS.writeStream defers
|
|
98
|
+
* the actual transactionSync until the chunk iterator is fully
|
|
99
|
+
* drained (v1 spool-then-commit), so a stream error mid-transit
|
|
100
|
+
* aborts before any SQL state mutates.
|
|
101
|
+
*/
|
|
102
|
+
export declare function _rpcWriteBatchStream(self: RpcHost, stream: ReadableStream<Uint8Array>): Promise<{
|
|
103
|
+
inodes: number;
|
|
104
|
+
chunks: number;
|
|
105
|
+
}>;
|
|
106
|
+
/**
|
|
107
|
+
* Bulk-write npm registry cache entries in ONE RPC. Used by the
|
|
108
|
+
* resolver-facet to flush a wave of resolved packages back to the
|
|
109
|
+
* supervisor without per-entry round-trips.
|
|
110
|
+
*
|
|
111
|
+
* Payload is the array of RegistryCacheEntry shapes from src/npm-cache.ts.
|
|
112
|
+
* Returns { written, failed } so the facet can surface partial-write
|
|
113
|
+
* warnings to the install log.
|
|
114
|
+
*/
|
|
115
|
+
export declare function _rpcPutRegistryEntries(self: RpcHost, entries: any[]): Promise<{
|
|
116
|
+
written: number;
|
|
117
|
+
failed: number;
|
|
118
|
+
}>;
|
|
119
|
+
export declare function _rpcStdout(self: RpcHost, pid: number, data: string): Promise<void>;
|
|
120
|
+
export declare function _rpcStderr(self: RpcHost, pid: number, data: string): Promise<void>;
|
|
121
|
+
/**
|
|
122
|
+
* Called by facets from their `finally` block after I/O has drained.
|
|
123
|
+
* Marks the log store so `logs` / `ps` can show the exit code, and
|
|
124
|
+
* fires `_emitExitDump` if the process exited non-zero with buffered
|
|
125
|
+
* output.
|
|
126
|
+
*
|
|
127
|
+
* Idempotent — double-call is a no-op (ProcessLogStore.markExit guards).
|
|
128
|
+
*/
|
|
129
|
+
export declare function _rpcReportExit(self: RpcHost, pid: number, code: number, tail: string): Promise<void>;
|
|
130
|
+
/**
|
|
131
|
+
* Emit a formatted exit-dump banner + last 30 lines of output to the
|
|
132
|
+
* terminal. Called from both the facet-reported exit path and the
|
|
133
|
+
* external-kill path (timeout / abort).
|
|
134
|
+
*
|
|
135
|
+
* Race notes:
|
|
136
|
+
* - Terminal.write is buffered with a 5ms flush; concurrent writes
|
|
137
|
+
* from facet stdout still in flight interleave cleanly at flush
|
|
138
|
+
* time.
|
|
139
|
+
* - If no terminal is attached, the dump is simply skipped — the
|
|
140
|
+
* log buffer still has everything, so `logs <pid>` recovers it.
|
|
141
|
+
*/
|
|
142
|
+
export declare function _emitExitDump(self: RpcHost, pid: number, code: number): void;
|
|
143
|
+
/**
|
|
144
|
+
* Fix 3 + Fix 4 + Fix 5: finalizer for shellExecuteTracked.
|
|
145
|
+
*
|
|
146
|
+
* Runs after a tracked shell.execute finishes (any path). Chooses when
|
|
147
|
+
* to emit the exit-dump banner and when to log the debug trace.
|
|
148
|
+
*
|
|
149
|
+
* Dump policy (Fix 4):
|
|
150
|
+
* - Non-zero exit AND any buffered output → always dump.
|
|
151
|
+
* - Zero exit AND buffered output has >0 bytes → dump anyway. Rationale:
|
|
152
|
+
* an npm run that returned "success" while the ring buffer still has
|
|
153
|
+
* a traceback is the exact "clean-but-silent failure" we're hunting.
|
|
154
|
+
* The replay is unique information the user didn't see live (e.g.
|
|
155
|
+
* because the terminal was reconnected after the fact).
|
|
156
|
+
* - Zero exit AND empty buffer → nothing to say. Skip.
|
|
157
|
+
*
|
|
158
|
+
* Trace policy (Fix 5):
|
|
159
|
+
* - NIMBUS_DEBUG=1: always print `[exited pid=N code=C duration=Xms]`.
|
|
160
|
+
* - Default: print only for non-zero OR long-running scripts (the
|
|
161
|
+
* cmd-start banner makes them expect an exit marker).
|
|
162
|
+
*
|
|
163
|
+
* Called with the already-marked pid (processTable.exit + processLogs.markExit
|
|
164
|
+
* ran in shellExecuteTracked's finally).
|
|
165
|
+
*/
|
|
166
|
+
export declare function _emitShellExecDone(self: RpcHost, pid: number, cmd: string, code: number, durationMs: number): void;
|
|
167
|
+
/**
|
|
168
|
+
* External-exit path: invoked by FacetManager when a process is killed
|
|
169
|
+
* outside the facet's own try/finally (timeout, explicit abort, or the
|
|
170
|
+
* `kill` shell command). Appends a synthetic stderr line so the dump
|
|
171
|
+
* has useful context, then runs the same dump machinery.
|
|
172
|
+
*/
|
|
173
|
+
export declare function _reportExternalExit(self: RpcHost, pid: number, code: number, reason: string): void;
|
|
174
|
+
/**
|
|
175
|
+
* W1: bootstrap the log-janitor alarm cycle.
|
|
176
|
+
*
|
|
177
|
+
* Schedules an alarm for `Date.now() + 60_000` with reason
|
|
178
|
+
* `'log-janitor'`. When it fires, `dispatchAlarm` (in
|
|
179
|
+
* ./hibernation.ts) runs `processLogs.dropOlderThan(orphanCheck)` and
|
|
180
|
+
* re-schedules the next 60s alarm — fully replacing the setTimeout
|
|
181
|
+
* chain we used to run.
|
|
182
|
+
*
|
|
183
|
+
* Why alarm-based instead of setTimeout: per Cloudflare DO docs
|
|
184
|
+
* (https://developers.cloudflare.com/durable-objects/concepts/durable-object-lifecycle/),
|
|
185
|
+
* a recurring `setTimeout`/`setInterval` PREVENTS the DO from
|
|
186
|
+
* hibernating. That left every Nimbus session billed for duration
|
|
187
|
+
* continuously while in memory. Alarms persist across hibernation;
|
|
188
|
+
* the DO sleeps between fires, dropping per-session billable
|
|
189
|
+
* duration by ~99% during idle windows.
|
|
190
|
+
*
|
|
191
|
+
* Idempotent: guarded by `self.processLogsJanitorWired`. Safe to
|
|
192
|
+
* call repeatedly. Fail-soft: scheduleAlarm warn+returns on
|
|
193
|
+
* runtimes without setAlarm (older wrangler-dev).
|
|
194
|
+
*/
|
|
195
|
+
export declare function _ensureLogJanitor(self: RpcHost, ctx: any): void;
|
|
196
|
+
/**
|
|
197
|
+
* W1: orphan-pid predicate exposed for the alarm dispatcher. A pid is
|
|
198
|
+
* "orphaned" if the process table has no record of it — either reap()
|
|
199
|
+
* already removed it, or it never fully registered. Long-running
|
|
200
|
+
* facets that hang and get GC'd fall into this category.
|
|
201
|
+
*/
|
|
202
|
+
export declare function _logJanitorOrphanCheck(self: RpcHost): (pid: number) => boolean;
|
|
203
|
+
export declare function _rpcPrefetch(self: RpcHost, cwd: string, entryCode: string): Promise<Record<string, string>>;
|
|
204
|
+
export declare function _rpcRegisterPort(self: RpcHost, pid: number, port: number): Promise<void>;
|
|
205
|
+
export declare function _rpcUnregisterPort(self: RpcHost, port: number): Promise<void>;
|
|
206
|
+
export declare function _rpcTransform(self: RpcHost, code: string, loader: string): Promise<{
|
|
207
|
+
code: string;
|
|
208
|
+
map: string;
|
|
209
|
+
} | null>;
|
|
210
|
+
export declare function _rpcCpSpawn(self: RpcHost, req: any): Promise<{
|
|
211
|
+
childPid: number;
|
|
212
|
+
}>;
|
|
213
|
+
export declare function _rpcCpStdinWrite(self: RpcHost, childPid: number, data: string): Promise<{
|
|
214
|
+
ok: boolean;
|
|
215
|
+
}>;
|
|
216
|
+
export declare function _rpcCpStdinEnd(self: RpcHost, childPid: number): Promise<void>;
|
|
217
|
+
export declare function _rpcCpReadOutput(self: RpcHost, childPid: number, fd: 1 | 2, sinceSeq: number, waitMs: number): Promise<any>;
|
|
218
|
+
export declare function _rpcCpDrainOutput(self: RpcHost, childPid: number): Promise<any>;
|
|
219
|
+
export declare function _rpcCpKill(self: RpcHost, childPid: number, signal: string): Promise<boolean>;
|
|
220
|
+
export declare function _rpcCpWait(self: RpcHost, childPid: number, waitMs: number): Promise<any>;
|
|
221
|
+
/**
|
|
222
|
+
* arch-gaps gap #1: dispatch a single cp.spawn request inline using the
|
|
223
|
+
* existing pure-builtin / facet-direct logic, returning final stdout/
|
|
224
|
+
* stderr/exitCode rather than streaming via hooks. Called by
|
|
225
|
+
* spawn-facet.ts:runSpawnInIsolate from inside a fresh Worker Loader
|
|
226
|
+
* isolate (the per-spawn fresh-isolate envelope).
|
|
227
|
+
*
|
|
228
|
+
* The fpm exposes a `dispatchInline(req, kind)` that adapts the
|
|
229
|
+
* existing _dispatch path (originally hook-based) into a string-result
|
|
230
|
+
* shape. That adapter is responsible for ensuring stdout/stderr are
|
|
231
|
+
* accumulated inline rather than streamed.
|
|
232
|
+
*/
|
|
233
|
+
export declare function _rpcCpDispatchInline(self: RpcHost, req: any, kind: string): Promise<{
|
|
234
|
+
exitCode: number;
|
|
235
|
+
stdout: string;
|
|
236
|
+
stderr: string;
|
|
237
|
+
}>;
|
|
238
|
+
/** RPC: Read a file from the VFS. Returns ArrayBuffer or null. */
|
|
239
|
+
export declare function vfsReadFile(self: RpcHost, path: string): ArrayBuffer | null;
|
|
240
|
+
/** RPC: Read a file as string. Returns string or null. */
|
|
241
|
+
export declare function vfsReadFileString(self: RpcHost, path: string): string | null;
|
|
242
|
+
/** RPC: Stat a path. Returns { type, size, mtime, mode } or null. */
|
|
243
|
+
export declare function vfsStat(self: RpcHost, path: string): {
|
|
244
|
+
type: string;
|
|
245
|
+
size: number;
|
|
246
|
+
mtime: number;
|
|
247
|
+
mode: number;
|
|
248
|
+
} | null;
|
|
249
|
+
/** RPC: Check if path exists. */
|
|
250
|
+
export declare function vfsExists(self: RpcHost, path: string): boolean;
|
|
251
|
+
/** RPC: List directory contents. Returns array of { name, type }. */
|
|
252
|
+
export declare function vfsReaddir(self: RpcHost, path: string): {
|
|
253
|
+
name: string;
|
|
254
|
+
type: string;
|
|
255
|
+
}[];
|
|
256
|
+
/** RPC: Write a file to the VFS. */
|
|
257
|
+
export declare function vfsWriteFile(self: RpcHost, path: string, data: ArrayBuffer): void;
|
|
258
|
+
/**
|
|
259
|
+
* RPC: peer-DO execute leg of NimbusFanoutPool's POC B topology.
|
|
260
|
+
*
|
|
261
|
+
* Called by a coordinator NimbusSession DO via
|
|
262
|
+
* `env.NIMBUS_SESSION.idFromName(siblingName).get()._rpcFanoutExecute(...)`.
|
|
263
|
+
* THIS DO instance acts as a peer worker: it runs ONE NimbusLoaderPool
|
|
264
|
+
* over its assigned shard and returns the per-task results.
|
|
265
|
+
*
|
|
266
|
+
* Cap-sidestep mechanic
|
|
267
|
+
* ─────────────────────
|
|
268
|
+
* The supervisor's `submitMany` makes N RPC calls to N peer DOs.
|
|
269
|
+
* Each RPC is a stub.fetch / RPC method invocation, NOT an
|
|
270
|
+
* `env.LOADER.get()` from the supervisor's own method context — so
|
|
271
|
+
* those N calls don't count against the V8 4-loaders-per-method cap.
|
|
272
|
+
* Inside this RPC handler, we run a SINGLE LoaderPool with concurrency
|
|
273
|
+
* matching the shard size — and since the shard arrived via the peer
|
|
274
|
+
* router (capped at MAX_PEER_FANOUT = 32 peers, so each shard is
|
|
275
|
+
* ⌈totalTasks / 32⌉ wide), the in-DO pool stays well under 4.
|
|
276
|
+
*
|
|
277
|
+
* Failure model
|
|
278
|
+
* ─────────────
|
|
279
|
+
* Throws bubble back to the coordinator's RPC promise (rejects on
|
|
280
|
+
* the supervisor side). The coordinator's `submitMany` Promise.all
|
|
281
|
+
* surfaces the first reject; the install path treats it as a hard
|
|
282
|
+
* failure (matching today's single-facet `pool.submit` posture).
|
|
283
|
+
*
|
|
284
|
+
* Bytes-isolation
|
|
285
|
+
* ───────────────
|
|
286
|
+
* The fnSource string is forwarded verbatim into a fresh
|
|
287
|
+
* NimbusLoaderPool, which serializes it into the loader's worker
|
|
288
|
+
* code. No supervisor-side eval. Same trust posture as every other
|
|
289
|
+
* NimbusLoaderPool dispatch.
|
|
290
|
+
*/
|
|
291
|
+
export declare function _rpcFanoutExecute(self: RpcHost, fnSource: string, args: unknown[], poolOpts?: {
|
|
292
|
+
tag?: string;
|
|
293
|
+
timeoutMs?: number;
|
|
294
|
+
preamble?: string;
|
|
295
|
+
wasmModules?: Record<string, ArrayBuffer>;
|
|
296
|
+
extraBindings?: Record<string, unknown>;
|
|
297
|
+
omitSupervisor?: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* INSTALL-HONESTY: full doId of the COORDINATOR (the DO that
|
|
300
|
+
* called NimbusFanoutPool.submitMany). The peer's NimbusLoaderPool
|
|
301
|
+
* uses this to mint a SUPERVISOR binding that routes back to the
|
|
302
|
+
* coordinator instead of the peer (default behavior pre-fix).
|
|
303
|
+
* Without this, install-batch's writeBatchStream calls from inside
|
|
304
|
+
* a loader isolate land in the PEER's VFS, invisible to the user.
|
|
305
|
+
*/
|
|
306
|
+
coordinatorDoId?: string;
|
|
307
|
+
}): Promise<{
|
|
308
|
+
results: unknown[];
|
|
309
|
+
}>;
|
|
310
|
+
import { type CacheTier, type CacheKind } from '../_shared/cache-stats.js';
|
|
311
|
+
export type CacheStatEvent = {
|
|
312
|
+
kind: 'hit';
|
|
313
|
+
tier: CacheTier;
|
|
314
|
+
cacheKind: CacheKind;
|
|
315
|
+
bytes: number;
|
|
316
|
+
} | {
|
|
317
|
+
kind: 'miss';
|
|
318
|
+
tier: CacheTier;
|
|
319
|
+
cacheKind: CacheKind;
|
|
320
|
+
};
|
|
321
|
+
export declare function _rpcRecordCacheStats(_self: RpcHost, events: CacheStatEvent[]): Promise<void>;
|
|
322
|
+
export {};
|
|
323
|
+
//# sourceMappingURL=rpc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../src/session/rpc.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAkBH,KAAK,OAAO,GAAG,GAAG,CAAC;AAEnB,wBAAsB,YAAY,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAKtF;AAEC;;;;GAIG;AACL,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAK/F;AAEC;;;;;;;;;;GAUG;AACL,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC5B,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;CAC1B,GAAG,OAAO,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC5B,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;CAC1B,CAAC,CAgDH;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAe5G;A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