@nine-lab/nine-mu 0.1.180 → 0.1.182

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,6 @@ class NineChatManager {
13512
13512
  // UI에 메시지를 뿌려줄 콜백 추가
13513
13513
  __privateAdd(this, _owner);
13514
13514
  __privateAdd(this, _routeUrl);
13515
- __publicField(this, "handleChatSubmit", async (v) => {
13516
- const routes2 = await __privateMethod(this, _NineChatManager_instances, getRoutes_fn).call(this);
13517
- return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13518
- user_input: v,
13519
- routes: routes2,
13520
- current_path: "/group_member/student_management"
13521
- });
13522
- });
13523
13515
  __privateAdd(this, _chatHistory, []);
13524
13516
  __publicField(this, "handleChatSubmit", async (v) => {
13525
13517
  __privateGet(this, _chatHistory).push({ role: "user", text: v });
@@ -13529,7 +13521,7 @@ class NineChatManager {
13529
13521
  return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
13530
13522
  user_input: v,
13531
13523
  chat_history: formattedHistory,
13532
- routes,
13524
+ routes: __privateMethod(this, _NineChatManager_instances, getRoutes_fn).call(this),
13533
13525
  current_path: "/group_member/student_management"
13534
13526
  });
13535
13527
  });
@@ -13547,12 +13539,12 @@ class NineChatManager {
13547
13539
  }
13548
13540
  try {
13549
13541
  __privateMethod(this, _NineChatManager_instances, pushMessage_fn).call(this, "user", userInput);
13550
- const routes2 = await __privateMethod(this, _NineChatManager_instances, fetchRoutes_fn).call(this);
13542
+ const routes = await __privateMethod(this, _NineChatManager_instances, fetchRoutes_fn).call(this);
13551
13543
  const response = await __privateGet(this, _mcpClient).callTool({
13552
13544
  name: "system-brain",
13553
13545
  arguments: {
13554
13546
  user_input: userInput,
13555
- routes: routes2,
13547
+ routes,
13556
13548
  current_path: window.location.pathname
13557
13549
  // 실시간 경로 주입
13558
13550
  }
@@ -13848,7 +13840,7 @@ render_fn = function() {
13848
13840
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
13849
13841
  this.shadowRoot.innerHTML = `
13850
13842
  <style>
13851
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.179"}/dist/css/nine-mu.css";
13843
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.181"}/dist/css/nine-mu.css";
13852
13844
  ${customImport}
13853
13845
  </style>
13854
13846
  <div class="wrapper">
@@ -40067,7 +40059,7 @@ class NineDiff extends HTMLElement {
40067
40059
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40068
40060
  this.shadowRoot.innerHTML = `
40069
40061
  <style>
40070
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.179"}/dist/css/nine-mu.css";
40062
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.181"}/dist/css/nine-mu.css";
40071
40063
  ${customImport}
40072
40064
  </style>
40073
40065
 
@@ -40177,7 +40169,7 @@ render_fn2 = function() {
40177
40169
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40178
40170
  this.shadowRoot.innerHTML = `
40179
40171
  <style>
40180
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.179"}/dist/css/nine-mu.css";
40172
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.181"}/dist/css/nine-mu.css";
40181
40173
  ${customImport}
40182
40174
  </style>
40183
40175
 
@@ -40504,7 +40496,7 @@ class ChatMessageBody extends HTMLElement {
40504
40496
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
40505
40497
  this.shadowRoot.innerHTML = `
40506
40498
  <style>
40507
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.179"}/dist/css/nine-mu.css";
40499
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.181"}/dist/css/nine-mu.css";
40508
40500
  ${customImport}
40509
40501
  </style>
40510
40502
 
@@ -40598,7 +40590,7 @@ if (!customElements.get("nine-chat-progress")) {
40598
40590
  customElements.define("nine-chat-progress", ProgressMessage);
40599
40591
  }
40600
40592
  const NineMu = {
40601
- version: "0.1.179",
40593
+ version: "0.1.181",
40602
40594
  init: (config2) => {
40603
40595
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
40604
40596
  }