@nine-lab/nine-mu 0.1.208 β 0.1.209
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 -11
- 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 +17 -11
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,21 +17153,28 @@ 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
17171
|
try {
|
|
17163
|
-
trace.log("π [MCP
|
|
17172
|
+
trace.log("π [MCP μμ§ μ°ν μ±κ³΅] μλ¦Ό λμ°©:", notification);
|
|
17164
17173
|
const logData = JSON.parse(notification.params.message);
|
|
17165
17174
|
if (logData.type === "BRAIN_DECISION") {
|
|
17166
17175
|
}
|
|
17167
17176
|
} catch (e) {
|
|
17168
|
-
trace.warn("μλ¦Ό λ΄λΆ
|
|
17177
|
+
trace.warn("μλ¦Ό λ΄λΆ νμ± μλ¬:", e);
|
|
17169
17178
|
}
|
|
17170
17179
|
}
|
|
17171
17180
|
);
|
|
@@ -17393,7 +17402,7 @@ render_fn = function() {
|
|
|
17393
17402
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17394
17403
|
this.shadowRoot.innerHTML = `
|
|
17395
17404
|
<style>
|
|
17396
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17405
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.208"}/dist/css/nine-mu.css";
|
|
17397
17406
|
${customImport}
|
|
17398
17407
|
</style>
|
|
17399
17408
|
<div class="wrapper">
|
|
@@ -43612,7 +43621,7 @@ class NineDiff extends HTMLElement {
|
|
|
43612
43621
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43613
43622
|
this.shadowRoot.innerHTML = `
|
|
43614
43623
|
<style>
|
|
43615
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43624
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.208"}/dist/css/nine-mu.css";
|
|
43616
43625
|
${customImport}
|
|
43617
43626
|
</style>
|
|
43618
43627
|
|
|
@@ -43722,7 +43731,7 @@ render_fn2 = function() {
|
|
|
43722
43731
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43723
43732
|
this.shadowRoot.innerHTML = `
|
|
43724
43733
|
<style>
|
|
43725
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43734
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.208"}/dist/css/nine-mu.css";
|
|
43726
43735
|
${customImport}
|
|
43727
43736
|
</style>
|
|
43728
43737
|
|
|
@@ -44049,7 +44058,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44049
44058
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44050
44059
|
this.shadowRoot.innerHTML = `
|
|
44051
44060
|
<style>
|
|
44052
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44061
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.208"}/dist/css/nine-mu.css";
|
|
44053
44062
|
${customImport}
|
|
44054
44063
|
</style>
|
|
44055
44064
|
|
|
@@ -44143,7 +44152,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44143
44152
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44144
44153
|
}
|
|
44145
44154
|
const NineMu = {
|
|
44146
|
-
version: "0.1.
|
|
44155
|
+
version: "0.1.208",
|
|
44147
44156
|
init: (config2) => {
|
|
44148
44157
|
trace$1.log("π οΈ Nine-Mu Engine initialized", config2);
|
|
44149
44158
|
}
|