@nine-lab/nine-mu 0.1.186 → 0.1.188

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.186",
3
+ "version": "0.1.188",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -39,11 +39,24 @@ export class NineChatManager {
39
39
  this.#mcpClient.connect(transport)
40
40
  .then(() => {
41
41
  this.#updateStatus("✅ MCP Connected");
42
+
43
+ this.#mcpClient.onNotification((notification) => {
44
+ trace.log(notification);
45
+ if (notification.method === "notifications/logging/message") {
46
+ const data = JSON.parse(notification.params.message);
47
+ if (data.type === "BRAIN_DECISION") {
48
+ // UI에 중간 진행 상황 출력 ("ai", data.message);
49
+ //this.#pushMessage('assistant', data.message);
50
+ }
51
+ }
52
+ });
42
53
  })
43
54
  .catch((err) => {
44
55
  trace.error("❌ MCP 연결 실패", err);
45
56
  this.#updateStatus("❌ Connection Failed");
46
57
  });
58
+
59
+
47
60
  }
48
61
 
49
62