@nine-lab/nine-mu 0.1.215 → 0.1.216
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 +10 -11
- 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/NineChat.js +5 -9
package/dist/nine-mu.js
CHANGED
|
@@ -17393,12 +17393,11 @@ initActions_fn = function() {
|
|
|
17393
17393
|
try {
|
|
17394
17394
|
const rawText = (_b = (_a2 = result == null ? void 0 : result.content) == null ? void 0 : _a2[0]) == null ? void 0 : _b.text;
|
|
17395
17395
|
trace.log(rawText);
|
|
17396
|
-
const
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
trace.log(
|
|
17400
|
-
|
|
17401
|
-
__privateGet(this, _$nineChatMessage).add("ai", aiMessage);
|
|
17396
|
+
const parsed = JSON.parse(rawText);
|
|
17397
|
+
__privateGet(this, _manager).addChatHistory(parsed.message);
|
|
17398
|
+
__privateGet(this, _$nineChatMessage).add("ai", parsed.message);
|
|
17399
|
+
trace.log(parsed.action);
|
|
17400
|
+
trace.log(parsed.data);
|
|
17402
17401
|
} catch (err2) {
|
|
17403
17402
|
trace.error(err2);
|
|
17404
17403
|
const fallbackMessage = ((_d = (_c = result == null ? void 0 : result.content) == null ? void 0 : _c[0]) == null ? void 0 : _d.text) || "응답 데이터를 해석하지 못했습니다.";
|
|
@@ -17413,7 +17412,7 @@ render_fn = function() {
|
|
|
17413
17412
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17414
17413
|
this.shadowRoot.innerHTML = `
|
|
17415
17414
|
<style>
|
|
17416
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17415
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.215"}/dist/css/nine-mu.css";
|
|
17417
17416
|
${customImport}
|
|
17418
17417
|
</style>
|
|
17419
17418
|
<div class="wrapper">
|
|
@@ -43632,7 +43631,7 @@ class NineDiff extends HTMLElement {
|
|
|
43632
43631
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43633
43632
|
this.shadowRoot.innerHTML = `
|
|
43634
43633
|
<style>
|
|
43635
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43634
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.215"}/dist/css/nine-mu.css";
|
|
43636
43635
|
${customImport}
|
|
43637
43636
|
</style>
|
|
43638
43637
|
|
|
@@ -43742,7 +43741,7 @@ render_fn2 = function() {
|
|
|
43742
43741
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43743
43742
|
this.shadowRoot.innerHTML = `
|
|
43744
43743
|
<style>
|
|
43745
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43744
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.215"}/dist/css/nine-mu.css";
|
|
43746
43745
|
${customImport}
|
|
43747
43746
|
</style>
|
|
43748
43747
|
|
|
@@ -44069,7 +44068,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44069
44068
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44070
44069
|
this.shadowRoot.innerHTML = `
|
|
44071
44070
|
<style>
|
|
44072
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44071
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.215"}/dist/css/nine-mu.css";
|
|
44073
44072
|
${customImport}
|
|
44074
44073
|
</style>
|
|
44075
44074
|
|
|
@@ -44163,7 +44162,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44163
44162
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44164
44163
|
}
|
|
44165
44164
|
const NineMu = {
|
|
44166
|
-
version: "0.1.
|
|
44165
|
+
version: "0.1.215",
|
|
44167
44166
|
init: (config2) => {
|
|
44168
44167
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
44169
44168
|
}
|