aboutsummaryrefslogtreecommitdiff
path: root/scripts/rebuild-bundles.py
diff options
context:
space:
mode:
authorAgando <roduccomm@gmail.com>2026-07-09 06:00:32 +0200
committerAgando <roduccomm@gmail.com>2026-07-09 06:00:32 +0200
commitcf7461ffeb4f53f3f50c9c692a2e4fdcecf17e82 (patch)
treee7780cd41271381cf108c9c81d71a3cb65cfd555 /scripts/rebuild-bundles.py
parentea4d09fb5ccba12ed774fcf7c913edfa1e6a851a (diff)
auto: 2026-07-09_06:00 changes
Diffstat (limited to 'scripts/rebuild-bundles.py')
-rw-r--r--scripts/rebuild-bundles.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rebuild-bundles.py b/scripts/rebuild-bundles.py
index 3b04af5..f141292 100644
--- a/scripts/rebuild-bundles.py
+++ b/scripts/rebuild-bundles.py
@@ -34,6 +34,7 @@ CORE_FILES = [
'module-world-model.js',
'module-neural-vfs.js',
'module-smartctx.js',
+ 'module-debug-supervisor.js',
]
CRITICAL_EXT_FILES = [
@@ -44,6 +45,9 @@ def build_bundle(source_dir, files, output_path, label):
parts = [f'// {label} bundle', f'// Generated from {source_dir}', '']
for f in files:
src = os.path.join(source_dir, f)
+ if not os.path.exists(src):
+ print(f' WARNING: {src} not found, skipping')
+ continue
with open(src, 'r', encoding='utf-8') as fh:
code = fh.read()
parts.append(f'\n/* === {f} === */\n')