@nine-lab/nine-mu 0.1.140 → 0.1.142

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.140",
3
+ "version": "0.1.142",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -32,12 +32,14 @@ export class NineChatManager {
32
32
  }, { capabilities: { tools: {} } });
33
33
 
34
34
  // 전역 nine 객체의 safe를 활용 (try-catch 제거)
35
- const [_, err] = await nine.safe(this.#client.connect(transport));
36
-
37
- if (err) {
38
- nine.trace.error("❌ MCP 연결 실패", err);
39
- return this.#updateStatus("❌ Connection Failed");
40
- }
35
+ this.#client.connect(transport)
36
+ .then(() => {
37
+ this.#updateStatus("✅ MCP Connected");
38
+ })
39
+ .catch((err) => {
40
+ trace.error("❌ MCP 연결 실패", err);
41
+ this.#updateStatus("❌ Connection Failed");
42
+ });
41
43
 
42
44
  this.#updateStatus("✅ MCP Connected");
43
45