@nine-lab/nine-mu 0.1.148 → 0.1.150
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 +5 -17
- 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 +1 -21
package/dist/nine-mu.js
CHANGED
|
@@ -13801,20 +13801,8 @@ initActions_fn = function() {
|
|
|
13801
13801
|
$textarea.addEventListener("keypress", async (e) => {
|
|
13802
13802
|
if (e.key === "Enter" && !e.shiftKey) {
|
|
13803
13803
|
e.preventDefault();
|
|
13804
|
-
|
|
13805
|
-
if (!userInput) return;
|
|
13804
|
+
if (!e.target.value.trim()) return;
|
|
13806
13805
|
await __privateGet(this, _manager).handleChatSubmit($textarea);
|
|
13807
|
-
const response = await __privateGet(this, _mcpClient2).callTool({
|
|
13808
|
-
name: "ask_nine_engine",
|
|
13809
|
-
arguments: {
|
|
13810
|
-
prompt: userInput,
|
|
13811
|
-
routes: []
|
|
13812
|
-
// 현재 화면의 메뉴 정보
|
|
13813
|
-
}
|
|
13814
|
-
});
|
|
13815
|
-
console.log(response);
|
|
13816
|
-
const result = JSON.parse(response.content[0].text);
|
|
13817
|
-
if (result.action === "SHOW_DIFF") this.openDiff(result);
|
|
13818
13806
|
}
|
|
13819
13807
|
});
|
|
13820
13808
|
};
|
|
@@ -13823,7 +13811,7 @@ render_fn = function() {
|
|
|
13823
13811
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
13824
13812
|
this.shadowRoot.innerHTML = `
|
|
13825
13813
|
<style>
|
|
13826
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
13814
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.149"}/dist/css/nine-mu.css";
|
|
13827
13815
|
${customImport}
|
|
13828
13816
|
</style>
|
|
13829
13817
|
<div class="wrapper">
|
|
@@ -40041,7 +40029,7 @@ class NineDiff extends HTMLElement {
|
|
|
40041
40029
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40042
40030
|
this.shadowRoot.innerHTML = `
|
|
40043
40031
|
<style>
|
|
40044
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40032
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.149"}/dist/css/nine-mu.css";
|
|
40045
40033
|
${customImport}
|
|
40046
40034
|
</style>
|
|
40047
40035
|
|
|
@@ -40151,7 +40139,7 @@ render_fn2 = function() {
|
|
|
40151
40139
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
40152
40140
|
this.shadowRoot.innerHTML = `
|
|
40153
40141
|
<style>
|
|
40154
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
40142
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.149"}/dist/css/nine-mu.css";
|
|
40155
40143
|
${customImport}
|
|
40156
40144
|
</style>
|
|
40157
40145
|
|
|
@@ -40190,7 +40178,7 @@ handleCancel_fn = function() {
|
|
|
40190
40178
|
};
|
|
40191
40179
|
customElements.define("nine-diff-popup", NineDiffPopup);
|
|
40192
40180
|
const NineMu = {
|
|
40193
|
-
version: "0.1.
|
|
40181
|
+
version: "0.1.149",
|
|
40194
40182
|
init: (config2) => {
|
|
40195
40183
|
trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
|
|
40196
40184
|
}
|