@nine-lab/nine-mu 0.1.353 → 0.1.355

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.352"}/dist/css/nine-mu.css";
17541
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.354"}/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.352"}/dist/css/nine-mu.css";
43791
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.354"}/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.352"}/dist/css/nine-mu.css";
43931
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.354"}/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.352"}/dist/css/nine-mu.css";
44040
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.354"}/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.352"}/dist/css/nine-mu.css";
44370
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.354"}/dist/css/nine-mu.css";
44371
44371
  ${customImport}
44372
44372
  </style>
44373
44373
 
@@ -44472,63 +44472,71 @@ const NineExceptionStyles = {
44472
44472
  background: "#121314",
44473
44473
  // 터미널 다크 블랙 배경
44474
44474
  border: "1px solid #343A40",
44475
- // 외곽 메탈릭 테두리
44475
+ // 외곽 테두리
44476
44476
  borderRadius: "6px",
44477
44477
  fontFamily: 'Consolas, Monaco, "Courier New", monospace',
44478
44478
  textAlign: "left",
44479
44479
  boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
44480
- lineHeight: "1.2"
44481
- // 줄간격을 터미널처럼 촘촘하게 제어
44480
+ lineHeight: "1"
44481
+ // 부모 라인 높이 통일
44482
44482
  },
44483
44483
  systemError: {
44484
- color: "#E53E3E",
44485
- // 터미널 레드 Warning
44484
+ color: "red",
44485
+ // [SYSTEM] 강렬한 레드 유지
44486
44486
  fontWeight: "bold",
44487
44487
  fontSize: "14px",
44488
- margin: "0 0 8px 0",
44489
- // 하단 마진 축소
44490
- letterSpacing: "0.5px"
44488
+ margin: "0 0 12px 0",
44489
+ // 정확히 하단 여백 12px
44490
+ letterSpacing: "0.5px",
44491
+ padding: "0",
44492
+ lineHeight: "1"
44493
+ // 줄간 격차 원천 차단
44491
44494
  },
44492
44495
  pre: {
44493
44496
  background: "transparent",
44494
44497
  color: "#F8F9FA",
44495
44498
  padding: "0",
44496
44499
  margin: "0 0 12px 0",
44497
- // 하단 마진 축소하여 다음 라인과 밀착
44500
+ // 정확히 하단 여백 12px
44498
44501
  border: "none",
44499
44502
  overflowX: "auto",
44500
44503
  whiteSpace: "pre-wrap",
44501
44504
  fontFamily: "Consolas, Monaco, monospace",
44502
- fontSize: "14px"
44505
+ fontSize: "14px",
44506
+ lineHeight: "1"
44507
+ // 줄간 격차 원천 차단
44503
44508
  },
44504
44509
  footer: {
44505
44510
  fontSize: "14px",
44506
- color: "#E2E8F0",
44511
+ color: "#999",
44512
+ // ⭐ 전체 기본 텍스트 톤을 #999로 변경
44507
44513
  margin: "0",
44508
- // 불필요한 공백 제거
44514
+ padding: "0",
44509
44515
  display: "flex",
44510
44516
  flexDirection: "column",
44511
- gap: "6px"
44517
+ gap: "12px"
44518
+ // 하단 상태 로그 적재 시 간격 12px
44512
44519
  },
44513
44520
  promptRow: {
44521
+ margin: "0",
44522
+ padding: "0",
44514
44523
  display: "block",
44515
- // 자연스러운 텍스트 흐름을 위해 block 처리
44516
- margin: "0"
44524
+ lineHeight: "1",
44525
+ // 줄간 격차 원천 차단
44526
+ color: "#999"
44527
+ // ⭐ 괄호 및 텍스트 전체 #999 적용
44517
44528
  },
44518
- // ⭐ y 글자에 직접 바인딩할 터미널 링크 스타일
44519
44529
  cliLink: {
44520
- background: "transparent",
44521
44530
  color: "#38A169",
44522
- // 터미널 그린
44523
- border: "none",
44524
- padding: "0 2px",
44531
+ // 선택 수단 y는 터미널 그린 유지
44532
+ padding: "0",
44525
44533
  fontFamily: "Consolas, Monaco, monospace",
44526
44534
  fontSize: "14px",
44527
44535
  fontWeight: "bold",
44528
44536
  cursor: "pointer",
44529
44537
  textDecoration: "underline",
44530
- textUnderlineOffset: "2px",
44531
- display: "inline"
44538
+ textUnderlineOffset: "3px",
44539
+ lineHeight: "1"
44532
44540
  }
44533
44541
  };
44534
44542
  class NineExceptionHook extends React.Component {
@@ -44569,7 +44577,7 @@ class NineExceptionHook extends React.Component {
44569
44577
  }
44570
44578
  handleLocationChange() {
44571
44579
  setTimeout(() => {
44572
- if (this.state.hasError && this.lastPath !== window.location.pathname) {
44580
+ if (this.state.hasError && this.state.reportStatus !== "idle") {
44573
44581
  console.log("[Nine-Library] 페이지 주소 변경 감지 -> 에러 상태 초기화");
44574
44582
  this.lastPath = window.location.pathname;
44575
44583
  this.setState({ hasError: false, error: null, reportStatus: "idle" });
@@ -44609,18 +44617,18 @@ class NineExceptionHook extends React.Component {
44609
44617
  { style: { ...NineExceptionStyles.systemError, ...customStyles.systemError } },
44610
44618
  "[SYSTEM] COMPONENT RENDER ERROR DETECTED"
44611
44619
  ),
44612
- // 2. 에러 내용 (하단 마진을 줄여 다음 줄과 간격을 맞춤)
44620
+ // 2. 에러 내용
44613
44621
  React.createElement("pre", { style: { ...NineExceptionStyles.pre, ...customStyles.pre } }, errorMessage),
44614
- // 3. CLI 프롬프트 및 링크 영역
44622
+ // 3. CLI 프롬프트 영역
44615
44623
  React.createElement(
44616
44624
  "div",
44617
44625
  { style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
44618
44626
  this.state.reportStatus === "idle" && React.createElement(
44619
44627
  "div",
44620
- { style: NineExceptionStyles.promptRow },
44628
+ { style: { ...NineExceptionStyles.promptRow, ...customStyles.promptRow } },
44621
44629
  React.createElement("span", null, "Send error log to Control Tower ("),
44622
44630
  React.createElement(
44623
- "button",
44631
+ "span",
44624
44632
  {
44625
44633
  style: { ...NineExceptionStyles.cliLink, ...customStyles.cliLink },
44626
44634
  onClick: this.handleReport
@@ -44631,14 +44639,14 @@ class NineExceptionHook extends React.Component {
44631
44639
  ),
44632
44640
  this.state.reportStatus === "sending" && React.createElement(
44633
44641
  "div",
44634
- { style: { color: "#ED8936" } },
44642
+ { style: { color: "#ED8936", margin: "0", lineHeight: "1" } },
44635
44643
  ">> Connecting to Control Tower... Sending payload."
44636
44644
  ),
44637
44645
  this.state.reportStatus === "success" && React.createElement(
44638
44646
  "div",
44639
- { style: { display: "flex", flexDirection: "column", gap: "4px" } },
44640
- React.createElement("div", { style: { color: "#38A169", fontWeight: "bold" } }, ">> Transmit complete. Core engine initialized."),
44641
- React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
44647
+ { style: { display: "flex", flexDirection: "column", gap: "12px", margin: "0" } },
44648
+ React.createElement("div", { style: { color: "#38A169", fontWeight: "bold", lineHeight: "1" } }, ">> Transmit complete. Core engine initialized."),
44649
+ React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px", lineHeight: "1" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
44642
44650
  )
44643
44651
  )
44644
44652
  );
@@ -44647,7 +44655,7 @@ class NineExceptionHook extends React.Component {
44647
44655
  }
44648
44656
  }
44649
44657
  const NineMu = {
44650
- version: "0.1.352",
44658
+ version: "0.1.354",
44651
44659
  init: (config2) => {
44652
44660
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44653
44661
  }