@nine-lab/nine-mu 0.1.384 β†’ 0.1.385

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.384",
3
+ "version": "0.1.385",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -241,15 +241,23 @@ export function NineHook({ children, menuUrl, views, error404, onCatch, fallback
241
241
  };
242
242
  }, [menuUrl]);
243
243
 
244
+ // 🎯 [핡심 ꡐ정]: 졜초 fetchκ°€ μ™„λ£Œλ˜κΈ° μ „(데이터가 없을 λ•Œ)μ—λŠ” λ Œλ”λ§μ„ μž μ‹œ 멈μΆ₯λ‹ˆλ‹€.
245
+ if (!menuData || menuData.length === 0) {
246
+ return React.createElement(
247
+ 'div',
248
+ { style: { padding: '25px', color: '#666', fontFamily: 'monospace', background: '#121314', minHeight: '100vh' } },
249
+ '>> Initializing menu matrix telemetry...'
250
+ );
251
+ }
252
+
244
253
  const dynamicRoutes = createDynamicRoutes(menuData, views, error404);
245
254
 
246
255
  return React.createElement(
247
256
  ScreenProvider,
248
- { menuData }, // 🎯 이 μ „μ—­ μ»¨ν…μŠ€νŠΈ κ³΅κΈ‰μžκ°€ κ°μ‹ΈλŠ” λ²”μœ„λ₯Ό λŒ€ν­ λ„“νž™λ‹ˆλ‹€.
257
+ { menuData },
249
258
  React.createElement(
250
259
  NineExceptionHook,
251
260
  { onCatch, fallback, styles, containerStyle },
252
- // πŸ’‘ [λ ˆμ΄μ•„μ›ƒ μœ μ—°μ„± 확보]: Routes λ°”κΉ₯의 μ»΄ν¬λ„ŒνŠΈ(예: LeftMenu)κ°€ μžˆλ‹€λ©΄ 여기에 λ¨Όμ € λΏŒλ €μ€λ‹ˆλ‹€.
253
261
  children,
254
262
  React.createElement(
255
263
  Suspense,