@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/dist/nine-mu.js
CHANGED
|
@@ -17169,8 +17169,9 @@ connect_fn = async function() {
|
|
|
17169
17169
|
// π κ»λ°κΈ° ν΅κ³Όμ© 컀μ€ν
μ€ν€λ§
|
|
17170
17170
|
(notification) => {
|
|
17171
17171
|
trace.log(notification);
|
|
17172
|
-
trace.log(this
|
|
17173
|
-
this.
|
|
17172
|
+
trace.log(this);
|
|
17173
|
+
__privateGet(this, _owner).addMessage("ai", notification.params.message);
|
|
17174
|
+
__privateGet(this, _owner).addMessage("ing", "");
|
|
17174
17175
|
}
|
|
17175
17176
|
);
|
|
17176
17177
|
}).catch((err) => {
|
|
@@ -17289,6 +17290,9 @@ class NineChat extends HTMLElement {
|
|
|
17289
17290
|
__privateAdd(this, _connectorUrl);
|
|
17290
17291
|
__privateAdd(this, _manager);
|
|
17291
17292
|
__privateAdd(this, _$nineChatMessage);
|
|
17293
|
+
__publicField(this, "addMessage", (who, message) => {
|
|
17294
|
+
__privateGet(this, _$nineChatMessage).add(who, message);
|
|
17295
|
+
});
|
|
17292
17296
|
__privateAdd(this, _makeMenuHandler, async (e) => {
|
|
17293
17297
|
const prompt = await nine.prompt("λ©λ΄μμ±μ νμν AI ν둬ννΈλ₯Ό μ
λ ₯νμΈμ.").rgb();
|
|
17294
17298
|
if (prompt === null || prompt === void 0) return;
|
|
@@ -17397,7 +17401,7 @@ render_fn = function() {
|
|
|
17397
17401
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
17398
17402
|
this.shadowRoot.innerHTML = `
|
|
17399
17403
|
<style>
|
|
17400
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
17404
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.212"}/dist/css/nine-mu.css";
|
|
17401
17405
|
${customImport}
|
|
17402
17406
|
</style>
|
|
17403
17407
|
<div class="wrapper">
|
|
@@ -43616,7 +43620,7 @@ class NineDiff extends HTMLElement {
|
|
|
43616
43620
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43617
43621
|
this.shadowRoot.innerHTML = `
|
|
43618
43622
|
<style>
|
|
43619
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43623
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.212"}/dist/css/nine-mu.css";
|
|
43620
43624
|
${customImport}
|
|
43621
43625
|
</style>
|
|
43622
43626
|
|
|
@@ -43726,7 +43730,7 @@ render_fn2 = function() {
|
|
|
43726
43730
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
43727
43731
|
this.shadowRoot.innerHTML = `
|
|
43728
43732
|
<style>
|
|
43729
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
43733
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.212"}/dist/css/nine-mu.css";
|
|
43730
43734
|
${customImport}
|
|
43731
43735
|
</style>
|
|
43732
43736
|
|
|
@@ -44053,7 +44057,7 @@ class ChatMessageBody extends HTMLElement {
|
|
|
44053
44057
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
44054
44058
|
this.shadowRoot.innerHTML = `
|
|
44055
44059
|
<style>
|
|
44056
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
44060
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.212"}/dist/css/nine-mu.css";
|
|
44057
44061
|
${customImport}
|
|
44058
44062
|
</style>
|
|
44059
44063
|
|
|
@@ -44147,7 +44151,7 @@ if (!customElements.get("nine-chat-progress")) {
|
|
|
44147
44151
|
customElements.define("nine-chat-progress", ProgressMessage);
|
|
44148
44152
|
}
|
|
44149
44153
|
const NineMu = {
|
|
44150
|
-
version: "0.1.
|
|
44154
|
+
version: "0.1.212",
|
|
44151
44155
|
init: (config2) => {
|
|
44152
44156
|
trace$1.log("π οΈ Nine-Mu Engine initialized", config2);
|
|
44153
44157
|
}
|