@nimbus-sh/worker 0.4.0 → 0.5.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 +46 -43
- package/dist/_shared/preview-host.d.ts +14 -1
- package/dist/_shared/preview-host.d.ts.map +1 -1
- package/dist/_shared/preview-host.js +28 -3
- package/dist/_shared/session-router.d.ts +43 -0
- package/dist/_shared/session-router.d.ts.map +1 -1
- package/dist/_shared/session-router.js +59 -12
- package/dist/facets/durable-images.d.ts +50 -0
- package/dist/facets/durable-images.d.ts.map +1 -0
- package/dist/facets/durable-images.js +75 -0
- package/dist/facets/durable-slots.d.ts +45 -0
- package/dist/facets/durable-slots.d.ts.map +1 -0
- package/dist/facets/durable-slots.js +94 -0
- package/dist/facets/esbuild-transform.d.ts +10 -0
- package/dist/facets/esbuild-transform.d.ts.map +1 -0
- package/dist/facets/esbuild-transform.js +36 -0
- package/dist/facets/manager.d.ts +160 -5
- package/dist/facets/manager.d.ts.map +1 -1
- package/dist/facets/manager.js +554 -97
- package/dist/git/commands.d.ts +22 -0
- package/dist/git/commands.d.ts.map +1 -1
- package/dist/git/commands.js +431 -424
- package/dist/git-bundle.generated.d.ts +2 -2
- package/dist/git-bundle.generated.d.ts.map +1 -1
- package/dist/git-bundle.generated.js +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/node-shims-artifact.generated.js +3 -3
- package/dist/router/index.d.ts.map +1 -1
- package/dist/router/index.js +59 -2
- package/dist/router/public-directory-do.d.ts +17 -0
- package/dist/router/public-directory-do.d.ts.map +1 -0
- package/dist/router/public-directory-do.js +16 -0
- package/dist/router/public-directory.d.ts +75 -0
- package/dist/router/public-directory.d.ts.map +1 -0
- package/dist/router/public-directory.js +115 -0
- package/dist/router/remote-api.d.ts +9 -1
- package/dist/router/remote-api.d.ts.map +1 -1
- package/dist/router/remote-api.js +19 -2
- package/dist/runtime/node-shims.d.ts +4 -1
- package/dist/runtime/node-shims.d.ts.map +1 -1
- package/dist/runtime/node-shims.js +324 -6
- package/dist/session/agent.d.ts +11 -0
- package/dist/session/agent.d.ts.map +1 -1
- package/dist/session/helpers.js +1 -1
- package/dist/session/init-phases.d.ts +17 -23
- package/dist/session/init-phases.d.ts.map +1 -1
- package/dist/session/init-phases.js +17 -41
- package/dist/session/init.d.ts.map +1 -1
- package/dist/session/init.js +19 -15
- package/dist/session/keys.d.ts +8 -0
- package/dist/session/keys.d.ts.map +1 -1
- package/dist/session/keys.js +8 -0
- package/dist/session/nimbus-session.d.ts +29 -4
- package/dist/session/nimbus-session.d.ts.map +1 -1
- package/dist/session/nimbus-session.js +62 -9
- package/dist/session/port-capability.d.ts +95 -8
- package/dist/session/port-capability.d.ts.map +1 -1
- package/dist/session/port-capability.js +165 -8
- package/dist/session/programmatic.d.ts +50 -2
- package/dist/session/programmatic.d.ts.map +1 -1
- package/dist/session/programmatic.js +104 -6
- package/dist/session/routes.d.ts +17 -0
- package/dist/session/routes.d.ts.map +1 -1
- package/dist/session/routes.js +92 -25
- package/dist/session/rpc.d.ts.map +1 -1
- package/dist/session/rpc.js +14 -4
- package/dist/session/shell-socket.d.ts +76 -0
- package/dist/session/shell-socket.d.ts.map +1 -0
- package/dist/session/shell-socket.js +172 -0
- package/dist/session/start-real-vite.js +1 -1
- package/dist/session/supervisor-op.d.ts +5 -0
- package/dist/session/supervisor-op.d.ts.map +1 -0
- package/dist/session/supervisor-op.js +74 -0
- package/dist/session/supervisor-rpc.d.ts +6 -10
- package/dist/session/supervisor-rpc.d.ts.map +1 -1
- package/dist/session/supervisor-rpc.js +91 -70
- package/dist/session/ws.d.ts.map +1 -1
- package/dist/session/ws.js +19 -4
- package/package.json +4 -4
- package/public/_assets/runtime/{node-shims-fea906843f6d594e.js → node-shims-9e1380d9ee430fcc.js} +320 -5
- package/public/s/index.html +101 -5
package/dist/session/init.js
CHANGED
|
@@ -58,7 +58,6 @@ import { installNpmBinFallbackResolver } from '../shell/npm-bin-entrypoints.js';
|
|
|
58
58
|
import { parseNpmInstallInvocation } from '../npm/install-args.js';
|
|
59
59
|
import { npmLogEnabled } from '../npm/npm-log.js';
|
|
60
60
|
import { materializeNpmBinShims } from '../npm/bin-links.js';
|
|
61
|
-
import { registerGitCommands } from '../git/commands.js';
|
|
62
61
|
import { makeNimbusVerbHandler, createRuntimeCommandHintResolver, } from '../runtime/package-manager.js';
|
|
63
62
|
import { listInstalledRuntimes, rehydrateInstalledRuntimes, registerRunnerFactory, } from '@nimbus-sh/core/runtime/installed-runtimes.js';
|
|
64
63
|
// Runtime factories (clang/python/ruby/bash/wasm) are imported lazily at
|
|
@@ -454,8 +453,13 @@ export async function initSession(self, ws) {
|
|
|
454
453
|
}));
|
|
455
454
|
// ── Git integration (isomorphic-git) ──
|
|
456
455
|
// ctx + env are passed for clone/fetch/pull which run in a facet to avoid
|
|
457
|
-
// exhausting the supervisor DO's CPU budget on large repos.
|
|
458
|
-
|
|
456
|
+
// exhausting the supervisor DO's CPU budget on large repos. The command
|
|
457
|
+
// module (+ its ~106 KB network-facet dependency) is loaded lazily on the
|
|
458
|
+
// first `git` invocation so it stays out of the cold script-eval graph.
|
|
459
|
+
registry.register('git', async (ctx) => {
|
|
460
|
+
const { runGitCommand } = await import('../git/commands.js');
|
|
461
|
+
return runGitCommand(ctx, sqliteFs, self.ctx, self.env);
|
|
462
|
+
});
|
|
459
463
|
// ── runtime package manager: `nimbus install` package manager + runner registry.
|
|
460
464
|
//
|
|
461
465
|
// 1. Register the clang-runner factory FIRST so the rehydration step
|
|
@@ -689,7 +693,7 @@ export async function initSession(self, ws) {
|
|
|
689
693
|
getEsbuild: () => {
|
|
690
694
|
if (!self.esbuildService) {
|
|
691
695
|
self.ensureSqliteFs();
|
|
692
|
-
self.esbuildService = new EsbuildService(
|
|
696
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
693
697
|
}
|
|
694
698
|
return self.esbuildService;
|
|
695
699
|
},
|
|
@@ -838,7 +842,7 @@ export async function initSession(self, ws) {
|
|
|
838
842
|
getEsbuild: () => {
|
|
839
843
|
if (!self.esbuildService) {
|
|
840
844
|
self.ensureSqliteFs();
|
|
841
|
-
self.esbuildService = new EsbuildService(
|
|
845
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
842
846
|
}
|
|
843
847
|
return self.esbuildService;
|
|
844
848
|
},
|
|
@@ -886,7 +890,7 @@ export async function initSession(self, ws) {
|
|
|
886
890
|
getEsbuild: () => {
|
|
887
891
|
if (!self.esbuildService) {
|
|
888
892
|
self.ensureSqliteFs();
|
|
889
|
-
self.esbuildService = new EsbuildService(
|
|
893
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
890
894
|
}
|
|
891
895
|
return self.esbuildService;
|
|
892
896
|
},
|
|
@@ -956,7 +960,7 @@ export async function initSession(self, ws) {
|
|
|
956
960
|
// Lazy-init esbuild service
|
|
957
961
|
if (!self.esbuildService) {
|
|
958
962
|
self.ensureSqliteFs();
|
|
959
|
-
self.esbuildService = new EsbuildService(
|
|
963
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
960
964
|
}
|
|
961
965
|
// Parse flags
|
|
962
966
|
const flags = {};
|
|
@@ -1091,7 +1095,7 @@ export async function initSession(self, ws) {
|
|
|
1091
1095
|
// Transform TS to JS
|
|
1092
1096
|
if (cfgName.endsWith('.ts')) {
|
|
1093
1097
|
if (!self.esbuildService)
|
|
1094
|
-
self.esbuildService = new EsbuildService(
|
|
1098
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
1095
1099
|
const t = await self.esbuildService.transform(cfgCode, { loader: 'ts', format: 'esm' });
|
|
1096
1100
|
cfgCode = t.code;
|
|
1097
1101
|
}
|
|
@@ -1106,7 +1110,7 @@ export async function initSession(self, ws) {
|
|
|
1106
1110
|
// ── vite build ──
|
|
1107
1111
|
if (args[0] === 'build') {
|
|
1108
1112
|
if (!self.esbuildService)
|
|
1109
|
-
self.esbuildService = new EsbuildService(
|
|
1113
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
1110
1114
|
const htmlPath = cwd + '/index.html';
|
|
1111
1115
|
let entryPoint = cwd + '/src/main.tsx';
|
|
1112
1116
|
let origHtml = '';
|
|
@@ -1222,7 +1226,7 @@ export async function initSession(self, ws) {
|
|
|
1222
1226
|
}
|
|
1223
1227
|
// Start vite on the dist directory
|
|
1224
1228
|
if (!self.esbuildService)
|
|
1225
|
-
self.esbuildService = new EsbuildService(
|
|
1229
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
1226
1230
|
if (self.viteDevServer?.isRunning)
|
|
1227
1231
|
self.viteDevServer.stop();
|
|
1228
1232
|
const previewBasePath = self.viteBasePath;
|
|
@@ -1395,7 +1399,7 @@ export async function initSession(self, ws) {
|
|
|
1395
1399
|
}
|
|
1396
1400
|
}
|
|
1397
1401
|
if (!self.esbuildService)
|
|
1398
|
-
self.esbuildService = new EsbuildService(
|
|
1402
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
1399
1403
|
const previewBasePath = self.viteBasePath;
|
|
1400
1404
|
const viteDefine = viteConfig.define;
|
|
1401
1405
|
// Vite dev servers are represented as long-running process-table
|
|
@@ -1563,7 +1567,7 @@ export async function initSession(self, ws) {
|
|
|
1563
1567
|
// Lazy-init esbuild
|
|
1564
1568
|
if (!self.esbuildService) {
|
|
1565
1569
|
self.ensureSqliteFs();
|
|
1566
|
-
self.esbuildService = new EsbuildService(
|
|
1570
|
+
self.esbuildService = new EsbuildService(kernelFs);
|
|
1567
1571
|
}
|
|
1568
1572
|
// Parse --root flag; default to the shell cwd so `npm run dev` from
|
|
1569
1573
|
// a project directory picks up that project's wrangler.jsonc.
|
|
@@ -1666,7 +1670,7 @@ export async function initSession(self, ws) {
|
|
|
1666
1670
|
kernelFs.writeFile(pkgJsonPath, '{"name":"project","version":"1.0.0","dependencies":{}}\n');
|
|
1667
1671
|
}
|
|
1668
1672
|
ctx.stdout.write('\x1b[36mNimbus npm v2 (batched writes)\x1b[0m\n');
|
|
1669
|
-
self.ensureNpmInstaller((msg) => {
|
|
1673
|
+
await self.ensureNpmInstaller((msg) => {
|
|
1670
1674
|
ctx.stdout.write('[npm] ' + msg + '\n');
|
|
1671
1675
|
});
|
|
1672
1676
|
const result = await self.npmInstaller.install(cwd, { packages, pid: ctx.pid });
|
|
@@ -2164,7 +2168,7 @@ export async function initSession(self, ws) {
|
|
|
2164
2168
|
? `${explicitPkgs.length} packages`
|
|
2165
2169
|
: 'dependencies from package.json';
|
|
2166
2170
|
ctx.stdout.write(`\x1b[36mInstalling ${pkgLabel} (npm v2 — batched writes)...\x1b[0m\n`);
|
|
2167
|
-
self.ensureNpmInstaller((msg) => {
|
|
2171
|
+
await self.ensureNpmInstaller((msg) => {
|
|
2168
2172
|
ctx.stdout.write('[npm] ' + msg + '\n');
|
|
2169
2173
|
});
|
|
2170
2174
|
// `--loglevel` selects npm's own log protocol on stderr, where npm
|
|
@@ -2333,7 +2337,7 @@ export async function initSession(self, ws) {
|
|
|
2333
2337
|
}
|
|
2334
2338
|
// Nimbus-native npx install + run path. Routes package installation
|
|
2335
2339
|
// through NpmInstaller's full-packument resolver.
|
|
2336
|
-
self.ensureNpmInstaller((msg) => ctx.stdout.write('[npm] ' + msg + '\n'));
|
|
2340
|
+
await self.ensureNpmInstaller((msg) => ctx.stdout.write('[npm] ' + msg + '\n'));
|
|
2337
2341
|
self.ensureSqliteFs();
|
|
2338
2342
|
const installer = self.npmInstaller;
|
|
2339
2343
|
const resolveResult = await resolveNpxBinary(installer, self.sqliteFs.as(requireVfsCred('cred' in ctx ? ctx.cred : undefined, 'npx')), ctx.cwd || '/home/user', npxArgs, (msg) => ctx.stdout.write(msg + '\n'), ctx.pid);
|
package/dist/session/keys.d.ts
CHANGED
|
@@ -51,6 +51,14 @@ export declare const ATTACH_BOOTSTRAP_JTI_KEY_PREFIX = "attach-bootstrap-jti:";
|
|
|
51
51
|
* these rows.
|
|
52
52
|
*/
|
|
53
53
|
export declare const PORT_CAPABILITY_KEY_PREFIX = "nimbus_preview_capability:";
|
|
54
|
+
/**
|
|
55
|
+
* Prefix for a durable application's facet-slot row, keyed by owner.
|
|
56
|
+
* `durable-slot:next` and `durable-slot:free` under the same prefix are the
|
|
57
|
+
* allocator's counter and free list; `durable-slot:<owner>` pins the owner to
|
|
58
|
+
* its `app-slot-<n>` facet name for the application's whole life. Owned by
|
|
59
|
+
* `facets/durable-slots.ts`, the only module that reads or writes these rows.
|
|
60
|
+
*/
|
|
61
|
+
export declare const DURABLE_SLOT_KEY_PREFIX = "durable-slot:";
|
|
54
62
|
/**
|
|
55
63
|
* Prefix for a named programmatic shell's durable cwd+env, keyed by shell id.
|
|
56
64
|
* One row per id the embedder has actually used; bounded by the embedder's own
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/session/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH;2EAC2E;AAC3E,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC;;yDAEyD;AACzD,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD;0DAC0D;AAC1D,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AAEzD;;uBAEuB;AACvB,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AAEzD;;;4EAG4E;AAC5E,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AAEvE;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,+BAA+B,CAAC"}
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/session/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAOH;2EAC2E;AAC3E,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAExC;;yDAEyD;AACzD,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD;0DAC0D;AAC1D,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AAEzD;;uBAEuB;AACvB,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AAEzD;;;4EAG4E;AAC5E,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,+BAA+B,CAAC;AAEvE;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,+BAA+B,CAAC"}
|
package/dist/session/keys.js
CHANGED
|
@@ -55,6 +55,14 @@ export const ATTACH_BOOTSTRAP_JTI_KEY_PREFIX = 'attach-bootstrap-jti:';
|
|
|
55
55
|
* these rows.
|
|
56
56
|
*/
|
|
57
57
|
export const PORT_CAPABILITY_KEY_PREFIX = 'nimbus_preview_capability:';
|
|
58
|
+
/**
|
|
59
|
+
* Prefix for a durable application's facet-slot row, keyed by owner.
|
|
60
|
+
* `durable-slot:next` and `durable-slot:free` under the same prefix are the
|
|
61
|
+
* allocator's counter and free list; `durable-slot:<owner>` pins the owner to
|
|
62
|
+
* its `app-slot-<n>` facet name for the application's whole life. Owned by
|
|
63
|
+
* `facets/durable-slots.ts`, the only module that reads or writes these rows.
|
|
64
|
+
*/
|
|
65
|
+
export const DURABLE_SLOT_KEY_PREFIX = 'durable-slot:';
|
|
58
66
|
/**
|
|
59
67
|
* Prefix for a named programmatic shell's durable cwd+env, keyed by shell id.
|
|
60
68
|
* One row per id the embedder has actually used; bounded by the embedder's own
|
|
@@ -15,13 +15,14 @@ import { SqliteRuntimeFsBridge } from '@nimbus-sh/core/runtime/sqlite-runtime-fs
|
|
|
15
15
|
import { type VfsAcquireResult, type VfsListPage } from '@nimbus-sh/core/runtime/os-contracts.js';
|
|
16
16
|
import type { WsHibernationConfigResult } from './hibernation.js';
|
|
17
17
|
import { PortRegistry } from '@nimbus-sh/core/runtime/port-registry.js';
|
|
18
|
-
import { EsbuildService } from '@nimbus-sh/core/runtime/esbuild-service.js';
|
|
19
18
|
import { ViteDevServer } from '../facets/vite-dev-server.js';
|
|
20
19
|
import { CirrusReal } from '../facets/cirrus-real.js';
|
|
20
|
+
import { EsbuildService } from '@nimbus-sh/core/runtime/esbuild-service.js';
|
|
21
21
|
import { NimbusWrangler } from '../wrangler/nimbus-wrangler.js';
|
|
22
|
-
import { NpmInstaller } from '../npm/installer.js';
|
|
22
|
+
import type { NpmInstaller } from '../npm/installer.js';
|
|
23
23
|
import { type TryEnableReplicasResult as _W12EnableResult } from '../replica/routing.js';
|
|
24
24
|
import * as _rpc from './rpc.js';
|
|
25
|
+
import type { SupervisorOpEnvelope } from '@nimbus-sh/core/workspace/supervisor-op.js';
|
|
25
26
|
import type { HostedHttpRequest, HostedHttpResponse } from '@nimbus-sh/fabric/process-host.js';
|
|
26
27
|
import { WebSocketRelay } from './ws-relay.js';
|
|
27
28
|
import * as _programmatic from './programmatic.js';
|
|
@@ -249,6 +250,7 @@ export declare class NimbusSession extends CloudflareDurableObject {
|
|
|
249
250
|
* get/put, so two concurrent exchanges cannot both observe "absent".
|
|
250
251
|
*/
|
|
251
252
|
_rpcConsumeAttachBootstrap(jti: string): Promise<boolean>;
|
|
253
|
+
supervisorOp(envelope: SupervisorOpEnvelope): Promise<unknown>;
|
|
252
254
|
_rpcReadFile(path: string, pid?: number): Promise<string | null>;
|
|
253
255
|
_rpcReadFileBytes(path: string, pid?: number): Promise<Uint8Array | null>;
|
|
254
256
|
_rpcInnerDoFetch(req: any): Promise<any>;
|
|
@@ -437,12 +439,29 @@ export declare class NimbusSession extends CloudflareDurableObject {
|
|
|
437
439
|
exit: import("@nimbus-sh/core/runtime/process-logs.js").ProcessExitInfo | null;
|
|
438
440
|
}>;
|
|
439
441
|
_rpcListPorts(): Promise<_programmatic.SerializedPort[]>;
|
|
440
|
-
_rpcExposePort(port: number
|
|
442
|
+
_rpcExposePort(port: number, options?: {
|
|
443
|
+
visibility?: 'scoped' | 'public';
|
|
444
|
+
}): Promise<{
|
|
441
445
|
port: number;
|
|
442
446
|
listening: boolean;
|
|
443
447
|
pid: number | null;
|
|
444
448
|
registeredAt: number | null;
|
|
445
449
|
capability: string | null;
|
|
450
|
+
visibility: "scoped" | "public";
|
|
451
|
+
}>;
|
|
452
|
+
_rpcEnsureDurableApp(input: {
|
|
453
|
+
owner: string;
|
|
454
|
+
preferredPort?: number;
|
|
455
|
+
visibility?: 'scoped' | 'public';
|
|
456
|
+
}): Promise<{
|
|
457
|
+
port: number;
|
|
458
|
+
capability: string | null;
|
|
459
|
+
visibility: "scoped" | "public";
|
|
460
|
+
}>;
|
|
461
|
+
_rpcRemoveDurableApp(owner: string): Promise<{
|
|
462
|
+
owner: string;
|
|
463
|
+
removed: boolean;
|
|
464
|
+
port: number | null;
|
|
446
465
|
}>;
|
|
447
466
|
_rpcUnexposePort(port: number): Promise<{
|
|
448
467
|
port: number;
|
|
@@ -450,6 +469,12 @@ export declare class NimbusSession extends CloudflareDurableObject {
|
|
|
450
469
|
}>;
|
|
451
470
|
/** Capability-authenticated port route, for an embedder holding the token. */
|
|
452
471
|
_rpcRouteCapabilityPort(port: number, capability: string, request: Request, innerPath: string): Promise<Response>;
|
|
472
|
+
/**
|
|
473
|
+
* The port route's recovery seam: a durable application journalled but
|
|
474
|
+
* dead is re-driven on demand rather than left for the alarm pump. The
|
|
475
|
+
* manager decides 'started' | 'absent' | 'failed'; the route maps them.
|
|
476
|
+
*/
|
|
477
|
+
ensureDurableAppOnPort(port: number): Promise<'started' | 'absent' | 'failed'>;
|
|
453
478
|
_rpcDeleteFile(path: string, options?: {
|
|
454
479
|
recursive?: boolean;
|
|
455
480
|
}): Promise<void>;
|
|
@@ -546,7 +571,7 @@ export declare class NimbusSession extends CloudflareDurableObject {
|
|
|
546
571
|
* All concurrent fetches share ONE worker — no port exhaustion.
|
|
547
572
|
*/
|
|
548
573
|
buildFetchFn(log?: (msg: string) => void): ((url: string, init?: RequestInit) => Promise<Response>) | undefined;
|
|
549
|
-
ensureNpmInstaller(onProgress?: (msg: string) => void): void
|
|
574
|
+
ensureNpmInstaller(onProgress?: (msg: string) => void): Promise<void>;
|
|
550
575
|
/**
|
|
551
576
|
* Read an environment flag with default-on semantics. Mirrors the
|
|
552
577
|
* shouldUseFacetPool / shouldUseFacetResolver / shouldUseBatchFacet
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nimbus-session.d.ts","sourceRoot":"","sources":["../../src/session/nimbus-session.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,MAAM,EACN,KAAK,EACN,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,aAAa,IAAI,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,KAAK,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAE5F,OAAO,EAGL,KAAK,gBAAgB,EAErB,KAAK,WAAW,EACjB,MAAM,yCAAyC,CAAC;AAIjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM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IAI/D,gFAAgF;IAChF,eAAe,IAAI,IAAI;IAIvB,0FAA0F;IAC1F,kBAAkB,IAAI,IAAI;CAG3B;AAKD,OAAO,EACL,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,4BAA4B,EAC5B,YAAY,GACb,MAAM,+BAA+B,CAAC"}
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
* `node` execution is delegated to dynamic workers via LOADER.load().
|
|
6
6
|
* IPC between facets and the supervisor flows through SupervisorRPC.
|
|
7
7
|
*/
|
|
8
|
+
import { staticStdinReader } from '@nimbus-sh/core/shell/stdin-adapter.js';
|
|
8
9
|
import { DurableObject as CloudflareDurableObject } from 'cloudflare:workers';
|
|
9
10
|
import { SqliteVFS } from '@nimbus-sh/core/vfs/sqlite-vfs.js';
|
|
10
11
|
import { FacetManager } from '../facets/manager.js';
|
|
12
|
+
import { resolveDurableWorkerImage } from '../facets/durable-images.js';
|
|
11
13
|
import { FacetProcessManager } from '../facets/process.js';
|
|
12
14
|
import { ChildProcessSpawnPool } from '../loaders/child-process/spawn-pool.js';
|
|
13
15
|
import { SessionProcessSupervisor } from '@nimbus-sh/core/runtime/session-process-supervisor.js';
|
|
@@ -15,8 +17,9 @@ import { PID_GEN_STRIDE } from '@nimbus-sh/core/runtime/process-table.js';
|
|
|
15
17
|
import { CRED_KERNEL, CRED_SESSION_USER, } from '@nimbus-sh/core/runtime/os-contracts.js';
|
|
16
18
|
import { PortRegistry } from '@nimbus-sh/core/runtime/port-registry.js';
|
|
17
19
|
import { EsbuildService } from '@nimbus-sh/core/runtime/esbuild-service.js';
|
|
20
|
+
import { ESBUILD_TRANSFORM_WORKER_ID, esbuildTransformWorkerCode, } from '../facets/esbuild-transform.js';
|
|
21
|
+
import { fetchEsbuildWasmBytes } from '../runtime/esbuild-wasm-bytes.js';
|
|
18
22
|
import { registerAllocObserver } from '@nimbus-sh/platform/heavy-alloc-coord.js';
|
|
19
|
-
import { NpmInstaller } from '../npm/installer.js';
|
|
20
23
|
// S10: oom-discriminator helpers (recordFailure, getFailures,
|
|
21
24
|
// getLastRpcFrame, getLastFacetId, snapshotForStorage, rehydrateFromStorage)
|
|
22
25
|
// moved to sibling modules (-rpc uses recordFailure for _reportExternalExit;
|
|
@@ -53,6 +56,7 @@ import { initSession as _w11InitSession } from './init.js';
|
|
|
53
56
|
import { wsMessage as _wsDoMessage, wsClose as _wsDoClose, wsError as _wsDoError, safePersistRing as _wsDoSafePersistRing, } from './ws.js';
|
|
54
57
|
// S8: Supervisor RPC + W8 cp* + legacy VFS impls extracted.
|
|
55
58
|
import * as _rpc from './rpc.js';
|
|
59
|
+
import { sessionSupervisorOp } from './supervisor-op.js';
|
|
56
60
|
import { processHostFor } from '../loaders/process-host.js';
|
|
57
61
|
// The supervisor terminates a facet's outbound sockets so inbound frames
|
|
58
62
|
// arrive as supervisor replies (VFS coherence witness 3).
|
|
@@ -602,6 +606,9 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
602
606
|
// 1-line delegators that pass `this as any` (per plan §IX rec 1 +
|
|
603
607
|
// DEFECT-D1: ctx is protected and not on a public interface).
|
|
604
608
|
// Supervisor RPC (file/log/HMR/batch)
|
|
609
|
+
supervisorOp(envelope) {
|
|
610
|
+
return sessionSupervisorOp(this, envelope);
|
|
611
|
+
}
|
|
605
612
|
async _rpcReadFile(path, pid) { return _rpc._rpcReadFile(this, path, pid); }
|
|
606
613
|
async _rpcReadFileBytes(path, pid) { return _rpc._rpcReadFileBytes(this, path, pid); }
|
|
607
614
|
async _rpcInnerDoFetch(req) { return _rpc._rpcInnerDoFetch(this, req); }
|
|
@@ -764,12 +771,29 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
764
771
|
async _rpcSignalProcess(pid, signal) { return _programmatic.rpcSignalProcess(this, pid, signal); }
|
|
765
772
|
async _rpcProcessLogs(pid, options) { return _programmatic.rpcProcessLogs(this, pid, options); }
|
|
766
773
|
async _rpcListPorts() { return _programmatic.rpcListPorts(this); }
|
|
767
|
-
async _rpcExposePort(port
|
|
774
|
+
async _rpcExposePort(port, options) {
|
|
775
|
+
return _programmatic.rpcExposePort(this, port, options);
|
|
776
|
+
}
|
|
777
|
+
async _rpcEnsureDurableApp(input) {
|
|
778
|
+
return _programmatic.rpcEnsureDurableApp(this, input);
|
|
779
|
+
}
|
|
780
|
+
async _rpcRemoveDurableApp(owner) {
|
|
781
|
+
return _programmatic.rpcRemoveDurableApp(this, owner);
|
|
782
|
+
}
|
|
768
783
|
async _rpcUnexposePort(port) { return _programmatic.rpcUnexposePort(this, port); }
|
|
769
784
|
/** Capability-authenticated port route, for an embedder holding the token. */
|
|
770
785
|
async _rpcRouteCapabilityPort(port, capability, request, innerPath) {
|
|
771
786
|
return _routes.routeCapabilityPort(this, port, capability, request, innerPath);
|
|
772
787
|
}
|
|
788
|
+
/**
|
|
789
|
+
* The port route's recovery seam: a durable application journalled but
|
|
790
|
+
* dead is re-driven on demand rather than left for the alarm pump. The
|
|
791
|
+
* manager decides 'started' | 'absent' | 'failed'; the route maps them.
|
|
792
|
+
*/
|
|
793
|
+
async ensureDurableAppOnPort(port) {
|
|
794
|
+
this.ensureFacetManager();
|
|
795
|
+
return this.facetManager.ensureDurableAppOnPort(port);
|
|
796
|
+
}
|
|
773
797
|
async _rpcDeleteFile(path, options) { return _programmatic.rpcDeleteFile(this, path, options); }
|
|
774
798
|
async _rpcDestroy(options) { return _programmatic.rpcDestroy(this, options); }
|
|
775
799
|
// Legacy VFS (direct method calls)
|
|
@@ -888,6 +912,20 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
888
912
|
onExternalExit: (pid, code, reason) => this._reportExternalExit(pid, code, reason),
|
|
889
913
|
requestLaunchTurn: () => { void this._scheduleLaunchTurn(); },
|
|
890
914
|
notify: (line) => this._notifySession(line),
|
|
915
|
+
transformLargeEsm: async (code, options) => {
|
|
916
|
+
const loader = Reflect.get(this.env, 'LOADER');
|
|
917
|
+
if (!loader || typeof loader.get !== 'function') {
|
|
918
|
+
throw new Error('Nimbus: env.LOADER unavailable for isolated esbuild transform');
|
|
919
|
+
}
|
|
920
|
+
const assets = Reflect.get(this.env, 'ASSETS');
|
|
921
|
+
if (!assets || typeof assets.fetch !== 'function') {
|
|
922
|
+
throw new Error('Nimbus: env.ASSETS unavailable for isolated esbuild transform');
|
|
923
|
+
}
|
|
924
|
+
const worker = await loader.get(ESBUILD_TRANSFORM_WORKER_ID, async () => esbuildTransformWorkerCode(await fetchEsbuildWasmBytes({ ASSETS: assets })));
|
|
925
|
+
const transformClass = worker.getDurableObjectClass('EsbuildTransformFacet');
|
|
926
|
+
const facet = this.ctx.facets.get(`esbuild-transform-${ESBUILD_TRANSFORM_WORKER_ID}`, async () => ({ class: transformClass }));
|
|
927
|
+
return facet.transform(code, options);
|
|
928
|
+
},
|
|
891
929
|
onSpawn: (pid, command, longRunning) => {
|
|
892
930
|
const attachedTty = this.processes.get(pid)?.attachedTty === true;
|
|
893
931
|
if (longRunning) {
|
|
@@ -909,6 +947,18 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
909
947
|
type: 'spawn', pid, command, longRunning, attachedTty,
|
|
910
948
|
});
|
|
911
949
|
},
|
|
950
|
+
// The fallback resolver a self-owned durable spawn re-drives
|
|
951
|
+
// through: read the image blobs the spawn persisted under
|
|
952
|
+
// `.nimbus/images/<sha256>` and restore the launch's env and
|
|
953
|
+
// modules from them. An embedder-owned launch answers its own
|
|
954
|
+
// bookkeeping through resolveWorkerLaunch instead — this hook is
|
|
955
|
+
// only the fallback for applications nobody else is keeping, and
|
|
956
|
+
// because it cannot re-mint a live globalOutbound binding the
|
|
957
|
+
// spawn path refuses such a launch under it.
|
|
958
|
+
resolveWorkerLaunchFallback: async (recipe) => {
|
|
959
|
+
this.ensureSqliteFs();
|
|
960
|
+
return resolveDurableWorkerImage(this.sqliteFs, recipe);
|
|
961
|
+
},
|
|
912
962
|
});
|
|
913
963
|
}
|
|
914
964
|
if (this.facetManager && this.sqliteFs) {
|
|
@@ -999,10 +1049,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
999
1049
|
stderr: stderrStream,
|
|
1000
1050
|
signal: ac.signal,
|
|
1001
1051
|
// For commands that need stdin we pass a tiny adapter.
|
|
1002
|
-
stdin:
|
|
1003
|
-
read: async () => null,
|
|
1004
|
-
readAll: async () => payload.stdin || '',
|
|
1005
|
-
},
|
|
1052
|
+
stdin: staticStdinReader(payload.stdin || ''),
|
|
1006
1053
|
setUmask: (mask) => { this.processes.setUmask(payload.processPid, mask); },
|
|
1007
1054
|
runAs: async (targetCred, argv) => {
|
|
1008
1055
|
if (argv.length === 0)
|
|
@@ -1080,7 +1127,7 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1080
1127
|
stdout: { write: (d) => hooks.onStdout(String(d)) },
|
|
1081
1128
|
stderr: { write: (d) => hooks.onStderr(String(d)) },
|
|
1082
1129
|
signal: ac.signal,
|
|
1083
|
-
stdin:
|
|
1130
|
+
stdin: staticStdinReader(stdin),
|
|
1084
1131
|
setUmask: (mask) => { this.processes.setUmask(pid, mask); },
|
|
1085
1132
|
runAs: async (targetCred, argv) => {
|
|
1086
1133
|
if (argv.length === 0)
|
|
@@ -1277,11 +1324,17 @@ export class NimbusSession extends CloudflareDurableObject {
|
|
|
1277
1324
|
}));
|
|
1278
1325
|
};
|
|
1279
1326
|
}
|
|
1280
|
-
ensureNpmInstaller(onProgress) {
|
|
1327
|
+
async ensureNpmInstaller(onProgress) {
|
|
1281
1328
|
this.ensureSqliteFs();
|
|
1282
1329
|
if (!this.esbuildService) {
|
|
1283
|
-
|
|
1330
|
+
if (!this.sqliteFs)
|
|
1331
|
+
throw new Error('Session VFS is not initialized');
|
|
1332
|
+
this.esbuildService = new EsbuildService(this.sqliteFs.as(CRED_KERNEL));
|
|
1284
1333
|
}
|
|
1334
|
+
// Lazy-load the installer (+ its ~216 KB resolver/facet/loader-pool
|
|
1335
|
+
// subgraph) on first npm use so it stays out of the cold script-eval
|
|
1336
|
+
// graph. The install command paths that call this are already async.
|
|
1337
|
+
const { NpmInstaller } = await import('../npm/installer.js');
|
|
1285
1338
|
// ── Lazy fetch-proxy ────────────────────────────────────────────
|
|
1286
1339
|
// The fetch-proxy is a singleton dynamic worker (LOADER.load) that
|
|
1287
1340
|
// buffers registry responses to dodge wrangler-local-dev port
|
|
@@ -11,33 +11,120 @@
|
|
|
11
11
|
* back. Everything else is the security half of the same rule: a capability
|
|
12
12
|
* names ONE registration, so any other registration on that port retires the
|
|
13
13
|
* durable copy. Only a deliberate restore extends a capability's life, which
|
|
14
|
-
* is why `clearPortCapability` sits next to every `portRegistry.register
|
|
14
|
+
* is why `clearPortCapability` sits next to every `portRegistry.register`,
|
|
15
15
|
* `restorePortCapability` sits only at the two places a dev server is
|
|
16
|
-
* deliberately brought back
|
|
16
|
+
* deliberately brought back, and `restoreReservedPortCapability` sits only
|
|
17
|
+
* on the durable spawn's re-adopt path, gated on the stored reservation's
|
|
18
|
+
* owner.
|
|
19
|
+
*
|
|
20
|
+
* The same per-port record also carries a RESERVATION: an owner may hold a
|
|
21
|
+
* port with no capability yet, so a durable application keeps its port across
|
|
22
|
+
* instances whether or not it is currently exposed. Clearing a capability
|
|
23
|
+
* keeps the owner's reservation; only `releasePortReservation` ends it.
|
|
17
24
|
*/
|
|
25
|
+
import { z } from 'zod/v4';
|
|
18
26
|
import type { PortRegistry } from '@nimbus-sh/core/runtime/port-registry.js';
|
|
19
27
|
/** The minimum a caller needs to own a port capability. */
|
|
20
28
|
export interface PortCapabilityHost {
|
|
21
29
|
ctx: {
|
|
22
|
-
storage:
|
|
23
|
-
get(key: string): Promise<unknown>;
|
|
24
|
-
put(key: string, value: unknown): Promise<void>;
|
|
25
|
-
delete(key: string): Promise<unknown>;
|
|
26
|
-
};
|
|
30
|
+
storage: PortReservationStorage;
|
|
27
31
|
};
|
|
28
32
|
portRegistry: PortRegistry;
|
|
29
33
|
}
|
|
34
|
+
/** The transactional view a claim or release runs against: every read and write inside one serializable unit. */
|
|
35
|
+
export interface PortReservationTransaction {
|
|
36
|
+
get(key: string): Promise<unknown>;
|
|
37
|
+
put(key: string, value: unknown): Promise<void>;
|
|
38
|
+
delete(key: string): Promise<unknown>;
|
|
39
|
+
list<T = unknown>(options: {
|
|
40
|
+
prefix: string;
|
|
41
|
+
}): Promise<Map<string, T>>;
|
|
42
|
+
}
|
|
43
|
+
/** The storage slice a reservation needs: a prefix scan, and a required atomic transaction. */
|
|
44
|
+
export interface PortReservationStorage extends PortReservationTransaction {
|
|
45
|
+
transaction<T>(body: (txn: PortReservationTransaction) => Promise<T>): Promise<T>;
|
|
46
|
+
}
|
|
47
|
+
export interface PortReservationHost {
|
|
48
|
+
ctx: {
|
|
49
|
+
storage: PortReservationStorage;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
/** 'scoped' is the default: capability-checked but never the public bearer. */
|
|
53
|
+
declare const PortVisibilitySchema: z.ZodEnum<{
|
|
54
|
+
scoped: "scoped";
|
|
55
|
+
public: "public";
|
|
56
|
+
}>;
|
|
57
|
+
export type PortVisibility = z.infer<typeof PortVisibilitySchema>;
|
|
58
|
+
export declare const PortRecordSchema: z.ZodObject<{
|
|
59
|
+
capability: z.ZodNullable<z.ZodString>;
|
|
60
|
+
owner: z.ZodNullable<z.ZodString>;
|
|
61
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
62
|
+
scoped: "scoped";
|
|
63
|
+
public: "public";
|
|
64
|
+
}>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export interface PortExposure {
|
|
67
|
+
readonly capability: string;
|
|
68
|
+
readonly owner: string | null;
|
|
69
|
+
readonly visibility: PortVisibility;
|
|
70
|
+
}
|
|
71
|
+
/** The per-port record as stored: a bare reservation has no capability yet. */
|
|
72
|
+
export interface PortReservation {
|
|
73
|
+
readonly owner: string | null;
|
|
74
|
+
readonly capability: string | null;
|
|
75
|
+
readonly visibility: PortVisibility;
|
|
76
|
+
}
|
|
77
|
+
export declare function portRecordKey(port: number): string;
|
|
78
|
+
/** Read the raw per-port record: a reservation, an exposure, or nothing. */
|
|
79
|
+
export declare function readPortReservation(ctx: {
|
|
80
|
+
storage: PortReservationTransaction;
|
|
81
|
+
}, port: number): Promise<PortReservation | null>;
|
|
82
|
+
/** Read retained exposure metadata without starting a session or restoring a listener. */
|
|
83
|
+
export declare function readPortExposure(ctx: PortCapabilityHost['ctx'], port: number): Promise<PortExposure | null>;
|
|
84
|
+
/**
|
|
85
|
+
* Hold a port for `owner` across instances. The owner's existing port is
|
|
86
|
+
* answered again; otherwise the preferred port is claimed, or the lowest
|
|
87
|
+
* free one. A preferred port that another record or a live listener holds
|
|
88
|
+
* is refused, never silently moved.
|
|
89
|
+
*
|
|
90
|
+
* `capability`/`visibility` give the embedder-durable path its URL material
|
|
91
|
+
* up front: a reservation can carry the capability the application will
|
|
92
|
+
* re-adopt when it binds, and the visibility the public bearer form is
|
|
93
|
+
* gated on. An existing reservation for the same owner is answered again,
|
|
94
|
+
* upgraded in place when the caller supplies values it lacks — an existing
|
|
95
|
+
* capability is never rotated, a URL already handed out stays good.
|
|
96
|
+
*/
|
|
97
|
+
export declare function reservePort(ctx: PortReservationHost['ctx'], input: {
|
|
98
|
+
owner: string;
|
|
99
|
+
preferredPort?: number;
|
|
100
|
+
occupiedPorts: ReadonlySet<number>;
|
|
101
|
+
capability?: string;
|
|
102
|
+
visibility?: PortVisibility;
|
|
103
|
+
}): Promise<number>;
|
|
104
|
+
/** End an owner's hold on a port. Another owner's record is left alone and refused. */
|
|
105
|
+
export declare function releasePortReservation(ctx: PortReservationHost['ctx'], input: {
|
|
106
|
+
owner: string;
|
|
107
|
+
port: number;
|
|
108
|
+
}): Promise<boolean>;
|
|
30
109
|
export declare function readPortCapability(self: PortCapabilityHost, port: number): Promise<string | null>;
|
|
31
110
|
/**
|
|
32
111
|
* Re-adopt the persisted capability into whatever the registry holds now.
|
|
33
112
|
* Answers the adopted value, or null when there was nothing to adopt.
|
|
34
113
|
*/
|
|
35
114
|
export declare function restorePortCapability(self: PortCapabilityHost, port: number): Promise<string | null>;
|
|
115
|
+
/**
|
|
116
|
+
* Re-adopt the persisted capability ONLY for the owner the stored record
|
|
117
|
+
* names. The durable re-drive calls this with its own owner: the reservation
|
|
118
|
+
* is the same source of truth the preflight reads, so a release or a foreign
|
|
119
|
+
* claim mid-boot cannot smuggle an exposure across.
|
|
120
|
+
*/
|
|
121
|
+
export declare function restoreReservedPortCapability(self: PortCapabilityHost, port: number, owner: string): Promise<string | null>;
|
|
36
122
|
export declare function persistPortCapability(self: PortCapabilityHost, port: number, capability: string): Promise<void>;
|
|
37
123
|
/**
|
|
38
124
|
* Retire the durable capability for a port. Called before every registration
|
|
39
125
|
* that is not a restore, so a token handed out for the previous occupant of a
|
|
40
|
-
* port cannot reach the next one.
|
|
126
|
+
* port cannot reach the next one. An owner's reservation survives it.
|
|
41
127
|
*/
|
|
42
128
|
export declare function clearPortCapability(self: PortCapabilityHost, port: number): Promise<void>;
|
|
129
|
+
export {};
|
|
43
130
|
//# sourceMappingURL=port-capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"port-capability.d.ts","sourceRoot":"","sources":["../../src/session/port-capability.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"port-capability.d.ts","sourceRoot":"","sources":["../../src/session/port-capability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAG7E,2DAA2D;AAC3D,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE;QACH,OAAO,EAAE,sBAAsB,CAAC;KACjC,CAAC;IACF,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED,iHAAiH;AACjH,MAAM,WAAW,0BAA0B;IACzC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAA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