@nine-lab/nine-mu 0.1.165 → 0.1.167

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,11 +13514,14 @@ class NineChatManager {
13514
13514
  __publicField(this, "handleChatSubmit", async (el) => {
13515
13515
  trace.log(__privateGet(this, _mcpClient));
13516
13516
  const routes = [];
13517
- __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13517
+ console.log(1111111);
13518
+ const response = await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13518
13519
  user_input: el.value.trim(),
13519
13520
  routes,
13520
13521
  current_path: "/group_member/student_management"
13521
13522
  });
13523
+ console.log(44444);
13524
+ return response;
13522
13525
  });
13523
13526
  __privateSet(this, _owner, owner);
13524
13527
  __privateSet(this, _onAction, callbacks.onAction);
@@ -13612,13 +13615,10 @@ updateStatus_fn = function(msg) {
13612
13615
  };
13613
13616
  callTool_fn = async function(toolName, args = {}) {
13614
13617
  __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "AI 분석 중...");
13615
- __privateGet(this, _mcpClient).callTool({ name: toolName, arguments: args }).then((res) => {
13616
- trace.log(res);
13617
- }).catch((err) => {
13618
- trace.error(err);
13619
- __privateMethod(this, _NineChatManager_instances, updateStatus_fn).call(this, "에러 발생");
13620
- throw err;
13621
- });
13618
+ console.log(22222);
13619
+ const response = __privateGet(this, _mcpClient).callTool({ name: toolName, arguments: args });
13620
+ console.log(333333);
13621
+ return response;
13622
13622
  };
13623
13623
  class NineMuService {
13624
13624
  constructor(connectorUrl) {
@@ -13808,7 +13808,9 @@ initActions_fn = function() {
13808
13808
  setTimeout(() => {
13809
13809
  e.target.value = "";
13810
13810
  });
13811
+ console.log("===========start");
13811
13812
  const [_, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(e.target));
13813
+ console.log("===========end");
13812
13814
  if (err) {
13813
13815
  console.error("Manager 실행 에러:", err);
13814
13816
  this.shadowRoot.querySelectorAll("nx-ai-ing-message").forEach((el) => el.remove());
@@ -13823,7 +13825,7 @@ render_fn = function() {
13823
13825
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13824
13826
  this.shadowRoot.innerHTML = `
13825
13827
  <style>
13826
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
13828
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
13827
13829
  ${customImport}
13828
13830
  </style>
13829
13831
  <div class="wrapper">
@@ -40042,7 +40044,7 @@ class NineDiff extends HTMLElement {
40042
40044
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40043
40045
  this.shadowRoot.innerHTML = `
40044
40046
  <style>
40045
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40047
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40046
40048
  ${customImport}
40047
40049
  </style>
40048
40050
 
@@ -40152,7 +40154,7 @@ render_fn2 = function() {
40152
40154
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40153
40155
  this.shadowRoot.innerHTML = `
40154
40156
  <style>
40155
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40157
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40156
40158
  ${customImport}
40157
40159
  </style>
40158
40160
 
@@ -40480,7 +40482,7 @@ class ChatMessage extends HTMLElement {
40480
40482
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40481
40483
  this.shadowRoot.innerHTML = `
40482
40484
  <style>
40483
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40485
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.166"}/dist/css/nine-mu.css";
40484
40486
  ${customImport}
40485
40487
  </style>
40486
40488
 
@@ -40574,7 +40576,7 @@ if (!customElements.get("nine-chat-me")) {
40574
40576
  customElements.define("nine-chat-me", MyMessage);
40575
40577
  }
40576
40578
  const NineMu = {
40577
- version: "0.1.164",
40579
+ version: "0.1.166",
40578
40580
  init: (config2) => {
40579
40581
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40580
40582
  }