@nine-lab/nine-mu 0.1.220 → 0.1.222

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.
@@ -1021,7 +1021,7 @@
1021
1021
  display: -webkit-box;
1022
1022
  -webkit-line-clamp: 3;
1023
1023
  -webkit-box-orient: vertical;
1024
- overflow: hidden;
1024
+ overflow: auto;
1025
1025
  padding: 0;
1026
1026
  flex-grow: 1;
1027
1027
  /* 줄바꿈 강제 적용 */
package/dist/nine-mu.js CHANGED
@@ -17143,7 +17143,9 @@ connect_fn = async function() {
17143
17143
  capabilities: {
17144
17144
  tools: {},
17145
17145
  logging: {}
17146
- }
17146
+ },
17147
+ timeout: 3e5
17148
+ // 5분
17147
17149
  }));
17148
17150
  trace.log(__privateGet(this, _mcpClient));
17149
17151
  __privateGet(this, _mcpClient).connect(transport).then(async () => {
@@ -17370,7 +17372,7 @@ initInteractions_fn = function() {
17370
17372
  // --- [그룹 2: Action] 엔터키 입력 시 서비스 호출 ---
17371
17373
  initActions_fn = function() {
17372
17374
  this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
17373
- var _a2, _b, _c, _d;
17375
+ var _a2, _b, _c, _d, _e;
17374
17376
  if (e.key === "Enter" && !e.shiftKey) {
17375
17377
  e.preventDefault();
17376
17378
  const target = e.target;
@@ -17396,14 +17398,14 @@ initActions_fn = function() {
17396
17398
  const parsed = JSON.parse(rawText);
17397
17399
  __privateGet(this, _manager).addChatHistory(parsed.message);
17398
17400
  __privateGet(this, _$nineChatMessage).add("ai", parsed.message);
17399
- if (parsed.action.selected_tool === "source-missing") {
17401
+ if (((_c = parsed == null ? void 0 : parsed.action) == null ? void 0 : _c.selected_tool) === "source-missing") {
17400
17402
  nine.alert("메뉴 정리를 위한 라우터 정보 저장 화면으로 이동합니다.").then((res) => {
17401
17403
  __privateGet(this, _showDiff).call(this, parsed.action.params.routes, parsed.data, "json");
17402
17404
  });
17403
17405
  }
17404
17406
  } catch (err2) {
17405
17407
  trace.error(err2);
17406
- const fallbackMessage = ((_d = (_c = result == null ? void 0 : result.content) == null ? void 0 : _c[0]) == null ? void 0 : _d.text) || "응답 데이터를 해석하지 못했습니다.";
17408
+ const fallbackMessage = ((_e = (_d = result == null ? void 0 : result.content) == null ? void 0 : _d[0]) == null ? void 0 : _e.text) || "응답 데이터를 해석하지 못했습니다.";
17407
17409
  __privateGet(this, _$nineChatMessage).add("ai", fallbackMessage);
17408
17410
  }
17409
17411
  }
@@ -17415,7 +17417,7 @@ render_fn = function() {
17415
17417
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
17416
17418
  this.shadowRoot.innerHTML = `
17417
17419
  <style>
17418
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
17420
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.221"}/dist/css/nine-mu.css";
17419
17421
  ${customImport}
17420
17422
  </style>
17421
17423
  <div class="wrapper">
@@ -43634,7 +43636,7 @@ class NineDiff extends HTMLElement {
43634
43636
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43635
43637
  this.shadowRoot.innerHTML = `
43636
43638
  <style>
43637
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
43639
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.221"}/dist/css/nine-mu.css";
43638
43640
  ${customImport}
43639
43641
  </style>
43640
43642
 
@@ -43744,7 +43746,7 @@ render_fn2 = function() {
43744
43746
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
43745
43747
  this.shadowRoot.innerHTML = `
43746
43748
  <style>
43747
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
43749
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.221"}/dist/css/nine-mu.css";
43748
43750
  ${customImport}
43749
43751
  </style>
43750
43752
 
@@ -44071,7 +44073,7 @@ class ChatMessageBody extends HTMLElement {
44071
44073
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
44072
44074
  this.shadowRoot.innerHTML = `
44073
44075
  <style>
44074
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.219"}/dist/css/nine-mu.css";
44076
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.221"}/dist/css/nine-mu.css";
44075
44077
  ${customImport}
44076
44078
  </style>
44077
44079
 
@@ -44165,7 +44167,7 @@ if (!customElements.get("nine-chat-progress")) {
44165
44167
  customElements.define("nine-chat-progress", ProgressMessage);
44166
44168
  }
44167
44169
  const NineMu = {
44168
- version: "0.1.219",
44170
+ version: "0.1.221",
44169
44171
  init: (config2) => {
44170
44172
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44171
44173
  }