@nine-lab/nine-mu 0.1.165 → 0.1.166

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) {
@@ -13823,7 +13823,7 @@ render_fn = function() {
13823
13823
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13824
13824
  this.shadowRoot.innerHTML = `
13825
13825
  <style>
13826
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
13826
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
13827
13827
  ${customImport}
13828
13828
  </style>
13829
13829
  <div class="wrapper">
@@ -40042,7 +40042,7 @@ class NineDiff extends HTMLElement {
40042
40042
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40043
40043
  this.shadowRoot.innerHTML = `
40044
40044
  <style>
40045
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40045
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40046
40046
  ${customImport}
40047
40047
  </style>
40048
40048
 
@@ -40152,7 +40152,7 @@ render_fn2 = function() {
40152
40152
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40153
40153
  this.shadowRoot.innerHTML = `
40154
40154
  <style>
40155
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40155
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40156
40156
  ${customImport}
40157
40157
  </style>
40158
40158
 
@@ -40480,7 +40480,7 @@ class ChatMessage extends HTMLElement {
40480
40480
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40481
40481
  this.shadowRoot.innerHTML = `
40482
40482
  <style>
40483
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.164"}/dist/css/nine-mu.css";
40483
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.165"}/dist/css/nine-mu.css";
40484
40484
  ${customImport}
40485
40485
  </style>
40486
40486
 
@@ -40574,7 +40574,7 @@ if (!customElements.get("nine-chat-me")) {
40574
40574
  customElements.define("nine-chat-me", MyMessage);
40575
40575
  }
40576
40576
  const NineMu = {
40577
- version: "0.1.164",
40577
+ version: "0.1.165",
40578
40578
  init: (config2) => {
40579
40579
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40580
40580
  }