@nine-lab/nine-mu 0.1.170 → 0.1.171

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
@@ -13512,14 +13512,12 @@ class NineChatManager {
13512
13512
  // UI에 메시지를 뿌려줄 콜백 추가
13513
13513
  __privateAdd(this, _owner);
13514
13514
  __publicField(this, "handleChatSubmit", async (el) => {
13515
- trace.log(__privateGet(this, _mcpClient));
13516
13515
  const routes = [];
13517
- const response = await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13516
+ return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13518
13517
  user_input: el.value.trim(),
13519
13518
  routes,
13520
13519
  current_path: "/group_member/student_management"
13521
13520
  });
13522
- return response;
13523
13521
  });
13524
13522
  __privateSet(this, _owner, owner);
13525
13523
  __privateSet(this, _onAction, callbacks.onAction);
@@ -13612,9 +13610,7 @@ updateStatus_fn = function(msg) {
13612
13610
  trace.log(`[Status]: ${msg}`);
13613
13611
  };
13614
13612
  callTool_fn = async function(toolName, args = {}) {
13615
- __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "AI 분석 중...");
13616
- const response = __privateGet(this, _mcpClient).callTool({ name: toolName, arguments: args });
13617
- return response;
13613
+ return __privateGet(this, _mcpClient).callTool({ name: toolName, arguments: args });
13618
13614
  };
13619
13615
  class NineMuService {
13620
13616
  constructor(connectorUrl) {
@@ -13810,9 +13806,9 @@ initActions_fn = function() {
13810
13806
  if (err) {
13811
13807
  console.error("Manager 실행 에러:", err);
13812
13808
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
13813
- nine.alert("메시지 전송 중 오류가 발생했습니다.").rgb().shake();
13814
13809
  } else {
13815
13810
  console.log(result);
13811
+ __privateGet(this, _$nineChatMessage).add("ai", result.message);
13816
13812
  }
13817
13813
  }
13818
13814
  });
@@ -13822,7 +13818,7 @@ render_fn = function() {
13822
13818
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13823
13819
  this.shadowRoot.innerHTML = `
13824
13820
  <style>
13825
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.169"}/dist/css/nine-mu.css";
13821
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.170"}/dist/css/nine-mu.css";
13826
13822
  ${customImport}
13827
13823
  </style>
13828
13824
  <div class="wrapper">
@@ -40041,7 +40037,7 @@ class NineDiff extends HTMLElement {
40041
40037
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40042
40038
  this.shadowRoot.innerHTML = `
40043
40039
  <style>
40044
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.169"}/dist/css/nine-mu.css";
40040
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.170"}/dist/css/nine-mu.css";
40045
40041
  ${customImport}
40046
40042
  </style>
40047
40043
 
@@ -40151,7 +40147,7 @@ render_fn2 = function() {
40151
40147
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40152
40148
  this.shadowRoot.innerHTML = `
40153
40149
  <style>
40154
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.169"}/dist/css/nine-mu.css";
40150
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.170"}/dist/css/nine-mu.css";
40155
40151
  ${customImport}
40156
40152
  </style>
40157
40153
 
@@ -40479,7 +40475,7 @@ class ChatMessage extends HTMLElement {
40479
40475
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40480
40476
  this.shadowRoot.innerHTML = `
40481
40477
  <style>
40482
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.169"}/dist/css/nine-mu.css";
40478
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.170"}/dist/css/nine-mu.css";
40483
40479
  ${customImport}
40484
40480
  </style>
40485
40481
 
@@ -40573,7 +40569,7 @@ if (!customElements.get("nine-chat-me")) {
40573
40569
  customElements.define("nine-chat-me", MyMessage);
40574
40570
  }
40575
40571
  const NineMu = {
40576
- version: "0.1.169",
40572
+ version: "0.1.170",
40577
40573
  init: (config2) => {
40578
40574
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40579
40575
  }