@nine-lab/nine-mu 0.1.167 → 0.1.169

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 {
@@ -13800,23 +13796,23 @@ initActions_fn = function() {
13800
13796
  this.shadowRoot.querySelector("#q").addEventListener("keypress", async (e) => {
13801
13797
  if (e.key === "Enter" && !e.shiftKey) {
13802
13798
  e.preventDefault();
13803
- const userInput = e.target.value.trim();
13799
+ const target = e.target;
13800
+ const userInput = target.value.trim();
13804
13801
  if (!userInput) return;
13805
- e.target.setAttribute("disabled", "disabled");
13802
+ target.setAttribute("disabled", "disabled");
13806
13803
  __privateGet(this, _$nineChatMessage).add("me", userInput);
13807
13804
  __privateGet(this, _$nineChatMessage).add("ing", "");
13808
13805
  setTimeout(() => {
13809
- e.target.value = "";
13806
+ target.value = "";
13810
13807
  });
13811
- console.log("===========start");
13812
- const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(e.target));
13813
- console.log("===========end");
13808
+ const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(target));
13814
13809
  if (err) {
13815
13810
  console.error("Manager 실행 에러:", err);
13816
13811
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
13817
13812
  nine.alert("메시지 전송 중 오류가 발생했습니다.").rgb().shake();
13818
13813
  }
13819
- e.target.removeAttribute("disabled");
13814
+ console.log(target);
13815
+ target.removeAttribute("disabled");
13820
13816
  }
13821
13817
  });
13822
13818
  };
@@ -13825,7 +13821,7 @@ render_fn = function() {
13825
13821
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13826
13822
  this.shadowRoot.innerHTML = `
13827
13823
  <style>
13828
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
13824
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
13829
13825
  ${customImport}
13830
13826
  </style>
13831
13827
  <div class="wrapper">
@@ -40044,7 +40040,7 @@ class NineDiff extends HTMLElement {
40044
40040
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40045
40041
  this.shadowRoot.innerHTML = `
40046
40042
  <style>
40047
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40043
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40048
40044
  ${customImport}
40049
40045
  </style>
40050
40046
 
@@ -40154,7 +40150,7 @@ render_fn2 = function() {
40154
40150
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40155
40151
  this.shadowRoot.innerHTML = `
40156
40152
  <style>
40157
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40153
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40158
40154
  ${customImport}
40159
40155
  </style>
40160
40156
 
@@ -40482,7 +40478,7 @@ class ChatMessage extends HTMLElement {
40482
40478
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40483
40479
  this.shadowRoot.innerHTML = `
40484
40480
  <style>
40485
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40481
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.168"}/dist/css/nine-mu.css";
40486
40482
  ${customImport}
40487
40483
  </style>
40488
40484
 
@@ -40576,7 +40572,7 @@ if (!customElements.get("nine-chat-me")) {
40576
40572
  customElements.define("nine-chat-me", MyMessage);
40577
40573
  }
40578
40574
  const NineMu = {
40579
- version: "0.1.166",
40575
+ version: "0.1.168",
40580
40576
  init: (config2) => {
40581
40577
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40582
40578
  }