@nine-lab/nine-mu 0.1.99 → 0.1.100
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 +6 -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 +3 -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,7 @@ class NineChat extends HTMLElement {
|
|
|
122
122
|
prompt
|
|
123
123
|
});
|
|
124
124
|
if (res2.success && (res2 == null ? void 0 : res2.tasks)) {
|
|
125
|
-
__privateGet(this, _showDiff).call(this, jsonRoutes,
|
|
125
|
+
__privateGet(this, _showDiff).call(this, jsonRoutes, res2 == null ? void 0 : res2.tasks, "json");
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
__privateAdd(this, _sourceGenHandler, async (e) => {
|
|
@@ -210,7 +210,7 @@ render_fn = function() {
|
|
|
210
210
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
211
211
|
this.shadowRoot.innerHTML = `
|
|
212
212
|
<style>
|
|
213
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
213
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.99"}/dist/css/nine-mu.css";
|
|
214
214
|
${customImport}
|
|
215
215
|
</style>
|
|
216
216
|
<div class="wrapper">
|
|
@@ -26428,7 +26428,7 @@ class NineDiff extends HTMLElement {
|
|
|
26428
26428
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26429
26429
|
this.shadowRoot.innerHTML = `
|
|
26430
26430
|
<style>
|
|
26431
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26431
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.99"}/dist/css/nine-mu.css";
|
|
26432
26432
|
${customImport}
|
|
26433
26433
|
</style>
|
|
26434
26434
|
|
|
@@ -26538,7 +26538,7 @@ render_fn2 = function() {
|
|
|
26538
26538
|
const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
|
|
26539
26539
|
this.shadowRoot.innerHTML = `
|
|
26540
26540
|
<style>
|
|
26541
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.
|
|
26541
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.99"}/dist/css/nine-mu.css";
|
|
26542
26542
|
${customImport}
|
|
26543
26543
|
</style>
|
|
26544
26544
|
|
|
@@ -26577,7 +26577,7 @@ handleCancel_fn = function() {
|
|
|
26577
26577
|
};
|
|
26578
26578
|
customElements.define("nine-diff-popup", NineDiffPopup);
|
|
26579
26579
|
const NineMu = {
|
|
26580
|
-
version: "0.1.
|
|
26580
|
+
version: "0.1.99",
|
|
26581
26581
|
init: (config) => {
|
|
26582
26582
|
trace.log("🛠️ Nine-Mu Engine initialized", config);
|
|
26583
26583
|
}
|