@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.165",
3
+ "version": "0.1.166",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -124,8 +124,12 @@ export class NineChatManager {
124
124
  async #callTool(toolName, args = {}) {
125
125
 
126
126
  this.#updateStatus("AI 분석 중...");
127
+ console.log(22222);
127
128
 
128
- this.#mcpClient.callTool({ name: toolName, arguments: args })
129
+ const response = this.#mcpClient.callTool({ name: toolName, arguments: args });
130
+ console.log(333333);
131
+ return response;
132
+ /**
129
133
  .then((res) => {
130
134
  trace.log(res);
131
135
  //this.#updateStatus("✅ MCP Connected");
@@ -134,7 +138,7 @@ export class NineChatManager {
134
138
  trace.error(err);
135
139
  this.#updateStatus("에러 발생");
136
140
  throw err;
137
- });
141
+ }); */
138
142
  }
139
143
 
140
144
  handleChatSubmit = async el => {
@@ -143,10 +147,16 @@ export class NineChatManager {
143
147
 
144
148
  const routes = [];
145
149
 
146
- this.#callTool("system-brain", {
150
+ console.log(1111111);
151
+
152
+ const response = await this.#callTool("system-brain", {
147
153
  user_input : el.value.trim(),
148
154
  routes : routes,
149
155
  current_path : "/group_member/student_management",
150
- })
156
+ });
157
+
158
+ console.log(44444);
159
+
160
+ return response;
151
161
  }
152
162
  }