@nine-lab/nine-mu 0.1.220 → 0.1.221

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
@@ -17370,7 +17370,7 @@ initInteractions_fn = function() {
17370
17370
  // --- [그룹 2: Action] 엔터키 입력 시 서비스 호출 ---
17371
17371
  initActions_fn = function() {
17372
17372
  this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
17373
- var _a2, _b, _c, _d;
17373
+ var _a2, _b, _c, _d, _e;
17374
17374
  if (e.key === "Enter" && !e.shiftKey) {
17375
17375
  e.preventDefault();
17376
17376
  const target = e.target;
@@ -17396,14 +17396,14 @@ initActions_fn = function() {
17396
17396
  const parsed = JSON.parse(rawText);
17397
17397
  __privateGet(this, _manager).addChatHistory(parsed.message);
17398
17398
  __privateGet(this, _$nineChatMessage).add("ai", parsed.message);
17399
- if (parsed.action.selected_tool === "source-missing") {
17399
+ if (((_c = parsed == null ? void 0 : parsed.action) == null ? void 0 : _c.selected_tool) === "source-missing") {
17400
17400
  nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
17401
17401
  __privateGet(this, _showDiff).call(this, parsed.action.params.routes, parsed.data, "json");
17402
17402
  });
17403
17403
  }
17404
17404
  } catch (err2) {
17405
17405
  trace.error(err2);
17406
- const fallbackMessage = ((_d = (_c = result == null ? void 0 : result.content) == null ? void 0 : _c[0]) == null ? void 0 : _d.text) || "응답 데이터를 해석하지 못했습니다.";
17406
+ const fallbackMessage = ((_e = (_d = result == null ? void 0 : result.content) == null ? void 0 : _d[0]) == null ? void 0 : _e.text) || "응답 데이터를 해석하지 못했습니다.";
17407
17407
  __privateGet(this, _$nineChatMessage).add("ai", fallbackMessage);
17408
17408
  }
17409
17409
  }
@@ -17415,7 +17415,7 @@ render_fn = function() {
17415
17415
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17416
17416
  this.shadowRoot.innerHTML = `
17417
17417
  <style>
17418
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
17418
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
17419
17419
  ${customImport}
17420
17420
  </style>
17421
17421
  <div class="wrapper">
@@ -43634,7 +43634,7 @@ class NineDiff extends HTMLElement {
43634
43634
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43635
43635
  this.shadowRoot.innerHTML = `
43636
43636
  <style>
43637
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
43637
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
43638
43638
  ${customImport}
43639
43639
  </style>
43640
43640
 
@@ -43744,7 +43744,7 @@ render_fn2 = function() {
43744
43744
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43745
43745
  this.shadowRoot.innerHTML = `
43746
43746
  <style>
43747
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
43747
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
43748
43748
  ${customImport}
43749
43749
  </style>
43750
43750
 
@@ -44071,7 +44071,7 @@ class ChatMessageBody extends HTMLElement {
44071
44071
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44072
44072
  this.shadowRoot.innerHTML = `
44073
44073
  <style>
44074
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
44074
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
44075
44075
  ${customImport}
44076
44076
  </style>
44077
44077
 
@@ -44165,7 +44165,7 @@ if (!customElements.get("nine-chat-progress")) {
44165
44165
  customElements.define("nine-chat-progress", ProgressMessage);
44166
44166
  }
44167
44167
  const NineMu = {
44168
- version: "0.1.219",
44168
+ version: "0.1.220",
44169
44169
  init: (config2) => {
44170
44170
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44171
44171
  }