@sanqianx/project-knowledge 5.0.29 → 5.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/CHANGELOG.md +21 -0
  3. package/_site/_test/appearance-settings-test.js +148 -0
  4. package/_site/_test/helpers/parallel-capture-safety-r5-cap-shell.js +606 -0
  5. package/_site/_test/helpers/parallel-capture-safety-r5-memory-shell.js +464 -0
  6. package/_site/_test/helpers/parallel-dock-acceptance-env.js +301 -0
  7. package/_site/_test/helpers/parallel-dock-acceptance-r2-env.js +378 -0
  8. package/_site/_test/helpers/parallel-dock-acceptance-r2-ui.js +314 -0
  9. package/_site/_test/helpers/parallel-dock-acceptance-ui.js +195 -0
  10. package/_site/_test/helpers/parallel-dock-isolation-r3-credential-preload.js +113 -0
  11. package/_site/_test/helpers/parallel-dock-isolation-r3-env.js +307 -0
  12. package/_site/_test/helpers/parallel-dock-isolation-r3-fixture.js +373 -0
  13. package/_site/_test/helpers/parallel-dock-isolation-r3-ui.js +314 -0
  14. package/_site/_test/helpers/parallel-engine-reconcile-r4-harness.js +340 -0
  15. package/_site/_test/helpers/parallel-engine-reconcile-r4-standin-analyzer.js +82 -0
  16. package/_site/_test/helpers/parallel-memory-capture-r3-cap-shell.js +605 -0
  17. package/_site/_test/helpers/parallel-memory-capture-r3-shell.js +176 -0
  18. package/_site/_test/helpers/parallel-memory-capture-r4-cap-shell.js +577 -0
  19. package/_site/_test/helpers/parallel-memory-injection-shell.js +723 -0
  20. package/_site/_test/helpers/parallel-memory-injection-wb-host.js +81 -0
  21. package/_site/_test/helpers/parallel-workbench-drafts-r5-fixture.js +295 -0
  22. package/_site/_test/helpers/parallel-workbench-drafts-r5-harness.js +573 -0
  23. package/_site/_test/helpers/parallel-workbench-drafts-r5-host.js +69 -0
  24. package/_site/_test/helpers/parallel-workbench-runtime-harness.js +587 -0
  25. package/_site/_test/helpers/qa-r45-harness.js +94 -0
  26. package/_site/_test/helpers/qa-r48-env.js +64 -0
  27. package/_site/_test/helpers/qa-r51-env.cjs +77 -0
  28. package/_site/_test/parallel-capture-safety-r5-cap006-probe.js +524 -0
  29. package/_site/_test/parallel-capture-safety-r5-cap008e-probe.js +577 -0
  30. package/_site/_test/parallel-capture-safety-r5-mem005-health-test.js +320 -0
  31. package/_site/_test/parallel-engine-reconcile-r4-eng007-probe.js +304 -0
  32. package/_site/_test/parallel-logging-acceptance-log003-probe.js +78 -0
  33. package/_site/_test/parallel-logging-acceptance-log004-probe.js +85 -0
  34. package/_site/_test/parallel-memory-capture-r3-cap001-probe.js +238 -0
  35. package/_site/_test/parallel-memory-capture-r3-cap006-probe.js +371 -0
  36. package/_site/_test/parallel-memory-capture-r3-cap008-probe.js +439 -0
  37. package/_site/_test/parallel-memory-capture-r3-mem005-persistence-test.js +271 -0
  38. package/_site/_test/parallel-memory-capture-r4-cap006-probe.js +519 -0
  39. package/_site/_test/parallel-memory-capture-r4-cap008e-probe.js +569 -0
  40. package/_site/_test/parallel-memory-capture-r4-mem005-health-test.js +314 -0
  41. package/_site/_test/parallel-memory-injection-origin-probe.js +412 -0
  42. package/_site/_test/parallel-memory-injection-probe.js +411 -0
  43. package/_site/_test/parallel-workbench-drafts-r4-probe.js +477 -0
  44. package/_site/_test/parallel-workbench-drafts-r5-chrome-env-bisect.js +89 -0
  45. package/_site/_test/parallel-workbench-drafts-r5-probe.js +593 -0
  46. package/_site/_test/parallel-workbench-runtime-minimax-probe.js +321 -0
  47. package/_site/_test/parallel-workbench-runtime-wb004-ordering.js +307 -0
  48. package/_site/_test/parallel-workbench-runtime-wb005-drafts.js +313 -0
  49. package/_site/_test/parallel-workbench-runtime-wb008-abort.js +321 -0
  50. package/_site/_test/qa-r45-offline-backfill-test.js +279 -0
  51. package/_site/_test/qa-r48-sys003-blank-secret-test.js +258 -0
  52. package/_site/_test/t07c-cln-001-002-007-coverage-test.js +135 -0
  53. package/_site/_test/t07d-git-rel-coverage-test.js +224 -0
  54. package/_site/_test/t07e-qta-coverage-test.js +195 -0
  55. package/_site/_test/t07f-mem-008-coverage-test.js +101 -0
  56. package/_site/lib/server-app.js +11 -2
  57. package/_site/lib/settings-store.js +43 -1
  58. package/module-runtime-manifest.json +16 -16
  59. package/package.json +2 -2
  60. package/plugins/project-knowledge/.claude-plugin/plugin.json +1 -1
  61. package/plugins/project-knowledge/.codex-plugin/plugin.json +1 -1
  62. package/plugins/project-knowledge/.mcp.json +1 -1
  63. package/ui/index.html +18 -1
  64. package/ui/product.css +6 -2
  65. package/ui/product.js +86 -1
@@ -0,0 +1,81 @@
1
+ 'use strict';
2
+ // Lane-owned child process that hosts the REAL claude-ai-workbench module
3
+ // (0.13.6, the copy the installed product ships) for the P-MEMORY-INJECTION-02
4
+ // lane. It speaks the module's real HTTP contract and is started by the lane
5
+ // probes.
6
+ //
7
+ // The shape of this child is a READ-ONLY SNAPSHOT of
8
+ // _site/_test/helpers/parallel-workbench-host.js (Workbench provenance lane);
9
+ // the source file is not modified and not imported, so this lane never
10
+ // depends on another lane's unfrozen file. The snapshot hash of the source is
11
+ // recorded in the lane report.
12
+ //
13
+ // Environment (all set by the parent):
14
+ // PK_WB_MODULE_ROOT the claude-ai-workbench package root to host
15
+ // PK_WB_HOST_PORT port to listen on (127.0.0.1)
16
+ // PK_WB_HOST_DATA_DIR isolated workbench data directory
17
+ // PK_WB_HOST_WORKSPACES JSON map of workspaceRef -> absolute directory
18
+ // PK_WB_ENGINE_URL the knowledge engine URL (a recording proxy)
19
+ // PK_WB_PROFILE_SOURCE none | real-readonly
20
+ // PK_WB_BRIDGE_URL optional event-bridge console URL (enables capture)
21
+ // PK_WB_BRIDGE_TOKEN optional event-bridge runtime token (memory only)
22
+ const path = require('node:path');
23
+ const fs = require('node:fs');
24
+
25
+ const moduleRoot = String(process.env.PK_WB_MODULE_ROOT || '').trim();
26
+ const port = Number(process.env.PK_WB_HOST_PORT || 0);
27
+ const dataDir = String(process.env.PK_WB_HOST_DATA_DIR || '').trim();
28
+ const workspaces = JSON.parse(String(process.env.PK_WB_HOST_WORKSPACES || '{}'));
29
+ const engineUrl = String(process.env.PK_WB_ENGINE_URL || '').trim();
30
+ const profileSource = String(process.env.PK_WB_PROFILE_SOURCE || 'none');
31
+ const bridgeUrl = String(process.env.PK_WB_BRIDGE_URL || '').trim();
32
+ const bridgeToken = String(process.env.PK_WB_BRIDGE_TOKEN || '').trim();
33
+
34
+ if (!moduleRoot || !port || !dataDir || !Object.keys(workspaces).length) {
35
+ console.error('parallel-memory-injection-wb-host: PK_WB_MODULE_ROOT, PK_WB_HOST_PORT, PK_WB_HOST_DATA_DIR and PK_WB_HOST_WORKSPACES are required');
36
+ process.exit(2);
37
+ }
38
+
39
+ // Same contract as the module's own bin: the runtime resolves its data
40
+ // directory from these.
41
+ process.env.CLAUDE_AI_WORKBENCH_DATA_DIR = dataDir;
42
+ process.env.KB_DATA_DIR = dataDir;
43
+ if (engineUrl) process.env.KB_KNOWLEDGE_ENGINE_URL = engineUrl;
44
+
45
+ const { createWorkbenchServer } = require(path.join(moduleRoot, 'packages', 'server'));
46
+
47
+ function buildOptions() {
48
+ const options = { dataDir, workspaces };
49
+ if (profileSource === 'real-readonly') {
50
+ const shell = require('./parallel-memory-injection-shell');
51
+ options.profiles = shell.createReadOnlyProfileStore(moduleRoot, { dataDir });
52
+ }
53
+ if (bridgeUrl && bridgeToken) {
54
+ // The real Workbench capture: the module records the ORIGINAL user input
55
+ // (not the augmented prompt) and flushes it to the Bridge.
56
+ const { ConversationCapture } = require(path.join(moduleRoot, 'packages', 'server', 'lib', 'conversation-capture.js'));
57
+ options.conversationCapture = new ConversationCapture({
58
+ file: path.join(dataDir, 'capture-outbox.v1.json'),
59
+ bridgeUrl,
60
+ token: bridgeToken,
61
+ });
62
+ }
63
+ return options;
64
+ }
65
+
66
+ const app = createWorkbenchServer(buildOptions());
67
+ app.server.listen(port, '127.0.0.1', () => {
68
+ process.stdout.write(`WORKBENCH_HOST_READY http://127.0.0.1:${port} engine=${engineUrl || 'none'} capture=${bridgeUrl ? 'on' : 'off'}\n`);
69
+ });
70
+
71
+ let stopping = false;
72
+ async function shutdown() {
73
+ if (stopping) return;
74
+ stopping = true;
75
+ setTimeout(() => process.exit(1), 10000).unref();
76
+ try { await app.service.destroy(); } catch { process.exitCode = 1; }
77
+ app.server.closeAllConnections?.();
78
+ app.server.close(() => process.exit(process.exitCode || 0));
79
+ }
80
+ process.on('SIGINT', shutdown);
81
+ process.on('SIGTERM', shutdown);
@@ -0,0 +1,295 @@
1
+ 'use strict';
2
+ // P-WB-DRAFTS-R5 fixture — copied from the accepted helpers/parallel-workbench-fixture.js
3
+ // (frozen for WB003/4/8) with exactly the isolation corrections the R5 dispatch
4
+ // requires; the original stays untouched.
5
+ //
6
+ // R5 isolation contract (everything this lane's own children may see):
7
+ // * every directory is created below the shared temp root, never inside
8
+ // the repository;
9
+ // * the Workbench data directory, the knowledge data directory, the Bridge
10
+ // home, HOME/USERPROFILE, CLAUDE_CONFIG_DIR, CODEX_HOME, APPDATA,
11
+ // LOCALAPPDATA and TEMP are ALL isolated below the layout root — the
12
+ // R4 boundary gap (APPDATA/LOCALAPPDATA/CODEX_HOME inherited from the
13
+ // real machine) is closed;
14
+ // * the live product ports are refused;
15
+ // * the ambient module addresses and every ambient Anthropic credential
16
+ // variable are dropped.
17
+ //
18
+ // Profile contract (R5): the real profile source is GONE. There is no
19
+ // read-only facade, no PK_WB_REAL_PROFILE_DIR and no digest of the real
20
+ // credential files — the host seeds a purely fictional profile with a fake
21
+ // key through the product's own ProfileStore on the isolated data dir.
22
+ // realWorkbenchProfileDir() survives only as a pure path-string helper so
23
+ // guards can prove no isolated env value points at the real location; it
24
+ // performs no filesystem access of its own.
25
+ const fs = require('node:fs');
26
+ const os = require('node:os');
27
+ const path = require('node:path');
28
+ const net = require('node:net');
29
+
30
+ const REPO_ROOT = path.resolve(__dirname, '..', '..', '..');
31
+
32
+ // The developer's live surfaces. A test may never bind or talk to them.
33
+ const FORBIDDEN_PORTS = new Set([5757, 5760, 5789, 5790, 8787, 8790]);
34
+
35
+ // Ambient module addresses that would point a test at a live instance.
36
+ const AMBIENT_MODULE_URLS = [
37
+ 'KB_KNOWLEDGE_ENGINE_URL',
38
+ 'KB_VECTORHUB_URL',
39
+ 'KB_TERMINAL_URL',
40
+ 'KB_EVENTBRIDGE_URL',
41
+ 'KB_EVENT_BRIDGE_URL',
42
+ 'KB_WORKBENCH_RUNTIME_TOKEN',
43
+ 'KB_MODULES_AUTOSTART',
44
+ ];
45
+
46
+ // Ambient Anthropic credentials: a test must only ever use the credential it
47
+ // injects itself, never one that happens to sit in the shell.
48
+ const AMBIENT_MODEL_ENV = [
49
+ 'ANTHROPIC_API_KEY',
50
+ 'ANTHROPIC_AUTH_TOKEN',
51
+ 'ANTHROPIC_BASE_URL',
52
+ 'ANTHROPIC_MODEL',
53
+ 'ANTHROPIC_DEFAULT_THINKING_MODEL',
54
+ 'ANTHROPIC_DEFAULT_HAIKU_MODEL',
55
+ 'ANTHROPIC_DEFAULT_SONNET_MODEL',
56
+ 'ANTHROPIC_DEFAULT_OPUS_MODEL',
57
+ 'API_TIMEOUT_MS',
58
+ 'CLAUDE_CODE_OAUTH_TOKEN',
59
+ 'CLAUDE_CODE_USE_BEDROCK',
60
+ 'CLAUDE_CODE_USE_VERTEX',
61
+ 'CLAUDE_CODE_USE_FOUNDRY',
62
+ ];
63
+
64
+ // Captured before any isolation changes HOME.
65
+ const REAL_HOME = os.homedir();
66
+ const REAL_USERPROFILE = process.env.USERPROFILE || REAL_HOME;
67
+
68
+ // The absolute-path members of the isolation whitelist. KB_MODULES_AUTOSTART
69
+ // is a flag ('0'), HOMEDRIVE/HOMEPATH are drive-relative companions; none of
70
+ // them is a directory of its own.
71
+ const ISOLATION_PATH_KEYS = [
72
+ 'HOME',
73
+ 'USERPROFILE',
74
+ 'CODEX_HOME',
75
+ 'CLAUDE_CONFIG_DIR',
76
+ 'APPDATA',
77
+ 'LOCALAPPDATA',
78
+ 'TEMP',
79
+ 'TMP',
80
+ 'TMPDIR',
81
+ 'KB_DATA_DIR',
82
+ 'KB_KNOWLEDGE_DATA_DIR',
83
+ 'AI_CODING_EVENT_BRIDGE_HOME',
84
+ 'AGENT_TERMINAL_DATA_DIR',
85
+ 'CLAUDE_AI_WORKBENCH_DATA_DIR',
86
+ ];
87
+
88
+ function isInside(candidate, parent) {
89
+ const relative = path.relative(parent, candidate);
90
+ return relative === '' || (!relative.startsWith('..') && !path.isAbsolute(relative));
91
+ }
92
+
93
+ function resolveTempRoot() {
94
+ const sharedRoot = path.join(path.dirname(REPO_ROOT), '.project-knowledge-test-temp');
95
+ const candidates = [
96
+ process.env.PK_TEST_TEMP_ROOT,
97
+ fs.existsSync(sharedRoot) ? sharedRoot : null,
98
+ process.env.TEMP,
99
+ process.env.TMP,
100
+ process.env.TMPDIR,
101
+ ];
102
+ const chosen = candidates.find(value => value && String(value).trim());
103
+ const root = path.resolve(chosen ? String(chosen).trim() : os.tmpdir());
104
+ if (isInside(root, REPO_ROOT)) throw new Error(`refusing to use a temp root inside the repository: ${root}`);
105
+ return root;
106
+ }
107
+
108
+ function ensureTempRoot() {
109
+ const root = resolveTempRoot();
110
+ fs.mkdirSync(root, { recursive: true });
111
+ return root;
112
+ }
113
+
114
+ function makeTempDir(prefix = 'parallel-workbench') {
115
+ const root = ensureTempRoot();
116
+ const dir = fs.mkdtempSync(path.join(root, `${prefix}-`));
117
+ if (isInside(dir, REPO_ROOT)) throw new Error(`refusing to create a fixture inside the repository: ${dir}`);
118
+ return dir;
119
+ }
120
+
121
+ function removeTree(dir) {
122
+ if (!dir) return;
123
+ fs.rmSync(dir, { recursive: true, force: true, maxRetries: 5, retryDelay: 100 });
124
+ }
125
+
126
+ async function freePort() {
127
+ return new Promise((resolve, reject) => {
128
+ const server = net.createServer();
129
+ server.unref();
130
+ server.on('error', reject);
131
+ server.listen(0, '127.0.0.1', () => {
132
+ const { port } = server.address();
133
+ server.close(() => {
134
+ if (FORBIDDEN_PORTS.has(Number(port))) { reject(new Error(`refusing to use the live port ${port}`)); return; }
135
+ resolve(Number(port));
136
+ });
137
+ });
138
+ });
139
+ }
140
+
141
+ function assertAllowedEndpoint(url, what = 'endpoint') {
142
+ const parsed = new URL(String(url));
143
+ const port = parsed.port ? Number(parsed.port) : (parsed.protocol === 'https:' ? 443 : 80);
144
+ if (FORBIDDEN_PORTS.has(port)) throw new Error(`refusing to contact the live ${what} ${url}`);
145
+ return url;
146
+ }
147
+
148
+ async function waitForHttp(url, timeoutMs = 30000) {
149
+ assertAllowedEndpoint(url, 'service');
150
+ const until = Date.now() + timeoutMs;
151
+ let lastError = null;
152
+ while (Date.now() < until) {
153
+ try {
154
+ const response = await fetch(url, { signal: AbortSignal.timeout(2000) });
155
+ if (response.ok) return true;
156
+ lastError = new Error(`HTTP ${response.status}`);
157
+ } catch (error) { lastError = error; }
158
+ await new Promise(resolve => setTimeout(resolve, 100));
159
+ }
160
+ throw new Error(`Timed out waiting for ${url}: ${lastError && lastError.message}`);
161
+ }
162
+
163
+ function sanitizedEnv(extra = {}) {
164
+ const env = { ...process.env, ...extra };
165
+ for (const key of AMBIENT_MODULE_URLS) delete env[key];
166
+ for (const key of AMBIENT_MODEL_ENV) delete env[key];
167
+ return env;
168
+ }
169
+
170
+ function spawnNode(args, env = {}) {
171
+ const { spawn } = require('node:child_process');
172
+ const child = spawn(process.execPath, args, {
173
+ env: sanitizedEnv(env),
174
+ windowsHide: true,
175
+ stdio: ['ignore', 'pipe', 'pipe'],
176
+ });
177
+ const output = { stdout: '', stderr: '' };
178
+ child.stdout.on('data', chunk => { output.stdout += chunk; });
179
+ child.stderr.on('data', chunk => { output.stderr += chunk; });
180
+ const exited = new Promise(resolve => child.once('close', code => resolve({ code, ...output })));
181
+ return { child, exited, output };
182
+ }
183
+
184
+ // --- the isolation directories of one host ---------------------------------
185
+ function createIsolationLayout(prefix = 'parallel-workbench') {
186
+ const root = makeTempDir(prefix);
187
+ const layout = {
188
+ root,
189
+ dataDir: path.join(root, 'workbench-data'),
190
+ knowledgeDataDir: path.join(root, 'knowledge-data'),
191
+ bridgeHome: path.join(root, 'bridge-home'),
192
+ home: path.join(root, 'home'),
193
+ claudeConfigDir: path.join(root, 'claude-config'),
194
+ codexHome: path.join(root, 'codex-home'),
195
+ appData: path.join(root, 'appdata'),
196
+ localAppData: path.join(root, 'localappdata'),
197
+ workspace: path.join(root, 'workspace'),
198
+ temp: path.join(root, 'temp'),
199
+ };
200
+ for (const dir of Object.values(layout)) {
201
+ if (typeof dir === 'string') fs.mkdirSync(dir, { recursive: true });
202
+ }
203
+ fs.writeFileSync(path.join(layout.workspace, 'README.md'), '# Workbench fixture workspace\n', 'utf8');
204
+ // Chrome >= 136 refuses --remote-debugging-port unless it can resolve its
205
+ // DEFAULT user data dir and confirm the passed --user-data-dir differs.
206
+ // The default is derived from %USERPROFILE% (bisect evidence: overriding
207
+ // USERPROFILE alone trips the gate; APPDATA/LOCALAPPDATA/TEMP/HOME do not).
208
+ // An empty default-shaped scaffold under the isolated home lets the
209
+ // resolution succeed, so the real, separate browser-profile directory
210
+ // below this layout is accepted as non-default. The scaffold stays inside
211
+ // the isolated root — nothing of the real machine is touched.
212
+ fs.mkdirSync(path.join(layout.home, 'AppData', 'Local', 'Google', 'Chrome', 'User Data'), { recursive: true });
213
+ fs.mkdirSync(path.join(layout.home, 'AppData', 'Roaming'), { recursive: true });
214
+ return layout;
215
+ }
216
+
217
+ // The complete R5 isolation whitelist: every value an own child (probe, host,
218
+ // browser) may resolve through its environment points into this layout.
219
+ function isolationEnvMap(layout) {
220
+ const parsed = path.parse(layout.home);
221
+ return {
222
+ HOME: layout.home,
223
+ USERPROFILE: layout.home,
224
+ HOMEDRIVE: parsed.root,
225
+ HOMEPATH: parsed.root === path.sep ? layout.home.slice(1) : layout.home.slice(parsed.root.length),
226
+ CODEX_HOME: layout.codexHome,
227
+ CLAUDE_CONFIG_DIR: layout.claudeConfigDir,
228
+ APPDATA: layout.appData,
229
+ LOCALAPPDATA: layout.localAppData,
230
+ TEMP: layout.temp,
231
+ TMP: layout.temp,
232
+ TMPDIR: layout.temp,
233
+ KB_DATA_DIR: layout.knowledgeDataDir,
234
+ KB_KNOWLEDGE_DATA_DIR: layout.knowledgeDataDir,
235
+ AI_CODING_EVENT_BRIDGE_HOME: layout.bridgeHome,
236
+ AGENT_TERMINAL_DATA_DIR: layout.dataDir,
237
+ CLAUDE_AI_WORKBENCH_DATA_DIR: layout.dataDir,
238
+ KB_MODULES_AUTOSTART: '0',
239
+ };
240
+ }
241
+
242
+ // The environment a host child may inherit. Unlike the accepted fixture this
243
+ // passes NO real profile directory: there is no real profile source in R5.
244
+ function hostEnv(layout, extra = {}) {
245
+ return sanitizedEnv({ ...isolationEnvMap(layout), ...extra });
246
+ }
247
+
248
+ // --- the real profile location (path string ONLY) --------------------------
249
+ // Where the product keeps its real profiles, resolved from the real home
250
+ // captured at module load. R5 uses this string exclusively to prove that no
251
+ // isolated env value points there; this helper never touches the filesystem.
252
+ function realWorkbenchProfileDir() {
253
+ return path.join(REAL_HOME, '.project-knowledge-v5', 'workbench');
254
+ }
255
+
256
+ // The module that is hosted: the copy the installed product ships, unless
257
+ // the caller pins another one explicitly. Callers must resolve this BEFORE
258
+ // applying isolationEnvMap to their own process.env — the discovery reads
259
+ // the real APPDATA.
260
+ function resolveHostModuleRoot(options = {}) {
261
+ const override = String(options.moduleRoot || process.env.PK_WB_MODULE_ROOT || '').trim();
262
+ if (override) return path.resolve(override);
263
+ const appData = String(process.env.APPDATA || '').trim();
264
+ if (appData) {
265
+ const candidate = path.join(appData, 'npm', 'node_modules', '@sanqianx', 'project-knowledge', 'node_modules', 'claude-ai-workbench');
266
+ if (fs.existsSync(path.join(candidate, 'packages', 'server', 'package.json'))) return candidate;
267
+ }
268
+ const repoPin = path.join(REPO_ROOT, 'node_modules', 'claude-ai-workbench');
269
+ if (fs.existsSync(path.join(repoPin, 'packages', 'server', 'package.json'))) return repoPin;
270
+ return null;
271
+ }
272
+
273
+ module.exports = {
274
+ REPO_ROOT,
275
+ FORBIDDEN_PORTS,
276
+ AMBIENT_MODULE_URLS,
277
+ AMBIENT_MODEL_ENV,
278
+ REAL_HOME,
279
+ REAL_USERPROFILE,
280
+ ISOLATION_PATH_KEYS,
281
+ resolveTempRoot,
282
+ ensureTempRoot,
283
+ makeTempDir,
284
+ removeTree,
285
+ freePort,
286
+ assertAllowedEndpoint,
287
+ waitForHttp,
288
+ sanitizedEnv,
289
+ spawnNode,
290
+ createIsolationLayout,
291
+ isolationEnvMap,
292
+ hostEnv,
293
+ realWorkbenchProfileDir,
294
+ resolveHostModuleRoot,
295
+ };