@nine-lab/nine-mu 0.1.348 → 0.1.350

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/dist/nine-mu.js CHANGED
@@ -17538,7 +17538,7 @@ render_fn = function() {
17538
17538
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
17539
17539
  this.shadowRoot.innerHTML = `
17540
17540
  <style>
17541
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.347"}/dist/css/nine-mu.css";
17541
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.349"}/dist/css/nine-mu.css";
17542
17542
  ${customImport}
17543
17543
  </style>
17544
17544
  <div class="wrapper">
@@ -43788,7 +43788,7 @@ class NineDiff extends HTMLElement {
43788
43788
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
43789
43789
  this.shadowRoot.innerHTML = `
43790
43790
  <style>
43791
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.347"}/dist/css/nine-mu.css";
43791
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.349"}/dist/css/nine-mu.css";
43792
43792
  ${customImport}
43793
43793
  </style>
43794
43794
 
@@ -43928,7 +43928,7 @@ renderScaffolding_fn = function() {
43928
43928
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43929
43929
  this.shadowRoot.innerHTML = `
43930
43930
  <style>
43931
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.347"}/dist/css/nine-mu.css";
43931
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.349"}/dist/css/nine-mu.css";
43932
43932
  ${customImport}
43933
43933
  </style>
43934
43934
 
@@ -44037,7 +44037,7 @@ render_fn2 = function() {
44037
44037
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44038
44038
  this.shadowRoot.innerHTML = `
44039
44039
  <style>
44040
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.347"}/dist/css/nine-mu.css";
44040
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.349"}/dist/css/nine-mu.css";
44041
44041
  ${customImport}
44042
44042
  </style>
44043
44043
 
@@ -44367,7 +44367,7 @@ class ChatMessageBody extends HTMLElement {
44367
44367
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
44368
44368
  this.shadowRoot.innerHTML = `
44369
44369
  <style>
44370
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.347"}/dist/css/nine-mu.css";
44370
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.349"}/dist/css/nine-mu.css";
44371
44371
  ${customImport}
44372
44372
  </style>
44373
44373
 
@@ -44469,38 +44469,54 @@ const NineExceptionStyles = {
44469
44469
  container: {
44470
44470
  padding: "30px",
44471
44471
  margin: "20px",
44472
- background: "#FFF5F5",
44473
- border: "1px solid #FEB2B2",
44474
- borderRadius: "8px",
44475
- fontFamily: "sans-serif",
44476
- textAlign: "left"
44472
+ background: "#121314",
44473
+ // 터미널 다크 블랙 배경
44474
+ border: "1px solid #343A40",
44475
+ // 소프트한 메탈릭 테두리
44476
+ borderRadius: "6px",
44477
+ fontFamily: 'Consolas, Monaco, "Courier New", monospace',
44478
+ // 터미널 고정폭 글꼴 우선
44479
+ textAlign: "left",
44480
+ boxShadow: "0 4px 12px rgba(0,0,0,0.3)"
44481
+ // 터미널 윈도우 입체감
44477
44482
  },
44478
44483
  title: {
44479
- color: "#C53030",
44484
+ color: "#FFFFFF",
44485
+ // 화이트 타이틀
44480
44486
  marginTop: 0,
44481
- fontSize: "18px",
44487
+ fontSize: "16px",
44488
+ fontWeight: "600",
44482
44489
  display: "flex",
44483
44490
  alignItems: "center",
44484
- gap: "8px"
44491
+ gap: "8px",
44492
+ borderBottom: "1px solid #2D3139",
44493
+ // 상단 바 구분선 느낌
44494
+ paddingBottom: "12px"
44485
44495
  },
44486
44496
  label: {
44487
- margin: "10px 0 5px 0",
44497
+ margin: "15px 0 8px 0",
44488
44498
  fontWeight: "bold",
44489
- color: "#4A5568"
44499
+ color: "#A0AEC0",
44500
+ // 프롬프트 서브 텍스트 (연한 그레이)
44501
+ fontSize: "13px"
44490
44502
  },
44491
44503
  pre: {
44492
- background: "#1A202C",
44493
- color: "#EDF2F7",
44504
+ background: "#1A1C1E",
44505
+ // 코드 블록 내부의 살짝 더 깊은 블랙
44506
+ color: "#F8F9FA",
44507
+ // 에러 로그 화이트 출력
44494
44508
  padding: "15px",
44495
- borderRadius: "6px",
44509
+ borderRadius: "4px",
44510
+ border: "1px solid #2A2D30",
44496
44511
  overflowX: "auto",
44497
44512
  whiteSpace: "pre-wrap",
44498
- fontFamily: "monospace",
44499
- fontSize: "14px"
44513
+ fontFamily: "Consolas, Monaco, monospace",
44514
+ fontSize: "13px",
44515
+ lineHeight: "1.5"
44500
44516
  },
44501
44517
  footer: {
44502
- marginTop: "15px",
44503
- fontSize: "14px",
44518
+ marginTop: "20px",
44519
+ fontSize: "13px",
44504
44520
  color: "#718096",
44505
44521
  display: "flex",
44506
44522
  flexDirection: "column",
@@ -44509,14 +44525,17 @@ const NineExceptionStyles = {
44509
44525
  button: {
44510
44526
  padding: "10px 16px",
44511
44527
  background: "#E53E3E",
44528
+ // 버튼의 고유 아이덴티티 유지 (레드)
44512
44529
  color: "#FFFFFF",
44513
44530
  border: "none",
44514
- borderRadius: "6px",
44531
+ borderRadius: "4px",
44515
44532
  cursor: "pointer",
44516
44533
  fontWeight: "bold",
44517
- fontSize: "14px",
44534
+ fontSize: "13px",
44518
44535
  alignSelf: "flex-start",
44519
- transition: "background 0.2s"
44536
+ transition: "background 0.2s",
44537
+ fontFamily: "sans-serif"
44538
+ // 버튼 텍스트는 일반 폰트로 가독성 확보
44520
44539
  }
44521
44540
  };
44522
44541
  class NineExceptionHook extends React.Component {
@@ -44547,13 +44566,12 @@ class NineExceptionHook extends React.Component {
44547
44566
  handleLocationChange() {
44548
44567
  setTimeout(() => {
44549
44568
  if (this.state.hasError && this.lastPath !== window.location.pathname) {
44550
- console.log("[Nine-Library] 페이지 주소 변경 감지 -> 리액트 에러 상태 초기화");
44569
+ console.log("[Nine-Library] 페이지 주소 변경 감지 -> 리액트 에러 상태 초기화");
44551
44570
  this.lastPath = window.location.pathname;
44552
44571
  this.setState({ hasError: false, error: null, reportStatus: "idle" });
44553
44572
  }
44554
44573
  }, 10);
44555
44574
  }
44556
- // 🚀 버튼 클릭 시 실행될 관제탑 수동 신고 핸들러
44557
44575
  handleReport() {
44558
44576
  var _a2;
44559
44577
  if (this.state.reportStatus !== "idle") return;
@@ -44563,7 +44581,7 @@ class NineExceptionHook extends React.Component {
44563
44581
  if (window.triggerAutoRecovery) {
44564
44582
  window.triggerAutoRecovery(errorMessage);
44565
44583
  } else {
44566
- console.warn("⚠️ [Nine-Library] window.triggerAutoRecovery 가 정의되지 않았습니다.");
44584
+ console.warn("[Nine-Library] window.triggerAutoRecovery 가 정의되지 않았습니다.");
44567
44585
  }
44568
44586
  this.setState({ reportStatus: "success" });
44569
44587
  }, 500);
@@ -44578,16 +44596,35 @@ class NineExceptionHook extends React.Component {
44578
44596
  const customStyles = this.props.styles || {};
44579
44597
  let buttonText = "🚀 관제탑에 에러 피드백 전송하기";
44580
44598
  if (this.state.reportStatus === "sending") buttonText = "⏳ 관제탑 연락 중...";
44581
- if (this.state.reportStatus === "success") buttonText = "✅ 전송 완료! AI 분석을 시작합니다.";
44599
+ if (this.state.reportStatus === "success") buttonText = "✅ 전송 완료! AI 분석 시작";
44582
44600
  return React.createElement(
44583
44601
  "div",
44584
44602
  {
44585
44603
  style: { ...NineExceptionStyles.container, ...customStyles.container, ...this.props.containerStyle }
44586
44604
  },
44587
- React.createElement("h3", { style: { ...NineExceptionStyles.title, ...customStyles.title } }, "⚠️ 컴포넌트 빌드/렌더링 에러 감지"),
44588
- React.createElement("p", { style: { ...NineExceptionStyles.label, ...customStyles.label } }, "[에러 원인 로그]:"),
44605
+ // 1. 상단 프롬프트 헤더 (시스템 상태 알림)
44606
+ React.createElement(
44607
+ "div",
44608
+ { style: { ...NineExceptionStyles.title, ...customStyles.title } },
44609
+ React.createElement("span", { style: { color: "#38A169", marginRight: "5px" } }, "nandoo@nine-mu:~$"),
44610
+ "./system-check --status"
44611
+ ),
44612
+ // 2. 시스템 에러 감지 출력 로그
44613
+ React.createElement(
44614
+ "div",
44615
+ { style: { color: "#E53E3E", fontSize: "14px", margin: "15px 0 5px 0", fontWeight: "bold", letterSpacing: "0.5px" } },
44616
+ "[SYSTEM] COMPONENT RENDER ERROR DETECTED"
44617
+ ),
44618
+ // 3. 명령어 입력 시뮬레이션 ($ cat error.log)
44619
+ React.createElement(
44620
+ "p",
44621
+ { style: { ...NineExceptionStyles.label, ...customStyles.label } },
44622
+ React.createElement("span", { style: { color: "#3182CE", marginRight: "6px" } }, "nandoo@nine-mu:~$"),
44623
+ "cat error.log"
44624
+ ),
44625
+ // 4. 에러 내용 본문 박스
44589
44626
  React.createElement("pre", { style: { ...NineExceptionStyles.pre, ...customStyles.pre } }, errorMessage),
44590
- // 하단 안내 영역 수동 전송 버튼
44627
+ // 5. 하단 버튼피드백 영역
44591
44628
  React.createElement(
44592
44629
  "div",
44593
44630
  { style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
@@ -44607,8 +44644,8 @@ class NineExceptionHook extends React.Component {
44607
44644
  ),
44608
44645
  this.state.reportStatus === "success" && React.createElement(
44609
44646
  "div",
44610
- { style: { color: "#4A5568", fontSize: "13px", marginTop: "5px" } },
44611
- "🔄 AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요..."
44647
+ { style: { color: "#CBD5E0", fontSize: "13px", marginTop: "5px", fontStyle: "italic" } },
44648
+ ">> AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요..."
44612
44649
  )
44613
44650
  )
44614
44651
  );
@@ -44617,7 +44654,7 @@ class NineExceptionHook extends React.Component {
44617
44654
  }
44618
44655
  }
44619
44656
  const NineMu = {
44620
- version: "0.1.347",
44657
+ version: "0.1.349",
44621
44658
  init: (config2) => {
44622
44659
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44623
44660
  }