@nine-lab/nine-mu 0.1.196 β 0.1.198
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 +17 -13
- 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 +26 -5
package/dist/nine-mu.js
CHANGED
|
@@ -13566,24 +13566,28 @@ connect_fn = async function() {
|
|
|
13566
13566
|
__privateSet(this, _mcpClient, new Client({
|
|
13567
13567
|
name: "nine-mu-client",
|
|
13568
13568
|
version: "1.0.0"
|
|
13569
|
-
}, {
|
|
13569
|
+
}, {
|
|
13570
|
+
capabilities: {
|
|
13571
|
+
tools: {},
|
|
13572
|
+
logging: {}
|
|
13573
|
+
}
|
|
13574
|
+
}));
|
|
13570
13575
|
trace.log(__privateGet(this, _mcpClient));
|
|
13571
13576
|
__privateGet(this, _mcpClient).connect(transport).then(() => {
|
|
13572
13577
|
__privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "β
MCP Connected");
|
|
13573
|
-
__privateGet(this, _mcpClient).
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
(notification) => {
|
|
13578
|
+
__privateGet(this, _mcpClient).onnotification = (notification) => {
|
|
13579
|
+
trace.log("π μ€μκ° μλ¦Ό λμ°©:", notification);
|
|
13580
|
+
if ((notification == null ? void 0 : notification.method) === "notifications/logging/message") {
|
|
13577
13581
|
try {
|
|
13578
|
-
trace.log(notification);
|
|
13582
|
+
trace.log("π μ€μκ° μλ¦Ό λμ°©:", notification);
|
|
13579
13583
|
const logData = JSON.parse(notification.params.message);
|
|
13580
13584
|
if (logData.type === "BRAIN_DECISION") {
|
|
13581
13585
|
}
|
|
13582
13586
|
} catch (e) {
|
|
13583
|
-
|
|
13587
|
+
trace.warn("μλ¦Ό λ΄λΆ JSON νμ± μ€ν¨:", e);
|
|
13584
13588
|
}
|
|
13585
13589
|
}
|
|
13586
|
-
|
|
13590
|
+
};
|
|
13587
13591
|
}).catch((err) => {
|
|
13588
13592
|
trace.error("β MCP μ°κ²° μ€ν¨", err);
|
|
13589
13593
|
__privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "β Connection Failed");
|
|
@@ -13808,7 +13812,7 @@ render_fn = function() {
|
|
|
13808
13812
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13809
13813
|
this.shadowRoot.innerHTML = `
|
|
13810
13814
|
<style>
|
|
13811
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13815
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.197"}/dist/css/nine-mu.css";
|
|
13812
13816
|
${customImport}
|
|
13813
13817
|
</style>
|
|
13814
13818
|
<div class="wrapper">
|
|
@@ -40027,7 +40031,7 @@ class NineDiff extends HTMLElement {
|
|
|
40027
40031
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40028
40032
|
this.shadowRoot.innerHTML = `
|
|
40029
40033
|
<style>
|
|
40030
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40034
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.197"}/dist/css/nine-mu.css";
|
|
40031
40035
|
${customImport}
|
|
40032
40036
|
</style>
|
|
40033
40037
|
|
|
@@ -40137,7 +40141,7 @@ render_fn2 = function() {
|
|
|
40137
40141
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40138
40142
|
this.shadowRoot.innerHTML = `
|
|
40139
40143
|
<style>
|
|
40140
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40144
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.197"}/dist/css/nine-mu.css";
|
|
40141
40145
|
${customImport}
|
|
40142
40146
|
</style>
|
|
40143
40147
|
|
|
@@ -40464,7 +40468,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
40464
40468
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40465
40469
|
this.shadowRoot.innerHTML = `
|
|
40466
40470
|
<style>
|
|
40467
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40471
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.197"}/dist/css/nine-mu.css";
|
|
40468
40472
|
${customImport}
|
|
40469
40473
|
</style>
|
|
40470
40474
|
|
|
@@ -40558,7 +40562,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
40558
40562
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
40559
40563
|
}
|
|
40560
40564
|
const NineMu = {
|
|
40561
|
-
version: "0.1.
|
|
40565
|
+
version: "0.1.197",
|
|
40562
40566
|
init: (config2) => {
|
|
40563
40567
|
trace$1.log("π οΈ Nine-Mu Engine initialized", config2);
|
|
40564
40568
|
}
|