@nine-lab/nine-mu 0.1.178 → 0.1.179
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
CHANGED
|
@@ -13512,11 +13512,10 @@ class NineChatManager {
|
|
|
13512
13512
|
// UI에 메시지를 뿌려줄 콜백 추가
|
|
13513
13513
|
__privateAdd(this, _owner);
|
|
13514
13514
|
__privateAdd(this, _routeUrl);
|
|
13515
|
-
__publicField(this, "handleChatSubmit", async (
|
|
13515
|
+
__publicField(this, "handleChatSubmit", async (v) => {
|
|
13516
13516
|
const routes = await __privateMethod(this, _NineChatManager_instances, getRoutes_fn).call(this);
|
|
13517
|
-
trace.log(routes);
|
|
13518
13517
|
return await __privateMethod(this, _NineChatManager_instances, callTool_fn).call(this, "system-brain", {
|
|
13519
|
-
user_input:
|
|
13518
|
+
user_input: v,
|
|
13520
13519
|
routes,
|
|
13521
13520
|
current_path: "/group_member/student_management"
|
|
13522
13521
|
});
|
|
@@ -13809,17 +13808,17 @@ initActions_fn = function() {
|
|
|
13809
13808
|
target.setAttribute("disabled", "disabled");
|
|
13810
13809
|
__privateGet(this, _$nineChatMessage).add("me", userInput);
|
|
13811
13810
|
__privateGet(this, _$nineChatMessage).add("ing", "");
|
|
13811
|
+
const [result, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(target.value));
|
|
13812
13812
|
setTimeout(() => {
|
|
13813
13813
|
target.value = "";
|
|
13814
13814
|
});
|
|
13815
|
-
const [result, err] = await nine.safe(__privateGet(this, _manager).handleChatSubmit(target));
|
|
13816
13815
|
target.removeAttribute("disabled");
|
|
13817
13816
|
target.focus();
|
|
13818
13817
|
if (err) {
|
|
13819
|
-
|
|
13818
|
+
trace.error(err);
|
|
13820
13819
|
__privateGet(this, _$nineChatMessage).add("ai", err.message || "알 수 없는 오류가 발생했습니다. 다시 시도해주세요.");
|
|
13821
13820
|
} else {
|
|
13822
|
-
|
|
13821
|
+
trace.log(result);
|
|
13823
13822
|
__privateGet(this, _$nineChatMessage).add("ai", result.message);
|
|
13824
13823
|
}
|
|
13825
13824
|
}
|
|
@@ -13830,7 +13829,7 @@ render_fn = function() {
|
|
|
13830
13829
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13831
13830
|
this.shadowRoot.innerHTML = `
|
|
13832
13831
|
<style>
|
|
13833
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13832
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.178"}/dist/css/nine-mu.css";
|
|
13834
13833
|
${customImport}
|
|
13835
13834
|
</style>
|
|
13836
13835
|
<div class="wrapper">
|
|
@@ -40049,7 +40048,7 @@ class NineDiff extends HTMLElement {
|
|
|
40049
40048
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40050
40049
|
this.shadowRoot.innerHTML = `
|
|
40051
40050
|
<style>
|
|
40052
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40051
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.178"}/dist/css/nine-mu.css";
|
|
40053
40052
|
${customImport}
|
|
40054
40053
|
</style>
|
|
40055
40054
|
|
|
@@ -40159,7 +40158,7 @@ render_fn2 = function() {
|
|
|
40159
40158
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40160
40159
|
this.shadowRoot.innerHTML = `
|
|
40161
40160
|
<style>
|
|
40162
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40161
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.178"}/dist/css/nine-mu.css";
|
|
40163
40162
|
${customImport}
|
|
40164
40163
|
</style>
|
|
40165
40164
|
|
|
@@ -40486,7 +40485,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
40486
40485
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40487
40486
|
this.shadowRoot.innerHTML = `
|
|
40488
40487
|
<style>
|
|
40489
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40488
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.178"}/dist/css/nine-mu.css";
|
|
40490
40489
|
${customImport}
|
|
40491
40490
|
</style>
|
|
40492
40491
|
|
|
@@ -40580,7 +40579,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
40580
40579
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
40581
40580
|
}
|
|
40582
40581
|
const NineMu = {
|
|
40583
|
-
version: "0.1.
|
|
40582
|
+
version: "0.1.178",
|
|
40584
40583
|
init: (config2) => {
|
|
40585
40584
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40586
40585
|
}
|