@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 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
- LoggingMessageNotificationSchema,
17160
- // πŸ‘ˆ μ™ΈλΆ€ μž„ν¬νŠΈν•œ 정식 Zod μŠ€ν‚€λ§ˆ 객체
17168
+ customNotificationSchema,
17169
+ // πŸ‘ˆ 껍데기 ν†΅κ³Όμš© μ»€μŠ€ν…€ μŠ€ν‚€λ§ˆ
17161
17170
  (notification) => {
17162
17171
  try {
17163
- trace.log("πŸ”” [MCP 정식 μ—”μ§„ μˆ˜μ‹  성곡]:", notification);
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("μ•Œλ¦Ό λ‚΄λΆ€ 데이터 νŒŒμ‹± μ‹€νŒ¨:", e);
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207"}/dist/css/nine-mu.css";
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.207",
44155
+ version: "0.1.208",
44147
44156
  init: (config2) => {
44148
44157
  trace$1.log("πŸ› οΈ Nine-Mu Engine initialized", config2);
44149
44158
  }