@nine-lab/nine-mu 0.1.214 → 0.1.215

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
@@ -17392,11 +17392,15 @@ initActions_fn = function() {
17392
17392
  trace.log(result);
17393
17393
  try {
17394
17394
  const rawText = (_b = (_a2 = result == null ? void 0 : result.content) == null ? void 0 : _a2[0]) == null ? void 0 : _b.text;
17395
+ trace.log(rawText);
17395
17396
  const parsedData = JSON.parse(rawText);
17397
+ trace.log(parsedData);
17396
17398
  const aiMessage = parsedData.message || "처리가 완료되었습니다.";
17399
+ trace.log(aiMessage);
17397
17400
  __privateGet(this, _manager).addChatHistory(aiMessage);
17398
17401
  __privateGet(this, _$nineChatMessage).add("ai", aiMessage);
17399
- } catch (parseErr) {
17402
+ } catch (err2) {
17403
+ trace.error(err2);
17400
17404
  const fallbackMessage = ((_d = (_c = result == null ? void 0 : result.content) == null ? void 0 : _c[0]) == null ? void 0 : _d.text) || "응답 데이터를 해석하지 못했습니다.";
17401
17405
  __privateGet(this, _$nineChatMessage).add("ai", fallbackMessage);
17402
17406
  }
@@ -17409,7 +17413,7 @@ render_fn = function() {
17409
17413
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17410
17414
  this.shadowRoot.innerHTML = `
17411
17415
  <style>
17412
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.213"}/dist/css/nine-mu.css";
17416
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.214"}/dist/css/nine-mu.css";
17413
17417
  ${customImport}
17414
17418
  </style>
17415
17419
  <div class="wrapper">
@@ -43628,7 +43632,7 @@ class NineDiff extends HTMLElement {
43628
43632
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43629
43633
  this.shadowRoot.innerHTML = `
43630
43634
  <style>
43631
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.213"}/dist/css/nine-mu.css";
43635
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.214"}/dist/css/nine-mu.css";
43632
43636
  ${customImport}
43633
43637
  </style>
43634
43638
 
@@ -43738,7 +43742,7 @@ render_fn2 = function() {
43738
43742
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43739
43743
  this.shadowRoot.innerHTML = `
43740
43744
  <style>
43741
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.213"}/dist/css/nine-mu.css";
43745
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.214"}/dist/css/nine-mu.css";
43742
43746
  ${customImport}
43743
43747
  </style>
43744
43748
 
@@ -44065,7 +44069,7 @@ class ChatMessageBody extends HTMLElement {
44065
44069
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44066
44070
  this.shadowRoot.innerHTML = `
44067
44071
  <style>
44068
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.213"}/dist/css/nine-mu.css";
44072
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.214"}/dist/css/nine-mu.css";
44069
44073
  ${customImport}
44070
44074
  </style>
44071
44075
 
@@ -44159,7 +44163,7 @@ if (!customElements.get("nine-chat-progress")) {
44159
44163
  customElements.define("nine-chat-progress", ProgressMessage);
44160
44164
  }
44161
44165
  const NineMu = {
44162
- version: "0.1.213",
44166
+ version: "0.1.214",
44163
44167
  init: (config2) => {
44164
44168
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44165
44169
  }