@nine-lab/nine-mu 0.1.202 → 0.1.204
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 +20 -16
- 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/NineChatManager.js +16 -42
package/dist/nine-mu.js
CHANGED
|
@@ -17150,21 +17150,25 @@ connect_fn = async function() {
|
|
|
17150
17150
|
await __privateGet(this, _mcpClient).request(
|
|
17151
17151
|
{ method: "logging/setLevel", params: { level: "info" } },
|
|
17152
17152
|
objectType({})
|
|
17153
|
-
// 빈 응답 스키마 객체 검증
|
|
17154
17153
|
);
|
|
17155
|
-
trace.log("🚀 MCP 로깅
|
|
17156
|
-
} catch (
|
|
17157
|
-
trace.
|
|
17154
|
+
trace.log("🚀 MCP 로깅 채널 활성화");
|
|
17155
|
+
} catch (e) {
|
|
17156
|
+
trace.warn("로깅 채널 초기화 패스 (커스텀 스트림 대응):", e);
|
|
17158
17157
|
}
|
|
17159
|
-
|
|
17160
|
-
|
|
17161
|
-
|
|
17162
|
-
|
|
17163
|
-
|
|
17158
|
+
__privateGet(this, _mcpClient).setNotificationHandler(
|
|
17159
|
+
LoggingMessageNotificationSchema,
|
|
17160
|
+
// 👈 외부 임포트한 정식 Zod 스키마 객체
|
|
17161
|
+
(notification) => {
|
|
17162
|
+
try {
|
|
17163
|
+
trace.log("🔔 [MCP 정식 엔진 수신 성공]:", notification);
|
|
17164
|
+
const logData = JSON.parse(notification.params.message);
|
|
17165
|
+
if (logData.type === "BRAIN_DECISION") {
|
|
17166
|
+
}
|
|
17167
|
+
} catch (e) {
|
|
17168
|
+
trace.warn("알림 내부 데이터 파싱 실패:", e);
|
|
17164
17169
|
}
|
|
17165
|
-
} catch (e) {
|
|
17166
17170
|
}
|
|
17167
|
-
|
|
17171
|
+
);
|
|
17168
17172
|
}).catch((err) => {
|
|
17169
17173
|
trace.error("❌ MCP 연결 실패", err);
|
|
17170
17174
|
__privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "❌ Connection Failed");
|
|
@@ -17389,7 +17393,7 @@ render_fn = function() {
|
|
|
17389
17393
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17390
17394
|
this.shadowRoot.innerHTML = `
|
|
17391
17395
|
<style>
|
|
17392
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17396
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.203"}/dist/css/nine-mu.css";
|
|
17393
17397
|
${customImport}
|
|
17394
17398
|
</style>
|
|
17395
17399
|
<div class="wrapper">
|
|
@@ -43608,7 +43612,7 @@ class NineDiff extends HTMLElement {
|
|
|
43608
43612
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43609
43613
|
this.shadowRoot.innerHTML = `
|
|
43610
43614
|
<style>
|
|
43611
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43615
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.203"}/dist/css/nine-mu.css";
|
|
43612
43616
|
${customImport}
|
|
43613
43617
|
</style>
|
|
43614
43618
|
|
|
@@ -43718,7 +43722,7 @@ render_fn2 = function() {
|
|
|
43718
43722
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43719
43723
|
this.shadowRoot.innerHTML = `
|
|
43720
43724
|
<style>
|
|
43721
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43725
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.203"}/dist/css/nine-mu.css";
|
|
43722
43726
|
${customImport}
|
|
43723
43727
|
</style>
|
|
43724
43728
|
|
|
@@ -44045,7 +44049,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44045
44049
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44046
44050
|
this.shadowRoot.innerHTML = `
|
|
44047
44051
|
<style>
|
|
44048
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44052
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.203"}/dist/css/nine-mu.css";
|
|
44049
44053
|
${customImport}
|
|
44050
44054
|
</style>
|
|
44051
44055
|
|
|
@@ -44139,7 +44143,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44139
44143
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44140
44144
|
}
|
|
44141
44145
|
const NineMu = {
|
|
44142
|
-
version: "0.1.
|
|
44146
|
+
version: "0.1.203",
|
|
44143
44147
|
init: (config2) => {
|
|
44144
44148
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44145
44149
|
}
|