@mmerterden/multi-agent-pipeline 24.3.2 → 24.4.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.
@@ -868,6 +868,19 @@ export function toolkitDoc() {
868
868
  return JSON.stringify({ toolkitVersion: v }, null, 2) + "\n";
869
869
  }
870
870
 
871
+ // What draws the floor. floor-model.js carries the numbers and the rules every
872
+ // renderer shares, so it comes first and the renderers read it as top-level
873
+ // names.
874
+ export const RENDER_MODULES = [
875
+ "floor-model.js",
876
+ "portraits.js",
877
+ "world.js",
878
+ "gl.js",
879
+ "models.js",
880
+ "city.js",
881
+ "world3d.js",
882
+ ];
883
+
871
884
  // The panel around the floor, one file per concern, concatenated in this order
872
885
  // into the same scope as world.js. Order matters only for top-level code that
873
886
  // runs at load: a module may call a function declared in a later one, but a
@@ -1028,7 +1041,7 @@ export function build() {
1028
1041
  `const EMPLOYEES = ${JSON.stringify(staff.people)};`,
1029
1042
  `const COMMAND_ROUTES = ${JSON.stringify(JSON.parse(read("command-routes.json")))};`,
1030
1043
  'const spriteUrl = (name) => "/office/assets/" + name + ".png";',
1031
- read("world.js").trim(),
1044
+ ...RENDER_MODULES.map((f) => read(f).replace(LINT_DIRECTIVES, "").trim()),
1032
1045
  appSource(),
1033
1046
  "})();",
1034
1047
  ].join("\n");