@nimbus-sh/worker 0.9.0 → 0.11.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/NOTICE.md +5 -0
- package/README.md +10 -0
- package/dist/_shared/session-router.d.ts +7 -0
- package/dist/_shared/session-router.d.ts.map +1 -1
- package/dist/_shared/session-router.js +7 -0
- package/dist/bindings/body.d.ts +6 -0
- package/dist/bindings/body.d.ts.map +1 -0
- package/dist/bindings/body.js +37 -0
- package/dist/bindings/kv.d.ts +0 -2
- package/dist/bindings/kv.d.ts.map +1 -1
- package/dist/bindings/kv.js +3 -42
- package/dist/bindings/r2.d.ts +0 -2
- package/dist/bindings/r2.d.ts.map +1 -1
- package/dist/bindings/r2.js +4 -44
- package/dist/esbuild-cli-artifact.generated.d.ts +18 -0
- package/dist/esbuild-cli-artifact.generated.d.ts.map +1 -0
- package/dist/esbuild-cli-artifact.generated.js +17 -0
- package/dist/esbuild-wasm-bundle.generated.d.ts +24 -24
- package/dist/esbuild-wasm-bundle.generated.d.ts.map +1 -1
- package/dist/esbuild-wasm-bundle.generated.js +24 -24
- package/dist/facets/cirrus-real.d.ts.map +1 -1
- package/dist/facets/cirrus-real.js +11 -6
- package/dist/facets/compose.d.ts +11 -7
- package/dist/facets/compose.d.ts.map +1 -1
- package/dist/facets/compose.js +8 -31
- package/dist/facets/data-plan.d.ts +79 -0
- package/dist/facets/data-plan.d.ts.map +1 -0
- package/dist/facets/data-plan.js +477 -0
- package/dist/facets/esbuild-bundle-pool.d.ts +1 -1
- package/dist/facets/esbuild-bundle-pool.js +3 -3
- package/dist/facets/esbuild-transform.d.ts +38 -8
- package/dist/facets/esbuild-transform.d.ts.map +1 -1
- package/dist/facets/esbuild-transform.js +219 -19
- package/dist/facets/exec-telemetry.d.ts +7 -3
- package/dist/facets/exec-telemetry.d.ts.map +1 -1
- package/dist/facets/manager.d.ts +198 -69
- package/dist/facets/manager.d.ts.map +1 -1
- package/dist/facets/manager.js +1276 -652
- package/dist/facets/opencode-staging.d.ts +0 -2
- package/dist/facets/opencode-staging.d.ts.map +1 -1
- package/dist/facets/opencode-staging.js +5 -11
- package/dist/facets/process.d.ts +4 -0
- package/dist/facets/process.d.ts.map +1 -1
- package/dist/facets/process.js +3 -0
- package/dist/facets/read-profile.d.ts +149 -0
- package/dist/facets/read-profile.d.ts.map +1 -0
- package/dist/facets/read-profile.js +483 -0
- package/dist/facets/real-vite-hmr.d.ts +2 -0
- package/dist/facets/real-vite-hmr.d.ts.map +1 -1
- package/dist/facets/real-vite-hmr.js +3 -2
- package/dist/facets/resident-identity.d.ts +0 -1
- package/dist/facets/resident-identity.d.ts.map +1 -1
- package/dist/facets/resident-identity.js +0 -3
- package/dist/facets/wasm-swap-registry.d.ts +34 -25
- package/dist/facets/wasm-swap-registry.d.ts.map +1 -1
- package/dist/facets/wasm-swap-registry.js +62 -56
- package/dist/facets/ws-terminal.d.ts +4 -4
- package/dist/facets/ws-terminal.d.ts.map +1 -1
- package/dist/facets/ws-terminal.js +4 -5
- package/dist/git/commands.d.ts +33 -10
- package/dist/git/commands.d.ts.map +1 -1
- package/dist/git/commands.js +1891 -197
- package/dist/git/network-facet.d.ts +12 -2
- package/dist/git/network-facet.d.ts.map +1 -1
- package/dist/git/network-facet.js +69 -18
- package/dist/git/unified-diff.d.ts +74 -0
- package/dist/git/unified-diff.d.ts.map +1 -0
- package/dist/git/unified-diff.js +676 -0
- package/dist/git-bundle.generated.d.ts +7 -11
- package/dist/git-bundle.generated.d.ts.map +1 -1
- package/dist/git-bundle.generated.js +7 -11
- package/dist/hosted/commands.d.ts.map +1 -1
- package/dist/hosted/commands.js +64 -245
- package/dist/hosted/runtime.d.ts +22 -15
- package/dist/hosted/runtime.d.ts.map +1 -1
- package/dist/hosted/runtime.js +72 -14
- package/dist/hosted/services.d.ts +8 -1
- package/dist/hosted/services.d.ts.map +1 -1
- package/dist/hosted/services.js +12 -13
- package/dist/hosted/session.d.ts +165 -0
- package/dist/hosted/session.d.ts.map +1 -0
- package/dist/hosted/session.js +132 -0
- package/dist/loaders/generated-workers.d.ts +6 -3
- package/dist/loaders/generated-workers.d.ts.map +1 -1
- package/dist/loaders/generated-workers.js +8 -5
- package/dist/loaders/npm-resolve-preamble.d.ts.map +1 -1
- package/dist/loaders/npm-resolve-preamble.js +0 -27
- package/dist/loaders/pre-bundle-preamble.d.ts +6 -3
- package/dist/loaders/pre-bundle-preamble.d.ts.map +1 -1
- package/dist/loaders/pre-bundle-preamble.js +13 -8
- package/dist/node-shims-artifact.generated.d.ts +13 -4
- package/dist/node-shims-artifact.generated.d.ts.map +1 -1
- package/dist/node-shims-artifact.generated.js +16 -7
- package/dist/npm/bin-links.d.ts +3 -1
- package/dist/npm/bin-links.d.ts.map +1 -1
- package/dist/npm/bin-links.js +32 -8
- package/dist/npm/cache.d.ts +11 -1
- package/dist/npm/cache.d.ts.map +1 -1
- package/dist/npm/cache.js +21 -7
- package/dist/npm/install-batch-facet.d.ts +4 -2
- package/dist/npm/install-batch-facet.d.ts.map +1 -1
- package/dist/npm/install-batch-facet.js +32 -18
- package/dist/npm/installer.d.ts +23 -3
- package/dist/npm/installer.d.ts.map +1 -1
- package/dist/npm/installer.js +330 -131
- package/dist/npm/npx-install.d.ts +3 -1
- package/dist/npm/npx-install.d.ts.map +1 -1
- package/dist/npm/npx-install.js +4 -1
- package/dist/npm/package-lock.d.ts +32 -0
- package/dist/npm/package-lock.d.ts.map +1 -0
- package/dist/npm/package-lock.js +65 -0
- package/dist/npm/placement.d.ts +16 -0
- package/dist/npm/placement.d.ts.map +1 -0
- package/dist/npm/placement.js +33 -0
- package/dist/npm/pre-bundle-facet.d.ts +1 -30
- package/dist/npm/pre-bundle-facet.d.ts.map +1 -1
- package/dist/npm/pre-bundle-facet.js +3 -5
- package/dist/npm/r2-cache.d.ts +12 -6
- package/dist/npm/r2-cache.d.ts.map +1 -1
- package/dist/npm/r2-cache.js +34 -16
- package/dist/npm/resolve-one-facet.d.ts +3 -0
- package/dist/npm/resolve-one-facet.d.ts.map +1 -1
- package/dist/npm/resolve-one-facet.js +15 -3
- package/dist/npm/resolver.d.ts +11 -13
- package/dist/npm/resolver.d.ts.map +1 -1
- package/dist/npm/resolver.js +12 -25
- package/dist/opencode-artifact.generated.js +2 -2
- package/dist/replica/routing.d.ts +2 -38
- package/dist/replica/routing.d.ts.map +1 -1
- package/dist/replica/routing.js +3 -55
- package/dist/router/index.d.ts.map +1 -1
- package/dist/router/index.js +15 -2
- package/dist/router/public-directory.d.ts +18 -0
- package/dist/router/public-directory.d.ts.map +1 -1
- package/dist/router/public-directory.js +1 -1
- package/dist/router/remote-api.d.ts +3 -1
- package/dist/router/remote-api.d.ts.map +1 -1
- package/dist/router/remote-api.js +42 -79
- package/dist/runtime/bash-repl.js +2 -2
- package/dist/runtime/bun-repl.d.ts.map +1 -1
- package/dist/runtime/bun-repl.js +2 -13
- package/dist/runtime/cpython-resident.d.ts.map +1 -1
- package/dist/runtime/cpython-resident.js +2 -10
- package/dist/runtime/esbuild-wasm-bytes.d.ts +37 -18
- package/dist/runtime/esbuild-wasm-bytes.d.ts.map +1 -1
- package/dist/runtime/esbuild-wasm-bytes.js +66 -92
- package/dist/runtime/facet-loader-host.d.ts.map +1 -1
- package/dist/runtime/facet-loader-host.js +0 -7
- package/dist/runtime/git-bundle-artifact.d.ts +17 -0
- package/dist/runtime/git-bundle-artifact.d.ts.map +1 -0
- package/dist/runtime/git-bundle-artifact.js +25 -0
- package/dist/runtime/node-repl.d.ts.map +1 -1
- package/dist/runtime/node-repl.js +2 -13
- package/dist/runtime/node-shims-artifact.d.ts +22 -23
- package/dist/runtime/node-shims-artifact.d.ts.map +1 -1
- package/dist/runtime/node-shims-artifact.js +48 -78
- package/dist/runtime/node-shims.d.ts.map +1 -1
- package/dist/runtime/node-shims.js +2358 -996
- package/dist/runtime/opencode-artifact.d.ts.map +1 -1
- package/dist/runtime/opencode-artifact.js +17 -53
- package/dist/runtime/opencode-facet-runner.d.ts +3 -6
- package/dist/runtime/opencode-facet-runner.d.ts.map +1 -1
- package/dist/runtime/opencode-facet-runner.js +45 -10
- package/dist/runtime/opentui-wasm-bytes.d.ts.map +1 -1
- package/dist/runtime/opentui-wasm-bytes.js +16 -49
- package/dist/runtime/package-manager.d.ts +0 -2
- package/dist/runtime/package-manager.d.ts.map +1 -1
- package/dist/runtime/package-manager.js +0 -3
- package/dist/runtime/python-repl.d.ts.map +1 -1
- package/dist/runtime/python-repl.js +4 -35
- package/dist/runtime/repl-session.d.ts +10 -0
- package/dist/runtime/repl-session.d.ts.map +1 -1
- package/dist/runtime/repl-session.js +7 -0
- package/dist/runtime/ruby-repl.d.ts.map +1 -1
- package/dist/runtime/ruby-repl.js +2 -2
- package/dist/runtime/ruby-resident.d.ts.map +1 -1
- package/dist/runtime/ruby-resident.js +41 -51
- package/dist/runtime/runtime-catalog.d.ts +10 -3
- package/dist/runtime/runtime-catalog.d.ts.map +1 -1
- package/dist/runtime/runtime-catalog.js +125 -15
- package/dist/runtime/sqlite-wasm-bytes.d.ts +4 -4
- package/dist/runtime/sqlite-wasm-bytes.d.ts.map +1 -1
- package/dist/runtime/sqlite-wasm-bytes.js +21 -57
- package/dist/runtime/staged-source.d.ts +67 -0
- package/dist/runtime/staged-source.d.ts.map +1 -0
- package/dist/runtime/staged-source.js +113 -0
- package/dist/runtime/wasi/preamble.d.ts +0 -22
- package/dist/runtime/wasi/preamble.d.ts.map +1 -1
- package/dist/runtime/wasi/preamble.js +98 -1425
- package/dist/runtime-catalog.generated.js +1 -1
- package/dist/session/agent.d.ts +14 -2
- package/dist/session/agent.d.ts.map +1 -1
- package/dist/session/agent.js +57 -19
- package/dist/session/ai.d.ts +0 -11
- package/dist/session/ai.d.ts.map +1 -1
- package/dist/session/ai.js +0 -4
- package/dist/session/fs-watch.d.ts +0 -11
- package/dist/session/fs-watch.d.ts.map +1 -1
- package/dist/session/fs-watch.js +0 -21
- package/dist/session/hibernation.d.ts +68 -2
- package/dist/session/hibernation.d.ts.map +1 -1
- package/dist/session/hibernation.js +95 -1
- package/dist/session/init-phases.d.ts +1 -2
- package/dist/session/init-phases.d.ts.map +1 -1
- package/dist/session/init-phases.js +1 -2
- package/dist/session/init.d.ts.map +1 -1
- package/dist/session/init.js +7 -20
- package/dist/session/keys.d.ts +0 -3
- package/dist/session/keys.d.ts.map +1 -1
- package/dist/session/keys.js +0 -3
- package/dist/session/legacy-reset.d.ts +11 -0
- package/dist/session/legacy-reset.d.ts.map +1 -0
- package/dist/session/legacy-reset.js +16 -0
- package/dist/session/nimbus-session.d.ts +50 -16
- package/dist/session/nimbus-session.d.ts.map +1 -1
- package/dist/session/nimbus-session.js +77 -71
- package/dist/session/npm-install-port.d.ts.map +1 -1
- package/dist/session/npm-install-port.js +2 -0
- package/dist/session/programmatic.d.ts +13 -18
- package/dist/session/programmatic.d.ts.map +1 -1
- package/dist/session/programmatic.js +53 -39
- package/dist/session/replica-routes.d.ts +2 -3
- package/dist/session/replica-routes.d.ts.map +1 -1
- package/dist/session/replica-routes.js +3 -10
- package/dist/session/routes.d.ts.map +1 -1
- package/dist/session/routes.js +11 -12
- package/dist/session/rpc.d.ts +108 -21
- package/dist/session/rpc.d.ts.map +1 -1
- package/dist/session/rpc.js +194 -39
- package/dist/session/start-real-vite.js +2 -2
- package/dist/session/state-store.d.ts +1 -17
- package/dist/session/state-store.d.ts.map +1 -1
- package/dist/session/state-store.js +3 -53
- package/dist/session/supervisor-op.d.ts +7 -0
- package/dist/session/supervisor-op.d.ts.map +1 -1
- package/dist/session/supervisor-op.js +6 -1
- package/dist/session/supervisor-rpc.d.ts +116 -19
- package/dist/session/supervisor-rpc.d.ts.map +1 -1
- package/dist/session/supervisor-rpc.js +194 -84
- package/dist/session/vite-command.d.ts.map +1 -1
- package/dist/session/vite-command.js +17 -14
- package/dist/session/ws.d.ts.map +1 -1
- package/dist/session/ws.js +20 -8
- package/dist/shell/npm-bin-entrypoints.d.ts.map +1 -1
- package/dist/shell/npm-bin-entrypoints.js +30 -5
- package/dist/vfs/facet-resident-limits.d.ts +33 -0
- package/dist/vfs/facet-resident-limits.d.ts.map +1 -0
- package/dist/vfs/facet-resident-limits.js +33 -0
- package/dist/vfs/facet-resident-store.d.ts +2 -10
- package/dist/vfs/facet-resident-store.d.ts.map +1 -1
- package/dist/vfs/facet-resident-store.js +1594 -219
- package/dist/workspace-host.d.ts +3 -1
- package/dist/workspace-host.d.ts.map +1 -1
- package/dist/workspace-host.js +2 -0
- package/dist/wrangler/nimbus-wrangler.d.ts +0 -2
- package/dist/wrangler/nimbus-wrangler.d.ts.map +1 -1
- package/dist/wrangler/nimbus-wrangler.js +8 -22
- package/package.json +34 -7
- package/public/_assets/esbuild-0.24.2.js +2380 -0
- package/public/_assets/opencode/1.16.2/index-attach.js +2 -2
- package/public/_assets/runtime/esbuild-cli-c4fda380d52befc1.js +6892 -0
- package/public/_assets/runtime/git-de3e60c9f3ff006a.js +103 -0
- package/public/_assets/runtime/{node-shims-acaa037e6d26ec0d.js → node-shims-06565b121555c194.js} +2879 -992
- package/public/_assets/runtime/resident-store-6ffb1939c53d982f.js +2264 -0
- package/public/_assets/runtime/vfs-write-ledger-e501e8fc793bc2c1.js +889 -0
- package/scripts/build-opencode-attach-entry.mjs +51 -1
- package/scripts/bundle-esbuild-wasm.mjs +55 -39
- package/scripts/bundle-facet-workers.mjs +159 -10
- package/scripts/bundle-git.mjs +88 -27
- package/scripts/bundle-node-shims.mjs +72 -46
- package/scripts/bundle-runtime.mjs +18 -421
- package/scripts/cf-git-patch.mjs +137 -0
- package/scripts/patch-install-deps.mjs +49 -96
- package/scripts/runtime-specs.mjs +435 -0
- package/vendor/git-http.generated.d.ts +82 -0
- package/vendor/git-upstream.generated.d.ts +4378 -0
- package/vendor/git.LICENSE +7 -0
- package/vendor/git.generated.d.mts +21 -0
- package/vendor/git.generated.mjs +103 -0
- package/dist/replica/suspension.d.ts +0 -36
- package/dist/replica/suspension.d.ts.map +0 -1
- package/dist/replica/suspension.js +0 -49
- package/dist/runtime/static-server.d.ts +0 -3
- package/dist/runtime/static-server.d.ts.map +0 -1
- package/dist/runtime/static-server.js +0 -133
- package/scripts/clean-dist.mjs +0 -7
|
@@ -2,7 +2,7 @@ import * as runtimeServices from '../hosted/services.js';
|
|
|
2
2
|
import { DurableObject as CloudflareDurableObject } from 'cloudflare:workers';
|
|
3
3
|
import { SqliteVFS } from '@nimbus-sh/core/vfs/sqlite-vfs.js';
|
|
4
4
|
import { SessionProcessSupervisor } from '@nimbus-sh/core/runtime/session-process-supervisor.js';
|
|
5
|
-
import {
|
|
5
|
+
import { ProcessFiles } from '@nimbus-sh/core/runtime/process-files.js';
|
|
6
6
|
import { PID_GEN_STRIDE } from '@nimbus-sh/core/runtime/process-table.js';
|
|
7
7
|
import { CRED_KERNEL, CRED_SESSION_USER } from '@nimbus-sh/core/runtime/os-contracts.js';
|
|
8
8
|
import { PortRegistry } from '@nimbus-sh/core/runtime/port-registry.js';
|
|
@@ -32,7 +32,7 @@ import { registerAllocObserver } from '@nimbus-sh/platform/heavy-alloc-coord.js'
|
|
|
32
32
|
// (was getEsbuildWasmBytes; cached) to fetchEsbuildWasmBytes (no
|
|
33
33
|
// supervisor cache; goes through env.ASSETS on demand).
|
|
34
34
|
import { adoptCtxExports } from '@nimbus-sh/fabric/composition.js';
|
|
35
|
-
import { NIMBUS_VERSION
|
|
35
|
+
import { NIMBUS_VERSION } from '@nimbus-sh/core/constants.js';
|
|
36
36
|
import { seedBaseFilesystem } from '@nimbus-sh/core/workspace';
|
|
37
37
|
import { routeSessionLoopback } from './ai.js';
|
|
38
38
|
import { seedProject, SEED_PROJECT_NAME } from '@nimbus-sh/core/vfs/seed-project.js';
|
|
@@ -40,18 +40,8 @@ import { BASE_PATH_HEADER } from '../_shared/session-router.js';
|
|
|
40
40
|
import { ATTACH_BOOTSTRAP_JTI_KEY_PREFIX, SESSION_DESTROYED_KEY } from './keys.js';
|
|
41
41
|
import { appendScrollback } from './state-store.js';
|
|
42
42
|
import { wireProcessLogSocketBroadcast } from '../runtime/process-logs-api.js';
|
|
43
|
-
// S3: tryEnableReplicas + getReplicaState extracted to ./nimbus-session-replica.ts.
|
|
44
|
-
// S3: tryEnableReplicas + getReplicaState extracted to ./nimbus-session-replica.ts.
|
|
45
43
|
import { wireReplicasOnConstruct as _w12WireReplicasOnConstruct, getReplicaState as _w12GetReplicaState } from './replica-routes.js';
|
|
46
|
-
|
|
47
|
-
// sibling modules (-hib, -diag, -ws). The class file itself no longer
|
|
48
|
-
// references any storage key directly.
|
|
49
|
-
// S4: W9 hibernation surface extracted.
|
|
50
|
-
// S5: storage-key constants moved to ./nimbus-session-keys.ts; consumed by
|
|
51
|
-
// sibling modules (-hib, -diag, -ws). The class file itself no longer
|
|
52
|
-
// references any storage key directly.
|
|
53
|
-
// S4: W9 hibernation surface extracted.
|
|
54
|
-
import { wireHibernationOnConstruct as _w9WireHibernationOnConstruct, wireProcessLogPersist as _w9DoWireProcessLogPersist, ensureHibSchema as _w9DoEnsureHibSchema, scheduleHibFlush as _w9DoScheduleHibFlush, clearDestroyedTombstone as _w1ClearDestroyedTombstone, dispatchAlarm as _w9DoDispatchAlarm, flushOnClose as _w9DoFlushOnClose } from './hibernation.js';
|
|
44
|
+
import { wireHibernationOnConstruct as _w9WireHibernationOnConstruct, wireProcessLogPersist as _w9DoWireProcessLogPersist, ensureHibSchema as _w9DoEnsureHibSchema, scheduleHibFlush as _w9DoScheduleHibFlush, clearDestroyedTombstone as _w1ClearDestroyedTombstone, ensureResidentKeepalive as _w1EnsureResidentKeepalive, dispatchAlarm as _w9DoDispatchAlarm, flushOnClose as _w9DoFlushOnClose, noteClientActivity } from './hibernation.js';
|
|
55
45
|
import { timers } from '@nimbus-sh/fabric/timers.js';
|
|
56
46
|
import { adoptGeneration, generation } from '@nimbus-sh/fabric/generation.js';
|
|
57
47
|
// S6: initSession (1875 LOC of cmd registrations + boot wiring) extracted.
|
|
@@ -66,42 +56,19 @@ import { wsMessage as _wsDoMessage, wsClose as _wsDoClose, wsError as _wsDoError
|
|
|
66
56
|
// S8: Supervisor RPC + W8 cp* + legacy VFS impls extracted.
|
|
67
57
|
import * as _rpc from './rpc.js';
|
|
68
58
|
import { buildSessionSupervisorOps } from './supervisor-op.js';
|
|
59
|
+
import { openSupervisorDeliveries } from '@nimbus-sh/core/workspace/supervisor-delivery.js';
|
|
69
60
|
// S9: HTTP fetch routing extracted (combined S9a + S9b).
|
|
70
61
|
// S9: HTTP fetch routing extracted (combined S9a + S9b).
|
|
71
62
|
import * as _routes from './routes.js';
|
|
72
63
|
import * as _portCapability from './port-capability.js';
|
|
73
64
|
// Programmatic SDK RPC surface.
|
|
74
|
-
// Programmatic SDK RPC surface.
|
|
75
65
|
import * as _programmatic from './programmatic.js';
|
|
76
|
-
|
|
66
|
+
import { encodeExecStream } from '@nimbus-sh/core/runtime/exec-stream.js';
|
|
77
67
|
// S10: heap probe + W5 OOM-ring persistence extracted.
|
|
78
68
|
import * as _diag from './diag.js';
|
|
79
|
-
import {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
args: z.array(z.unknown()).optional().transform((value) => (value || []).map((item) => String(item))),
|
|
83
|
-
env: z.record(z.string(), z.unknown()).optional().transform((value) => {
|
|
84
|
-
const out = {};
|
|
85
|
-
for (const [key, item] of Object.entries(value || {}))
|
|
86
|
-
out[key] = String(item);
|
|
87
|
-
return out;
|
|
88
|
-
}),
|
|
89
|
-
cwd: z.unknown().optional().transform((value) => value == null ? '/' : String(value)),
|
|
90
|
-
stdin: z.unknown().optional().transform((value) => value == null ? '' : String(value)),
|
|
91
|
-
processPid: z.number().int().positive(),
|
|
92
|
-
}).passthrough();
|
|
93
|
-
function normalizeCpCommandName(name) {
|
|
94
|
-
const text = String(name || '').trim();
|
|
95
|
-
if (!text.startsWith('/'))
|
|
96
|
-
return text;
|
|
97
|
-
const slash = text.lastIndexOf('/');
|
|
98
|
-
const base = slash >= 0 ? text.slice(slash + 1) : text;
|
|
99
|
-
const dir = text.slice(0, Math.max(0, text.length - base.length));
|
|
100
|
-
if (dir === '/bin/' || dir === '/usr/bin/' || dir === '/usr/local/bin/') {
|
|
101
|
-
return base;
|
|
102
|
-
}
|
|
103
|
-
return text;
|
|
104
|
-
}
|
|
69
|
+
import { ServedReads } from '../facets/read-profile.js';
|
|
70
|
+
/** The ops whose non-null answer is a file's content served to a process. */
|
|
71
|
+
const SERVED_READ_OPS = new Set(['readFile', 'readFileBytes', 'fsReadRange', 'fsReadRangeUncached']);
|
|
105
72
|
// Re-exports preserved for callers that import from nimbus-session
|
|
106
73
|
// directly (the historical entry point). Each one has a dedicated
|
|
107
74
|
// import site elsewhere in the codebase.
|
|
@@ -326,6 +293,14 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
326
293
|
* prevented hibernation per CF DO docs). The alarm itself lives in
|
|
327
294
|
* DO storage at key `w1_next_alarm_reasons`. */
|
|
328
295
|
_w1JanitorArmed = false;
|
|
296
|
+
/** W1: idempotency flag for the resident keep-alive alarm cycle — the
|
|
297
|
+
* recurring event that holds this object in memory for as long as a
|
|
298
|
+
* resident process runs (hibernation.ts ensureResidentKeepalive). */
|
|
299
|
+
_w1KeepaliveArmed = false;
|
|
300
|
+
/** W1: when a client last reached this session over HTTP; the keep-alive
|
|
301
|
+
* holds the object only while one is attached or was here within
|
|
302
|
+
* RESIDENT_KEEPALIVE_DETACHED_MS (hibernation.ts residentClientPresent). */
|
|
303
|
+
_w1LastClientActivityAt = 0;
|
|
329
304
|
/** Destroyed-session tombstone (SESSION_DESTROYED_KEY), hydrated at boot.
|
|
330
305
|
* While set, log activity never re-arms the janitor alarm cycle. */
|
|
331
306
|
_w1SessionDestroyed = false;
|
|
@@ -337,7 +312,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
337
312
|
* (which it does unconditionally — left null only on a defensive
|
|
338
313
|
* catch-all).
|
|
339
314
|
*/
|
|
340
|
-
// S4: visibility relaxed (was `private`) so ./
|
|
315
|
+
// S4: visibility relaxed (was `private`) so ./hibernation.ts's
|
|
341
316
|
// free functions can read/write via the HibHost interface. Per plan
|
|
342
317
|
// §IX.1 (refined option b'). Sigil `_w9*` flags it as internal.
|
|
343
318
|
_w9WsConfig = null;
|
|
@@ -353,7 +328,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
353
328
|
* also flush eagerly when `dirtyChunks * pidCount` crosses a threshold
|
|
354
329
|
* — but the debounce handles the steady-state case.
|
|
355
330
|
*
|
|
356
|
-
* S5: storage keys + the debounce constant moved to ./
|
|
331
|
+
* S5: storage keys + the debounce constant moved to ./keys.ts.
|
|
357
332
|
*/
|
|
358
333
|
_w9FlushTimer = null;
|
|
359
334
|
// ── Heap-pressure probe state ───────────────────────────────────────────
|
|
@@ -396,7 +371,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
396
371
|
* runtime accepted the SPEC API. Stays `null` if the constructor's
|
|
397
372
|
* call ran before this assignment (defensive — should never happen).
|
|
398
373
|
*/
|
|
399
|
-
// S3: visibility relaxed (was `private`) so ./
|
|
374
|
+
// S3: visibility relaxed (was `private`) so ./replica-routes.ts's
|
|
400
375
|
// free functions can read/write via the ReplicaHost interface. Per plan
|
|
401
376
|
// §IX.1 (refined option b'). Sigil `_w12*` still flags it as internal.
|
|
402
377
|
_w12EnableResult = null;
|
|
@@ -428,11 +403,13 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
428
403
|
wranglerAliasBannerShown = false;
|
|
429
404
|
constructor(ctx, env) {
|
|
430
405
|
super(ctx, env);
|
|
406
|
+
this.supervisorDeliveries = openSupervisorDeliveries(ctx);
|
|
431
407
|
this.#runtimeServices = runtimeServices.bindRuntimeServices(this, {
|
|
432
408
|
ctx,
|
|
433
409
|
env,
|
|
434
410
|
notify: (line) => this._notifySession(line),
|
|
435
411
|
requestLaunchTurn: async (at) => { await this._scheduleLaunchTurn(at); },
|
|
412
|
+
armResidentKeepalive: () => _w1EnsureResidentKeepalive(this, ctx),
|
|
436
413
|
filesystem: () => this.getFilesystemAuthority(),
|
|
437
414
|
});
|
|
438
415
|
// In `wrangler dev`, the outer Worker and this DO share a single
|
|
@@ -450,7 +427,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
450
427
|
const ctxExports = ctx?.exports;
|
|
451
428
|
if (ctxExports)
|
|
452
429
|
adoptCtxExports(ctxExports);
|
|
453
|
-
this.portRegistry = new PortRegistry();
|
|
430
|
+
this.portRegistry = new PortRegistry((pid) => _rpc._acquireForRoutedRequest(this, pid));
|
|
454
431
|
// Generation-unique pids + destroyed tombstone, BEFORE any event runs.
|
|
455
432
|
// Pid-keyed state outlives instance resets (hibernatable process-log WS
|
|
456
433
|
// attachments, persisted w9_proc_logs rows, named loader isolates, and
|
|
@@ -484,7 +461,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
484
461
|
//
|
|
485
462
|
// Failures are non-fatal — older workerd builds may lack the APIs.
|
|
486
463
|
// The result lands in /api/_diag/memory.hib for verification.
|
|
487
|
-
// S4: extracted to ./
|
|
464
|
+
// S4: extracted to ./hibernation.ts.
|
|
488
465
|
this._w9WsConfig = _w9WireHibernationOnConstruct(this.ctx);
|
|
489
466
|
// Wire the ProcessLogStore to its persist adapter (CF research §C.2,
|
|
490
467
|
// Lever 11). Idempotent: only runs once per isolate. The DDL +
|
|
@@ -505,12 +482,12 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
505
482
|
// lacking the API surface get `state: 'unsupported'` and the DO behaves
|
|
506
483
|
// exactly as pre-W12 (single-primary). Result is captured for the
|
|
507
484
|
// `/api/_diag/memory.replica` block.
|
|
508
|
-
// S3: extracted to ./
|
|
485
|
+
// S3: extracted to ./replica-routes.ts. Passes ctx
|
|
509
486
|
// explicitly because `protected ctx` can't be put on a public
|
|
510
|
-
// interface (per
|
|
487
|
+
// interface (per session/replica-routes.ts ReplicaHost docs).
|
|
511
488
|
this._w12EnableResult = _w12WireReplicasOnConstruct(this.ctx);
|
|
512
489
|
}
|
|
513
|
-
// ── W9 hibernation methods extracted to ./
|
|
490
|
+
// ── W9 hibernation methods extracted to ./hibernation.ts (S4) ──
|
|
514
491
|
//
|
|
515
492
|
// The class retains the public method NAMES (delegator pattern per plan
|
|
516
493
|
// §IX.4 R1: delegators are immortal until S13). Bodies live in -hib.ts.
|
|
@@ -562,7 +539,10 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
562
539
|
*/
|
|
563
540
|
_notifySession(line) {
|
|
564
541
|
if (this.terminal) {
|
|
565
|
-
this.
|
|
542
|
+
if (this.shell)
|
|
543
|
+
this.shell.writeNotice(line);
|
|
544
|
+
else
|
|
545
|
+
this.terminal.write(line);
|
|
566
546
|
return;
|
|
567
547
|
}
|
|
568
548
|
try {
|
|
@@ -653,7 +633,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
653
633
|
return true;
|
|
654
634
|
}
|
|
655
635
|
// ── Supervisor RPC + W8 cp* + legacy VFS extracted to
|
|
656
|
-
// ── ./
|
|
636
|
+
// ── ./rpc.ts (S8). See plan §B.3.4.
|
|
657
637
|
//
|
|
658
638
|
// The class retains every method NAME so the DO RPC fabric (which
|
|
659
639
|
// dispatches by name from the stub) keeps working. Method bodies are
|
|
@@ -667,12 +647,19 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
667
647
|
* Lazy: sqliteFs exists only after ensureSqliteFs().
|
|
668
648
|
*/
|
|
669
649
|
_supervisorOps = null;
|
|
670
|
-
|
|
650
|
+
processFiles = null;
|
|
651
|
+
/**
|
|
652
|
+
* This instance's receipts for its processes' mutations delivered exactly
|
|
653
|
+
* once. Opened in the constructor, before anything is spawned, so every
|
|
654
|
+
* SUPERVISOR binding minted from this ctx names this instance.
|
|
655
|
+
*/
|
|
656
|
+
supervisorDeliveries;
|
|
657
|
+
/** The session's namespace and process bindings: one, for the workspace, facets and RPC alike. */
|
|
671
658
|
getFilesystemAuthority() {
|
|
672
659
|
this.ensureSqliteFs();
|
|
673
660
|
if (!this.sqliteFs)
|
|
674
661
|
throw new Error('Filesystem is not initialized');
|
|
675
|
-
return this.
|
|
662
|
+
return this.processFiles ??= new ProcessFiles(this.sqliteFs);
|
|
676
663
|
}
|
|
677
664
|
supervisorOps() {
|
|
678
665
|
if (!this._supervisorOps)
|
|
@@ -689,8 +676,18 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
689
676
|
}
|
|
690
677
|
// Supervisor RPC (file/log/HMR/batch)
|
|
691
678
|
supervisorOp(envelope) {
|
|
692
|
-
|
|
679
|
+
const answer = this.supervisorOps().dispatch(envelope);
|
|
680
|
+
if (!SERVED_READ_OPS.has(envelope.op) || typeof envelope.pid !== 'number')
|
|
681
|
+
return answer;
|
|
682
|
+
// What this session served a process is the read profile's only evidence (read-profile.ts).
|
|
683
|
+
return answer.then((value) => {
|
|
684
|
+
if (value !== null && value !== undefined)
|
|
685
|
+
this.servedReads.note(envelope.pid, envelope.args?.[0]);
|
|
686
|
+
return value;
|
|
687
|
+
});
|
|
693
688
|
}
|
|
689
|
+
/** Async reads served per process, for the shared read profile. */
|
|
690
|
+
servedReads = new ServedReads();
|
|
694
691
|
async _rpcReadFile(path, pid, cred) { return _rpc._rpcReadFile(this, path, pid, cred); }
|
|
695
692
|
async _rpcReadFileBytes(path, pid, cred) { return _rpc._rpcReadFileBytes(this, path, pid, cred); }
|
|
696
693
|
async _rpcInnerDoFetch(req) { return _rpc._rpcInnerDoFetch(this, req); }
|
|
@@ -710,8 +707,11 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
710
707
|
async _rpcExists(path, pid, cred) { return _rpc._rpcExists(this, path, pid, cred); }
|
|
711
708
|
async _rpcMkdir(path, pid, cred) { return _rpc._rpcMkdir(this, path, pid, cred); }
|
|
712
709
|
async _rpcRename(from, to, pid, cred) { return _rpc._rpcRename(this, from, to, pid, cred); }
|
|
713
|
-
async _rpcFsAcquire(epoch, cursor, pid) {
|
|
714
|
-
return _rpc._rpcFsAcquire(this, epoch, cursor, pid);
|
|
710
|
+
async _rpcFsAcquire(epoch, cursor, options, pid) {
|
|
711
|
+
return _rpc._rpcFsAcquire(this, epoch, cursor, options, pid);
|
|
712
|
+
}
|
|
713
|
+
async _rpcFsStorageGrant(facet, bytes, databaseSize, pid) {
|
|
714
|
+
return _rpc._rpcFsStorageGrant(this, facet, bytes, databaseSize, pid);
|
|
715
715
|
}
|
|
716
716
|
async _rpcFsList(after, limit, pid) {
|
|
717
717
|
return _rpc._rpcFsList(this, after, limit, pid);
|
|
@@ -749,7 +749,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
749
749
|
async _rpcRecordCacheStats(events) { return _rpc._rpcRecordCacheStats(this, events); }
|
|
750
750
|
async _rpcStdout(pid, data) { return _rpc._rpcStdout(this, pid, data); }
|
|
751
751
|
async _rpcStderr(pid, data) { return _rpc._rpcStderr(this, pid, data); }
|
|
752
|
-
async _rpcReportExit(pid, code, tail) { return _rpc._rpcReportExit(this, pid, code, tail); }
|
|
752
|
+
async _rpcReportExit(pid, code, tail, residencyMisses, profileUnread) { return _rpc._rpcReportExit(this, pid, code, tail, residencyMisses, profileUnread); }
|
|
753
753
|
// W3 emitters / external-exit / log janitor
|
|
754
754
|
_emitExitDump(pid, code) { return _rpc._emitExitDump(this, pid, code); }
|
|
755
755
|
_emitShellExecDone(pid, cmd, code, durationMs) { return _rpc._emitShellExecDone(this, pid, cmd, code, durationMs); }
|
|
@@ -790,11 +790,11 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
790
790
|
async _rpcCpSpawn(req) { return _rpc._rpcCpSpawn(this, req); }
|
|
791
791
|
async _rpcCpStdinWrite(childPid, data) { return _rpc._rpcCpStdinWrite(this, childPid, data); }
|
|
792
792
|
async _rpcCpStdinEnd(childPid) { return _rpc._rpcCpStdinEnd(this, childPid); }
|
|
793
|
-
async _rpcCpReadStdin(childPid, waitMs) { return _rpc._rpcCpReadStdin(this, childPid, waitMs); }
|
|
794
|
-
async _rpcCpReadOutput(childPid, fd, sinceSeq, waitMs) { return _rpc._rpcCpReadOutput(this, childPid, fd, sinceSeq, waitMs); }
|
|
793
|
+
async _rpcCpReadStdin(childPid, waitMs, acquire, pid) { return _rpc._rpcCpReadStdin(this, childPid, waitMs, acquire, pid); }
|
|
794
|
+
async _rpcCpReadOutput(childPid, fd, sinceSeq, waitMs, acquire, pid) { return _rpc._rpcCpReadOutput(this, childPid, fd, sinceSeq, waitMs, acquire, pid); }
|
|
795
795
|
async _rpcCpDrainOutput(childPid) { return _rpc._rpcCpDrainOutput(this, childPid); }
|
|
796
796
|
async _rpcCpKill(childPid, signal) { return _rpc._rpcCpKill(this, childPid, signal); }
|
|
797
|
-
async _rpcCpWait(childPid, waitMs) { return _rpc._rpcCpWait(this, childPid, waitMs); }
|
|
797
|
+
async _rpcCpWait(childPid, waitMs, acquire, pid) { return _rpc._rpcCpWait(this, childPid, waitMs, acquire, pid); }
|
|
798
798
|
// child-process isolation gap #1: per-spawn fresh-isolate dispatch.
|
|
799
799
|
async _rpcCpDispatchInline(req, kind) { return _rpc._rpcCpDispatchInline(this, req, kind); }
|
|
800
800
|
// Programmatic sandbox SDK RPC
|
|
@@ -805,7 +805,10 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
805
805
|
* full `ready` isolates the platform DO-placement floor from the
|
|
806
806
|
* initSession build cost. */
|
|
807
807
|
async _rpcBootProbe() { return { ok: true }; }
|
|
808
|
-
|
|
808
|
+
/** The command's output as it is written: an encoded exec stream (`@nimbus-sh/core/runtime/exec-stream`). */
|
|
809
|
+
async _rpcExecStream(command, options) {
|
|
810
|
+
return encodeExecStream(await _programmatic.rpcExecStream(this, command, options));
|
|
811
|
+
}
|
|
809
812
|
async _rpcStartProcess(command, options) { return _programmatic.rpcStartProcess(this, command, options); }
|
|
810
813
|
async _rpcRunCode(code, options) {
|
|
811
814
|
return _programmatic.rpcRunCode(this, code, options);
|
|
@@ -881,6 +884,9 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
881
884
|
vfsWriteFile(path, data) { return _rpc.vfsWriteFile(this, path, data); }
|
|
882
885
|
// ── HTTP handler ──────────────────────────────────────────────────────
|
|
883
886
|
async fetch(request) {
|
|
887
|
+
// Every client reaches the session through here; facets reach it
|
|
888
|
+
// through RPC, which is deliberately not counted.
|
|
889
|
+
noteClientActivity(this, this.ctx);
|
|
884
890
|
try {
|
|
885
891
|
return await this._handleFetch(request);
|
|
886
892
|
}
|
|
@@ -889,7 +895,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
889
895
|
return new Response(`Internal Error: ${e?.message}`, { status: 500 });
|
|
890
896
|
}
|
|
891
897
|
}
|
|
892
|
-
// ── HTTP fetch routing extracted to ./
|
|
898
|
+
// ── HTTP fetch routing extracted to ./routes.ts (S9).
|
|
893
899
|
// The class retains the DO-contract `fetch` method + `_handleFetch`
|
|
894
900
|
// delegator (per plan §IX.4 R1).
|
|
895
901
|
async _handleFetch(request) {
|
|
@@ -904,13 +910,13 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
904
910
|
*/
|
|
905
911
|
// ── W12 — getReplicaState() — exposed via /api/_diag/memory.replica.
|
|
906
912
|
//
|
|
907
|
-
// Delegator. Impl extracted to ./
|
|
913
|
+
// Delegator. Impl extracted to ./replica-routes.ts (S3).
|
|
908
914
|
// Stays public-by-name so the diag handler at /api/_diag/memory keeps
|
|
909
915
|
// working unchanged. The CT1 drift detector reads the result.
|
|
910
916
|
getReplicaState() {
|
|
911
917
|
return _w12GetReplicaState(this, this.ctx);
|
|
912
918
|
}
|
|
913
|
-
// Heap probe + W5 ring helpers extracted to ./
|
|
919
|
+
// Heap probe + W5 ring helpers extracted to ./diag.ts (S10).
|
|
914
920
|
// The class retains delegator methods because the diag handler at
|
|
915
921
|
// /api/_diag/memory + the ws lifecycle + ensureSqliteFs all call them.
|
|
916
922
|
_diagReadNodeMem() {
|
|
@@ -962,7 +968,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
962
968
|
return this.sqliteFs;
|
|
963
969
|
}
|
|
964
970
|
// ── W5 Lever 5: ring buffer persistence on DO storage ─────────────────
|
|
965
|
-
// Storage key W5_RING_STORAGE_KEY lives in ./
|
|
971
|
+
// Storage key W5_RING_STORAGE_KEY lives in ./keys.ts (S5).
|
|
966
972
|
// Bounded ≤20 KB by oom-discriminator.ts; one async put per
|
|
967
973
|
// webSocketClose where the ring is non-empty.
|
|
968
974
|
/** Track when we last persisted to avoid redundant writes. */
|
|
@@ -979,7 +985,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
979
985
|
async _w5RehydrateRingFromStorage() {
|
|
980
986
|
return _diag.rehydrateRingFromStorage(this, this.ctx);
|
|
981
987
|
}
|
|
982
|
-
/** Snapshot + persist OOM ring. Delegator → ./
|
|
988
|
+
/** Snapshot + persist OOM ring. Delegator → ./session/diag.ts (S10). */
|
|
983
989
|
_w5PersistRing() {
|
|
984
990
|
return _diag.persistRing(this, this.ctx);
|
|
985
991
|
}
|
|
@@ -1037,7 +1043,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1037
1043
|
// ── Session initialization ────────────────────────────────────────────
|
|
1038
1044
|
// ── Session initialization ────────────────────────────────────────────
|
|
1039
1045
|
//
|
|
1040
|
-
// S6: body extracted to ./
|
|
1046
|
+
// S6: body extracted to ./init.ts (1875 LOC of registry
|
|
1041
1047
|
// command registrations + boot wiring). The class retains `initSession`
|
|
1042
1048
|
// as a delegator per plan §IX.4 R1. Visibility relaxed (was `private`)
|
|
1043
1049
|
// so the SessionInternal interface declares it.
|
|
@@ -1071,7 +1077,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1071
1077
|
* checks and changes nothing.
|
|
1072
1078
|
*/
|
|
1073
1079
|
seedFilesystem() {
|
|
1074
|
-
seedBaseFilesystem(this.sqliteFs
|
|
1080
|
+
seedBaseFilesystem(this.sqliteFs);
|
|
1075
1081
|
const fs = this.sqliteFs.as(CRED_SESSION_USER);
|
|
1076
1082
|
const rootFs = this.sqliteFs.as(CRED_KERNEL);
|
|
1077
1083
|
{
|
|
@@ -1130,7 +1136,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1130
1136
|
}
|
|
1131
1137
|
// ── WebSocket lifecycle ───────────────────────────────────────────────
|
|
1132
1138
|
//
|
|
1133
|
-
// S7: bodies extracted to ./
|
|
1139
|
+
// S7: bodies extracted to ./ws.ts. Class retains the
|
|
1134
1140
|
// method NAMES per plan §IX.4 R1 (DO RPC fabric needs them). Visibility
|
|
1135
1141
|
// relaxed for the methods (default-public; was async/private).
|
|
1136
1142
|
async webSocketMessage(ws, message) {
|
|
@@ -1142,11 +1148,11 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1142
1148
|
async webSocketError(ws, error) {
|
|
1143
1149
|
return _wsDoError(this, ws, error);
|
|
1144
1150
|
}
|
|
1145
|
-
/** W9: synchronous flush on close. Delegator → ./
|
|
1151
|
+
/** W9: synchronous flush on close. Delegator → ./session/hibernation.ts (S4). */
|
|
1146
1152
|
_w9FlushOnClose() {
|
|
1147
1153
|
return _w9DoFlushOnClose(this);
|
|
1148
1154
|
}
|
|
1149
|
-
/** W5: bridge _w5PersistRing → ctx.waitUntil. Delegator → ./
|
|
1155
|
+
/** W5: bridge _w5PersistRing → ctx.waitUntil. Delegator → ./session/ws.ts (S7). */
|
|
1150
1156
|
_w5SafePersistRing() {
|
|
1151
1157
|
return _wsDoSafePersistRing(this);
|
|
1152
1158
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npm-install-port.d.ts","sourceRoot":"","sources":["../../src/session/npm-install-port.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAI5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,wBAAwB,CAAC,CAAC;AAE7G,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"npm-install-port.d.ts","sourceRoot":"","sources":["../../src/session/npm-install-port.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uDAAuD,CAAC;AAI5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,KAAK,WAAW,GAAG,IAAI,CAAC,eAAe,EAAE,gBAAgB,GAAG,oBAAoB,GAAG,wBAAwB,CAAC,CAAC;AAE7G,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CA2CtE"}
|
|
@@ -13,7 +13,9 @@ export function createNpmInstallPort(self) {
|
|
|
13
13
|
const result = await installer.install(installCwd, {
|
|
14
14
|
packages: spec.packages.length > 0 ? [...spec.packages] : undefined,
|
|
15
15
|
production: spec.production,
|
|
16
|
+
fromLockfile: spec.fromLockfile,
|
|
16
17
|
pid: spec.pid,
|
|
18
|
+
registry: spec.registry,
|
|
17
19
|
npmLog: spec.npmLog ?? undefined,
|
|
18
20
|
onProgress: spec.onProgress,
|
|
19
21
|
});
|
|
@@ -16,6 +16,7 @@ import type { SqliteVFS } from '@nimbus-sh/core/vfs/sqlite-vfs.js';
|
|
|
16
16
|
import { type VfsCred } from '@nimbus-sh/core/runtime/os-contracts.js';
|
|
17
17
|
import { type PortVisibility } from './port-capability.js';
|
|
18
18
|
import type { LongRunningWorkerSpawnOptions, ResidentAppSummary, ResidentIdentity, ResidentRestartPolicy, SpawnedWorker } from '../facets/manager.js';
|
|
19
|
+
import { type ExecOutput, type ExecStream } from '@nimbus-sh/core/runtime/exec-stream.js';
|
|
19
20
|
import type { RuntimeManager } from '@nimbus-sh/core/runtime/runtime-manager.js';
|
|
20
21
|
export interface ProgrammaticShell {
|
|
21
22
|
env?: Record<string, string>;
|
|
@@ -28,9 +29,9 @@ export interface ProgrammaticShell {
|
|
|
28
29
|
interface ProgrammaticShellExecuteOptions {
|
|
29
30
|
cwd?: string;
|
|
30
31
|
env?: Record<string, string>;
|
|
31
|
-
/** Bytes, as the shell's own ExecuteOptions: a process's stdio is bytes. */
|
|
32
|
-
onStdout?: (data: Uint8Array) => void
|
|
33
|
-
onStderr?: (data: Uint8Array) => void
|
|
32
|
+
/** Bytes, as the shell's own ExecuteOptions: a process's stdio is bytes. A returned promise is backpressure. */
|
|
33
|
+
onStdout?: (data: Uint8Array) => void | Promise<void>;
|
|
34
|
+
onStderr?: (data: Uint8Array) => void | Promise<void>;
|
|
34
35
|
signal?: AbortSignal;
|
|
35
36
|
stdin?: string;
|
|
36
37
|
isolateShellState?: boolean;
|
|
@@ -155,15 +156,8 @@ export interface ProgrammaticDestroyResult {
|
|
|
155
156
|
destroyedAt: number;
|
|
156
157
|
reason: string | null;
|
|
157
158
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
exitCode: number;
|
|
161
|
-
success: boolean;
|
|
162
|
-
stdout: string;
|
|
163
|
-
stderr: string;
|
|
164
|
-
duration: number;
|
|
165
|
-
timestamp: number;
|
|
166
|
-
}
|
|
159
|
+
/** The buffered exec result: the exec stream read to its end. */
|
|
160
|
+
export type ProgrammaticExecResult = ExecOutput;
|
|
167
161
|
/**
|
|
168
162
|
* A started background process. There is no exit code or output here — the
|
|
169
163
|
* process is still running when this returns. Read both back through
|
|
@@ -198,7 +192,14 @@ export declare function ensureProgrammaticReady(self: ProgrammaticHost, options?
|
|
|
198
192
|
ok: true;
|
|
199
193
|
preinstalled: string[];
|
|
200
194
|
}>;
|
|
195
|
+
/** Buffered exec: the exec stream collected into strings by the caller of this function. */
|
|
201
196
|
export declare function rpcExec(self: ProgrammaticHost, command: string, options?: ProgrammaticExecOptions): Promise<ProgrammaticExecResult>;
|
|
197
|
+
/**
|
|
198
|
+
* Run a command and hand back its output as it is written. Resolves once the
|
|
199
|
+
* command has started (after any earlier call on the same named shell);
|
|
200
|
+
* validation and readiness failures reject here, not on the stream.
|
|
201
|
+
*/
|
|
202
|
+
export declare function rpcExecStream(self: ProgrammaticHost, command: string, options?: ProgrammaticExecOptions): Promise<ExecStream>;
|
|
202
203
|
/**
|
|
203
204
|
* Start a command in the background and return its handle immediately.
|
|
204
205
|
*
|
|
@@ -378,12 +379,6 @@ export declare function rpcRemoveDurableApp(self: ProgrammaticHost, owner: strin
|
|
|
378
379
|
removed: boolean;
|
|
379
380
|
port: number | null;
|
|
380
381
|
}>;
|
|
381
|
-
/**
|
|
382
|
-
* Route an embedder request that carries a port capability. The embedder has
|
|
383
|
-
* authenticated the capability at its edge and stripped its own credentials,
|
|
384
|
-
* so the guest's `Authorization` is preserved through this path and no other.
|
|
385
|
-
*/
|
|
386
|
-
export declare function rpcRouteCapabilityPort(self: ProgrammaticHost, port: number, capability: string, request: Request, pathname: string): Promise<Response>;
|
|
387
382
|
/**
|
|
388
383
|
* `spawnWorker` for a colocated embedder holding the DO stub: boot the
|
|
389
384
|
* embedder's own Worker-class program — its main module, inline modules and
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programmatic.d.ts","sourceRoot":"","sources":["../../src/session/programmatic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAUH,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,KAAK,EAAY,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAwC,MAAM,0CAA0C,CAAC;AAC9G,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAA+B,KAAK,OAAO,EAAE,MAAM,yCA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