@nine-lab/nine-mu 0.1.354 → 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 +34 -24
- 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 +22 -17
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.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|
@@ -44477,56 +44477,66 @@ const NineExceptionStyles = {
|
|
|
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
|
|
44481
|
-
//
|
|
44480
|
+
lineHeight: "1"
|
|
44481
|
+
// 부모 라인 높이 통일
|
|
44482
44482
|
},
|
|
44483
44483
|
systemError: {
|
|
44484
|
-
color: "
|
|
44485
|
-
//
|
|
44484
|
+
color: "red",
|
|
44485
|
+
// [SYSTEM] 강렬한 레드 유지
|
|
44486
44486
|
fontWeight: "bold",
|
|
44487
44487
|
fontSize: "14px",
|
|
44488
44488
|
margin: "0 0 12px 0",
|
|
44489
|
-
//
|
|
44489
|
+
// 정확히 하단 여백 12px
|
|
44490
44490
|
letterSpacing: "0.5px",
|
|
44491
|
-
padding: "0"
|
|
44491
|
+
padding: "0",
|
|
44492
|
+
lineHeight: "1"
|
|
44493
|
+
// 줄간 격차 원천 차단
|
|
44492
44494
|
},
|
|
44493
44495
|
pre: {
|
|
44494
44496
|
background: "transparent",
|
|
44495
44497
|
color: "#F8F9FA",
|
|
44496
44498
|
padding: "0",
|
|
44497
44499
|
margin: "0 0 12px 0",
|
|
44498
|
-
//
|
|
44500
|
+
// 정확히 하단 여백 12px
|
|
44499
44501
|
border: "none",
|
|
44500
44502
|
overflowX: "auto",
|
|
44501
44503
|
whiteSpace: "pre-wrap",
|
|
44502
44504
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44503
|
-
fontSize: "14px"
|
|
44505
|
+
fontSize: "14px",
|
|
44506
|
+
lineHeight: "1"
|
|
44507
|
+
// 줄간 격차 원천 차단
|
|
44504
44508
|
},
|
|
44505
44509
|
footer: {
|
|
44506
44510
|
fontSize: "14px",
|
|
44507
|
-
color: "#
|
|
44511
|
+
color: "#999",
|
|
44512
|
+
// ⭐ 전체 기본 텍스트 톤을 #999로 변경
|
|
44508
44513
|
margin: "0",
|
|
44509
44514
|
padding: "0",
|
|
44510
44515
|
display: "flex",
|
|
44511
44516
|
flexDirection: "column",
|
|
44512
44517
|
gap: "12px"
|
|
44513
|
-
//
|
|
44518
|
+
// 하단 상태 로그 적재 시 간격 12px
|
|
44514
44519
|
},
|
|
44515
44520
|
promptRow: {
|
|
44516
44521
|
margin: "0",
|
|
44517
44522
|
padding: "0",
|
|
44518
|
-
display: "block"
|
|
44523
|
+
display: "block",
|
|
44524
|
+
lineHeight: "1",
|
|
44525
|
+
// 줄간 격차 원천 차단
|
|
44526
|
+
color: "#999"
|
|
44527
|
+
// ⭐ 괄호 및 텍스트 전체 #999 적용
|
|
44519
44528
|
},
|
|
44520
44529
|
cliLink: {
|
|
44521
44530
|
color: "#38A169",
|
|
44522
|
-
// 터미널 그린
|
|
44531
|
+
// 선택 수단 y는 터미널 그린 유지
|
|
44523
44532
|
padding: "0",
|
|
44524
44533
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44525
44534
|
fontSize: "14px",
|
|
44526
44535
|
fontWeight: "bold",
|
|
44527
44536
|
cursor: "pointer",
|
|
44528
44537
|
textDecoration: "underline",
|
|
44529
|
-
textUnderlineOffset: "3px"
|
|
44538
|
+
textUnderlineOffset: "3px",
|
|
44539
|
+
lineHeight: "1"
|
|
44530
44540
|
}
|
|
44531
44541
|
};
|
|
44532
44542
|
class NineExceptionHook extends React.Component {
|
|
@@ -44567,7 +44577,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44567
44577
|
}
|
|
44568
44578
|
handleLocationChange() {
|
|
44569
44579
|
setTimeout(() => {
|
|
44570
|
-
if (this.state.hasError && this.
|
|
44580
|
+
if (this.state.hasError && this.state.reportStatus !== "idle") {
|
|
44571
44581
|
console.log("[Nine-Library] 페이지 주소 변경 감지 -> 에러 상태 초기화");
|
|
44572
44582
|
this.lastPath = window.location.pathname;
|
|
44573
44583
|
this.setState({ hasError: false, error: null, reportStatus: "idle" });
|
|
@@ -44615,7 +44625,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44615
44625
|
{ style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
|
|
44616
44626
|
this.state.reportStatus === "idle" && React.createElement(
|
|
44617
44627
|
"div",
|
|
44618
|
-
{ style: NineExceptionStyles.promptRow },
|
|
44628
|
+
{ style: { ...NineExceptionStyles.promptRow, ...customStyles.promptRow } },
|
|
44619
44629
|
React.createElement("span", null, "Send error log to Control Tower ("),
|
|
44620
44630
|
React.createElement(
|
|
44621
44631
|
"span",
|
|
@@ -44629,14 +44639,14 @@ class NineExceptionHook extends React.Component {
|
|
|
44629
44639
|
),
|
|
44630
44640
|
this.state.reportStatus === "sending" && React.createElement(
|
|
44631
44641
|
"div",
|
|
44632
|
-
{ style: { color: "#ED8936", margin: "0" } },
|
|
44642
|
+
{ style: { color: "#ED8936", margin: "0", lineHeight: "1" } },
|
|
44633
44643
|
">> Connecting to Control Tower... Sending payload."
|
|
44634
44644
|
),
|
|
44635
44645
|
this.state.reportStatus === "success" && React.createElement(
|
|
44636
44646
|
"div",
|
|
44637
44647
|
{ 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가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
|
|
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가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
|
|
44640
44650
|
)
|
|
44641
44651
|
)
|
|
44642
44652
|
);
|
|
@@ -44645,7 +44655,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44645
44655
|
}
|
|
44646
44656
|
}
|
|
44647
44657
|
const NineMu = {
|
|
44648
|
-
version: "0.1.
|
|
44658
|
+
version: "0.1.354",
|
|
44649
44659
|
init: (config2) => {
|
|
44650
44660
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44651
44661
|
}
|