@babylonjs-toolkit/agent 1.2.15 → 1.2.18

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 (58) hide show
  1. package/README.md +8 -2
  2. package/lib/diskinfo/cli.js +40 -6
  3. package/lib/diskinfo/report.js +28 -15
  4. package/package.json +1 -1
  5. package/skills/bt-blender/SKILL.md +386 -0
  6. package/skills/bt-blender/THIRD_PARTY_NOTICES.md +141 -0
  7. package/skills/bt-blender/references/art-style-and-genre.md +173 -0
  8. package/skills/bt-blender/references/characters-and-creatures.md +644 -0
  9. package/skills/bt-blender/references/environments.md +478 -0
  10. package/skills/bt-blender/references/game-engine-export.md +284 -0
  11. package/skills/bt-blender/references/geometry-nodes.md +447 -0
  12. package/skills/bt-blender/references/hard-surface.md +720 -0
  13. package/skills/bt-blender/references/procedural-generation.md +358 -0
  14. package/skills/bt-blender/references/rigging-and-animation.md +1080 -0
  15. package/skills/bt-blender/references/sculpting-and-retopology.md +544 -0
  16. package/skills/bt-blender/references/uv-and-pbr-materials.md +381 -0
  17. package/skills/bt-blender/references/vehicles.md +632 -0
  18. package/skills/bt-blender/scripts/blender/assembly_check.py +420 -0
  19. package/skills/bt-blender/scripts/blender/character_blockout.py +462 -0
  20. package/skills/bt-blender/scripts/blender/construction_kit.py +1710 -0
  21. package/skills/bt-blender/scripts/blender/environment_kit.py +525 -0
  22. package/skills/bt-blender/scripts/blender/export_asset.py +623 -0
  23. package/skills/bt-blender/scripts/blender/geometry_nodes_builders.py +575 -0
  24. package/skills/bt-blender/scripts/blender/hard_surface_panels.py +374 -0
  25. package/skills/bt-blender/scripts/blender/hard_surface_trims.py +200 -0
  26. package/skills/bt-blender/scripts/blender/image_measure.py +568 -0
  27. package/skills/bt-blender/scripts/blender/materials_pbr.py +439 -0
  28. package/skills/bt-blender/scripts/blender/measure_stations.py +486 -0
  29. package/skills/bt-blender/scripts/blender/ortho_views.py +309 -0
  30. package/skills/bt-blender/scripts/blender/procedural_game_ready.py +258 -0
  31. package/skills/bt-blender/scripts/blender/procedural_generators.py +842 -0
  32. package/skills/bt-blender/scripts/blender/qa_check.py +729 -0
  33. package/skills/bt-blender/scripts/blender/retopology_tools.py +781 -0
  34. package/skills/bt-blender/scripts/blender/review_render.py +358 -0
  35. package/skills/bt-blender/scripts/blender/rigging_tools.py +1170 -0
  36. package/skills/bt-blender/scripts/blender/style_palette.py +190 -0
  37. package/skills/bt-blender/scripts/blender/tool_common.py +289 -0
  38. package/skills/bt-blender/scripts/blender/uv_layout.py +555 -0
  39. package/skills/bt-blender/scripts/blender/vehicle_parts.py +370 -0
  40. package/skills/bt-blender/scripts/blender/view_consistency.py +133 -0
  41. package/skills/bt-blender/scripts/blender/world_gate.py +219 -0
  42. package/skills/bt-blender/scripts/bt-blender.mjs +329 -0
  43. package/skills/bt-blender/scripts/validate_gltf.mjs +204 -0
  44. package/skills/bt-gauntlet/SKILL.md +6 -6
  45. package/skills/bt-gauntlet/references/critic-rubrics.md +71 -4
  46. package/skills/bt-gauntlet/references/spec-composition.md +13 -0
  47. package/skills/bt-gauntlet/references/unity-pipeline.md +18 -2
  48. package/skills/bt-unwrap/scripts/blender/__pycache__/bt_unwrap.cpython-313.pyc +0 -0
  49. package/skills/bt-unwrap/scripts/blender/__pycache__/image_utils.cpython-313.pyc +0 -0
  50. package/skills/bt-unwrap/scripts/blender/__pycache__/mesh_tools.cpython-313.pyc +0 -0
  51. package/skills/bt-unwrap/scripts/blender/__pycache__/model_io.cpython-313.pyc +0 -0
  52. package/skills/bt-unwrap/scripts/blender/__pycache__/previews.cpython-313.pyc +0 -0
  53. package/skills/bt-unwrap/scripts/blender/__pycache__/rasterizer.cpython-313.pyc +0 -0
  54. package/skills/bt-unwrap/scripts/blender/__pycache__/reference_views.cpython-313.pyc +0 -0
  55. package/skills/bt-unwrap/scripts/blender/__pycache__/reference_warp.cpython-313.pyc +0 -0
  56. package/skills/bt-unwrap/scripts/blender/__pycache__/texture_bake.cpython-313.pyc +0 -0
  57. package/skills/bt-unwrap/scripts/blender/__pycache__/texture_compose.cpython-313.pyc +0 -0
  58. package/skills/bt-unwrap/scripts/blender/__pycache__/uv_layout.cpython-313.pyc +0 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Babylon Toolkit Desktop Agent (1.2.15)
1
+ # Babylon Toolkit Desktop Agent (1.2.18)
2
2
 
3
3
  The desktop agent owns the entire pipeline end to end — frontend and UI design, gameplay code, shaders, generated art and audio, 3D models in headless Blender, whole game levels and prefabs in a terminal-driven Unity Editor, the interactive glTF export, the web build, the dev server, and visual QA by screenshotting both Unity and the running browser.
4
4
 
@@ -84,6 +84,7 @@ newer Reference.
84
84
  ```bash
85
85
  bt-agent diskinfo # print the report and save Desktop/disk-report-YYYY-MM-DD-HHMM.txt
86
86
  bt-agent diskinfo --no-save # print only
87
+ bt-agent diskinfo --folder ~/Documents/Repos # scan just this folder
87
88
  bt-agent diskinfo --out report.txt
88
89
  bt-agent diskinfo --json # machine-readable
89
90
  ```
@@ -95,6 +96,10 @@ npm / Yarn / pnpm / pip / NuGet caches, Docker and WSL disks, VS Code's C++ cach
95
96
  Trash / Recycle Bin), every `node_modules`, the Unity `Library/` and Unreal `Intermediate/` folders
96
97
  that rebuild themselves, the largest files, and suggested cleanup commands. Nothing is deleted or run.
97
98
 
99
+ `--folder <dir>` scans that one folder instead (`~` and relative paths work): its largest items,
100
+ the known space hogs, `node_modules`, Unity / Unreal projects and big files inside it — nothing
101
+ outside it is walked.
102
+
98
103
  ### Freeing ports
99
104
 
100
105
  ```bash
@@ -285,6 +290,7 @@ pair or schedule the bridge.
285
290
  | [`bt-hero`](skills/bt-hero/SKILL.md) | `/bt-hero` | Create smooth cinematic 3D scrolling hero sections. |
286
291
  | [`bt-atlas`](skills/bt-atlas/SKILL.md) | `/bt-atlas` | Generate texture atlas skin variations. |
287
292
  | [`bt-unwrap`](skills/bt-unwrap/SKILL.md) | `/bt-unwrap` | Turn a rough AI-generated (or any) 3D model into a clean, web-ready game asset in one headless Blender run: repair the geometry, decimate to a face budget (lost shape re-baked as a normal map), orient it to glTF / BabylonJS forward at real-world scale, give it a new UV layout of large islands (less space for surfaces nobody sees), bake the source textures onto it, and paint the sharp reference images back on — straight and three-quarter views, each camera solved from the silhouette, one view per face, seams kept off logos, and the model's own texture kept where images and geometry disagree (engines, cockpits) — so a melted, fragmented texture comes out crisp instead of smeared. GLB / glTF / FBX / OBJ / USD / PLY / STL / Alembic / .blend in; GLB / glTF / FBX / OBJ / USD / .blend out with 2048 WebP textures (4096 on request), a single-sided PBR material, optional Draco and LODs, before/after renders, coverage and clutter maps, the UV island map for `bt-atlas`, and a JSON report with acceptance checks for plans. `--refs`, `--faces`, `--length`, `--texture-size`, `--unwrap views\|smart\|keep`, `--analyze`. |
293
+ | [`bt-blender`](skills/bt-blender/SKILL.md) | `/bt-blender` | Model game assets from reference images in headless Blender, measured instead of eyeballed: write the asset brief, check that the reference views agree with each other, block out, then build with a tested construction kit (rounded sections with real corner radii lofted through measured stations, lathed and traced parts, subdivision cages whose holding loops hit a target radius and whose shrinkage is corrected to the measured sizes, radius-driven bevels, smooth shading with crisp design lines, welds that keep hard edges, moulded parts inflated from one silhouette). Every pass is graded against the references — station widths MATCH / CLOSE / WRONG, corner radii (equal depth on the model, circle fit on images), shading continuity, a world-scale silhouette IoU gate and a render at the asset's real in-game pixel height — then an asset QA gate (z-fighting, floating parts, flipped or inside-out normals, topology, UV overlap, empty material slots, skin weights) and an assembly check (gaps, embed depth, attachments, spec sizes). Exports glTF / GLB for BabylonJS (float bakes converted to sRGB bytes, tangents, Geometry Nodes instances realised or GPU-instanced, optional Draco / meshopt / WebP, Khronos glTF-Validator) or FBX by the Unity case table, re-imported to prove the size, with JSON evidence for every gate. Eleven domain references with tested helper modules cover hard surface, vehicles, environments, characters and creatures, rigging and animation, sculpting and retopology, UVs and PBR bakes, Geometry Nodes, procedural generation, engine export and art style. `measure-stations`, `world-gate`, `view-consistency`, `review-render`, `qa-check`, `assembly-check`, `export`, `run <build.py>`. |
288
294
  | [`bt-optimize`](skills/bt-optimize/SKILL.md) | `/bt-optimize` | Make an exported Unity scene run fast in the browser: profile the BabylonJS frame (draw calls per pass, every main-pass draw by the object that owns it, shadow casters per cascade, lights, post-processing), then fix the causes on a copy of the scene — the one scene to export afterwards: rigid skinned meshes turned into plain meshes, repeated props instanced (off lightmaps and light probes), static objects that animate unfrozen, repeated deforming characters made an instanced VAT crowd, practical lights baked, point / spot shadows removed, shadow casters that shadow nothing visible pruned, static / lightmap unlocks, and static meshes and LOD groups merged when that saves draws; then re-bake, verify the copy against its source, export, and prove frame rate and look against the original in Unity, the browser and the game. Its `planning.md` is the playbook bt-spec and bt-plan follow to spec or Quick Plan the same work ("create a quick plan to optimize Level01.unity"). `--no-combine`, `--combine-only`, `--keep-gi`, `--instance-from:2`. |
289
295
  | [`bt-profile`](skills/bt-profile/SKILL.md) | `/bt-profile` | Find what makes a web app slow and list the fixes (spec them with `/bt-spec`, or apply them with `--auto-fix`) — built for BabylonJS / Babylon Toolkit games, usable on any front end (give it a URL and the project folder): drive the running game in Chrome through a repeatable scenario (a cold load, a level start, a countdown), record the CPU profile, allocations, every frame and every GPU pipeline compile (with `--gpu-cold`, as on a first visit), map each millisecond to its source line and owner (your code, the toolkit runtime, BabylonJS, Havok, React), then list the fixes, or with `--auto-fix` apply them one at a time and re-measure each. Writes `.agents/profile/<slug>/dashboard.html` (live progress, Print / Download PDF) and a spec-ready `findings.md`. `--auto-fix`, `--snapshots`, `--watch`, `--gpu-cold`, `--stop`, `--resume`, `--restart`, `--project`, `--slug`. |
290
296
 
@@ -465,7 +471,7 @@ Where each tool looks for PROJECT-LOCAL skills (only when the user explicitly re
465
471
  > for everything else (Codex, Copilot, Gemini CLI, Antigravity). By default use the
466
472
  > GLOBAL (per-user home) locations; use the project-local locations only when the user
467
473
  > explicitly asks for a project install. Copy **whole folders** into each — the
468
- > `bt-atlas/scripts/`, `bt-unwrap/scripts/`, `bt-optimize/scripts/` and `bt-profile/scripts/` + `bt-profile/templates/` assets must be present in every location.
474
+ > `bt-atlas/scripts/`, `bt-unwrap/scripts/`, `bt-blender/scripts/` + `bt-blender/references/`, `bt-optimize/scripts/` and `bt-profile/scripts/` + `bt-profile/templates/` assets must be present in every location.
469
475
 
470
476
 
471
477
  # Babylon Toolkit Loop Engineering (Gauntlet Loop)
@@ -5,7 +5,7 @@ const os = require('os');
5
5
  const path = require('path');
6
6
 
7
7
  const { buildReport, formatReport, human } = require('./report');
8
- const { prettyPath } = require('../paths');
8
+ const { prettyPath, expandHome } = require('../paths');
9
9
 
10
10
  const USAGE = `
11
11
  bt-agent diskinfo — show where your disk space is going (macOS, Windows, Linux)
@@ -13,12 +13,19 @@ bt-agent diskinfo — show where your disk space is going (macOS, Windows, Linux
13
13
  Read-only: it walks your home folder and the main system folders once, then prints
14
14
  the biggest folders, known space hogs (Unity, Xcode, package caches, Docker ...),
15
15
  node_modules and Unity/Unreal folders that rebuild themselves, the largest files,
16
- and suggested cleanup commands. Nothing is deleted or run.
16
+ and suggested cleanup commands. Nothing is deleted or run. With --folder it walks
17
+ only that folder (and reports only what lies inside it).
17
18
 
18
19
  Usage
19
20
  bt-agent diskinfo [options]
20
21
 
22
+ Examples
23
+ bt-agent diskinfo
24
+ bt-agent diskinfo --folder ~/Documents/Repos
25
+ bt-agent diskinfo --folder D:\\Projects --no-save
26
+
21
27
  Options
28
+ --folder <dir> Scan only this folder instead of your home folder and the system folders
22
29
  --out <file> Save the report here (default: Desktop/disk-report-YYYY-MM-DD-HHMM.txt)
23
30
  --no-save Print only; do not save a copy
24
31
  --json Machine-readable output on stdout (saved only with --out)
@@ -26,7 +33,7 @@ Options
26
33
  `;
27
34
 
28
35
  function parseDiskInfoArgs(argv) {
29
- const opts = { json: false, save: true, out: null, help: false };
36
+ const opts = { json: false, save: true, out: null, folder: null, help: false };
30
37
  for (let i = 0; i < argv.length; i += 1) {
31
38
  const arg = argv[i];
32
39
  if (arg === '-h' || arg === '--help') opts.help = true;
@@ -36,11 +43,31 @@ function parseDiskInfoArgs(argv) {
36
43
  opts.out = argv[++i];
37
44
  if (!opts.out) throw new Error('--out needs a file path');
38
45
  } else if (arg.startsWith('--out=')) opts.out = arg.slice('--out='.length);
46
+ else if (arg === '--folder') {
47
+ opts.folder = argv[++i];
48
+ if (!opts.folder) throw new Error('--folder needs a folder path');
49
+ } else if (arg.startsWith('--folder=')) {
50
+ opts.folder = arg.slice('--folder='.length);
51
+ if (!opts.folder) throw new Error('--folder needs a folder path');
52
+ }
39
53
  else throw new Error(`Unknown option: ${arg}`);
40
54
  }
41
55
  return opts;
42
56
  }
43
57
 
58
+ /** Expand ~, resolve against the working directory, and require an existing folder. */
59
+ function resolveFolder(folder) {
60
+ const resolved = path.resolve(expandHome(folder));
61
+ let st;
62
+ try {
63
+ st = fs.statSync(resolved);
64
+ } catch {
65
+ throw new Error(`--folder: ${resolved} does not exist`);
66
+ }
67
+ if (!st.isDirectory()) throw new Error(`--folder: ${resolved} is not a folder`);
68
+ return resolved;
69
+ }
70
+
44
71
  function defaultReportPath(date = new Date()) {
45
72
  const desktop = path.join(os.homedir(), 'Desktop');
46
73
  const dir = fs.existsSync(desktop) ? desktop : os.homedir();
@@ -74,6 +101,7 @@ async function runDiskInfoCli(argv) {
74
101
  let opts;
75
102
  try {
76
103
  opts = parseDiskInfoArgs(argv);
104
+ if (opts.folder && !opts.help) opts.folder = resolveFolder(opts.folder);
77
105
  } catch (err) {
78
106
  console.error(`${err.message}\n\nRun \`bt-agent diskinfo --help\` for usage.`);
79
107
  return 2;
@@ -84,9 +112,15 @@ async function runDiskInfoCli(argv) {
84
112
  }
85
113
 
86
114
  const ui = progressLine(!opts.json && process.stderr.isTTY);
87
- if (!opts.json) console.error('Scanning disk usage — this can take a few minutes on a full disk.');
115
+ if (!opts.json) {
116
+ console.error(
117
+ opts.folder
118
+ ? `Scanning disk usage in ${prettyPath(opts.folder)} — this can take a while on a big folder.`
119
+ : 'Scanning disk usage — this can take a few minutes on a full disk.'
120
+ );
121
+ }
88
122
 
89
- const report = await buildReport({ onStage: ui.stage, onProgress: ui.progress });
123
+ const report = await buildReport({ folder: opts.folder, onStage: ui.stage, onProgress: ui.progress });
90
124
  ui.done();
91
125
 
92
126
  const text = opts.json ? JSON.stringify(report, null, 2) : formatReport(report);
@@ -101,4 +135,4 @@ async function runDiskInfoCli(argv) {
101
135
  return 0;
102
136
  }
103
137
 
104
- module.exports = { runDiskInfoCli, parseDiskInfoArgs, defaultReportPath };
138
+ module.exports = { runDiskInfoCli, parseDiskInfoArgs, resolveFolder, defaultReportPath };
@@ -89,25 +89,33 @@ const sum = (list) => list.reduce((n, x) => n + x.bytes, 0);
89
89
  * @param {(p: {files:number, bytes:number, dir:string}) => void} [opts.onProgress]
90
90
  * @param {object} [opts.ctx] { platform, home, env } — injectable for tests.
91
91
  * @param {string[]} [opts.roots] Override the system folders to walk (tests).
92
+ * @param {string} [opts.folder] Scan only this folder instead of the home folder and the
93
+ * system folders; hogs and breakdowns outside it are left out.
92
94
  */
93
95
  async function buildReport(opts = {}) {
94
96
  const started = Date.now();
95
97
  const ctx = opts.ctx || { platform: process.platform, home: os.homedir(), env: process.env };
96
98
  const stage = opts.onStage || (() => {});
97
99
  const scanner = new Scanner({ onProgress: opts.onProgress });
100
+ const folder = opts.folder ? path.resolve(opts.folder) : null;
101
+ const base = folder || ctx.home;
102
+ const baseKey = keyOf(base);
103
+ const basePrefix = baseKey.endsWith(path.sep) ? baseKey : baseKey + path.sep;
104
+ // In folder mode every lookup stays inside the folder, so nothing else on the disk is walked.
105
+ const inScope = (p) => !folder || keyOf(p) === baseKey || keyOf(p).startsWith(basePrefix);
98
106
 
99
107
  stage('volume overview');
100
108
  const vols = volumes(ctx);
101
- const mac = ctx.platform === 'darwin' && !opts.ctx;
109
+ const mac = ctx.platform === 'darwin' && !opts.ctx && !folder;
102
110
  const apfs = mac ? apfsVolumes() : [];
103
111
  const snapshots = mac ? snapshotCount() : 0;
104
112
 
105
- stage(`home folder ${prettyPath(ctx.home)}`);
106
- const homeBytes = scanner.measure(ctx.home) || 0;
113
+ stage(folder ? `folder ${prettyPath(folder)}` : `home folder ${prettyPath(ctx.home)}`);
114
+ const baseBytes = scanner.measure(base) || 0;
107
115
 
108
- const roots = [{ path: ctx.home, bytes: homeBytes, home: true }];
116
+ const roots = [folder ? { path: folder, bytes: baseBytes, folder: true } : { path: ctx.home, bytes: baseBytes, home: true }];
109
117
  const homeKey = keyOf(ctx.home);
110
- for (const root of opts.roots || systemRoots(ctx)) {
118
+ for (const root of folder ? [] : opts.roots || systemRoots(ctx)) {
111
119
  const k = keyOf(root);
112
120
  if (k === homeKey || k.startsWith(homeKey + path.sep) || homeKey.startsWith(k + path.sep)) continue;
113
121
  if (!fs.existsSync(root)) continue;
@@ -120,7 +128,8 @@ async function buildReport(opts = {}) {
120
128
  const hogRows = [];
121
129
  const hogTotals = {};
122
130
  for (const hog of hogs(ctx)) {
123
- const found = hog.paths.flatMap(glob).filter((p) => fs.existsSync(p));
131
+ const found = hog.paths.flatMap(glob).filter((p) => inScope(p) && fs.existsSync(p));
132
+ if (!found.length) continue;
124
133
  const rows = hog.each ? found.map((p) => ({ paths: [p], label: `${hog.label} ${path.basename(p)}` })) : [{ paths: found, label: hog.label }];
125
134
  for (const row of rows) {
126
135
  let bytes = 0;
@@ -137,11 +146,12 @@ async function buildReport(opts = {}) {
137
146
  hogTotals['unity-projects'] = unity.reduce((n, p) => n + p.regenerable, 0);
138
147
  hogTotals['unreal-projects'] = unreal.reduce((n, p) => n + p.regenerable, 0);
139
148
  hogTotals.snapshots = snapshots;
140
- hogTotals.always = 0;
149
+ if (!folder) hogTotals.always = 0; // the system-wide tip only fits a whole-disk scan
141
150
 
142
- const vol = vols.find((v) => keyOf(ctx.home).startsWith(keyOf(v.mount))) || vols[0] || null;
151
+ const vol = vols.find((v) => baseKey.startsWith(keyOf(v.mount))) || vols[0] || null;
143
152
  const measured = sum(roots);
144
- const other = vol ? Math.max(0, vol.used - measured) : null;
153
+ const other = vol && !folder ? Math.max(0, vol.used - measured) : null;
154
+ const breakdownDirs = breakdowns(ctx).filter((d) => inScope(d) && keyOf(d) !== baseKey);
145
155
 
146
156
  return {
147
157
  generatedAt: new Date().toISOString(),
@@ -152,10 +162,11 @@ async function buildReport(opts = {}) {
152
162
  volumes: vols,
153
163
  apfs,
154
164
  snapshots,
165
+ folder,
155
166
  roots: top(roots, roots.length),
156
167
  other,
157
- home: { path: ctx.home, children: top(scanner.children(ctx.home), 25) },
158
- breakdowns: breakdowns(ctx)
168
+ home: { path: base, children: top(scanner.children(base), 25) },
169
+ breakdowns: breakdownDirs
159
170
  .filter((d) => scanner.lookup(d) !== null)
160
171
  .map((d) => ({ path: d, bytes: scanner.lookup(d), children: top(scanner.children(d), d === breakdowns(ctx)[0] ? 15 : 10) })),
161
172
  hogs: hogRows,
@@ -182,7 +193,7 @@ function formatReport(r) {
182
193
  const win = r.platform === 'win32';
183
194
 
184
195
  line(`Disk space report — ${r.localTime} — ${r.computer}`);
185
- line('(read-only scan; nothing was deleted)');
196
+ line(r.folder ? `(read-only scan of ${prettyPath(r.folder)} only; nothing was deleted)` : '(read-only scan; nothing was deleted)');
186
197
 
187
198
  header('1. VOLUMES');
188
199
  for (const v of r.volumes) {
@@ -194,18 +205,20 @@ function formatReport(r) {
194
205
  line(' APFS volumes on this Mac (space consumed):');
195
206
  for (const a of r.apfs) line(` ${human(a.bytes).padStart(10)} ${a.name}`);
196
207
  }
197
- if (r.platform === 'darwin') {
208
+ if (r.platform === 'darwin' && !r.folder) {
198
209
  line();
199
210
  line(` Local Time Machine snapshots: ${r.snapshots}`);
200
211
  }
201
212
 
202
213
  header('2. TOP-LEVEL BREAKDOWN (largest first)');
203
- for (const root of r.roots) row(root.bytes, root.home ? `${prettyPath(root.path)} (your home folder)` : root.path);
214
+ for (const root of r.roots) {
215
+ row(root.bytes, root.home ? `${prettyPath(root.path)} (your home folder)` : root.folder ? `${prettyPath(root.path)} (scanned folder)` : root.path);
216
+ }
204
217
  if (r.other !== null) {
205
218
  row(r.other, win ? 'Everything else (Windows, page file, restore points, unreadable folders)' : 'Everything else (system files, snapshots, unreadable folders)');
206
219
  }
207
220
 
208
- header(`3. HOME FOLDER — ${r.home.children.length} largest items`);
221
+ header(`3. ${r.folder ? `FOLDER ${prettyPath(r.folder)}` : 'HOME FOLDER'} — ${r.home.children.length} largest items`);
209
222
  for (const c of r.home.children) row(c.bytes, prettyPath(c.path));
210
223
  for (const b of r.breakdowns) {
211
224
  line();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs-toolkit/agent",
3
- "version": "1.2.15",
3
+ "version": "1.2.18",
4
4
  "description": "Installs the Babylon Toolkit Desktop Agent for Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity.",
5
5
  "keywords": [
6
6
  "babylonjs",