@nine-lab/nine-mu 0.1.219 → 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,12 +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
- trace.log(parsed.action);
17400
- trace.log(parsed.data);
17401
- __privateGet(this, _showDiff).call(this, parsed.action.params.routes, parsed.data, "json");
17399
+ if (((_c = parsed == null ? void 0 : parsed.action) == null ? void 0 : _c.selected_tool) === "source-missing") {
17400
+ nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
17401
+ __privateGet(this, _showDiff).call(this, parsed.action.params.routes, parsed.data, "json");
17402
+ });
17403
+ }
17402
17404
  } catch (err2) {
17403
17405
  trace.error(err2);
17404
- 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) || "응답 데이터를 해석하지 못했습니다.";
17405
17407
  __privateGet(this, _$nineChatMessage).add("ai", fallbackMessage);
17406
17408
  }
17407
17409
  }
@@ -17413,7 +17415,7 @@ render_fn = function() {
17413
17415
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17414
17416
  this.shadowRoot.innerHTML = `
17415
17417
  <style>
17416
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.218"}/dist/css/nine-mu.css";
17418
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
17417
17419
  ${customImport}
17418
17420
  </style>
17419
17421
  <div class="wrapper">
@@ -43632,7 +43634,7 @@ class NineDiff extends HTMLElement {
43632
43634
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43633
43635
  this.shadowRoot.innerHTML = `
43634
43636
  <style>
43635
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.218"}/dist/css/nine-mu.css";
43637
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
43636
43638
  ${customImport}
43637
43639
  </style>
43638
43640
 
@@ -43742,7 +43744,7 @@ render_fn2 = function() {
43742
43744
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43743
43745
  this.shadowRoot.innerHTML = `
43744
43746
  <style>
43745
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.218"}/dist/css/nine-mu.css";
43747
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
43746
43748
  ${customImport}
43747
43749
  </style>
43748
43750
 
@@ -44069,7 +44071,7 @@ class ChatMessageBody extends HTMLElement {
44069
44071
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44070
44072
  this.shadowRoot.innerHTML = `
44071
44073
  <style>
44072
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.218"}/dist/css/nine-mu.css";
44074
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.220"}/dist/css/nine-mu.css";
44073
44075
  ${customImport}
44074
44076
  </style>
44075
44077
 
@@ -44163,7 +44165,7 @@ if (!customElements.get("nine-chat-progress")) {
44163
44165
  customElements.define("nine-chat-progress", ProgressMessage);
44164
44166
  }
44165
44167
  const NineMu = {
44166
- version: "0.1.218",
44168
+ version: "0.1.220",
44167
44169
  init: (config2) => {
44168
44170
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44169
44171
  }