@nine-lab/nine-mu 0.1.186 → 0.1.187
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 +12 -5
- package/dist/nine-mu.js.map +1 -1
- package/dist/nine-mu.umd.js +1 -1
- package/dist/nine-mu.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/NineChatManager.js +11 -0
package/package.json
CHANGED
|
@@ -44,6 +44,17 @@ export class NineChatManager {
|
|
|
44
44
|
trace.error("❌ MCP 연결 실패", err);
|
|
45
45
|
this.#updateStatus("❌ Connection Failed");
|
|
46
46
|
});
|
|
47
|
+
|
|
48
|
+
this.#mcpClient.onNotification((notification) => {
|
|
49
|
+
console.log(notification);
|
|
50
|
+
if (notification.method === "notifications/logging/message") {
|
|
51
|
+
const data = JSON.parse(notification.params.message);
|
|
52
|
+
if (data.type === "BRAIN_DECISION") {
|
|
53
|
+
// UI에 중간 진행 상황 출력 ("ai", data.message);
|
|
54
|
+
//this.#pushMessage('assistant', data.message);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
});
|
|
47
58
|
}
|
|
48
59
|
|
|
49
60
|
|