@nine-lab/nine-mu 0.1.354 → 0.1.356
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 +33 -27
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/exception/ExceptionHook.js +24 -18
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.
|
|
17541
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.355"}/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.
|
|
43791
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.355"}/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.
|
|
43931
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.355"}/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.
|
|
44040
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.355"}/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.
|
|
44370
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.355"}/dist/css/nine-mu.css";
|
|
44371
44371
|
${customImport}
|
|
44372
44372
|
</style>
|
|
44373
44373
|
|
|
@@ -44470,23 +44470,21 @@ const NineExceptionStyles = {
|
|
|
44470
44470
|
padding: "25px",
|
|
44471
44471
|
margin: "20px",
|
|
44472
44472
|
background: "#121314",
|
|
44473
|
-
// 터미널 다크 블랙 배경
|
|
44474
44473
|
border: "1px solid #343A40",
|
|
44475
|
-
// 외곽 테두리
|
|
44476
44474
|
borderRadius: "6px",
|
|
44477
44475
|
fontFamily: 'Consolas, Monaco, "Courier New", monospace',
|
|
44478
44476
|
textAlign: "left",
|
|
44479
44477
|
boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
|
|
44480
|
-
|
|
44481
|
-
|
|
44478
|
+
// 1. 수정: 전체 내부 줄간격을 1.5 정도로 주어 터미널 특유의 쾌적하고 꽉 찬 느낌을 제공
|
|
44479
|
+
lineHeight: "1.5"
|
|
44482
44480
|
},
|
|
44483
44481
|
systemError: {
|
|
44484
|
-
color: "#
|
|
44485
|
-
//
|
|
44482
|
+
color: "#999",
|
|
44483
|
+
// 캡처 화면과 동일하게 #999 유지
|
|
44486
44484
|
fontWeight: "bold",
|
|
44487
44485
|
fontSize: "14px",
|
|
44488
|
-
margin: "0
|
|
44489
|
-
//
|
|
44486
|
+
margin: "0",
|
|
44487
|
+
// 2. 수정: 아래 마진을 없애서 순수 lineHeight로만 줄간격 통일
|
|
44490
44488
|
letterSpacing: "0.5px",
|
|
44491
44489
|
padding: "0"
|
|
44492
44490
|
},
|
|
@@ -44494,39 +44492,47 @@ const NineExceptionStyles = {
|
|
|
44494
44492
|
background: "transparent",
|
|
44495
44493
|
color: "#F8F9FA",
|
|
44496
44494
|
padding: "0",
|
|
44497
|
-
margin: "0
|
|
44498
|
-
//
|
|
44495
|
+
margin: "0",
|
|
44496
|
+
// 3. 수정: 아래 마진을 없애서 다음 줄과의 간격을 첫 줄 간격과 100% 일치시킴
|
|
44499
44497
|
border: "none",
|
|
44500
44498
|
overflowX: "auto",
|
|
44501
44499
|
whiteSpace: "pre-wrap",
|
|
44502
44500
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44503
|
-
fontSize: "14px"
|
|
44501
|
+
fontSize: "14px",
|
|
44502
|
+
// 4. 추가: 브라우저가 pre 태그에 임의로 잡는 베이스라인 정렬을 강제로 리셋
|
|
44503
|
+
display: "block"
|
|
44504
44504
|
},
|
|
44505
44505
|
footer: {
|
|
44506
44506
|
fontSize: "14px",
|
|
44507
|
-
color: "#
|
|
44507
|
+
color: "#999",
|
|
44508
|
+
// ⭐ 전체 기본 텍스트 톤을 #999로 변경
|
|
44508
44509
|
margin: "0",
|
|
44509
44510
|
padding: "0",
|
|
44510
44511
|
display: "flex",
|
|
44511
44512
|
flexDirection: "column",
|
|
44512
44513
|
gap: "12px"
|
|
44513
|
-
//
|
|
44514
|
+
// 하단 상태 로그 적재 시 간격 12px
|
|
44514
44515
|
},
|
|
44515
44516
|
promptRow: {
|
|
44516
44517
|
margin: "0",
|
|
44517
44518
|
padding: "0",
|
|
44518
|
-
display: "block"
|
|
44519
|
+
display: "block",
|
|
44520
|
+
lineHeight: "1",
|
|
44521
|
+
// 줄간 격차 원천 차단
|
|
44522
|
+
color: "#999"
|
|
44523
|
+
// ⭐ 괄호 및 텍스트 전체 #999 적용
|
|
44519
44524
|
},
|
|
44520
44525
|
cliLink: {
|
|
44521
44526
|
color: "#38A169",
|
|
44522
|
-
// 터미널 그린
|
|
44527
|
+
// 선택 수단 y는 터미널 그린 유지
|
|
44523
44528
|
padding: "0",
|
|
44524
44529
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44525
44530
|
fontSize: "14px",
|
|
44526
44531
|
fontWeight: "bold",
|
|
44527
44532
|
cursor: "pointer",
|
|
44528
44533
|
textDecoration: "underline",
|
|
44529
|
-
textUnderlineOffset: "3px"
|
|
44534
|
+
textUnderlineOffset: "3px",
|
|
44535
|
+
lineHeight: "1"
|
|
44530
44536
|
}
|
|
44531
44537
|
};
|
|
44532
44538
|
class NineExceptionHook extends React.Component {
|
|
@@ -44567,7 +44573,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44567
44573
|
}
|
|
44568
44574
|
handleLocationChange() {
|
|
44569
44575
|
setTimeout(() => {
|
|
44570
|
-
if (this.state.hasError && this.
|
|
44576
|
+
if (this.state.hasError && this.state.reportStatus !== "idle") {
|
|
44571
44577
|
console.log("[Nine-Library] 페이지 주소 변경 감지 -> 에러 상태 초기화");
|
|
44572
44578
|
this.lastPath = window.location.pathname;
|
|
44573
44579
|
this.setState({ hasError: false, error: null, reportStatus: "idle" });
|
|
@@ -44615,7 +44621,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44615
44621
|
{ style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
|
|
44616
44622
|
this.state.reportStatus === "idle" && React.createElement(
|
|
44617
44623
|
"div",
|
|
44618
|
-
{ style: NineExceptionStyles.promptRow },
|
|
44624
|
+
{ style: { ...NineExceptionStyles.promptRow, ...customStyles.promptRow } },
|
|
44619
44625
|
React.createElement("span", null, "Send error log to Control Tower ("),
|
|
44620
44626
|
React.createElement(
|
|
44621
44627
|
"span",
|
|
@@ -44629,14 +44635,14 @@ class NineExceptionHook extends React.Component {
|
|
|
44629
44635
|
),
|
|
44630
44636
|
this.state.reportStatus === "sending" && React.createElement(
|
|
44631
44637
|
"div",
|
|
44632
|
-
{ style: { color: "#ED8936", margin: "0" } },
|
|
44638
|
+
{ style: { color: "#ED8936", margin: "0", lineHeight: "1" } },
|
|
44633
44639
|
">> Connecting to Control Tower... Sending payload."
|
|
44634
44640
|
),
|
|
44635
44641
|
this.state.reportStatus === "success" && React.createElement(
|
|
44636
44642
|
"div",
|
|
44637
44643
|
{ style: { display: "flex", flexDirection: "column", gap: "12px", margin: "0" } },
|
|
44638
|
-
React.createElement("div", { style: { color: "#38A169", fontWeight: "bold" } }, ">> Transmit complete. Core engine initialized."),
|
|
44639
|
-
React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
|
|
44644
|
+
React.createElement("div", { style: { color: "#38A169", fontWeight: "bold", lineHeight: "1" } }, ">> Transmit complete. Core engine initialized."),
|
|
44645
|
+
React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px", lineHeight: "1" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
|
|
44640
44646
|
)
|
|
44641
44647
|
)
|
|
44642
44648
|
);
|
|
@@ -44645,7 +44651,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44645
44651
|
}
|
|
44646
44652
|
}
|
|
44647
44653
|
const NineMu = {
|
|
44648
|
-
version: "0.1.
|
|
44654
|
+
version: "0.1.355",
|
|
44649
44655
|
init: (config2) => {
|
|
44650
44656
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44651
44657
|
}
|