@nine-lab/nine-mu 0.1.208 β 0.1.210
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 -17
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +3 -3
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChatManager.js +23 -25
package/dist/nine-mu.js
CHANGED
|
@@ -3579,12 +3579,14 @@ var ZodFirstPartyTypeKind;
|
|
|
3579
3579
|
ZodFirstPartyTypeKind2["ZodPipeline"] = "ZodPipeline";
|
|
3580
3580
|
ZodFirstPartyTypeKind2["ZodReadonly"] = "ZodReadonly";
|
|
3581
3581
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
3582
|
+
const stringType = ZodString$1.create;
|
|
3582
3583
|
ZodNever$1.create;
|
|
3583
3584
|
ZodArray$1.create;
|
|
3584
3585
|
const objectType = ZodObject$1.create;
|
|
3585
3586
|
ZodUnion$1.create;
|
|
3586
3587
|
ZodIntersection$1.create;
|
|
3587
3588
|
ZodTuple.create;
|
|
3589
|
+
const literalType = ZodLiteral$1.create;
|
|
3588
3590
|
ZodEnum$1.create;
|
|
3589
3591
|
ZodPromise.create;
|
|
3590
3592
|
ZodOptional$1.create;
|
|
@@ -17151,22 +17153,23 @@ connect_fn = async function() {
|
|
|
17151
17153
|
{ method: "logging/setLevel", params: { level: "info" } },
|
|
17152
17154
|
objectType({})
|
|
17153
17155
|
);
|
|
17154
|
-
trace.log("π MCP λ‘κΉ
μ±λ νμ±ν1111");
|
|
17155
17156
|
} catch (e) {
|
|
17156
|
-
trace.warn("λ‘κΉ
μ±λ μ΄κΈ°ν ν¨μ€ (컀μ€ν
μ€νΈλ¦Ό λμ):", e);
|
|
17157
17157
|
}
|
|
17158
|
+
const customNotificationSchema = objectType({
|
|
17159
|
+
method: literalType("notifications/logging/message"),
|
|
17160
|
+
// π κ²μ¦κΈ°κ° μ°Ύλ 리ν°λ΄ λ± λͺ
μ!
|
|
17161
|
+
params: objectType({
|
|
17162
|
+
level: stringType(),
|
|
17163
|
+
logger: stringType(),
|
|
17164
|
+
message: stringType()
|
|
17165
|
+
})
|
|
17166
|
+
});
|
|
17158
17167
|
__privateGet(this, _mcpClient).setNotificationHandler(
|
|
17159
|
-
|
|
17160
|
-
// π
|
|
17168
|
+
customNotificationSchema,
|
|
17169
|
+
// π κ»λ°κΈ° ν΅κ³Όμ© 컀μ€ν
μ€ν€λ§
|
|
17161
17170
|
(notification) => {
|
|
17162
|
-
|
|
17163
|
-
|
|
17164
|
-
const logData = JSON.parse(notification.params.message);
|
|
17165
|
-
if (logData.type === "BRAIN_DECISION") {
|
|
17166
|
-
}
|
|
17167
|
-
} catch (e) {
|
|
17168
|
-
trace.warn("μλ¦Ό λ΄λΆ λ°μ΄ν° νμ± μ€ν¨:", e);
|
|
17169
|
-
}
|
|
17171
|
+
trace.log(notification);
|
|
17172
|
+
this.add("ai", notification.params.message);
|
|
17170
17173
|
}
|
|
17171
17174
|
);
|
|
17172
17175
|
}).catch((err) => {
|
|
@@ -17393,7 +17396,7 @@ render_fn = function() {
|
|
|
17393
17396
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17394
17397
|
this.shadowRoot.innerHTML = `
|
|
17395
17398
|
<style>
|
|
17396
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17399
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.209"}/dist/css/nine-mu.css";
|
|
17397
17400
|
${customImport}
|
|
17398
17401
|
</style>
|
|
17399
17402
|
<div class="wrapper">
|
|
@@ -43612,7 +43615,7 @@ class NineDiff extends HTMLElement {
|
|
|
43612
43615
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43613
43616
|
this.shadowRoot.innerHTML = `
|
|
43614
43617
|
<style>
|
|
43615
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43618
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.209"}/dist/css/nine-mu.css";
|
|
43616
43619
|
${customImport}
|
|
43617
43620
|
</style>
|
|
43618
43621
|
|
|
@@ -43722,7 +43725,7 @@ render_fn2 = function() {
|
|
|
43722
43725
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43723
43726
|
this.shadowRoot.innerHTML = `
|
|
43724
43727
|
<style>
|
|
43725
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43728
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.209"}/dist/css/nine-mu.css";
|
|
43726
43729
|
${customImport}
|
|
43727
43730
|
</style>
|
|
43728
43731
|
|
|
@@ -44049,7 +44052,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44049
44052
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44050
44053
|
this.shadowRoot.innerHTML = `
|
|
44051
44054
|
<style>
|
|
44052
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44055
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.209"}/dist/css/nine-mu.css";
|
|
44053
44056
|
${customImport}
|
|
44054
44057
|
</style>
|
|
44055
44058
|
|
|
@@ -44143,7 +44146,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44143
44146
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44144
44147
|
}
|
|
44145
44148
|
const NineMu = {
|
|
44146
|
-
version: "0.1.
|
|
44149
|
+
version: "0.1.209",
|
|
44147
44150
|
init: (config2) => {
|
|
44148
44151
|
trace$1.log("π οΈ Nine-Mu Engine initialized", config2);
|
|
44149
44152
|
}
|