ide на основе vs code · VibeGit
ide на основе vs code Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
krutaya-ide-na-osnove-vs-code / build / npm / postinstall.ts 432 строк · изменён 14 нояб., 04:52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
import * as fs from 'fs' ;
import path from 'path' ;
import * as os from 'os' ;
import * as child_process from 'child_process' ;
import { dirs } from './dirs.ts' ;
import { root, stateFile, stateContentsFile, computeState, computeContents, isUpToDate } from './installStateHash.ts' ;
import { ensureElectronTypes } from './electronTypes.ts' ;
const npm = process. platform
rootNpmrcConfigKeys path root
dir message
process stdout isTTY
message
message
command args opts child_process SpawnSyncOptions
opts cwd command args
result child_process command args opts
result error
process
result status
process result status
command args opts child_process SpawnOptions
resolve reject
child child_process command args opts stdio
output
child stdout data Buffer output data
child stderr data Buffer output data
child reject
child code
code
output
dir opts child_process SpawnOptions
finalOpts child_process SpawnOptions
env process env
opts
cwd path root dir
shell
command process env
process env dir
syncOpts child_process SpawnSyncOptions
env finalOpts env
cwd root
stdio
shell
userinfo os
dir
process env
syncOpts
path dir
process env
syncOpts
syncOpts
dir
output npm command finalOpts
output
line output
dir line
dir
dir env NodeJS ProcessEnv
npmrcPath path root dir
lines fs npmrcPath
line lines
trimmedLine line
trimmedLine trimmedLine
key value trimmedLine
env value
env
process platform
path meta dirname
path meta dirname
dir dir process platform
env
env
dir
env process arch
dir
parcelModuleFolder path root dir
fs parcelModuleFolder
parcelModules fs parcelModuleFolder
moduleName parcelModules
moduleName
modulePath path parcelModuleFolder moduleName
fs modulePath recursive force
dir
npmrcPath
fs npmrcPath
lines fs npmrcPath
keys
line lines
trimmedLine line
trimmedLine trimmedLine
eqIndex trimmedLine
eqIndex
keys trimmedLine eqIndex
keys
dir env NodeJS ProcessEnv
dirNpmrcPath path root dir
fs dirNpmrcPath
key rootNpmrcConfigKeys
envKey
env envKey
sourceRelativePath linkPath
fs linkPath
sourcePath path path linkPath sourceRelativePath
isDirectory fs sourcePath
process platform isDirectory
fs sourcePath linkPath
fs sourceRelativePath linkPath isDirectory
error
process platform isDirectory error NodeJS ErrnoException code
fs sourcePath linkPath
error
tasks concurrency
errors Error
index
index tasks length
i index
tasks i
err
errors err Error
length Math concurrency tasks length
errors length
err errors
err message
process
extDir path root
script path extDir
fs script
child_process process execPath script cwd extDir stdio
err
process env
fs path root
child_process
child_process
_state
nativeTasks
parallelTasks
dir dirs
dir
dir
dir
nativeTasks
env NodeJS ProcessEnv process env
process env env
process env env
process env env
process env env
env
env
dir
remoteDir dir
nativeTasks
env NodeJS ProcessEnv process env
process env
env process env
env
process env
env process env
env
process env env
process env env
process env env
process env env process env
process env env process env
process env env process env
env
remoteDir env
taskDir dir
parallelTasks
env process env
taskDir env
taskDir env
task nativeTasks
concurrency Math os length
parallelTasks concurrency
child_process
child_process
fs stateFile _state
fs stateContentsFile
claudeDir path root
fs claudeDir recursive
claudeMdLink path claudeDir
claudeMdLinkType path claudeMdLink
claudeMdLinkType
claudeSkillsLink path claudeDir
claudeSkillsLinkType path claudeSkillsLink
claudeSkillsLinkType
dir
sessionFile path root dir
fs sessionFile
content fs sessionFile
patched content
content patched
fs sessionFile patched
dir
dir
coreInteropFile path root dir
fs coreInteropFile
content fs coreInteropFile
addonMarker
coreMarker
addonNeedle
addonReplacement
coreNeedle
coreReplacement
patched content
patched addonMarker
patched addonNeedle
patched patched addonNeedle addonReplacement
dir
patched coreMarker
patched coreNeedle
patched patched coreNeedle coreReplacement
dir
content patched
fs coreInteropFile patched
dir
err
err
process
===
'win32'
?
'npm.cmd'
:
'npm'
;
const
=
getNpmrcConfigKeys
(
.
join
(
,
'.npmrc'
)
)
;
function
log
(
:
string
,
:
string
)
{
if
(
.
.
)
{
console
.
log
(
` \x1b[34m[ ${ dir} ]\x1b[0m `
,
)
;
}
else
{
console
.
log
(
` [ ${ dir} ] `
,
)
;
}
}
function
run
(
:
string
,
:
string
[
]
,
:
.
)
{
log
(
.
as
string
||
'.'
,
'$ '
+
+
' '
+
.
join
(
' '
)
)
;
const
=
.
spawnSync
(
,
,
)
;
if
(
.
)
{
console
.
error
(
` ERR Failed to spawn process: ${ result. error} `
)
;
.
exit
(
1
)
;
}
else
if
(
.
!==
0
)
{
console
.
error
(
` ERR Process exited with code: ${ result. status} `
)
;
.
exit
(
.
)
;
}
}
function
spawnAsync
(
:
string
,
:
string
[
]
,
:
.
)
:
Promise
<
string
>
{
return
new
Promise
(
(
,
)
=>
{
const
=
.
spawn
(
,
,
{
...
,
:
[
'ignore'
,
'pipe'
,
'pipe'
]
}
)
;
let
=
''
;
.
?.
on
(
'data'
,
(
:
)
=>
{
+=
.
toString
(
)
;
}
)
;
.
?.
on
(
'data'
,
(
:
)
=>
{
+=
.
toString
(
)
;
}
)
;
.
on
(
'error'
,
)
;
.
on
(
'close'
,
(
)
=>
{
if
(
!==
0
)
{
reject
(
new
Error
(
` Process exited with code: ${ code} \n ${ output} `
)
)
;
}
else
{
resolve
(
)
;
}
}
)
;
}
)
;
}
async
function
npmInstallAsync
(
:
string
,
?
:
.
)
:
Promise
<
void
>
{
const
:
.
=
{
:
{
...
.
}
,
...
(
??
{
}
)
,
:
.
join
(
,
)
,
:
true
,
}
;
const
=
.
[
'npm_command'
]
||
'install'
;
if
(
.
[
'VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'
]
&&
/ ^ ( . build\/ distro\/ npm\/ ) ? remote$ /
.
test
(
)
)
{
const
:
.
=
{
:
.
,
:
,
:
'inherit'
,
:
true
,
}
;
const
=
.
userInfo
(
)
;
log
(
,
` Installing dependencies inside container ${ process. env[ 'VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME' ] } ... `
)
;
if
(
.
[
'npm_config_arch'
]
===
'arm64'
)
{
run
(
'sudo'
,
[
'docker'
,
'run'
,
'--rm'
,
'--privileged'
,
'vscodehub.azurecr.io/multiarch/qemu-user-static@sha256:fe60359c92e86a43cc87b3d906006245f77bfc0565676b80004cc666e4feb9f0'
,
'--reset'
,
'-p'
,
'yes'
]
,
)
;
}
run
(
'sudo'
,
[
'docker'
,
'run'
,
'-e'
,
'GITHUB_TOKEN'
,
'-v'
,
` ${ process. env[ 'VSCODE_HOST_MOUNT' ] } :/root/vscode `
,
'-v'
,
` ${ process. env[ 'VSCODE_HOST_MOUNT' ] } /.build/.gitconfig-distro:/root/.gitconfig `
,
'-v'
,
` ${ process. env[ 'VSCODE_NPMRC_PATH' ] } :/root/.npmrc `
,
'-w'
,
.
resolve
(
'/root/vscode'
,
)
,
.
[
'VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'
]
,
'sh'
,
'-c'
,
` \"chown -R root:root ${ path. resolve ( '/root/vscode' , dir) } && export PATH="/root/vscode/.build/nodejs-musl/usr/local/bin:$PATH" && npm i -g node-gyp-build && npm ci\" `
]
,
)
;
run
(
'sudo'
,
[
'chown'
,
'-R'
,
` ${ userinfo. uid} : ${ userinfo. gid} `
,
` ${ path. resolve ( root, dir) } `
]
,
)
;
}
else
{
log
(
,
'Installing dependencies...'
)
;
const
=
await
spawnAsync
(
,
.
split
(
' '
)
,
)
;
if
(
.
trim
(
)
)
{
for
(
const
of
.
trim
(
)
.
split
(
'\n'
)
)
{
log
(
,
)
;
}
}
}
removeParcelWatcherPrebuild
(
)
;
}
function
setNpmrcConfig
(
:
string
,
:
.
)
{
const
=
.
join
(
,
,
'.npmrc'
)
;
const
=
.
readFileSync
(
,
'utf8'
)
.
split
(
'\n'
)
;
for
(
const
of
)
{
const
=
.
trim
(
)
;
if
(
&&
!
.
startsWith
(
'#'
)
)
{
const
[
,
]
=
.
split
(
'='
)
;
[
` npm_config_ ${ key} `
]
=
.
replace
(
/ ^ "( . * ) "$ /
,
'$1'
)
;
}
}
[
'npm_config_node_gyp'
]
=
.
===
'win32'
?
.
join
(
import
.
.
,
'gyp'
,
'node_modules'
,
'.bin'
,
'node-gyp.cmd'
)
:
.
join
(
import
.
.
,
'gyp'
,
'node_modules'
,
'.bin'
,
'node-gyp'
)
;
if
(
(
===
'remote'
||
===
'build'
)
&&
.
===
'darwin'
)
{
[
'npm_config_force_process_config'
]
=
'true'
;
}
else
{
delete
[
'npm_config_force_process_config'
]
;
}
if
(
===
'build'
)
{
[
'npm_config_arch'
]
=
.
;
}
}
function
removeParcelWatcherPrebuild
(
:
string
)
{
const
=
.
join
(
,
,
'node_modules'
,
'@parcel'
)
;
if
(
!
.
existsSync
(
)
)
{
return
;
}
const
=
.
readdirSync
(
)
;
for
(
const
of
)
{
if
(
.
startsWith
(
'watcher-'
)
)
{
const
=
.
join
(
,
)
;
.
rmSync
(
,
{
:
true
,
:
true
}
)
;
log
(
,
` Removed @parcel/watcher prebuilt module ${ modulePath} `
)
;
}
}
}
function
getNpmrcConfigKeys
(
:
string
)
:
string
[
]
{
if
(
!
.
existsSync
(
)
)
{
return
[
]
;
}
const
=
.
readFileSync
(
,
'utf8'
)
.
split
(
'\n'
)
;
const
:
string
[
]
=
[
]
;
for
(
const
of
)
{
const
=
.
trim
(
)
;
if
(
&&
!
.
startsWith
(
'#'
)
)
{
const
=
.
indexOf
(
'='
)
;
if
(
>
0
)
{
.
push
(
.
substring
(
0
,
)
.
trim
(
)
)
;
}
}
}
return
;
}
function
clearInheritedNpmrcConfig
(
:
string
,
:
.
)
:
void
{
const
=
.
join
(
,
,
'.npmrc'
)
;
if
(
.
existsSync
(
)
)
{
return
;
}
for
(
const
of
)
{
const
=
` npm_config_ ${ key. replace ( / - / g , '_' ) } `
;
delete
[
]
;
}
}
function
ensureAgentHarnessLink
(
:
string
,
:
string
)
:
'existing'
|
'junction'
|
'symlink'
|
'hard link'
{
if
(
.
existsSync
(
)
)
{
return
'existing'
;
}
const
=
.
resolve
(
.
dirname
(
)
,
)
;
const
=
.
statSync
(
)
.
isDirectory
(
)
;
try
{
if
(
.
===
'win32'
&&
)
{
.
symlinkSync
(
,
,
'junction'
)
;
return
'junction'
;
}
.
symlinkSync
(
,
,
?
'dir'
:
'file'
)
;
return
'symlink'
;
}
catch
(
)
{
if
(
.
===
'win32'
&&
!
&&
(
as
.
)
.
===
'EPERM'
)
{
.
linkSync
(
,
)
;
return
'hard link'
;
}
throw
;
}
}
async
function
runWithConcurrency
(
:
(
(
)
=>
Promise
<
void
>
)
[
]
,
:
number
)
:
Promise
<
void
>
{
const
:
[
]
=
[
]
;
let
=
0
;
async
function
worker
(
)
{
while
(
<
.
)
{
const
=
++
;
try
{
await
[
]
(
)
;
}
catch
(
)
{
.
push
(
as
)
;
}
}
}
await
Promise
.
all
(
Array
.
from
(
{
:
.
min
(
,
.
)
}
,
(
)
=>
worker
(
)
)
)
;
if
(
.
>
0
)
{
for
(
const
of
)
{
console
.
error
(
.
)
;
}
.
exit
(
1
)
;
}
}
function
bundleOrchestratorSidecar
(
)
{
const
=
.
join
(
,
'extensions'
,
'langgraph-orchestrator'
)
;
const
=
.
join
(
,
'build'
,
'compile-sidecar.mjs'
)
;
if
(
!
.
existsSync
(
)
)
{
return
;
}
try
{
.
execFileSync
(
.
,
[
]
,
{
:
,
:
'inherit'
}
)
;
}
catch
(
)
{
log
(
'extensions/langgraph-orchestrator'
,
` WARNING: sidecar bundle failed ( ${ err instanceof Error ? err. message : err} ); run \`npm run compile-sidecar\` there manually `
)
;
}
}
async
function
main
(
)
{
await
ensureElectronTypes
(
)
;
if
(
!
.
[
'VSCODE_FORCE_INSTALL'
]
&&
isUpToDate
(
)
)
{
log
(
'.'
,
'All dependencies up to date, skipping postinstall.'
)
;
if
(
!
.
existsSync
(
.
join
(
,
'extensions'
,
'langgraph-orchestrator'
,
'dist'
,
'sidecar.cjs'
)
)
)
{
bundleOrchestratorSidecar
(
)
;
}
.
execSync
(
'git config pull.rebase merges'
)
;
.
execSync
(
'git config blame.ignoreRevsFile .git-blame-ignore-revs'
)
;
return
;
}
const
=
computeState
(
)
;
const
:
(
(
)
=>
Promise
<
void
>
)
[
]
=
[
]
;
const
:
(
(
)
=>
Promise
<
void
>
)
[
]
=
[
]
;
for
(
const
of
)
{
if
(
===
''
)
{
removeParcelWatcherPrebuild
(
)
;
continue
;
}
if
(
===
'build'
)
{
.
push
(
(
)
=>
{
const
:
.
=
{
...
.
}
;
if
(
.
[
'CC'
]
)
{
[
'CC'
]
=
'gcc'
;
}
if
(
.
[
'CXX'
]
)
{
[
'CXX'
]
=
'g++'
;
}
if
(
.
[
'CXXFLAGS'
]
)
{
[
'CXXFLAGS'
]
=
''
;
}
if
(
.
[
'LDFLAGS'
]
)
{
[
'LDFLAGS'
]
=
''
;
}
setNpmrcConfig
(
'build'
,
)
;
return
npmInstallAsync
(
'build'
,
{
}
)
;
}
)
;
continue
;
}
if
(
/ ^ ( . build\/ distro\/ npm\/ ) ? remote$ /
.
test
(
)
)
{
const
=
;
.
push
(
(
)
=>
{
const
:
.
=
{
...
.
}
;
if
(
.
[
'VSCODE_REMOTE_CC'
]
)
{
[
'CC'
]
=
.
[
'VSCODE_REMOTE_CC'
]
;
}
else
{
delete
[
'CC'
]
;
}
if
(
.
[
'VSCODE_REMOTE_CXX'
]
)
{
[
'CXX'
]
=
.
[
'VSCODE_REMOTE_CXX'
]
;
}
else
{
delete
[
'CXX'
]
;
}
if
(
.
[
'CXXFLAGS'
]
)
{
delete
[
'CXXFLAGS'
]
;
}
if
(
.
[
'CFLAGS'
]
)
{
delete
[
'CFLAGS'
]
;
}
if
(
.
[
'LDFLAGS'
]
)
{
delete
[
'LDFLAGS'
]
;
}
if
(
.
[
'VSCODE_REMOTE_CXXFLAGS'
]
)
{
[
'CXXFLAGS'
]
=
.
[
'VSCODE_REMOTE_CXXFLAGS'
]
;
}
if
(
.
[
'VSCODE_REMOTE_LDFLAGS'
]
)
{
[
'LDFLAGS'
]
=
.
[
'VSCODE_REMOTE_LDFLAGS'
]
;
}
if
(
.
[
'VSCODE_REMOTE_NODE_GYP'
]
)
{
[
'npm_config_node_gyp'
]
=
.
[
'VSCODE_REMOTE_NODE_GYP'
]
;
}
setNpmrcConfig
(
'remote'
,
)
;
return
npmInstallAsync
(
,
{
}
)
;
}
)
;
continue
;
}
const
=
;
.
push
(
(
)
=>
{
const
=
{
...
.
}
;
clearInheritedNpmrcConfig
(
,
)
;
return
npmInstallAsync
(
,
{
}
)
;
}
)
;
}
for
(
const
of
)
{
await
task
(
)
;
}
const
=
.
min
(
.
cpus
(
)
.
,
8
)
;
log
(
'.'
,
` Running ${ parallelTasks. length} npm installs with concurrency ${ concurrency} ... `
)
;
await
runWithConcurrency
(
,
)
;
bundleOrchestratorSidecar
(
)
;
.
execSync
(
'git config pull.rebase merges'
)
;
.
execSync
(
'git config blame.ignoreRevsFile .git-blame-ignore-revs'
)
;
.
writeFileSync
(
,
JSON
.
stringify
(
)
)
;
.
writeFileSync
(
,
JSON
.
stringify
(
computeContents
(
)
)
)
;
const
=
.
join
(
,
'.claude'
)
;
.
mkdirSync
(
,
{
:
true
}
)
;
const
=
.
join
(
,
'CLAUDE.md'
)
;
const
=
ensureAgentHarnessLink
(
.
join
(
'..'
,
'.github'
,
'copilot-instructions.md'
)
,
)
;
if
(
!==
'existing'
)
{
log
(
'.'
,
` Created ${ claudeMdLinkType} .claude/CLAUDE.md -> .github/copilot-instructions.md `
)
;
}
const
=
.
join
(
,
'skills'
)
;
const
=
ensureAgentHarnessLink
(
.
join
(
'..'
,
'.agents'
,
'skills'
)
,
)
;
if
(
!==
'existing'
)
{
log
(
'.'
,
` Created ${ claudeSkillsLinkType} .claude/skills -> .agents/skills `
)
;
}
for
(
const
of
[
''
,
'remote'
]
)
{
const
=
.
join
(
,
,
'node_modules'
,
'@github'
,
'copilot-sdk'
,
'dist'
,
'session.js'
)
;
if
(
.
existsSync
(
)
)
{
const
=
.
readFileSync
(
,
'utf8'
)
;
const
=
.
replace
(
/ from "vscode-jsonrpc\/ node" / g
,
'from "vscode-jsonrpc/node.js"'
)
;
if
(
!==
)
{
.
writeFileSync
(
,
)
;
log
(
||
'.'
,
'Patched @github/copilot-sdk session.js (vscode-jsonrpc ESM import fix)'
)
;
}
}
}
for
(
const
of
[
''
,
'remote'
]
)
{
const
=
.
join
(
,
,
'node_modules'
,
'foundry-local-sdk'
,
'dist'
,
'detail'
,
'coreInterop.js'
)
;
if
(
!
.
existsSync
(
)
)
{
continue
;
}
const
=
.
readFileSync
(
,
'utf8'
)
;
const
=
'// VSCODE_PATCH:foundry-addon-native-dir'
;
const
=
'// VSCODE_PATCH:foundry-core-native-dir'
;
const
=
` const platformKey = \`\${platform}-\${arch}\`;\n // The prebuilt addon ships inside the SDK package under prebuilds/<platform>/\n const sdkRoot = path.resolve(__dirname, '..', '..'); `
;
const
=
` const platformKey = \`\${platform}-\${arch}\`;\n ${ addonMarker} : prefer the on-demand native runtime cache when present.\n const overrideDir = process.env.VSCODE_FOUNDRY_LOCAL_NATIVE_DIR;\n if (overrideDir) {\n const overridePath = path.join(overrideDir, 'prebuilds', platformKey, 'foundry_local_napi.node');\n if (fs.existsSync(overridePath)) {\n return require(overridePath);\n }\n }\n // The prebuilt addon ships inside the SDK package under prebuilds/<platform>/\n const sdkRoot = path.resolve(__dirname, '..', '..'); `
;
const
=
` const platformKey = \`\${platform}-\${arch}\`;\n // Resolve the native binary directory at foundry-local-core/<platform>, `
;
const
=
` const platformKey = \`\${platform}-\${arch}\`;\n ${ coreMarker} : prefer the on-demand native runtime cache when present.\n const overrideDir = process.env.VSCODE_FOUNDRY_LOCAL_NATIVE_DIR;\n if (overrideDir) {\n const overrideExt = CoreInterop._getLibraryExtension();\n const overrideCorePath = path.join(overrideDir, 'foundry-local-core', platformKey, \`Microsoft.AI.Foundry.Local.Core\${overrideExt}\`);\n if (fs.existsSync(overrideCorePath)) {\n config.params['FoundryLocalCorePath'] = overrideCorePath;\n return overrideCorePath;\n }\n }\n // Resolve the native binary directory at foundry-local-core/<platform>, `
;
let
=
;
if
(
!
.
includes
(
)
)
{
if
(
.
includes
(
)
)
{
=
.
replace
(
,
)
;
}
else
{
log
(
||
'.'
,
'WARNING: foundry-local-sdk coreInterop.js loadAddon shape changed; skipped addon override patch'
)
;
}
}
if
(
!
.
includes
(
)
)
{
if
(
.
includes
(
)
)
{
=
.
replace
(
,
)
;
}
else
{
log
(
||
'.'
,
'WARNING: foundry-local-sdk coreInterop.js _resolveDefaultCorePath shape changed; skipped core override patch'
)
;
}
}
if
(
!==
)
{
.
writeFileSync
(
,
)
;
log
(
||
'.'
,
'Patched foundry-local-sdk coreInterop.js (on-demand native runtime override)'
)
;
}
}
}
main
(
)
.
catch
(
=>
{
console
.
error
(
)
;
.
exit
(
1
)
;
}
)
;