@nine-lab/nine-mu 0.1.166 → 0.1.168

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
@@ -13514,13 +13514,11 @@ class NineChatManager {
13514
13514
  __publicField(this, "handleChatSubmit", async (el) => {
13515
13515
  trace.log(__privateGet(this, _mcpClient));
13516
13516
  const routes = [];
13517
- console.log(1111111);
13518
13517
  const response = await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13519
13518
  user_input: el.value.trim(),
13520
13519
  routes,
13521
13520
  current_path: "/group_member/student_management"
13522
13521
  });
13523
- console.log(44444);
13524
13522
  return response;
13525
13523
  });
13526
13524
  __privateSet(this, _owner, owner);
@@ -13615,9 +13613,7 @@ updateStatus_fn = function(msg) {
13615
13613
  };
13616
13614
  callTool_fn = async function(toolName, args = {}) {
13617
13615
  __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "AI 분석 중...");
13618
- console.log(22222);
13619
13616
  const response = __privateGet(this, _mcpClient).callTool({ name: toolName, arguments: args });
13620
- console.log(333333);
13621
13617
  return response;
13622
13618
  };
13623
13619
  class NineMuService {
@@ -13808,12 +13804,15 @@ initActions_fn = function() {
13808
13804
  setTimeout(() => {
13809
13805
  e.target.value = "";
13810
13806
  });
13807
+ console.log("===========start");
13811
13808
  const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(e.target));
13809
+ console.log("===========end");
13812
13810
  if (err) {
13813
13811
  console.error("Manager 실행 에러:", err);
13814
13812
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
13815
13813
  nine.alert("메시지 전송 중 오류가 발생했습니다.").rgb().shake();
13816
13814
  }
13815
+ console.log(e.target);
13817
13816
  e.target.removeAttribute("disabled");
13818
13817
  }
13819
13818
  });
@@ -13823,7 +13822,7 @@ render_fn = function() {
13823
13822
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13824
13823
  this.shadowRoot.innerHTML = `
13825
13824
  <style>
13826
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
13825
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
13827
13826
  ${customImport}
13828
13827
  </style>
13829
13828
  <div class="wrapper">
@@ -40042,7 +40041,7 @@ class NineDiff extends HTMLElement {
40042
40041
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40043
40042
  this.shadowRoot.innerHTML = `
40044
40043
  <style>
40045
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40044
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40046
40045
  ${customImport}
40047
40046
  </style>
40048
40047
 
@@ -40152,7 +40151,7 @@ render_fn2 = function() {
40152
40151
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40153
40152
  this.shadowRoot.innerHTML = `
40154
40153
  <style>
40155
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40154
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40156
40155
  ${customImport}
40157
40156
  </style>
40158
40157
 
@@ -40480,7 +40479,7 @@ class ChatMessage extends HTMLElement {
40480
40479
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40481
40480
  this.shadowRoot.innerHTML = `
40482
40481
  <style>
40483
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40482
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.167"}/dist/css/nine-mu.css";
40484
40483
  ${customImport}
40485
40484
  </style>
40486
40485
 
@@ -40574,7 +40573,7 @@ if (!customElements.get("nine-chat-me")) {
40574
40573
  customElements.define("nine-chat-me", MyMessage);
40575
40574
  }
40576
40575
  const NineMu = {
40577
- version: "0.1.165",
40576
+ version: "0.1.167",
40578
40577
  init: (config2) => {
40579
40578
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40580
40579
  }