@nine-lab/nine-mu 0.1.212 → 0.1.213
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
|
@@ -156,6 +156,10 @@ export class NineChat extends HTMLElement {
|
|
|
156
156
|
this.#$nineChatMessage = this.shadowRoot.querySelector("nine-chat-message");
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
+
addMessage = (who, message) => {
|
|
160
|
+
this.#$nineChatMessage.add(who, message);
|
|
161
|
+
}
|
|
162
|
+
|
|
159
163
|
#makeMenuHandler = async e => {
|
|
160
164
|
|
|
161
165
|
const prompt = await nine.prompt("메뉴생성시 필요한 AI 프롬프트를 입력하세요.").rgb();
|
|
@@ -72,9 +72,9 @@ export class NineChatManager {
|
|
|
72
72
|
(notification) => {
|
|
73
73
|
//notification.params.message
|
|
74
74
|
trace.log(notification);
|
|
75
|
-
trace.log(this
|
|
76
|
-
this.
|
|
77
|
-
|
|
75
|
+
trace.log(this);
|
|
76
|
+
this.#owner.addMessage("ai", notification.params.message);
|
|
77
|
+
this.#owner.addMessage("ing", "");
|
|
78
78
|
/**
|
|
79
79
|
try {
|
|
80
80
|
trace.log("🔔 [MCP 엔진 우회 성공] 알림 도착:", notification);
|