@nine-lab/nine-mu 0.1.312 → 0.1.314
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 +15 -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/NotificationHandler.js +13 -18
package/dist/nine-mu.js
CHANGED
|
@@ -17098,12 +17098,13 @@ class NotificationHandler {
|
|
|
17098
17098
|
*/
|
|
17099
17099
|
__privateAdd(this, _openDiffPopup, () => {
|
|
17100
17100
|
if (__privateGet(this, _collectedFiles).length === 0) return;
|
|
17101
|
-
|
|
17102
|
-
if (
|
|
17103
|
-
|
|
17104
|
-
$popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17105
|
-
document.body.appendChild($popup);
|
|
17101
|
+
const oldPopup = this.shadowRoot.querySelector("nine-diff-popup");
|
|
17102
|
+
if (oldPopup) {
|
|
17103
|
+
oldPopup.remove();
|
|
17106
17104
|
}
|
|
17105
|
+
const $popup = document.createElement("nine-diff-popup");
|
|
17106
|
+
$popup.setAttribute("package-name", __privateGet(this, _owner).getAttribute("package-name") || "");
|
|
17107
|
+
document.body.appendChild($popup);
|
|
17107
17108
|
$popup.data([...__privateGet(this, _collectedFiles)]);
|
|
17108
17109
|
$popup.popup();
|
|
17109
17110
|
__privateSet(this, _collectedFiles, []);
|
|
@@ -17127,13 +17128,9 @@ class NotificationHandler {
|
|
|
17127
17128
|
* MCP로부터 수신된 날것의 노티파이 데이터를 정석대로 라우팅하는 메인 메서드
|
|
17128
17129
|
*/
|
|
17129
17130
|
handle(notification) {
|
|
17130
|
-
|
|
17131
|
-
|
|
17132
|
-
|
|
17133
|
-
__privateMethod(this, _NotificationHandler_instances, handleLoggingMessage_fn).call(this, params);
|
|
17134
|
-
}
|
|
17135
|
-
} catch (error) {
|
|
17136
|
-
trace.error("🔥 노티파이 핸들러 내부 처리 실패:", error);
|
|
17131
|
+
const { method, params } = notification;
|
|
17132
|
+
if (method === "notifications/logging/message") {
|
|
17133
|
+
__privateMethod(this, _NotificationHandler_instances, handleLoggingMessage_fn).call(this, params);
|
|
17137
17134
|
}
|
|
17138
17135
|
}
|
|
17139
17136
|
}
|
|
@@ -17563,7 +17560,7 @@ render_fn = function() {
|
|
|
17563
17560
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17564
17561
|
this.shadowRoot.innerHTML = `
|
|
17565
17562
|
<style>
|
|
17566
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17563
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.313"}/dist/css/nine-mu.css";
|
|
17567
17564
|
${customImport}
|
|
17568
17565
|
</style>
|
|
17569
17566
|
<div class="wrapper">
|
|
@@ -43815,7 +43812,7 @@ class NineDiff extends HTMLElement {
|
|
|
43815
43812
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43816
43813
|
this.shadowRoot.innerHTML = `
|
|
43817
43814
|
<style>
|
|
43818
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43815
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.313"}/dist/css/nine-mu.css";
|
|
43819
43816
|
${customImport}
|
|
43820
43817
|
</style>
|
|
43821
43818
|
|
|
@@ -43954,7 +43951,7 @@ renderScaffolding_fn = function() {
|
|
|
43954
43951
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
43955
43952
|
this.shadowRoot.innerHTML = `
|
|
43956
43953
|
<style>
|
|
43957
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43954
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.313"}/dist/css/nine-mu.css";
|
|
43958
43955
|
${customImport}
|
|
43959
43956
|
</style>
|
|
43960
43957
|
|
|
@@ -44064,7 +44061,7 @@ render_fn2 = function() {
|
|
|
44064
44061
|
const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
|
|
44065
44062
|
this.shadowRoot.innerHTML = `
|
|
44066
44063
|
<style>
|
|
44067
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44064
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.313"}/dist/css/nine-mu.css";
|
|
44068
44065
|
${customImport}
|
|
44069
44066
|
</style>
|
|
44070
44067
|
|
|
@@ -44395,7 +44392,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44395
44392
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44396
44393
|
this.shadowRoot.innerHTML = `
|
|
44397
44394
|
<style>
|
|
44398
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44395
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.313"}/dist/css/nine-mu.css";
|
|
44399
44396
|
${customImport}
|
|
44400
44397
|
</style>
|
|
44401
44398
|
|
|
@@ -44489,7 +44486,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44489
44486
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44490
44487
|
}
|
|
44491
44488
|
const NineMu = {
|
|
44492
|
-
version: "0.1.
|
|
44489
|
+
version: "0.1.313",
|
|
44493
44490
|
init: (config2) => {
|
|
44494
44491
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44495
44492
|
}
|