@nine-lab/nine-mu 0.1.99 → 0.1.101
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 +7 -6
- 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 +4 -2
package/dist/nine-mu.js
CHANGED
|
@@ -110,7 +110,7 @@ class NineChat extends HTMLElement {
|
|
|
110
110
|
__privateAdd(this, _routesPath);
|
|
111
111
|
__privateAdd(this, _connectorUrl);
|
|
112
112
|
__privateAdd(this, _makeMenuHandler, async (e) => {
|
|
113
|
-
const prompt = await nine.prompt("메뉴생성시 필요한 AI 프롬프트를 입력하세요.");
|
|
113
|
+
const prompt = await nine.prompt("메뉴생성시 필요한 AI 프롬프트를 입력하세요.").rgb();
|
|
114
114
|
if (prompt === null || prompt === void 0) return;
|
|
115
115
|
const res = await api.post(`/nine-mu/source/readFile`, { path: __privateGet(this, _routesPath) });
|
|
116
116
|
trace.log(res);
|
|
@@ -122,7 +122,8 @@ class NineChat extends HTMLElement {
|
|
|
122
122
|
prompt
|
|
123
123
|
});
|
|
124
124
|
if (res2.success && (res2 == null ? void 0 : res2.tasks)) {
|
|
125
|
-
|
|
125
|
+
trace.log(res2 == null ? void 0 : res2.tasks);
|
|
126
|
+
__privateGet(this, _showDiff).call(this, jsonRoutes, JSON.stringify(res2 == null ? void 0 : res2.tasks, null, 2), "json");
|
|
126
127
|
}
|
|
127
128
|
});
|
|
128
129
|
__privateAdd(this, _sourceGenHandler, async (e) => {
|
|
@@ -210,7 +211,7 @@ render_fn = function() {
|
|
|
210
211
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
211
212
|
this.shadowRoot.innerHTML = `
|
|
212
213
|
<style>
|
|
213
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
214
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.100"}/dist/css/nine-mu.css";
|
|
214
215
|
${customImport}
|
|
215
216
|
</style>
|
|
216
217
|
<div class="wrapper">
|
|
@@ -26428,7 +26429,7 @@ class NineDiff extends HTMLElement {
|
|
|
26428
26429
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26429
26430
|
this.shadowRoot.innerHTML = `
|
|
26430
26431
|
<style>
|
|
26431
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26432
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.100"}/dist/css/nine-mu.css";
|
|
26432
26433
|
${customImport}
|
|
26433
26434
|
</style>
|
|
26434
26435
|
|
|
@@ -26538,7 +26539,7 @@ render_fn2 = function() {
|
|
|
26538
26539
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26539
26540
|
this.shadowRoot.innerHTML = `
|
|
26540
26541
|
<style>
|
|
26541
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26542
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.100"}/dist/css/nine-mu.css";
|
|
26542
26543
|
${customImport}
|
|
26543
26544
|
</style>
|
|
26544
26545
|
|
|
@@ -26577,7 +26578,7 @@ handleCancel_fn = function() {
|
|
|
26577
26578
|
};
|
|
26578
26579
|
customElements.define("nine-diff-popup", NineDiffPopup);
|
|
26579
26580
|
const NineMu = {
|
|
26580
|
-
version: "0.1.
|
|
26581
|
+
version: "0.1.100",
|
|
26581
26582
|
init: (config) => {
|
|
26582
26583
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26583
26584
|
}
|