@nine-lab/nine-mu 0.1.352 → 0.1.354
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 +37 -35
- 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 +31 -32
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.353"}/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.353"}/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.353"}/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.353"}/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.353"}/dist/css/nine-mu.css";
|
|
44371
44371
|
${customImport}
|
|
44372
44372
|
</style>
|
|
44373
44373
|
|
|
@@ -44467,33 +44467,35 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44467
44467
|
}
|
|
44468
44468
|
const NineExceptionStyles = {
|
|
44469
44469
|
container: {
|
|
44470
|
-
padding: "
|
|
44470
|
+
padding: "25px",
|
|
44471
44471
|
margin: "20px",
|
|
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
|
-
// 완벽한 고정폭 서체
|
|
44479
44478
|
textAlign: "left",
|
|
44480
44479
|
boxShadow: "0 4px 12px rgba(0,0,0,0.3)",
|
|
44481
|
-
lineHeight: "1.
|
|
44480
|
+
lineHeight: "1.2"
|
|
44481
|
+
// 기본 줄높이를 고정하여 서체 왜곡 방지
|
|
44482
44482
|
},
|
|
44483
44483
|
systemError: {
|
|
44484
44484
|
color: "#E53E3E",
|
|
44485
|
-
//
|
|
44485
|
+
// 터미널 레드 Warning
|
|
44486
44486
|
fontWeight: "bold",
|
|
44487
44487
|
fontSize: "14px",
|
|
44488
|
-
margin: "0 0
|
|
44489
|
-
|
|
44488
|
+
margin: "0 0 12px 0",
|
|
44489
|
+
// ⭐ 첫 번째 줄 아래 여백 (12px)
|
|
44490
|
+
letterSpacing: "0.5px",
|
|
44491
|
+
padding: "0"
|
|
44490
44492
|
},
|
|
44491
|
-
// 내부 테두리 박스를 완전히 제거하고 순수 텍스트만 출력되도록 수정
|
|
44492
44493
|
pre: {
|
|
44493
44494
|
background: "transparent",
|
|
44494
44495
|
color: "#F8F9FA",
|
|
44495
44496
|
padding: "0",
|
|
44496
|
-
margin: "0 0
|
|
44497
|
+
margin: "0 0 12px 0",
|
|
44498
|
+
// ⭐ 브라우저 기본 마진을 지우고 정확히 하단 여백 12px 강제
|
|
44497
44499
|
border: "none",
|
|
44498
44500
|
overflowX: "auto",
|
|
44499
44501
|
whiteSpace: "pre-wrap",
|
|
@@ -44503,21 +44505,21 @@ const NineExceptionStyles = {
|
|
|
44503
44505
|
footer: {
|
|
44504
44506
|
fontSize: "14px",
|
|
44505
44507
|
color: "#E2E8F0",
|
|
44508
|
+
margin: "0",
|
|
44509
|
+
padding: "0",
|
|
44506
44510
|
display: "flex",
|
|
44507
44511
|
flexDirection: "column",
|
|
44508
|
-
gap: "
|
|
44512
|
+
gap: "12px"
|
|
44513
|
+
// ⭐ 상태 메시지들 간의 간격도 12px로 통일
|
|
44509
44514
|
},
|
|
44510
44515
|
promptRow: {
|
|
44511
|
-
|
|
44512
|
-
|
|
44513
|
-
|
|
44516
|
+
margin: "0",
|
|
44517
|
+
padding: "0",
|
|
44518
|
+
display: "block"
|
|
44514
44519
|
},
|
|
44515
|
-
|
|
44516
|
-
cliButton: {
|
|
44517
|
-
background: "transparent",
|
|
44520
|
+
cliLink: {
|
|
44518
44521
|
color: "#38A169",
|
|
44519
|
-
// 터미널 그린
|
|
44520
|
-
border: "none",
|
|
44522
|
+
// 터미널 그린
|
|
44521
44523
|
padding: "0",
|
|
44522
44524
|
fontFamily: "Consolas, Monaco, monospace",
|
|
44523
44525
|
fontSize: "14px",
|
|
@@ -44555,7 +44557,6 @@ class NineExceptionHook extends React.Component {
|
|
|
44555
44557
|
document.removeEventListener("click", this.handleLocationChange, true);
|
|
44556
44558
|
window.removeEventListener("keydown", this.handleKeyDown);
|
|
44557
44559
|
}
|
|
44558
|
-
// 실제 사용자가 키보드로 'Y' 또는 'y'를 누르면 마우스 클릭과 동일하게 관제탑 전송 실행
|
|
44559
44560
|
handleKeyDown(e) {
|
|
44560
44561
|
if (this.state.hasError && this.state.reportStatus === "idle") {
|
|
44561
44562
|
if (e.key === "y" || e.key === "Y") {
|
|
@@ -44600,39 +44601,40 @@ class NineExceptionHook extends React.Component {
|
|
|
44600
44601
|
{
|
|
44601
44602
|
style: { ...NineExceptionStyles.container, ...customStyles.container, ...this.props.containerStyle }
|
|
44602
44603
|
},
|
|
44603
|
-
// 1. 에러 감지
|
|
44604
|
+
// 1. 에러 감지 로그
|
|
44604
44605
|
React.createElement(
|
|
44605
44606
|
"div",
|
|
44606
44607
|
{ style: { ...NineExceptionStyles.systemError, ...customStyles.systemError } },
|
|
44607
44608
|
"[SYSTEM] COMPONENT RENDER ERROR DETECTED"
|
|
44608
44609
|
),
|
|
44609
|
-
// 2. 에러
|
|
44610
|
+
// 2. 에러 내용
|
|
44610
44611
|
React.createElement("pre", { style: { ...NineExceptionStyles.pre, ...customStyles.pre } }, errorMessage),
|
|
44611
|
-
// 3. CLI
|
|
44612
|
+
// 3. CLI 프롬프트 영역
|
|
44612
44613
|
React.createElement(
|
|
44613
44614
|
"div",
|
|
44614
44615
|
{ style: { ...NineExceptionStyles.footer, ...customStyles.footer } },
|
|
44615
44616
|
this.state.reportStatus === "idle" && React.createElement(
|
|
44616
44617
|
"div",
|
|
44617
44618
|
{ style: NineExceptionStyles.promptRow },
|
|
44618
|
-
React.createElement("span", null, "Send error log to Control Tower (
|
|
44619
|
+
React.createElement("span", null, "Send error log to Control Tower ("),
|
|
44619
44620
|
React.createElement(
|
|
44620
|
-
"
|
|
44621
|
+
"span",
|
|
44621
44622
|
{
|
|
44622
|
-
style: { ...NineExceptionStyles.
|
|
44623
|
+
style: { ...NineExceptionStyles.cliLink, ...customStyles.cliLink },
|
|
44623
44624
|
onClick: this.handleReport
|
|
44624
44625
|
},
|
|
44625
|
-
"
|
|
44626
|
-
)
|
|
44626
|
+
"y"
|
|
44627
|
+
),
|
|
44628
|
+
React.createElement("span", null, "/n)?")
|
|
44627
44629
|
),
|
|
44628
44630
|
this.state.reportStatus === "sending" && React.createElement(
|
|
44629
44631
|
"div",
|
|
44630
|
-
{ style: { color: "#ED8936" } },
|
|
44632
|
+
{ style: { color: "#ED8936", margin: "0" } },
|
|
44631
44633
|
">> Connecting to Control Tower... Sending payload."
|
|
44632
44634
|
),
|
|
44633
44635
|
this.state.reportStatus === "success" && React.createElement(
|
|
44634
44636
|
"div",
|
|
44635
|
-
{ style: { display: "flex", flexDirection: "column", gap: "
|
|
44637
|
+
{ style: { display: "flex", flexDirection: "column", gap: "12px", margin: "0" } },
|
|
44636
44638
|
React.createElement("div", { style: { color: "#38A169", fontWeight: "bold" } }, ">> Transmit complete. Core engine initialized."),
|
|
44637
44639
|
React.createElement("div", { style: { color: "#A0AEC0", fontStyle: "italic", fontSize: "13px" } }, "AI가 소스 코드를 재수정하는 동안 잠시만 기다려주세요...")
|
|
44638
44640
|
)
|
|
@@ -44643,7 +44645,7 @@ class NineExceptionHook extends React.Component {
|
|
|
44643
44645
|
}
|
|
44644
44646
|
}
|
|
44645
44647
|
const NineMu = {
|
|
44646
|
-
version: "0.1.
|
|
44648
|
+
version: "0.1.353",
|
|
44647
44649
|
init: (config2) => {
|
|
44648
44650
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44649
44651
|
}
|