@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 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
- LoggingMessageNotificationSchema,
17160
- // πŸ‘ˆ μ™ΈλΆ€ μž„ν¬νŠΈν•œ 정식 Zod μŠ€ν‚€λ§ˆ 객체
17168
+ customNotificationSchema,
17169
+ // πŸ‘ˆ 껍데기 ν†΅κ³Όμš© μ»€μŠ€ν…€ μŠ€ν‚€λ§ˆ
17161
17170
  (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);
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207",
44149
+ version: "0.1.209",
44147
44150
  init: (config2) => {
44148
44151
  trace$1.log("πŸ› οΈ Nine-Mu Engine initialized", config2);
44149
44152
  }