@nine-lab/nine-mu 0.1.342 → 0.1.343
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 +41 -18
- 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 +33 -13
package/dist/nine-mu.js
CHANGED
|
@@ -17537,7 +17537,7 @@ render_fn = function() {
|
|
|
17537
17537
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
17538
17538
|
this.shadowRoot.innerHTML = `
|
|
17539
17539
|
<style>
|
|
17540
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17540
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
17541
17541
|
${customImport}
|
|
17542
17542
|
</style>
|
|
17543
17543
|
<div class="wrapper">
|
|
@@ -43787,7 +43787,7 @@ class NineDiff extends HTMLElement {
|
|
|
43787
43787
|
const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
|
|
43788
43788
|
this.shadowRoot.innerHTML = `
|
|
43789
43789
|
<style>
|
|
43790
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43790
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
43791
43791
|
${customImport}
|
|
43792
43792
|
</style>
|
|
43793
43793
|
|
|
@@ -43927,7 +43927,7 @@ renderScaffolding_fn = function() {
|
|
|
43927
43927
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43928
43928
|
this.shadowRoot.innerHTML = `
|
|
43929
43929
|
<style>
|
|
43930
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43930
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
43931
43931
|
${customImport}
|
|
43932
43932
|
</style>
|
|
43933
43933
|
|
|
@@ -44036,7 +44036,7 @@ render_fn2 = function() {
|
|
|
44036
44036
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44037
44037
|
this.shadowRoot.innerHTML = `
|
|
44038
44038
|
<style>
|
|
44039
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44039
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
44040
44040
|
${customImport}
|
|
44041
44041
|
</style>
|
|
44042
44042
|
|
|
@@ -44366,7 +44366,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44366
44366
|
const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
|
|
44367
44367
|
this.shadowRoot.innerHTML = `
|
|
44368
44368
|
<style>
|
|
44369
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44369
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
44370
44370
|
${customImport}
|
|
44371
44371
|
</style>
|
|
44372
44372
|
|
|
@@ -44476,11 +44476,29 @@ class ExceptionHook extends HTMLElement {
|
|
|
44476
44476
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44477
44477
|
this.shadowRoot.innerHTML = `
|
|
44478
44478
|
<style>
|
|
44479
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44479
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.342"}/dist/css/nine-mu.css";
|
|
44480
44480
|
${customImport}
|
|
44481
|
+
|
|
44482
|
+
:host {
|
|
44483
|
+
display: block;
|
|
44484
|
+
width: 100%;
|
|
44485
|
+
height: 100%;
|
|
44486
|
+
}
|
|
44487
|
+
/* 어떤 로딩 레이어가 돌고 있어도 뷰포트 기준 무조건 맨 앞(최상단)으로 빼버리는 절대 방어 클래스 */
|
|
44488
|
+
.nine-hook-full-overlay {
|
|
44489
|
+
position: fixed !important;
|
|
44490
|
+
top: 0 !important;
|
|
44491
|
+
left: 0 !important;
|
|
44492
|
+
width: 100vw !important;
|
|
44493
|
+
height: 100vh !important;
|
|
44494
|
+
box-sizing: border-box !important;
|
|
44495
|
+
background-color: #FFF5F5 !important;
|
|
44496
|
+
z-index: 99999999 !important;
|
|
44497
|
+
overflow: auto !important;
|
|
44498
|
+
}
|
|
44481
44499
|
</style>
|
|
44482
44500
|
|
|
44483
|
-
<div class="nine-hook-core">
|
|
44501
|
+
<div class="nine-hook-core" style="width: 100%; height: 100%;">
|
|
44484
44502
|
<slot></slot>
|
|
44485
44503
|
</div>
|
|
44486
44504
|
<div class="nine-exception-board"></div>
|
|
@@ -44527,7 +44545,7 @@ class ExceptionHook extends HTMLElement {
|
|
|
44527
44545
|
const coreContainer = this.shadowRoot.querySelector(".nine-hook-core");
|
|
44528
44546
|
if (coreContainer) coreContainer.style.display = "";
|
|
44529
44547
|
}
|
|
44530
|
-
},
|
|
44548
|
+
}, 50);
|
|
44531
44549
|
});
|
|
44532
44550
|
__privateAdd(this, _sendToAiAction, async (errorMessage, errorStack) => {
|
|
44533
44551
|
trace.log("🚀 [nine-exception-hook] AI 수정 요청 버튼 클릭됨");
|
|
@@ -44636,15 +44654,20 @@ renderError_fn = function(errorMessage, errorStack) {
|
|
|
44636
44654
|
return;
|
|
44637
44655
|
}
|
|
44638
44656
|
const errorHTML = `
|
|
44639
|
-
<div class="nine-
|
|
44640
|
-
<
|
|
44641
|
-
|
|
44642
|
-
|
|
44643
|
-
|
|
44644
|
-
|
|
44645
|
-
|
|
44646
|
-
|
|
44647
|
-
|
|
44657
|
+
<div class="nine-hook-full-overlay">
|
|
44658
|
+
<div class="nine-error-container" style="padding: 40px; max-width: 1200px; margin: 40px auto; font-family: sans-serif; background: white; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); text-align: left;">
|
|
44659
|
+
<h3 class="nine-error-title" style="color: #C53030; margin-top: 0; font-size: 22px; font-weight: 700; border-bottom: 2px solid #FED2D2; padding-bottom: 12px;">⚠️ 시스템 예외 감지 (${this.tagName.toLowerCase()})</h3>
|
|
44660
|
+
<p class="nine-error-label" style="font-weight: bold; margin: 20px 0 8px 0; color: #4A5568; font-size: 15px;">[에러 원인 로그]:</p>
|
|
44661
|
+
<pre class="nine-error-log" style="background: #1A202C; color: #EDF2F7; padding: 20px; border-radius: 6px; overflow-x: auto; white-space: pre-wrap; font-family: monospace; font-size: 14px; line-height: 1.6; margin-bottom: 25px;">${errorMessage}
|
|
44662
|
+
|
|
44663
|
+
[Stack Trace]
|
|
44664
|
+
${errorStack}</pre>
|
|
44665
|
+
|
|
44666
|
+
<div class="nine-action-area" style="display: flex; align-items: center; gap: 20px; border-top: 1px solid #E2E8F0; padding-top: 20px;">
|
|
44667
|
+
<button class="nine-ai-btn" style="background: #3182CE; color: white; border: none; padding: 14px 28px; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 16px; transition: background 0.2s;">🤖 AI에게 소스코드 수정 요청</button>
|
|
44668
|
+
<div class="nine-error-footer" style="font-size: 14px; color: #718096; line-height: 1.4;">
|
|
44669
|
+
버튼을 누르면 AI가 로그 및 컴포넌트 맵을 역추적하여 수정을 시작합니다.
|
|
44670
|
+
</div>
|
|
44648
44671
|
</div>
|
|
44649
44672
|
</div>
|
|
44650
44673
|
</div>
|
|
@@ -44662,7 +44685,7 @@ if (!customElements.get("nine-exception-hook")) {
|
|
|
44662
44685
|
customElements.define("nine-exception-hook", ExceptionHook);
|
|
44663
44686
|
}
|
|
44664
44687
|
const NineMu = {
|
|
44665
|
-
version: "0.1.
|
|
44688
|
+
version: "0.1.342",
|
|
44666
44689
|
init: (config2) => {
|
|
44667
44690
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44668
44691
|
}
|