@nine-lab/nine-mu 0.1.360 → 0.1.361

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.359"}/dist/css/nine-mu.css";
17541
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.360"}/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.359"}/dist/css/nine-mu.css";
43791
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.360"}/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.359"}/dist/css/nine-mu.css";
43931
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.360"}/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.359"}/dist/css/nine-mu.css";
44040
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.360"}/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.359"}/dist/css/nine-mu.css";
44370
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.360"}/dist/css/nine-mu.css";
44371
44371
  ${customImport}
44372
44372
  </style>
44373
44373
 
@@ -44471,64 +44471,67 @@ const NineExceptionStyles = {
44471
44471
  flexGrow: 1,
44472
44472
  padding: "25px",
44473
44473
  background: "#121314",
44474
- // ⭐ 모든 요소가 완벽한 터미널 정렬을 갖추도록 고정폭 서체를 부모에 강제 주입
44474
+ // 터미널 다크 블랙 배경
44475
+ // ⭐ 모든 요소의 폰트 크기, 패딩, 높이 기준을 부모 레벨에서 완벽히 통일
44475
44476
  fontFamily: 'Consolas, Monaco, "Courier New", monospace',
44477
+ fontSize: "14px",
44478
+ lineHeight: "1.6",
44479
+ // 줄간격을 터미널 배시 화면 비율(1.6)로 고정
44480
+ color: "#999",
44481
+ // 기본 텍스트 색상 #999 적용
44476
44482
  textAlign: "left",
44477
44483
  boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
44478
- // 내부 라인들을 인라인 텍스트 흐름처럼 촘촘하게 쌓기 위해 flex 간격 조정
44479
- display: "flex",
44480
- flexDirection: "column",
44481
- gap: "10px",
44482
- // 줄간 간격을 10px로 타이트하게 조여 터미널 감성 극대화
44483
- lineHeight: "1.2"
44484
- // 모든 라인의 글자 높이 기준 통일
44484
+ boxSizing: "border-box"
44485
44485
  },
44486
+ // 1. 모든 라인의 display 형식을 'block'으로 맞추고 마진/패딩을 0으로 통일
44486
44487
  systemError: {
44487
44488
  color: "#999",
44488
- // 요청하신 대로 #999 색상 지정
44489
44489
  fontWeight: "bold",
44490
- fontSize: "14px",
44491
44490
  margin: "0",
44492
- // 수동 마진 제거 (부모 gap으로 일괄 제어)
44493
- letterSpacing: "0.5px",
44494
- padding: "0"
44491
+ padding: "0",
44492
+ display: "block"
44495
44493
  },
44494
+ // 2. 에러 본문 텍스트도 불필요한 속성을 다 버리고 일반 라인과 똑같이 흐르게 교정
44496
44495
  pre: {
44497
44496
  background: "transparent",
44498
44497
  color: "#666",
44498
+ // aa is not defined는 요청하신 #666 적용
44499
44499
  padding: "0",
44500
44500
  margin: "0",
44501
- // pre 태그 고유의 불규칙한 여백 완전 제거
44502
44501
  border: "none",
44503
44502
  overflowX: "auto",
44504
44503
  whiteSpace: "pre-wrap",
44505
- fontFamily: "Consolas, Monaco, monospace",
44506
- fontSize: "14px",
44504
+ fontFamily: "inherit",
44505
+ // 부모 폰트 그대로 상속
44506
+ fontSize: "inherit",
44507
+ // 부모 크기 그대로 상속
44508
+ display: "block"
44509
+ },
44510
+ // 3. 에러 위치 추적 라인
44511
+ locationRow: {
44512
+ color: "#666",
44513
+ margin: "0",
44514
+ padding: "0",
44507
44515
  display: "block"
44508
44516
  },
44517
+ // 4. 하단 영역의 flex와 gap을 완전히 제거하여 줄간격 왜곡 원천 차단
44509
44518
  footer: {
44510
- fontSize: "14px",
44511
- color: "#999",
44512
44519
  margin: "0",
44513
44520
  padding: "0",
44514
- display: "flex",
44515
- flexDirection: "column",
44516
- gap: "10px"
44517
- // 후속 로그가 찍힐 때도 동일한 간격 유지
44521
+ display: "block"
44518
44522
  },
44519
44523
  promptRow: {
44520
44524
  margin: "0",
44521
44525
  padding: "0",
44522
44526
  display: "block",
44523
44527
  color: "#999"
44524
- // 대화형 구문도 완벽하게 #999 색상 일치
44525
44528
  },
44526
44529
  cliLink: {
44527
44530
  color: "#38A169",
44528
- // 선택지 y 선명한 터미널 그린
44529
- padding: "0 2px",
44530
- fontFamily: "Consolas, Monaco, monospace",
44531
- fontSize: "14px",
44531
+ // y 링크 터미널 그린
44532
+ padding: "0",
44533
+ fontFamily: "inherit",
44534
+ fontSize: "inherit",
44532
44535
  fontWeight: "bold",
44533
44536
  cursor: "pointer",
44534
44537
  textDecoration: "underline",
@@ -44621,21 +44624,21 @@ class NineExceptionHook extends React.Component {
44621
44624
  {
44622
44625
  style: { ...NineExceptionStyles.container, ...customStyles.container, ...this.props.containerStyle }
44623
44626
  },
44624
- // 1. 에러 감지 로그
44627
+ // 1. [SYSTEM] 라인
44625
44628
  React.createElement(
44626
44629
  "div",
44627
44630
  { style: { ...NineExceptionStyles.systemError, ...customStyles.systemError } },
44628
44631
  "[SYSTEM] COMPONENT RENDER ERROR DETECTED"
44629
44632
  ),
44630
- // 2. 에러 내용 (aa is not defined)
44633
+ // 2. aa is not defined 라인
44631
44634
  React.createElement("pre", { style: { ...NineExceptionStyles.pre, ...customStyles.pre } }, errorMessage),
44632
- // 3. [추가] 파싱된 에러 발생 파일명 및 라인 위치 (터미널 그레이 색상 매칭)
44635
+ // 3. at MemberUsers 라인
44633
44636
  errorLocation && React.createElement(
44634
44637
  "div",
44635
- { style: { color: "#666", fontSize: "14px", margin: "0 0 12px 0", fontFamily: "Consolas, Monaco, monospace", lineHeight: "1" } },
44638
+ { style: { ...NineExceptionStyles.locationRow, ...customStyles.locationRow } },
44636
44639
  ` at ${errorLocation}`
44637
44640
  ),
44638
- // 4. CLI 프롬프트 영역
44641
+ // 4. CLI 프롬프트 및 후속 결과 라인 영역
44639
44642
  React.createElement(
44640
44643
  "div",
44641
44644
  { style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
@@ -44653,16 +44656,17 @@ class NineExceptionHook extends React.Component {
44653
44656
  ),
44654
44657
  React.createElement("span", null, "/n)?")
44655
44658
  ),
44659
+ // display: 'block'과 margin/padding 0을 주어 다른 라인들과 오차 없이 간격을 맞춤
44656
44660
  this.state.reportStatus === "sending" && React.createElement(
44657
44661
  "div",
44658
- { style: { color: "#ED8936", margin: "0", lineHeight: "1" } },
44662
+ { style: { color: "#ED8936", margin: "0", padding: "0", display: "block" } },
44659
44663
  ">> Connecting to Control Tower... Sending payload."
44660
44664
  ),
44661
44665
  this.state.reportStatus === "success" && React.createElement(
44662
44666
  "div",
44663
- { style: { display: "flex", flexDirection: "column", gap: "12px", margin: "0" } },
44664
- React.createElement("div", { style: { color: "#38A169", fontWeight: "bold", lineHeight: "1" } }, ">> Transmit complete. Core engine initialized."),
44665
- React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px", lineHeight: "1" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
44667
+ { style: { margin: "0", padding: "0", display: "block" } },
44668
+ React.createElement("div", { style: { color: "#38A169", fontWeight: "bold", display: "block", margin: "0" } }, ">> Transmit complete. Core engine initialized."),
44669
+ React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px", display: "block", margin: "4px 0 0 0" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
44666
44670
  )
44667
44671
  )
44668
44672
  );
@@ -44671,7 +44675,7 @@ class NineExceptionHook extends React.Component {
44671
44675
  }
44672
44676
  }
44673
44677
  const NineMu = {
44674
- version: "0.1.359",
44678
+ version: "0.1.360",
44675
44679
  init: (config2) => {
44676
44680
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44677
44681
  }